Commit Graph

6608 Commits

Author SHA1 Message Date
Ruben Fiszel 2483072d81 improve error messages 2022-07-31 19:01:46 +02:00
Ruben Fiszel c46ef5d79a chore(main): release 1.26.2 (#293)
* chore(main): release 1.26.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-31 16:42:00 +02:00
Ruben Fiszel cd4563d34b chore(main): release 1.26.1 (#292)
* chore(main): release 1.26.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-31 16:20:41 +02:00
Ruben Fiszel 2a0d70dcbc change openflow encoding for more proper oneOf + fix all from svelte:check 2022-07-31 01:20:52 +02:00
Ruben Fiszel c4ea52b4c3 Put openflow.openapi.yaml at root for visibility #290 2022-07-30 20:10:45 +02:00
Ruben Fiszel bb81d5e019 split openapi & openflow 2022-07-30 17:30:34 +02:00
Ruben Fiszel e82e5fff56 transferring copyright from ruben to windmill labs 2022-07-30 14:09:41 +02:00
Ruben Fiszel ae2aa7b8f8 more errors 2022-07-30 01:10:01 +02:00
Ruben Fiszel 93e599b371 chore(main): release 1.26.0 (#264)
* chore(main): release 1.26.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-30 00:08:16 +02:00
sqwishy 9a632befdd job duration to ms & added to /api/w/*/users/list (#261)
* add jobs_duration to /api/w/*/users/list

A few improvements on this might be considered.

- Adding the duration to /whoami and /whois
- Optionally fetching duration conditional on a query parameter.
- Using the query parameter value to select how far back to look,
  `created_at > now() - $2 * '1 day'::interval`.

Subquery might not be optimal, but performance is a bit weird to test
right now as I haven't done much with my development database to get it
to resemble a typical (production) database.  And there aren't many
indexes currently either.

And I think my rust rustfmt doesn't run because unstable options in the
rustfmt.toml or something so the formatting might be a bit wonky.

* duration -> duration_ms for completed_job

sqlx reordered keys in sqlx-data.json so the diff is quite noisy. I'm
not sure if I did it wrong or if this tool is obnoxious that way.

* don't double count job duration in flows

* job_duration_ms to Usage duration_ms jobs flows

rustfmt got carried away sorry
2022-07-30 00:02:51 +02:00
sqwishy b1cd915847 treat sqlx-data.json as binary in git diff (#265) 2022-07-30 00:02:34 +02:00
Ruben Fiszel 8037e390db cargo fmt II 2022-07-29 21:35:50 +02:00
Ruben Fiszel d4b5a0ea3d cargo fmt 2022-07-29 21:29:59 +02:00
Ruben Fiszel fed1849256 protect against ill-defined state for flows restart 2022-07-29 21:14:56 +02:00
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 e8a3b538e7 chore(main): release 1.25.0 (#263)
* chore(main): release 1.25.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-29 11:44:03 +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 9eee28be40 chore(main): release 1.24.2 (#260)
* chore(main): release 1.24.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-29 00:55:47 +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 e47aa21782 chore(main): release 1.24.1 (#259)
* chore(main): release 1.24.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-27 15:50:18 +02:00
Ruben Fiszel e91b7e5aba fix: skip_failures is boolean not bool 2022-07-27 15:49:02 +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 8f2d9bce65 chore(main): release 1.24.0 (#238)
* chore(main): release 1.24.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-27 12:41:35 +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 908d5c8336 sqlx prepare llib 2022-07-27 12:25:44 +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
dependabot[bot] ed3585c92e chore(deps): bump serde from 1.0.139 to 1.0.140 in /backend (#253)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140)

---
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-07-25 19:47:02 +00:00
dependabot[bot] 35785db346 chore(deps): bump tokio from 1.20.0 to 1.20.1 in /backend (#252)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.0...tokio-1.20.1)

---
updated-dependencies:
- dependency-name: tokio
  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-07-25 19:17:46 +00:00
Ruben Fiszel faab4b7c42 feat: add google login v1 2022-07-25 21:15:46 +02:00
dependabot[bot] 4238bacfbf chore(deps): bump tracing-subscriber from 0.3.14 to 0.3.15 in /backend (#248)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.14...tracing-subscriber-0.3.15)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  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-07-25 19:00:59 +00:00
dependabot[bot] 83a692861c chore(deps): bump deno_core from 0.143.0 to 0.144.0 in /backend (#247)
Bumps [deno_core](https://github.com/denoland/deno) from 0.143.0 to 0.144.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-07-25 18:52:02 +00:00
dependabot[bot] f46d2f0dc0 chore(deps): bump lettre from 0.10.0 to 0.10.1 in /backend (#244)
Bumps [lettre](https://github.com/lettre/lettre) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/lettre/lettre/releases)
- [Changelog](https://github.com/lettre/lettre/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lettre/lettre/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: lettre
  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-07-25 18:43:31 +00:00
Ruben Fiszel 7776b4f823 chore(main): release 1.23.0 (#235)
* chore(main): release 1.23.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-07-25 17:52:38 +02:00
Ruben Fiszel f378f77f37 more icons for resource types 2022-07-25 16:02:32 +02:00
Ruben Fiszel 0309f93c2d fix(oauth2): add google clients 2022-07-25 13:26:19 +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