Commit Graph

717 Commits

Author SHA1 Message Date
Ruben Fiszel b3e821e1b2 also handle the case where it's the input transform of the first flow job that fails 2022-07-29 20:48:39 +02:00
Ruben Fiszel 3e07ae2b55 fix: forloop flows unsoundness fix part I 2022-07-29 20:36:57 +02:00
Ruben Fiszel 771de0990a fix: update variable and resources now return error if nothing was updated 2022-07-29 11:07:59 +02:00
Ruben Fiszel a8d4b7d535 typescript parser now support ? syntax for args 2022-07-28 21:40:47 +02:00
Ruben Fiszel c3259ec262 fix: if :path is not a valid path, do not even attempt to fetch it 2022-07-28 12:59:14 +02:00
Ruben Fiszel 127bba6c9b bring back username, workspace_id in audit log 2022-07-28 09:50:00 +02:00
Ruben Fiszel 98c57e974b improve logging 2022-07-28 02:31:52 +02:00
Ruben Fiszel c5873ddc34 nit: make handle flow log a debug 2022-07-28 00:57:47 +02:00
Ruben Fiszel 4243a46d52 fix: get_variable refresh_token bug 2022-07-27 16:24:10 +02:00
Ruben Fiszel e92f5c0b63 fix: encrypt the refresh token 2022-07-27 15:39:39 +02:00
Ruben Fiszel 5636ecd276 fix: keep previous refresh token if no new ones were provided 2022-07-27 15:21:10 +02:00
Ruben Fiszel c95da3a29d feat: skip failures loop (#258)
* wip: forloop skip failures -- very first pass

* last iteration fix + barebone UI integration

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-07-27 12:40:08 +02:00
Ruben Fiszel 07fac175a0 feat: add schedule settable from pull flows 2022-07-27 12:18:02 +02:00
Ruben Fiszel 7476021d2f fix: audit logs 2022-07-26 18:49:27 +02:00
Ruben Fiszel 022f39be01 fix(frontend): get refresh token for google services 2022-07-26 01:52:36 +02:00
Ruben Fiszel 7ded39b5ba fix(frontend): get refresh token for google services 2022-07-26 01:22:54 +02:00
Ruben Fiszel d447b0c130 fix(frontend): get refresh token for google services 2022-07-26 01:05:34 +02:00
Ruben Fiszel 4980be315c monaco-lsp downgrade + google-refresh fix + backend update 2022-07-25 22:53:08 +02:00
Ruben Fiszel faab4b7c42 feat: add google login v1 2022-07-25 21:15:46 +02:00
Ruben Fiszel 05ba0a06d0 feat: hub flows integration 2022-07-25 10:03:52 +02:00
Ruben Fiszel f402cc67c1 also allow editable flow 2022-07-24 11:27:36 +02:00
Ruben Fiszel 656e0acfc1 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 d4de9c982c feat: add delete schedule 2022-07-20 17:37:04 +02:00
Ruben Fiszel de160fba45 feat(backend): check of no path conflict between flow and flow's primary schedules 2022-07-20 14:43:08 +02:00
Ruben Fiszel 80ddfed361 fix(frontend): filter script by is_trigger and jobs by is_skipped + path fix 2022-07-19 20:23:58 +02:00
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