Commit Graph

458 Commits

Author SHA1 Message Date
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
Sam 83c1fa6e42 fix(frontend): embed improvements 2022-11-20 23:31:46 +01:00
sam 7eb5af6c00 feat(frontend): embeds 2022-11-20 23:04:44 +01:00
sam 94cee93ccb fix(frontend): fix LabelsLine, change grid to flex in FieldCardGrid 2022-11-20 22:43:21 +01:00
sam 671db409a1 style: lint pages/u/[user]/index.tsx 2022-11-20 22:35:10 +01:00
sam 801392f1c6 merge: branch 'main' of codeberg-1f320:u1f320/pronouns.cc 2022-11-20 22:09:47 +01:00
sam 78d6a817ed feat(frontend): add static page support at /page/[name], add tos + privacy link to login 2022-11-20 22:09:36 +01:00
hanabi 8a9e842901 feat: u/[user] members list 2022-11-20 16:05:51 -05:00
hanabi 2eefad74cf chore: gitignore redis' dump.rdb 2022-11-20 15:35:23 -05:00
Sam 17cc57a31d feat(api): sort members in sql 2022-11-20 21:26:19 +01:00
Sam 73c5c9fc67 feat(api): add display_name to member 2022-11-20 21:09:29 +01:00
sam c4ddde73ec merge: 'Clean up /u/[user].tsx' (#2) from hanabi/pronouns.cc:main into main
Reviewed-on: https://codeberg.org/u1f320/pronouns.cc/pulls/2
2022-11-20 19:11:00 +00:00
hanabi f51a1329da refactor: user page code adjustments 2022-11-20 13:31:28 -05:00
Sam e5b4f78998 feat(frontend): add new field, new field entry, save buttons to edit profile page 2022-11-20 16:54:25 +01:00
hanabi b48a493883 fix(frontend): fix user page title wonky hydration 2022-11-20 09:39:56 -05:00
Sam 459e525415 feat: make avatars bigger + higher quality 2022-11-20 14:34:25 +01:00
Sam 8df95a78ef fix: remove debug fmt.Printlns 2022-11-20 14:33:44 +01:00
Sam b9101e260b feat(api): allow not having a redis connection for development 2022-11-20 03:44:20 +01:00
Sam 683d61bd82 add dev instructions to README 2022-11-20 03:37:52 +01:00