Commit Graph

5945 Commits

Author SHA1 Message Date
Ruben Fiszel
2b65efca5f nit: fix go-client 2022-11-06 23:57:16 +01:00
Ruben Fiszel
11577f4a4e chore(main): release 1.45.0 (#855)
* chore(main): release 1.45.0

* Apply automatic changes

* Update CHANGELOG.md

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-06 23:50:19 +01:00
Ruben Fiszel
7c97fac746 feat: support bash as 4th language (#865)
* bash support

* bash backend working

* frontend part

* bash backend working
2022-11-06 23:48:18 +01:00
Jakub Kołodziejczak
5bee890032 chore(backend): set csp based on env var (#864)
* chore(backend): set csp based on env var

* use extension instead of reading directly from env var
2022-11-06 22:35:37 +01:00
Jakub Kołodziejczak
d8d82fa12d chore(csp): fix trailing semicolon (#863) 2022-11-06 19:50:45 +01:00
Ruben Fiszel
030bfa9fbb nit UX on FlowPreviewContent 2022-11-06 18:16:55 +01:00
Jakub Kołodziejczak
2562f98cbc fix(backend): improve csp (#861)
rationale for setting `'unsafe-inline'` is that it cannot be more void
than the lack of `script-src` but it still might add some benefits
2022-11-06 18:00:16 +01:00
Jakub Kołodziejczak
df1c619e25 fix(backend): tighten http security headers (#860)
* fix(backend): set http security headers (vol.1)

* (vol.2) minimal *working* content security policy

* (vol.3) set csp only if https and if hosted on cloud

* improve generics

* get CLOUD_HOSTED from extension

* remove X-XSS-Protection

rationale as per: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

* conditionally set all security related http headers
2022-11-06 17:07:25 +01:00
Ruben Fiszel
de9e96ddd2 UX improvements for run script 2022-11-06 16:08:10 +01:00
Ruben Fiszel
a522cea109 feat(backend): flow duration is now computed as the sum of every child 2022-11-05 22:31:54 +01:00
Ruben Fiszel
a747c0060c fix(backend): tighten security around cookies to avoid csrf (#859)
* fix(backend): tighten security around cookies to avoid csrf

* everything httponly

* sqlx

* also handle 404

* shoter Windmill v message

* fix chart
2022-11-05 21:21:13 +01:00
Ruben Fiszel
39351d3fb8 remove initial invite to demo for ruben@windmill.dev 2022-11-05 10:45:17 +01:00
Ruben Fiszel
d248ac4134 feat(backend): use result_by_id in branchone (#857)
* progress

* fix result by id
2022-11-04 12:06:08 +01:00
Ruben Fiszel
3b1368700e fix approving twice same flow 2022-11-04 00:32:55 +01:00
Ruben Fiszel
7410d9d32d sqlx prepare 2022-11-03 14:41:46 +01:00
Ruben Fiszel
8c8f1b9f2c feat(backend): add global delete user endpoint 2022-11-03 14:06:19 +01:00
Ruben Fiszel
7be953a5b6 feat(backend): add global delete user endpoint 2022-11-03 14:06:09 +01:00
Ruben Fiszel
22ede0d34d chore(main): release 1.44.0 (#853)
* chore(main): release 1.44.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-03 13:50:34 +01:00
Kai Jellinghaus
357d313dd5 Ignore deno lockfile if invalid (#854)
* Ignore deno lockfile if invalid

* Always write file
2022-11-03 00:47:09 +01:00
Kai Jellinghaus
621ed290cf feat(backend): Deno lock files (#851)
* Enable generating locks for deno

* Handle deno lockfile

* Fix bug with empty lockfiles

* Handle deno lockfiles

* Allow unstable features when resolving deno deps

* Ignore bad lockfiles

* Handle Deno Path

* No Color output

* Fix OsStr
2022-11-02 23:52:45 +01:00
Ruben Fiszel
c71c7a2e58 UX improvements 2022-11-02 21:26:52 +01:00
Ruben Fiszel
aab23b8768 feat: implement allowed domains for self-hosted 2022-11-02 14:52:35 +01:00
Ruben Fiszel
c097a3d039 fix(backend): capture up all lockfile issues 2022-11-02 14:04:44 +01:00
Ruben Fiszel
c6b868e6a5 fix: implement require admin differently than unauthorized 2022-11-02 12:18:44 +01:00
Ruben Fiszel
e0e74fbe00 remove tokio-console 2022-11-02 12:04:35 +01:00
Ruben Fiszel
85d2f1dc77 chore(main): release 1.43.2 (#852)
* chore(main): release 1.43.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:42:45 +01:00
Ruben Fiszel
d20cebf5df chore(main): release 1.43.1 (#849)
* chore(main): release 1.43.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:01:37 +01:00
Ruben Fiszel
f7572ba2f3 approvers are available to the step right after approval 2022-11-02 10:43:19 +01:00
Ruben Fiszel
1c9b59cdfa make get suspended flow job unauthed 2022-11-02 08:50:17 +01:00
Ruben Fiszel
551795f3fd sqlx offline fixes 2022-11-01 22:13:35 +01:00
Jakub Kołodziejczak
d1df36affa fix(backend): extend default scope set for slack resource (#848)
usecase:
> as a windmill user I want to provide email of user to which slack direct message should be send

rationale:
https://api.slack.com/methods/users.lookupByEmail needs to be used. it
requires `users:read.email` (which needs to be acquired together with
`users:read` - more info: https://api.slack.com/scopes/users:read.email)
2022-11-01 22:06:02 +01:00
Ruben Fiszel
ceb7d36dee restore connect workspace to slack 2022-11-01 22:03:36 +01:00
Ruben Fiszel
7d3b8011be chore(main): release 1.43.0 (#842)
* chore(main): release 1.43.0

* Apply automatic changes

* Apply automatic changes

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-01 16:23:04 +01:00
Ruben Fiszel
a1859ca34a add a bit of docs 2022-11-01 07:50:59 +01:00
Ruben Fiszel
463d73399d feat(backend): add parallel option for forloop and branchall (#840)
* parallel

* parallel

* fix 1

* fix 2

* fix 3

* fix 3

* fix 4

* sqlx

* add parallel toggle on frontend

* parallel in frontend

* serde

* fix everything

* fix everything
2022-11-01 06:09:00 +01:00
dependabot[bot]
97bfdd1583 chore(deps): bump hyper from 0.14.20 to 0.14.22 in /backend (#838)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.20 to 0.14.22.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.22/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.20...v0.14.22)

---
updated-dependencies:
- dependency-name: hyper
  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-10-31 18:57:24 +00:00
Ruben Fiszel
759f3578ac UX nits 2022-10-31 12:46:07 +01:00
Ruben Fiszel
3b329ee323 fix account as integer II 2022-10-31 09:34:55 +01:00
Ruben Fiszel
35a836b81a fix get_resource for oauth 2022-10-30 22:56:12 +01:00
Ruben Fiszel
ca5bad7ad4 avoid duplicate components in openapi 2022-10-30 21:53:32 +01:00
Ruben Fiszel
9a4bb545cd clearer error message for unable to exchange refresh token 2022-10-30 21:35:22 +01:00
Ruben Fiszel
331bce472a chore(main): release 1.42.1 (#830)
* chore(main): release 1.42.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 21:29:00 +01:00
Ruben Fiszel
07582bc748 fix builder for python and go 2022-10-30 21:25:57 +01:00
Ruben Fiszel
f38448e494 chore(main): release 1.42.0 (#810)
* chore(main): release 1.42.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 19:09:13 +01:00
Ruben Fiszel
afd8ce8797 handle errors prior to first step better 2022-10-30 19:03:22 +01:00
Ruben Fiszel
fc61e9674e add flow_input to context of branch predicates and stop early 2022-10-30 18:24:23 +01:00
Ruben Fiszel
e8bbda8a5b fix input transforms for resource and variable 2022-10-30 17:28:59 +01:00
Ruben Fiszel
9a06c06cbd sqlx prepare 2022-10-30 17:08:03 +01:00
Ruben Fiszel
c1265c4fe3 fix full hub script 2022-10-30 17:01:12 +01:00
Ruben Fiszel
b02521d7ff fix(backend): fix error handler progress update 2022-10-30 13:47:28 +01:00