Commit Graph

214 Commits

Author SHA1 Message Date
sqwishy 6b2ff5a87f DATABASE_CONNECTIONS sets Pool max_connections (#376)
If unspecified, defaults to the current value of 100
2022-08-09 09:47:48 +02:00
dependabot[bot] 2247b133c2 Bump chrono from 0.4.19 to 0.4.20 in /backend (#374)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.19 to 0.4.20.
- [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.19...v0.4.20)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 20:07:05 +00:00
dependabot[bot] 8cddc74131 Bump anyhow from 1.0.59 to 1.0.60 in /backend (#373)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.59...1.0.60)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 19:56:36 +00:00
dependabot[bot] 27bc562ff1 Bump serde_json from 1.0.82 to 1.0.83 in /backend (#372)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.83)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 19:38:46 +00:00
dependabot[bot] becf1949e2 Bump serde from 1.0.141 to 1.0.142 in /backend (#362)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.141 to 1.0.142.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.142)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 19:07:13 +00:00
dependabot[bot] 429d09198c Bump sqlx from 0.6.0 to 0.6.1 in /backend (#360)
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/launchbadge/sqlx/releases)
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.6.0...v0.6.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 18:41:59 +00:00
dependabot[bot] 2fae9cff18 Bump thiserror from 1.0.31 to 1.0.32 in /backend (#359)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.32)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 18:39:59 +00:00
dependabot[bot] 21bb451d9d Bump deno_core from 0.145.0 to 0.146.0 in /backend (#357)
Bumps [deno_core](https://github.com/denoland/deno) from 0.145.0 to 0.146.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 18:32:53 +00:00
Ruben Fiszel 785d3ea4e7 raise limit to 200000 chars 2022-08-08 13:57:39 +02:00
Ruben Fiszel a613b45f8b surface better the transform_json_value step errors 2022-08-08 11:54:01 +02:00
Ruben Fiszel cdf2d2f7df increase limit to 900s over the last 1200s 2022-08-07 14:39:57 +02:00
Ruben Fiszel 8153718166 do rate limit based on as_permissioned_as 2022-08-07 14:04:17 +02:00
Ruben Fiszel c69621fa7a fix: update logs even if last new log was < 500ms 2022-08-07 13:48:37 +02:00
Ruben Fiszel b647f59c82 rewrite kill wait 2022-08-07 12:55:21 +02:00
Ruben Fiszel 79af9abb92 prevent log spam abuse 2022-08-07 12:50:28 +02:00
Ruben Fiszel 56a3a9c4f5 more logging around command executions 2022-08-07 12:25:45 +02:00
Ruben Fiszel 2c6f1c3b82 more logging around command executions 2022-08-07 12:00:41 +02:00
Ruben Fiszel dfb4339c5e audit logs for all execute case 2022-08-07 11:14:00 +02:00
Ruben Fiszel fbe878407c add summary field for modules 2022-08-06 23:37:17 +02:00
Ruben Fiszel bd8bcb36a1 rework input transform for the forloop module 2022-08-06 14:02:39 +02:00
Ruben Fiszel 33962c4466 fix(python): not filled field with default <function_call> now call the default function 2022-08-06 12:51:14 +02:00
Ruben Fiszel da630b5add display inputs in flow viewer too 2022-08-06 09:30:10 +02:00
Ruben Fiszel bc35a81bec improve error message for parsing 2022-08-06 08:45:37 +02:00
Ruben Fiszel 0346d955f9 rework default python script 2022-08-05 20:21:13 +02:00
Ruben Fiszel 07f4a217d0 feat: _value, _index => iter.value, iter.index 2022-08-05 20:11:25 +02:00
Ruben Fiszel 8b68a87c52 fix: do not skip undefined values 2022-08-05 19:53:28 +02:00
Ruben Fiszel e76a9816ee feat: remove res1 wrapping 2022-08-05 19:47:00 +02:00
Ruben Fiszel 8fa933a171 chore(main): release 1.28.1 (#342)
* chore(main): release 1.28.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-05 17:17:02 +02:00
Ruben Fiszel 4c98cf4b66 do not cache html, cache everything else for a long time 2022-08-05 11:00:41 +02:00
Ruben Fiszel 11c37c267f fix extra_params basecamp 2022-08-05 09:59:00 +02:00
Ruben Fiszel 41063f34c3 add basecamp oauth 2022-08-05 09:42:45 +02:00
Ruben Fiszel 7755e6fea9 chore(main): release 1.28.0 (#323)
* chore(main): release 1.28.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-05 01:53:57 +02:00
Ruben Fiszel 6b129b213b fix flowstatusviewer and updating to in_progress much sooner 2022-08-05 00:46:10 +02:00
Ruben Fiszel 986e76dc87 fix(oauth2): remove discord oauth integration 2022-08-04 16:05:40 +02:00
Ruben Fiszel 6332910dd2 fix(backend): generalize oauth clients to take in extra params 2022-08-04 14:32:04 +02:00
Ruben Fiszel 3bcd542130 fix(backend): handle better some flow edge-cases 2022-08-04 01:50:47 +02:00
Ruben Fiszel 988536128b fix(backend): handle better some flow edge-cases 2022-08-04 01:48:53 +02:00
Ruben Fiszel 70de6e3972 fix(backend): handle better some flow edge-cases 2022-08-04 01:13:12 +02:00
sqwishy 40555868e6 fix(backend): prometheus histogram for worker job timer (#312)
* prometheus histogram for worker job timer

hosts on :8001

* some new metrics in worker + field

adds start_time_seconds, job_duration_seconds & jobs_failed

* use tokio task_local to count job failures

* METRICS_ADDR environment variable off by default

true defaults to 0.0.0.0:8001 otherwise expects a socket address

* pass metrics as args instead of task local
2022-08-02 22:56:25 +02:00
Ruben Fiszel d3b6878d45 chore(main): release 1.27.2 (#322)
* chore(main): release 1.27.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-02 18:40:33 +02:00
Ruben Fiszel 7f75fc7e5b chore(main): release 1.27.1 (#321)
* chore(main): release 1.27.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-02 17:31:42 +02:00
Ruben Fiszel 9daff2a228 feat: add primitive sql format (#320) 2022-08-02 16:55:20 +02:00
Ruben Fiszel 990634cb69 chore: update backend 2022-08-02 00:49:21 +02:00
Mike 9e84b458b1 fix: typos (#301) 2022-08-01 17:17:19 +02:00
Ruben Fiszel 30bd56563f reimport openflow as schemas 2022-08-01 17:07:43 +02:00
Ruben Fiszel 02ff2655a3 reimport openflow as schemas 2022-08-01 16:59:12 +02:00
Ruben Fiszel 3554198ae2 chore(main): release 1.26.3 (#294)
* chore(main): release 1.26.3

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-01 16:53:18 +02:00
Ruben Fiszel 734019e2a0 update flowapi to be easier on deno generator 2022-08-01 16:38:51 +02:00
Ruben Fiszel 803fb510c4 update current job to in progress 2022-07-31 22:47:07 +02:00
Ruben Fiszel 3ebc9b7b09 update current job to in progress 2022-07-31 22:41:41 +02:00