Commit Graph

289 Commits

Author SHA1 Message Date
Sam 244c13cd84
merge: branch 'main' into reports 2023-03-23 10:50:36 +01:00
Sam dd608bbb22
fix: make member avatar link to member card 2023-03-23 10:17:36 +01:00
Sam da67d12b60
feat: use markdown-it instead of marked for descriptions 2023-03-23 10:05:17 +01:00
Sam 77a93fd148
a lil frontend work (as a treat) 2023-03-23 09:30:23 +01:00
Sam 90667bc285
fix(frontend): check for field length when comparing edited member/user to current 2023-03-21 16:22:37 +01:00
Sam f790c57447
chore(frontend): clean up imports + packages 2023-03-21 15:32:51 +01:00
Sam cafebec8ec
fix: make PronounLink reactive, fixes wrong pronouns showing up 2023-03-21 15:06:55 +01:00
Sam 76a8b30fe2
Merge branch 'main' into reports 2023-03-20 16:40:47 +01:00
Sam 938005cd9f
chore: merge gitignore files 2023-03-20 16:40:36 +01:00
Sam 1b949a013d
refactor: use shared component for login callback pages 2023-03-20 15:57:16 +01:00
Sam 2309c24bd8
add terms/privacy pages (no content yet) 2023-03-19 16:14:47 +01:00
Sam 2f66f94390
fix: show 404 page if user cannot be found 2023-03-19 03:57:20 +01:00
Sam 7d8bb1023e
feat: add button to remove existing user/member avatar 2023-03-19 01:37:59 +01:00
Sam 77ae15a468
feat: add changing order of fields (closes #28) 2023-03-19 00:17:19 +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 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 a1d3431770 fix: use zero time if user has not exported their data before 2023-03-16 16:43:28 +00:00
Sam 1843f58d96
feat: use fediverse icon on login page 2023-03-16 17:01:21 +01:00
Sam c6484ef066
feat: offer fediverse login on login page 2023-03-16 16:39:53 +01: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 bfa810fbb2
feat(frontend): list tokens, use formatted dates 2023-03-15 23:28:57 +01:00
Sam 4fbbafc763
fix(frontend): set title for all settings pages, not just the root 2023-03-15 16:33:28 +01:00
Sam 419a3831ee
feat(frontend): add data export page 2023-03-15 16:30:27 +01:00
Sam 15109819df
feat(backend): add data export 2023-03-15 15:24:51 +01:00
Sam f94bc67f3d
fix(frontend): consistent info icons 2023-03-15 00:34:39 +01:00
Sam 844f5e9255
feat(frontend): better content type detection, add explanation about avatar file types 2023-03-15 00:32:07 +01:00
Sam c2a3016265
fix(frontend): get commit hash correctly 2023-03-15 00:02:28 +01:00
Sam 7477814c1b
feat: add toasts when editing profile/members 2023-03-15 00:01:13 +01:00
Sam 87e6e2809e
feat: add toasts 2023-03-14 23:59:02 +01:00
Sam 1a7186061a
feat(frontend): add sentry 2023-03-14 22:56:47 +01:00
Sam 52606e850d
feat(frontend): show latest tag in footer 2023-03-14 22:39:56 +01:00
Sam 6c863bea96
fix(frontend): treat newlines as line breaks 2023-03-14 22:35:40 +01:00
Sam 149a7fba88
feat(frontend): pad member page back button, add link to member page on edit page 2023-03-14 22:31:45 +01:00
Sam c4d7acc3f6
fix(frontend): fix meta tags 2023-03-14 22:26:21 +01:00
sam dcf36465ea fix: correct form in last sentence on pronoun page 2023-03-14 16:31:23 +00:00
Sam b31f00597b
fix(frontend): center icon above first column even if profile has no links 2023-03-14 17:19:10 +01:00
Sam bfc9e6f5c0
fix(frontend): use display name for members if possible 2023-03-14 17:16:11 +01:00
Sam b50bed296a
fix: show create member page with no members 2023-03-14 17:11:09 +01:00
Sam ec6043df30
feat: member edit page 2023-03-14 17:06:35 +01:00
Sam 3678f5a3e8
feat: paginate member list, add create member button 2023-03-14 16:43:31 +01:00
Sam 9bfabcc1f1
feat: cancel user deletion 2023-03-14 16:16:07 +01:00
Sam 1e6eb66168
feat: move log out button to settings 2023-03-14 15:17:24 +01:00
Sam e3f3ac1d8d
feat: select label preferences with dropdown 2023-03-14 15:00:56 +01:00
Sam 18fc764d64
feat: tweak font size in profile fields 2023-03-14 14:27:54 +01:00
Sam 97cce1d8fc
feat: add opengraph tags 2023-03-14 03:01:26 +01:00
Sam 8cab186ee4
feat: add pronouns page 2023-03-14 02:18:21 +01:00
Sam 5ee069a5bd
fix(backend): don't try to link to malformed pronouns 2023-03-14 01:33:11 +01:00
Sam 1ebbeebdcb
feat(frontend): actual temporary landing page 2023-03-14 00:54:18 +01:00
Sam 37fe5813f0
feat(frontend): add field editing 2023-03-14 00:42:44 +01:00
Sam 1647ec16a4
feat: add invites page 2023-03-14 00:16:19 +01:00
Sam 72b54512aa
feat(frontend): add initial /settings page 2023-03-13 17:11:05 +01:00
Sam 10adeec841
feat(frontend): add links and add/delete names/pronouns to edit profile page 2023-03-13 15:36:41 +01:00
Sam 163e7c3fd6
feat: hashes in avatar file names (closes #19) 2023-03-13 02:04:09 +01:00
Sam e8d45ed4e9
feat(frontend): add names+pronouns to edit profile page, add robots.txt 2023-03-13 01:08:46 +01:00
Sam d67aaefdc0
feat(frontend): link to git commit in footer 2023-03-12 16:01:54 +01:00
Sam e4f3b26107
feat(frontend): tweak user/member layout, add start of edit profile page 2023-03-12 15:59:20 +01:00
Sam d4b8a20b4d
chore: clean up some stuff from the separate frontend repo 2023-03-12 05:05:43 +01:00
Sam ae7c37e4b9
feat(frontend): change user/member page heading to always be 2 columns 2023-03-12 05:04:15 +01:00
Sam 3d77e9823d
fix(frontend): always render log out page client side 2023-03-12 05:03:51 +01:00
Sam c8b5b7e2c2
feat(frontend): working Discord login + signup 2023-03-12 04:25:53 +01:00
Sam f358a56053
fix: use node adapter for frontend 2023-03-11 17:06:19 +01:00
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 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 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 68939f5e10
feat: slightly improve card layout + edit profile page 2023-01-03 00:07:10 +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 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 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
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 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 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
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 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 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
Sam dcfb60e9e3 fix: change colour on hover for links 2022-11-18 15:26:52 +01:00
Sam bfdaafeb0a refactor: extract Button to component, reformat all files with Prettier 2022-11-18 14:11:52 +01:00
Sam 1080d8a0cd fix: save discord ID in db, add HTTP status to new error codes 2022-11-18 02:26:40 +01:00
Sam 9a3c51459b feat: get signup via discord working 2022-11-18 02:17:27 +01:00
Sam 77dea0c5ed feat: start edit user page 2022-11-17 17:34:20 +01:00
Sam a67ecbf51d fix: fix discord login page 2022-11-17 17:33:59 +01:00
Sam ec980bc67f feat(frontend): member type 2022-10-27 17:11:10 +02:00
Sam f2a298da75 feat(frontend): support multiple avatar urls 2022-09-20 14:12:46 +02:00
Sam 220e8fa71d feat(frontend): add sentry 2022-09-16 10:20:09 +02:00
Sam 4a8e1bb54f feat(frontend): log in with Discord 2022-09-16 00:49:04 +02:00
Sam f53278be4c add favicon 2022-09-06 01:01:24 +02:00
Sam 36b7d26723 feat(frontend): add /u/[user] 2022-08-17 03:04:06 +02:00
Sam eec01dc070 feat(frontend): incomplete port to next.js 2022-08-16 00:01:54 +02:00
Sam e31f96110b feat: start making EditMe functional 2022-07-05 22:21:28 +02:00
Sam 0b2b0a1358 feat: bundle css with backend 2022-06-17 15:19:00 +02:00
Sam 6c9ebf1d08 feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
Sam 6e05d266a6 feat: working buttons in EditMe 2022-06-06 15:27:06 +02:00
Sam afb241232b fix: don't call /users/@me without token 2022-06-06 15:26:45 +02:00
Sam 8b31519952 feat(frontend): start edit page 2022-05-26 16:11:22 +02:00
Sam 6fdf23eb1a chore: update import url (sorry gitlab, codeberg is just better) 2022-05-14 16:52:08 +02:00
Sam ca2cf9e06f feat: add (non-working) edit page 2022-05-14 16:46:03 +02:00
Sam 15797b679c feat: add /users/@me endpoint, add edit button to profile page 2022-05-13 16:43:28 +02:00
Sam d2f4e09a01 feat: discord login works! 2022-05-12 16:41:32 +02:00
Sam 206feb21b8 feat: add working user page 2022-05-11 02:23:45 +02:00
Sam 7daac080f5 feat: improve navigation slightly 2022-05-10 22:24:20 +02:00
Sam 9c5a9a72d0 feat: frontend layout skeleton 2022-05-10 16:33:29 +02:00
Sam 2e4b8b9823 add recoil store 2022-05-05 16:33:44 +02:00
Sam 580449440a add frontend template + GET /users/{userRef} route 2022-05-04 16:27:16 +02:00