82 Commits

Author SHA1 Message Date
Benjamin
7dd8ec2cdd refactor(perms): Change to enum-based permission indexing 2025-08-25 16:04:33 -04:00
Andrea Vos
50ad926c3c (bug) fix fetchJson ~~ issue 2025-08-25 21:01:11 +02:00
Andrea Vos
1d8ea5979a (bug) fix fetchJson ~~ issue 2025-08-25 20:55:33 +02:00
Andrea Vos
d8724e713f (bug) fix fetchJson ~~ issue 2025-08-25 18:41:41 +02:00
Valentyne Stigloher
10180aa6a3 (refactor) use #shared alias instead of ~~/shared
the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
2025-08-17 18:56:02 +02:00
Valentyne Stigloher
a5491ece49 (nuxt) make shared/domain.ts without reference to useRuntimeConfig, which is different between app and server 2025-08-17 18:13:59 +02:00
Valentyne Stigloher
8e6f812a9a (nuxt) rename imports ~/locale, ~/public, ~/server, ~/test to resolve to root directory ~~ 2025-08-17 18:13:52 +02:00
Valentyne Stigloher
4568616359 (nuxt) rename src to shared to be consistent with nuxt default directory structure 2025-08-17 18:12:42 +02:00
Valentyne Stigloher
ce6849a17f (api)(nouns) add backwards compatibility on /api/nouns 2025-07-29 17:26:40 +02:00
Valentyne Stigloher
2d49b722c7 (nouns) resolve first declension in a consistent manner 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
301a496f30 (nouns) submit regular forms (only stems and class) and display them in the dictionary 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
23dcc1a454 (refactor)(nouns) use Numerus string union to simplify types 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
0b55a5480a (nouns) specify declension on individual words in dictionary 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
1e56d97f1f (nouns) specify convention on individual words in dictionary 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
bcbafb69b3 (refactor)(nouns) set optional declension per word, not per entry 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
6975c76005 (refactor)(nouns) combine gender + numerus properties into a nested object 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
c0b9843775 (refactor) parse nouns early in /api/nouns 2025-07-27 23:43:57 +02:00
Valentyne Stigloher
57f376e5ee (refactor) move /api/admin/authenticators/:id to own file and improve its typings 2025-07-04 17:29:52 +02:00
Valentyne Stigloher
1b52fa8ade (refactor) move /api/admin/list to own file and improve its typings 2025-07-04 17:29:52 +02:00
Benjamin
665e4c7123
(lint) linted files and converted some to TypeScript 2025-06-13 19:54:21 -04:00
Valentyne Stigloher
2bafc81c3a (lint) activate import/consistent-type-specifier-style for consistency of import type 2025-05-19 20:20:31 +02:00
Andrea Vos
9682965918 implement CR feedback 2025-05-03 18:11:56 +02:00
Valentyne Stigloher
c3818622d1 (refactor) make config.api optional and add enabled and route property to have it consistent with others 2025-04-28 11:41:41 +02:00
Valentyne Stigloher
c770365d63 (refactor) make ExamplePart[] a class to move methods there and rename old Example to PronounExample 2025-04-22 14:29:10 +02:00
Andrea Vos
589f547656 i'm so stupid 😅 2025-03-23 23:56:46 +01:00
Andrea Vos
951f9afac2 (api) heartbeat endpoint 2025-03-23 23:08:11 +01:00
Valentyne Stigloher
507b0658ca (api) return 404 on routes whose config module is disabled for the requested locale 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
0299dbec0e (refactor) migrate /api/names/** from express to h3 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
317758db01 (refactor) migrate /api/inclusive/** from express to h3 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
8fbb8f0bb9 (refactor) migrate /api/terms/** from express to h3 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
ad8ee97954 (refactor) migrate /api/sources/** from express to h3 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
b93ddf2f2b (refactor) migrate /api/pronouns/** from express to h3 2025-03-23 11:44:39 +01:00
Valentyne Stigloher
bdec6fa2b8 (refactor) migrate /api/nouns/** from express to h3 2025-03-23 11:44:39 +01:00
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
bd6e26962f (fix) banner retrieval needs locale 2025-03-16 15:22:04 +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
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
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
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
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
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