Commit Graph

126 Commits

Author SHA1 Message Date
Sam fc4334932a
add new sveltekit frontend 2023-03-11 16:54:58 +01:00
Sam 4c8888ec0c
remove old frontend 2023-03-11 16:54:28 +01:00
Sam d011c703ed
fix dark mode, add member page 2023-03-11 16:52:48 +01:00
Sam 75f628c722
fix: make discord login work if no user exists 2023-03-11 16:49:07 +01:00
Sam 27cec4e77e
start user page 2023-03-11 01:36:30 +01:00
Sam 90205a1243
init 2023-03-09 17:08:43 +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 c4b8b26ec7
fix: make scripts/seeddb work again 2023-03-08 02:07:46 +01:00
Sam 11363d6769
feat(frontend): make field entries sortable 2023-03-05 04:18:35 +01:00
Sam 66a0830ef2
feat(frontend): support new fields 2023-03-04 23:03:30 +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
sam d11f296026 Merge pull request 'names/pronouns/fields rework' (#17) from better-fields into main
Reviewed-on: https://codeberg.org/u1f320/pronouns.cc/pulls/17
2023-01-30 23:51:32 +00:00
Sam d6017f1edf
feat: read/write improved names/pronouns for users, read/write improved fields/names/pronouns for members 2023-01-31 00:50:17 +01:00
Sam c6537c920d
feat: read/write improved fields for users, read improved names/pronouns for users 2023-01-14 17:33:18 +01:00
Sam 7669595586
feat!: wip pronoun entry rework 2023-01-04 22:41:29 +01:00
Sam 68939f5e10
feat: slightly improve card layout + edit profile page 2023-01-03 00:07:10 +01:00
Sam e5723360a7
feat: add token IDs, store tokens in db for early invalidation 2023-01-01 00:34:38 +01:00
Sam 58c1c1794e
fix(backend): optionally support "Bearer " prefix in auth header 2022-12-23 01:44:56 +01:00
Sam c7f486ca21
feat(backend): allow changing username in PATCH /users/@me 2022-12-23 01:31:43 +01:00
Sam cd7689d0f5
refactor: sort typescript imports 2022-12-22 15:49:08 +01:00
Sam 7bb179a2dc
feat: give editor on /edit/profile a theme + bigger font size 2022-12-22 15:43:43 +01:00
Sam 07c6bf53a9
refactor: extract dark theme to recoil state 2022-12-22 15:43:10 +01:00
Sam d3eaaaaa9d
feat: serve media on /media/, not separate domain 2022-12-22 15:42:43 +01:00
Sam 7b7b0ca15b
docs: start writing OpenAPI definition 2022-12-12 14:18:36 +01:00
Sam 6b5ccae514 fix(frontend): fix bio in edit profile page 2022-12-03 04:25:25 +01:00
Sam f2306b8b1d style: format with prettier 2022-11-25 02:27:46 +01:00
hanabi ba24815320 refactor(frontend): some degree of api wrapping 2022-11-24 14:49:53 -05:00
Sam f4a63fc95e feat(frontend): add bio edit field 2022-11-24 14:56:27 +01:00
Sam d58208f5ac fix(backend): don't crash if redis isn't set, use tx in CreateMember 2022-11-24 13:41:36 +01:00
Sam 3b64ba33f6 feat(backend): add DELETE /members/{id} 2022-11-23 15:26:57 +01:00
Sam 3aefe4fa88 fix(frontend): limit avatar size 2022-11-21 17:04:07 +01:00
Sam 69e5082e89 feat(backend): PATCH /members/{id} route 2022-11-21 17:01:51 +01:00
hanabi ed6bc06e6f feat(frontend): member page 2022-11-20 22:16:07 -05:00
hanabi 050a27a389 fix(frontend): show member list on user page 2022-11-20 21:58:41 -05:00
hanabi 3a640e4bcd fix(frontend): remove redundant member list fetch 2022-11-20 21:57:30 -05:00
hanabi befd3f15ee refactor: detach PersonPage from u/[page] 2022-11-20 21:52:24 -05:00
hanabi 52eed5ea56 fix(frontend): fix array types to match api 2022-11-20 21:40:53 -05:00
hanabi 212d69b7ac refactor: prepare user page code for member page 2022-11-20 21:39:09 -05:00
Sam 373ccf4b63 feat(backend): switch to toasts for client-side API feedback, flesh out edit profile page 2022-11-21 03:20:15 +01:00
Sam 8ab4c2a91b fix(backend): return members in /users/{userRef} 2022-11-21 02:38:08 +01:00
Sam 37c01753c9 fix(frontend): change User.username in Navigation 2022-11-21 02:21:54 +01:00
hanabi 1c1d4d714f fix: Member always has .user 2022-11-20 20:12:21 -05:00
hanabi 8aeefb56da refactor: minor api change, type reafactor 2022-11-20 19:58:17 -05:00
Sam 2be1c9550b feat(api)!: rename User.username to User.name in json 2022-11-21 01:24:23 +01:00
Sam 53a48ab4a4 fix(frontend): add missing fields to Member type 2022-11-21 01:19:03 +01:00
Sam 03a0ffc1ca fix(frontend): fix duplicate meta elements 2022-11-20 23:36:04 +01:00