Commit Graph

125 Commits

Author SHA1 Message Date
Sam 488544dd5f
feat: add google oauth 2023-04-18 22:52:58 +02: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 a9463896d4
feat(backend): add cors 2023-04-13 23:33:48 +02:00
Sam 893244dc16
fix: fix internal server error in POST /members 2023-04-08 01:25:27 +02:00
Sam 62b9c1dbd6
feat(exporter): use indentation, export some new fields 2023-04-08 01:00:37 +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
Sam 0ce6453bf7
chore: remove lines left over from imagemagick 2023-03-30 15:19:44 +02:00
Sam ab39f64ad5
feat: switch to Go libraries for avatar conversion instead of ImageMagick 2023-03-30 14:44:32 +02:00
Sam c98e4390b1
fix: validate WordStatus correctly, raise field entry length limit to 100 2023-03-30 00:15:21 +02:00
Sam 96376516b0
feat(!): use strings for WordStatus enum instead of ints 2023-03-29 23:59:51 +02:00
Sam bca0404b71
fix: fix avatars losing transparency (closes #39) 2023-03-29 11:36:20 +02:00
Sam 83e38bb320
fix(backend): use correct ID in patch member endpoint 2023-03-27 05:00:16 +02:00
Sam 5be0b168c5
feat(frontend): validate username and member name client-side too 2023-03-27 01:23:04 +02:00
Sam d86d4f5540
feat: fix foundkey support (closes #26) 2023-03-25 16:14:06 +01:00
Sam 75407827bc
feat: better but not perfect misskey auth support 2023-03-25 15:54:09 +01:00
Sam 987ff47704
feat: misskey oauth (fixes #26) 2023-03-25 03:27:40 +01:00
Sam 293f68e88c
feat: add warnings page, add delete user + acknowledge report options 2023-03-23 17:13:23 +01:00
Sam ab77fab0ea
feat: add mod action notice to login page 2023-03-23 15:40:33 +01:00
Sam f02e64fca7
feat: add report button to profiles 2023-03-23 15:20:07 +01:00
Sam a0bc39bcba
feat: backend for warnings, partial frontend for reports 2023-03-23 14:54:43 +01:00
Sam 29274287a2
frontend: add reports list 2023-03-23 11:30:47 +01:00
Sam 244c13cd84
merge: branch 'main' into reports 2023-03-23 10:50:36 +01:00
Sam 9813e1795e
fix: delete current avatar when setting new avatar (fixes #33) 2023-03-23 10:07:51 +01:00
Sam 77a93fd148
a lil frontend work (as a treat) 2023-03-23 09:30:23 +01:00
Sam 9fe6529c1b
feat(backend): add create member report endpoint 2023-03-22 15:53:20 +01:00
Sam 3bb97b8274
feat(backend): add create user report endpoint 2023-03-21 17:16:16 +01:00
Sam 799d27b58c
feat: add list reports endpoints 2023-03-21 14:27:39 +01:00
Sam 76a8b30fe2
Merge branch 'main' into reports 2023-03-20 16:40:47 +01:00
Sam 6d32d05d98
feat(backend): add force delete endpoint 2023-03-20 15:04:32 +01:00
Sam 33f903b07d
start reports/moderation in backend 2023-03-19 16:14:09 +01:00
Sam 41edaee8ea
fix(backend): fix display_name in PATCH /members/{id} not applying 2023-03-19 04:05:11 +01:00
Sam 004403895a
fix: require >1 provider for unlink account endpoints (fixes #29) 2023-03-18 23:04:50 +01:00
Sam d223cd89e8
fix: validate member name contents 2023-03-18 23:00:44 +01:00
Sam fe0680d587
fix: crop avatars to square 2023-03-18 22:51:54 +01:00
Sam b2bc608ec8
feat: allow unlinking auth providers 2023-03-18 16:54:31 +01:00
Sam 8f6e280367
feat: allow linking discord account to existing user 2023-03-18 16:33:12 +01:00
Sam 97191933cb
feat: allow linking fediverse account to existing user 2023-03-18 15:19:53 +01:00
Sam d6bb2f7743
fix(backend): return fedi info in /users/@me routes 2023-03-17 14:14:31 +01:00