Added sample configs to demo allowlists.

This commit is contained in:
Justin Warren 2023-01-16 06:07:41 +11:00
parent 42cdddbe3f
commit d7d0859030
No known key found for this signature in database
3 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,13 @@ blocklist_url_sources = [
]
## These global allowlists override blocks from blocklists
# These are the same format and structure as blocklists, but they take precedence
allowlist_url_sources = [
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-01.csv', format = 'csv' },
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-02.csv', format = 'csv' },
]
# List of instances to write blocklist to
blocklist_instance_destinations = [
# { domain = 'eigenmagic.net', token = '<read_write_token>', max_followed_severity = 'silence'},

View File

@ -0,0 +1,3 @@
"domain","severity","private_comment","public_comment","reject_media","reject_reports","obfuscate"
"eigenmagic.net","noop","Never block me","Only the domain field matters",False,False,False
"example.org","noop","Never block me either","The severity is ignored as are all other fields",False,False,False
1 domain severity private_comment public_comment reject_media reject_reports obfuscate
2 eigenmagic.net noop Never block me Only the domain field matters False False False
3 example.org noop Never block me either The severity is ignored as are all other fields False False False

View File

@ -0,0 +1,2 @@
"domain","private_comment"
"example.org","The private comment won't get loaded, but can be handy to leave yourself a note."
1 domain private_comment
2 example.org The private comment won't get loaded, but can be handy to leave yourself a note.