Trek_CN/server/src
jubnl 875c91e5ff
feat(places): unified file import modal with drag-and-drop and deduplication
- Replace separate GPX and KML/KMZ import buttons with a single "Import
  file" modal accepting all three formats, with a drag-and-drop drop zone
- Support dragging files directly onto the Places sidebar panel; overlay
  appears on hover and pre-loads the file into the modal on drop
- Fix [object Object] description bug in KML imports caused by
  fast-xml-parser returning mixed-content nodes as objects; add stopNodes
  config and object guard in asTrimmedString
- Fix CDATA sections leaking into descriptions (e.g. "text.]]>") by
  unwrapping CDATA markers before tag stripping
- Add import deduplication across all import paths (GPX, KML/KMZ, Google
  list, Naver list): reimporting skips places already in the trip by name
  (case-insensitive) or by coordinates (within ~11 m tolerance), with
  intra-batch dedup so duplicate placemarks within the same file are
  also collapsed
- Fix KML route returning 400 "No valid Placemarks found" when all
  placemarks were valid but deduplicated; 400 now only fires when the
  file contains zero placemarks
- Show a warning toast "All places were already in the trip" instead of
  a misleading success toast when a reimport produces zero new places
  (GPX, KML/KMZ, Google list, Naver list)
- Add 8 new i18n keys across all 14 locales; remove 11 keys made unused
  by the modal consolidation
2026-04-15 06:07:26 +02:00
..
db fix(naver-import): address PR #495 review issues 2026-04-15 04:48:39 +02:00
demo v2.6.2 — TREK Rebrand, OSM Enrichment, File Management, Hotel Bookings & Bug Fixes 2026-03-28 16:38:08 +01:00
mcp chore(mcp): raise default session and rate-limit caps 2026-04-11 02:29:11 +02:00
middleware feat(pwa): implement real offline mode with IndexedDB sync 2026-04-14 23:04:25 +02:00
routes feat(places): unified file import modal with drag-and-drop and deduplication 2026-04-15 06:07:26 +02:00
services feat(places): unified file import modal with drag-and-drop and deduplication 2026-04-15 06:07:26 +02:00
utils feat: enhance Synology Photos integration with OTP, SSL skip, and better UX 2026-04-11 18:25:42 +02:00
addons.ts feat(mcp): introduce OAuth 2.1 auth and enforce addon gating 2026-04-09 22:25:58 +02:00
app.ts fix(login): address review feedback on language dropdown PR 2026-04-15 03:04:25 +02:00
config.ts fix(login): address review feedback on language dropdown PR 2026-04-15 03:04:25 +02:00
index.ts feat(pwa): implement real offline mode with IndexedDB sync 2026-04-14 23:04:25 +02:00
scheduler.ts feat(pwa): implement real offline mode with IndexedDB sync 2026-04-14 23:04:25 +02:00
types.ts feat: unified photo provider abstraction layer (#584) 2026-04-13 20:08:31 +02:00
websocket.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00