36 Commits

Author SHA1 Message Date
Andrea Vos
8597f05ca8 another ads experiment 2025-02-06 21:06:22 +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
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
1f953117fa (refactor) migrate from vuex to pinia 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
Andrea Vos
cf6ab6ae16 fewer internal banners 2024-06-22 09:03:26 +02:00
Andrea Vos
e7d1eceffb merch internal banner 2024-05-15 20:46:16 +02:00
Andrea Vos
27f0c67c3e (workshops) add banners 2024-04-25 18:53:49 +02:00
Valentyne Stigloher
11f253583b (refactor) remove process.client checks in mounted as it is not executed in ssr anyway 2024-04-08 14:29:24 +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
Andrea Vos
731feaf711 (bug) fix publift call 2024-01-18 19:29:01 +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
742fc10a5c fix minor issues to clean up js/node logs 2023-11-02 08:27:06 +01:00
Andrea Vos
162d4b3a5c (ads) fix missing queue/registerZone 2023-09-28 17:41:32 +02:00
Andrea Vos
6a23eafd7d (ads)(WIP) publift 2023-09-15 11:31:02 +02:00
Andrea Vos
ad24131560 (ads)(WIP) publift 2023-09-15 11:28:27 +02:00
Andrea Vos
7b819b2cf2 (ads)(WIP) publift 2023-09-13 17:54:28 +02:00
Andrea Vos
1b8dc48915 (ads)(WIP) publift 2023-09-13 17:33:26 +02:00
Andrea Vos
4dde0080cd (ads)(WIP) publift 2023-09-13 17:28:00 +02:00
Andrea Vos
4f3a2739cf test newor video slot again 2023-08-19 19:52:32 +02:00
Andrea Vos
63a5cd9ab9 (bug) fix issues with sources (filtering, images) 2023-08-04 17:21:31 +02:00
Andrea Vos
04ad5ea003 Merge (ads) newor 2023-07-27 19:55:06 +02:00
Andrea Vos
e4832e3a97 [ads] reduce number of ads, add support for direct banners 2023-06-07 17:59:21 +02:00
Andrea Vos
6ed1a3bf8f [ads] fixes 2023-02-20 21:55:29 +01:00
Andrea Vos
6a5e18ce68 [ads] fixes 2023-02-20 21:51:41 +01:00
Andrea Vos
515d2ebbd5 [ads] move label up (bottoms of ads have some unexpected margins) 2023-02-20 21:43:55 +01:00
Andrea Vos
6657f04866 [ads] add better padding and labels 2023-02-20 21:40:39 +01:00
Andrea Vos
7ca477d0e8 [ads] add better padding and labels 2023-02-20 21:38:29 +01:00
Andrea Vos
652d99953a [ads] experiment 2023-02-15 19:28:52 +01:00
Andrea Vos
8b83792ddd fix adsense units 2023-01-03 14:55:48 +01:00
Andrea Vos
11b79d08c7 [ads] switch to adsense 2022-12-29 15:36:18 +01:00
Andrea Vos
4c99bca746 [ads] toggle placeholder visibility 2022-09-03 10:52:52 +02:00
Andrea Vos
00b6b3452d [ads] 2022-09-02 21:17:02 +02:00