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
cec15d7c77
(calendar) move calendar banner generation back to script (too slow as JIT-API), add locale to url to future-proof for single instance
2025-03-08 19:09:33 +01:00
Valentyne Stigloher
e2efc1b980
(banner) move calendar banner generation to /api/banner
2025-03-07 14:15:39 +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
374f8b8120
(ts) migrate remaining .js files in ~/src to typescript
2025-01-11 15:48:43 +01:00
Andrea Vos
a500cf6481
fix bluesky bot link
2024-12-01 12:31:23 +01:00
Valentyne Stigloher
b25afefc49
(fmt)
2024-10-29 10:56:32 +01: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
8b58541079
(nuxt) replace process.env replacement with runtimeConfig.public
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
7ce1bb0e83
(ts) convert a lot to TypeScript
...
Co-authored-by: Sky <msurvival65@gmail.com>
Co-authored-by: tecc <tecc@tecc.me>
2024-02-23 17:48:16 +01: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
Valentyne Stigloher
8e1a40d74f
(lint) add .js extension on imports in .vue
2024-01-11 20:33:04 +01:00
Andrea Vos
ea4998fdf0
Personal calendar in the card
2023-12-26 12:34:35 +00:00
Andrea Vos
3f732fc772
(calendar) clean version, only first day of long events
2023-07-11 21:47:54 +02:00
Andrea Vos
a734604fec
[pl][calendar] add miastamaszerujace.pl as a source
2023-05-31 12:53:56 +02:00
Andrea Vos
c35b2c4344
[social] add mastodon
2021-12-16 19:10:34 +01:00
Andrea Vos
d62f48fe01
[calendar] fix translation
2021-12-04 00:46:14 +01:00
Andrea Vos
53eeb2578d
[calendar] view switch
2021-12-04 00:04:07 +01:00
Andrea Vos
8aed61b419
allow configurable colons
2021-12-02 18:16:25 +01: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
4813f3af67
#247 [calendar] ics
2021-10-26 23:09:02 +02:00
Andrea Vos
f24191803b
[calendar] make calendarDay point to calendar more
2021-10-06 17:18:52 +02:00
Andrea Vos
cff069c0ca
#266 [calendar] generate banners
2021-10-04 00:19:23 +02:00
Andrea Vos
b2a436160b
#266 [calendar] multiple years, day view
2021-10-03 16:39:54 +02:00