Commit Graph

5945 Commits

Author SHA1 Message Date
dependabot[bot]
67d1b55ec5 chore(deps): bump time from 0.3.13 to 0.3.14 in /backend (#503)
Bumps [time](https://github.com/time-rs/time) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.13...v0.3.14)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:39:09 +00:00
dependabot[bot]
dfc2fb2d32 chore(deps): bump futures from 0.3.23 to 0.3.24 in /backend (#501)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.23...0.3.24)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:10:34 +00:00
dependabot[bot]
f0fcaeda8c chore(deps): bump swc_ecma_parser from 0.118.0 to 0.118.3 in /backend (#499)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.118.0 to 0.118.3.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 18:56:00 +00:00
dependabot[bot]
d445cff225 chore(deps): bump deno_core from 0.147.0 to 0.148.0 in /backend (#498)
Bumps [deno_core](https://github.com/denoland/deno) from 0.147.0 to 0.148.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 18:41:03 +00:00
Ruben Fiszel
84762df53b pass language to completed job 2022-08-25 14:55:38 +02:00
Ruben Fiszel
adb1974c29 list flow steps only on the tab 'all' 2022-08-23 15:18:44 +02:00
Ruben Fiszel
8621921eea chore(deps): update backend 2022-08-22 21:23:09 +02:00
dependabot[bot]
77ee52c0a6 chore(deps): bump serde from 1.0.143 to 1.0.144 in /backend (#461)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:18:48 +00:00
dependabot[bot]
bca456e791 chore(deps): bump swc_common from 0.27.8 to 0.27.9 in /backend (#460)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.27.8 to 0.27.9.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:01:37 +00:00
dependabot[bot]
4917e67d8d chore(deps): bump anyhow from 1.0.61 to 1.0.62 in /backend (#458)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.61...1.0.62)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 18:38:44 +00:00
Ruben Fiszel
5563990d74 add base_url to DENO_AUTH_TOKENS 2022-08-22 02:47:44 +02:00
Ruben Fiszel
925c581f07 feat: pass bearerToken as queryArg 2022-08-21 22:39:19 +02:00
Ruben Fiszel
635e2e1a84 chore(main): release 1.34.0 (#456)
* chore(main): release 1.34.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-21 22:09:23 +02:00
Ruben Fiszel
b467845aa6 feat: implicit types infered from default parameters 2022-08-21 22:01:24 +02:00
Ruben Fiszel
2782e1c60d chore(main): release 1.33.0 (#455)
* chore(main): release 1.33.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-21 17:21:54 +02:00
Ruben Fiszel
52a5cb31a1 chore(main): release 1.32.0 (#444)
* chore(main): release 1.32.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-21 14:10:42 +02:00
Ruben Fiszel
e18f814d77 fix: restart zombie jobs was restarting all jobs 2022-08-21 12:19:31 +02:00
Ruben Fiszel
59140a570c remove unecessary comment in worker 2022-08-21 12:10:03 +02:00
Ruben Fiszel
c265e1a385 remove unecessary transaction in worker 2022-08-21 12:08:15 +02:00
Ruben Fiszel
f1c8f593da optimize python parsing + adding tests 2022-08-21 10:53:41 +02:00
Ruben Fiszel
c9e0afd652 fix: cancel a flow now does the expected behavior 2022-08-20 19:23:43 +02:00
Ruben Fiszel
f01991b7a4 fix(backend): clear_schedule only clear non running jobs 2022-08-20 19:14:16 +02:00
Ruben Fiszel
feb49e9561 fix(backend): started_at info for completed_job is no more completed_at 2022-08-20 17:06:13 +02:00
Ruben Fiszel
8f15bc1543 optimize for python code having no imports 2022-08-20 16:21:04 +02:00
Ruben Fiszel
0caf7e4070 fix collection on forloops + increase number of tests 2022-08-20 16:08:11 +02:00
Ruben Fiszel
091e4224fc sqlx offline 2022-08-20 15:21:15 +02:00
Ruben Fiszel
f679e67de8 feat: rely on PG time rather than worker time 2022-08-20 15:16:08 +02:00
sqwishy
84fd2e2532 feat(backend): failure_module (#452)
* run failure_module

- renames FlowModule.input_transform to input_transforms
- parse_deno_signature prints source on failure instead of debug
  representation of AST

* s/should_continue_job/should_continue_flow
2022-08-19 20:18:07 +02:00
sqwishy
e42355b27c fix(backend): fixes forloop with 257 items only iterates once (#446)
usize as u8 will mask out the higher bits, so 0x100 as u8 is 0x00, 0x101
is 0x01 and only iterates once, etc....

refactors push_next_flow_job a bit
2022-08-19 17:14:46 +02:00
Ruben Fiszel
131483751f pass BASE_INTERNAL_URL to the python process 2022-08-19 07:09:50 +02:00
Ruben Fiszel
8329e1ab95 pass BASE_INTERNAL_URL to the deno process 2022-08-19 07:02:10 +02:00
Ruben Fiszel
f26ace0cf1 fix export to tarball 2022-08-19 00:55:38 +02:00
Ruben Fiszel
7564901a84 use ts extension for private imports 2022-08-18 22:18:57 +02:00
Ruben Fiszel
d2f5505589 feat: private imports 2022-08-18 21:49:24 +02:00
Ruben Fiszel
d3e0982bac fix behavior of disable nsjail and disable nuser 2022-08-18 17:22:16 +02:00
Ruben Fiszel
6654474501 allow longer name for created_by 2022-08-18 15:01:17 +02:00
Ruben Fiszel
79ec90acfc fix forloop empty no step afterward 2022-08-18 00:01:04 +02:00
Ruben Fiszel
47169f9c0b fix: handle 0 length for-loops in the backend (#440)
* wip

* TODO

* my fix works I think
2022-08-17 15:56:49 +02:00
Ruben Fiszel
adb3e80b5d chore(main): release 1.31.0 (#405)
* chore(main): release 1.31.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-17 12:05:43 +02:00
Ruben Fiszel
ad4c06df94 remove zendesk 2022-08-16 23:45:58 +02:00
Ruben Fiszel
8f05438c5e add zendesk oauth client 2022-08-16 23:28:31 +02:00
Ruben Fiszel
d31804802e fix(backend): collecting result when for loop is not the last step #422
* wip: step after forloop results

Adding a failing test so I don't forget out about it.

In the last step, `items` is `4`, the last item in iteration, rather
than the collected list.  My guess is this is because the results aren't
collected unless the flow quits early or the forloop module is the last
module so that `last_step` is true.

* test

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-08-16 23:03:55 +02:00
Ruben Fiszel
2c7509497b remove non admin user 2022-08-16 21:00:11 +02:00
dependabot[bot]
3e3106a74e Bump chrono from 0.4.21 to 0.4.22 in /backend (#420)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 19:43:27 +00:00
dependabot[bot]
7810b4bd78 Bump anyhow from 1.0.60 to 1.0.61 in /backend (#414)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.60...1.0.61)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 19:31:47 +00:00
dependabot[bot]
4308d9a800 Bump futures from 0.3.21 to 0.3.23 in /backend (#417)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.23)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 19:11:22 +00:00
dependabot[bot]
d6bd2fb981 Bump swc_ecma_parser from 0.117.0 to 0.117.4 in /backend (#416)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.117.0 to 0.117.4.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 19:02:35 +00:00
dependabot[bot]
222721fdc7 Bump deno_core from 0.146.0 to 0.147.0 in /backend (#412)
Bumps [deno_core](https://github.com/denoland/deno) from 0.146.0 to 0.147.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 18:45:31 +00:00
Ruben Fiszel
f1b9964fe0 pass path as env variable 2022-08-15 13:51:16 +02:00
Ruben Fiszel
7b81de9665 make executable paths configurable 2022-08-15 13:32:51 +02:00