Trek_CN/server/tests/unit
jubnl 819aa793ae
v3.1.4 (#1371)
* fix(backups): prevent recursion in path that is backed up

* fix(share): show user currency instead of the default euro in the share page

* fix(files): show descriptive error for unsupported upload type

Unsupported file uploads showed a generic 'Upload failed' toast even
though the server already returns a descriptive 400. The client catch
blocks discarded the error and always showed t('files.uploadError').

The server now emits the i18n key 'files.uploadErrorType' as its error
message; a new translateApiError() helper resolves a server message that
is a known translation key via t() and falls back to the generic key
otherwise. Wired into the three trip-file upload catch sites.

Closes #1363
2026-07-01 18:57:16 +02:00
..
db Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
mcp v3.1.1 bug fixes (#1228) 2026-06-18 20:13:30 +02:00
middleware Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
nest fix(files): reject cross-trip reservation/place/assignment links 2026-06-27 20:14:52 +02:00
services v3.1.4 (#1371) 2026-07-01 18:57:16 +02:00
systemNotices feat(system-notices): replace expiresAt with [minVersion, maxVersion) version gate 2026-04-17 20:03:23 +02:00
utils Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
idempotency-cleanup.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
scheduler.test.ts Bug fixes - April 27th 2026 (#907) 2026-04-28 05:17:20 +02:00
shared-contract.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00