31 Commits

Author SHA1 Message Date
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
beed980c7f (fmt) 2025-02-10 13:30:07 +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
e1ac9eb363 (calendar) make _law and _zaimki invertible so that it is more easily readable in dark mode (_black-ribbon tbd) 2025-01-20 11:50:11 +01:00
Valentyne Stigloher
5b3bb04c6c (ts) migrate many components to composition API with typescript 2025-01-12 14:12:15 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
e3c8519063 (ts) migrate calendar components to composition API with typescript 2024-10-17 17:03:27 +02:00
Andrea Vos
61feff7ac1 (profile) publish customEvent.comment 2024-10-15 21:29:25 +02:00
Valentyne Stigloher
590e770229 (profile) add icon to custom events 2024-10-12 16:29:03 +02:00
Valentyne Stigloher
7aaa57880d (nuxt) use name of routes / pages instead of building urls as this breaks sometimes when encodeURIComponent is used (and it’s shorter) 2024-09-20 22:53:57 +02:00
Valentyne Stigloher
58b36107ab (refactor) use fragments to reduce count of DOM elements 2024-09-12 14:39:31 +02:00
Valentyne Stigloher
8b58541079 (nuxt) replace process.env replacement with runtimeConfig.public 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
736ee49a3a (vue) define explicit emits on components
https://v3-migration.vuejs.org/breaking-changes/emits-option.html
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6090078689 (nuxt) use useConfig composable instead of $config global as this can only be controlled via runtimeConfig and is better protected than in Nuxt 2 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
75e76025eb (vue) migrate component from Vue.extend to defineComponent 2024-09-11 21:29:22 +02:00
Valentyne Stigloher
3996dd10b8 (ts) migrate calendar 2024-05-20 12:53:15 +02:00
Valentyne Stigloher
222adac64c (profile) fix invalid config access in <CalendarEvent> 2024-05-18 13:42:25 +02:00
Valentyne Stigloher
a065029cb5 (refactor) rename $config and $locale Vue globals to have a dollar sign per convention 2024-01-26 14:30:12 +01:00
PronounsPage
fa14ab79d9 (lint) automatically fix lints via yarn lint --fix 2024-01-11 20:36:05 +01:00
Andrea Vos
ea4998fdf0 Personal calendar in the card 2023-12-26 12:34:35 +00:00
Andrea Vos
1f4ffc4260 [calendar] make event list labels links 2023-05-31 10:50:30 +02:00
Andrea Vos
82d3ed822d fix minor issues 2023-03-05 12:18:44 +01:00
Andrea Vos
c61f2207d8 [trans][calendar] fix calendar not checking for fallback translation 2023-02-20 20:55:44 +01:00
Andrea Vos
1743eeddd7 [profile] extend custom flags with description, alt text, link 2023-02-04 11:41:26 +01:00
Andrea Vos
ac0851f676 [profile][calendar] start flags alt text 2023-01-30 22:37:24 +01:00
Andrea Vos
747074cdee [calendar] add nepali calendar 2022-06-23 13:15:22 +02:00
Andrea Vos
2746c0c32a #247 [calendar] ics - hide download button where unnecessary 2021-10-27 21:39:56 +02:00
Andrea Vos
2b8d6bcd53 #247 [calendar] ics - add all-time, just-one-event, add clipboard button 2021-10-27 21:00:45 +02:00
Andrea Vos
652fc7dd71 #270 [terminology] link to calendar 2021-10-15 18:50:21 +02:00
Andrea Vos
6bb45fd05f [names][calendar] #265 add calendar entries for namedays (disabled) 2021-09-25 16:25:40 +02:00
Andrea Vos
7afd2fe16b #250 [calendar] as image 2021-08-19 00:08:24 +02:00