gotosocial/internal/api/util
tobi 89e0cfd874
[feature] Admin accounts endpoints; approve/reject sign-ups (#2826)
* update settings panels, add pending overview + approve/deny functions

* add admin accounts get, approve, reject

* send approved/rejected emails

* use signup URL

* docs!

* email

* swagger

* web linting

* fix email tests

* wee lil fixerinos

* use new paging logic for GetAccounts() series of admin endpoints, small changes to query building

* shuffle useAccountIDIn check *before* adding to query

* fix parse from toot react error

* use `netip.Addr`

* put valid slices in globals

* optimistic updates for account state

---------

Co-authored-by: kim <grufwub@gmail.com>
2024-04-13 13:25:10 +02:00
..
errorhandling.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
mime.go fix possible nil panic (#2809) 2024-04-04 16:45:59 +01:00
mime_test.go [bugfix] add stricter checks during all stages of dereferencing remote AS objects (#2639) 2024-02-14 12:13:38 +01:00
negotiate.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
negotiate_test.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
opengraph.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
opengraph_test.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
parsequery.go [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
response.go [bugfix] Fix EmptyJSONObject/EmptyJSONArray (#2576) 2024-01-28 11:49:04 +01:00
template.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00