466 Commits

Author SHA1 Message Date
Ruben Fiszel f13aeb3d27 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>
v1.26.2
2022-07-31 16:42:00 +02:00
Ruben Fiszel 5b548a0e71 fix: deno api generator now supports openflow 2022-07-31 16:39:39 +02:00
Ruben Fiszel 99290bb3bb 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>
v1.26.1
2022-07-31 16:20:41 +02:00
Ruben Fiszel 6b61227481 fix: encoding state now supports unicode including emojis 2022-07-31 16:17:43 +02:00
Ruben Fiszel 19d15cf453 clean further the openapi InputTransform 2022-07-31 11:23:21 +02:00
Ruben Fiszel 85b67f1aea urgent fix for frontend: flow -> newFlow 2022-07-31 10:22:30 +02:00
Ruben Fiszel e408aa9737 build first for tsconfig to exists 2022-07-31 01:37:26 +02:00
Ruben Fiszel d6305e8c6b change openflow encoding for more proper oneOf + fix all from svelte:check 2022-07-31 01:20:52 +02:00
Ruben Fiszel 9fda6c758e Put openflow.openapi.yaml at root for visibility #290 2022-07-30 20:10:45 +02:00
Ruben Fiszel d2f47b2b23 fix other references to openapi.yaml 2022-07-30 17:37:17 +02:00
Ruben Fiszel 35aaa7c36e split openapi & openflow 2022-07-30 17:30:34 +02:00
Ruben Fiszel da381c7d0b little notice for clients 2022-07-30 16:36:59 +02:00
Ruben Fiszel dd708ffa61 transferring copyright from ruben to windmill labs 2022-07-30 14:09:41 +02:00
Ruben Fiszel 9cff49af6f privilege having a parent than a schedule 2022-07-30 01:17:12 +02:00
Ruben Fiszel 9afc38e610 job can be triggered by a schedule and from a flow 2022-07-30 01:14:41 +02:00
Ruben Fiszel ee08b2b352 more errors 2022-07-30 01:10:01 +02:00
Ruben Fiszel 3ad02f294f 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>
v1.26.0
2022-07-30 00:08:16 +02:00
sqwishy e1d16860e4 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 64fd443c67 treat sqlx-data.json as binary in git diff (#265) 2022-07-30 00:02:34 +02:00
Ruben Fiszel 93a18b2c4d autoscroll + status viewer auto update 2022-07-30 00:02:03 +02:00
Ruben Fiszel 2ecec4b34c cargo fmt II 2022-07-29 21:35:50 +02:00
Ruben Fiszel 6cf4072f1d cargo fmt 2022-07-29 21:29:59 +02:00
Ruben Fiszel 8dca5e0341 protect against ill-defined state for flows restart 2022-07-29 21:14:56 +02:00
Ruben Fiszel b9ff6e78c3 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 1b5ce3243b fix: forloop flows unsoundness fix part I 2022-07-29 20:36:57 +02:00
Ruben Fiszel d1a3f7162f fix init of static step inputs 2022-07-29 17:52:45 +02:00
Ruben Fiszel 32f8132b39 fix list rendering + (s) 2022-07-29 17:39:31 +02:00
Ruben Fiszel 4e3a02a8e4 fix: small bar mode and editor nits 2022-07-29 16:58:03 +02:00
Ruben Fiszel 22cb810913 no more infer button 2022-07-29 16:47:29 +02:00
Ruben Fiszel 50902366e5 connect an app under resource picker 2022-07-29 16:27:05 +02:00
Ruben Fiszel dd4618b8bb nit on connect an app under resources picker 2022-07-29 15:53:56 +02:00
Ruben Fiszel 9ee60fd86c prop picker improvements 2022-07-29 15:40:42 +02:00
Ruben Fiszel 01bb107a0f feat: resource type picker in schema modal + proper initialization of raw javascript editor when applicable 2022-07-29 14:13:44 +02:00
Ruben Fiszel d2347dd5b9 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>
v1.25.0
2022-07-29 11:44:03 +02:00
Ruben Fiszel 2cb6e6e702 feat: base64 support in schema editor 2022-07-29 11:40:28 +02:00
Ruben Fiszel 0faabdbc40 fix: update variable and resources now return error if nothing was updated 2022-07-29 11:07:59 +02:00
Ruben Fiszel fa2af935f8 monaco-lsp fixes 2022-07-29 01:45:53 +02:00
Ruben Fiszel 1249ca1420 monaco-lsp fixes 2022-07-29 01:41:13 +02:00
Ruben Fiszel 6fca7859ab 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>
v1.24.2
2022-07-29 00:55:47 +02:00
Ruben Fiszel e0b5baaee7 fix internal state path 2022-07-29 00:52:55 +02:00
Ruben Fiszel 59ab5f711c make Resource an any to avoid error on field access 2022-07-29 00:36:54 +02:00
Ruben Fiszel 5a0fc96f7b editor fixes 2022-07-28 23:13:03 +02:00
Ruben Fiszel 80f7d6c77d typescript parser now support ? syntax for args 2022-07-28 21:40:47 +02:00
Ruben Fiszel a1d1c1bed7 small ui fix 2022-07-28 21:10:11 +02:00
Ruben Fiszel 9d131e6622 add publish to hub buttons 2022-07-28 20:11:55 +02:00
Ruben Fiszel 6dec447953 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 eafde7317e bring back username, workspace_id in audit log 2022-07-28 09:50:00 +02:00
Ruben Fiszel 099caf540d improve logging 2022-07-28 02:31:52 +02:00
Ruben Fiszel c2c83608c8 nit: make handle flow log a debug 2022-07-28 00:57:47 +02:00
Ruben Fiszel f0b76f2600 fix deno on javascript input transforms 2022-07-27 22:26:34 +02:00