465 Commits

Author SHA1 Message Date
Andrea Vos
c92067b11c (bug) fix blog.atom 2025-09-09 14:22:06 +02:00
Valentyne Stigloher
10180aa6a3 (refactor) use #shared alias instead of ~~/shared
the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
2025-08-17 18:56:02 +02:00
Valentyne Stigloher
a5491ece49 (nuxt) make shared/domain.ts without reference to useRuntimeConfig, which is different between app and server 2025-08-17 18:13:59 +02:00
Valentyne Stigloher
8e6f812a9a (nuxt) rename imports ~/locale, ~/public, ~/server, ~/test to resolve to root directory ~~ 2025-08-17 18:13:52 +02:00
Valentyne Stigloher
4568616359 (nuxt) rename src to shared to be consistent with nuxt default directory structure 2025-08-17 18:12:42 +02:00
Valentyne Stigloher
8959e84889 (nuxt) replace NUXT_PUBLIC_BASE_URL with calculating it from NUXT_PUBLIC_DOMAIN_BASE 2025-03-14 19:26:51 +01:00
Valentyne Stigloher
56aa0b27a2 (server) remove global.config and global.translations and replace them by dynamic loading 2025-03-14 19:25:57 +01:00
Valentyne Stigloher
a9abe47aa7 (nuxt) load blog posts by env variable in server 2025-02-15 14:27:00 +01:00
Valentyne Stigloher
bbfe946ac7 (refactor) migrate /blog routes from express to h3 2024-12-28 00:03:28 +01:00
Valentyne Stigloher
065d944f65 (blog) make blog.atom a server route to exclude its dependencies from client bundle 2024-11-10 21:59:56 +01:00
Valentyne Stigloher
a99199f322 (nuxt) integrate express as server handler while preventing Nuxt from scanning server directory 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
348402b4a6 (nuxt) rename static directory to public 2024-09-11 21:29:22 +02:00
Valentyne Stigloher
9ce94f8383 (sentry) use tunnel to circumvent tracker blocking
see: https://docs.sentry.io/platforms/javascript/troubleshooting/, Dealing with Ad-Blockers
code inspired from: https://github.com/BLOCKMATERIAL/sentry-tunnel-using-node/blob/main/routes/tunnel.js
2024-08-27 10:41:11 +02:00
Andrea Vos
2533b97f6c (lint) 2024-08-10 16:40:16 +02:00
Andrea Vos
a67488473f (terms)(sources) add autocomplete & convention explanation for the key field 2024-08-10 16:36:55 +02:00
Valentyne Stigloher
b8c3a4a221 (blog) display just collective as author in case additional words follow it 2024-07-26 20:19:09 +02:00
Valentyne Stigloher
a2474c88ef (blog) add alt text and optional class names of hero image to /blog route 2024-07-18 13:17:07 +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