gotosocial/internal/api
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
..
activitypub [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
auth [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
client [performance] convert enum strings to ints (#3558) 2024-11-25 14:48:59 +01:00
fileserver [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
health [feature] Add healthcheck endpoints /livez and /readyz (#2783) 2024-03-25 17:05:14 +00:00
metrics [chore] add nometrics build tagging to metrics API endpoint (#3331) 2024-09-23 12:01:12 +00:00
model [feature] Add domain permission drafts and excludes (#3547) 2024-11-21 13:09:58 +00:00
nodeinfo [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
util [performance] convert enum strings to ints (#3558) 2024-11-25 14:48:59 +01:00
wellknown [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01: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] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02: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/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
wellknown.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00