gotosocial/internal/typeutils
kim e58d2d8122
[chore] move caches to a separate State{} structure (#1078)
* move caches to a separate State{} structure

Signed-off-by: kim <grufwub@gmail.com>

* fix call to log.Panic not using formatted call

Signed-off-by: kim <grufwub@gmail.com>

* move caches to use interfaces, to make switchouts easier in future

Signed-off-by: kim <grufwub@gmail.com>

* fix rebase issue

Signed-off-by: kim <grufwub@gmail.com>

* improve code comment

Signed-off-by: kim <grufwub@gmail.com>

* fix further issues after rebase

Signed-off-by: kim <grufwub@gmail.com>

* heh

Signed-off-by: kim <grufwub@gmail.com>

* add missing license text

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-12-08 18:35:14 +01:00
..
astointernal.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
astointernal_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
converter.go [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
converter_test.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
defaulticons.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
frontendtointernal.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
internal.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
internaltoas.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
internaltoas_test.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
internaltofrontend.go [bugfix] don't return error during account serialize on deleted emoji (#1177) 2022-11-29 17:59:59 +00:00
internaltofrontend_test.go [bugfix] Don't call strings.ToLower() on usernames when selecting account by domain+username (#1190) 2022-11-30 17:44:02 +01:00
internaltorss.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
internaltorss_test.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
util.go Pg to bun (#148) 2021-08-25 15:34:33 +02:00
wrap.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
wrap_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00