gotosocial/internal/processing
tobi ca12742a7a [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173)
This pull request deprecates `with_approval` and `always` on the client API side, and `approvalRequired` and `always` on the fedi API side, replacing them with `automatic_approval` and `manual_approval` and `automaticApproval` and `manualApproval`, respectively.

Back-compat is kept with these deprecated fields, and they're still serialized to the client API and fedi APIs respectively, in addition to the new non-deprecated properties.

This will stay the case until v0.21.0 when they'll be removed.

For the sake of not doing a massive database migration, the fields are still named `Always` and `WithApproval` in storage. I think this is probably fine!

Part of https://codeberg.org/superseriousbusiness/gotosocial/issues/4026
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4173
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-13 14:48:11 +00:00
..
account [bugfix] Ensure Account and TargetAccount set when doing UndoFollow (#4118) 2025-05-03 10:10:23 +00:00
admin [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
advancedmigrations [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
application [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
common [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
conversations [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
fedi [chore] Rewrite all remaining Github links 2025-04-27 13:40:22 +02:00
filters [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
interactionrequests [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
list [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
markers [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
media [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
polls [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
push [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
report [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
search [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
status [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173) 2025-05-13 14:48:11 +00:00
stream [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173) 2025-05-13 14:48:11 +00:00
tags [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
timeline [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
user [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
workers [feature] Notify accounts when a status they've interacted with has been edited (#4157) 2025-05-11 13:38:13 +00:00
followrequest_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
instance.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
oauth.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
parsemention.go [bugfix] Fix no notification if mention edited into status (#4102) 2025-05-04 09:45:10 +00:00
parsemention_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
preferences.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
preferences_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
processor.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
processor_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00