mirror of
1
Fork 0
gotosocial/internal/api/model
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
..
account.go [feature] Option to hide followers/following (#2788) 2024-04-02 10:42:24 +01:00
admin.go [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
announcement.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
announcementreaction.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
application.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
attachment.go [chore/frontend] Refactor status templates slightly, put polls behind CWs if present (#2419) 2023-12-05 12:43:07 +01:00
block.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
card.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
content.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
context.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
conversation.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
domain.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
emoji.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
emojicategory.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
featuredtag.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
field.go [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
filter.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
filterv1.go [chore] Fix a Swagger warning that only manifests during Go client code generation (#2729) 2024-03-06 18:44:58 +01:00
headerfilter.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
history.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
instance.go [Frontend] Settings for profile fields (#1885) 2023-06-13 12:21:26 +02:00
instancev1.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
instancev2.go [feature] Parse instance descriptors as markdown, show T&C on /about (#2481) 2024-01-05 13:39:31 +01:00
list.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
marker.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
mention.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
multistatus.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
notification.go [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
poll.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
preferences.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
pushsubscription.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
relationship.go [feature] Add `requested_by` to relationship model (#2672) 2024-02-20 17:50:54 +00:00
report.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
results.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
rule.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
scheduledstatus.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
search.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
source.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
status.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
tag.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
theme.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
token.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
user.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
well-known.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00