Commit Graph

464 Commits

Author SHA1 Message Date
Sam 8bda5f9860 feat(frontend): show custom preferences 2023-04-20 07:33:02 +00:00
Sam 2c71741d7c feat(backend): add custom preferences 2023-04-20 07:33:01 +00:00
Sam e8ea642260 save frontend icons as ts instead 2023-04-20 07:33:01 +00:00
Sam 7ea5efae93 feat: start custom preferences on backend 2023-04-20 07:33:01 +00:00
Sam 86a1841f4f
fix(backend): don't use redis GETDEL 2023-04-20 01:30:33 +02:00
Sam 661f0254fd
fix: log user out if token is invalid (fixes #50) 2023-04-19 00:41:20 +02:00
Sam f5d7bc4095
feat: only show auth providers if they're enabled 2023-04-18 23:31:57 +02:00
Sam 17f2552c6a
Merge branch 'main' of codeberg.org:u1f320/pronouns.cc 2023-04-18 22:53:18 +02:00
Sam 488544dd5f
feat: add google oauth 2023-04-18 22:52:58 +02:00
Sam e6c7954a88
fix: add unlink tumblr modal 2023-04-18 22:44:37 +02:00
sam 8588da8b80 fix: switch arguments in UpdateFromTumblr 2023-04-18 15:48:09 +00:00
Sam 716c1283e7
feat: add tumblr oauth 2023-04-18 03:49:37 +02:00
Sam 6131884ba7
fix: reject instance domains with @ in them 2023-04-18 02:15:45 +02:00
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 2a4195ac03
start rust exporter 2023-04-09 23:27:40 +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