mirror of
1
Fork 0
gotosocial/internal/api/client
kim cac9d65029
[performance] convert enum strings to ints (#3558)
* convert statuses.visibility and notifications.notification_type columns from type string -> int for performance / space savings

* fix test trying to compare string to int

* fix instance count query using string literal instead of gtsmodel const type

* ensure a default value is always set

* also migrate the account settings and sin bin status tables

* initialize maps outside loops and place into singular enum mapping creation func

* use int16 for enum types

* update sinbinstatus creation to be from a snapshot at initial creation

* add snapshot of poll type at creation time
2024-11-25 14:48:59 +01:00
..
accounts [performance] convert enum strings to ints (#3558) 2024-11-25 14:48:59 +01:00
admin [feature] Add domain permission drafts and excludes (#3547) 2024-11-21 13:09:58 +00:00
apps [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
blocks [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
bookmarks [chore] Swagger: add missing paging params to bookmarks list (#2759) 2024-03-15 11:43:24 +01:00
conversations [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
customemojis [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
exports [chore] make csv export ordering determinate (#3318) 2024-09-18 10:23:28 +00:00
favourites [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
featuredtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
filters [bugfix] Fix setting immediate `expires_at` value on filter endpoints (#3513) 2024-11-05 13:29:51 +01:00
followedtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
followrequests [feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473) 2024-10-21 14:04:50 +02:00
import [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
instance [bugfix] post counters should not include direct messages (#3554) 2024-11-21 11:06:06 +01:00
interactionpolicies [feature] Allow users to submit `interaction_policy` on new statuses (#3314) 2024-09-18 16:35:35 +00:00
interactionrequests [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
lists [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
markers [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
media [performance] use single-threaded image transforms (#3252) 2024-08-31 10:41:38 +02:00
mutes [feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473) 2024-10-21 14:04:50 +02:00
notifications [performance] convert enum strings to ints (#3558) 2024-11-25 14:48:59 +01:00
polls [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
preferences [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
reports [feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473) 2024-10-21 14:04:50 +02:00
search [feature/frontend] Add player for audio files; use thumbnail for `poster` (#3099) 2024-07-15 10:47:57 +01:00
statuses [bugfix] Fix setting immediate `expires_at` value on filter endpoints (#3513) 2024-11-05 13:29:51 +01:00
streaming [chore] Fix loop issue in streaming 🤦 (#3457) 2024-10-18 16:57:50 +02:00
tags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
timelines [bugfix] Avoid empty public/local timeline queries (#2784) 2024-03-25 16:20:45 +00:00
user [chore] Warn about email/password change when using OIDC (#2975) 2024-06-07 15:21:57 +01:00