Commit Graph

84 Commits

Author SHA1 Message Date
Sebastian Jeltsch
b07b378a4b Make rust client's error handling more explicit, less leaky and easier to match. 2025-04-02 11:14:07 +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
a2f684752f Prepare new release v0.6.0. 2025-02-18 11:17:39 +01:00
Sebastian Jeltsch
44e38582e4 Place realtime record subscriptions behind a configuration flag. 2025-02-17 14:44:41 +01:00
Sebastian Jeltsch
5f5c269d2e Add list total_count and foreign record expansion support to python client. 2025-02-14 22:26:10 +01:00
Sebastian Jeltsch
5e61afa56b Support foreign record expansion in RecordApi.read() calls for Rust client. 2025-02-14 21:06:55 +01:00
Sebastian Jeltsch
51afb0b721 Add count and expansions to RecordApi.list for rust client. Expansions are still missing from read. 2025-02-14 16:59:46 +01:00
Sebastian Jeltsch
6de433a0f7 Add support for list count and foreign key expansion to dotnet client. 2025-02-14 15:51:31 +01:00
Sebastian Jeltsch
4bf23a6df0 Add foreign key expansion to Dart client. 2025-02-14 12:01:33 +01:00
Sebastian Jeltsch
ce1b382c46 Add support for bulk record creation using the same POST entry point and update all clients. 2025-02-07 20:11:21 +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
933c55589e Fix stray COUNT field in list responses and add list counting support to the dart client. 2025-01-31 13:22:30 +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
4d54bba507 Publish new clients for rust and dotnet. 2025-01-22 13:13:07 +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
288d13f7f8 Improve docs: add record API examples for Rust. 2025-01-21 17:05:00 +01:00
Sebastian Jeltsch
fb083bbd5b Publish a dart client update. 2025-01-20 14:41:14 +01:00
Sebastian Jeltsch
8f9d8ada9c Improve RecordApi docs by adding code examples (only Dart for now) and fix a small heartbeat decoding issue.
Partially addresses some of the issues with our lackluster docs: #22.
2025-01-20 13:08:31 +01:00
Sebastian Jeltsch
1042ea20e1 Prepare new release v0.5.0 and push new client versions. 2025-01-19 16:49:06 +01:00
Sebastian Jeltsch
2fb294f17c Breaking: nest records in output of RecordAPI.list to contain cursor now and potentially more in the future.
Also update all the client libraries to accept the new format.
2025-01-19 15:40:09 +01:00
Sebastian Jeltsch
04ceeb0913 Rust client: hide internal decode_auth_token. 2025-01-18 11:54:36 +01:00
Sebastian Jeltsch
98133052b0 Add support for "realtime" subscriptions to rust client. 2025-01-18 00:38:55 +01:00
Sebastian Jeltsch
9fdc206587 Optimize rust client: less allocations and locking. 2025-01-17 23:02:03 +01:00
Sebastian Jeltsch
b3d4cbd99f Add a rust client library to connect to a TrailBase instance via HTTP. 2025-01-17 15:21:07 +01:00
Sebastian Jeltsch
ade0e0b814 Release a new version of the dotnet client after bundling a documentation xml. 2025-01-15 23:26:58 +01:00
Sebastian Jeltsch
8e070f37df Break up dotnet client into src, test, and docs. 2025-01-15 22:31:17 +01:00
Sebastian Jeltsch
c719d8708b Add documentation to dotnet client. 2025-01-15 22:00:02 +01:00
Sebastian Jeltsch
83d67b8381 Fix stale record API paths in documentation, add subscriptions, and drive-by cleanup of dart tests.
Addresses #20.
2025-01-15 13:04:10 +01:00
Sebastian Jeltsch
351f5d2d9b Update and publish clients for JS/TS, dotnet, and Python. 2025-01-14 22:59:58 +01:00
Sebastian Jeltsch
0cd5df17ba Update Dart dependencies and publish an updated client version. 2025-01-14 22:48:36 +01:00
Sebastian Jeltsch
932e4d57af Minor documentation brush up. 2025-01-14 16:44:09 +01:00
Sebastian Jeltsch
205b16ac6a Add a PoC generator-based subscription API to the sync! python client.
To be actually useful short from running a separate subscription thread,
this should for sure be an async API. However, we don't currently have
an async client - TBD.
2025-01-14 16:14:14 +01:00
Sebastian Jeltsch
0d3ec835cd Improve python setup. 2025-01-14 16:14:14 +01:00
Sebastian Jeltsch
d295330e12 First version of a subscription API for the dotnet client. 2025-01-13 22:44:48 +01:00
Sebastian Jeltsch
5dde9c5c1f Add support for record and table-wide "realtime" subscriptions to the Dart client. 2025-01-13 22:40:51 +01:00
Sebastian Jeltsch
30f295e6fd Add "realtime" subscriptions for a specific record, i.e. updates and deletion. 2025-01-13 22:38:14 +01:00
Sebastian Jeltsch
4ae0966810 Update Axum to 0.8. 2025-01-06 11:36:04 +01:00
Sebastian Jeltsch
083dddc021 Poetry v2 redefined -C thus switching to -P restoring the original behavior. 2025-01-06 00:07:16 +01:00
Sebastian Jeltsch
fd31f9dcca Fix python formatter and linter after external python tooling update. 2025-01-05 14:34:23 +01:00
Sebastian Jeltsch
c117bb9ba8 Move JS/TS client into trailbase-core/js/client to reduce the reliance on symlinks and fix windows builds. 2025-01-05 12:35:00 +01:00
Sebastian Jeltsch
d2bd4971ac Sym-link trailbase-ts client to consolidate all JS deps under trailbase-core for package building. 2025-01-04 22:03:42 +01:00
Sebastian Jeltsch
b8305ecf5b Move UI assets into trailbase-core crate. 2025-01-02 09:48:16 +01:00
Sebastian Jeltsch
7e43e3b149 Update all dependencies. 2024-12-30 10:01:57 +01:00