Commit Graph

6069 Commits

Author SHA1 Message Date
Maurice c6a50695d8 fix(ai): support optional OpenRouter upstream selection 2026-12-03 12:06:24 +01:00
Maurice ea1a2527ab test(map): match street-level focus in map regressions
Give the Leaflet fixtures definite coordinates for the strict check and update the GL day-only test to expect the street-level zoom.
2026-12-03 11:18:54 +01:00
Maurice 4b7c96f4c5 fix(map): reveal selected places at street level
Use street-level zoom in both renderers while keeping the selected pin between the map panels. Lift the selected Leaflet marker out of a dense group when needed, and keep a late route fit from overriding the selection.

Closes #3306
2026-12-03 11:10:16 +01:00
Maurice 8ae919c650 fix(studio): finish preparing the Journey PDF export
A sandboxed print frame cannot run the callback that bounds the wait for print assets. Run the timer in the app so an already settled SVG image cannot keep the Save as PDF button disabled.

Closes #3309
2026-12-03 11:10:16 +01:00
Maurice 75020dd2df fix(llm-parse): read fenced booking JSON surrounded by prose
Some booking models return a complete JSON code block followed by an explanation. Read the fenced payload when parsing the full answer fails, and leave the existing JSON and JSON5 behavior intact.

Closes #3307
2026-12-03 11:10:15 +01:00
Maurice ca201ab4d0 Merge PR #3300: Native Cloud trials and password recovery 2026-12-03 10:43:03 +01:00
Maurice 0f683b0dee Isolate store purchase rehearsals from TREK Cloud production [skip ci] 2026-12-02 18:38:59 +01:00
Maurice e54f954f31 Recheck the agreement before opening the store purchase sheet [skip ci] 2026-12-02 16:33:34 +01:00
Maurice a2cf911ce1 fix(dashboard): respect pointer type when focusing trip titles
Mark the title through the existing dialog focus mechanism so a
mouse can type right away and touch keeps focus on the dialog.
Cover creating and editing a trip in the dashboard tests.
2026-12-02 14:49:52 +01:00
Luffy 7a66a54e66 fix(dashboard): focus the title in desktop trip forms 2026-12-02 14:46:23 +01:00
Maurice bf6a66d52c Offer a new link when password recovery expires [skip ci] 2026-12-02 13:58:53 +01:00
Maurice 748434fc47 style(server): satisfy accommodation confirmation lint
Keep ordered writes for one linked booking in a single method. Check
that each test fixture exists before using the reservation.
2026-12-02 11:55:45 +01:00
Maurice 618f070675 fix(accommodations): keep booking confirmations in sync
Distinguish omitted references from explicit clears on stays and their
linked bookings. Reserve automatic confirmation for a new reference
with a booking code format. Announce linked changes after booking edits.

Closes #3301
2026-12-02 11:49:33 +01:00
Maurice 260e1ef023 Shorten the German plan label for booking mail [skip ci] 2026-12-02 10:56:55 +01:00
Maurice 262741bf89 fix(ci): narrow the optional cloud checkout price [skip ci]
The strict client check rejected a nullable DOM child when the checkout had no price label. Append the price only when present and retain the standard strict baseline.
2026-12-02 10:54:28 +01:00
Maurice 3438a2aa48 Polish native cloud plans and trial presentation [skip ci] 2026-12-02 10:47:08 +01:00
Maurice dacf19b4d5 style(server): format the assistant proposal guard
The Server lint formatting check rejected the assistant agent and its regression test. Apply the repository Prettier configuration to those two files.
2026-12-02 10:23:11 +01:00
Maurice 103631d5fc Hold identical assistant changes only once per step 2026-12-02 10:23:11 +01:00
Maurice 00fcb69423 Show verified store trials in the native cloud purchase flow [skip ci] 2026-12-02 10:20:28 +01:00
Maurice dbcdecb6a7 Give password recovery the native sign-in layout 2026-12-02 10:20:27 +01:00
Maurice 10fecf4e80 fix(ci): document the exact migration filter
The metadata substring filter only finds candidates. Exact timezone comparison in the migration ensures SQLite and PostgreSQL update the same records.
2026-12-02 09:59:29 +01:00
Maurice 12483f618f fix(journey): give the public gallery a definite width
Keep both centered content layouts from collapsing before Firefox loads gallery thumbnails.

Closes #3296
2026-12-02 09:46:23 +01:00
Maurice 17c4d69e40 fix(airports): use Bahrain time for Bahrain flights
Correct the airport data and repair affected flight endpoints and metadata during upgrade. Preserve stored local flight times and legacy metadata encoding.

Closes #3294
2026-12-02 09:45:20 +01:00
Maurice d6184559e9 fix(assistant): keep OpenRouter turns in one routing session
Pass a stable conversation session to OpenRouter so turns can reuse the same provider route. Namespace locally allocated thread IDs across server processes.

Closes #3298
2026-12-02 09:45:19 +01:00
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