Commit Graph

183 Commits

Author SHA1 Message Date
Sebastian Jeltsch
d295330e12 First version of a subscription API for the dotnet client. 2025-01-13 22:44:48 +01:00
Sebastian Jeltsch
acdc888653 Add more "realtime" tests especially for ACL checking 2025-01-13 22:44:03 +01:00
Sebastian Jeltsch
dfedb76342 Pro-active client-side subscription cleanup, e.g. on disconnect.
When the handler and thus the receiver gets dropped, a continuation is
scheduled to remove the dead subscription.
2025-01-13 22:41:18 +01:00
Sebastian Jeltsch
4614ec1215 Add realtime/subscription APIs to JS/TS client. 2025-01-13 22:41:18 +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
1828ebad5a Optimization: reduce allocations, cloning and re-encoding. 2025-01-13 22:40:27 +01:00
Sebastian Jeltsch
e2b0c0d05e Add support for table/recordapi-wide "realtime" subscriptions, i.e. insertions, updates, and deletions.
Remove subscriptions for missing table.
2025-01-13 22:38:50 +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
5706ff85fe Prepare release v0.3.4. v0.3.4 2025-01-08 22:38:48 +01:00
Sebastian Jeltsch
b73116f59f Update Rust deps again and remove pinned v8 version (head was previously borked). 2025-01-08 21:23:48 +01:00
Sebastian Jeltsch
6a607f5492 Fix benchmark. 2025-01-07 16:31:26 +01:00
Sebastian Jeltsch
ca285c0108 Update Rust dependencies and publish trailbase crate v0.0.2. 2025-01-07 16:10:25 +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
98922eedb6 Further reduce reliance on symlinks. We're still relying on symlinks for assets, thus Windows builds will still require a correct symlink setup (git + permissions). 2025-01-05 22:36:27 +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
263ec54375 Minor: mark rust example as unpublished and turn off noisy logging. 2025-01-04 22:28:24 +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
bd1f0d03c9 Move proto/ into trailbase-core. 2025-01-03 10:56:35 +01:00
Sebastian Jeltsch
a323429c05 Depend on forked refinery crates. 2025-01-03 10:32:37 +01:00
Sebastian Jeltsch
7ef775db78 Rename trailbase-core to trailbase (avoided directory rename for now).
Still can't publish a crate due to refinery. Refinery's latest release
doesn't work with the already weathered rusqlite.
2025-01-02 15:27:18 +01:00
Sebastian Jeltsch
b8305ecf5b Move UI assets into trailbase-core crate. 2025-01-02 09:48:16 +01:00
Sebastian Jeltsch
b71bab8336 Update Rust dependencies. 2025-01-02 09:45:20 +01:00
Dmitry Dygalo
6288e14bf6 chore: Update jsonschema usage
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2025-01-02 09:43:47 +01:00
Sebastian Jeltsch
232449bd0f Use the same release build flags for all platforms for simplicity and performance despite slow Windows GitHub action runners. 2024-12-30 22:16:34 +01:00
Sebastian Jeltsch
c9199edd22 Prepare trailbase-sqlite for publishing. 2024-12-30 11:52:02 +01:00
Sebastian Jeltsch
fb4f421894 Prepare trailbase-extension for publishing. 2024-12-30 11:44:12 +01:00
Sebastian Jeltsch
e2c43a4c41 Prepare vendored sqlean to be published as a crate. 2024-12-30 11:36:07 +01:00
Sebastian Jeltsch
7e43e3b149 Update all dependencies. 2024-12-30 10:01:57 +01:00
Sebastian Jeltsch
d3fceb9e3f Add windows pre-built releases in v0.3.3. v0.3.3 2024-12-28 19:19:58 +01:00
Sebastian Jeltsch
890fa37b2e Include sqlite3 headers from libsqlite3-sys bundled sqlite3 for sqlean rather than relying on system headers. 2024-12-25 22:36:31 +01:00
Sebastian Jeltsch
44e0bb6f84 Bump optimization level of sqlite3-parser in dev builds to work with Windows' default stack size of 1MB. 2024-12-25 22:01:07 +01:00
Sebastian Jeltsch
a464103b17 Update Rust dependencies. 2024-12-24 10:16:22 +01:00
Sebastian Jeltsch
8177a1ab22 Update JS dependencies. 2024-12-24 10:16:18 +01:00
Sebastian Jeltsch
c322d7817c Prepare v0.3.2 release. v0.3.2 2024-12-17 22:35:51 +01:00
Sebastian Jeltsch
2095c564f1 Update benchmark results. 2024-12-17 15:47:58 +01:00
Sebastian Jeltsch
bd0b33ea3e Move query building for access checks off the request handling path except for list records where the current filter-where-clause construction doesn't allow for it. 2024-12-17 15:27:10 +01:00
Sebastian Jeltsch
312d161048 Reduce number of allocations. 2024-12-17 13:11:01 +01:00
Sebastian Jeltsch
6887fdfdfa Cache auth queries + small opportunistic cleanups. 2024-12-17 11:16:40 +01:00
Sebastian Jeltsch
be85b5186b Update Rust dependencies. 2024-12-17 00:17:13 +01:00
Sebastian Jeltsch
18d1d87710 Add a hooks API to trailbase_sqlite::Connection. 2024-12-16 17:07:17 +01:00
Sebastian Jeltsch
746f0c1108 Make connection constructor synchronous. 2024-12-16 17:00:51 +01:00
Sebastian Jeltsch
4894cc0bb0 Minor: move Row/Rows into a separate file. 2024-12-16 17:00:47 +01:00
Sebastian Jeltsch
51a6af3149 Remove sqlite-loadable and use rusqlite functions instead. 2024-12-16 16:41:52 +01:00
Sebastian Jeltsch
bd857aa2b1 Offer a sync RecordApi::check_record_level_access. 2024-12-14 12:33:10 +01:00
Sebastian Jeltsch
b8f873642c Remove workaround for broken protobuf-compiler package. 2024-12-14 10:13:06 +01:00
Sebastian Jeltsch
74c69df14a Escape SQL queries more consistently following ISO as opposed to MSSQL compat style: []. 2024-12-13 11:00:27 +01:00
Sebastian Jeltsch
54ea61788a Surface command not found in build.rs, provide readable error for missing pnpm, and drop --frozen-lockfile. 2024-12-13 10:03:50 +01:00
Sebastian Jeltsch
86ac59b356 Update Rust deps (remove idna). 2024-12-12 17:04:51 +01:00