├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── ci.yml ├── .python-version-default ├── CHANGELOG.md ├── LICENSE ├── README.md ├── chart ├── .helmignore ├── Chart.yaml ├── fediblockhole.conf.toml ├── templates │ ├── _helpers.tpl │ ├── configmap-conf-toml.yaml │ └── cronjob-fediblock-sync.yaml └── values.yaml ├── container ├── .dockerignore └── Dockerfile ├── etc └── sample.fediblockhole.conf.toml ├── pyproject.toml ├── requirements.txt ├── samples ├── demo-allowlist-01.csv ├── demo-allowlist-02.csv └── demo-blocklist-01.csv ├── src └── fediblockhole │ ├── __init__.py │ ├── blocklists.py │ └── const.py ├── tests ├── conftest.py ├── fixtures │ ├── __init__.py │ ├── data-mastodon.json │ ├── data-noop-01.csv │ ├── data-rapidblock.json │ ├── data-silences-01.csv │ └── data-suspends-01.csv ├── helpers │ ├── __init__.py │ └── util.py ├── test_allowlist.py ├── test_blockseverity.py ├── test_cmdline.py ├── test_configfile.py ├── test_domainblock.py ├── test_merge_comments.py ├── test_merge_thresholds.py ├── test_mergeplan.py ├── test_parser_csv.py ├── test_parser_csv_mastodon.py ├── test_parser_json.py ├── test_parser_rapidblockcsv.py └── test_parser_rapidblockjson.py └── uv.lock /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length: 88 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.python-version-default: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/README.md -------------------------------------------------------------------------------- /chart/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/.helmignore -------------------------------------------------------------------------------- /chart/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/Chart.yaml -------------------------------------------------------------------------------- /chart/fediblockhole.conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/fediblockhole.conf.toml -------------------------------------------------------------------------------- /chart/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/templates/_helpers.tpl -------------------------------------------------------------------------------- /chart/templates/configmap-conf-toml.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/templates/configmap-conf-toml.yaml -------------------------------------------------------------------------------- /chart/templates/cronjob-fediblock-sync.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/templates/cronjob-fediblock-sync.yaml -------------------------------------------------------------------------------- /chart/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/chart/values.yaml -------------------------------------------------------------------------------- /container/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/container/.dockerignore -------------------------------------------------------------------------------- /container/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/container/Dockerfile -------------------------------------------------------------------------------- /etc/sample.fediblockhole.conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/etc/sample.fediblockhole.conf.toml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | toml 3 | pytest -------------------------------------------------------------------------------- /samples/demo-allowlist-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/samples/demo-allowlist-01.csv -------------------------------------------------------------------------------- /samples/demo-allowlist-02.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/samples/demo-allowlist-02.csv -------------------------------------------------------------------------------- /samples/demo-blocklist-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/samples/demo-blocklist-01.csv -------------------------------------------------------------------------------- /src/fediblockhole/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/src/fediblockhole/__init__.py -------------------------------------------------------------------------------- /src/fediblockhole/blocklists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/src/fediblockhole/blocklists.py -------------------------------------------------------------------------------- /src/fediblockhole/const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/src/fediblockhole/const.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/data-mastodon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/fixtures/data-mastodon.json -------------------------------------------------------------------------------- /tests/fixtures/data-noop-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/fixtures/data-noop-01.csv -------------------------------------------------------------------------------- /tests/fixtures/data-rapidblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/fixtures/data-rapidblock.json -------------------------------------------------------------------------------- /tests/fixtures/data-silences-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/fixtures/data-silences-01.csv -------------------------------------------------------------------------------- /tests/fixtures/data-suspends-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/fixtures/data-suspends-01.csv -------------------------------------------------------------------------------- /tests/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/helpers/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/helpers/util.py -------------------------------------------------------------------------------- /tests/test_allowlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_allowlist.py -------------------------------------------------------------------------------- /tests/test_blockseverity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_blockseverity.py -------------------------------------------------------------------------------- /tests/test_cmdline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_cmdline.py -------------------------------------------------------------------------------- /tests/test_configfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_configfile.py -------------------------------------------------------------------------------- /tests/test_domainblock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_domainblock.py -------------------------------------------------------------------------------- /tests/test_merge_comments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_merge_comments.py -------------------------------------------------------------------------------- /tests/test_merge_thresholds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_merge_thresholds.py -------------------------------------------------------------------------------- /tests/test_mergeplan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_mergeplan.py -------------------------------------------------------------------------------- /tests/test_parser_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_parser_csv.py -------------------------------------------------------------------------------- /tests/test_parser_csv_mastodon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_parser_csv_mastodon.py -------------------------------------------------------------------------------- /tests/test_parser_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_parser_json.py -------------------------------------------------------------------------------- /tests/test_parser_rapidblockcsv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_parser_rapidblockcsv.py -------------------------------------------------------------------------------- /tests/test_parser_rapidblockjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/tests/test_parser_rapidblockjson.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eigenmagic/fediblockhole/HEAD/uv.lock --------------------------------------------------------------------------------