38 Commits

Author SHA1 Message Date
Valentyne Stigloher
54a57192b3 (nuxt) use new directory structure by moving many directories to app 2025-08-17 18:10:36 +02:00
Andrea Vos
a4d81e2916 (pl) caron spelling 2025-07-06 16:49:38 +02:00
Valentyne Stigloher
495300b8d4 (a11y) add simple skip link
https://accessible-vue.com/chapter/4/#skip-links
2025-05-19 20:27:26 +02: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
dd5a8f49b0 (nuxt) replace NUXT_PUBLIC_HOME_URL with calculating it from _ value of NUXT_PUBLIC_DOMAIN_BASE 2025-03-14 19:26:16 +01:00
Valentyne Stigloher
ad69eba5a6 (nuxt) migrate imports from @unhead/vue to #imports 2025-03-14 18:09:05 +01:00
Valentyne Stigloher
9e13955bfa (nuxt) dynamically load pronouns data 2025-02-15 14:27:00 +01:00
Valentyne Stigloher
41b4d6d668 (nuxt) dynamically load config.suml in router and plugin 2025-02-15 14:04:09 +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
0f45834648 (flags) fix declension translation in <FlagList> 2025-01-26 21:12:40 +01:00
Andrea Vos
032bef2705 lint + miscommit 2025-01-19 20:27:47 +01:00
Andrea Vos
2990abe59e (pronunciation) finish narakeet implementation 2025-01-19 20:14:51 +01:00
Andrea Vos
b0539286c7 fix CI 2025-01-18 15:03:11 +01:00
Andrea Vos
cde7eef6bb (hbs) poc transliteration 2025-01-14 23:12:27 +01:00
Valentyne Stigloher
253e8700da (ts) migrate pages to composition API with typescript 2025-01-12 14:12:15 +01:00
Valentyne Stigloher
4a7a736640 (ts) migrate several components to composition API with typescript 2025-01-11 15:48:43 +01:00
Valentyne Stigloher
bbfe946ac7 (refactor) migrate /blog routes from express to h3 2024-12-28 00:03:28 +01:00
Valentyne Stigloher
dd6a6bb5de (moderation) add moderation filters like unapproved, no key, no image, no category 2024-11-01 12:48:10 +01:00
Valentyne Stigloher
6ada0d267d (refactor) dynamic load <NounsNav> to prevent hydration errors on empty component 2024-10-31 10:44:08 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
8ed07f8802 (ts) migrate pages/pronouns/pronoun.vue to composition API with typescript 2024-10-17 16:43:47 +02:00
Andrea Vos
c41fdd3acc minor timezone fixes 2024-10-15 14:14:41 +02:00
Valentyne Stigloher
c171f1305b Merge branch '397-consistent-pronouns-short' into 'main'
more consistent display of pronouns across pronouns detail page, profile and foreign pronouns

Closes #397

See merge request PronounsPage/PronounsPage!521
2024-10-12 14:16:48 +00:00
Andrea Vos
10c6e24a4b (bugfix)(card) update linktree favicon 2024-10-12 12:50:54 +02:00
Valentyne Stigloher
ca224391a7 (pronouns) consistent display of shorts in profile and foreign pronoun badge 2024-10-01 16:22:42 +02:00
Valentyne Stigloher
146e062fdf (change) use query params instead of hash when filtering 2024-09-18 10:36:19 +02:00
Valentyne Stigloher
6134dfe9e2 unified and independent text and category filter for sources, nouns, terms and inclusive 2024-09-18 10:33:38 +02:00
Valentyne Stigloher
db8a6d21cf (nuxt) disable csrf
reverts commit 6825cf78217f14bb709a96b341d35514f1fbbcad.
2024-09-14 15:08:34 +02:00
Valentyne Stigloher
19a301cf90 (nuxt) only add ellipsis when word count is exceeded 2024-09-12 13:25:57 +02:00
Valentyne Stigloher
6ea377dded (profile) fix description and keywords in open graph preview 2024-09-12 13:21:22 +02:00
Valentyne Stigloher
114dcbf0ff (nuxt) use default seo values when a page does not override a value 2024-09-12 12:14:44 +02:00
Valentyne Stigloher
6825cf7821 (nuxt) replace @privyid/nuxt-csrf with nuxt-csurf 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8b58541079 (nuxt) replace process.env replacement with runtimeConfig.public 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6735f1f318 (vue) refactor DialogueBox interface to a composable and remove it from default.vue 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
f34ce40549 (nuxt) replace $cookies with useCookie 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
4d2d031bef (nuxt) replace head with useHead
https://nuxt.com/docs/migration/meta
2024-09-11 21:29:35 +02:00
Valentyne Stigloher
d059994863 (vue) convert vue mixins to composables 2024-09-11 21:29:35 +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