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
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
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
auth.go
client.go [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
fileserver.go
health.go
metrics.go
nodeinfo.go
wellknown.go