gotosocial/internal/processing
kim fd6637df4a
[bugfix] boost and account recursion (#2982)
* fix possible infinite recursion if moved accounts are self-referential

* adds a defensive check for a boost being a boost of a boost wrapper

* add checks on input for a boost of a boost

* remove unnecessary check

* add protections on account move to prevent move recursion loops

* separate status conversion without boost logic into separate function to remove risk of recursion

* move boost check to boost function itself

* formatting

* use error 422 instead of 500

* use gtserror not standard errors package for error creation
2024-06-10 19:42:41 +01:00
..
account [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
admin [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
common [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
fedi [bugfix] Fix error string typo (#2873) 2024-04-26 15:20:56 +02:00
filters [feature] Implement filters_changed stream event (#2972) 2024-06-07 10:51:13 +02:00
list [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
markers [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
media [feature] Implement profile API (#2926) 2024-05-29 12:57:44 +02:00
polls [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
report [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
search [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
status [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
stream [feature] Implement filters_changed stream event (#2972) 2024-06-07 10:51:13 +02:00
timeline [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
user [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
workers [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
app.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
followrequest_test.go [performance] massively improved ActivityPub delivery worker efficiency (#2812) 2024-04-11 11:45:35 +02:00
instance.go [feature] Parse instance descriptors as markdown, show T&C on /about (#2481) 2024-01-05 13:39:31 +01:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
parsemention.go [bugfix] Refactor parse mention, fix local mention bug (#2657) 2024-02-19 03:48:20 +00:00
parsemention_test.go [bugfix] Refactor parse mention, fix local mention bug (#2657) 2024-02-19 03:48:20 +00:00
preferences.go [chore] Move local account settings to separate db table (#2770) 2024-03-22 14:03:46 +01:00
preferences_test.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
processor.go [feature] Implement filters_changed stream event (#2972) 2024-06-07 10:51:13 +02:00
processor_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00