449 Commits

Author SHA1 Message Date
Andrea Vos
c3ed7427c9 replace ENV with NODE_ENV 2024-07-04 21:43:44 +02:00
Valentyne Stigloher
7de7f2eaef (pnpm)(ts) update typescript 2024-06-27 14:03:46 +02:00
Valentyne Stigloher
2ca51d9342 (api) remove isTroll check 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
a13201a666 (user) fix typo in variable name 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
215631f27f (profile) export markdown, events, and customEvents and fix flag export 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
1d5fa10cd7 (profile) properly enable check for files field 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
71335a0f15 (fix) remove unfetched and thus undefined user.username from auditLog payload 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
b31091f73d (fix) banner generation for any, null and mirror pronouns 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
b8ea0c8f54 (ts) use markdown-it in admin and add typings for it 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
39127c5943 (ts) convert server/routes 2024-06-26 13:59:53 +02:00
Valentyne Stigloher
61ecf5025d (ts) migrate 2024-06-26 13:57:06 +02:00
Benjamin
75bf4ac2d3
fix linting issue 2024-06-25 20:17:41 -04:00
Benjamin
e896fcf483
update error text 2024-06-25 16:59:41 -04:00
Benjamin
1b277468c1
remove unused normalize call, and reorganize 2024-06-25 16:27:14 -04:00
Benjamin
eb09bf88bf
Hotfix Discord Routes 2024-06-25 16:01:39 -04:00
Andrea Vos
dc737f950f (card) display last modification date - hotfix, lol 2024-06-19 21:04:47 +02:00
Andrea Vos
6c40986151 (card) display last modification date 2024-06-19 20:06:08 +02:00
Valentyne Stigloher
c8948bc078 (discord) add platform_username and isuser metadata for role-connection 2024-06-16 21:41:48 +02:00
Valentyne Stigloher
5ee23fb01d (discord) fix eagerly refreshing access token 2024-06-16 21:34:21 +02:00
Valentyne Stigloher
9b233bc216 (env) do not redirect to production when using social login 2024-06-16 10:50:13 +02:00
Valentyne Stigloher
5326c4ade5 (ts) convert server/routes/discord.ts and add some null checks 2024-06-15 21:15:17 +02:00
Andrea Vos
763ea98dec lint 2024-06-14 22:15:31 +02:00
Benjamin
bd291092f7
bugfix discord route 2024-06-14 15:48:09 -04:00
Andrea Vos
59d46662dd (bugfix) object passed to invalidateAuthenticator instead of its id 2024-06-14 20:54:38 +02:00
Andrea Vos
00fd9b03d4 (security) proxy favicons to prevent potential leakage of users' IPs 2024-06-14 18:46:23 +02:00
Valentyne Stigloher
e9eb9aa615 (refactor) use unified papaparse config across all points of parsing and add typing to two files
necessary for parsing single-column .tsv
2024-06-06 12:08:26 +02:00
Andrea Vos
dc43ce2b95 hotfix 2024-06-04 08:08:02 +02:00
Andrea Vos
63b62e0ef5 Merge branch 'benpai-community' into 'main'
Completely Mirror `*-users` for `*-community`

See merge request PronounsPage/PronounsPage!471
2024-06-03 19:14:35 +00:00
Andrea Vos
ebdd59f4d8 Merge branch 'admin-charts' into 'main'
improvements to admin charts

See merge request PronounsPage/PronounsPage!470
2024-06-03 18:57:02 +00:00
Benjamin
11e184604f
Mirror *-users 2024-06-03 14:40:34 -04:00
Valentyne Stigloher
7c25397a9f (admin) hopefully decrease peak memory usage of /admin/stats/user-charts/:locale by streaming rows 2024-06-03 19:39:39 +02:00
Andrea Vos
3b25710c01 (bug)(auth) pass token cross-domain when a logged-in user adds a new oauth account 2024-06-03 19:25:42 +02:00
Andrea Vos
ad8cad1ea7 (bug)(auth) invalidate older oauth authenticators when connecting a new one
it's possible to end up with multiple active authenticators from the same oauth provider, eg. if you have two discord accounts, first connected one and then another that has the same email as your PP account's primary email
2024-06-03 18:26:20 +02:00
Andrea Vos
1a73ddf760 Merge branch 'benjamin-perms' into 'main'
(admin) add community permission

See merge request PronounsPage/PronounsPage!468
2024-06-03 15:37:36 +00:00
Valentyne Stigloher
f8a0b70cd9 (fix) two null-safety issues 2024-06-01 14:36:14 +02:00
Benjamin
0022d7d0b0
(admin) add community permission 2024-05-31 13:06:42 -04:00
Benjamin
6b7f0e6324 Minor alterations to Admin systems and Discord Internals 2024-05-26 16:32:30 +00:00
Valentyne Stigloher
456ca7e126 (ar)(ko) fix banner font registration for banner 2024-05-24 23:24:43 +02:00
Valentyne Stigloher
153867d79d (pronouns) fix examples query parameter 2024-05-24 21:15:37 +02:00
Andrea Vos
8a8a410fc1 Merge branch 'benjamin-discord' into 'main'
change OAuth2 for Discord Routes

See merge request PronounsPage/PronounsPage!458
2024-05-23 18:28:19 +00:00
Andrea Vos
cbd466517b Merge branch 'admin-display-authenticators' into 'main'
(admin) display authenticators

See merge request PronounsPage/PronounsPage!460
2024-05-23 18:19:00 +00:00
Andrea Vos
9980a81a7a (lint) 2024-05-23 20:14:36 +02:00
Andrea Vos
899aac28ee CR & lint fixes 2024-05-23 20:10:55 +02:00
Andrea Vos
866a6b5923 (admin) display authenticators 2024-05-23 19:58:57 +02:00
Valentyne Stigloher
7982b31330 (calendar) fix .ics generation which sometimes fails due to number > string conversion in keys
introduced in 3996dd10b85bacb09ab2939c3ddb68c8c10377cd
2024-05-23 19:39:36 +02:00
Benjamin
a216cb73ee
change OAuth2 for Discord Routes 2024-05-22 20:16:32 -04:00
Benjamin
78c3da122a Discord Linked Roles 2024-05-22 19:28:45 +00:00
Andrea Vos
10b78bfa3e (pronouns)(ru) CR fixes 2024-05-22 08:18:36 +02:00
Andrea Vos
b0dfe62501 (pronouns)(ru) CR fixes 2024-05-22 08:16:29 +02:00
Andrea Vos
fe026d7ded (bugfix)(editor) birthday widget disabled wrong date range 2024-05-21 07:53:24 +02:00