Commit Graph

137 Commits

Author SHA1 Message Date
Sebastian Jeltsch
7a8c31c8e9 Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
Sebastian Jeltsch
b478bec65e Docs: update roadmap. 2025-08-05 12:45:33 +02:00
Sebastian Jeltsch
598f15cc06 Rename redirect_to query parameter to redirect_uri in accordance with RFC 6749.
Reference: https://datatracker.ietf.org/doc/html/rfc6749#appendix-A.6
2025-08-05 11:51:02 +02:00
Sebastian Jeltsch
65a6ed9045 Move TanStack/db example to a less missleading location, document it and update JS dependencies. 2025-08-05 11:50:02 +02:00
Sebastian Jeltsch
f638b52531 Update JS dependencies. 2025-08-04 21:10:54 +02:00
Sebastian Jeltsch
864b26bbd9 Avoid workspace references for examples to allow copying (including Docker coyping it into a build environment) #121 2025-08-04 13:58:23 +02:00
Sebastian Jeltsch
8aa922984d Update JS dependencies. 2025-07-31 16:11:56 +02:00
Sebastian Jeltsch
6ec0fc3941 Increase the space of applicable VIEWs for Record APIs by treating top-level GROUP BY <single col> expressions as key-defining. #99 2025-07-28 22:50:08 +02:00
Sebastian Jeltsch
4c169c6b68 Move dart client to /client/dart. 2025-07-24 17:30:10 +02:00
Sebastian Jeltsch
6d5c2473a6 Add Dart workspace and clean up pre-commit hooks. 2025-07-24 15:54:00 +02:00
Evgeniy Filimonov
996c5d0b04 Fix: make OAuth login in examples/blog/flutter work
Problems fixed:

- The app didn't register its custom uri scheme trailbase-example-blog so
  flutter_web_auth_2 couldn't extract the authorization code from redirect.
  Fix by adding an activity to AndroidManifest.xml per flutter_web_auth_2
  instructions.

- After extracting the code from redirect uri, flutter_web_auth_2 didn't
  close the browser tab. Remove android:taskAffinity="" per
  73f91891ee

- The app failed with exception right at start b/c SharedPreferences
  accessed flutter before it was fully inited. Init flutter with
  WidgetsFlutterBinding.ensureInitialized() before using prefs.
2025-07-24 12:42:22 +02:00
Sebastian Jeltsch
64610b8853 Support custom uri schemes for auth redirects. #100 2025-07-24 12:28:26 +02:00
Sebastian Jeltsch
b3a9656964 Update JS dependencies. 2025-07-21 23:04:42 +02:00
Sebastian Jeltsch
84e0e408ca Borrow more complete todo app from upstream TanStack/db as a more attractive example. 2025-07-20 11:45:55 +02:00
Sebastian Jeltsch
0fb7937471 Update JS and Rust dependencies. 2025-07-19 11:36:19 +02:00
Sebastian Jeltsch
babcabaf76 Update JS dependencies. 2025-07-17 14:03:51 +02:00
Sebastian Jeltsch
b9eb39ad37 Add a custom Hero banner to langing page with install instructions and remove overly prominent roadmap (still in docs). 2025-07-17 13:54:11 +02:00
Sebastian Jeltsch
9b2e7d229e TrailBase is now an officially supported TanStack/db backend. Update local-first example to use official integration. 🎉 2025-07-17 10:18:11 +02:00
Sebastian Jeltsch
e8c0402c20 Update Rust and JS dependencies. 2025-07-15 10:57:44 +02:00
Sebastian Jeltsch
321006fbe7 Call out PKCE in auth docs. 2025-07-14 11:38:49 +02:00
Sebastian Jeltsch
13a252a8be Update preliminary tanstack-db integration and JS dependencies. 2025-07-12 12:38:17 +02:00
Sebastian Jeltsch
5ff3541cd1 Update JS deps. 2025-07-06 09:27:03 +02:00
Sebastian Jeltsch
6d57ff156a Update tanstack-db TB integation to match upstream PR. 2025-07-05 10:01:53 +02:00
Sebastian Jeltsch
94e10149ff Make JS/TS client more testable and move generic parameter from individual methods to RecordApi. 2025-07-04 15:52:30 +02:00
Sebastian Jeltsch
f1cafc43b6 Update tanstack/db deps. 2025-06-30 15:00:18 +02:00
Sebastian Jeltsch
8dda807001 Update Rust and JS dependencies. 2025-06-28 08:27:52 +02:00
Sebastian Jeltsch
dcef3023ec Implement "await" logic consistent with electric's integration and also implement update & delete. 2025-06-26 11:11:40 +02:00
Sebastian Jeltsch
cafe9756b3 Local-first: move more responsibility into the TS/db-TB integration. 2025-06-25 10:44:11 +02:00
Sebastian Jeltsch
a03dd11a5f PoC @tanstack/db local-first example using record subscriptions.
There's still many open questions:
 * What's the future of @tanstack/db? Currently a rapidly moving target.
 * What's a good way to persist state locally to reduce gap to intitial
   fetch.
 * Could Compare-and-Swap (CaS) insert semantics help us.
2025-06-24 13:59:48 +02:00
Sebastian Jeltsch
e964984849 Update Rust & JS deps. 2025-06-23 22:32:01 +02:00
Sebastian Jeltsch
bb76714c41 Update dependencies. 2025-06-17 14:59:23 +02:00
Sebastian Jeltsch
1ac9c2633e Update JS dependencies. 2025-06-14 11:59:08 +02:00
Sebastian Jeltsch
e0f3cd5524 Update JS dependencies. 2025-06-11 12:38:04 +02:00
Sebastian Jeltsch
5a8032c5fb Prepare new release v0.13.0. 2025-06-08 13:33:07 +02:00
Sebastian Jeltsch
4bf98218fe Also check session as part of /api/auth/v1/status and add a (sub-optimal) async session validation to TS client's constructor when initialized with tokens. 2025-06-08 12:54:23 +02:00
Sebastian Jeltsch
44ee973cb3 Turn client.avatarUrl() sync and update example. 2025-06-07 22:55:11 +02:00
Sebastian Jeltsch
2b33fbcaa9 Remove _user_avatar record APIs after adding dedicated avatar APIs. 2025-06-07 22:55:11 +02:00
Sebastian Jeltsch
c3cd9bd2da Replace avatar url + record API with dedicated read avatar API. 2025-06-06 22:38:33 +02:00
Sebastian Jeltsch
385a9ecceb Use --prefer-offline over plain --offline for installing JS deps. 2025-06-04 11:12:24 +02:00
Sebastian Jeltsch
ffbe4dca3f Update Rust and JS deps. 2025-06-04 11:11:39 +02:00
Sebastian Jeltsch
08d63d57f5 Fix stale but inconsequential bindings path. 2025-06-03 14:40:07 +02:00
Sebastian Jeltsch
77a2b79d5a Update JS dependencies. 2025-06-02 21:07:06 +02:00
Sebastian Jeltsch
271407e51e Wire up GeoLite2-City geoip databases into dashboard. #64 2025-05-29 23:59:20 +02:00
Sebastian Jeltsch
5152cf9000 Replace vendored refinery with a more proper fork stripping all the unused bits and bobs. 2025-05-27 22:01:06 +02:00
Sebastian Jeltsch
a0b7923759 Update JS dependencies. 2025-05-26 13:56:02 +02:00
Sebastian Jeltsch
dc59179519 Publish updated client packages after nested filter updates in TB v0.12.0. 2025-05-20 12:44:54 +02:00
Sebastian Jeltsch
4db5666c93 Update JS dependencies. 2025-05-19 20:33:12 +02:00
Sebastian Jeltsch
7318794f95 Update docs and CLI tutorial to new filter syntax. 2025-05-19 14:28:19 +02:00
Junglei Kim
9b0cd117ea fix typo 2025-05-19 14:25:04 +02:00
Sebastian Jeltsch
1b6f9e4311 Update JS dependencies. 2025-05-17 11:11:33 +02:00