27 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
7b361372e3 (fix)(admin) /set-notification-frequency was broken due to strings being passed 2025-08-23 15:20:05 +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
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
72a58accc2 (lint) 2025-07-07 18:29:14 +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
1570f340ba
make some changes 2025-06-19 13:37:21 -04:00
Benjamin
665e4c7123
(lint) linted files and converted some to TypeScript 2025-06-13 19:54:21 -04:00
Andrea Vos
8f74d83a43 add role "external" (only timesheets) and unit tests for isGranted logic 2025-05-03 15:48:47 +02:00
Valentyne Stigloher
bd3cf9b2e7 (mailer) support different locales in the same runtime 2025-03-14 19:26:52 +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
adf85b28dd (ts) migrate <ServerTable> to composition API with typescript 2025-01-27 19:24:59 +01:00
Valentyne Stigloher
9335a1bd48 Merge branch 'admin-blog-preview' into 'main'
admin blog preview

See merge request PronounsPage/PronounsPage!548
2025-01-02 13:27:45 +00:00
Valentyne Stigloher
5c28fc7701 (ts) migrate /api/admin/moderation from express to h3 2025-01-01 23:52:44 +01:00
Valentyne Stigloher
4367e0f054 (ts) migrate /api/admin/all-locales from express to h3 2025-01-01 23:52:44 +01:00
Valentyne Stigloher
2369ce1057 (ts) migrate /api/admin/stats and /api/admin/stats-public from express to h3, improving their types 2025-01-01 23:52:44 +01:00
Andrea Vos
1055e3b5bd split audit log into a separate database and compress payload 2024-12-31 11:17:37 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
5dc747c96e Merge branch 'caches' into 'main'
use `defineCachedFunction` from Nitro as cache

See merge request PronounsPage/PronounsPage!532
2024-10-27 10:08:16 +00:00
Valentyne Stigloher
904dd92d6f (admin) check for global *-users or *-community roles when accessing /api/admin/users 2024-10-19 17:20:31 +02:00
Valentyne Stigloher
c1e6450f8a (api) use defineCachedFunction which properly handles concurrent generation 2024-10-18 18:30:01 +02:00
Andrea Vos
f795186d81 (admin) expenses info 2024-09-23 20:52:47 +02:00
Andrea Vos
bcfa7307d4 make audit log bidirectional (eg. mod banning a user should show up in both mod's and user's log) 2024-09-22 15:54:05 +00:00
Valentyne Stigloher
71a562bba9 (nuxt) do not use import.meta.url directly to reference other files as this breaks in Nitro, use current working directory as convention 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
a99199f322 (nuxt) integrate express as server handler while preventing Nuxt from scanning server directory 2024-09-11 21:29:35 +02:00