gotosocial/internal/api/client/admin
kim b85a9983d0
[bugfix] fix emoji recaching operations (#3167)
* add test for emoji update image

* update emoji recache to set the instance account id

* don't refresh emoji if only not cached. in that case literally just recache

* code comment

* rename + move a few things

* add some more code comments, and rename some functions to make logic a bit clearer

* remove unnecessary nil check (the value can be nil)

* comment wording

* remove test data output

* handle the case of caching an emoji which has been refreshed then uncached

* allow overwriting on testrig storage as we do now on regular storage

* fix emoji category ID not getting updated

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-08-03 19:05:38 +02:00
..
accountaction.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
accountapprove.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
accountget.go
accountreject.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
accountsgetv1.go
accountsgetv2.go
accountsgetv2_test.go [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
admin.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
admin_test.go [feature] Debug admin endpoint to clear caches (#2940) 2024-05-29 12:56:17 +02:00
debug_off.go [feature] Debug admin endpoint to clear caches (#2940) 2024-05-29 12:56:17 +02:00
debug_on.go [feature] Debug admin endpoint to clear caches (#2940) 2024-05-29 12:56:17 +02:00
domainallowcreate.go
domainallowdelete.go
domainallowget.go
domainallowsget.go
domainblockcreate.go
domainblockdelete.go
domainblockget.go
domainblocksget.go
domainkeysexpire.go
domainpermission.go
emailtest.go [feature/frontend] Let admins send test email to validate SMTP config (#2934) 2024-05-27 17:03:54 +00:00
emojicategoriesget.go
emojicategoriesget_test.go
emojicreate.go
emojicreate_test.go [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
emojidelete.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
emojidelete_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
emojiget.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
emojiget_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
emojisget.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
emojisget_test.go
emojiupdate.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
emojiupdate_test.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
headerfilter.go [feature] Add HTTP header permission section to frontend (#2893) 2024-05-05 11:47:22 +00:00
headerfilter_create.go
headerfilter_delete.go [feature] Add HTTP header permission section to frontend (#2893) 2024-05-05 11:47:22 +00:00
headerfilter_get.go
mediacleanup.go
mediacleanup_test.go
mediarefetch.go
reportget.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
reportresolve.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
reportresolve_test.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
reportsget.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
reportsget_test.go [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
rulecreate.go
ruledelete.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
ruleget.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
rulesget.go
ruleupdate.go [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00