5966 Commits

Author SHA1 Message Date
Valentyne Stigloher
959efbe4eb (fix) dark mode on _ and cards 2024-04-08 18:43:49 +02:00
Valentyne Stigloher
f2fc402dac disable modern bundles because it is not worth the trade off of longer deployment times to user performance for now
reverts commit 84c42a02ca6fa213022150722dc3dad20201229c.
2024-04-08 16:41:18 +02:00
Valentyne Stigloher
dfde62ff37 Merge branch 'dark-mode-ssr' into 'main'
various nuxt improvements

See merge request PronounsPage/PronounsPage!436
2024-04-08 13:08:56 +00:00
Valentyne Stigloher
720d57bbe8 (cookies) add SameSite=Lax by default and upgrade some cookies in their length for consistency 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
84c42a02ca (nuxt) enable modern bundles to improve performance for browsers understanding ES modules 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
03058e3488 (nuxt) replace datetimepicker plugin with dynamic import to reduce initial bundle size 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
898b112772 (nuxt) use ClientOnly implicitely as it is automatically imported by Nuxt 2024-04-08 14:52:18 +02:00
Valentyne Stigloher
a805f20c4a (nuxt) use inject instead of of changing Vue prototype
according to https://v2.nuxt.com/docs/directory-structure/plugins#inject-in-root--context this could lead to a server-side memory leak
2024-04-08 14:52:18 +02:00
Valentyne Stigloher
02f7bdc3b1 (style) save effective darkMode to cookies to make it accessible in ssr 2024-04-08 14:52:16 +02:00
Valentyne Stigloher
11f253583b (refactor) remove process.client checks in mounted as it is not executed in ssr anyway 2024-04-08 14:29:24 +02:00
Valentyne Stigloher
7ab70a9bf4 Merge branch 'pnpm' into 'main'
pnpm

See merge request PronounsPage/PronounsPage!437
2024-04-08 12:28:54 +00:00
Valentyne Stigloher
c3246be4ee (pnpm) add run wrapper to ease access to correct node version from external contexts
nvm takes quite a long time so the file is accessed directly
2024-04-08 14:03:41 +02:00
Valentyne Stigloher
c07d6078c2 (pnpm) migrate from yarn to pnpm
pnpm has run-script as alias so that is not possible to use as a script name, renamed ours to run-file
shamefully-hoist is necessary for now for the resolve dependency
2024-04-08 14:03:41 +02:00
Valentyne Stigloher
9379056070 (dependencies) upgrade nuxt and vue to latest v2 version 2024-04-08 14:03:41 +02:00
Andrea Vos
768b27daf8 (blog)(pl) typo 2024-04-08 09:48:16 +02:00
Andrea Vos
9e46c72ac3 (perf) some low hanging fruit from https://kerkour.com/sqlite-for-servers to optimise sqlite for a web server 2024-04-07 15:26:17 +02:00
Valentyne Stigloher
df2d9a521d Merge branch 'upgrade-node' into 'main'
upgrade node to 18.20.1

See merge request PronounsPage/PronounsPage!438
2024-04-06 16:11:28 +00:00
Valentyne Stigloher
ca92aaf9ca (node) upgrade node to 18.20.1
ts-node needs to be configured differently to keep working, so run-script is used to abstract away the necessary arguments
2024-04-06 14:15:30 +02:00
Andrea Vos
da03612962 (pl)(links) leksykon PJM 2024-04-06 12:40:19 +02:00
Valentyne Stigloher
edb155ffbc (nuxt) watch data/config.suml to rebuild
probably due to a065029cb553226ba76c29f9b5131015925a40f6, config.suml is not detected as dependency by webpack,
but as nuxt.config.ts directly accesses the config, this is probably safer anyway
2024-04-02 23:38:10 +02:00
Valentyne Stigloher
1a5eb5b793 (de)(pronouns) add emoji and mirror pronouns, add route to null pronouns 2024-04-02 23:35:46 +02:00
Valentyne Stigloher
6a4d9895db (de)(nouns) typo 2024-04-02 18:09:00 +02:00
Valentyne Stigloher
115c8e8e00 (lint) fix warnings in IDEs complaining that they cannot find a relative tsconfig.json
apparently, they need tsconfigRootDir, which requires a js config (sadly, no ts is available and esm can only be used for the new config format)
2024-04-02 17:51:14 +02:00
Valentyne Stigloher
c13b77aeb4 (de)(trans) 2024-04-02 17:34:45 +02:00
Valentyne Stigloher
2f4f041ee5 (polyfill) stub implementation for BroadcastChannel for browsers without support 2024-04-02 09:38:22 +02:00
Valentyne Stigloher
aaa8910462 (git) add .git-blame-ignore-rves to ignore large formatting commits from git blame 2024-04-02 09:37:37 +02:00
Andrea Vos
fcffe1d49e (pl)(blog)(links) pomiędzy 2024-04-01 16:27:59 +02:00
Andrea Vos
8752578773 (account) better UI for changing avatars (many people cannot find it) 2024-04-01 13:54:59 +02:00
Andrea Vos
80b88e7db8 (pl)(blog) prekonsultacje - postulaty 2024-03-31 10:46:48 +02:00
Andrea Vos
587e63474a (profile) increase max opinions length to 10 2024-03-28 17:16:03 +01:00
Andrea Vos
c59cc37f9c Merge branch 'esc-komentarz' 2024-03-28 17:14:13 +01:00
Andrea Vos
aa22725d4d (pl)(blog) komentarz nt eurowizji - poprawki 2024-03-28 17:13:47 +01:00
Valentyne Stigloher
3321f31917 Merge branch 'aws-v3-migration' into 'main'
aws v3 migration

See merge request PronounsPage/PronounsPage!434
2024-03-28 13:23:03 +00:00
Valentyne Stigloher
ecac8c5e71 (nuxt) typo missing newline 2024-03-28 13:56:07 +01:00
Valentyne Stigloher
c1057ef8a0 (ts) reference aws polly types in pronunciation voice config 2024-03-28 13:56:07 +01:00
Valentyne Stigloher
9b6bff27f3 (aws) migrate to v3
payloads are now streamed, which is a bit cumbersome with express,
but according to https://stackoverflow.com/questions/76142043/getting-a-readable-from-getobject-in-aws-s3-sdk-v3
it is safe to cast to a NodeJsClient
2024-03-28 13:56:07 +01:00
Valentyne Stigloher
9434b9b5e4 (ts) convert usage of aws to TypeScript
params at client creation cannot be type checked, Bucket was explicitely added to each call
2024-03-28 13:56:07 +01:00
Andrea Vos
98bca60a20 (pl)(blog) komentarz nt eurowizji 2024-03-28 08:59:26 +01:00
Andrea Vos
84433aca02 (pl)(blog) komentarz nt eurowizji 2024-03-28 08:37:28 +01:00
Andrea Vos
b3ffcf3519 re-enable no-ssr 2024-03-26 00:15:50 +01:00
Andrea Vos
ae1b045e10 [Tomasz & Tess] (pl)(blog) disclaimer do eurowizji 2024-03-25 21:12:58 +01:00
Valentyne Stigloher
9768c34d24 (ide) add .ts files to ESLint (why does everything have to be configured multiple times in different places?) 2024-03-23 13:36:34 +01:00
Valentyne Stigloher
5e1c0aa063 (de)(pronouns) typos 2024-03-22 14:11:15 +01:00
Valentyne Stigloher
5439618182 (de)(pronouns) fix pronunciation on sier and xier 2024-03-22 14:09:03 +01:00
Andrea Vos
18e9741e90 linter 2024-03-22 08:52:44 +01:00
Andrea Vos
bd07ed92d4 æxperiment with disabling no-ssr, see it the server gets a performance hit 2024-03-22 08:37:21 +01:00
Andrea Vos
242719e446 æxperiment with disabling no-ssr, see it the server gets a performance hit 2024-03-22 08:32:09 +01:00
Andrea Vos
d76a657d2d (blog) support og:image from different domain 2024-03-22 00:12:43 +01:00
Andrea Vos
614773630e (pl)(en)(blog) civil unions bill 2024-03-21 23:53:40 +01:00
Andrea Vos
feab4a09cd Merge remote-tracking branch 'origin/main' 2024-03-21 23:53:25 +01:00