Commit graph

18 commits

Author SHA1 Message Date
Robert Sparks efdaee3bb3
feat: decouple from mailman2 - explicitly model nonwg mailing lists (#7013)
* fix: remove synchronization with mailman2

* feat: manage non wg mailing lists explicitly

* chore: black

* fix: update tests for new nonwg view

* feat: drop unused models
2024-02-05 09:28:23 -06:00
Robert Sparks fce28e78f9
fix: case sensitivity for Subscribed.email (#5270) 2023-03-03 09:05:17 -06:00
Robert Sparks 9c236ea2a2
chore: remove unneeded logging and code marked unreachable that has not been reached. (#4305)
* chore: remove unneeded logging and code marked unreachable that has not been reached.

* fix: remove noop save override
2022-08-04 11:25:31 -05:00
Robert Sparks 0ba50999d9
feat: isolate py27 code interfacing with mailman from py39 code interfacing with django. (#4140)
* feat: isolate py27 code interfacing with mailman from py39 code interfacing with django.

* fix: improve memory footprint and remove unneeded import.

* fix: make new bin command executable.
2022-06-29 16:14:15 -05:00
Henrik Levkowetz b5f1e3af34 Fixed a typo
- Legacy-Id: 18716
2020-11-22 21:11:53 +00:00
Henrik Levkowetz af7f51a81f Refactored the import_mailman_listinfo command to run faster (20s instead of 30+m) and added time logging (for --verbosity 2)
- Legacy-Id: 18715
2020-11-19 16:13:31 +00:00
Henrik Levkowetz 4094a472d7 Removed a debug print call.
- Legacy-Id: 16426
2019-07-07 21:04:10 +00:00
Henrik Levkowetz e60a3e74f8 Increased the length of the list Subscribed email field from 64 to 128, updated the import_mailman_listinfo management command, and added a migration for the model change.
- Legacy-Id: 16370
2019-07-03 20:52:17 +00:00
Henrik Levkowetz 39d6dee878 Fixed various html issues.
- Legacy-Id: 15032
2018-04-08 15:56:33 +00:00
Henrik Levkowetz 0ac80ab1ee Fixed 2 bugs in import_mailman_listinfo; one typo and one bug which prevented updating of lists that changed from advertised to not advertised.
- Legacy-Id: 14600
2018-01-31 18:02:13 +00:00
Henrik Levkowetz 0c1105f4bb Added a page that lists all the advertised non-wg mailing lists, based
on data fetched from mailman by a cronjob running the
import_mailman_listinfo managemnt command.  Fixes issue #2438.
 - Legacy-Id: 14587
2018-01-30 15:49:08 +00:00
Henrik Levkowetz 9f44b9a65d Additional tweaks to the mailman listinfo importer.
- Legacy-Id: 13710
2017-06-22 16:41:27 +00:00
Henrik Levkowetz c28b919e26 Made the import_mailman_listinfo management command somewhat more robust.
- Legacy-Id: 13708
2017-06-22 15:16:28 +00:00
Henrik Levkowetz df08e65570 To support development without having to install Mailman, make the import of mailman list info conditional on mailman module imports succeeding.
- Legacy-Id: 11426
2016-06-20 21:49:50 +00:00
Henrik Levkowetz b667f47b4f Let the import_mailman_listinfo management command not only add, but also remove subcriptions to match mailman's info. Pay attention only to addresses with delivery enabled.
- Legacy-Id: 11394
2016-06-17 13:06:39 +00:00
Henrik Levkowetz 744a39e2ca Added a migration to do the first mailman subscriber import, using a function from the refactored management command.
- Legacy-Id: 11393
2016-06-16 19:33:07 +00:00
Henrik Levkowetz 016f912ef7 Changed some field names from address to email.
- Legacy-Id: 11385
2016-06-15 15:49:28 +00:00
Henrik Levkowetz b0ddd0daeb Added models for mailman lists and subscribed and whitelisted addresses, and an import management command suited to be run as a periodic cron-job.
- Legacy-Id: 11373
2016-06-14 21:36:05 +00:00