6090 Commits

Author SHA1 Message Date
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
68d4470ee7 (pl)(census) sprinkle stats all over the page 2024-04-06 13:33:09 +02:00
Andrea Vos
b6eea2b571 (pl)(census) sprinkle stats all over the page 2024-04-06 13:07:20 +02:00
Andrea Vos
da03612962 (pl)(links) leksykon PJM 2024-04-06 12:40:19 +02:00
Andrea Vos
ec584c6a2b (pl)(census) sprinkle stats all over the page 2024-04-06 12:25:24 +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
a91afdb121 (pl)(census) almost final touches 2024-04-01 19:02:17 +02:00
Andrea Vos
94bc3a6bc3 Merge branch 'main' into spis-2024-raport 2024-04-01 17:08:58 +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
Andrea Vos
77b34346e8 (pl)(census) tranzycja, ogólne wnioski 2024-03-25 20:56:45 +01:00
Andrea Vos
498b312827 (pl)(census) tranzycja 2024-03-25 00:30:07 +01:00
Andrea Vos
0df46dd7e2 (pl)(census) tranzycja (technical) 2024-03-24 23:00:41 +01:00
Andrea Vos
2ca4ac476e (pl)(census) tranzycja (technical) 2024-03-24 22:27:57 +01:00
Andrea Vos
2de1afa741 (pl)(census) WIP Tess 2024-03-24 09:43:05 +01:00