mirror of
1
Fork 0
gotosocial/internal/api
ewin 83de18aeba
Do include content type on status API model actually
This is mostly important when deleting and redrafting.

The comment on `apimodel.Status.Text` implies that it's not sent except in response to status deletion, but actually this doesn't seem to be the case; it also appears to be present in responses to creations and normal fetches and stuff. So I'm treating `ContentType` the same here.
2025-03-05 16:20:41 -05:00
..
activitypub [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
auth [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
client Update StatusSource test 2025-03-03 17:19:51 -05:00
fileserver [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
health [feature] Add healthcheck endpoints `/livez` and `/readyz` (#2783) 2024-03-25 17:05:14 +00:00
metrics [chore] update otel libraries (#3740) 2025-02-06 12:14:37 +01:00
model Do include content type on status API model actually 2025-03-05 16:20:41 -05:00
nodeinfo [feature] Change `instance-stats-randomize` to `instance-stats-mode` with multiple options; implement nodeinfo 2.1 (#3734) 2025-02-04 16:52:42 +01:00
robots [feature] Use ETag for robots.txt to prevent mishaps (#3829) 2025-02-24 11:17:18 +01:00
util [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
wellknown [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
activitypub.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
auth.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
client.go [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
fileserver.go [feature] Ratelimit + serve emoji images on separate router group (#2548) 2024-01-22 15:17:04 +00:00
health.go [feature] Add healthcheck endpoints `/livez` and `/readyz` (#2783) 2024-03-25 17:05:14 +00:00
metrics.go [chore/bugfix] Fix double gzip on prometheus endpoint (#2383) 2023-11-23 19:10:51 +01:00
nodeinfo.go [feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers (#3737) 2025-02-05 12:47:13 +01:00
robots.go [feature] Use ETag for robots.txt to prevent mishaps (#3829) 2025-02-24 11:17:18 +01:00
wellknown.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00