Commit Graph

608 Commits

Author SHA1 Message Date
Sebastian Jeltsch 76f94899ca Update Rust dependencies. 2025-05-11 13:10:29 +02:00
Sebastian Jeltsch 7afd2b9869 Simple ERD schema visualizer page. 2025-05-11 13:06:17 +02:00
Sebastian Jeltsch 48fd0b214b Propagate execute_batch errors in first statement. 2025-05-11 13:00:34 +02:00
Sebastian Jeltsch c170a91983 Allow setting password policies from admin UI. 2025-05-11 11:56:49 +02:00
Sebastian Jeltsch c561e8eb99 Use more tanstack query to improve state management. 2025-05-11 11:56:46 +02:00
Sebastian Jeltsch 16f5c51cf2 Minor: link fact cards on admin landing page. 2025-05-10 22:07:09 +02:00
Sebastian Jeltsch 7289fc66b0 Stylize the admin dash landing page a bit more. 2025-05-10 21:54:07 +02:00
Sebastian Jeltsch 69574031f5 Add a bit of an info dashboard to the admin landing page. 2025-05-10 16:40:41 +02:00
Sebastian Jeltsch 1a9a3432c4 Restore ability of publishing crates after moving JS assets to a separate crate. 2025-05-10 15:29:53 +02:00
Sebastian Jeltsch 9012cfaae7 Preserve login ?redirect_to across redirects. 2025-05-10 15:02:51 +02:00
Sebastian Jeltsch c719015ba8 Add status page to docs. 2025-05-10 15:02:51 +02:00
Sebastian Jeltsch c724c9eaab Fix API routing in admin dashboard, simplify JS/TS client APIs and publish v0.4.0. 2025-05-10 15:02:48 +02:00
Sebastian Jeltsch cf47a9c77a Add more options to password policy. 2025-05-09 13:14:22 +02:00
Sebastian Jeltsch 7e8f198ba6 Minor: merge password primitives across core and SQLite extension. 2025-05-09 13:09:20 +02:00
Sebastian Jeltsch 80f6544920 Minor: simplify Computed from ValueNotifier and support removal. 2025-05-09 12:12:18 +02:00
Sebastian Jeltsch 9a5dd7f826 Wire password options from server state. 2025-05-09 10:43:31 +02:00
Sebastian Jeltsch 267a5aeea9 Update Rust and JS dependencies. 2025-05-09 09:12:45 +02:00
Sebastian Jeltsch 7ef6fc2320 Minor: add some more documentation on our handling of email addresses. 2025-05-08 12:22:54 +02:00
Sebastian Jeltsch 9164723e4d Less string interpolation for url construction in JS/TS client. 2025-05-08 12:06:06 +02:00
Sebastian Jeltsch 057f443c2d Minor: collect email address transformations in one place. 2025-05-08 09:36:30 +02:00
Sebastian Jeltsch 993afcdfe4 Prepare new release v0.11.2. v0.11.2 2025-05-07 17:57:55 +02:00
Sebastian Jeltsch 7720cc53de Fix escaping of hidden form state in auth UI after moving to askama templates a while back. Also added tests. 2025-05-07 17:11:14 +02:00
Sebastian Jeltsch 671e7ca21f Minor: add auto-complete annotations to Admin UI's login form. 2025-05-07 15:17:52 +02:00
Sebastian Jeltsch 5c4dcb30a1 Minor: cleanup some of the extension code. 2025-05-07 15:17:03 +02:00
Sebastian Jeltsch 8981f4b9af Disable failed login throttling in demo mode. 2025-05-07 12:35:35 +02:00
Sebastian Jeltsch 4e824b5371 Set content-type on not found pages and unset cookies on failed logins. 2025-05-07 12:22:48 +02:00
Sebastian Jeltsch 8bc6d5aa43 Use moka for caching SQLite extensions. 2025-05-07 11:43:55 +02:00
Sebastian Jeltsch 7d008f4331 Rate limit failed login attempts to protect against brute-force attacks. 2025-05-07 10:50:19 +02:00
Sebastian Jeltsch e88ce8430e Add an option to disabled password-based registration for new users. 2025-05-06 17:28:07 +02:00
Sebastian Jeltsch c87ffc4fe1 Update Rust dependencies. 2025-05-06 17:22:31 +02:00
Sebastian Jeltsch cf197d3573 Prepare new release v0.11.1. v0.11.1 2025-05-06 15:06:21 +02:00
Sebastian Jeltsch 121ee8e546 Allow expanding foreign keys on record APIs backed by views. 2025-05-06 12:46:30 +02:00
Sebastian Jeltsch 6b58a6b531 Fix error handling of Connection::execute_batch. 2025-05-06 10:22:41 +02:00
Sebastian Jeltsch 69b4f69d7c Periodically yield back to the JS event loop while waiting for a DB write lock to allow it to make progress even while the lock is held. 2025-05-05 16:14:32 +02:00
Sebastian Jeltsch 941c12084b Avoid shared pnpm workspace installs for windows to address EBUSY issues when pnpm is running parallel for trailbase-assets and trailbase-js. 2025-05-05 14:05:06 +02:00
Sebastian Jeltsch 034015038c Prepare new release v0.11. v0.11.0 2025-05-05 10:30:08 +02:00
Sebastian Jeltsch c06b3ad1ef Close sqlite connections locally rather than on the worker loops. 2025-05-05 10:30:08 +02:00
Sebastian Jeltsch 95aeb04788 Add server and client-side validation for config.server.site_url. 2025-05-04 23:49:04 +02:00
Sebastian Jeltsch f44e9c807c Address old TODOs addressing site_url and default email sender. 2025-05-04 23:04:54 +02:00
Sebastian Jeltsch 74afa1591e Minor: some long overdue rename of TableMetadata to SchemaMetadata. 2025-05-04 21:51:55 +02:00
Sebastian Jeltsch 219db9fb96 Turn JS transaction() API async for future-proofing. 2025-05-04 12:42:11 +02:00
Sebastian Jeltsch c377138f41 Update Rust and JS deps. 2025-05-04 11:51:48 +02:00
Sebastian Jeltsch aa1a767320 Add SQLite transaction support to JS runtime. 2025-05-04 11:40:32 +02:00
Sebastian Jeltsch 4e645ee487 Minor: cleanup completer draining. 2025-05-03 12:34:31 +02:00
Sebastian Jeltsch 5f1b5614b4 Add an experimental API to get a write-lock to the underlying rusqlite::Connection. 2025-05-03 12:10:19 +02:00
Sebastian Jeltsch c4a4dfd575 Update rusqlite to v0.35, which has more strict query validation \o/. Also update other Rust and JS deps. 2025-05-03 11:42:59 +02:00
Sebastian Jeltsch 122dd1ebb0 Allow applying recorded transaction as migration or plain transaction. Add tests. 2025-05-02 21:31:34 +02:00
Sebastian Jeltsch 4ce729742f Minor: cleanup MigrationWriter. 2025-05-02 09:24:59 +02:00
Sebastian Jeltsch 45aa2397d6 Minor: move JS http handler logic entirely to trailbase-core. 2025-05-01 17:54:41 +02:00
Sebastian Jeltsch 4452d46ea8 Streamline and better document JS runtime. Also add a test to ensure event loop can progresses, while some external call is blocked. 2025-05-01 15:45:36 +02:00