48 Commits

Author SHA1 Message Date
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
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
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
2bafc81c3a (lint) activate import/consistent-type-specifier-style for consistency of import type 2025-05-19 20:20:31 +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
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
bdec6fa2b8 (refactor) migrate /api/nouns/** 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
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
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
Valentyne Stigloher
e00b8adc68 (nuxt) load pronoun data by env variable in server 2025-02-15 14:27:00 +01:00
Valentyne Stigloher
e1ac9eb363 (calendar) make _law and _zaimki invertible so that it is more easily readable in dark mode (_black-ribbon tbd) 2025-01-20 11:50:11 +01:00
Valentyne Stigloher
ea0c637001 (search) display icons instead of broken image for calendar events which have an icon 2025-01-20 11:24:56 +01:00
Valentyne Stigloher
3a2d04285c (nouns) add nonbinary column to generated images 2025-01-17 13:36:14 +01:00
Valentyne Stigloher
b5b793afe1 (search) search for all pronoun usages 2024-12-28 17:57:59 +01:00
Valentyne Stigloher
cf0acf7a8e (search) add search for api, terms, privacy and license 2024-12-28 17:17:45 +01:00
Valentyne Stigloher
b1fd9adadc (search) index some pages independently from links module 2024-12-28 15:20:25 +01:00
Valentyne Stigloher
e337e046a1 (search) hide spoiler content of sources 2024-12-28 00:29:13 +01:00
Valentyne Stigloher
9f5b83583d (search) add little reminder comments to keep search and <Header> in sync 2024-12-28 00:16:46 +01:00
Valentyne Stigloher
bceb2c261d (search) add search for page titles and sometimes contents 2024-12-28 00:16:46 +01:00
Valentyne Stigloher
6d66f56688 (search) validate that search queries are between 3 and 256 characters 2024-12-28 00:16:46 +01:00
Valentyne Stigloher
9318d64e44 (search) use debounce to prevent multiple requests while typing 2024-12-28 00:16:09 +01:00
Valentyne Stigloher
6a576b6c7a (search) use lookarounds to simulate word boundary which works for non-latin scripts 2024-12-28 00:16:09 +01:00
Valentyne Stigloher
1e9afe8ebb (search) cache indices and documents 2024-12-28 00:16:09 +01:00
Valentyne Stigloher
05ce86ef1a (search) limit results to 20 2024-12-28 00:05:25 +01:00
Valentyne Stigloher
dc98014744 (search)(calendar) add calendar for inclusive 2024-12-28 00:05:24 +01:00
Valentyne Stigloher
dfc524e888 (refactor) common SearchDocument type and <SearchItem> component for all search categories 2024-12-28 00:05:11 +01:00
Valentyne Stigloher
a12b14256d (search)(inclusive) add search for inclusive 2024-12-28 00:05:10 +01:00
Valentyne Stigloher
0257c55081 (search)(terms) add search for terms 2024-12-28 00:04:54 +01:00
Valentyne Stigloher
ce682f75f9 (search)(faq) add search for faqs 2024-12-28 00:04:32 +01:00
Valentyne Stigloher
a88807875d (search)(links) add search for links 2024-12-28 00:04:32 +01:00
Valentyne Stigloher
c9378e9659 (search)(sources) add search for sources 2024-12-28 00:04:32 +01:00
Valentyne Stigloher
09ac9782a1 (search)(nouns) add search for nouns 2024-12-28 00:04:32 +01:00
Valentyne Stigloher
7b27ed0ba7 (search)(pronouns) add search for canonical pronouns 2024-12-28 00:04:31 +01:00
Valentyne Stigloher
9d15cb1672 (search) highlight found search terms 2024-12-28 00:03:58 +01:00
Valentyne Stigloher
e8f5f22ba7 (search)(blog) add search for blog entries 2024-12-28 00:03:28 +01:00