Commit Graph

289 Commits

Author SHA1 Message Date
Sam 80ca1cae00
feat(frontend): also rework edit member page 2023-04-02 22:33:09 +02:00
Sam c4ba4ef3d3
feat(frontend): tweak warning for hidden member list 2023-04-02 02:12:07 +02:00
Sam 321bbe8499
feat(frontend): redesign edit profile page, add member list title + hide list options 2023-04-02 01:29:19 +02:00
Sam ef9b186e66
feat(backend): add unlisted members, private member list, custom members header 2023-04-01 17:20:59 +02:00
Sam ba48ba0eb2
feat: add names/pronouns/field entries on enter 2023-03-31 00:11:28 +02:00
Sam b1e267cb29
feat: differentiate okay/avoid preferences more 2023-03-30 23:10:13 +02:00
Sam 86f272a365
fix: redirect settings pages to login if the user is not logged in 2023-03-30 17:08:53 +02:00
Sam 2716471fa9
feat: add API tokens + force log out button 2023-03-30 16:50:30 +02:00
Sam 9c8b6a8f91
feat(!): return 204 instead of useless json responses, add fastFetch 2023-03-30 16:05:40 +02:00
Sam 92243d58ac
feat: accept short versions of traditional pronouns 2023-03-30 15:30:34 +02:00
Sam 65fa7f6d46
feat: add dev badge in navigation for local builds 2023-03-30 01:20:46 +02:00
Sam a49dd09013
feat: move toasts to top center to not obstruct menu 2023-03-30 00:31:23 +02:00
Sam 96376516b0
feat(!): use strings for WordStatus enum instead of ints 2023-03-29 23:59:51 +02:00
Sam 11ef4d548a
feat: use member's favourite pronouns in delete member modal 2023-03-29 12:30:51 +02:00
Sam 7764f0f80c
fix: don't use userStore in edit profile pages so they can be used after refresh 2023-03-29 12:30:10 +02:00
Jake ce214d2066
fix(frontend): correctly remove entries 2023-03-29 11:38:22 +02:00
Sam 7d25d12722
feat: validate names when *changing* them, too 2023-03-28 10:25:54 +02:00
Sam c60429d884
feat: redirect /[username] to /@[username] if no page matches 2023-03-28 10:02:20 +02:00
Sam 56c0d40a11
feat: add meta description to more pages 2023-03-28 00:52:44 +02:00
Sam 83c90248e4
fix: make profile links bigger tap targets 2023-03-27 23:46:06 +02:00
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