Add config file switch and min date check

# Conflicts:
#	docs/configuration/instance.md
#	example/config.yaml
#	internal/config/config.go
#	internal/config/flags.go
#	internal/config/helpers.gen.go
This commit is contained in:
Vyr Cossont 2025-02-12 09:14:17 -08:00
commit 90e5a2af8d
9 changed files with 76 additions and 0 deletions

View file

@ -171,4 +171,17 @@ instance-subscriptions-process-every: "24h"
# Options: ["", "zero", "serve", "baffle"]
# Default: ""
instance-stats-mode: ""
# Bool. This flag controls whether local accounts may backdate statuses
# using past dates with the scheduled_at param to /api/v1/statuses.
# This flag does not affect scheduling posts in the future
# (which is currently not implemented anyway),
# nor can it prevent remote accounts from backdating their own statuses.
#
# If true, all local accounts may backdate statuses.
# If false, status backdating will be disabled and an error will be returned if it's used.
#
# Options: [true, false]
# Default: true
instance-allow-backdating-statuses: true
```