Commit Graph

5945 Commits

Author SHA1 Message Date
Ruben Fiszel
95274ea651 fix: set secure only for https 2022-08-15 10:40:01 +02:00
Ruben Fiszel
8a643b2209 remove hardcoded paths when nsjail is disabled 2022-08-15 10:08:40 +02:00
Ruben Fiszel
ae3e703df8 replace restricted gmail scope with sensitive 2022-08-15 01:48:55 +02:00
Ruben Fiszel
698c510f81 set local authorization -> set role 2022-08-14 23:33:09 +02:00
Ruben Fiszel
b5a0dc262a fix: users privileges 2022-08-14 22:47:51 +02:00
Ruben Fiszel
08374e7984 feat: db users: admin -> windmill_admin, app -> windmill_user (#404)
* feat: db users: admin -> windmill_admin, app -> windmill_user

* clean up

* backend tests

* backend tests

* backend tests

* lock roles in first migration

* check if user is superuser too

* add init-db

* add init-db
2022-08-14 18:20:27 +02:00
Ruben Fiszel
df5edbbe47 chore(main): release 1.30.0 (#399)
* chore(main): release 1.30.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-14 10:26:43 +02:00
Ruben Fiszel
3d6167399a remove println 2022-08-13 21:20:50 +02:00
Ruben Fiszel
6e8e0e59d0 feat: add literal object type support (#401) 2022-08-13 21:18:54 +02:00
Ruben Fiszel
7ff94381b1 feat: support union type will null | undefined (#400) 2022-08-13 19:35:52 +02:00
Ruben Fiszel
2d60bf2396 feat: support union types (#398) 2022-08-13 17:25:16 +02:00
Ruben Fiszel
152287ab9f full backend ci tests
* attempt ci in container

* attempt ci in container

* psql

* psql

* psql

* psql

* privileged

* cache
2022-08-12 11:21:19 +02:00
sqwishy
876709fbe9 make initialize_tracing sync and infallable (#395)
also remove tiny bit of raceyness from worker tests, there's a bit of
sync around Once but it's short so it should be fine
2022-08-12 10:44:41 +02:00
sqwishy
b17c1b1d02 pass broadcast::Receiver instead of Sender (#396)
I think this was just added a couple months ago.  If all Senders drop
the Receivers close.  This change helps avoid creating Senders that you
never send on that are just held in scope and prevent the channel from
closing.
2022-08-12 10:43:06 +02:00
sqwishy
289cd2ebaa remove unused mutex parameter for run_worker (#394) 2022-08-12 10:42:46 +02:00
Ruben Fiszel
b79ac67987 fix schedule bug 2022-08-12 04:03:39 +02:00
Ruben Fiszel
eba7054a2a disable nsjail for test 2022-08-12 03:31:50 +02:00
Ruben Fiszel
4ec74f81b2 fix test_eval_timeout 2022-08-12 02:05:59 +02:00
Ruben Fiszel
6ea04fa9e3 change notice to Windmill Labs, Inc 2022-08-12 01:53:32 +02:00
sqwishy
655a55777d backend tests for python job and deno flow (#389) 2022-08-12 01:50:31 +02:00
dependabot[bot]
070b54a1ec Bump swc_common from 0.27.0 to 0.27.1 in /backend (#391)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.27.0 to 0.27.1.
- [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-11 21:33:46 +02:00
dependabot[bot]
8f5acb00cd Bump swc_ecma_ast from 0.90.2 to 0.90.3 in /backend (#390)
Bumps [swc_ecma_ast](https://github.com/swc-project/swc) from 0.90.2 to 0.90.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_ast
  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-11 19:11:19 +00:00
Ruben Fiszel
5a7168b372 update backend + 404 on non found assets 2022-08-11 21:00:53 +02:00
dependabot[bot]
581afbbbba Bump ulid from 0.6.0 to 1.0.0 in /backend (#366)
Bumps [ulid](https://github.com/dylanhart/ulid-rs) from 0.6.0 to 1.0.0.
- [Release notes](https://github.com/dylanhart/ulid-rs/releases)
- [Commits](https://github.com/dylanhart/ulid-rs/compare/v0.6.0...v1.0.0)

---
updated-dependencies:
- dependency-name: ulid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-11 01:13:32 +02:00
sqwishy
1b48c2c1cf ping hub.windmill.dev/getip for external ip without using only reqwest (#384) 2022-08-11 01:01:24 +02:00
Ruben Fiszel
60ecf368bf chore(main): release 1.29.0 (#347)
* chore(main): release 1.29.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-10 03:16:21 +02:00
sqwishy
c11055bd83 link with lld (#382)
* link with lld

https://github.com/rust-lang/rust/issues/39915

* install lld in Dockerfile
2022-08-09 22:34:54 +02:00
sqwishy
bc3c69c554 correct query param number in delete_token (#380) 2022-08-09 17:57:03 +02:00
Ruben Fiszel
887ba750f9 fix replacement 2022-08-09 15:57:56 +02:00
Ruben Fiszel
0d9d24bb1b fix replacement 2022-08-09 15:48:28 +02:00
Ruben Fiszel
fc0a83ee6d psycopg2 => binary 2022-08-09 15:17:01 +02:00
sqwishy
2926fc54f4 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]
4bf598af2c 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]
f90cc122e0 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]
a0032e7c9e 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]
735f70a78a 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]
d2be1c9d1c 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]
91f978905a 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]
4981d6d3a9 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
0a9332187f raise limit to 200000 chars 2022-08-08 13:57:39 +02:00
Ruben Fiszel
85c1559c9f surface better the transform_json_value step errors 2022-08-08 11:54:01 +02:00
Ruben Fiszel
53b19b871c increase limit to 900s over the last 1200s 2022-08-07 14:39:57 +02:00
Ruben Fiszel
373d8085a7 do rate limit based on as_permissioned_as 2022-08-07 14:04:17 +02:00
Ruben Fiszel
69dcdbd00b fix: update logs even if last new log was < 500ms 2022-08-07 13:48:37 +02:00
Ruben Fiszel
a831cb1472 rewrite kill wait 2022-08-07 12:55:21 +02:00
Ruben Fiszel
084cc8a2dd prevent log spam abuse 2022-08-07 12:50:28 +02:00
Ruben Fiszel
503b56b3db more logging around command executions 2022-08-07 12:25:45 +02:00
Ruben Fiszel
23a2b3389b more logging around command executions 2022-08-07 12:00:41 +02:00
Ruben Fiszel
20a2b5808c audit logs for all execute case 2022-08-07 11:14:00 +02:00
Ruben Fiszel
feeaf5d963 add summary field for modules 2022-08-06 23:37:17 +02:00