Commit Graph

269 Commits

Author SHA1 Message Date
Sam 030ebfdb10
fix: appease pagespeed insights some more 2023-03-27 16:41:08 +02:00
Sam 32266cb014
fix: use name=description not property=description in meta tag 2023-03-27 16:21:07 +02:00
Sam bcdcb1e0d5
feat(frontend): appease pagespeed insights 2023-03-27 15:48:03 +02:00
Sam 4a17611766
feat(frontend): specify height as well as width for avatars 2023-03-27 15:40:23 +02:00
Sam 99ab8b6864
feat(frontend): self host fonts 2023-03-27 15:40:03 +02:00
Sam 80ac218376
feat(frontend): don't make link a link if it's not a link 2023-03-27 04:43:39 +02:00
Sam ed60340969
fix(frontend): clarify required format for fediverse instance domain 2023-03-27 04:37:32 +02:00
Sam 5be0b168c5
feat(frontend): validate username and member name client-side too 2023-03-27 01:23:04 +02:00
Sam 6532393578
feat: show prompt to fill profile/members if profile/member list is empty 2023-03-27 00:44:55 +02:00
Sam 256a14a922
feat: rel=me for profile links, don't show http:// prefix 2023-03-26 00:07:51 +01:00
Sam 0c187aaf84
feat(frontend): self host avatar placeholders 2023-03-25 22:14:04 +01:00
Sam 67dae103d8
fix(frontend): remove extra space in footer 2023-03-25 17:08:17 +01:00
Sam 8da83b3f8d
fix(frontend): don't show login button if user is logged in, redirect to profile on login 2023-03-25 17:07:11 +01:00
Sam 2cb735a0db
aaaa i messed up the terms link on the sign up page 2023-03-25 16:19:33 +01:00
Sam 75407827bc
feat: better but not perfect misskey auth support 2023-03-25 15:54:09 +01:00
Sam d9aa6e4fae
feat(frontend): add basic error pages (fixes #32) 2023-03-25 14:49:06 +01:00
Sam 987ff47704
feat: misskey oauth (fixes #26) 2023-03-25 03:27:40 +01:00
Sam ef6aa3ee5f
feat(frontend): actual front page 2023-03-25 03:02:44 +01:00
Sam 0ca31a3062
feat(frontend): add terms + privacy policy 2023-03-25 01:49:11 +01:00
Sam e264f44fcd
feat(frontend): add about page 2023-03-25 01:24:54 +01:00
Sam ee8fcecd85
feat(frontend): add about page 2023-03-25 01:24:05 +01:00
Sam c66db2bb6c
feat(frontend): use custom font 2023-03-25 01:23:11 +01:00
Sam 40fb2d5dd1
feat(frontend): always show footer at bottom of page 2023-03-24 01:25:29 +01:00
sam 19d88afc67 Merge branch 'main' into reports 2023-03-23 16:14:03 +00:00
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 d4a6a01fb1
fix: add notice to login page (fixes #27) 2023-03-23 11:57:00 +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 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