Commit Graph

200 Commits

Author SHA1 Message Date
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
Sam 1c8276188c feat: seeddb script 2022-11-20 03:11:01 +01:00
Sam 552505fa53 fix(backend): actually resize avatars on upload 2022-11-20 01:54:47 +01:00
Sam 0c4f97b3cc fix(frontend): fix discord login page 2022-11-20 01:24:36 +01:00
Sam 493c0963d5 chore(frontend): update Next to 13.0.4 2022-11-19 16:52:52 +01:00
Sam 08554eef38 fix: make frontend build 2022-11-19 03:01:20 +01:00
Sam 6237ea940f feat: add invites to backend 2022-11-18 15:27:52 +01:00
Sam 47ed36d24c feat: add logout page 2022-11-18 15:27:37 +01:00
Sam a7f8ddd1cb refactor: extract Notice to component 2022-11-18 15:27:25 +01:00