Commit Graph

10 Commits

Author SHA1 Message Date
Justin Warren 327a44d907
Removed redundant global vars.
Refactored fetch from URLs and instances.
Change API delay to be in calls per hour.
Improved check_followed_severity() behaviour.
Updated sample config to include new format.
Added support for per-instance-source import_fields.
BlockSeverity of 'suspend' implies reject_media and reject_reports.
2023-01-12 09:09:06 +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 f55600ae6d
Updated README with more detailed config help.
Updated sample config file with new options.
2022-12-20 17:24:56 +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 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