Valentyne Stigloher
323daf29b1
refactor: explicitely define LocaleCode (typescript can’t see through constructor values) and use it in more places
2025-09-13 20:21:06 +02:00
Valentyne Stigloher
5ac8e9e8ff
(fix) always import using .ts extension
2025-08-24 22:22:08 +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
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
Andrea Vos
7befac9df8
rename aws.ts
2025-08-04 19:04:14 +02:00
Benjamin
67d3d2fb78
make changes to public URLs
2025-06-25 13:54:58 -04:00
Benjamin
10674f9ff8
make needed migration changes
2025-06-25 13:43:11 -04:00
Valentyne Stigloher
a2e68f320c
(fix) another usage of useRuntimeConfig outside of Nitro
2025-03-15 16:30:26 +01:00
Valentyne Stigloher
47162ce7b7
(cards) fix usage of useRuntimeConfig outside of Nitro
2025-03-15 14:45:20 +01: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
68efcb7263
(nuxt) replace NUXT_PUBLIC_ALL_LOCALES_URLS with calculating it from locale and NUXT_PUBLIC_DOMAIN_BASE
2025-03-14 19:26:16 +01:00
Valentyne Stigloher
314c3553ad
(nuxt) rename env variables that fill nuxt runtime configuration to NUXT_* so that they can be passed at runtime
2025-02-15 14:27:01 +01:00
Adaline Simonian
23a3862ca0
test: introduce snapshot-based smoke tests
...
- Adds a new test suite with Docker-based smoke tests for all locales.
Can be run using the ./smoketest.sh script.
- Replaces all calls to Math.random() with a new helper that returns 0.5
in snapshot testing mode, ensuring deterministic snapshots.
- Similarly replaces all calls to new Date() and Date.now() with new
helpers that return a fixed date in snapshot testing mode.
- Replaces checks against NODE_ENV with APP_ENV, to ensure that the
bundles can be built with Nuxt for testing without losing code that
would otherwise be stripped out by production optimizations.
- Adds a database init script that can be used to initialize the
database with a single admin user and a long-lived JWT token for use
in automation tests.
- Adds a JWT decoding/encoding CLI tool for debugging JWTs.
Note: Snapshots are not checked in, and must be generated manually. See
test/__snapshots__/.gitignore for more information.
2025-02-02 23:11:19 -08:00
Valentyne Stigloher
73245a844f
(cards) process usernames with trailing dots (somehow some of them exist) correctly
2025-01-27 16:14:30 +01:00
Valentyne Stigloher
92c87a841d
(dependencies) upgrade pageres to 8.1.0
2024-11-17 23:06:17 +01:00
Valentyne Stigloher
590fafe6d1
(cards) automatically reconfigure target url dependending on dev or test environment
2024-11-17 15:44:14 +01:00
Valentyne Stigloher
3e5a0b12f2
(dependencies) replace jsonwebtoken with jose which does not need crypto polyfill
2024-11-10 21:59:56 +01:00
Andrea Vos
665e029392
(profile) visibility setting - CR
2024-11-09 09:34:08 +01:00
Andrea Vos
fcab355709
(profile) visibility setting - linter
2024-11-08 23:32:06 +01:00
Andrea Vos
e4267929ce
(profile) visibility setting - card generation
2024-11-08 23:20:03 +01:00
Valentyne Stigloher
b25afefc49
(fmt)
2024-10-29 10:56:32 +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