Commit Graph

18 Commits

Author SHA1 Message Date
Sebastian Jeltsch 4bf23a6df0 Add foreign key expansion to Dart client. 2025-02-14 12:01:33 +01:00
Sebastian Jeltsch ea61aeab45 Add dedicated documentation on how to model data and relations with SQLite and TrailBase. 2025-02-04 12:39:34 +01:00
Sebastian Jeltsch 5cec5482ee Also fail internal list handlers on invalid queries + various Admin UI state management issues.
The former surfaced a few issues in the admin UI, around FilterBar and
search query handling, i.e.
 * the filter bar value getting out of sync
 * filter not being reset when switching tables

Also fix stale config issue and hide "sqlite_" internal tables.
2025-01-31 12:43:49 +01:00
Sebastian Jeltsch 7e6512a95e Add filesystem API declarations to JS runtime. 2025-01-24 13:44:42 +01:00
Sebastian Jeltsch ebf25fa821 Add RecordApi.list examples to docs and streamline the list APIs for rust and dotnet. 2025-01-22 13:13:01 +01:00
Sebastian Jeltsch 4ae0966810 Update Axum to 0.8. 2025-01-06 11:36:04 +01:00
Sebastian Jeltsch fb0fe373f5 Remove query apis and improve docs in preparation for v3.0.
More context in the CHANGELOG.
2024-12-05 22:17:47 +01:00
Sebastian Jeltsch 338c4c77bb Add support for periodic tasks to JS runtime. 2024-11-21 13:15:02 +01:00
Sebastian Jeltsch b004188a5a Introduce Method type to narrow js/ts runtime APIs. 2024-11-20 13:48:41 +01:00
Sebastian Jeltsch 3fa8f51b8b Enable "web" APIs in JS runtime and test it. 2024-11-19 14:27:07 +01:00
Sebastian Jeltsch 21b59dce6e Wire user auth state into JS runtime. 2024-11-14 20:45:38 +01:00
Sebastian Jeltsch 0755444169 First stab at JS/TS scripting documentation. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch ad8839f28d Add HttpError custom exception to js runtime. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch 8fa26c246f Minor: Write out js runtime to traildepot and rely on relative includes. Also some opportunistic cleanups along the way. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch 7465203174 Add conversions and convenience for various content-types to the js runtime. Make handlers async. Also extend the test spin up wait time with the longer build times with v8. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch ab5513c825 Minor: Improve error handling and typescript integration. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch 6d37024ec4 Initial HTTP router setup: allow routing HTTP req/resp into and out of JS. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch bdb3735840 Squash all commits for a fresh start.
This is only to avoid accidentally leaking any secrets from early development especially in the light of short-sha attacks.
2024-10-30 23:38:56 +01:00