mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
ci(config): 🐛 Fix CI config to pass new config checks
This commit is contained in:
parent
33b375f3ae
commit
2e827814de
81
.github/config.workflow.toml
vendored
81
.github/config.workflow.toml
vendored
|
|
@ -26,8 +26,6 @@ password = ""
|
||||||
enabled = false
|
enabled = false
|
||||||
|
|
||||||
[signups]
|
[signups]
|
||||||
# URL of your Terms of Service
|
|
||||||
tos_url = "https://example.com/tos"
|
|
||||||
# Whether to enable registrations or not
|
# Whether to enable registrations or not
|
||||||
registration = true
|
registration = true
|
||||||
rules = [
|
rules = [
|
||||||
|
|
@ -208,38 +206,28 @@ language = "en"
|
||||||
# Default header, must be a valid URL or ""
|
# Default header, must be a valid URL or ""
|
||||||
# header = ""
|
# header = ""
|
||||||
|
|
||||||
[activitypub]
|
[federation]
|
||||||
# Use ActivityPub Tombstones instead of deleting objects
|
# This is a list of domain names, such as "mastodon.social" or "pleroma.site"
|
||||||
use_tombstones = true
|
# These changes will not retroactively apply to existing data before they were changed
|
||||||
# Fetch all members of collections (followers, following, etc) when receiving them
|
# For that, please use the CLI (in a later release)
|
||||||
# WARNING: This can be a lot of data, and is not recommended
|
|
||||||
fetch_all_collection_members = false # NOT IMPLEMENTED
|
|
||||||
|
|
||||||
# The following values must be instance domain names without "https" or glob patterns
|
# These instances will not be federated with
|
||||||
# Rejects all activities from these instances (fediblocking)
|
blocked = []
|
||||||
reject_activities = []
|
# These instances' data will only be shown to followers, not in public timelines
|
||||||
# Force posts from this instance to be followers only
|
followers_only = []
|
||||||
force_followers_only = [] # NOT IMPLEMENTED
|
|
||||||
# Discard all reports from these instances
|
|
||||||
discard_reports = [] # NOT IMPLEMENTED
|
|
||||||
# Discard all deletes from these instances
|
|
||||||
discard_deletes = []
|
|
||||||
# Discard all updates (edits) from these instances
|
|
||||||
discard_updates = []
|
|
||||||
# Discard all banners from these instances
|
|
||||||
discard_banners = [] # NOT IMPLEMENTED
|
|
||||||
# Discard all avatars from these instances
|
|
||||||
discard_avatars = [] # NOT IMPLEMENTED
|
|
||||||
# Discard all follow requests from these instances
|
|
||||||
discard_follows = []
|
|
||||||
# Force set these instances' media as sensitive
|
|
||||||
force_sensitive = [] # NOT IMPLEMENTED
|
|
||||||
# Remove theses instances' media
|
|
||||||
remove_media = [] # NOT IMPLEMENTED
|
|
||||||
|
|
||||||
# Whether to verify HTTP signatures for every request (warning: can slow down your server
|
[federation.discard]
|
||||||
# significantly depending on processing power)
|
# These objects will be discarded when received from these instances
|
||||||
authorized_fetch = false
|
reports = []
|
||||||
|
deletes = []
|
||||||
|
updates = []
|
||||||
|
media = []
|
||||||
|
follows = []
|
||||||
|
# If instance reactions are blocked, likes will also be discarded
|
||||||
|
likes = []
|
||||||
|
reactions = []
|
||||||
|
banners = []
|
||||||
|
avatars = []
|
||||||
|
|
||||||
[instance]
|
[instance]
|
||||||
name = "Versia"
|
name = "Versia"
|
||||||
|
|
@ -251,18 +239,20 @@ description = "A test instance of Versia Server"
|
||||||
|
|
||||||
|
|
||||||
[filters]
|
[filters]
|
||||||
# Drop notes with these regex filters (only applies to new activities)
|
# Regex filters for federated and local data
|
||||||
note_filters = [
|
# Drops data matching the filters
|
||||||
|
# Does not apply retroactively to existing data
|
||||||
|
|
||||||
|
# Note contents
|
||||||
|
note_content = [
|
||||||
# "(https?://)?(www\\.)?youtube\\.com/watch\\?v=[a-zA-Z0-9_-]+",
|
# "(https?://)?(www\\.)?youtube\\.com/watch\\?v=[a-zA-Z0-9_-]+",
|
||||||
# "(https?://)?(www\\.)?youtu\\.be/[a-zA-Z0-9_-]+",
|
# "(https?://)?(www\\.)?youtu\\.be/[a-zA-Z0-9_-]+",
|
||||||
]
|
]
|
||||||
# Drop users with these regex filters (only applies to new activities)
|
emoji = []
|
||||||
username_filters = []
|
# These will drop users matching the filters
|
||||||
# Drop users with these regex filters (only applies to new activities)
|
username = []
|
||||||
displayname_filters = []
|
displayname = []
|
||||||
# Drop users with these regex filters (only applies to new activities)
|
bio = []
|
||||||
bio_filters = []
|
|
||||||
emoji_filters = [] # NOT IMPLEMENTED
|
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
# Log all requests (warning: this is a lot of data)
|
# Log all requests (warning: this is a lot of data)
|
||||||
|
|
@ -276,14 +266,17 @@ log_ip = false
|
||||||
log_filters = true
|
log_filters = true
|
||||||
|
|
||||||
[ratelimits]
|
[ratelimits]
|
||||||
|
# These settings apply to every route at once
|
||||||
# Amount to multiply every route's duration by
|
# Amount to multiply every route's duration by
|
||||||
duration_coeff = 1.0
|
duration_coeff = 1.0
|
||||||
# Amount to multiply every route's max by
|
# Amount to multiply every route's max requests per [duration] by
|
||||||
max_coeff = 1.0
|
max_coeff = 1.0
|
||||||
|
|
||||||
[custom_ratelimits]
|
[ratelimits.custom]
|
||||||
# Add in any API route in this style here
|
# Add in any API route in this style here
|
||||||
"/api/v1/timelines/public" = { duration = 60, max = 200 }
|
# Applies before the global ratelimit changes
|
||||||
|
# "/api/v1/accounts/:id/block" = { duration = 30, max = 60 }
|
||||||
|
# "/api/v1/timelines/public" = { duration = 60, max = 200 }
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue