Commit Graph

26 Commits

Author SHA1 Message Date
612c99918c Update for Mailman 3 2023-09-01 23:42:11 -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