Commit Graph

2534 Commits

Author SHA1 Message Date
Maurice f394818f40 fix(mail-ingest): create missing IMAP archive parent on demand 2026-12-05 13:27:17 +01:00
Luffy b15cd49833 fix(mail-ingest): enhance header processing to prioritize X-Forwarded-To for IMAP 2026-12-05 13:27:17 +01:00
Luffy 7713e37a8d fix(mail-ingest): create IMAP archive folders only when needed 2026-12-05 13:27:16 +01:00
Maurice 543af0cbcb Merge pull request #3319 from liketrek/codex/trip-tags-desktop-polish
Add custom trip tags and refine the desktop interface
2026-12-05 13:26:40 +01:00
Maurice 57903738be fix(ci): pass only tag names to the tag key mapper
Use an explicit single-argument callback for tag arrays so the mapper cannot receive an index or array from map.
2026-12-05 13:12:36 +01:00
Maurice 12927a3111 fix(ci): format the trip row helper imports
Apply the server import ordering reported by the formatting check.
2026-12-05 12:52:26 +01:00
Maurice f3bbd1a268 fix(ci): align packing parity and simplify offline sync
Describe bringer input in the shared packing contract and check its trip event against the REST contributor operation. Keep offline map preparation in its own step without changing the order or the sign-out checks.
2026-12-05 12:45:31 +01:00
Maurice 4333020e14 fix(ci): remove unused copy and split trip tag persistence
Remove unused dialog and upload strings from all locales. Move tag encoding and tag updates out of the largest trip files to meet the server size limits.
2026-12-05 12:44:35 +01:00
Maurice 09567d32c4 fix(packing): serialize bringer and privacy updates
Use the shared write transaction for packing item updates and contributor edits. Remove Common bringers when an item becomes restricted and scope contributor broadcasts to the returned item viewers.
2026-12-05 12:35:18 +01:00
Maurice 1eddfe3a29 fix(ci): resolve remaining trip UI and contract checks
Match the date badge and spotlight behavior in tests, keep stored tag data out of plugin responses, and handle missing place review text. Lower the ratchets to the counts reported by CI after the simplifications.
2026-12-05 12:31:22 +01:00
Maurice 06ee5a850b feat(mcp): set bringers for a packing item
Let packing editors replace the bringers on a Common item in one write. Use the existing trip roster, item visibility and packing edit policy, and leave the sharing tier and recipients alone.

Closes #3313
2026-12-05 12:30:17 +01:00
Maurice 53198b4d58 Align trip tags and desktop UI with CI contracts 2026-12-05 12:24:04 +01:00
Maurice c32c17ca17 feat(trips): support custom tags and MCP tag management 2026-12-05 01:34:47 +01:00
Maurice 259d23f971 fix(ci): repair strict types and empty dashboard card
Keep the dashboard card class when it spans all columns. Match the place form payload to the service-stop placement type and make dialog card hints optional. Document the independent receipt copy and format the files flagged by CI.
2026-12-03 12:06:47 +01:00
Maurice 7196ad30da fix(ci): repair trip assistant checks
Fix the mobile dashboard import and align the assistant UI with client layer and lint rules. Document the OpenRouter setting, share the reservation status schema, and update coverage for external POI identifiers and the empty costs view.
2026-12-03 12:06:46 +01:00
Maurice 3945037ff3 fix(assistant): improve trip proposals and approvals 2026-12-03 12:06:46 +01:00
Maurice c6a50695d8 fix(ai): support optional OpenRouter upstream selection 2026-12-03 12:06:24 +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 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 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 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 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 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 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 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 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 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 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 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 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