Sebastian Jeltsch
a0b7923759
Update JS dependencies.
2025-05-26 13:56:02 +02:00
Sebastian Jeltsch
219db9fb96
Turn JS transaction() API async for future-proofing.
2025-05-04 12:42:11 +02:00
Sebastian Jeltsch
aa1a767320
Add SQLite transaction support to JS runtime.
2025-05-04 11:40:32 +02:00
Sebastian Jeltsch
711902e551
Install a SIGHUP handler to reload configuration. #49
2025-04-22 15:44:09 +02:00
Sebastian Jeltsch
68af842184
When logging responses to stdout, log them as JSON.
2025-04-15 15:00:45 +02:00
Sebastian Jeltsch
36d49cd46a
Allow registering cron jobs from JS.
2025-03-18 15:22:35 +01:00
Sebastian Jeltsch
e1ac5354b6
Limit some admin APIs in --demo mode to avoid most egregious jokes, e.g. changing the admin user or deleting system tables.
2025-03-09 14:57:31 +01:00
Sebastian Jeltsch
c14c544db7
Add OIDC end-to-end test.
2025-03-08 14:48:39 +01:00
Sebastian Jeltsch
c08762bedb
Add generic OIDC OAuth provider.
...
Not yet configurable through UI. Can currently only be configured via configuration.
2025-03-07 13:51:35 +01:00
Sebastian Jeltsch
edfcda1ea5
Restore secret redaction and config merging.
2025-03-05 11:42:36 +01:00
Sebastian Jeltsch
c07ae504e7
Improve auth UI styling.
2025-03-04 11:31:04 +01:00
Sebastian Jeltsch
9aae29d146
Fix ui issues and improve config validation.
2025-02-26 23:14:23 +01:00
Sebastian Jeltsch
44e38582e4
Place realtime record subscriptions behind a configuration flag.
2025-02-17 14:44:41 +01:00
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