sam
c046ae57f2
fix(backend): invert api token check in /auth/warnings/{id}/ack
2023-07-27 00:55:51 +02:00
Sam
80cf699a73
feat(backend): cache user/member counts
2023-06-25 15:49:19 +02:00
erin
fd58773472
fix: treat 'gotosocial' software as mastodon
2023-06-15 18:38:11 -04:00
Sam
0a012d75af
fix: treat 'glitchcafe' software as mastodon
2023-06-15 17:23:24 +02:00
Sam
fad5bd5e4a
feat: add admin badge on profiles
2023-06-07 09:48:11 +02:00
Sam
d25545fa03
change import url
2023-06-03 16:18:47 +02:00
Sam
10dc59d3d4
feat: add short IDs + link shortener
2023-06-03 03:06:26 +02:00
Sam
52f9cfe881
fix: fix error in merge
2023-05-29 04:04:24 +02:00
Sam
c28df5fc7f
fix: enforce maximum number of flags on profile
2023-05-29 03:26:56 +02:00
Sam
8b03521382
feat: add list/upload flag UI
2023-05-29 03:26:54 +02:00
Sam
a4698e179a
feat: add DELETE /users/@me/flags/{id}
2023-05-29 03:26:54 +02:00
Sam
1360a52488
add PATCH /users/@me/flags/{id}
2023-05-29 03:26:54 +02:00
Sam
ea2ae94742
feat: add flags to PATCH /members/{id}
2023-05-29 03:26:53 +02:00
Sam
1b78462f50
feat: add flags to PATCH /users/@me
2023-05-29 03:26:53 +02:00
Sam
c69c777fc8
feat: GET /users/@me/flags, POST /users/@me/flags
2023-05-29 03:26:53 +02:00
Sam
9a70245c2d
feat: add /users/@me/members/{memberRef} route ( closes #62 )
2023-05-23 16:32:02 +02:00
Sam
c3291edd4f
feat: expose some more info in /settings
2023-05-19 03:13:46 +02:00
Sam
9c4e29e64f
fix(backend): mention disallowed names in error messages
2023-05-12 01:39:02 +02:00
Sam
4e056632c8
fix(backend): return display_name in GET /users/:id/members
2023-05-10 00:46:25 +02:00
Sam
de460720da
feat: expose active user counts in API
2023-05-06 15:59:52 +02:00
Sam
e8d9ccb1ac
fix: don't log captcha responses
2023-05-06 15:53:07 +02:00
Sam
cf95e69349
feat: add last active time per user
2023-05-02 02:54:08 +02:00
Sam
3f003b5353
feat: disallow {} in member names
2023-05-02 02:18:35 +02:00
Sam
136edee506
feat: rename PATCH /users/@me 'username' param to 'name' for consistency
2023-04-26 13:15:57 +02:00
Sam
6f7eb5eeee
feat: add captcha when signing up ( closes #53 )
2023-04-24 16:51:55 +02:00
Sam
5594463a09
fix(backend): use to-be-set custom preferences when validating fields, remove constants
2023-04-21 16:35:13 +02:00
Sam
6dd3478ff9
fix: abort if oauth user info is invalid
2023-04-21 00:07:02 +02:00
Sam
cd8f165a17
fix(backend): check number of custom preferences in patch
2023-04-20 07:33:02 +00:00
Sam
2c71741d7c
feat(backend): add custom preferences
2023-04-20 07:33:01 +00:00
Sam
7ea5efae93
feat: start custom preferences on backend
2023-04-20 07:33:01 +00:00
Sam
86a1841f4f
fix(backend): don't use redis GETDEL
2023-04-20 01:30:33 +02:00
Sam
f5d7bc4095
feat: only show auth providers if they're enabled
2023-04-18 23:31:57 +02:00
Sam
17f2552c6a
Merge branch 'main' of codeberg.org:u1f320/pronouns.cc
2023-04-18 22:53:18 +02:00
Sam
488544dd5f
feat: add google oauth
2023-04-18 22:52:58 +02:00
sam
8588da8b80
fix: switch arguments in UpdateFromTumblr
2023-04-18 15:48:09 +00:00
Sam
716c1283e7
feat: add tumblr oauth
2023-04-18 03:49:37 +02:00
Sam
6131884ba7
fix: reject instance domains with @ in them
2023-04-18 02:15:45 +02:00
Sam
5c8c6eed63
feat: add prometheus metrics
2023-04-17 23:44:21 +02:00
Sam
b4c331daa0
fix: fix tokens to expire after 3 months and always inherit admin perms from user
2023-04-17 23:43:04 +02:00
Sam
94cd4cd6d3
fix(backend): don't count deleted users + unlisted members in meta endpoint
...
This technically leaked the *existence* of these users and members,
but there's never been any way to enumerate users or unlisted members,
so this is unlikely to have *actually* leaked any information. Still,
for consistency's sake, this commit hides them from the user/member
count.
2023-04-17 16:33:05 +02:00
Sam
893244dc16
fix: fix internal server error in POST /members
2023-04-08 01:25:27 +02:00
Sam
d17b43d2a7
chore: update backend dependencies
2023-04-04 04:11:03 +02:00
Sam
691711d542
fix: return u.ListPrivate in PATCH /users/@me response
2023-04-02 23:10:57 +02:00
Sam
5bdb25866c
feat: add hidden member list
2023-04-02 23:08:44 +02:00
Sam
8433a1523a
feat: count characters consistently
2023-04-02 22:50:22 +02:00
Sam
ef9b186e66
feat(backend): add unlisted members, private member list, custom members header
2023-04-01 17:20:59 +02:00
Sam
ff75075b81
feat: restrict certain endpoints from API tokens and/or read-only tokens
2023-03-30 16:58:35 +02:00
Sam
2716471fa9
feat: add API tokens + force log out button
2023-03-30 16:50:30 +02:00
Sam
9c8b6a8f91
feat(!): return 204 instead of useless json responses, add fastFetch
2023-03-30 16:05:40 +02:00
Sam
abc78f3a9a
feat(backend): change DELETE /auth/tokens to invalidate *all* tokens
2023-03-30 16:05:10 +02:00