Trek_CN/server
Julien G. 117942f45e
v3.0.21 Bug Fixes (#998)
* fix(journey): remove photo upload count limit and surface upload errors (#997)

Removes the arbitrary 10-file cap on journey entry photo uploads and 20-file
cap on gallery uploads. MulterErrors now return proper 4xx responses instead
of 500, and the client surfaces the server error message via toast rather than
silently trapping the user in the post editor overlay.

* fix(planner): remove correct assignment when place assigned to same day multiple times

When a place was assigned to the same day more than once, the "Remove from day"
button in PlaceInspector always deleted the first assignment (Array.find on
place.id) instead of the currently selected one. Now prefers selectedAssignmentId
when available.

Fixes #1005

* fix(map): enable 3D terrain for Mapbox outdoors style in trip planner

wantsTerrain() only matched satellite styles, so the outdoors-v12 style
was flat in the planner despite showing correct 3D terrain in the settings
preview. Added outdoors-v12 to the allowlist; marker drift is already
handled by syncMarkerAltitudes().

Fixes #1002

* fix(maps): send Referer header on Google API calls when APP_URL is set

Supports HTTP referrer restrictions on GCP API keys. Documents the
restriction types and photo troubleshooting steps in the wiki.
2026-05-16 00:53:02 +02:00
..
assets refactor: move airports.json out of server/data into server/assets 2026-04-18 02:02:09 +02:00
public v3.0.16 — bug fixes (#964) 2026-05-06 21:38:40 +02:00
scripts docs: add full wiki with 74 pages, assets, and CI workflow 2026-04-20 10:11:53 +02:00
src v3.0.21 Bug Fixes (#998) 2026-05-16 00:53:02 +02:00
tests security: login timing enumeration fix + dep CVE patches (v3.0.18) (#984) 2026-05-10 16:03:15 +02:00
.env.example fix: add APP_VERSION fallback and HOST bind address env var (#952 #953) (#955) 2026-05-04 14:21:55 +02:00
package-lock.json chore: bump version to 3.0.20 [skip ci] 2026-05-13 08:35:23 +00:00
package.json chore: bump version to 3.0.20 [skip ci] 2026-05-13 08:35:23 +00:00
reset-admin.js Stabilize core: better-sqlite3, versioned migrations, graceful shutdown 2026-03-22 17:52:24 +01:00
tsconfig.json v3.0.16 — bug fixes (#964) 2026-05-06 21:38:40 +02:00
vitest.config.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00