diff options
author | 2025-02-12 09:49:33 -0800 | |
---|---|---|
committer | 2025-02-12 09:49:33 -0800 | |
commit | fccb0bc102f2a54a21eed343cda64f9a5221b677 (patch) | |
tree | b7c1858f4a92841dfaf59e7102189a635d7136f8 /example | |
parent | [performance] improved enum migrations (#3782) (diff) | |
download | gotosocial-fccb0bc102f2a54a21eed343cda64f9a5221b677.tar.xz |
[feature] Implement backfilling statuses thru scheduled_at (#3685)
* Implement backfilling statuses thru scheduled_at
* Forbid mentioning others in backfills
* Update error messages & codes
* Add new tests for backfilled statuses
* Test that backfilling doesn't timeline or notify
* Fix check for absence of notification
* Test that backfills do not cause federation
* Fix type of apimodel.StatusCreateRequest.ScheduledAt in tests
* Add config file switch and min date check
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index b618ad7ba..2b3a873fb 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -458,6 +458,19 @@ instance-subscriptions-process-every: "24h" # 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 + ########################### ##### ACCOUNTS CONFIG ##### ########################### |