Commit Graph

48 Commits

Author SHA1 Message Date
Ruben Fiszel 62777b7a78 feat: hub flows integration 2022-07-25 10:03:52 +02:00
Ruben Fiszel 84ab9dae5d also allow editable flow 2022-07-24 11:27:36 +02:00
Ruben Fiszel b05422963b feat(backend): do not require visibility on job to see job if in possesion of uuid 2022-07-23 21:16:48 +02:00
Ruben Fiszel f6d6934584 feat: add delete schedule 2022-07-20 17:37:04 +02:00
Ruben Fiszel c34633989e feat(backend): check of no path conflict between flow and flow's primary schedules 2022-07-20 14:43:08 +02:00
Ruben Fiszel 97292d18fb fix(frontend): filter script by is_trigger and jobs by is_skipped + path fix 2022-07-19 20:23:58 +02:00
Ruben Fiszel 6939f9d76b fix: list with is_skipped + deno-client fix 2022-07-19 05:59:12 +02:00
Ruben Fiszel 98a5959fcc fix(backend): clear env variables before running script 2022-07-19 05:51:19 +02:00
Ruben Fiszel ca66d33a42 fix: consistent exists/{resource} addition + usage in frontend 2022-07-18 17:21:34 +02:00
Ruben Fiszel 6ef3754759 feat: add run_wait_result to mimic lambda ability 2022-07-18 00:45:05 +02:00
Ruben Fiszel 7e846c32a6 fix: HubPicker pick from trigger scripts when relevant 2022-07-17 18:14:50 +02:00
Ruben Fiszel af23b30c37 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 636bed8f8f wrap array results from deno scripts in object (#204) 2022-07-15 19:11:56 +02:00
sqwishy af9dec7bf4 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 cd621a6285 fix(backend): create resource would fail if is_oauth was not set 2022-07-14 19:48:14 +02:00
sqwishy 9a6db758c1 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 19435851de feat: add DISABLE_NSJAIL mode 2022-07-13 12:33:37 +02:00
Ruben Fiszel 8403fbbc02 feat: account part II, handle refresh tokens, clarify oauth UI (#196) 2022-07-13 10:35:08 +02:00
Ruben Fiszel cf2dfd7fe7 fix(backend): set error content-type to text 2022-07-07 18:07:56 +02:00
Ruben Fiszel d3904fd3eb fix: remove unnecessary v8 snapshot 2022-07-06 00:22:37 +02:00
Ruben Fiszel 330b373c24 feat: in-flow editor mvp 2022-07-05 11:26:13 +02:00
Ruben Fiszel 1dcba67a1f fix: oauth logins used incorrect scope 2022-07-04 22:57:04 +02:00
Ruben Fiszel d092c622c4 fix: trace errors body 2022-07-04 22:14:46 +02:00
Ruben Fiszel 43cc952a15 fix: trace errors body 2022-07-04 07:58:51 +02:00
Ruben Fiszel 3b22a92947 fix: bump all backend deps by breaking cycling through not using oauth2 2022-07-03 09:21:48 +02:00
Ruben Fiszel 3636866dda feat: OAuth "Connect an App" (#155) 2022-07-02 21:04:41 +02:00
Ruben Fiszel dcdb989adb feat: internal state for script triggers mvp 2022-06-27 21:51:23 +02:00
Ruben Fiszel 4378c2d3f8 pass email to script hub fetching 2022-06-25 21:42:28 +02:00
Ruben Fiszel 6c622bcc32 fix: deno exit after result logging 2022-06-24 21:57:55 +02:00
Ruben Fiszel 4947661b1d feat: deno run with --unstable 2022-06-24 19:22:17 +02:00
Ruben Fiszel b10645ff65 remove quotas for premium workspaces 2022-06-24 19:20:27 +02:00
Ruben Fiszel fdf95a065e fix: change default per page to 100 2022-06-23 21:16:17 +02:00
Ruben Fiszel 276319d992 feat: better type narrowing for list and array types 2022-06-22 21:48:41 +02:00
Ruben Fiszel 28b5671402 fix: rename ResourceType -> Resource 2022-06-14 08:55:55 +02:00
Ruben Fiszel e127d2f79f feat: add ResourceType<'name'> as deno signature arg type 2022-06-14 03:04:00 +02:00
Ruben Fiszel 359ef15fa2 fix: more flexible ResourceType MainArgSignature parser 2022-06-14 02:23:34 +02:00
Ruben Fiszel f1ee5f3130 feat: add ResourceType<'name'> as deno signature arg type 2022-06-14 01:43:24 +02:00
Ruben Fiszel 8c4999d528 fix DISABLE_NUSER 2022-06-12 13:55:04 +02:00
Ruben Fiszel cce46f9440 feat: add DISABLE_NUSER for older kernels 2022-06-12 13:30:40 +02:00
Ruben Fiszel 1a61d50076 feat: alpha hub integration + frontend user store fixes + script client base_url fix 2022-06-12 01:55:05 +02:00
Ruben Fiszel 33fed8e04d fix: language field broke flow too 2022-05-18 23:28:09 +02:00
Ruben Fiszel 7564d2cb1e fix: run scirpt 2022-05-18 22:50:56 +02:00
Ruben Fiszel 03ec38e001 update cargo 2022-05-17 20:52:42 +02:00
Ruben Fiszel 2e1d43033f 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 2c28031e44 fix: also store and display "started at" for completed jobs (#33) 2022-05-10 21:32:07 +02:00
Ruben Fiszel 7a51f842f0 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