Commit Graph

97 Commits

Author SHA1 Message Date
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
sam 05919e4ecd fix(backend): correct paths to export endpoints 2023-03-16 16:49:40 +00:00
Sam cf424d3ae4
feat: sign up/log in with mastodon 2023-03-16 15:50:39 +01:00
Sam f087e9a29f
feat!(backend): move /auth/export to /users/@me/export 2023-03-16 12:49:27 +01:00
Sam 17f6ac4d23
feat(backend): start on fediverse auth support 2023-03-16 11:43:25 +01:00
Sam 15109819df
feat(backend): add data export 2023-03-15 15:24:51 +01:00
Sam ded9d06e4a
feat: build entire backend into single executable (including migrations etc) 2023-03-15 10:04:48 +01:00
Sam ec6043df30
feat: member edit page 2023-03-14 17:06:35 +01:00
Sam 9bfabcc1f1
feat: cancel user deletion 2023-03-14 16:16:07 +01:00
Sam fb8733befa
fix(backend): return 400 error on bad request, not 500 2023-03-14 01:30:46 +01:00
Sam 1647ec16a4
feat: add invites page 2023-03-14 00:16:19 +01:00
Sam fb10f29e2b
feat: add clean db script 2023-03-13 23:26:12 +01:00
Sam 8d208ff7cd
fix(backend): return JSON when deleting member or user 2023-03-13 17:10:54 +01:00
Sam 62b2e3ca0d
feat(backend): add max invites to /users/@me responses, use token ID for DELETE /auth/tokens/{id} 2023-03-13 17:01:36 +01:00
Sam 57ed81add3
feat(backend): add delete avatar logic 2023-03-13 02:19:03 +01:00
Sam 163e7c3fd6
feat: hashes in avatar file names (closes #19) 2023-03-13 02:04:09 +01:00
Sam e36bd247f5
fix(backend): missing return 2023-03-13 01:31:12 +01:00
sam 9309f2f8dc feat(backend): let frontend bypass ratelimit 2023-03-12 20:32:45 +01:00
Sam c8b5b7e2c2
feat(frontend): working Discord login + signup 2023-03-12 04:25:53 +01:00
Sam 0e72097346
feat(backend): always return empty arrays instead of null 2023-03-12 01:31:31 +01:00
Sam b8a7e7443d
feat(backend): use jsonb instead of composite type arrays 2023-03-12 01:31:10 +01:00
Sam 75f628c722
fix: make discord login work if no user exists 2023-03-11 16:49:07 +01:00
Sam 8c187d0fb3
feat(backend): add /api/v1/meta endpoint 2023-03-08 14:13:04 +01:00
Sam 1687f04410
feat(backend): hide soft deleted users in API responses 2023-03-08 14:04:26 +01:00
Sam ff3d612b06
feat(backend): add DELETE /users/@me endpoint 2023-03-08 10:32:18 +01:00
Sam 11363d6769
feat(frontend): make field entries sortable 2023-03-05 04:18:35 +01:00
Sam b41ca0b753
fix(backend): fix sql errors in CreateUser and User.UpdateFromDiscord 2023-02-25 22:16:22 +01:00
Sam b92ced7d1a
fix(backend): add default limiter to rate limiter 2023-02-25 21:41:51 +01:00
Sam c95285e26b
feat(backend): separate rate limits into buckets 2023-02-24 15:53:35 +01:00