Justin Warren
55dad3fa32
Aligned API call rate limit with server default.
2023-01-13 17:12:23 +11:00
Justin Warren
e0d40b5861
Fixed bug in severity change detection.
2023-01-12 09:31:16 +11:00
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
66f0373cbe
Added boolean fields like 'reject_reports' to mergeplan handling.
...
Clarified logic in apply_mergeplan() for boolean fields.
Added tests for boolean merge situations.
2023-01-12 08:08:09 +11:00
Justin Warren
0a6eec4bf2
Improved comment merging.
2023-01-12 07:39:17 +11:00
Justin Warren
10011a5ffb
Refactored to add a DomainBlock object.
...
Refactored to use a BlockParser structure.
Added ability to limit max severity per-URL source.
Improved method for checking if changes are needed.
2023-01-12 07:02:48 +11:00
Justin Warren
edbc418e5e
Merge pull request #13 from eigenmagic/timeouts
...
Added timeout to requests calls
2023-01-10 18:50:33 +11:00
Justin Warren
1d0649ace5
Add args to show version information.
2023-01-10 13:16:23 +11:00
Justin Warren
23b8833a67
Added timeout to requests calls
2023-01-10 13:06:53 +11:00
Justin Warren
04d9eea827
Set User-Agent to FediBlockHole
2023-01-10 09:13:50 +11:00
Justin Warren
4ab369f95b
Package tool for PyPI/pip distribution.
2023-01-10 08:53:54 +11:00