13 Commits

Author SHA1 Message Date
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