Commit Graph

6036 Commits

Author SHA1 Message Date
Maurice 4ad926aafc fix(ci): give typed server lint more heap and patch audited dependencies
Keep the typed lint rules and ratchet intact after the 8 GiB heap was exhausted on the runner. Resolve the patched Hono adapter and cross-spawn within their existing major versions.
2026-12-01 15:21:50 +01:00
Maurice 60a30afb81 fix(deps): narrow Lucide icon types and lower the lint baseline
Keep the typed icon lookup aligned with the runtime namespace and record the three removed test assertions.
2026-12-01 13:51:32 +01:00
Maurice b77c246df4 fix(deps): keep Lucide SVG markup and Undici tests compatible
Build standalone SVG icons without a React context. Use accessible actions in tests and give the mocked dispatchers the interface the adapter expects.
2026-12-01 13:44:02 +01:00
Maurice 7f4ece2e6f chore(deps): update npm packages and adapt major upgrades
Resolve the MikroORM packages together and use the dispatcher adapter with older built-in fetch implementations. Preserve existing Lucide names and regenerate the Studio and SDK catalogs.
2026-12-01 13:32:28 +01:00
Maurice a14b6a61e6 chore(server): remove resolved plugin type errors from the baseline 2026-12-01 12:29:34 +01:00
Maurice 871135edeb refactor(plugins): generate SDK egress policy from the server 2026-12-01 12:24:32 +01:00
Maurice c22c464e68 fix: keep security checks in sync with their contracts
Mirror the egress policy in the standalone SDK and check its entire shared section. Keep entrypoint assertions aligned with the debug flag and document the mutually exclusive OIDC transactions.
2026-12-01 12:04:55 +01:00
Maurice 3c2dc51439 fix(plugins): validate stable egress options
Keep egress comparisons independent of mutable runtime methods and pass the same normalized options to validation and the socket. Restrict process signaling from plugin workers and disable signal-initiated debugging on standard server starts.
2026-12-01 11:56:24 +01:00
Maurice 28eea68559 fix(media): bound image work before public rendition
Check avatar uploads and raster fallbacks before decoding. Limit compressed bytes, decoded dimensions, GIF frames and the combined TIFF page budget.
2026-12-01 11:56:24 +01:00
Maurice 1ff8a814ae fix(oidc): verify mailbox identity before linking accounts
Preserve the provider mailbox on new accounts. For existing accounts, use the stored issuer and subject or check mailbox identity before linking. Keep the candidate lookup and identity update inside the same transaction.
2026-12-01 11:56:24 +01:00
Maurice 0d521f0930 test(transit): cover long labels in both journey details
Exercise a line with a provider colour and no foreground override on desktop and phone. Confirm that the badge can wrap and leaves room for the rest of the itinerary.
2026-12-01 11:42:31 +01:00
Maurice 7fc011408a test(transit): find mode icons on the line badge
The search test must look for the icon beside the label inside the shared badge.
2026-12-01 11:28:14 +01:00
Maurice 8f20f9f7ea test(transit): check the rendered line badge colours
The booking test checked the nested label after the badge layout changed. Assert the provider colours on the outer badge that sets them.
2026-12-01 11:21:52 +01:00
Maurice 67b65a7647 fix(transit): keep stop names readable beside long route names
Line badges could take the width of a transit row and squeeze its stops. Bound badge width across the itinerary views, wrap full labels in details, and keep compact summaries within their container.

Closes #3287
2026-12-01 11:11:53 +01:00
Luffy 82b2a530f3 fix(places): add titles to Unsplash list cover thumbnails 2026-12-01 15:31:01 +08:00
Maurice 76a3983972 Merge pull request #3284 from liketrek/fix/cloud-store-catalog
fix(native): offer Start and Plus in the TREK Cloud catalog
2026-12-01 01:04:29 +01:00
Maurice e605d0bcab test(config): cover managed assistant boot validation
Cover the gateway tuple, HTTPS restrictions, and credential redaction. Mask the configured URL on schema failures because malformed URLs can contain credentials.
2026-12-01 00:52:42 +01:00
Maurice 311321dc15 style(assistant): format the status selector 2026-12-01 00:50:29 +01:00
Maurice f511fe4fcf fix(assistant): preserve managed status gating
Only request managed status for the assistant addon. Cover the configured attachment path and keep operator-only gateway configuration out of the self-hosted environment reference.
2026-12-01 00:40:57 +01:00
Maurice 00e98b8711 feat(assistant): support the managed TREK gateway 2026-12-01 00:27:09 +01:00
Maurice fa23f94ee8 fix(native): show individual Cloud plan features 2026-12-01 00:27:09 +01:00
Maurice 6c45d16cba fix(native): retain the selected storefront offer during account checks 2026-12-01 00:27:09 +01:00
Maurice 857ce49962 fix(native): offer Start and Plus in the TREK Cloud catalog
Use storefront prices for purchases and allow existing subscribers to finish setup for retired products. Show the storage fair use policy and update the store descriptions for managed TREK.
2026-12-01 00:27:09 +01:00
Maurice f7847bf22c test(auth): check resolved passkey configuration before use
The Server lint warning ratchet rejected three non-null assertions. Check that the configuration exists before using it, and cover missing and out-of-scope origins.
2026-12-01 00:08:42 +01:00
Maurice d5a3404c47 fix(auth): bind derived passkey origins to the configured host 2026-12-01 00:02:04 +01:00
Maurice 75cc0a4de2 fix(plugins): restrict child runtime modules
Plugins access their storage through the scoped database API.
2026-12-01 00:00:32 +01:00
Maurice c0b28dd4da fix(auth): honor password registration policy during setup
Apply the resolved authentication toggles before creating a password account. Keep setup and invitations available when password sign-in permits them.
2026-12-01 00:00:31 +01:00
Maurice 4d3f7fd355 fix(memories): scope album link cleanup to its owner
Confirm trip access and the scoped album link inside the transaction before handling related photos. Treat a missing link as a completed removal.
2026-12-01 00:00:31 +01:00
Maurice 8335ac45f9 fix(ci): keep the photo picker within lint limits
Pass through the optional sheet coverage state and narrow the pending photo group before accessing it. Lower the test ratchet after removing a non-null assertion.
2026-11-30 23:13:53 +01:00
Maurice 114086f6e2 fix(mail-ingest): keep flight-like IDs from overriding bookings
Recognize compound booking references separately from flight numbers. Require flight evidence before overriding named lodging or restaurant types so a local mail reader keeps the intended schema.

Closes #3271
2026-11-30 22:53:21 +01:00
Maurice 714fc6beaf fix(journey): give the entry photo picker its own dialog
The entry editor capped the provider picker in a small panel, so filters and competing footers displaced the photo grid. Open the picker over the editor at the available height on desktop and at full screen on mobile. Keep queued photos and draft edits in the editor until it is saved.

Closes #3266
2026-11-30 22:53:21 +01:00
Maurice 8fc7745d59 fix(studio): paginate PDF exports at full sheet size
Remove the app scroll bounds from the print layout so every sheet paginates. Contain each sheet so clipped spreads cannot alter its printed scale.

Closes #3275
2026-11-30 22:53:21 +01:00
Maurice f6437d12cb fix(maps): keep residential listings out of sights
The Overture historic-site category includes residential listings. Omit those listings from sights while preserving explicitly historic places and the existing provider fallback.

Closes #3270
2026-11-30 22:53:20 +01:00
Maurice d0cf936bf6 fix(roadtrip): match cross-day returns to their rental
Keep located waypoints when the return desk is missing and assign them unique IDs. Join separate days only for the same hire car in both the planner and server. Keep the existing public terminal roles.
2026-11-30 22:27:20 +01:00
Philipp 7de6bc39cd fix(roadtrip): also take intermediate stops into account
A booking's intermediate stops are now part of the route drawn on the map, and
they show up in the day list under their place name. They no longer need the
pickup and return times to be filled in.

Roadtrips that span several days work properly too. A car picked up on one day and
returned on the next showed both days as empty, and only the first half of the
drive was drawn.
2026-11-30 22:27:20 +01:00
Luffy aa54643713 fix(trips): add titles to Unsplash search thumbnails 2026-11-30 21:59:16 +01:00
Maurice 126dbc4281 fix(ci): align journey gallery callback and theme ratchet
The gallery refresh is intentionally not awaited. Count one fewer raw text size after the gallery buttons start sharing the same style.
2026-11-30 21:58:01 +01:00
Maurice c05a8a299c fix(journey): refine dialog and gallery controls 2026-11-30 21:11:38 +01:00
Maurice 7765c94171 fix(journey): address reliability findings in sharing and Studio 2026-11-30 18:04:27 +01:00
Maurice 5e1bc7d910 fix(ci): check digest recipient IDs and unused translations accurately 2026-11-30 17:51:32 +01:00
Maurice 21391e483d fix(ci): resolve Journey strict checks and test contexts
Give the upload DTO an object for file-only requests, make UI error keys discoverable, and run the digest fixtures with the same ORM context as scheduled jobs.
2026-11-30 17:41:53 +01:00
Maurice 0c08a6dcb9 fix(ci): repair Journey route registration and shared client behavior
Register the public view route, align generated entities and test fixtures, and share the scoped reads and access switches. Keep gallery and notification writes in order, and submit the email subscription from the dialog footer.
2026-11-30 17:32:50 +01:00
Maurice 6d14eb6677 perf(journey): reuse time zone lookups when grouping large galleries 2026-11-30 17:10:09 +01:00
Maurice 8319554ce7 test(journey): cover public unlock and subscription screens 2026-11-30 17:08:34 +01:00
Maurice f848446131 fix(journey): handle large photo selections within the API limits
Allow larger JSON bodies on the draft-creation route, split oversized photo groups, and use the original geotagged times to assign photos between groups.
2026-11-30 17:06:03 +01:00
Maurice 21b8da53cf fix(journey): keep draft edits and share screens scoped to their source
Preserve typed titles until submit, require a valid photo preview, and clear entry and photo overlays when following another public share link. Keep committed drafts successful if realtime delivery fails.
2026-11-30 17:03:05 +01:00
Maurice 07fdcbcbee docs(journey): explain public links and new journal controls 2026-11-30 16:57:50 +01:00
Maurice ede109dce8 feat(journey): complete sharing, photo drafts and Studio maps
Connect the Journey backend to the web and mobile UI, including public access and subscriptions, day recordings, photo drafts and per-map framing. Preserve legacy recording responses and cover the new behavior in every locale.
2026-11-30 16:56:18 +01:00
Maurice 458227f489 fix(assistant): load the from-photos journey tools with the journey group
JourneyEntriesFromPhotosMcp was in no tool group, so the assistant offered
both tools as core on every step of every chat, and its write was not held
to the journey like the other journal writes.
2026-11-30 16:56:17 +01:00
Maurice bd795365c1 fix(journey): let the from-photos create take every group a preview hands out
A long journey of single-photo days yields more than 200 groups, and a
day without positions can hold more than 1000 photos in one group; the
client sends all kept groups in one call, which the contract refused.
2026-11-30 16:56:17 +01:00