Commit Graph

400 Commits

Author SHA1 Message Date
Sam 5c8c6eed63
feat: add prometheus metrics 2023-04-17 23:44:21 +02:00
Sam b4c331daa0
fix: fix tokens to expire after 3 months and always inherit admin perms from user 2023-04-17 23:43:04 +02:00
Sam e8f502073d
disable sentry for a bit; most errors are 404s anyway 2023-04-17 23:10:59 +02:00
Sam 7a550dc624
feat(frontend): expose user/member count 2023-04-17 16:43:06 +02:00
Sam 94cd4cd6d3
fix(backend): don't count deleted users + unlisted members in meta endpoint
This technically leaked the *existence* of these users and members,
but there's never been any way to enumerate users or unlisted members,
so this is unlikely to have *actually* leaked any information. Still,
for consistency's sake, this commit hides them from the user/member
count.
2023-04-17 16:33:05 +02:00
Sam ec6b048501
fix(frontend): fall back to full pronoun set if it's a malformed set 2023-04-17 16:22:45 +02:00
Sam 3ef4c715e7
fix(frontend): encode pronoun links 2023-04-17 16:16:32 +02:00
Sam 30c086f0f3
feat(frontend): add toast if avatar is too big 2023-04-13 23:34:19 +02:00
Sam a9463896d4
feat(backend): add cors 2023-04-13 23:33:48 +02:00
Sam 041913675b
fix: add noindex tag to user/member pages in addition to robots.txt 2023-04-08 14:48:03 +02:00
Sam 893244dc16
fix: fix internal server error in POST /members 2023-04-08 01:25:27 +02:00
Sam 62b9c1dbd6
feat(exporter): use indentation, export some new fields 2023-04-08 01:00:37 +02:00
Sam 97ffb2eab5
fix: check correct array for fields notice in edit member page 2023-04-08 00:29:56 +02:00
Sam 28db9acc81
feat: hide display text box by default 2023-04-07 23:41:49 +02:00
Sam b9f150f38f
fix: add aria-label to IconButton 2023-04-07 17:18:59 +02:00
Sam 5584d8c601
fix: wrap long member names on user page 2023-04-07 17:06:28 +02:00
Sam d17b43d2a7
chore: update backend dependencies 2023-04-04 04:11:03 +02:00
Sam 3e901ae10f
chore: update frontend dependencies 2023-04-04 03:48:39 +02:00
Sam 634530ba06
feat: add markdown help on edit page rather than linking out 2023-04-03 23:49:02 +02:00
Sam 033b9b5904
fix: fix some markdown rendering bugs (closes #46) 2023-04-03 23:32:34 +02:00
Sam 691711d542
fix: return u.ListPrivate in PATCH /users/@me response 2023-04-02 23:10:57 +02:00
Sam 5bdb25866c
feat: add hidden member list 2023-04-02 23:08:44 +02:00
Sam 8433a1523a
feat: count characters consistently 2023-04-02 22:50:22 +02:00
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 ff75075b81
feat: restrict certain endpoints from API tokens and/or read-only tokens 2023-03-30 16:58:35 +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 abc78f3a9a
feat(backend): change DELETE /auth/tokens to invalidate *all* tokens 2023-03-30 16:05:10 +02:00
Sam 92243d58ac
feat: accept short versions of traditional pronouns 2023-03-30 15:30:34 +02:00
Sam 0ce6453bf7
chore: remove lines left over from imagemagick 2023-03-30 15:19:44 +02:00
Sam ab39f64ad5
feat: switch to Go libraries for avatar conversion instead of ImageMagick 2023-03-30 14:44:32 +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 c98e4390b1
fix: validate WordStatus correctly, raise field entry length limit to 100 2023-03-30 00:15:21 +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 bca0404b71
fix: fix avatars losing transparency (closes #39) 2023-03-29 11:36:20 +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