Commit Graph

42 Commits

Author SHA1 Message Date
Ruben Fiszel 8360c03df8 fix: list with is_skipped + deno-client fix 2022-07-19 05:59:12 +02:00
Ruben Fiszel 9c50e023ec fix(backend): clear env variables before running script 2022-07-19 05:51:19 +02:00
Ruben Fiszel 10e9549ded fix: consistent exists/{resource} addition + usage in frontend 2022-07-18 17:21:34 +02:00
Ruben Fiszel 2b712e6ce5 feat: add run_wait_result to mimic lambda ability 2022-07-18 00:45:05 +02:00
Ruben Fiszel 36de76e8b3 fix: HubPicker pick from trigger scripts when relevant 2022-07-17 18:14:50 +02:00
Ruben Fiszel 738d429f2f feat: trigger scripts and have flows being triggered by checking new external events regularly (#200)
* v1 trigger scripts

* progress

* stop early condition

* backend execution model

* progress

* progress

* progress

* works but todo: collect result, render forloop, convert forloopraw to seq for frontend

* collect result

* v1

* that's enough

* sed
2022-07-17 13:17:45 +02:00
sqwishy b2808a1ab9 wrap array results from deno scripts in object (#204) 2022-07-15 19:11:56 +02:00
sqwishy 75ee922127 deno script args spread to array (#203)
smol issue where a deno script with parameters named `main` or `run`
will try to assign over imported main or the run function.

This uses the spread syntax to unpack the arguments and arrange them in
an array in argument order.  Instead of making assignments to the scope.
2022-07-14 21:30:31 +02:00
Ruben Fiszel d3cbe19c73 fix(backend): create resource would fail if is_oauth was not set 2022-07-14 19:48:14 +02:00
sqwishy 45827e82dc fix: write job arguments to file (#199)
Job arguments are serialized to JSON and then parsed by the Python/Deno
script.  The current code tries to escape the JSON and include it as a
string in either of those languages.  It doesn't quite work right and
there are some issues with escaping.  This writes the JSON string to a
file and loads the file from those scripts instead.
2022-07-14 18:42:29 +02:00
Ruben Fiszel 87b4493272 feat: add DISABLE_NSJAIL mode 2022-07-13 12:33:37 +02:00
Ruben Fiszel 670e55b34b feat: account part II, handle refresh tokens, clarify oauth UI (#196) 2022-07-13 10:35:08 +02:00
Ruben Fiszel 8c6f4ad4eb fix(backend): set error content-type to text 2022-07-07 18:07:56 +02:00
Ruben Fiszel 064144199c fix: remove unnecessary v8 snapshot 2022-07-06 00:22:37 +02:00
Ruben Fiszel c2e9ef1ca0 feat: in-flow editor mvp 2022-07-05 11:26:13 +02:00
Ruben Fiszel a9dd7cac55 fix: oauth logins used incorrect scope 2022-07-04 22:57:04 +02:00
Ruben Fiszel 2e96c79179 fix: trace errors body 2022-07-04 22:14:46 +02:00
Ruben Fiszel 01db9f75fb fix: trace errors body 2022-07-04 07:58:51 +02:00
Ruben Fiszel dd1d7c4c72 fix: bump all backend deps by breaking cycling through not using oauth2 2022-07-03 09:21:48 +02:00
Ruben Fiszel 60d48708f6 feat: OAuth "Connect an App" (#155) 2022-07-02 21:04:41 +02:00
Ruben Fiszel ab7a09cb62 feat: internal state for script triggers mvp 2022-06-27 21:51:23 +02:00
Ruben Fiszel d7bd6d213e pass email to script hub fetching 2022-06-25 21:42:28 +02:00
Ruben Fiszel c7cd6b59bd fix: deno exit after result logging 2022-06-24 21:57:55 +02:00
Ruben Fiszel b9118d4ad3 feat: deno run with --unstable 2022-06-24 19:22:17 +02:00
Ruben Fiszel c22f0f2740 remove quotas for premium workspaces 2022-06-24 19:20:27 +02:00
Ruben Fiszel 5bcb9f1db7 fix: change default per page to 100 2022-06-23 21:16:17 +02:00
Ruben Fiszel b203586fb1 feat: better type narrowing for list and array types 2022-06-22 21:48:41 +02:00
Ruben Fiszel a8d1e703e1 fix: rename ResourceType -> Resource 2022-06-14 08:55:55 +02:00
Ruben Fiszel c0838c6998 feat: add ResourceType<'name'> as deno signature arg type 2022-06-14 03:04:00 +02:00
Ruben Fiszel a8f92c7756 fix: more flexible ResourceType MainArgSignature parser 2022-06-14 02:23:34 +02:00
Ruben Fiszel c2b8848d2f feat: add ResourceType<'name'> as deno signature arg type 2022-06-14 01:43:24 +02:00
Ruben Fiszel 02381a2e7a fix DISABLE_NUSER 2022-06-12 13:55:04 +02:00
Ruben Fiszel 924a0b6855 feat: add DISABLE_NUSER for older kernels 2022-06-12 13:30:40 +02:00
Ruben Fiszel 193a26cfad feat: alpha hub integration + frontend user store fixes + script client base_url fix 2022-06-12 01:55:05 +02:00
Ruben Fiszel c039ffe81e fix: language field broke flow too 2022-05-18 23:28:09 +02:00
Ruben Fiszel dc9997ed86 fix: run scirpt 2022-05-18 22:50:56 +02:00
Ruben Fiszel 48c8875ca2 update cargo 2022-05-17 20:52:42 +02:00
Ruben Fiszel 51a4cd359e feat: Typescript support for scripts (alpha)
* typescript support

* frontend

* type inference

* type inference

* v0 works

* v0 typescript

* v0 typescript

* deno-client v0

* deno-client v0

* build_deno

* rm autogenerated files

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* test workflow

* on tags

* createResource

* createResource

* createResource2

* typescript support

* templates

* include version
2022-05-17 20:42:05 +02:00
Ruben Fiszel 9bee83caae fix: also store and display "started at" for completed jobs (#33) 2022-05-10 21:32:07 +02:00
Ruben Fiszel b229455b96 feat: superadmin settings 2022-05-08 17:03:13 +02:00
Ruben Fiszel 980693ad06 modify headers 2022-05-05 10:22:33 +02:00
Ruben Fiszel 2e132878e4 first commit 2022-05-05 04:25:58 +02:00