GoToSocial/internal
Vyr Cossont 7e0a203173
[bugfix] Fix EmptyJSONObject/EmptyJSONArray (#2576)
* Fix EmptyJSONObject/EmptyJSONArray

These are meant to be the bytes representing an empty object and array in JSON: `{}` and `[]`. They are actually the strings `"{}"` and `"[]"`. This causes clients expecting an object or array to not be able to parse the response.

* Use json.RawMessage instead of []byte
2024-01-28 11:49:04 +01:00
..
ap [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
api [bugfix] Fix EmptyJSONObject/EmptyJSONArray (#2576) 2024-01-28 11:49:04 +01:00
cache [performance] overhaul struct (+ result) caching library for simplicity, performance and multiple-result lookups (#2535) 2024-01-19 12:57:29 +00:00
cleaner [bugfix] process account delete side effects in serial, not in parallel (#2360) 2023-11-14 15:57:25 +01:00
config [chore/docs] Replace specific year range of copyright notice (#2520) 2024-01-13 16:33:53 +01:00
db [chore] Harden up boolptr logic on Accounts, warn if not set (#2544) 2024-01-19 13:02:04 +00:00
email [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
federation [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
gotosocial [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
gtscontext [chore] ensure worker contexts have request ID (#2120) 2023-08-15 17:01:01 +01:00
gtserror [bugfix] Don't return Internal Server Error when searching for URIs that don't return AP JSON (#2550) 2024-01-22 14:38:45 +00:00
gtsmodel [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
id
iotools
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
media [performance] overhaul struct (+ result) caching library for simplicity, performance and multiple-result lookups (#2535) 2024-01-19 12:57:29 +00:00
messages
metrics [chore] Downgrade OTEL libraries to 1.20 (#2546) 2024-01-21 11:34:12 +01:00
middleware [feature] Log pubKeyID for http-signed requests (#2501) 2024-01-09 10:41:15 +01:00
oauth [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
oidc
paging [bugfix] self-referencing collection pages for status replies (#2364) 2023-11-20 12:22:28 +00:00
processing [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
regexes [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
router [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
scheduler [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
state [feature] add per-uri dereferencer locks (#2291) 2023-10-31 11:12:22 +00:00
storage [feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs (#2134) 2023-08-20 13:35:55 +02:00
stream [feature] Push status edit messages into open streams (#2418) 2023-12-16 12:55:49 +01:00
text [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
timeline [bugfix] Ensure `pre` renders as expected, fix orderedCollectionPage (#2434) 2023-12-10 12:36:00 +01:00
tracing [chore] update otel -> v1.20.0 (#2358) 2023-11-13 11:08:02 +01:00
trans
transport [performance] overhaul struct (+ result) caching library for simplicity, performance and multiple-result lookups (#2535) 2024-01-19 12:57:29 +00:00
typeutils [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
uris [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
util [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
validate
visibility [performance] overhaul struct (+ result) caching library for simplicity, performance and multiple-result lookups (#2535) 2024-01-19 12:57:29 +00:00
web [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
workers [feature] support canceling scheduled tasks, some federation API performance improvements (#2329) 2023-11-04 20:21:20 +00:00