Commit Graph

35 Commits

Author SHA1 Message Date
8fac612dda Set moderation_action to accept for moderators/owners
this is apparently not automatic with Mailman 3
2024-05-08 14:46:05 -04:00
3a224fcff2 Ensure moderators are also added as members 2024-05-05 00:55:02 -04:00
8f2597e40c Fix remove_moderator to use Address.email instead of Address 2024-01-19 23:15:51 -05:00
1b9c2936a3 Use configargparse to allow reading config from file 2023-09-02 22:31:06 -04:00
b7043750bb Add ability to update CloudFlare worker with list of mailing lists 2023-09-02 22:19:32 -04:00
51439a54c2 Convert addresses to strings in diff_roster() for set operations 2023-09-02 00:21:53 -04:00
defc42e3fb Fix subscribe() -> add_moderator() in sync_moderators() 2023-09-02 00:21:15 -04:00
a0118df35d Fix typos in mailing list settings 2023-09-02 00:20:56 -04:00
a0a3ab8d0e Compare list names in lowercase 2023-09-02 00:01:26 -04:00
a19fa0bbef Update for Mailman 3 2023-09-01 23:56:02 -04:00
2e612837c7 Move list config into "config" and don't config lists when absent 2023-02-03 14:01:41 -05:00
848c98c456 Add emailhost argument, set it in newlist and config_list 2023-01-19 18:28:39 -05:00
2b4d1acf52 Fix some arguments default/required 2023-01-19 18:05:29 -05:00
0ae6e0c461 Fix setting real_name by modifying mlist object directly 2023-01-19 18:04:33 -05:00
91b1217633 Add some more default privacy options 2023-01-19 17:15:27 -05:00
ab0c8fb5af Convert list names to lowercase when checking for existance 2023-01-19 17:02:51 -05:00
c65cd8ea8e Configure more list properties based on expanded API 2023-01-19 16:57:06 -05:00
686bfc7e24 Use more generic variable name for expected lists 2023-01-19 16:50:28 -05:00
812affd0ae Use list of strings instead of block string for config changes 2023-01-19 16:50:28 -05:00
ff944231d8 Abstract out mailman script calls into a method 2023-01-19 16:50:28 -05:00
9e3a042a58 Move list management functions to a class to reuse shared arguments 2023-01-19 16:50:28 -05:00
c49f3c7635 Create lists if they don't already exist 2023-01-09 21:43:30 -05:00
ef8a299e65 Support dry run for config_list 2023-01-09 21:36:02 -05:00
c8f3e229c8 Move argument parsing into a function 2023-01-09 21:35:14 -05:00
d8284f4475 Apply common configuration changes to each mailing list 2023-01-09 16:41:27 -05:00
303ddc002c Prefix mailman output with targeted mailing list 2023-01-09 16:23:22 -05:00
8897651285 Read API authentication token from an environment variable 2023-01-09 16:23:22 -05:00
b5bc574433 Add dry run argument 2022-12-25 02:28:25 -05:00
fa366e7e63 Fix list name parameter to sync_members 2022-12-25 02:22:20 -05:00
7873b964bd Use subprocess.run() encoding argument instead of manual encode/decode 2022-12-25 02:19:14 -05:00
7919edce31 Print stderr on subcommand failure 2022-12-25 02:16:54 -05:00
2efd3e3f9f Encode members data into bytes 2022-12-25 02:14:36 -05:00
020497139c Decode command output as ascii 2022-12-25 02:13:22 -05:00
2daf2c00b8 Add a bit more feedback for missing lists 2022-12-25 02:12:08 -05:00
056a2993de Initial Commit 2022-12-25 02:08:38 -05:00