Commit Graph

337 Commits

Author SHA1 Message Date
Sam e5ec3dcbeb
fix: don't show report button for own members 2023-04-26 09:19:58 +02:00
Sam 80a0257832
Merge pull request 'use npm package for self-hosting fonts' (#57) from lucrnz/pronouns.cc:fontsource into main 2023-04-25 00:55:31 +02:00
lucdev 15d2f4acba
delete download-fonts.sh 2023-04-24 14:03:57 -03:00
lucdev 181d33517e
use npm package to self-host fonts 2023-04-24 13:59:52 -03:00
Sam 95e7951c76
update changelog 2023-04-24 17:04:48 +02:00
Sam 6ae6ea5496
feat: add page buttons below member list too 2023-04-24 17:03:05 +02:00
Sam 6f7eb5eeee
feat: add captcha when signing up (closes #53) 2023-04-24 16:51:55 +02:00
Sam bb3d56f548
fix(frontend): fix save button not showing up when deleting custom preferences (fixes #55) 2023-04-23 23:06:53 +02:00
Sam 848d0787a5
feat(frontend): add move buttons to links (fixes #54) 2023-04-23 04:01:02 +02:00
Sam 21c1c5b0d9
feat(frontend): add "copy link" button to profiles 2023-04-22 15:04:38 +02:00
Sam e656316e19
feat(frontend): tweak member list rows 2023-04-22 04:40:45 +02:00
Sam 1dc4089cef
fix(frontend): use new but unsaved custom preferences on edit profile page 2023-04-21 16:50:27 +02:00
Sam bd279a7dae
fix(frontend): use 'treat as favourite' preferences as favourites in member list 2023-04-21 16:37:26 +02:00
Sam 5594463a09
fix(backend): use to-be-set custom preferences when validating fields, remove constants 2023-04-21 16:35:13 +02:00
Sam 6dd3478ff9
fix: abort if oauth user info is invalid 2023-04-21 00:07:02 +02:00
Sam 61b69d1026
feat: add changelog 2023-04-20 10:28:07 +02:00
Sam 75abe1a897
tweak wording 2023-04-20 10:27:57 +02:00
Sam 0a36fd5703
feat(frontend): add donate message to user settings page
Running a website is expensive :( and the existing link is a *little*
buried
2023-04-20 10:07:10 +02:00
sam 2a15c519f3 Merge pull request 'add custom name/label/pronoun preferences (closes #42)' (#51) from feature/custom-preferences into main
Reviewed-on: https://codeberg.org/u1f320/pronouns.cc/pulls/51
2023-04-20 07:33:23 +00:00
Sam 70b4417128 fix(frontend): fix eslint errors 2023-04-20 07:33:02 +00:00
Sam d691d4b151 feat(frontend): show favourite preferences in user and member page descriptions 2023-04-20 07:33:02 +00:00
Sam b4501f5ede fix(frontend): search icons by prefix, not contains 2023-04-20 07:33:02 +00:00
Sam cd8f165a17 fix(backend): check number of custom preferences in patch 2023-04-20 07:33:02 +00:00
Sam 9a80bb2e9b feat(frontend): allow editing + using custom preferences 2023-04-20 07:33:02 +00:00
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 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