Commit Graph

6045 Commits

Author SHA1 Message Date
Maurice 3089aee593 fix(journey): align media validation with server checks
Validate spooled uploads in order with the shared iterator and keep media format detection in a shared utility. Adapt the controller unit fixtures and cover raster signatures, including animated PNG.
2026-12-02 09:29:33 +01:00
Maurice 24ddc3e4b0 fix(journey): validate and safely serve media uploads 2026-12-02 09:21:51 +01:00
Maurice a4cb6c69d8 chore(lint): lower the client ref-warning baseline
The plugin frame permission check now reads the store when needed. GitHub CI reports 384 react-hooks/refs warnings instead of 385.
2026-12-01 22:07:41 +01:00
Maurice 6e224cb7a4 fix(plugins): bind bridge replies to the active document
Keep pending replies tied to their original frame and verify the current permission before returning location data. Release watches when their frame detaches and preserve live replies across host context updates.
2026-12-01 22:00:45 +01:00
Maurice 56b4568a16 test(platform): cover static asset cache boundaries
Exercise the filename and path boundaries used to decide which static assets can be cached permanently, including unhashed Brotli copies.
2026-12-01 21:22:35 +01:00
Maurice 756ef14b97 fix(client): preserve explicit dialog focus and verify accessible controls
Keep the focused search for new places and title fields in explicitly opened dialogs. Assert the native ride badge button and the pointer grip tooltip in the existing tests.
2026-12-01 21:13:35 +01:00
Maurice e539860530 fix(quality): resolve reliability findings on dev
The Sonar quality gate rated new code D. Preserve focus and keyboard interaction through native controls and shared dialog behavior. Replace ambiguous regex scans with bounded parsing and make numeric coercion and initialization explicit.
2026-12-01 21:06:05 +01:00
Maurice 0d6a432967 test(server): type the hosted assistant regression on ES2022
Use the lookup overload for all addresses and drain the stream with the existing TypeScript target. Server types rejected the default lookup overload and Array.fromAsync.
2026-12-01 19:37:29 +01:00
Maurice 89035059ec fix(cloud): route the hosted assistant through its private gateway 2026-12-01 19:28:28 +01:00
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