739 Commits

Author SHA1 Message Date
Adaline Simonian
9dff79140d
refactor: address review comments 2025-01-13 10:37:53 -08:00
Adaline Simonian
6827935244
Merge branch 'main' into complete-norwegian 2025-01-12 16:00:04 -08:00
Adaline Simonian
9de5bbdce4
feat: add nynorsk and complete/fix bokmål locale 2025-01-12 15:56:24 -08:00
Valentyne Stigloher
5b3bb04c6c (ts) migrate many components to composition API with typescript 2025-01-12 14:12:15 +01:00
Andrea Vos
ed73460849 fix cleanupImages - increase FRESH_CUTOFF 2025-01-03 17:31:23 +01:00
Andrea Vos
81f6fdf3c2 fix cleanupImages 2025-01-03 15:00:09 +01:00
Andrea Vos
0b11db32b6 fix cleanupImages 2025-01-03 14:42:30 +01:00
Andrea Vos
e20ad4bac8 (adit) cleanup audit log 2025-01-03 13:33:47 +01:00
Andrea Vos
ce833a1924 audit_log separation cleanup 2025-01-02 22:33:09 +01:00
Andrea Vos
25367f5af0 auditMigration – batch it up! 2025-01-02 21:31:14 +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
Andrea Vos
a3c2dbb0a7 oh linter… 2025-01-02 13:06:08 +01:00
Andrea Vos
23fc8e3bd9 CR improvements 2025-01-02 12:59:19 +01:00
Valentyne Stigloher
64735cac1b (admin)(blog) very simple post editor 2025-01-01 23:52:44 +01:00
Valentyne Stigloher
5c28fc7701 (ts) migrate /api/admin/moderation from express to h3 2025-01-01 23:52:44 +01:00
Valentyne Stigloher
9280d797ba (ts) migrate pages/admin/index.vue to composition API with typescript 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
c44b7fed3e typechecks 2024-12-31 19:59:56 +01:00
Andrea Vos
9bc8230d82 typechecks 2024-12-31 19:53:58 +01:00
Andrea Vos
7c49f14368 Merge branch 'refs/heads/main' into split-audit
# Conflicts:
#	pnpm-lock.yaml
2024-12-31 19:45:30 +01:00
Andrea Vos
af3ac179b3 (lint) 2024-12-31 19:36:03 +01:00
Andrea Vos
93b29abb30 (lint) 2024-12-31 19:26:36 +01:00
Andrea Vos
02faf1b4ec audit log migration – extra debug info 2024-12-31 17:20:17 +01:00
Andrea Vos
6d8dbbb617 fix types 2024-12-31 11:35:12 +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
db4f6b9e8b (lint) 2024-12-29 15:32:35 +01:00
Valentyne Stigloher
3c81de9c16 (dependencies) upgrade typescript to 5.7.2 2024-12-29 14:35:23 +01:00
Andrea Vos
a951b721f3 (lint) 2024-12-29 13:28:02 +01:00
Andrea Vos
a5951d4557 (security) prevent malicious subdomain attack when setting avatar 2024-12-29 13:20:52 +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
Andrea Vos
15b9f0225a (bug)(profile) timezone not set correctly when area&loc not published 2024-12-28 12:09:36 +01:00
Andrea Vos
f18630077c (bug)(security) validate avatarSource 2024-12-28 10:07:37 +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