Valentyne Stigloher
cfa9aca170
(refactor) migrate /version from express to h3 and replace cache/version file with runtimeconfig / define
2025-03-23 11:44:39 +01:00
Valentyne Stigloher
6480e3e97e
(refactor) migrate /versions and /locales from express to h3
2025-03-23 11:44:39 +01:00
Valentyne Stigloher
4891ad3399
(search) add locales to search
2025-03-20 22:43:26 +01:00
Valentyne Stigloher
90a1572d6b
(search) fix some optional translations appearing in locales which don’t have them
2025-03-20 22:43:26 +01:00
Valentyne Stigloher
95c2ca0b7c
(nuxt) add env runtime config to redis keys to ensure that production and test environments are separated in redis
2025-03-20 10:14:36 +01:00
Valentyne Stigloher
8db436dab1
(nuxt) move storage config from nitro plugin into nuxt.config.ts because the workaround should be unnecessary after newest Nitro release
2025-03-19 14:29:40 +01:00
Valentyne Stigloher
546326fe6a
(nuxt) use redis to store sessions
2025-03-19 14:25:46 +01:00
Valentyne Stigloher
c7910e938e
(api) use filesystem-based storage instead of memory storage for sessions
...
the implementation is incomplete, e.g. it misses pruning old sessions, this is more meant as proof-of-concept
this should reenable the usage of multiple workers
2025-03-17 13:00:35 +01:00
Valentyne Stigloher
908d3e1518
(calendar) move miastamaszerujace in calendar/pl (must be present during build)
2025-03-17 12:18:02 +01:00
Valentyne Stigloher
bd6e26962f
(fix) banner retrieval needs locale
2025-03-16 15:22:04 +01:00
Valentyne Stigloher
c4de67e29b
(api) set db to null when closing it, hopefully fxing some database handle is closed errors or providing a better stack for others
2025-03-16 15:16:27 +01:00
Valentyne Stigloher
8807590ce7
(admin) feature to delete storage items
2025-03-16 15:13:20 +01:00
Valentyne Stigloher
6ea09dbb6e
(admin) display contents of storage items
2025-03-16 15:01:31 +01:00
Valentyne Stigloher
344876d87e
(admin) mount generated calendar images in storage so it shows up in storage view
2025-03-16 14:30:13 +01:00
Valentyne Stigloher
ad3a4879f1
(admin) calculate size from value if not present in meta, remove atime and mtime because not present for memory driver
2025-03-16 14:28:19 +01:00
Andrea Vos
7820291e10
lint
2025-03-16 13:11:03 +01:00
Andrea Vos
ba5728700d
Merge branch 'refs/heads/main' into fix-socials-p
2025-03-16 12:55:07 +01:00
Andrea Vos
a4f53c6e76
(bug) fix personal calendar links (earlier route catches it and thinks en-@andrea
is a locale)
2025-03-16 12:53:26 +01:00
Andrea Vos
b4eb230b3d
(auth) attempt to fix mastodon & indieauth
2025-03-16 12:28:01 +01:00
Valentyne Stigloher
a2e68f320c
(fix) another usage of useRuntimeConfig outside of Nitro
2025-03-15 16:30:26 +01:00
Valentyne Stigloher
47162ce7b7
(cards) fix usage of useRuntimeConfig outside of Nitro
2025-03-15 14:45:20 +01:00
Andrea Vos
9bc8614c28
cleanupAccounts: keep banned accounts for 2 weeks instead of 1 (more time to appeal seems needed)
2025-03-15 14:05:30 +01:00
Valentyne Stigloher
4f7ccab2c6
(nuxt) use --env-file to read .env before nitro reads process.env, make dotenv.ts an import with side effects that only sets additional variables
...
care must be taken because everything initialized later will not be picked up by Nitro useRuntimeConfig() without passing an event
2025-03-14 22:18:09 +01:00
Valentyne Stigloher
665dc296dd
(nuxt) dynamically import virtual module so that ~/server/data.ts can be imported in a script called with run-file
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
930fdef9b4
(refactor) common interface between loadSuml and loadTsv, bring them to the same file
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
763a1d2517
(sentry) change deployment information
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
56d60d1df8
(api)(nouns) support different locales in the same runtime
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
e902b22c3a
(api)(calendar) support different locales in the same runtime
2025-03-14 19:26:52 +01:00
Valentyne Stigloher
bd3cf9b2e7
(mailer) support different locales in the same runtime
2025-03-14 19:26:52 +01: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
68efcb7263
(nuxt) replace NUXT_PUBLIC_ALL_LOCALES_URLS with calculating it from locale and NUXT_PUBLIC_DOMAIN_BASE
2025-03-14 19:26:16 +01:00
Valentyne Stigloher
6f9f8fc6e0
(nuxt) detect locale from requested origin
2025-03-14 19:25:57 +01:00
Valentyne Stigloher
da2e37eb42
(api) support locale query parameter for choosing different locale
2025-03-14 19:25:57 +01:00
Valentyne Stigloher
56aa0b27a2
(server) remove global.config and global.translations and replace them by dynamic loading
2025-03-14 19:25:57 +01:00
Valentyne Stigloher
6edb822d9a
(refactor) inline /admin/all-locales route for better caching opportunities
2025-03-14 19:25:57 +01:00
Valentyne Stigloher
765d9a0c51
(dependencies) upgrade eslint to 9.22.0 and reconfigure @stylistic/generator-star-spacing to match prettier output
2025-03-14 18:47:32 +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
3b457ae676
(admin) storage inspector
2025-03-07 14:28:19 +01:00
Valentyne Stigloher
e2efc1b980
(banner) move calendar banner generation to /api/banner
2025-03-07 14:15:39 +01:00
Valentyne Stigloher
f120779899
(refactor) migrate /api/banner/** route from express to h3
2025-03-07 14:14:14 +01:00
Valentyne Stigloher
e0679941a6
(miscommit)
2025-02-23 16:00:30 +01:00
Valentyne Stigloher
cbcc1d1053
(dependencies) migrate code to canvas v3.1.0
...
- regular font must be specified by simply leaving out modifier, using regular in context.font does not work
- loading svg directly is no longer supported, have to load it via sharp
2025-02-23 14:04:37 +01:00
Valentyne Stigloher
317f2bc7e1
(nuxt) remount data storage as it is resolved to the build directory
2025-02-22 14:44:46 +01:00
Valentyne Stigloher
2d80b315dd
(nuxt) read public key at startup, not during build time
2025-02-15 14:27:01 +01:00
Valentyne Stigloher
71d87054b4
(ci) add build job
2025-02-15 14:27:01 +01:00
Valentyne Stigloher
314c3553ad
(nuxt) rename env variables that fill nuxt runtime configuration to NUXT_* so that they can be passed at runtime
2025-02-15 14:27:01 +01:00
Valentyne Stigloher
766281714d
(nuxt) change remaining references to ~/data in server
2025-02-15 14:27:00 +01:00
Valentyne Stigloher
6dcb92bdd8
(nuxt) dynamically load calendar events
2025-02-15 14:27:00 +01:00
Valentyne Stigloher
a9abe47aa7
(nuxt) load blog posts by env variable in server
2025-02-15 14:27:00 +01:00