Commit Graph

219 Commits

Author SHA1 Message Date
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 a134870f14
Merge pull request #8 from eigenmagic/public-block-fetch
Read from instances that publish domain_blocks.
2023-01-09 12:50:58 +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 4bf68019fb
Merge pull request #4 from eigenmagic/comment-join
Change comment merge join to use ', ' not '\n'.
2022-12-21 09:08:29 +11:00
Justin Warren 8bef9d84d5
Change comment merge join to use ', ' not '\n'. 2022-12-21 09:01:27 +11:00
Justin Warren baf7bbfef4
Merge pull request #3 from eigenmagic/export-fields
Control import and export fields
2022-12-20 17:32:58 +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 af16f43dc5
Merge pull request #2 from eigenmagic/public-only
Keep private_comment private
2022-12-20 15:41:12 +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 2fef34907f
Merge branch 'mergeplan' 2022-12-20 14:44:14 +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 795b592fbe
Changed demo blocklist bools to Python style strings. 2022-12-20 13:31:25 +11:00
Justin Warren 73df391c01
Change license to AGPL3 2022-12-20 13:27:16 +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
Justin Warren 3d735ac400
Initial commit 2022-12-20 07:25:33 +11:00