11 Commits

Author SHA1 Message Date
Valentyne Stigloher
6dcb92bdd8 (nuxt) dynamically load calendar events 2025-02-15 14:27:00 +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
253e8700da (ts) migrate pages to composition API with typescript 2025-01-12 14:12:15 +01:00
Valentyne Stigloher
83103265a9 (ts) migrate <IconSelector> to composition API with typescript 2024-11-10 21:35:07 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
4e9cd69ff8 (vue) replace vuejs-datepicker with @vuepic/vue-datepicker 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
084df0fdf1 (vue) replace process.env.LOGO with raw import 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
e08e994d98 (ts) simplify tsconfig.json 2024-09-11 21:28:41 +02:00
Valentyne Stigloher
95c616d81c (test)(blog) validate resulting HTML to check for possible SSR errors 2024-08-21 11:30:31 +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
f6857f5c03 (refactor) move typings for dependencies to an own directory 2024-06-26 13:10:55 +02:00