Commit Graph

474 Commits

Author SHA1 Message Date
Sebastian Jeltsch
fdfd363cfd Prepare new release v0.9.0. v0.9.0 2025-04-04 14:39:36 +02:00
Sebastian Jeltsch
5936cd6a9d Bump Rust version for docker builds to latest stable v1.86. 2025-04-04 13:27:14 +02:00
Sebastian Jeltsch
f7cce2dc44 Fix logging: deterministically and separately initialize log and tracing. 2025-04-04 13:23:26 +02:00
Sebastian Jeltsch
ecad4d14ee Update benchmark results. 2025-04-04 01:39:37 +02:00
Sebastian Jeltsch
31d7dc4158 Use statement cache in more places. 2025-04-03 21:59:23 +02:00
Sebastian Jeltsch
355b86576a Bump Rust version to 1.85 for docker builds to allow for async closures. 2025-04-03 10:46:56 +02:00
Sebastian Jeltsch
011b0a5550 Update Rust dependencies. 2025-04-03 10:28:56 +02:00
Sebastian Jeltsch
0e6886d5bf Update JS deps. 2025-04-03 10:04:23 +02:00
Sebastian Jeltsch
5ce5819780 Cherry-pick improvements and cleanups from experimental hidden-columns branch. 2025-04-03 09:43:34 +02:00
Sebastian Jeltsch
e7ac7d81f9 Constrain select queries for record reads/listing to specific columns. 2025-04-02 18:24:18 +02:00
Sebastian Jeltsch
8dd3ee6fe7 Remove last dependencies from record API on the underlying view/table schema. This will allow defining a per API schema. 2025-04-02 17:49:02 +02:00
Sebastian Jeltsch
e773dc0f26 Move more responsibility to the RecordAPI in preparation for filtering columns. 2025-04-02 15:57:24 +02:00
Sebastian Jeltsch
b12deb7702 Clean out Table and View metadata and move more responsibility to RecordApi. 2025-04-02 14:53:04 +02:00
Sebastian Jeltsch
b45cfb837f Further improve file handling: limit deletion retries and RAII wrapper to ensure file cleanup on update/create failure. 2025-04-02 12:22:56 +02:00
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
c060e7e863 Cleanup overridden files on upsert. 2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
54e42cb254 Add a periodic cleanup job to retry failed file deletions. 2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
f85d8ded07 Write errors back to pending file deletions. 2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
edfbd4c4f6 Manage file deletions through an auxiliary table: "_file_deletions" and triggers.
This allows deleting files eagerly w/o a transaction (i.e. pre-op query to get
old values), allows for defered cleanups, and retries.
2025-04-02 00:15:05 +02:00
Sebastian Jeltsch
a10df1c50a More minor cleanups to create record API path. Moreover, document an issue with dangling files. 2025-03-31 15:36:32 +02:00
Sebastian Jeltsch
4da0e42183 Minor: clean up some email code and add more tests. 2025-03-31 12:21:28 +02:00
Sebastian Jeltsch
d9525cd754 Minor: remove log dep from library crates. 2025-03-31 11:26:03 +02:00
Sebastian Jeltsch
911f27abdc Add loginMessage?= to demo links. 2025-03-30 22:15:03 +02:00
Sebastian Jeltsch
c5b82c9ef3 Prepare new release v0.8.4. v0.8.4 2025-03-30 17:48:58 +02:00
Sebastian Jeltsch
13f5a8e09c Minor: some of indirection in subscription access checking. 2025-03-30 13:39:21 +02:00
Sebastian Jeltsch
d89738ca3e Move subscription read record query construction from preUpdateHook time to RecordApi-construction-time. 2025-03-30 13:10:14 +02:00
Sebastian Jeltsch
82e0799dfc Move UpdateRecordAccessQuery to templates, cleanup templates and add more tests. 2025-03-30 12:41:24 +02:00
Sebastian Jeltsch
3737ee1846 Move auth UI from minijinja to askama. 2025-03-29 22:53:10 +01:00
Sebastian Jeltsch
f5cc1b349e Use askama jinja templates for more complex queries. 2025-03-29 22:50:20 +01:00
Sebastian Jeltsch
3c8a99c76d Minor: cleanup & fewer allocations. 2025-03-28 15:06:53 +01:00
Sebastian Jeltsch
a38f084aa8 Add ?loginMessage= search param to admin UI's login component. 2025-03-28 01:07:24 +01:00
Sebastian Jeltsch
8237877a4b Simplify list query construction. 2025-03-28 00:43:52 +01:00
Sebastian Jeltsch
fd51d6c664 Prepare new release v0.8.3. v0.8.3 2025-03-27 15:25:33 +01:00
Sebastian Jeltsch
d069c03059 Minor: docstrings and delayed allocation. 2025-03-27 15:01:44 +01:00
Sebastian Jeltsch
f403265f6e Sanitize column names in list queries "order" and "expand" params. 2025-03-27 14:21:26 +01:00
Sebastian Jeltsch
4f8d43ab5b Fix cursor column name. 2025-03-27 13:30:55 +01:00
Sebastian Jeltsch
7100518273 Escape col name in order clause during list queries. 2025-03-27 13:10:02 +01:00
Sebastian Jeltsch
b98b7dfacb Quote col names in expansion queries. 2025-03-27 12:35:58 +01:00
Sebastian Jeltsch
c4c6b784a7 Minor: break up params and query builders. 2025-03-27 11:56:58 +01:00
Sebastian Jeltsch
682be1aa39 Parse CHECK table constraints. 2025-03-26 16:17:32 +01:00
Sebastian Jeltsch
448c44aa2f Parse column constraint FK trigger and cleanup. 2025-03-26 14:57:30 +01:00
Sebastian Jeltsch
8cef7d3a73 Update Rust and JS deps. 2025-03-26 11:16:16 +01:00
Sebastian Jeltsch
d189d04207 Parse and unparse conflict clauses in table and column constraints. 2025-03-26 10:50:51 +01:00
Sebastian Jeltsch
814f628019 (Un)quote more identifiers and add tests for record apis with sqlite keyword columns #39. 2025-03-26 00:31:40 +01:00
Sebastian Jeltsch
0f920bfeef Prepare new release v0.8.2. v0.8.2 2025-03-25 17:56:24 +01:00
Sebastian Jeltsch
be8d0c6b3b Escape more index/table/column names during create table/index parsing and statement construction #39. 2025-03-25 17:54:49 +01:00
Sebastian Jeltsch
a8021dd97f Properly unquote quoted column names during schema parsing #39.
This is basically working around a TODO in the sqlite3_parser:

  29672a1a03/src/parser/ast/mod.rs (L988)
2025-03-25 17:54:49 +01:00
Sebastian Jeltsch
bbaf5dde91 Polish: add explicit tab order to auth forms and factor styling in Astro shadcn components. 2025-03-25 12:18:59 +01:00
Sebastian Jeltsch
b1048bad9b Minor: add two more bullet points to blog example's README. 2025-03-24 15:49:00 +01:00
Sebastian Jeltsch
3fe9dc8494 Update UUID sqlite extensions, fix example blog and clean it up. 2025-03-24 15:34:01 +01:00