Commit Graph

25 Commits

Author SHA1 Message Date
Sebastian Jeltsch
697b2459ef Update JS and Dart dependencies. 2024-11-28 00:39:36 +01:00
Sebastian Jeltsch
70deee0c98 Update documentation after publishing python client to pypi. 2024-11-27 23:33:18 +01:00
Sebastian Jeltsch
07f0500f9f Add fist version of a TrailBase Python client including tests and CI setup 2024-11-27 13:29:56 +01:00
Sebastian Jeltsch
bc09fde7ab Implemented a custom JS event loop and use call_function_immediate with custom completers to allow interleaving multiple requests into the same isolate.
This avoids idle while JS is doing I/O and avoid corner-case of livelock when running out of free workers while TB calls itself.
2024-11-23 23:13:34 +01:00
Sebastian Jeltsch
338c4c77bb Add support for periodic tasks to JS runtime. 2024-11-21 13:15:02 +01:00
Sebastian Jeltsch
b004188a5a Introduce Method type to narrow js/ts runtime APIs. 2024-11-20 13:48:41 +01:00
Sebastian Jeltsch
fd050bd719 Publish dotnet client on NuGet.org. 2024-11-19 22:25:29 +01:00
Sebastian Jeltsch
dbd582275e Prepare release v0.2.2. 2024-11-19 14:40:47 +01:00
Sebastian Jeltsch
3fa8f51b8b Enable "web" APIs in JS runtime and test it. 2024-11-19 14:27:07 +01:00
Sebastian Jeltsch
dc261e3405 Release v0.2.0 with JS/ES6/TS runtime based on V8-engine and dotnet client. 2024-11-14 21:37:35 +01:00
Sebastian Jeltsch
21b59dce6e Wire user auth state into JS runtime. 2024-11-14 20:45:38 +01:00
Sebastian Jeltsch
0755444169 First stab at JS/TS scripting documentation. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
ad8839f28d Add HttpError custom exception to js runtime. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
8fa26c246f Minor: Write out js runtime to traildepot and rely on relative includes. Also some opportunistic cleanups along the way. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
7465203174 Add conversions and convenience for various content-types to the js runtime. Make handlers async. Also extend the test spin up wait time with the longer build times with v8. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
ab5513c825 Minor: Improve error handling and typescript integration. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
6d37024ec4 Initial HTTP router setup: allow routing HTTP req/resp into and out of JS. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
2e0d267d2a Update dotnet dependencies and add a dedicated "cargo build" step to reduce risk of timing out. 2024-11-14 20:42:17 +01:00
Sebastian Jeltsch
9bd4f31517 Add a README.md to the TS client for future publications to the package registry. 2024-11-14 16:53:01 +01:00
Sebastian Jeltsch
73b1c093d5 Add a C# client implementation. 2024-11-12 16:48:44 +01:00
Sebastian Jeltsch
b65e54a644 Fix user id extraction in dart client. 2024-11-12 13:33:52 +01:00
Sebastian Jeltsch
b647a148fa Update dependencies. 2024-11-11 20:35:19 +01:00
Sebastian Jeltsch
75fa8d82d3 Update javascript dependencies. 2024-11-08 21:36:38 +01:00
Sebastian Jeltsch
2803de7567 Re-re-license from AGPLv3 to the weaker copyleft OSL-3.0.
After spending too much time researching licenses, my laymen
understanding makes me feel that OSL-3.0 will be a better match given
TrailBase's rare dual use as a standalone backend or framework.

It tried to outline the reasoning in the README.md. I would appreciate
input from anyone more experienced with licenses.
For now, I would like to turn my attention back to more technical issues
:hide:.
2024-11-02 12:35:10 +01:00
Sebastian Jeltsch
bdb3735840 Squash all commits for a fresh start.
This is only to avoid accidentally leaking any secrets from early development especially in the light of short-sha attacks.
2024-10-30 23:38:56 +01:00