Commit Graph

11 Commits

Author SHA1 Message Date
Justin Warren 4ab369f95b
Package tool for PyPI/pip distribution. 2023-01-10 08:53:54 +11:00
Justin Warren 55184210d4
Add ability to set max severity level if
an instance has followers of accounts on
a to-be-blocked domain.
Refactored the change detection code.
Fixed a bug in config of intermediate blocklists saving.
Updated README documentation.
Updated sample config.

Addresses #5
2023-01-09 16:51:30 +11:00
Justin Warren 4ef84b5275
Added ability to read domain_blocks from
instances that make the list public.
Skip obfuscated domains when building the merged blocklist.
Removed some redundant commented code.
2023-01-09 12:48:11 +11:00
Justin Warren 8bef9d84d5
Change comment merge join to use ', ' not '\n'. 2022-12-21 09:01:27 +11:00
Justin Warren da68b9fc29
Added export_fields option.
Added import_fields option.
Removed --include_public_comments option as redundant.
2022-12-20 16:56:34 +11:00
Justin Warren 268f1ef2b0
Changed default to exclude private_comment field
from exports and imports.
Added commandline and config option to
--include-public-comments
Fixes: #1
2022-12-20 15:35:51 +11:00
Justin Warren 68d79dd253
Removed debugging var from apply_mergeplan() 2022-12-20 14:56:24 +11:00
Justin Warren 8fc8160f82
More advanced mergeplan handling.
Support for 'noop' severity for removing a block.
Support for mergeplan as commandline parameter.
Support for mergeplan as config file option.
Added --dryrun commandline option.
2022-12-20 14:29:23 +11:00
Justin Warren ea58d34c14
Added helper error if the remote URL
doesn't return a valid CSV blocklist.
Updated sample config to use valid raw github URL.
2022-12-20 10:20:20 +11:00
Justin Warren 96a48ec633
Added ability to fetch blocklist CSVs via URL.
Added ability to save blocklists to file.
Added ability to skip fetch and push actions.
2022-12-20 10:10:35 +11:00
Justin Warren c8e8aa50dc
First working version.
Only deals with instances directly, not files.
Includes basic instructions on how to configure and use.
Includes example config file.
2022-12-20 07:53:28 +11:00