mirror of
1
Fork 0
gotosocial/internal
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
..
ap [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
api [chore] Warn about email/password change when using OIDC (#2975) 2024-06-07 15:21:57 +01:00
cache [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
cleaner [feature] do not uncache status / emoji media if attached status is bookmarked (#2956) 2024-06-06 11:44:43 +01:00
config [chore] Warn about email/password change when using OIDC (#2975) 2024-06-07 15:21:57 +01:00
db [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
email [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
federation [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
filter [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
gtscontext [bugfix] httpclient not signing subsequent redirect requests (#2798) 2024-04-02 13:12:26 +02:00
gtserror [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 2024-05-27 17:46:15 +02:00
gtsmodel [bugfix] Filter fixes (#2971) 2024-06-06 20:16:20 +02:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient close + drain body if response body is too large (#2897) 2024-05-05 16:43:38 +01:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [chore] Log less output on failed test (#2804) 2024-04-04 16:42:42 +01:00
media [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
messages [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
metrics [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
middleware [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
oauth [chore] Upgrade our Go version to 1.22 (#2862) 2024-04-26 10:40:29 +02:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging [bugfix] flaky paging test (#2888) 2024-05-01 13:29:42 +02:00
processing [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
queue [performance] update go-structr and go-mutexes with memory usage improvements (#2909) 2024-05-13 08:05:46 +00:00
regexes [bugfix] use start + end line in regex when validating emoji via API (#2671) 2024-02-20 11:46:04 +01:00
router [chore] improved startup / shutdown (#2925) 2024-05-29 13:21:04 +02:00
scheduler [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
state [bugfix] Lock when checking/creating notifs to avoid race (#2890) 2024-05-02 13:43:00 +01:00
storage [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
stream [feature] Implement filters_changed stream event (#2972) 2024-06-07 10:51:13 +02:00
text [bugfix] Parse links that contain non-ascii characters (#2762) 2024-03-15 17:26:53 +00:00
timeline feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01:00
tracing [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
trans [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
transport [chore] Roll back use of `(created)` pseudo-header pending #2991 (#2992) 2024-06-10 19:42:26 +01:00
typeutils [bugfix] boost and account recursion (#2982) 2024-06-10 19:42:41 +01:00
uris [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
util [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 2024-05-27 17:46:15 +02:00
validate [feature] Implement Filter API v2 (#2936) 2024-05-31 12:55:56 +02:00
web [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
workers [feature] log worker startup counts (#2958) 2024-06-03 22:55:50 +01:00