Commit Graph

1180 Commits

Author SHA1 Message Date
Sebastian Jeltsch
2308c8d622 Update JS and Rust dependencies. 2025-11-05 17:11:47 +01:00
Sebastian Jeltsch
3662f496d9 Improve template query construction.
Fix broken "Null" value when and add placeholders for all columns.
2025-11-05 17:11:43 +01:00
Sebastian Jeltsch
8f6acdd9eb Simplify and improve CHECK and DEFAULT column schema form fields. 2025-11-05 15:36:58 +01:00
Sebastian Jeltsch
c858d3c332 Fix Create/Alter table schema regression: propagate column.data_type to column.type_name. 2025-11-05 14:56:58 +01:00
Sebastian Jeltsch
bf2cb15ac7 Prepare new release v0.20.9. v0.20.9 2025-11-04 14:51:11 +01:00
Sebastian Jeltsch
f5ba96383b Build and install auth-UI WASM component in docker image by default. 2025-11-04 14:51:07 +01:00
Sebastian Jeltsch
c157b1ec25 Disable SQLite's schema consistency check during ALTER TABLE ... RENAME TO to avoid issues when any views exist referencing said table. 2025-11-04 14:04:04 +01:00
Sebastian Jeltsch
6306fb8989 Add a more File(s) column cell renderer: ability to download files and show image previews. 2025-11-04 13:22:35 +01:00
Sebastian Jeltsch
b0aee2e836 Break-out more complex JSX components from admin explorer's cell renderer. 2025-11-03 23:09:21 +01:00
Sebastian Jeltsch
5a36e0985b Support VIEWs for admin file reads. 2025-11-03 22:51:25 +01:00
Sebastian Jeltsch
4900444c7b Add a test to Rust client for records with custom JSON schema columns, including bulk insertions. #170 2025-11-03 20:05:57 +01:00
Sebastian Jeltsch
57a8c7510f Add dart bulk insertion and update tests for records with JSON columns. #170 2025-11-03 19:47:57 +01:00
Sebastian Jeltsch
a7492591e1 Prepare new release v0.20.8. v0.20.8 2025-11-03 11:04:33 +01:00
Sebastian Jeltsch
8566b9ba96 Update JavaScript dependencies. 2025-11-03 10:59:06 +01:00
Sebastian Jeltsch
68ea3b5b0a Fix admin UIs uncaught error handling - catch uncaught rejections as well.
We previously removed toasts from `adminFetch` relying on us displaying uncaught exceptions, however async rejections are not caught by the browsers uncaught error handler. This is fixed now. Also install/uninstall handlers as part of ErrorBoundary rather than relying on global handlers.
2025-11-03 10:25:33 +01:00
Sebastian Jeltsch
6daf392c9d Fix regression: the stricter schema reload surfaced a orchestration issue in the drop/alter table admin handlers. Now first fix up the config and then reload. 2025-11-03 10:00:18 +01:00
Sebastian Jeltsch
a1ebc1258e Prepare new release v0.20.7. v0.20.7 2025-11-02 21:12:06 +01:00
Sebastian Jeltsch
a04ec5295c Update Rust dependencies. 2025-11-02 20:57:23 +01:00
Sebastian Jeltsch
c0981c01af Make config validation rely only on SQLite schemas, rather than metadata. This avoids initialization order issue, where config loading depends on JSON Schema metadata and loading custom JSON schemas depends on the config. Now we can avoid double metadata init and more importantly propagate errors when JSON schemas referenced by the SQLite schemas are missing. 2025-11-02 20:54:16 +01:00
Sebastian Jeltsch
09cd490b8d Remove unecessary calls to .except(), eventhough they shouldn't happen. 2025-11-02 20:43:09 +01:00
Sebastian Jeltsch
962da98901 Preserve all oauth settings when converting map of OAuthProviders to proxy list of OAuthProviders and back. 2025-11-02 19:21:02 +01:00
Sebastian Jeltsch
8fb341026d Fix OIDC OAuth provider config validation, i.e. don't consider validate missing urls as ok. 2025-11-02 18:52:46 +01:00
Sebastian Jeltsch
224ec74b58 Use bigint to represent longs in config proto for admin UI. Also use consistent patterns for float/real values. 2025-11-02 18:36:43 +01:00
Sebastian Jeltsch
3a785f99c0 Add support for literals to column/type inference logic for VIEWs. 2025-11-02 15:13:47 +01:00
Sebastian Jeltsch
5715f2d512 Update JSON schema registry when config is updated and re-validate config when rebuilding DB schemas (e.g. after a schema change). 2025-11-01 23:49:23 +01:00
Sebastian Jeltsch
232a984bba Minor: have trail --version also display SQLite version. 2025-11-01 09:14:50 +01:00
Sebastian Jeltsch
c27bef47b8 Prepare new release v0.20.6. v0.20.6 2025-11-01 02:04:38 +01:00
Sebastian Jeltsch
ebb24d022f Overhaul DB schema and JSON schema abstractions. Inject JSON schems registry explicitly, making our initialization order challenges more explicit too. 2025-11-01 01:47:52 +01:00
Sebastian Jeltsch
531a159da0 Fix out broken insert/update record form input validation in admin UI :hide: 2025-11-01 01:38:54 +01:00
Sebastian Jeltsch
7f325e8b3e Prepare new release v0.20.5. v0.20.5 2025-10-31 16:03:38 +01:00
Sebastian Jeltsch
fada5578d2 More consistently validate JSON inputs. 2025-10-31 16:00:47 +01:00
Sebastian Jeltsch
b9762f1d63 Fix initialization order issue for custom schemas (#170) and return client error for inputs rejected by SQLite CHECK constraint.
Also add both integration and end-to-end tests to ensure stability.
2025-10-31 14:44:09 +01:00
Sebastian Jeltsch
675330667d Minor: print some info with what to do when instantiating WASM component fails. 2025-10-30 20:24:14 +01:00
Sebastian Jeltsch
0ee62bab62 Prepare new release v0.20.4. v0.20.4 2025-10-30 15:24:05 +01:00
Sebastian Jeltsch
5d4cc4ce25 Address overflowing UI elements for column presets in admin UI. 2025-10-30 15:11:34 +01:00
Sebastian Jeltsch
8996d5ec2b Minor: drive by code de-nesting. 2025-10-30 14:46:17 +01:00
Sebastian Jeltsch
feb59a3532 Responsively move admin UI's main nav to the top on small screens. 2025-10-30 14:26:57 +01:00
Sebastian Jeltsch
f4dc44554e Switch to more actively maintained aes-gcm-siv crate (from aes-gcm) and clean-up cursor encryption code. 2025-10-30 12:42:12 +01:00
Sebastian Jeltsch
387f8ab9ab Update Rust dependencies, remove js-runtime from default crates, and address clippy issues. 2025-10-30 11:11:22 +01:00
Sebastian Jeltsch
be98526619 Add missing (but unused) metadata.proto ts bindings. 2025-10-29 12:04:37 +01:00
Sebastian Jeltsch
7437614f44 Build static MUSL version for docker image. The "static" GLibc builds have known issues and we critically rely on not looking up hostnames. 2025-10-29 07:49:00 +01:00
Sebastian Jeltsch
ab5dc6b2e1 Prepare new release v0.20.3. v0.20.3 2025-10-27 18:48:38 +01:00
Sebastian Jeltsch
3353182e59 Update Rust dependencies. 2025-10-27 18:48:38 +01:00
Sebastian Jeltsch
801d691768 Add untested Apple (or "Sign-in with Apple) OAuth provider.
I do not like adding untested code unstream, however apple makes it very hard to test, e.g. you cannot have a dev-service that accepts localhost callback addresses... . If you know of a way of testing "Sign-in with Apple" locally, please let me know 🙏.
2025-10-27 18:48:33 +01:00
Sebastian Jeltsch
d6ca41ae03 Prepare new release v0.20.2. v0.20.2 2025-10-25 12:49:56 +02:00
Sebastian Jeltsch
5b1159d037 Update Rust dependencies. 2025-10-24 22:52:23 +02:00
Sebastian Jeltsch
27e582621d Simplify static asset handling and remove caching from index.html for all client-side routed SPA paths. 2025-10-24 20:38:06 +02:00
Sebastian Jeltsch
b45ae6875f Prepare new release v0.20.1. v0.20.1 2025-10-23 13:40:03 +02:00
Sebastian Jeltsch
59360759cf Disable caching for static index.html assets. 2025-10-23 13:39:08 +02:00
Sebastian Jeltsch
3b5beb8fc9 Update Rust dependencies. 2025-10-23 10:32:03 +02:00