Compare commits

...

1333 Commits

Author SHA1 Message Date
Ruben Fiszel
39e1ea3d57 chore(main): release 1.321.0 (#3633)
* chore(main): release 1.321.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-29 12:17:51 +02:00
HugoCasa
3956d012ad feat: add resource and variable picker for rest scripts (#3628)
* feat: add resource and variable picker for rest scripts

* feat: add reserved variables to rest scripts
2024-04-29 12:13:21 +02:00
HugoCasa
b5297846fe fix: toggle comment shortcut on some EU keyboards (#3630) 2024-04-29 12:13:12 +02:00
Ruben Fiszel
0e022c9e4e fix(python-client): improve error message for wait_job 2024-04-29 12:10:29 +02:00
Ruben Fiszel
3c79692559 chore(main): release 1.320.3 (#3629)
* chore(main): release 1.320.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-28 16:14:51 +02:00
Ruben Fiszel
08c863afd3 bump latest hub script 2024-04-28 16:10:46 +02:00
Ruben Fiszel
82e628a111 fix(cli): improve support for frontend scripts cli sync 2024-04-28 16:10:16 +02:00
Ruben Fiszel
c98dbb1fc4 chore(main): release 1.320.2 (#3627)
* chore(main): release 1.320.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-28 15:28:29 +02:00
Ruben Fiszel
e8dcd5b495 fix: bump git sync script version 2024-04-28 15:25:10 +02:00
Ruben Fiszel
9cf82b061e chore(main): release 1.320.1 (#3626)
* chore(main): release 1.320.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-28 15:21:06 +02:00
Ruben Fiszel
0fcd54bc07 fix: add button to easily bump git sync version 2024-04-28 15:17:56 +02:00
Ruben Fiszel
0a1006aa87 chore(main): release 1.320.0 (#3624) 2024-04-28 14:58:05 +02:00
Ruben Fiszel
22226e883e feat(cli): split inline sscripts for apps like for flows 2024-04-28 14:55:33 +02:00
Ruben Fiszel
c39f3a84d6 feat(cli): split lockfiles from script metadata 2024-04-28 12:29:06 +02:00
Ruben Fiszel
6c69889874 feat(cli): use separate lockfiles for rawscipt of flows 2024-04-28 02:15:31 +02:00
Ruben Fiszel
0d27df3dec update cli code 2024-04-27 18:54:10 +02:00
Ruben Fiszel
982c4c439e chore(main): release 1.319.1 (#3622)
* chore(main): release 1.319.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-26 21:25:57 +02:00
Ruben Fiszel
3875eec46f fix: improve dnd on app editor for large screens 2024-04-26 21:17:26 +02:00
Ruben Fiszel
3a5c925c99 update to bun 1.1.5 2024-04-26 20:55:15 +02:00
Ruben Fiszel
9668198f4b chore(main): release 1.319.0 (#3619)
* chore(main): release 1.319.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-26 18:29:07 +02:00
Ruben Fiszel
41f6bcdaa1 fix: make configurable footer for aggrid in apps 2024-04-26 18:25:26 +02:00
Ruben Fiszel
06aa0aa9f9 allow other cell renderer for aggrid 2024-04-26 18:19:22 +02:00
Ruben Fiszel
327be5bbc6 nits autodatatable 2024-04-26 16:57:37 +02:00
Henri Courdent
9d38c8c45f Changelog 04 26 (#3621) 2024-04-26 14:13:38 +02:00
Ruben Fiszel
de2bea613a rm go bin if cloud hosted 2024-04-26 13:42:24 +02:00
Ruben Fiszel
e3869693ec rm go bin if cloud hosted 2024-04-26 13:40:52 +02:00
HugoCasa
fee22fc060 feat: pg add json support (#3620) 2024-04-26 13:28:15 +02:00
Ruben Fiszel
c58342ddfd fix backend tests 2024-04-26 13:27:24 +02:00
Ruben Fiszel
035bacb8a7 improve select resiliency 2024-04-26 11:47:55 +02:00
Ruben Fiszel
45cad34222 small fixes 2024-04-26 11:38:44 +02:00
Ruben Fiszel
c73e7dbd8c feat: add distributed global cache for go 2024-04-26 11:31:21 +02:00
Ruben Fiszel
4188383d3e feat: add distributed global cache for go 2024-04-26 11:31:21 +02:00
wendrul
edff51f022 Add actions to publish to JSR (#3618)
add it to change-version.sh and publish action
2024-04-26 11:18:46 +02:00
Ruben Fiszel
a2c780bc8e chore(main): release 1.318.0 (#3611)
* chore(main): release 1.318.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-26 09:10:56 +02:00
Ruben Fiszel
094f50cdcc publish to jsr2 2024-04-25 19:08:21 +02:00
Ruben Fiszel
08918ec5f2 publish to jsr2 2024-04-25 18:12:01 +02:00
wendrul
03b1abc840 Add publish to jsr scripts (#3614)
* Add publish to jsr scripts

* Remove tsc logic for jsr build and publish
2024-04-25 17:58:42 +02:00
Henri Courdent
770f4471b5 Rich result buttons (#3485)
* Rich result buttons

* Fix rich result button

* feat(frontend): improve rich display buttons

* Icon to monitor

* Custom tooltip

* End Monitor

* Tooltip file fixed

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-04-25 17:49:46 +02:00
HugoCasa
5def8cb52c fix: support all pg types from db studio (#3613)
* fix: support all pg types from db studio

* chore: parser pkg frontend update
2024-04-25 17:32:06 +02:00
HugoCasa
c09ae3ebc6 feat: app select policy (#3610)
* feat: app select policy

* fix: question marks
2024-04-25 17:21:00 +02:00
Faton Ramadani
f26d3e62f6 fix(frontend): Improve AgGrid Infinite table default codes + deprecat… (#3609)
* fix(frontend): Improve AgGrid Infinite table default codes + deprecated table + improve AutoDatatable

* fix(frontend): Handle undefined rowCount

* fix(frontend): Improve Ag Grid footer

* fix(frontend): Improve Deprecated badge
2024-04-25 15:06:58 +02:00
Ruben Fiszel
f20a4a626d chore(main): release 1.317.1 (#3608)
* chore(main): release 1.317.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 23:55:50 +02:00
Ruben Fiszel
8bdebcf212 fix: improve list markdown rendering 2024-04-24 23:51:48 +02:00
Ruben Fiszel
f1acdd7eb7 chore(main): release 1.317.0 (#3605)
* chore(main): release 1.317.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 23:27:06 +02:00
Ruben Fiszel
613bc26749 fix: improve autodata table 2024-04-24 23:22:37 +02:00
Ruben Fiszel
96265a6f90 support spaces in requirements regex 2024-04-24 18:56:39 +02:00
Faton Ramadani
5d486034db fix(frontend): Fix AgGrid infinit clear (#3607) 2024-04-24 18:38:36 +02:00
Ruben Fiszel
cec27a87b8 feat: add planned later toggle on runs 2024-04-24 18:17:25 +02:00
Henri Courdent
e9edac4c95 Fixed docLink of AgGrid Infinite (#3606) 2024-04-24 17:24:30 +02:00
Faton Ramadani
200a321975 feat(frontend): Aggrid infinite default code (#3604)
* feat(frontend): Add missing licence editor + add default codes

* feat(frontend): Add missing licence editor + add default codes
2024-04-24 17:03:11 +02:00
Ruben Fiszel
da0d78c209 chore(main): release 1.316.2 (#3603)
* chore(main): release 1.316.1

* Update version.txt

* Update CHANGELOG.md

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 14:20:24 +02:00
Ruben Fiszel
963fc3decc fix: fix get_completed_job with labels 2024-04-24 14:03:30 +02:00
Ruben Fiszel
08861c86de chore(main): release 1.316.0 (#3601)
* chore(main): release 1.316.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 12:10:47 +02:00
Ruben Fiszel
e8e6a6c281 labels nits 2024-04-24 11:56:14 +02:00
Faton Ramadani
aece01908b feat(frontend): add search to AgGrid Infinite (#3600)
* feat(frontend): add search fto AgGrid Infinite

* feat(frontend): add missing actions

* feat(frontend):fix initial previousResult

* feat(frontend): fix reload
2024-04-24 11:51:21 +02:00
HugoCasa
1d3e82607a fix: solve invite add conflict + deprecate invites (#3594)
* fix: solver invite add conflict + deprecate invites

* fix: sqlx build

* fix: npm run check

* patch: deprecate invite from cloud as well

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-04-24 11:50:56 +02:00
Faton Ramadani
2e39337355 fix marine button (#3602) 2024-04-24 11:50:07 +02:00
Ruben Fiszel
6951424611 improve labels handling 2024-04-24 11:44:29 +02:00
Ruben Fiszel
0be55ae98c feat: support multiple labels for jobs (wm_label -> wm_labels) 2024-04-24 11:32:25 +02:00
Ruben Fiszel
1f997e16ee chore(main): release 1.315.1 (#3599)
* chore(main): release 1.315.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 09:55:39 +02:00
Ruben Fiszel
534f877a7a fix: fix label from completed_job 2024-04-24 09:52:26 +02:00
Ruben Fiszel
fe2e929068 chore(main): release 1.315.0 (#3598)
* chore(main): release 1.315.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-24 09:38:06 +02:00
Faton Ramadani
7a8ffbea46 feat(frontend): Aggrid infinite (#3592)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): done

* feat(frontend): done

* feat(frontend): done

* feat(frontend): fix initializing

* feat(frontend): update all refreshButtons

* feat(frontend): fix build
2024-04-24 09:32:28 +02:00
Ruben Fiszel
b3f3df0d01 chore: improve cargo cache 2024-04-24 00:46:03 +02:00
Ruben Fiszel
29258a3de0 chore: improve cargo cache 2024-04-24 00:42:45 +02:00
Ruben Fiszel
872825fbb7 chore: improve cargo cache 2024-04-24 00:36:28 +02:00
Ruben Fiszel
2c773b8c50 improve label idx performances 2024-04-24 00:28:22 +02:00
Ruben Fiszel
f105d74d9f chore(main): release 1.314.0 (#3597)
* chore(main): release 1.314.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-23 23:13:34 +02:00
HugoCasa
0ab3d1bb8e feat: ui helper for workspaced worker tags (#3595)
* feat: ui helper for workspaced worker tags

* fix: add red border when required
2024-04-23 23:10:29 +02:00
Ruben Fiszel
fcff457462 feat: add label and schedule filters to runs page 2024-04-23 22:48:21 +02:00
Ruben Fiszel
032de9c2a3 chore(main): release 1.313.0 (#3590)
* chore(main): release 1.313.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-23 14:12:36 +02:00
HugoCasa
ae7f978180 feat: add support for readonly application intent in mssql (#3591) 2024-04-23 14:08:51 +02:00
HugoCasa
ff361d9026 feat: update git sync for azure devops service principal (#3588) 2024-04-23 10:49:02 +02:00
erickv
c68cd91531 import replacement: haystack >> haystack-ai (#3587)
* import replacement: haystack >> haystack-ai

* Update lib.rs

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-04-22 17:52:55 +02:00
Ruben Fiszel
a53b0bda6a chore(main): release 1.312.0 (#3582)
* chore(main): release 1.312.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-22 16:08:00 +02:00
HugoCasa
8ae16d90ed feat: hide scripts with on function main from operators + badge/filter for devs (#3584)
* feat: save in DB whether script has not main function

* fix: if cannot parse script args, clear schema

* feat: no main function badge and filter

* fix: sqlx

* fix: no main
2024-04-22 15:59:13 +02:00
Faton Ramadani
f3d0bb3814 fix(frontend): Fix the table selection + improve the ComponentInputTypeEditor (#3585) 2024-04-22 15:50:36 +02:00
Henri Courdent
cbe3243eaf grammar errors (#3583)
* Grammar errors

* Grammar errors
2024-04-22 14:00:28 +02:00
Amélia
dbb691084d Darkmode rework (#3578)
* darkmode_v2

* darkmode_v2

* feat(frontend): Fix dark theme

* feat(frontend): Remove submodule

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2024-04-22 12:19:23 +02:00
Faton Ramadani
464a2c4f66 feat(frontend): Fix style panel zIndex (#3581) 2024-04-22 12:17:21 +02:00
Ruben Fiszel
c52d9d97e7 chore(main): release 1.311.0 (#3580)
* chore(main): release 1.311.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-21 12:44:39 +02:00
Ruben Fiszel
48ba709627 fix: improve re-scheduled for estimation in concurrency limits 2024-04-21 12:41:30 +02:00
Ruben Fiszel
5504114732 increase pg size limit for cloud 2024-04-21 10:20:50 +02:00
Ruben Fiszel
9d2c7544ed table quick nits 2024-04-20 11:37:05 +02:00
Faton Ramadani
587c777d57 feat(frontend): Improve tables (#3577)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): aggrid theme

* feat(frontend): aggrid theme

* feat(frontend): aggrid theme

* feat(frontend): support old themes
2024-04-20 10:54:34 +02:00
Ruben Fiszel
a162de0b75 chore(main): release 1.310.0 (#3579)
* chore(main): release 1.310.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-19 19:13:03 +02:00
Faton Ramadani
62fcf086cc feat(frontend): Deeply nested Modals and Drawers (#3565)
* fix(frontend): Support deeply nested drawers and modals

* fix(frontend): Support deeply nested drawers and modals

* fix(frontend): Support deeply nested drawers and modals

* feat(frontend): fix name

* chore(main): release 1.308.2 (#3569)

* chore(main): release 1.308.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>

* feat(frontend): wip

* feat(frontend): wip

* fix(frontend): fix event propagation

* fix(frontend): fix drawers globally

* feat(frontend): Fix all drawers

* feat(frontend): split zIndexes in a new file

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-19 18:58:39 +02:00
Ruben Fiszel
f9b5da53e8 fix: fix password field 2024-04-19 18:15:27 +02:00
Ruben Fiszel
fa5a490283 nits 2024-04-19 17:47:18 +02:00
Ruben Fiszel
7e76d419f5 nits 2024-04-18 16:05:57 +02:00
lfanew
2459a5dfed Powershell client (#3551)
* init commit of partial functionality

* Simplified layout (matching TS client)

* reworked get & post

webrequest allows more interaction with response

* Added more functionality

* Added cancel and wait for jobs

* todo added

* Async script running and query util

* Added sync script & async flow

* Stop-WindmillExecution

Implementation of `cancel_running` from Python client.
Also changed $Body -> $Data to be more explicit (we don't expect JSON body as the method will convert it for us)

* Added get workspace and job

* added token creation

* Added job cancel cmdlet

* get id token

* Final draft

- Manual testing complete
- Rearranged methods & functions
- Added a bit more functionality

* fixed incomplete synopsis

* added parent job back

dont think it's related to this module. reported finding in discord

* feat: publish CI

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
2024-04-18 14:42:58 +02:00
Ruben Fiszel
0fdf72fc57 chore(main): release 1.309.2 (#3575)
* chore(main): release 1.309.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-18 12:23:56 +02:00
Ruben Fiszel
f3666ea140 fix: update go and typesript client 2024-04-18 11:07:11 +02:00
Ruben Fiszel
1b131f310e chore(main): release 1.309.1 (#3574)
* chore(main): release 1.309.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-18 10:24:25 +02:00
Ruben Fiszel
024ffdeb6e fix: improve log viewer loading from object store 2024-04-18 09:57:21 +02:00
Ruben Fiszel
f859cbb5d4 use echo -E for webhooks 2024-04-18 09:43:48 +02:00
Ruben Fiszel
2e52feb47a chore(main): release 1.309.0 (#3572)
* chore(main): release 1.309.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-18 01:22:44 +02:00
wendrul
ac841400ba Instrument logs (#3566)
* Add spans to show worker_name and job_id

Always show worker_name and job_id when relevant, by creating spans that
live as long as the worker and the job.

* Remove redundant worker names from fn run_worker

Remove the now redundant worker_name tracing, as the information now
lives at the span level

* Use span when spawning new thread

* Instrument more pertinent functions

Move spans to more pertinent functions. Remove more redundant info, and
change worker_name to just worker

* Change tracing subscriber to log path:line_no

Change from logging target (module name usually) to file path and line
number
2024-04-18 01:11:14 +02:00
Ruben Fiszel
f84a902445 fix: measure memory usage on postgres scripts 2024-04-18 01:05:16 +02:00
Ruben Fiszel
c3493f838d nits 2024-04-17 23:03:20 +02:00
Ruben Fiszel
da41e11c84 nits 2024-04-17 22:58:23 +02:00
Ruben Fiszel
ab19625688 nits 2024-04-17 22:44:21 +02:00
Ruben Fiszel
cdb01b0d01 fix: fix autosize when not rendered at initialization 2024-04-17 22:42:03 +02:00
Ruben Fiszel
ca3e2888a6 fix ee links 2024-04-17 22:38:03 +02:00
Ruben Fiszel
c4ccc781eb add pymysql 2024-04-17 22:31:07 +02:00
Ruben Fiszel
2eea00a2cd fix: improve cancel_all to never deadlock 2024-04-17 22:04:35 +02:00
Ruben Fiszel
071a0ae927 feat: show more for logs on s3 directly possible from browser log viewer 2024-04-17 21:42:46 +02:00
Ruben Fiszel
0b1acc3557 improve queue clearing for schedules 2024-04-17 14:05:22 +02:00
HugoCasa
fdaa49a7e9 fix(backend): prevent push fail of schedule error handling from reverting job completion (#3568)
* fix: prevent push fail of schedule error handling from reverting job completion

* fix: sqlx
2024-04-17 12:35:31 +02:00
Ruben Fiszel
615e95f335 improve disabled dropdown style 2024-04-16 20:53:58 +02:00
Ruben Fiszel
3f643baf1b improve disabled dropdown style 2024-04-16 20:51:19 +02:00
Ruben Fiszel
881915239f chore(main): release 1.308.1 (#3567)
* chore(main): release 1.308.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-16 19:59:36 +02:00
Ruben Fiszel
456b903766 fix: fix delete perms user folders 2024-04-16 19:53:30 +02:00
Ruben Fiszel
77ba312ecc chore(main): release 1.308.0 (#3560)
* chore(main): release 1.308.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-16 15:38:53 +02:00
HugoCasa
a8cf3ef424 feat: add visma oauth (#3564) 2024-04-16 12:32:48 +02:00
Ruben Fiszel
39f393d72d sqlx 2024-04-16 11:15:24 +02:00
Ruben Fiszel
5f8dd0e3d1 sqlx 2024-04-16 11:04:54 +02:00
Ruben Fiszel
158d26fe38 fix: tighten delete permissions 2024-04-16 10:41:14 +02:00
HugoCasa
c17bcd395e fix: db update cell issue when some col values are null (#3558)
* fix: db update cell issue when some col values are null

* fix: use sql cond instead + delete + format
2024-04-15 19:15:49 +02:00
Faton Ramadani
1658740ec6 fix(frontend): fix text alignement, email input before icon and fix m… (#3561)
* fix(frontend): fix text alignement, email input before icon and fix modal/drawer z-index

* fix(frontend): fix text alignement, email input before icon and fix modal/drawer z-index
2024-04-15 17:19:56 +02:00
Faton Ramadani
44c9fda49a feat(frontend): ImproveApp Editor UI (#3514)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-04-15 16:27:44 +02:00
Ruben Fiszel
a5aca2a2f6 chore(main): release 1.307.0 (#3555)
* chore(main): release 1.307.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-15 16:18:12 +02:00
wendrul
b69ff31000 Add dev environment setup instructions (#3559)
Add instructions to set up the local instance on the README
2024-04-15 16:16:27 +02:00
Ruben Fiszel
8b4dc227d3 fix: tighten delete folder permissions 2024-04-15 15:44:37 +02:00
HugoCasa
7c85cd808d fix: add mysql decimal support (#3557) 2024-04-15 14:26:17 +02:00
Faton Ramadani
863550a91d feat(frontend): Add actions to Database Studio (#3556)
* feat(frontend): Add actions to Database Studio

* feat(frontend): Add actions to Database Studio
2024-04-15 14:07:35 +02:00
Faton Ramadani
0b487426c8 fix(frontend): fix the initial dimension of the markdown component (#3554) 2024-04-15 09:05:51 +02:00
Ruben Fiszel
49030760ed nits 2024-04-15 01:12:24 +02:00
Ruben Fiszel
9010c6a97e chore(main): release 1.306.4 (#3552)
* chore(main): release 1.306.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-14 23:24:36 +02:00
Ruben Fiszel
fb00e3b0af fix: improve unsaved confirmation modal on flow draft 2024-04-14 23:17:06 +02:00
Ruben Fiszel
81233ad490 add more exports 2024-04-14 19:51:59 +02:00
Ruben Fiszel
6b1daabd33 chore(main): release 1.306.3 (#3550)
* chore(main): release 1.306.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-12 19:55:06 +02:00
Ruben Fiszel
71635646e8 fix: fix actions buttons error 2024-04-12 19:52:13 +02:00
Ruben Fiszel
8783fe0c7d chore(main): release 1.306.2 (#3549)
* chore(main): release 1.306.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-12 19:39:41 +02:00
Ruben Fiszel
6ea5965819 fix: fix actions buttons error 2024-04-12 19:36:28 +02:00
Ruben Fiszel
09954bdbcc chore(main): release 1.306.1 (#3547)
* chore(main): release 1.306.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-12 16:25:39 +02:00
Faton Ramadani
60d686b2bf Fix aggrid 2 (#3548)
* fix(frontend): Correctly handle undefined actions

* fix(frontend): Correctly handle undefined actions

* fix(frontend): Correctly handle undefined actions

* fix(frontend): add missinng migration code
2024-04-12 16:25:30 +02:00
Faton Ramadani
a687d56d45 fix(frontend): Correctly handle undefined actions (#3546)
* fix(frontend): Correctly handle undefined actions

* fix(frontend): Correctly handle undefined actions

* fix(frontend): Correctly handle undefined actions
2024-04-12 16:20:49 +02:00
Ruben Fiszel
62efbe11e7 chore(main): release 1.306.0 (#3542)
* chore(main): release 1.306.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-12 16:03:18 +02:00
Faton Ramadani
7eca53f9e7 fix(frontend): Correctly handle undefined actions (#3545) 2024-04-12 15:58:12 +02:00
Faton Ramadani
e9e6614486 feat(frontend): add maplock + properly display marker title (#3544) 2024-04-12 13:50:26 +02:00
Faton Ramadani
06723629ca fix(frontend): Fix AgGrid action selection (#3543) 2024-04-12 13:05:24 +02:00
Faton Ramadani
48ad095633 feat(frontend): Ag grid actions (#3535)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): implement cellRenderer

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): Fix actions width

* feat(frontend): Fix interactions

* feat(frontend): Fix styling

* feat(frontend): Correctly handleAgGrid EE

* feat(frontend): Fix select

* feat(frontend): Fix select

* feat(frontend): Fix how row is passed

* feat(frontend): Fix update

* feat(frontend): Correctly implement cache

* feat(frontend): Correctly implement cache

* feat(frontend): simplify how refreshActions work

* feat(frontend): improve comparaison

* feat(frontend): simplify refreshactins

* feat(frontend): clean up

* feat(frontend): clean up

* feat(frontend): add inputs output + fix row eval

* feat(frontend): add config to wrap actions

* feat(frontend): add config to wrap actions

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-04-12 11:45:24 +02:00
Faton Ramadani
0afd68d474 fix(frontend): Fix s3 uploader (#3539)
* fix(frontend): Correctly handle multiple files

* fix(frontend): Correctly handle multiple files

* fix(frontend): improve comparaison

* feat(frontend): fix drag and drop
2024-04-12 11:45:11 +02:00
Ruben Fiszel
3a730c73d9 chore(main): release 1.305.3 (#3540)
* chore(main): release 1.305.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-12 09:55:15 +02:00
Ruben Fiszel
ee56821a47 fix: improve app icon renderer and app html renderer 2024-04-12 09:51:54 +02:00
Ruben Fiszel
6b59d9fbc3 nits 2024-04-11 20:40:34 +02:00
Ruben Fiszel
1f6cf58fb4 chore(main): release 1.305.2 (#3537)
* chore(main): release 1.305.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-11 20:08:21 +02:00
Ruben Fiszel
d1650dbed9 fix: unsaved changes on deploy of flow 2024-04-11 20:03:29 +02:00
Ruben Fiszel
0d5ee64ff9 chore(main): release 1.305.1 (#3532)
* chore(main): release 1.305.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-11 18:46:54 +02:00
Ruben Fiszel
6c33f17829 fix: improve goto behavior 2024-04-11 17:58:22 +02:00
Ruben Fiszel
e4dbac314d fix intempestive settings reload on selectedComponent change 2024-04-11 17:52:22 +02:00
Ruben Fiszel
83710e9dd1 nit invert icon logo 2024-04-11 17:27:38 +02:00
Ruben Fiszel
aaa28ce99e change default openapi file 2024-04-11 16:03:54 +02:00
Ruben Fiszel
cd5b023033 fix: load lazily the app icons 2024-04-11 14:57:48 +02:00
Ruben Fiszel
1b0a4f1cd6 nit for whitelabelling 2024-04-11 10:14:36 +02:00
Ruben Fiszel
137f733663 nits 2024-04-11 09:48:34 +02:00
Ruben Fiszel
b1f72e533f nit update peerDeps 2024-04-11 09:37:17 +02:00
Ruben Fiszel
62e4ec2e14 fix: update monaco configurations 2024-04-11 09:29:25 +02:00
Ruben Fiszel
cd07020edb fix: remove requirement on full wasm parser for row insert of db studio 2024-04-11 01:12:47 +02:00
Ruben Fiszel
f17bed9741 fix: remove requirement on full wasm parser for row insert of db studio 2024-04-11 01:12:41 +02:00
Ruben Fiszel
ce91ab81d1 add webpackIgnore annotations 2024-04-10 22:01:30 +02:00
Ruben Fiszel
c31de80a38 update cli deps 2024-04-10 16:31:23 +02:00
Ruben Fiszel
c88e6a8635 fix: fix plug connection for apps with array items 2024-04-10 16:02:45 +02:00
Faton Ramadani
0c9a95c964 fix(frontend): fix text alignement (#3533) 2024-04-10 15:27:39 +02:00
Faton Ramadani
8525494a68 fix(frontend): add missing darkModeObserver in CronInput (#3531) 2024-04-10 14:54:33 +02:00
Ruben Fiszel
be748b3bb2 chore(main): release 1.305.0 (#3530)
* chore(main): release 1.305.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-09 22:55:43 +02:00
Ruben Fiszel
5272956153 fix: add ability to cancel flows directly from operator modal 2024-04-09 22:51:15 +02:00
Ruben Fiszel
a55aad3003 feat: flow concurrency limits support custom concurrency key 2024-04-09 22:03:39 +02:00
Ruben Fiszel
32cd206556 chore(main): release 1.304.4 (#3528)
* chore(main): release 1.304.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-09 20:01:52 +02:00
Ruben Fiszel
ea4a45ad83 nits 2024-04-09 19:50:55 +02:00
Ruben Fiszel
a4442d4d3d fix: improve performance of for-loops with parralelism 2024-04-09 19:47:50 +02:00
Ruben Fiszel
29422f156d fix: improve performance of for-loops with parralelism 2024-04-09 19:41:56 +02:00
Ruben Fiszel
8cddef62f2 prevent parallelism from timing out lock monitor 2024-04-09 18:50:19 +02:00
Ruben Fiszel
d4d8a8f756 add default state store to flow status viewer 2024-04-09 18:43:50 +02:00
Ruben Fiszel
7e4b6c3744 fix: improve handling of very large iterator on frontend 2024-04-09 18:26:09 +02:00
Ruben Fiszel
bb847d399b nits 2024-04-09 14:15:12 +02:00
Ruben Fiszel
8bd37bbcbb update sqlx 2024-04-09 12:46:00 +02:00
Ruben Fiszel
0c824de4cd fix: improve deadlocks for parallel branches with parallelism constraints 2024-04-09 11:52:40 +02:00
Ruben Fiszel
1ab1fb7e4d fix: improve order dragndrop for json editor in app 2024-04-09 10:53:04 +02:00
Ruben Fiszel
74631922f2 more error messages 2024-04-09 10:27:14 +02:00
Faton Ramadani
975055b90f fix(frontend): Improve theme editor (#3525)
* fix(frontend): Improve theme editor

* feat(frontend): improve theme editor
2024-04-09 10:21:26 +02:00
Ruben Fiszel
16c9535256 improve default script for frontend apps 2024-04-09 01:53:19 +02:00
Ruben Fiszel
8dd117528c fix: improve deadlocks for parallel branches with parallelism constraints 2024-04-09 01:38:55 +02:00
Ruben Fiszel
f117539a54 fix: allow for longer approver names in flows 2024-04-08 15:44:33 +02:00
Faton Ramadani
db5abd37cd fix(frontend): Fix bypass confirmation shortcut (#3527)
* fix(frontend): Fix bypass confirmation shortcut

* Update Item.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-04-08 14:43:31 +02:00
Ruben Fiszel
587824ccfa chore(main): release 1.304.3 (#3522)
* chore(main): release 1.304.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-08 12:42:28 +02:00
Ruben Fiszel
c7f0f3f359 fix: improve CLI with visible_to_runner_only and priority 2024-04-08 12:22:48 +02:00
Ruben Fiszel
fc0056f991 fix: add resource types to list of ignored path filters for git sync 2024-04-08 11:50:10 +02:00
Ruben Fiszel
acf80dc6a0 fix: add resource types to list of ignored path filters for git sync 2024-04-08 10:05:55 +02:00
Ruben Fiszel
abfdb84cdd add scalar at openapi2.html 2024-04-08 01:42:54 +02:00
Ruben Fiszel
fecb92e45e add scalar at openapi2.html 2024-04-08 01:42:43 +02:00
Ruben Fiszel
7e8807d27e add page and perPage to list apis 2024-04-07 18:47:06 +02:00
Ruben Fiszel
a57bec8648 chore(main): release 1.304.2 (#3521)
* chore(main): release 1.304.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-06 23:34:04 +02:00
Faton Ramadani
a52d6b30b2 fix(frontend): Fix selectFirstRowByDefault on AgGrids (#3450) 2024-04-06 23:25:46 +02:00
Ruben Fiszel
a4385231f8 add whileloop flow to id orders 2024-04-06 22:58:20 +02:00
Ruben Fiszel
3b2a39f0c2 chore(main): release 1.304.1 (#3519)
* chore(main): release 1.304.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-06 22:26:32 +02:00
Ruben Fiszel
8cdae1ac96 fix: remove reqwest_11 2024-04-06 22:13:35 +02:00
Ruben Fiszel
673fce45fb chore(main): release 1.304.0 (#3516)
* chore(main): release 1.304.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-06 21:40:32 +02:00
Henri Courdent
2c9af9903d Fixed links and components descriptions (#3515)
* Fixed links and components descriptions

* Forgot on doc
2024-04-06 21:39:56 +02:00
Ruben Fiszel
67c21f3837 reduce large file detected alert 2024-04-06 21:38:58 +02:00
Ruben Fiszel
192e47222f reduce large file detected alert 2024-04-06 21:37:56 +02:00
Faton Ramadani
139bc38ddc fix(frontend): Fix simple flow tutorial (#3518) 2024-04-06 18:55:28 +02:00
Ruben Fiszel
8ee4fda1d6 fix build 2024-04-06 16:15:00 +02:00
Ruben Fiszel
e062f5413f frontend fix 2024-04-06 16:13:44 +02:00
Ruben Fiszel
21a7ee4c33 feat: add overridable cache_ttl in api of job triggers 2024-04-06 16:05:32 +02:00
Ruben Fiszel
f9d8dde61c fix: add args filter to schedule list 2024-04-06 15:43:37 +02:00
Ruben Fiszel
d61d6f520b fix: improve list static input 2024-04-06 15:00:49 +02:00
Ruben Fiszel
458dea2930 improve flow preview logs 2024-04-06 13:52:49 +02:00
Ruben Fiszel
48e7dfc88a update sqlx 2024-04-06 13:37:14 +02:00
Ruben Fiszel
9131d5cc40 fix: parallel flow with parallelism constraint could deadlock 2024-04-06 13:25:34 +02:00
HugoCasa
08231c02d2 feat: git sync group changes by folder (#3517)
* feat: git sync group changes by folder

* chore: update ee ref
2024-04-05 23:07:27 +02:00
Ruben Fiszel
fba1ea7d54 fix: make autodatatable more resilient 2024-04-05 20:55:11 +02:00
Ruben Fiszel
632c9fb2aa fix: make autodatatable more resilient 2024-04-05 20:40:18 +02:00
Ruben Fiszel
205d02c703 improve renderer for large html 2024-04-05 20:23:18 +02:00
Ruben Fiszel
31754569ba fix: remove information in approval page of a flow 2024-04-05 20:06:27 +02:00
Ruben Fiszel
06c6d1023e improve validate signature 2024-04-05 17:54:27 +02:00
Ruben Fiszel
2ec1add494 fix: make date time input more resilient 2024-04-05 17:10:03 +02:00
Ruben Fiszel
78b8c3edc9 fix: fix lightweight arg input min size 2024-04-05 16:51:13 +02:00
Ruben Fiszel
7c4eece009 fix: show flow user states in flow state preview 2024-04-05 16:43:38 +02:00
Ruben Fiszel
7ed7cdf5a9 chore(main): release 1.303.4 (#3513)
* chore(main): release 1.303.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-05 09:57:37 +02:00
Ruben Fiszel
72f4247983 fix: prevent operators from loading secrets through toggle 2024-04-05 09:53:42 +02:00
Ruben Fiszel
9b88bf0758 prevent operators from loading secrets through toggle 2024-04-05 09:03:16 +02:00
Ruben Fiszel
5cee360bf7 chore(main): release 1.303.3 (#3512)
* chore(main): release 1.303.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-05 00:17:29 +02:00
Ruben Fiszel
18e7e9449e fix: improve multiselect for approval steps 2024-04-05 00:04:51 +02:00
Ruben Fiszel
d0a0dd0f7e nit global cache python improvements 2024-04-04 22:07:14 +02:00
Ruben Fiszel
428675d956 chore(main): release 1.303.2 (#3511)
* chore(main): release 1.303.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-04 21:45:02 +02:00
Ruben Fiszel
0b3e6b9f1c fix: improve global cache deps 2024-04-04 21:33:44 +02:00
Ruben Fiszel
a62d5e197e chore(main): release 1.303.1 (#3509)
* chore(main): release 1.303.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-04 17:27:18 +02:00
Henri Courdent
3e00f8070b Changelog frontend (#3510) 2024-04-04 17:26:41 +02:00
Ruben Fiszel
964a05177b add py312 image 2024-04-04 17:14:32 +02:00
Ruben Fiszel
96bc7c5c5c nit fix metadatagen 2024-04-04 15:09:21 +02:00
Ruben Fiszel
948bbcb92a update /static_frontend builder dir 2024-04-04 14:55:09 +02:00
Ruben Fiszel
2e3b6f66e3 fix: improve chars splitting for logs with utf-8 chars 2024-04-04 13:38:19 +02:00
Ruben Fiszel
48227f9594 verify ee for every image 2024-04-04 04:55:21 +02:00
Ruben Fiszel
89f757c592 chore(main): release 1.303.0 (#3507)
* chore(main): release 1.303.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-04 04:20:33 +02:00
HugoCasa
1d7bab075b feat: private hub (#3491)
* feat: private hub v0

* feat: add UI setting

* Update ee.rs

* Update ee.rs

* fix: remove ee symlink

* fix: add back CE ee.rs

* feat: disable s3 embedding loading when private hub

* feat: reload embeddings on hub url change

* fix: only reload embeddings db on server mode

* patch: set default hub url const

* fix: nit
2024-04-04 04:16:53 +02:00
Henri Courdent
92e8b07c17 While loop clarification (#3501) 2024-04-04 04:16:42 +02:00
Ruben Fiszel
74e0f21903 fix: update awscli & nodejs 2024-04-04 04:16:18 +02:00
Ruben Fiszel
04bda407d4 update awscli & nodejs 2024-04-04 03:58:23 +02:00
Ruben Fiszel
054cb709dc update awscli & nodejs 2024-04-04 03:55:29 +02:00
Ruben Fiszel
b65095f189 chore(main): release 1.302.0 (#3502)
* chore(main): release 1.302.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-04 03:42:30 +02:00
Ruben Fiszel
826757b33a fix: fix char excess size module for logs truncation 2024-04-04 03:25:11 +02:00
Ruben Fiszel
72f1d82b98 chore try docker scout 2024-04-04 03:01:56 +02:00
Ruben Fiszel
7d04940db0 chore try docker scout 2024-04-04 02:45:13 +02:00
Ruben Fiszel
faf8f5cbae chore verify image vulns 2024-04-04 02:30:05 +02:00
Ruben Fiszel
7561e77e34 chore verify image vulns 2024-04-04 02:16:53 +02:00
Ruben Fiszel
30ed34e2fc chore verify image vulns 2024-04-04 02:16:44 +02:00
Ruben Fiszel
60eab8e961 chore verify image vulns 2024-04-04 02:10:05 +02:00
Ruben Fiszel
373ea55512 chore verify image vulns 2024-04-04 02:08:11 +02:00
Ruben Fiszel
00dacb5b47 chore verify image vulns 2024-04-04 01:59:55 +02:00
Ruben Fiszel
4abafc668b chore verify image vulns 2024-04-04 01:55:20 +02:00
Ruben Fiszel
ea23548871 chore verify image vulns 2024-04-04 01:52:01 +02:00
Ruben Fiszel
66f0dff64a chore verify image vulns 2024-04-04 01:48:31 +02:00
Ruben Fiszel
00d7c4943e nit go caching in dockerfile 2024-04-04 01:15:10 +02:00
Ruben Fiszel
281cd7bc8b fix: improve locking 2024-04-04 01:10:38 +02:00
Ruben Fiszel
7e5493da5e snyk to sarif 2024-04-04 00:38:29 +02:00
Ruben Fiszel
4eca8d77ac snyk to sarif 2024-04-04 00:28:49 +02:00
Ruben Fiszel
088730fe5f snyk to sarif 2024-04-04 00:19:23 +02:00
Ruben Fiszel
653cc0f583 chore: split out nsjail from public images 2024-04-03 23:53:38 +02:00
Ruben Fiszel
182ec451f3 chore: split out nsjail from public images 2024-04-03 23:41:30 +02:00
Ruben Fiszel
ac6f8f31da chore: split out nsjail from public images 2024-04-03 23:32:06 +02:00
Ruben Fiszel
b31a2022ad move more deps to nsjail phase 2024-04-03 23:20:03 +02:00
Ruben Fiszel
0113dacf01 split out nsjail from public images 2024-04-03 23:16:25 +02:00
Ruben Fiszel
13424fd682 Revert "remove libprotobuf (#3505)" (#3506)
This reverts commit 6e1fb6e7f3.
2024-04-03 22:31:09 +02:00
Ruben Fiszel
6e1fb6e7f3 remove libprotobuf (#3505)
* remove pb

* remove pb

* dockerfile restart image

* dockerfile restart image
2024-04-03 21:24:26 +02:00
Ruben Fiszel
651e65d4cf dockerfile restart image 2024-04-03 19:25:07 +02:00
Ruben Fiszel
a55d6b0e25 update kubectl to 1.28.7 2024-04-03 19:22:55 +02:00
Ruben Fiszel
314dfcebec add snyk 2024-04-03 19:13:12 +02:00
HugoCasa
285aec4ffd fix: build (#3504) 2024-04-03 18:47:10 +02:00
HugoCasa
a8bf0750a4 feat: slack team connected to multiple workspaces (#3500)
* feat: slack team connected to multiple workspaces

* chore: update ee ref
2024-04-03 17:47:23 +02:00
Ruben Fiszel
9629d1e5a6 chore: try snyk 2024-04-03 17:39:44 +02:00
Ruben Fiszel
ea91c33d67 chore: add docker scout 2024-04-03 17:02:41 +02:00
Ruben Fiszel
c8ed76166c chore: add docker scout 2024-04-03 16:45:29 +02:00
Ruben Fiszel
cbb861fd78 chore: add docker scout 2024-04-03 16:40:19 +02:00
Ruben Fiszel
7120ef7564 add more debug logs around s3 log streaming 2024-04-03 14:26:07 +02:00
Ruben Fiszel
501c4d8ac4 allow_http by default for s3 2024-04-03 13:58:52 +02:00
Ruben Fiszel
72c61953f5 ux nits 2024-04-03 12:31:11 +02:00
Ruben Fiszel
0c0182edf3 chore(main): release 1.301.0 (#3499)
* chore(main): release 1.301.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-02 21:36:12 +02:00
HugoCasa
71d98b9025 fix: date-fns tooltip info again (#3498) 2024-04-02 21:32:51 +02:00
Ruben Fiszel
648accd268 fix: add access to the schedules page to operators 2024-04-02 21:27:40 +02:00
Ruben Fiszel
f4f56b8455 improve upload progress bar 2024-04-02 21:16:30 +02:00
Ruben Fiszel
5594afd0a2 add checksum log to s3 piptar pull 2024-04-02 20:55:31 +02:00
Ruben Fiszel
ff26c8e42d feat: while loop as new flow primitive 2024-04-02 17:38:11 +02:00
Ruben Fiszel
921f6a85ce chore(main): release 1.300.0 (#3494)
* chore(main): release 1.300.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-04-02 11:35:30 +02:00
Faton Ramadani
e4d8de80ef fix(frontend): Fix updateCellValue (#3497)
* fix(frontend): Fix updateCellValue

* fix(frontend): Fix updateCellValue
2024-04-02 11:23:07 +02:00
HugoCasa
e4bca00210 fix: date-fns tooltip format info (#3496)
* fix: date-fns tooltip

* fix: date-fns docs version
2024-04-02 10:41:09 +02:00
Ruben Fiszel
cc5d1b405e continue on error option for steps 2024-04-02 10:32:47 +02:00
Faton Ramadani
3afa975270 feat(frontend): Add an onRecompute callback to handle recompute side … (#3493)
* feat(frontend): Add an onRecompute callback to handle recompute side effects

* feat(frontend): use cb array

* feat(frontend): use cb array

* feat(frontend): clean up

* feat(frontend): clean up

* feat(frontend): code improvement
2024-04-02 09:44:53 +02:00
Ruben Fiszel
25379d0b62 update bun to 1.1.0 2024-04-01 21:02:03 +02:00
Ruben Fiszel
ba679c64b7 fix(typescript-client): improve setFlowUserState undefined value 2024-04-01 11:59:10 +02:00
Ruben Fiszel
fd0c87bd2e chore(main): release 1.299.1 (#3492)
* chore(main): release 1.299.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-31 14:56:50 +02:00
Ruben Fiszel
4ba1f6ccdf fix: fix audit issue with webhook triggered scripts 2024-03-31 14:52:06 +02:00
Ruben Fiszel
925aa13de6 chore(main): release 1.299.0 (#3478)
* chore(main): release 1.299.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-30 16:12:25 +01:00
Ruben Fiszel
a61b14cfd4 fix: tree view show more 2024-03-30 15:53:54 +01:00
Ruben Fiszel
951758ffb6 fix: make submit form order static 2024-03-30 15:00:52 +01:00
Ruben Fiszel
d8a9ee4945 increase max concurrent run demo workspace 2024-03-30 13:47:03 +01:00
Ruben Fiszel
bdf7b14c69 increase max concurrent run demo workspace 2024-03-30 13:45:41 +01:00
Ruben Fiszel
c0aaa920b9 improve runnable picker of app 2024-03-29 18:30:44 +01:00
Ruben Fiszel
f4daef389c display result nits 2024-03-29 17:08:13 +01:00
Ruben Fiszel
5b489d06e0 update bun to 1.36 and deno 1.43 2024-03-29 14:20:08 +01:00
Ruben Fiszel
44d812f95b exclude demo from per workspace restrictions 2024-03-29 13:38:36 +01:00
Ruben Fiszel
09844d630a fix recognize email in error handler 2024-03-29 12:50:12 +01:00
Faton Ramadani
d71356695f feat(frontend): add a refresh component control to the DB Studio (#3490)
* feat(frontend): add a refresh component control to the DB Studio

* feat(frontend): add a refresh component control to the DB Studio

* feat(frontend): clean up

* feat(frontend): improve recompute to handle sub runnable

* feat(frontend): clean up
2024-03-29 12:40:58 +01:00
HugoCasa
b4ffb500ba feat: add workspace free-tier usage (#3489)
* feat: separate workspace and user usage

* fix: sqlx build
2024-03-29 10:56:44 +01:00
Ruben Fiszel
0291f624e1 fix View Logs 2024-03-28 17:49:29 +01:00
HugoCasa
e3a636ab17 fix: show start to finish time for flows instead of cumulative (#3486)
* fix: show start to finish time for flows instead of cumulative

* fix: build
2024-03-28 15:50:18 +01:00
HugoCasa
3c384910c1 fix: show script path when schedule summary is empty (#3487) 2024-03-28 15:50:05 +01:00
Ruben Fiszel
d8f10b6b10 fix message when updating user 2024-03-28 12:24:49 +01:00
Ruben Fiszel
d6bf702984 nit markdown for scripts 2024-03-28 11:57:57 +01:00
Faton Ramadani
f9a5bcee4c feat(frontend): Add support for clearFiles in the file input component (#3483) 2024-03-28 11:44:10 +01:00
Faton Ramadani
7b3b96ea08 fix(frontend): Fix the pane delete button (#3482) 2024-03-28 11:43:45 +01:00
Ruben Fiszel
6f61d00e14 more ubicloud 2024-03-28 01:22:36 +01:00
HugoCasa
b3ed6782f6 fix: benchmark action single push (#3480)
* fix: benchmarks action only push once

* fix: benchmark artifacts

* fix: include past data

* fix: don't save dedicated warmup

* fix: fetch existing data directly from gh
2024-03-28 01:18:42 +01:00
HugoCasa
64896971bb fix: db studio multiple schemas support (#3479)
* fix: db studio multiple schemas support

* fix: frontend check (unused urlize flow)
2024-03-27 23:56:05 +01:00
Ruben Fiszel
8f9787fdc4 support gh markdown for script, flows, resource description 2024-03-27 23:04:19 +01:00
Ruben Fiszel
6cb2d20b42 feat: support gh markdown for script, flows, resource descriptions 2024-03-27 19:07:19 +01:00
Ruben Fiszel
dead13ba93 improve autosize + add markdown support for scripts and workflows 2024-03-27 18:19:37 +01:00
Ruben Fiszel
8e1bd8f957 chore(main): release 1.298.0 (#3475)
* chore(main): release 1.298.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-27 17:25:32 +01:00
Ruben Fiszel
1edf493e6d fix: fix clean cache deleting config 2024-03-27 17:15:29 +01:00
Ruben Fiszel
532cef999d update python to 3.11.8 2024-03-27 16:32:45 +01:00
HugoCasa
a83f286729 chore(benchmarks): merge workers graphs (#3477) 2024-03-27 14:54:34 +01:00
Ruben Fiszel
2dd68b7616 nits map 2024-03-27 14:53:47 +01:00
Henri Courdent
e2c681457f Template frontend script (#3476) 2024-03-27 14:25:52 +01:00
Ruben Fiszel
810136a4a4 feat: approval steps description 2024-03-27 14:04:14 +01:00
Ruben Fiszel
240ae93748 feat: add map support in renderer 2024-03-27 10:14:44 +01:00
Ruben Fiszel
57a0530434 fix: display approval step at top level regardless of depth 2024-03-27 09:46:09 +01:00
Ruben Fiszel
c265593099 fix powershell with nsjail 2024-03-26 23:11:26 +01:00
Henri Courdent
90726a5b53 Windmill AI handle multiple lines (#3469)
* Windmill AI handle multiple lines

* Fix npm_check

* Fix height

* Get rid of custom css

* fix: handle edge cases

* fix: edge edge case

* fix: adjust size on popup open

* fix: cancel request on leave

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
2024-03-26 23:04:42 +01:00
Ruben Fiszel
7c679dd7db chore(main): release 1.297.1 (#3474)
* chore(main): release 1.297.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 22:26:31 +01:00
Ruben Fiszel
3388ab41dd fix: fix approval steps handling of default args 2024-03-26 22:16:19 +01:00
Ruben Fiszel
641b706fb1 chore(main): release 1.297.0 (#3473)
* chore(main): release 1.297.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 19:15:03 +01:00
Ruben Fiszel
5d6238de11 fix python client set_user_state 2024-03-26 19:09:56 +01:00
HugoCasa
14a86bf59c feat: add visible to runner only default value (#3472) 2024-03-26 19:07:21 +01:00
Ruben Fiszel
2bee8738e3 chore(main): release 1.296.1 (#3471)
* chore(main): release 1.296.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 19:02:34 +01:00
Ruben Fiszel
bf0dd29a1d fix python client set_user_state 2024-03-26 18:57:54 +01:00
Ruben Fiszel
70b8442373 nit flow editor 2024-03-26 18:54:37 +01:00
Ruben Fiszel
ab53dd5b76 improve getUserClient in typescript 2024-03-26 18:53:18 +01:00
Ruben Fiszel
703c11891a fix(backend): update chrono dependency 2024-03-26 18:47:15 +01:00
Ruben Fiszel
58030ffe97 chore(main): release 1.296.0 (#3468)
* chore(main): release 1.296.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 18:33:17 +01:00
Henri Courdent
81b07b00dd Update changelogs march 24 (#3470) 2024-03-26 18:28:39 +01:00
HugoCasa
f8fa220dc7 feat: differentiate benchmark graphs by nb of workers (#3463)
* feat: differentiate benchmark graphs by nb of workers

* fix: multiple workers action save changes

* fix: github action

* fix: workers and pull

* fix: typo

* fix: dedicated bench

* fix: dedicated

* fix: add back dep

* fix: push dedicated changes
2024-03-26 18:27:51 +01:00
HugoCasa
195b378396 feat: gforms oauth (#3466) 2024-03-26 18:25:39 +01:00
Ruben Fiszel
5fdfa28cb9 fix: improve git sync for script renames 2024-03-26 18:21:58 +01:00
Ruben Fiszel
ef1ce83279 feat: add set_flow_user_states and get_flow_user_states api and sdk support 2024-03-26 17:31:17 +01:00
Ruben Fiszel
8dace59ab0 webhook id nits 2024-03-26 11:50:39 +01:00
Ruben Fiszel
339d17ff48 fix: replace token in webhook panel after creation 2024-03-26 11:21:59 +01:00
Ruben Fiszel
d2af36c01a chore(main): release 1.295.4 (#3467)
* chore(main): release 1.295.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 10:42:48 +01:00
Ruben Fiszel
d0edc75da9 fix: use webhook id as username 2024-03-26 10:06:01 +01:00
Ruben Fiszel
256b4253c9 chore(main): release 1.295.3 (#3460)
* chore(main): release 1.295.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-26 09:03:20 +01:00
Ruben Fiszel
d6e07a5f9e nit 2024-03-26 09:01:36 +01:00
HugoCasa
728a6b1665 fix: previous runs date (#3461) 2024-03-26 00:04:39 +01:00
HugoCasa
a92ae18cb6 fix: extension of full logs download (#3464) 2024-03-26 00:02:44 +01:00
HugoCasa
abc3a7d74a fix: custom contextual variabels when superadmin (#3458) 2024-03-25 16:24:54 +01:00
Ruben Fiszel
84076fce63 chore(main): release 1.295.2 (#3457)
* chore(main): release 1.295.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-25 09:05:32 +01:00
Ruben Fiszel
aaa766bcd6 fix(typescript-client): improve runScript 2024-03-25 08:55:44 +01:00
Ruben Fiszel
b6299a4820 nit improve benchmarks 2024-03-24 18:52:10 +01:00
Ruben Fiszel
e27f2e069a nit improve benchmarks 2024-03-24 18:52:04 +01:00
Ruben Fiszel
21258a32b9 nit improve benchmarks 2024-03-24 18:42:43 +01:00
Ruben Fiszel
25c81e9e3d nit improve benchmarks 2024-03-24 18:31:22 +01:00
Ruben Fiszel
dd17af1594 nit improve benchmarks 2024-03-24 18:18:51 +01:00
Ruben Fiszel
ecedd13d68 nit improve benchmarks 2024-03-24 18:17:07 +01:00
Ruben Fiszel
c15eeff3ea improve vacuum queue 2024-03-24 17:40:21 +01:00
Ruben Fiszel
e51c63d81c improve vacuum queue 2024-03-24 17:28:15 +01:00
Ruben Fiszel
d2d6e3c411 simplify codegen 2024-03-24 17:15:13 +01:00
Ruben Fiszel
9b795173e1 chore(main): release 1.295.1 (#3456)
* chore(main): release 1.295.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-23 18:47:12 +01:00
Ruben Fiszel
d2afc05703 fix: add support for azure storage on distributed cache/logs 2024-03-23 18:42:38 +01:00
Ruben Fiszel
173716ff4f chore(main): release 1.295.0 (#3454)
* chore(main): release 1.295.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-23 16:56:19 +01:00
Ruben Fiszel
4f6c2a183e improve flow rendering 2024-03-23 16:51:49 +01:00
Ruben Fiszel
368eef1a8a improve flow rendering 2024-03-23 16:41:59 +01:00
Ruben Fiszel
6bf20838ae feat(frontend): fetch logs just-in-time only when necessary 2024-03-23 15:57:23 +01:00
HugoCasa
283d55008c feat: add workspace environment vars (custom contextual vars) (#3455)
* feat: custom contextual variables

* chore: sqlx prepare

* fix: main merge
2024-03-23 11:40:55 +01:00
Ruben Fiszel
af58abd65d nit 2024-03-23 11:40:28 +01:00
Ruben Fiszel
4bada8a69f nit newline 2024-03-23 11:33:10 +01:00
Ruben Fiszel
75e9e67d7a feat: large log disk and distributed storage compaction 2024-03-23 10:55:29 +01:00
Ruben Fiszel
461243a7a5 chore(main): release 1.294.0 (#3453)
* chore(main): release 1.294.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-22 19:02:10 +01:00
HugoCasa
fdc98b73ae feat: workspace renaming (#3452)
* feat: workspace renaming

* feat: openapi spec

* chore: sqlx prepare
2024-03-22 18:54:29 +01:00
Ruben Fiszel
089aab880d fix: small table fixes 2024-03-22 18:51:32 +01:00
Ruben Fiszel
868020fbf7 fix: update git sync cli 2024-03-22 18:21:01 +01:00
Ruben Fiszel
c2d4512978 improve cred store error 2024-03-22 18:00:06 +01:00
HugoCasa
522f32c6c0 feat keep sql columns ordering (#3444)
* feat: keep pg columns ordering

* feat: pass column order through flow status

* feat: sql ordering for all sql langs

* fix: sqlx build on mac + rename to _metadata

* Update JobPreview.svelte

* Update +page.svelte

* Update +page.svelte

* Update LogPanel.svelte

* Update +page.svelte

* Update LogPanel.svelte

* Update JobPreview.svelte

* fix: build

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-03-22 10:34:32 +01:00
Ruben Fiszel
03fd4a7468 chore(main): release 1.293.1 (#3449)
* chore(main): release 1.293.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-21 18:01:03 +01:00
Ruben Fiszel
f603d6fbcf back to 1.76 2024-03-21 15:56:20 +01:00
Ruben Fiszel
2b68cfbb46 add back toggle for Azure Workload Identity 2024-03-21 15:50:47 +01:00
Ruben Fiszel
565f0e08c7 update stripe 2024-03-21 15:29:15 +01:00
Ruben Fiszel
80c0799bac update rustpython 2024-03-21 14:26:36 +01:00
Ruben Fiszel
a13e087fa4 update rust to 1.76 2024-03-21 14:24:19 +01:00
Ruben Fiszel
90c0e176ff fix tests 2024-03-21 14:12:10 +01:00
Ruben Fiszel
d7d842095c fix tests 2024-03-21 13:56:58 +01:00
Ruben Fiszel
f13aea2998 fix: update axum to 0.7 and object_store to 0.9 2024-03-21 13:45:54 +01:00
Ruben Fiszel
4c388533fb chore: update deps 2024-03-21 13:37:17 +01:00
Ruben Fiszel
b464600998 chore(main): release 1.293.0 (#3446)
* chore(main): release 1.293.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-21 10:45:40 +01:00
David Zhang
0cb92408e0 Update AMI used in aws-ecs-terraform example (#3448)
Previous AMI no longer exists, updated to latest Amazon Linux 2023
2024-03-21 10:45:19 +01:00
Ruben Fiszel
9f7bbb45f0 timeout closing db pool 2024-03-21 08:54:23 +01:00
Ruben Fiszel
182dff098f generalize cache object store 2024-03-21 08:50:21 +01:00
Ruben Fiszel
030f6c553e generalize cache object store 2024-03-21 08:50:10 +01:00
Ruben Fiszel
c1b1da2733 fix tests 2024-03-20 21:01:31 +01:00
Ruben Fiszel
eeca92f100 fix compile on non ee 2024-03-20 16:55:06 +01:00
Ruben Fiszel
94ddd4ba6d fix compile on non ee 2024-03-20 16:41:23 +01:00
Ruben Fiszel
febbace259 fix compile on non ee 2024-03-20 16:33:15 +01:00
Ruben Fiszel
52d00d9c58 fix compile on non ee 2024-03-20 15:34:25 +01:00
Ruben Fiszel
5e656c52ea remove tmpcache 2024-03-20 15:32:55 +01:00
Ruben Fiszel
72c105268e fix compile on non ee 2024-03-20 15:18:54 +01:00
Ruben Fiszel
745bd4d170 fix compile on non ee 2024-03-20 15:09:28 +01:00
Ruben Fiszel
b1933998ae remove mold 2024-03-20 14:40:14 +01:00
Ruben Fiszel
174ead0473 feat: s3 cache config added to instance settings + parallelized tar pulling 2024-03-20 14:19:34 +01:00
HugoCasa
458c476f08 fix(frontend): datetime input date timezone (#3445) 2024-03-20 09:04:05 +01:00
BJ Maldonado
deceb81833 [FIX] Generated python local code tester had wrong if statement syntax (#3442)
* [FIX] Generated python local code tester had wrong if statement syntax

* Changed spacing in return instead of whole object.map call
2024-03-19 14:26:06 +01:00
Ruben Fiszel
8b4ec31d6f remove unecessary log 2024-03-19 14:08:41 +01:00
Ruben Fiszel
15d21c94dc chore(main): release 1.292.4 (#3441)
* chore(main): release 1.292.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-19 09:48:50 +01:00
Henri Courdent
24a1ae51ed Content search bar auto-selected (#3437)
* Content search auto-selected

* Update ContentSearch.svelte

* Update ContentSearch.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-03-19 09:39:06 +01:00
Faton Ramadani
87b0112db7 fix(frontend): Improve autodatatable (#3434)
* feat(frontend): Improve autodatable

* feat(frontend): global cache clean up

* feat(frontend): remove useless class
2024-03-19 09:34:34 +01:00
Faton Ramadani
734da1717e fix(frontend): handle the case when the observer is not defined onDestroy (#3431) 2024-03-19 09:01:41 +01:00
Faton Ramadani
21b4719949 fix(frontend): Fix csv generation (#3439)
* feat(frontend): properly convert JSON to CSV

* feat(frontend): properly convert JSON to CSV
2024-03-19 09:01:16 +01:00
HugoCasa
4557e7beb4 fix: ai prevent python async + max db schema length (#3440) 2024-03-19 08:17:51 +01:00
Ruben Fiszel
5689567585 avoid caching binary on cloud 2024-03-17 19:13:51 +01:00
Ruben Fiszel
668454a44a chore(main): release 1.292.3 (#3430)
* chore(main): release 1.292.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-17 18:46:26 +01:00
Ruben Fiszel
1a8ccc322b fix: trigger re-release 2024-03-17 18:41:26 +01:00
Ruben Fiszel
c55fa16600 fix build 2024-03-17 18:28:30 +01:00
Ruben Fiszel
3fa0b2a62c chore(main): release 1.292.2 (#3429)
* chore(main): release 1.292.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-17 16:18:58 +01:00
Ruben Fiszel
fcb6f174e6 fix(cli): fix summary clash 2024-03-17 16:15:43 +01:00
Ruben Fiszel
ca88047312 fix: allow multiple PIP_SECRETS 2024-03-17 15:15:36 +01:00
Ruben Fiszel
e7bd5a0b03 chore(main): release 1.292.1 (#3428)
* chore(main): release 1.292.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-17 14:14:59 +01:00
Ruben Fiszel
5fca9e8188 fix: improve default value for approval flows 2024-03-17 14:10:31 +01:00
Ruben Fiszel
7b2047ba3e chore: openidconnect is a feature flag 2024-03-17 13:51:58 +01:00
Ruben Fiszel
abaeafa3e1 fix tests 2024-03-17 12:15:43 +01:00
Ruben Fiszel
0c642dbf63 fix tests 2024-03-17 12:11:13 +01:00
Ruben Fiszel
b3e53de947 removing pulling all piptars at start 2024-03-17 11:21:43 +01:00
Ruben Fiszel
e0235d9e9e fix: disapproval does not trigger flow error handler anymore 2024-03-17 11:08:02 +01:00
Ruben Fiszel
fccafc7d6c chore(main): release 1.292.0 (#3422)
* chore(main): release 1.292.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-16 19:18:09 +01:00
HugoCasa
695e2c54cf feat: db schema explorer collapsed by default (#3427) 2024-03-16 19:15:03 +01:00
Ruben Fiszel
57c0c95fca log nits 2024-03-16 19:01:58 +01:00
Ruben Fiszel
ffbfba9323 bash nits 2024-03-16 18:52:17 +01:00
Ruben Fiszel
1e9dc754d2 nits logging 2024-03-16 18:30:51 +01:00
Ruben Fiszel
00942671fe nits logging 2024-03-16 18:06:29 +01:00
Ruben Fiszel
e5366b84bb feat: refactor logging to improve performance by order of magnitude for longer jobs 2024-03-16 17:55:34 +01:00
HugoCasa
bab67fe3ae feat: wmill sync workspace settings (#3425)
* feat: wmill sync workspace settings

* fix: build

* fix: nit
2024-03-15 20:07:48 +01:00
Henri Courdent
415cfaab11 Fix approval helpers (#3423) 2024-03-15 18:05:44 +01:00
Ruben Fiszel
a2f4c26690 fix: allow longer worker names 2024-03-15 15:33:47 +01:00
Ruben Fiszel
ae661365e4 fix: s3 cache is an instance settings (#3421)
* s3

* s3
2024-03-15 15:09:05 +01:00
Ruben Fiszel
12a9b0fbcd chore(main): release 1.291.4 (#3419)
* chore(main): release 1.291.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-15 12:24:06 +01:00
Faton Ramadani
50b4c71198 fix(frontend): correctly change the currentPage when perPage changes (#3420) 2024-03-15 11:27:11 +01:00
Ruben Fiszel
71f7299b6c fix: improve pip_secret interpolation 2024-03-15 11:17:41 +01:00
Ruben Fiszel
a278f28d6f fix: improve bun assistant for relative paths 2024-03-15 11:09:01 +01:00
Ruben Fiszel
cd0a6809ee fix readme 2024-03-15 10:09:08 +01:00
Ruben Fiszel
89516b922f fix: avoid unecessary re-schedule for retyied flows 2024-03-15 09:53:58 +01:00
HugoCasa
c2098e56ae fix: db studio include tables of all schemas (#3418) 2024-03-15 08:16:08 +00:00
Ruben Fiszel
7c1e37eb86 fix deno test issues 2024-03-14 20:57:56 +01:00
Ruben Fiszel
27321e1b68 chore(main): release 1.291.3 (#3417)
* chore(main): release 1.291.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-14 20:11:36 +01:00
Ruben Fiszel
c96c527814 fix: fix sqlx 2024-03-14 20:08:43 +01:00
Ruben Fiszel
0ce9ad6249 chore(main): release 1.291.2 (#3416)
* chore(main): release 1.291.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-14 19:58:54 +01:00
Ruben Fiszel
e5f7bcf1a6 fix jobs metrics 2024-03-14 19:53:38 +01:00
Ruben Fiszel
47d96c0d97 add NO_LOGS_AT_ALL 2024-03-14 19:47:46 +01:00
Ruben Fiszel
df910d7441 fix: be less agressive with log streaming for long jobs 2024-03-14 19:42:41 +01:00
Ruben Fiszel
651c915787 chore(main): release 1.291.1 (#3415)
* chore(main): release 1.291.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-14 17:19:29 +01:00
Faton Ramadani
d569296301 fix(frontend): fix oneOf configuration (#3414) 2024-03-14 16:48:31 +01:00
Ruben Fiszel
40b70f6235 chore(main): release 1.291.0 (#3406)
* chore(main): release 1.291.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-14 15:42:39 +01:00
Ruben Fiszel
f3a134fcac Update ee-repo-ref.txt 2024-03-14 15:23:33 +01:00
HugoCasa
92db3d92d9 feat: enable automatic billing by default (#3403)
* feat: enable automatic billing by default

* chore: set ee ref

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-03-14 15:22:50 +01:00
Henri Courdent
fd8f1130ed Added icons & color handling for hub (#3404)
* Added icons & color handling for hub

* Fix Edgedb icon
2024-03-14 15:21:31 +01:00
Ruben Fiszel
43bed9b9dd fix integration tests 2024-03-14 14:35:34 +01:00
Ruben Fiszel
b382bf3c89 fix: use try_lock instead of lock to wait for global pg lock 2024-03-14 14:28:13 +01:00
Ruben Fiszel
97d4f1cc26 feat: better locking (#3412)
* earlyBackendStop

* fix(frontend): Flow step input description (#3409)

* fix(frontend): Add missing descrpition in a flow step input

* fix(frontend): Add missing descrpition in a flow step input

* fix(frontend): Fix color picker layout (#3411)

* feat: add bit support in pg (#3407)

* fix sqlx

* fix: remove dependency on semver intersect for bun

* sqlx fix

* improve early kill behavior

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: HugoCasa <hugo@casademont.ch>
2024-03-14 13:57:54 +01:00
Faton Ramadani
5f28e938df feat(frontend): use the DisplayResult component in the Expanded resul… (#3410)
* feat(frontend): use the DisplayResult component in the Expanded result drawer

* fix(frontend): Fix table-row styling
2024-03-14 12:42:13 +01:00
Ruben Fiszel
fba9b0d1ff sqlx fix 2024-03-14 12:40:30 +01:00
Ruben Fiszel
1cf6d8b462 fix: remove dependency on semver intersect for bun 2024-03-14 12:36:38 +01:00
Ruben Fiszel
479fe6467a fix sqlx 2024-03-14 11:10:13 +01:00
HugoCasa
3730566844 feat: add bit support in pg (#3407) 2024-03-14 10:40:20 +01:00
Faton Ramadani
c6587b93ed fix(frontend): Fix color picker layout (#3411) 2024-03-14 10:40:09 +01:00
Faton Ramadani
f01aefdd05 fix(frontend): Flow step input description (#3409)
* fix(frontend): Add missing descrpition in a flow step input

* fix(frontend): Add missing descrpition in a flow step input
2024-03-14 09:17:59 +01:00
Ruben Fiszel
55ea67d343 fix: show current pid before acquiring lock 2024-03-14 01:02:55 +01:00
Ruben Fiszel
ac1eeb187a fix: improve error handler settings 2024-03-13 22:52:44 +01:00
Ruben Fiszel
ef7d73354b fix: tabs can now be moved within apps 2024-03-13 19:27:37 +01:00
Ruben Fiszel
02627d85e3 chore(main): release 1.290.1 (#3405)
* chore(main): release 1.290.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-13 18:58:56 +01:00
Ruben Fiszel
88bd627d5f nit static inputs 2024-03-13 18:56:46 +01:00
Ruben Fiszel
d5f7583185 fix: fix static inputs in apps 2024-03-13 18:50:55 +01:00
Ruben Fiszel
04977bbd7d chore(main): release 1.290.0 (#3386)
* chore(main): release 1.290.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-13 17:01:35 +01:00
Ruben Fiszel
90b8cb3153 fix: improve bun type assistant (#3402)
* fix ATA

* improve ATA

* improve ATA

* improve ATA
2024-03-13 16:55:43 +01:00
Ruben Fiszel
7d5b50775c fix: make oauth settings more resilient to being ill-defined 2024-03-13 15:27:03 +01:00
Ruben Fiszel
7ce0466795 nits 2024-03-13 02:18:14 +01:00
Ruben Fiszel
ad2f21326d fix: add more metadata for insert completed_job log 2024-03-13 01:43:53 +01:00
HugoCasa
f82af22eaa fix: initial path when changing path of draft only scripts and flows (#3400)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-03-13 00:27:05 +01:00
Ruben Fiszel
89b7ac9f39 sqlx 2024-03-13 00:02:18 +01:00
Ruben Fiszel
f9a1fdfdb8 add customizable template 2024-03-12 23:55:04 +01:00
Henri Courdent
69f838451c End of script ugly logo and Delete button for mac (#3370)
* End of script ugly logo and Delete button for mac

* Del command for Mac

* Non-mac test
2024-03-12 23:45:49 +01:00
HugoCasa
104aa75634 feat: git sync users groups (#3391)
* feat: git sync users groups

* fix: sqlx build

* chore: set ee ref + hub sync script
2024-03-12 23:42:59 +01:00
Ruben Fiszel
50f77fbcbd nit UX 2024-03-12 21:52:22 +01:00
Ruben Fiszel
a2807e6047 feat: configurable languages and orders 2024-03-12 21:50:24 +01:00
Faton Ramadani
212c9d76e5 feat(frontend): DB Studio improvements (#3389)
* fix(frontend): wip

* fix(frontend): validate column def

* fix(frontend): add column definition loading sate

* fix(frontend): only reload columns if static

* fix(frontend): improve validation

* fix(frontend): improve reactivity

* fix(frontend): fix colum defs sync

* fix(frontend): fix colum defs sync + insert

* fix(frontend): fix insert

* fix(frontend): fix

* fix(frontend): fix insert

* fix(frontend): fix insert

* fix(frontend): fix hideSearch + hideInsert

* fix(frontend): fix early return

* fix(frontend): fix delete + policy

* fix(frontend): fix delete

* fix(frontend): restrict resource + table to static only
2024-03-12 17:42:32 +01:00
HugoCasa
cda5e056f5 fix: remove admin instance username if setting disabled (#3398) 2024-03-12 14:25:01 +01:00
Ruben Fiszel
5a3fe73209 Revert "fix: only set admin instance username when setting enabled (#3396)" (#3397)
This reverts commit f974d4570a.
2024-03-12 13:57:34 +01:00
HugoCasa
f974d4570a fix: only set admin instance username when setting enabled (#3396) 2024-03-12 13:55:19 +01:00
HugoCasa
9a1d10fed6 fix: prevent auto add duplicate user (#3395) 2024-03-12 13:31:53 +01:00
wanglf
a501d45e70 add pytenable to resolution exception mapping
* Update lib.rs

PYTHON_IMPORTS_REPLACEMENT: tenable => pyTenable

* Update lib.rs

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-03-12 11:59:07 +01:00
HugoCasa
4f65b23cdd feat: instance usernames (#3382)
* feat: instance usernames

* fix: sqlx + ee ref

* feat: make one-off button for enabling

* chore: set ee ref

* fix: permissions and nits

* fix: admin instance username + sqlx build

* fix: revert stupid change

* fix: only create instance username when setting enabled

* chore: update to ee latest
2024-03-12 11:55:18 +01:00
Faton Ramadani
cc8e73c77f fix(frontend): Disabled delete node + correctly update debug menu when nodes are deleted (#3387)
* fix(frontend): Disabled delete node + correctly handle debug menu

* fix(frontend): improve reactivity
2024-03-11 09:58:07 +01:00
Faton Ramadani
16b1c33de5 fix(frontend): add script history in the script menu on the homepage … (#3388)
* fix(frontend): add script history in the script menu on the homepage + move test an iteration

* fix(frontend): fix Test an iteration position
2024-03-11 09:34:43 +01:00
Ruben Fiszel
41a27d1c13 fix: reset to default tag 2024-03-10 20:36:12 +01:00
Ruben Fiszel
ef4c3ebdee fix build 2024-03-10 19:43:23 +01:00
Ruben Fiszel
797c5515e1 fix: add include_query to all endpoints 2024-03-10 15:50:12 +01:00
Jacob Reynolds
376f8ded5b Fixing typo in LogViewer.svelte (#3385) 2024-03-10 09:53:59 +01:00
Ruben Fiszel
4264b9fe22 chore(main): release 1.289.0 (#3384)
* chore(main): release 1.289.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-09 17:11:13 +01:00
Ruben Fiszel
8a8fab8b41 fix(cli): warn to switch to bun in the CLI 2024-03-09 17:08:28 +01:00
Ruben Fiszel
017190be27 fix(cli): warn to switch to bun in the CLI 2024-03-09 17:05:57 +01:00
Ruben Fiszel
357f74ad1a feat: bun is now the default typescript language 2024-03-09 15:20:47 +01:00
Ruben Fiszel
64ac515a93 chore(main): release 1.288.0 (#3383)
* chore(main): release 1.288.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-09 01:00:55 +01:00
Ruben Fiszel
ec7a783ead update ee repo 2024-03-09 00:49:46 +01:00
Ruben Fiszel
276a93e07a update ee repo 2024-03-09 00:45:40 +01:00
Ruben Fiszel
5c52c2e179 update ee repo 2024-03-09 00:43:02 +01:00
Ruben Fiszel
eec2c7018a update ee repo 2024-03-09 00:27:30 +01:00
Ruben Fiszel
f9ce9dbfa8 update ee repo 2024-03-09 00:20:24 +01:00
Ruben Fiszel
420ed5e677 update ee repo 2024-03-09 00:15:07 +01:00
Ruben Fiszel
2d957ad3b3 fix compile 2024-03-09 00:05:23 +01:00
Ruben Fiszel
bddbd0940e fix compile 2024-03-08 23:55:10 +01:00
Ruben Fiszel
9e34efb362 update ee repo 2024-03-08 23:41:52 +01:00
Ruben Fiszel
9e0ba03e6d fix warnings 2024-03-08 23:20:54 +01:00
Ruben Fiszel
4578ed32da feat: implement s3 oidc support + azure workload identity support 2024-03-08 22:51:16 +01:00
Ruben Fiszel
41a1c78595 chore(main): release 1.287.1 (#3381)
* chore(main): release 1.287.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-08 14:43:56 +01:00
Faton Ramadani
3713ad0b8d fix(frontend): fix theme fork (#3380) 2024-03-08 14:37:42 +01:00
Ruben Fiszel
ae46879ce4 chore(main): release 1.287.0 (#3365)
* chore(main): release 1.287.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-08 11:47:10 +01:00
Faton Ramadani
ed9379aab4 fix(frontend): improve table selection (#3347)
* fix(frontend): improve table selection

* fix(frontend): remove console.logs

* fix(frontend): fix snowflake

* fix(frontend): add condition to clear the columns

* fix(frontend): limit the reactivity

* fix(frontend): clean up
2024-03-08 11:40:33 +01:00
Henri Courdent
19f2866b8d Workflow as code Changelog (#3371) 2024-03-07 17:57:31 +01:00
Faton Ramadani
2e905313b8 fix(frontend): fix snowflake columnsDefs (#3377) 2024-03-07 08:39:03 +01:00
Ruben Fiszel
a2d0a96423 increase backed timeout 2024-03-06 17:05:15 +01:00
HugoCasa
8b88f64ede feat: add quickbooks oauth (#3359) 2024-03-06 16:05:24 +01:00
jneeee
c3042bbbd3 Reduce two layers (#3369) 2024-03-06 16:04:55 +01:00
Ruben Fiszel
5020c7134d small exists_worker_with_tag nit 2024-03-06 15:57:48 +01:00
Ruben Fiszel
2a85a874d7 fix: improve custom concurrency key handling 2024-03-06 15:53:01 +01:00
HugoCasa
c04adcca86 fix: pg timstamptz param (#3364) 2024-03-06 12:50:01 +01:00
Ruben Fiszel
caed0fdd43 client nits 2024-03-06 01:56:55 +01:00
Ruben Fiszel
ab6852e913 chore(main): release 1.286.2 (#3358)
* chore(main): release 1.286.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-06 01:06:10 +01:00
Ruben Fiszel
465dfc186b fix: add more functions to typescript client 2024-03-06 01:00:15 +01:00
Ruben Fiszel
1f3fac2b9d chore(main): release 1.286.1 (#3357)
* chore(main): release 1.286.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-06 00:46:00 +01:00
Ruben Fiszel
b17ae785e6 fix: add more functions to typescript client 2024-03-06 00:28:17 +01:00
Ruben Fiszel
8089b95138 chore(main): release 1.286.0 (#3356)
* chore(main): release 1.286.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 23:31:16 +01:00
Ruben Fiszel
0fe9ac10bb workflow as code ts improvements 2024-03-05 23:22:25 +01:00
Ruben Fiszel
e3e86e5c34 feat: workflow as code for typescript 2024-03-05 23:14:04 +01:00
Ruben Fiszel
7575e12dc8 fix: workers to load custom tags for running sync scripts locally 2024-03-05 19:34:01 +01:00
Ruben Fiszel
50dc03c632 chore(main): release 1.285.4 (#3355)
* chore(main): release 1.285.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 19:21:16 +01:00
Ruben Fiszel
d30cd3a4ba fix: improve workflow as code python client 2024-03-05 19:16:10 +01:00
Ruben Fiszel
84012ae4cf chore(main): release 1.285.3 (#3352)
* chore(main): release 1.285.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 19:05:36 +01:00
Ruben Fiszel
27c0331331 fix go-client 2024-03-05 18:54:01 +01:00
Ruben Fiszel
9c2ff8f07f fix go-client 2024-03-05 18:51:47 +01:00
Ruben Fiszel
6a5fb87491 fix: improve workflow as code python client 2024-03-05 18:42:08 +01:00
Ruben Fiszel
bc40281aab chore(main): release 1.285.2 (#3348)
* chore(main): release 1.285.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 17:04:25 +01:00
Ruben Fiszel
32fc3e25d1 fix: retrigger release 2024-03-05 16:40:22 +01:00
Henri Courdent
0ebf715cea Search components works even with space at the end (#3345) 2024-03-05 15:38:18 +01:00
Ruben Fiszel
69cba92a94 chore(main): release 1.285.1 (#3346)
* chore(main): release 1.285.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 15:28:06 +01:00
Ruben Fiszel
73c93f37e0 fix: fix sqlx 2024-03-05 15:15:29 +01:00
Ruben Fiszel
2da6f44cc5 chore(main): release 1.285.0 (#3340)
* chore(main): release 1.285.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-05 12:51:07 +01:00
Ruben Fiszel
55c80959a0 feat: workflow as code with timelines 2024-03-05 12:45:24 +01:00
Faton Ramadani
4c6a7516f7 fix(frontend): Fix PSQL select (#3343) 2024-03-05 12:29:46 +01:00
Faton Ramadani
ca6311d8cd feat(frontend): Added support for mysql, mssql and snowflake in the Database Studio (#3250)
* feat(frontend): Added support for mysql in the Database Studio

* feat(frontend): generic db

* feat(frontend): generic column def wip

* fix(frontend): adapt queries

* fix(frontend): adapt queries

* fix(frontend): wip

* fix(frontend): wip

* feat(frontend): remove useless runnable calls

* feat(frontend): MySQL + PSQL done, mssql wip

* feat(frontend): clean up

* feat(frontend): clean up

* feat(frontend): mssql: select + count done

* feat(frontend): mssql: update, insert and delete + fix policies

* feat(frontend): typo

* feat(frontend): fix build

* feat(frontend): improve perf + UI

* feat(frontend): add snowflake

* feat(frontend): fix count

* feat(frontend): debounce input

* feat(frontend): fix deploy button

* feat(frontend): remove ghost rows

* feat(frontend): Fix search

* feat(frontend): Fix search

* feat(fontend): remove bigquery

* feat(fontend): Fix performance issues + sorting

* feat(fontend): Fix lastRow

* feat(fontend): Fix build + search

* feat(fontend): fix mysql metadata

* feat(fontend): simplify code

* feat(fontend): remove cache + fix the number of calls

* feat(fontend): clean up

* feat(fontend): clean up

* feat(fontend): remove dead code

* feat(fontend): fix infinite scroll

* feat(fontend): fix count

* feat(fontend): remove unnecessary clearRows

* feat(fontend): add missing delete policy

* feat(fontend): fix search

* feat(fontend): fix search

* feat(fontend): roll back infiniteInitialRowCount

* feat(fontend): roll back infiniteInitialRowCount

* feat(fontend): add bigquery (#3326)

* feat(fontend): add bigquery

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>

* feat(fontend): remove code duplication

* feat(fontend): add mapping for postgres

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
2024-03-05 08:52:20 +01:00
Ruben Fiszel
5407265419 fix: workflow as code python sdk improvement 2024-03-04 23:23:41 +01:00
Ruben Fiszel
2ba57d5578 workflow as code endpoint set proper parent job 2024-03-04 21:57:23 +01:00
Ruben Fiszel
69d9c3c5c0 chore(main): release 1.284.1 (#3339)
* chore(main): release 1.284.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-04 20:47:59 +01:00
Ruben Fiszel
0795353ec2 fix: workflow as code api improvement 2024-03-04 20:45:04 +01:00
Ruben Fiszel
e51f36ec1b chore(main): release 1.284.0 (#3331)
* chore(main): release 1.284.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-04 20:30:54 +01:00
Ruben Fiszel
619e2784f0 feat: workflow as code v0 2024-03-04 20:19:34 +01:00
Soumit Das
7f8bc11aea env table wan't displayed properly (#3332) 2024-03-04 09:30:33 +01:00
Ruben Fiszel
ba7f7165f0 remove nativets 2024-03-02 14:32:32 +01:00
Ruben Fiszel
161436644e nit vacuum iterator 2024-03-02 13:51:28 +01:00
Ruben Fiszel
7f24ecd6bc fix: allow multiselect in dynamic forms 2024-03-02 00:01:05 +01:00
Ruben Fiszel
35451d66d1 fix schedule creator 2024-03-01 21:25:25 +01:00
Ruben Fiszel
79407ae2e4 fix getMainButtons 2024-03-01 21:03:58 +01:00
Ruben Fiszel
67cf82f130 feat: add schedule page to script settings 2024-03-01 20:27:27 +01:00
Ruben Fiszel
644df205c3 chore(main): release 1.283.0 (#3330)
* chore(main): release 1.283.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-01 19:29:22 +01:00
HugoCasa
8812dfd428 feat: sync users and groups (#3328)
* feat: wmil sync for users and groups

* fix: sort admins

* fix: sqlx build

* chore: update to latest deno client
2024-03-01 19:25:14 +01:00
Henri Courdent
c997d0670e Update changelog & logo runs (#3329) 2024-03-01 18:56:30 +01:00
Ruben Fiszel
19547e90c6 chore(main): release 1.282.2 (#3325)
* chore(main): release 1.282.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-01 12:22:08 +01:00
Ruben Fiszel
195ce113fd fix: redo release 2024-03-01 12:15:21 +01:00
Ruben Fiszel
fc81366f82 chore(main): release 1.282.1 (#3321) 2024-03-01 12:04:18 +01:00
Ruben Fiszel
07fb3754af fix: fix flow progress monitor when using parallel branches and continuing long after 2024-03-01 12:01:17 +01:00
Ruben Fiszel
410ec2cd78 fix: maintain order in flow inputs when never reordering 2024-03-01 11:43:36 +01:00
HugoCasa
5f86293f6c chore: update ee ref (#3322) 2024-03-01 11:08:32 +01:00
Ruben Fiszel
07cea28712 fix: description of fields accept new lines 2024-03-01 08:53:54 +01:00
Ruben Fiszel
aaa7aa982e chore(main): release 1.282.0 (#3316)
* chore(main): release 1.282.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-03-01 01:24:40 +01:00
Ruben Fiszel
ec38f92aa6 fix: improve dev mode for flows 2024-03-01 01:12:20 +01:00
Audrius Butkevicius
cb4ac89e08 feat: Use ACCEPT_INVALID_CERTS for SMTP (#3318)
The library currently loads fixed set of certificates from a rust package, does not
use OS certificate store. Providing a custom CA would need to be done via a
custom tls connector.
2024-02-29 22:27:46 +01:00
Ruben Fiszel
530d1a97ff fix: AI copilot available in the vscode flow editor (#3314)
* all

* foo

* add ai to vscode for flows

* add ai to vscode for flows

* foo

* foo
2024-02-29 20:22:44 +01:00
JDWNL
6507173bcf Fixed language issues. (#3317) 2024-02-29 13:56:46 +01:00
Ruben Fiszel
0d86dbaa5e nit import removal 2024-02-29 13:07:00 +01:00
Ruben Fiszel
f444e4752f improve multi-select style 2024-02-29 13:00:42 +01:00
Ruben Fiszel
493d2012a8 fix: app forms change value on default value changes 2024-02-29 12:39:41 +01:00
Ruben Fiszel
c0b661a673 update bun to 1.29.0 and deno to 1.41.0 2024-02-29 11:13:05 +01:00
Ruben Fiszel
e605639578 nit 2024-02-28 17:21:12 +01:00
Ruben Fiszel
8b26ea4ed9 chore(main): release 1.281.3 (#3313)
* chore(main): release 1.281.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-28 16:36:14 +01:00
Ruben Fiszel
0c47a3ea28 fix: fix app expr break 2024-02-28 16:33:50 +01:00
HugoCasa
0e6b164e16 fix: table-col/row switch issue in display result (#3311) 2024-02-28 16:17:50 +01:00
Ruben Fiszel
4c1692c2c4 chore(main): release 1.281.2 (#3310)
* chore(main): release 1.281.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-28 15:58:15 +01:00
Ruben Fiszel
07e166fc02 fix: fix app expr break 2024-02-28 15:48:26 +01:00
Ruben Fiszel
6c003226f4 chore(main): release 1.281.1 (#3309)
* chore(main): release 1.281.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-28 14:50:19 +01:00
Ruben Fiszel
a9b32382fb improve expr eval 2024-02-28 14:46:18 +01:00
Ruben Fiszel
d1bb6a6924 fix: fix app expr break 2024-02-28 14:41:54 +01:00
Ruben Fiszel
e2c14572f3 chore(main): release 1.281.0 (#3308)
* chore(main): release 1.281.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-28 13:27:18 +01:00
Ruben Fiszel
afedd44ab5 improve bun auto-type fetching 2024-02-28 13:25:41 +01:00
Ruben Fiszel
4ad29be3e6 improve bun auto-type fetching 2024-02-28 13:22:12 +01:00
Ruben Fiszel
ad3c551d66 fix: add limits to bun auto-type fetching 2024-02-28 12:54:02 +01:00
Ruben Fiszel
afa3c54140 feat: improve performance of exprs in apps using memoized expr functors 2024-02-28 10:52:58 +01:00
Ruben Fiszel
03dc11f1cf remove logs 2024-02-28 09:53:56 +01:00
Ruben Fiszel
260468cf73 fix: allow eval with return in last line 2024-02-28 09:45:05 +01:00
Ruben Fiszel
fc34594aeb feat: implement progress monitor for parallel branches last transition 2024-02-28 08:49:35 +01:00
lfanew
e44aafe47b Fix custom env var tooltip link (#3307) 2024-02-27 23:38:59 +01:00
Ruben Fiszel
7ce3286579 chore(main): release 1.280.0 (#3305)
* chore(main): release 1.280.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-27 22:10:12 +01:00
Ruben Fiszel
be7c03bda2 fix: solve deadlock issues for parallel branches with new progress monitor 2024-02-27 20:59:26 +01:00
HugoCasa
1c6e767617 feat: allow to pin database in sql scripts (#3304) 2024-02-27 19:59:52 +01:00
Ruben Fiszel
29ca285a44 chore(main): release 1.279.0 (#3301)
* chore(main): release 1.279.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-27 16:45:43 +01:00
HugoCasa
66e46990b2 fix: handle very large ints as floats in snowflake (#3302) 2024-02-27 16:40:55 +01:00
HugoCasa
c9dbba43ea chore: publish parser with pwsh datetime (#3303) 2024-02-27 16:37:42 +01:00
Ruben Fiszel
4285f1e47d fix: improve handling of parallel flow branches of more than 30s 2024-02-27 16:33:13 +01:00
lfanew
96bd86d9da PowerShell datetime & tests (#3299)
* Added pwsh datetime type supp and basic tests

* Added more comprehensive pwsh tests

* Removed unused vars in test string

Visual only change to make test code string
less confusing

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
2024-02-27 15:30:34 +01:00
HugoCasa
ec10b3ff81 feat: add ee flag to common (#3300) 2024-02-27 12:06:48 +01:00
Ruben Fiszel
e1d2b7343f chore(main): release 1.278.5 (#3298)
* chore(main): release 1.278.5

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-27 00:52:37 +01:00
Ruben Fiszel
49be282d21 fix: fix scheduling of overlapping flows 2024-02-27 00:50:03 +01:00
Ruben Fiszel
36771fbbde improve runs filter 2024-02-27 00:08:37 +01:00
Ruben Fiszel
508a6299b0 chore(main): release 1.278.4 (#3297)
* chore(main): release 1.278.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-26 20:46:40 +01:00
Ruben Fiszel
2ba5bc673f fix: clarify pg migration logs 2024-02-26 20:43:23 +01:00
Ruben Fiszel
435f4d41fb chore(main): release 1.278.3 (#3295)
* chore(main): release 1.278.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-26 20:26:09 +01:00
HugoCasa
31c17be8b7 chore: stats in EE (#3296)
* feat: switch stats to closed source

* fix: remove symlink

* fix: add emptied stats

* fix: remove unneeded imports

* fix: embedding feature flag

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-26 20:08:22 +01:00
Henri Courdent
cee9814a99 How to upgrade message on cloud (#3293)
* How to upgrade message on cloud

* Inlined message
2024-02-26 20:01:20 +01:00
Ruben Fiszel
c7f6e6f9d5 fix: crash on init script failure 2024-02-26 19:50:33 +01:00
Ruben Fiszel
321da6ce30 more debug lines, remove telemetry for agents 2024-02-26 17:02:40 +01:00
HugoCasa
6a0ed19c80 fix: add bigint support to mysql (#3294) 2024-02-26 16:59:36 +01:00
Ruben Fiszel
499754af5c chore(main): release 1.278.2 (#3292)
* chore(main): release 1.278.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-26 15:36:52 +01:00
Ruben Fiszel
b24225124a fix: add HOME to pip install 2024-02-26 15:33:45 +01:00
Ruben Fiszel
18cee438b8 chore(main): release 1.278.1 (#3291)
* chore(main): release 1.278.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-26 15:31:41 +01:00
Ruben Fiszel
ee0f8b6914 fix: add HOME to pip install 2024-02-26 15:27:56 +01:00
Ruben Fiszel
b97b4bd128 chore(main): release 1.278.0 (#3288)
* chore(main): release 1.278.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-26 15:13:03 +01:00
Faton Ramadani
a457a0e9bf fix(frontend): Fix the overlapping buttons in the Schedule to run later popup (#3290) 2024-02-26 15:11:57 +01:00
Ruben Fiszel
024f80aee4 fix: handle better flow hanging monitor 2024-02-26 15:09:39 +01:00
Ruben Fiszel
074a2f440d fix: improve conditional wrapper and prevent more app errors 2024-02-26 12:44:53 +01:00
Faton Ramadani
cec19c87b5 fix(frontend): fix layout (#3289) 2024-02-26 10:34:47 +01:00
Faton Ramadani
000a4814e8 feat(frontend): Update shortcuts design (#3285)
* feat(frontend): Improve text colors + button shortcuts

* feat(frontend): revert theme changes

* fix(frontend): fix shortcuts

* fix(frontend): fix delete shortcut
2024-02-26 10:30:16 +01:00
Ruben Fiszel
199994a135 fix compile build 2024-02-26 08:57:05 +01:00
Ruben Fiszel
05a1e19b5e chore(main): release 1.277.1 (#3283)
* chore(main): release 1.277.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-25 20:53:09 +01:00
Ruben Fiszel
55fc1c2d8f set last_ping to null for current flows 2024-02-25 20:40:56 +01:00
Ruben Fiszel
86ca005c54 fix: do not handle zombie jobs on initial_load of monitor db 2024-02-25 20:37:33 +01:00
Ruben Fiszel
b5c4f4b6d0 chore(main): release 1.277.0 (#3282)
* chore(main): release 1.277.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-25 19:29:56 +01:00
Ruben Fiszel
136c04eed4 fix: improve relative bun loader 2024-02-25 19:18:10 +01:00
Ruben Fiszel
7207c0c801 increase flow zombie timeout to 30 2024-02-25 18:29:28 +01:00
Ruben Fiszel
32a45b544d feat: more resilient flows in case of crash during transitions 2024-02-25 18:25:40 +01:00
Ruben Fiszel
c662208d4c sqlx 2024-02-25 12:25:28 +01:00
Ruben Fiszel
314d457e3d sqlx 2024-02-25 12:00:23 +01:00
Ruben Fiszel
88799b935e fix: improve performance of list users 2024-02-25 11:41:41 +01:00
Ruben Fiszel
36ef54189f chore(main): release 1.276.1 (#3280)
* chore(main): release 1.276.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-24 19:40:43 +01:00
Ruben Fiszel
f0a954601b wasm fix 2024-02-24 19:38:03 +01:00
Ruben Fiszel
8171eb30ff fix: parse wmill.S3Object as S3Object 2024-02-24 19:36:19 +01:00
Ruben Fiszel
d8c020fa06 modify python signature 2024-02-24 18:51:33 +01:00
Ruben Fiszel
90a31cf25c chore(main): release 1.276.0 (#3275)
* chore(main): release 1.276.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-24 18:15:16 +01:00
Ruben Fiszel
a413541fa6 reactivate parquet features 2024-02-24 17:55:17 +01:00
Ruben Fiszel
5172a4e994 reactivate parquet features 2024-02-24 17:44:43 +01:00
Ruben Fiszel
29a7327bd8 reactive embedding feature 2024-02-24 17:39:14 +01:00
Ruben Fiszel
af6ba11c91 reactive embedding feature 2024-02-24 17:28:36 +01:00
Ruben Fiszel
acd6c07444 revert ee 2024-02-24 17:26:35 +01:00
Ruben Fiszel
4854f181b1 fix: improve s3file browser tester 2024-02-24 17:25:07 +01:00
Ruben Fiszel
665d0d5ef1 chore: fasten compilation time 2024-02-24 17:10:55 +01:00
Ruben Fiszel
494ce162c0 chore: fasten compilation time 2024-02-24 16:29:35 +01:00
Ruben Fiszel
9286487c39 fix: improve completed_job index 2024-02-24 00:13:28 +01:00
Ruben Fiszel
37987bf9ad fix: make setting owner for folders a transaction 2024-02-23 23:12:50 +01:00
Ruben Fiszel
e4893a1875 remove use of singlescript flow job kinds 2024-02-23 21:45:23 +01:00
Ruben Fiszel
0df43221ec fix: improve support for singlescriptflow 2024-02-23 21:06:55 +01:00
HugoCasa
044ea75403 feat: add filters for schedules (#3276) 2024-02-23 17:31:05 +01:00
Ruben Fiszel
5a57eb6fa8 improve git sync 2024-02-22 21:30:38 +01:00
HugoCasa
ec65b521ce fix: replace no res/var error in app input with warning (#3274) 2024-02-22 17:59:38 +01:00
HugoCasa
b0f9299a2c fix: improve erorr handling when error on app component run request (#3273) 2024-02-22 17:58:15 +01:00
Ruben Fiszel
80c713eae0 chore(main): release 1.275.6 (#3272)
* chore(main): release 1.275.6

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-22 17:46:37 +01:00
Ruben Fiszel
1697f4b254 fix: fix argenum breaking frontend bug 2024-02-22 17:42:59 +01:00
Ruben Fiszel
78ee76c787 chore(main): release 1.275.5 (#3271)
* chore(main): release 1.275.5

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-22 15:43:08 +01:00
Ruben Fiszel
4db0eb9222 revert ee links 2024-02-22 15:28:18 +01:00
Ruben Fiszel
08264e9c1a fix: fix sqlx build 2024-02-22 15:11:36 +01:00
Ruben Fiszel
2e0f3c6a19 chore(main): release 1.275.4 (#3270)
* chore(main): release 1.275.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-22 14:52:18 +01:00
Henri Courdent
2102af6d48 Workspace settings and links (#3267)
* Workspace settings and links

* Encryption not EE

* Upgrade button

* Customer portal to dark
2024-02-22 14:45:12 +01:00
Ruben Fiszel
34ffde0652 revert ee symlink change 2024-02-22 14:41:39 +01:00
Ruben Fiszel
bc8e481fbb fix: improve scim handling of renames on azure 2024-02-22 14:35:40 +01:00
Ruben Fiszel
17f52da4e5 chore(main): release 1.275.3 (#3269)
* chore(main): release 1.275.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-22 08:18:57 +01:00
Ruben Fiszel
e15e206026 fix: fix sqlx build 2024-02-22 07:58:03 +01:00
Ruben Fiszel
c6eb0b5840 fix: fix sqlx build 2024-02-22 07:55:57 +01:00
Ruben Fiszel
e4b2ec31f9 chore(main): release 1.275.2 (#3264)
* chore(main): release 1.275.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-22 07:23:59 +01:00
Ruben Fiszel
4333a106c0 improve app reactivity with onDemandOnly 2024-02-22 07:20:52 +01:00
Ruben Fiszel
d3f60b9f9c fix: support arbitrary azure resource path for blob storage 2024-02-22 01:53:52 +01:00
HugoCasa
5ba0bf5294 fix: improve display result header (#3265)
* fix: improve display result header

* fix: improve code
2024-02-22 00:21:04 +01:00
Ruben Fiszel
1e1efb29ba improve multi resource type resource picker 2024-02-22 00:13:49 +01:00
Ruben Fiszel
890682d4bd fix empty tags on schedules 2024-02-21 23:16:06 +01:00
Ruben Fiszel
3946e54e70 handle schedule with empty tags 2024-02-21 23:08:53 +01:00
Ruben Fiszel
1a4e56d18a lighten schedule export 2024-02-21 22:39:01 +01:00
Ruben Fiszel
1dea611a4c fix: improve aggrid behavior edit when filtered 2024-02-21 22:18:47 +01:00
Ruben Fiszel
18a7c48f91 fix: fix app policy quote escaping 2024-02-21 21:44:44 +01:00
Ruben Fiszel
6059a820a9 fix: fix app policy quote escaping 2024-02-21 21:44:18 +01:00
Faton Ramadani
d696f854e1 fix(frontend): Fix the selection of the first row (#3263) 2024-02-21 16:46:44 +01:00
Ruben Fiszel
bf14873539 chore(main): release 1.275.1 (#3261)
* chore(main): release 1.275.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-21 15:56:32 +01:00
Ruben Fiszel
ceadc8a187 improve togglebuttongroup 2024-02-21 15:35:50 +01:00
Faton Ramadani
3278e09ccc Subfolder indicator (#3262)
* feat(frontend): add an indicator that path can have subfolders

* feat(frontend): add an indicator that path can have subfolders
2024-02-21 14:50:23 +01:00
Faton Ramadani
c6865f8a6c fix(frontend): Select the row when clicking on a checkbox (#3260) 2024-02-21 13:50:47 +01:00
Ruben Fiszel
71ff9f2873 chore(main): release 1.275.0 (#3259)
* chore(main): release 1.275.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-21 13:13:18 +01:00
Faton Ramadani
464604d939 feat(frontend): add support for datetime and time (#3256)
* feat(frontend): add support for datetime and time

* feat(frontend): Time component

* feat(frontend): add datetime

* feat(frontend): fix default dimensions

* feat(frontend): fix default dimensions

* feat(frontend): add missing case

* feat(frontend): fix datetime picker + improve time picker

* feat(frontend): compute date validity

* feat(frontend): fix placeholder

* feat(frontend): adapt tooltips + add missing min/max

* feat(frontend): remove console.log

* Update components.ts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-21 12:44:39 +01:00
Ruben Fiszel
a09a487b84 fix: add default time to datetime picker 2024-02-21 12:42:54 +01:00
Ruben Fiszel
77d66efa45 fix(frontend): improve handling of optional enums 2024-02-21 12:25:10 +01:00
Ruben Fiszel
bd439f9666 chore(main): release 1.274.1 (#3258)
* chore(main): release 1.274.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-21 00:46:12 +01:00
Ruben Fiszel
806d111008 fix(python): ignore stdlib imports with _ 2024-02-21 00:10:52 +01:00
Ruben Fiszel
da22e3dcae chore(main): release 1.274.0 (#3251)
* chore(main): release 1.274.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-20 23:53:49 +01:00
Faton Ramadani
247396d04d feat(frontend): App debug mode (#3252)
* feat(frontend): App debug mode

* feat(frontend): App debug mode

* feat(frontend): App debug mode

* feat(frontend): App debug mode

* feat(frontend): App debug mode done

* feat(frontend): App debug mode done
2024-02-20 23:50:29 +01:00
Ruben Fiszel
65e09a705f fix: accept multiple dependency map importer for python 2024-02-20 23:28:42 +01:00
Ruben Fiszel
5216e4e14a add folders_read to whoami endpoint 2024-02-20 21:13:53 +01:00
Ruben Fiszel
6a872dbacb add zoneinfo to stdlib 2024-02-20 20:27:49 +01:00
Ruben Fiszel
bf3e417acc fix(python): handle recursive python imports with loop 2024-02-20 19:42:11 +01:00
gbouv
7d4162d0d8 Revert "sqlx prepare"
This reverts commit a5c70672d2.
2024-02-20 19:04:26 +01:00
gbouv
a5c70672d2 sqlx prepare 2024-02-20 18:54:56 +01:00
Ruben Fiszel
30105af0dd fix: improve database studio 2024-02-20 14:41:10 +01:00
HugoCasa
409f3382db fix: ai fill deep copy before slicing modules + minor improvements (#3255)
* fix: AI fill deep copy before slicing modules

* feat: green to accept + improve single input gen prompt

* fix: prompt nit
2024-02-20 14:31:59 +01:00
Henri Courdent
3032300dc5 Resource before custom object (#3253) 2024-02-20 13:19:08 +01:00
kapilsinha
15eca21745 Update RustPython dependency to fix nightly error (#3254)
Updated to a newer patch of RustPython so the nightly compiler now
works. Also needed to change the version of the time crate to fix
version mismatches across dependencies
2024-02-20 13:18:52 +01:00
Ruben Fiszel
33b02b1aef feat(app): fields inputs can be picked to not trigger recompute individually 2024-02-20 12:24:20 +01:00
Faton Ramadani
62824e4af8 feat(frontend): Fix tailwind classes on the Select component (#3249) 2024-02-20 09:16:13 +01:00
Faton Ramadani
2138016242 feat(frontend): Button rework (#3216)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* fix(frontend): improve buttons

* fix(frontend): improve buttons wip

* fix(frontend): wip

* fix(frontend): rework done

* feat(frontend): Fix grey buttons
2024-02-20 09:15:29 +01:00
Ruben Fiszel
75ade2d169 chore(main): release 1.273.0 (#3242)
* chore(main): release 1.273.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-20 02:14:50 +01:00
Ruben Fiszel
0f8024504e SAML_AUDIENCE 2024-02-20 02:14:10 +01:00
Ruben Fiszel
3761de874e fix: prevent bigquery/snowflake against abuse timeout 2024-02-20 01:56:04 +01:00
Ruben Fiszel
66fc78f233 feat: allow arbitrary timeout on graphql 2024-02-20 00:45:42 +01:00
Ruben Fiszel
18bb982852 feat: add support for mem peak to nativets scripts 2024-02-19 23:38:27 +01:00
Ruben Fiszel
e28fbc9c97 fix: prevent native http against timeout abuse 2024-02-19 23:28:06 +01:00
Ruben Fiszel
8e21532684 refactor future wrapper for queries 2024-02-19 22:11:45 +01:00
HugoCasa
4b153e7626 feat: usage-based billing (#3247)
* feat: usage-based billing

* fix: missing field

* fix: sqlx build
2024-02-19 21:09:59 +01:00
Ruben Fiszel
f129e75628 fix(psql): add mem peak to postgresql 2024-02-19 20:51:09 +01:00
Ruben Fiszel
a3320fe144 respect query timeout for pg queries 2024-02-19 20:11:28 +01:00
Ruben Fiszel
d35c67c9b9 fix: prevent postgres timeout abuse 2024-02-19 19:59:43 +01:00
HugoCasa
be3f9125af fix: bigquery timeout (#3244)
* fix: bigquery timeout

* fix: use default timeout instead
2024-02-19 17:56:19 +01:00
Ruben Fiszel
c553d50a78 randomId drop target 2024-02-19 17:35:00 +01:00
Ruben Fiszel
4c5d6139ce fix: improve date picker across app 2024-02-19 17:29:57 +01:00
Ruben Fiszel
f17e8bc15d fix: improve runs page drag 2024-02-19 15:17:45 +01:00
Ruben Fiszel
8979f01730 fix(app): make custom components available in public apps 2024-02-19 14:44:14 +01:00
Ruben Fiszel
66578d1093 feat: no logos for whitelabel licenses 2024-02-19 14:26:04 +01:00
Ruben Fiszel
628dccf16a feat: no logos for whitelabel licenses 2024-02-19 14:26:00 +01:00
Amélia
02dff11d96 Clarified tooltip (#3246) 2024-02-19 12:47:12 +01:00
HugoCasa
6ccca62876 fix: remove oom prio macos (#3245) 2024-02-19 12:36:57 +01:00
HugoCasa
458550f314 fix: backend build on macos (#3243) 2024-02-19 09:58:12 +01:00
Ruben Fiszel
4a224f60ab fix: add support for onSelect to app select 2024-02-18 18:43:50 +01:00
Ruben Fiszel
5a47f5062b fix: add support for onToggle for app checkboxes 2024-02-18 18:31:49 +01:00
Ruben Fiszel
e1cadf67de chore(main): release 1.271.0 (#3241)
* chore(main): release 1.271.0

* update versions

* update versions
2024-02-18 14:39:41 +01:00
Ruben Fiszel
2c4a3a02a3 fix: improve instance settings save button UX 2024-02-18 14:35:42 +01:00
Ruben Fiszel
77aaf2724c chore: remove warnings 2024-02-18 14:03:00 +01:00
Ruben Fiszel
a61936f66f fix: update internal deno runtime to 0.262.0 (#3240)
* feat: scim token and saml metadata setting in UI directly

* chore(main): release 1.271.0 (#3237)

* chore(main): release 1.271.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>

* fix test

* all

* update all

* fix frontend

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-18 13:19:35 +01:00
Ruben Fiszel
639c80220f feat: scim token and saml metadata setting in UI directly
chore(main): release 1.271.0 (#3237)

* chore(main): release 1.271.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>

fix test

revert ee changes

revert ee changes
2024-02-18 07:26:12 +01:00
Ruben Fiszel
1de8479259 add support for pip index url 2024-02-17 15:58:20 +01:00
Ruben Fiszel
e85a79cb16 chore: s3 helpers EE 2024-02-17 15:05:15 +01:00
Ruben Fiszel
91395aaa73 chore: s3 helpers EE 2024-02-17 15:05:10 +01:00
Ruben Fiszel
14234fd1c0 nit 2024-02-17 14:50:29 +01:00
Ruben Fiszel
23f143f3c4 chore: git sync EE 2024-02-17 14:36:18 +01:00
Ruben Fiszel
507da8ed4b fix build 2024-02-17 13:55:27 +01:00
Ruben Fiszel
38258f702b fix build 2024-02-17 13:54:54 +01:00
Ruben Fiszel
51e1d48fa3 fix oss build 2024-02-17 11:19:08 +01:00
Guillaume Bouvignies
810ea6f4d7 chore: SCIM EE (#3230)
* chore: SCIM EE

* update ee repo ref

* configurable port

* scim improvement

* scim improvement

* change ref

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-02-17 11:00:29 +01:00
Mikhail Zagurskiy
a354ebd6ea Fix build for Windows (#3235)
* Fix build for Windows

* Fix typo
2024-02-17 10:45:38 +01:00
Ruben Fiszel
7c65ca76c9 print SAML_METADATA in logs 2024-02-16 20:52:12 +01:00
Ruben Fiszel
041b777fd6 fix(mysql): support integer with float type 2024-02-16 18:33:21 +01:00
Ruben Fiszel
801eda1e22 fix: pre-select resource if there is only one 2024-02-16 17:53:47 +01:00
Ruben Fiszel
abe368e31b chore(main): release 1.270.3 (#3236)
* chore(main): release 1.270.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-16 17:37:52 +01:00
Ruben Fiszel
b0155ffb7e fix: server cache only cache tokens for 120s 2024-02-16 17:30:53 +01:00
Ruben Fiszel
f0dc6f8db9 restrict policies to windmill_user 2024-02-16 13:05:39 +01:00
Ruben Fiszel
661ff7b0ae clarify Ran in 2024-02-16 11:03:49 +01:00
Ruben Fiszel
bcff00071f chore(main): release 1.270.2 (#3234)
* chore(main): release 1.270.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-16 09:51:17 +01:00
Ruben Fiszel
d4e634ea68 bump deno to 1.40.5 2024-02-16 09:38:21 +01:00
gft-kysonnd
b1638fcbe2 fix(frontend): wrap values with special characters in double quotes when downloading a CSV (#3232)
* wrapped values with special characters in double quotes when downloading CSV

* Update AutoDataTable.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-02-16 09:17:19 +01:00
Ruben Fiszel
bdb96a9cc3 chore(main): release 1.270.1 (#3231)
* chore(main): release 1.270.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-16 09:16:20 +01:00
Ruben Fiszel
1750707215 improve from connection string parser for postgres 2024-02-16 09:10:42 +01:00
Ruben Fiszel
dc583723a7 fix(deno): add allow-net 2024-02-16 00:32:31 +01:00
Ruben Fiszel
42377efad0 chore(main): release 1.270.0 (#3213)
* chore(main): release 1.270.0

* Apply automatic changes

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-15 22:53:50 +01:00
Ruben Fiszel
3b39d16f41 fix build 2024-02-15 18:36:13 +01:00
Faton Ramadani
455aaedd92 fix(frontend): Fix table action recompute (#3221)
* fix(frontend): Fix table action recompute

* fix(frontend): fix hover colors
2024-02-15 17:40:13 +01:00
Guillaume Bouvignies
e6513acf5c chore: SSO EE (#3207)
* chore: SSO EE

* update ee repo ref

* revert EE gating

* update ref to ee repo

* update comment

* Move check_nb_users

* update ee repo ref
2024-02-15 17:31:53 +01:00
Guillaume Bouvignies
d1f929b2bb fix: oauth settings for github and gitlab (#3219)
* fix: oauth settings for github and gitlab

* toggle only in SSO

* fix oauth user toggle
2024-02-15 17:19:21 +01:00
HugoCasa
7f98a96e24 fix: add timestamp array support in pg (#3229) 2024-02-15 17:18:41 +01:00
Faton Ramadani
69da45ddf2 fix(frontend): fix supabase connect (#3218) 2024-02-15 17:03:27 +01:00
Henri Courdent
c39918c313 Download file and file input borders (#3220) 2024-02-15 17:03:05 +01:00
Guillaume Bouvignies
e8ed4783b2 feat: Workspace encryption key can be manually updated (#3223)
* feat: Workspace encryption key can be manually updated

* sqlx prepare
2024-02-15 17:02:45 +01:00
Faton Ramadani
28192ec014 fix(frontend): update a few svelte packages (#3222) 2024-02-15 16:58:59 +01:00
Guillaume Bouvignies
f61116da24 chore: License validation and Audit logs EE (#3227)
* chore: audit log EE

* update repo ref

* license key validation EE
2024-02-15 16:51:24 +01:00
Faton Ramadani
f399f4921e fix(frontend): add header when downloading a CSV (#3228) 2024-02-15 16:51:13 +01:00
Ruben Fiszel
b75f79d327 fix: run recompute on success for toggles on click and set default value 2024-02-15 02:14:40 +01:00
Ruben Fiszel
4a9147f9ae implement noInitialize for runnable component 2024-02-14 22:13:28 +01:00
HugoCasa
4492279c50 fix: prevent AI fill inputs freezing (#3226) 2024-02-14 21:28:20 +01:00
Jacopo Bonomi
ca0b2418af typo error on comment (#3225) 2024-02-14 19:40:31 +01:00
Ruben Fiszel
d18eb66e21 fix user account settings 2024-02-14 19:27:49 +01:00
Guillaume Bouvignies
86326c1652 feat: Git sync exclude certain type per repository (#3210)
* feat: Git sync exclude certain type per repository

* sync secret and variable

* remove bind:disabled
2024-02-14 14:28:04 +01:00
HugoCasa
d3a74e881f fix: add back resource type btn for bun/fetch (#3217) 2024-02-14 13:23:54 +01:00
Ruben Fiszel
44bfbadf68 fix(sso): improve handling of filters for get groups for sso 2024-02-14 13:12:13 +01:00
Ruben Fiszel
b61d103529 fix more goto 2024-02-14 12:49:27 +01:00
Ruben Fiszel
8dd7cedfe5 fix saml and cli goto 2024-02-14 12:47:02 +01:00
Ruben Fiszel
fba6a7c246 fix saml and cli goto 2024-02-14 12:46:40 +01:00
HugoCasa
b81b095b61 feat: add raw option for urlencoded webhook call (#3215) 2024-02-14 11:22:40 +01:00
Ruben Fiszel
8ea18e32b4 update sveltekit to 2.0 (#3214)
* update svelte

* update sveltekit

* fix checks

* fix checks
2024-02-14 00:52:50 +01:00
Ruben Fiszel
e85314cae8 relax audit log current setting 2024-02-13 22:00:25 +01:00
Ruben Fiszel
1b11a6164e use debouncedinput for apptable search 2024-02-13 21:43:00 +01:00
Ruben Fiszel
48113856b4 debug runs clear after successful run 2024-02-13 21:23:33 +01:00
HugoCasa
156d10d416 feat: set branch summary on predicate gen (#3212) 2024-02-13 17:36:32 +01:00
HugoCasa
d352b68a26 fix: improve transformer script gen (#3211)
* fix: improve transformer script gen

* fix: revert bad change
2024-02-13 17:36:04 +01:00
Ruben Fiszel
a027c8f077 chore(main): release 1.269.0 (#3200)
* chore(main): release 1.269.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-13 15:57:44 +01:00
HugoCasa
43e0ceb342 feat: add ai for predicates and iterator expressions (#3203)
* feat: add ai for predicates and iterator expressions

* fix: npm run check

* feat: copilot like suggestion
2024-02-13 15:52:03 +01:00
Faton Ramadani
3d0e5c8e57 fix(frontend): Truncate path on the run page (#3208) 2024-02-13 15:51:48 +01:00
Ruben Fiszel
54ad67e84a add tracing debug around user auth 2024-02-13 13:30:33 +01:00
Ruben Fiszel
5c5c9c5ac4 fix: search on table set page to 0 2024-02-13 12:03:29 +01:00
Ruben Fiszel
ce4d0777f6 fix(scim): when deleting instance groups manually, delete also members mapping 2024-02-13 11:53:01 +01:00
Ruben Fiszel
9655b8fb32 fix(scim): switch right join to left join for groups 2024-02-13 11:32:04 +01:00
Ruben Fiszel
3c52ef1469 fix: init scripts are tagged with 'init_script' 2024-02-13 11:04:15 +01:00
Ruben Fiszel
b334a3fbda redact flow debug logs toggle 2024-02-13 10:36:10 +01:00
Ruben Fiszel
374b631076 improve toast for connection did not resolve 2024-02-13 10:13:17 +01:00
Ruben Fiszel
90c7c0ed8a feat: improve runs page + add all workspaces to admins runs page 2024-02-13 10:12:14 +01:00
Guillaume Bouvignies
0e7de63c4b feat: Git sync can handle resource types, resources, variables and schedules (#3202)
* feat: Git sync can handle resource types, resources, variables and schedules

* update hub script

* update all schedule on default error handler

* sqlx prepare

* reorder filters and always show secrets
2024-02-12 19:33:55 +01:00
Ruben Fiszel
8b46b953a2 fix(cli): update hub sync version 2024-02-12 12:44:12 +01:00
Faton Ramadani
620093271a feat(frontend): add confirmation modal to the app button (#3199)
* feat(frontend): add confirmation modal to the app button

* feat(frontend): add missing await

* feat(frontend): select the component immediatly
2024-02-12 10:53:49 +01:00
Ruben Fiszel
c733085569 updating docker-compose to pg16 + increase shm size 2024-02-11 23:58:34 +01:00
Ruben Fiszel
5cfd658632 nit logs around schedules 2024-02-11 23:40:56 +01:00
Ruben Fiszel
784a5aba14 more tracing around scheduled jobs 2024-02-11 23:26:06 +01:00
Ruben Fiszel
d487a773f4 update api explorer 2024-02-11 13:18:02 +01:00
Ruben Fiszel
e1aa3edb30 chore(main): release 1.268.0 (#3196)
* chore(main): release 1.268.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-11 12:57:42 +01:00
Ruben Fiszel
87ee3e4a93 fix(cli): improve tty handling 2024-02-11 12:39:25 +01:00
Ruben Fiszel
f1ae3f21ef fix(cli): improve tty handling 2024-02-11 12:33:44 +01:00
Ruben Fiszel
beb92fe782 improve verbosity of overlapping flow runs 2024-02-11 12:21:57 +01:00
HugoCasa
13e6706a09 feat: flow inputs ai gen (#3191)
* feat: flow inputs ai gen

* fix: prevent flow builder crash on AI gen

* fix: nits

* fix: adjust tab behavior
2024-02-10 19:51:44 +01:00
Ruben Fiszel
f171d08278 fix: allow direct git-sync setting loading 2024-02-10 14:38:32 +01:00
Ruben Fiszel
4914db4341 chore(main): release 1.267.0 (#3195)
* chore(main): release 1.267.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-10 13:51:03 +01:00
Ruben Fiszel
16507ad45e fix(cli): improve restart_unless_cancelled handling 2024-02-10 13:48:03 +01:00
Ruben Fiszel
8a3a9bda1c feat: default tag can be made workspace specific (#3194)
* feat: Worker env variables are hidden to developers in the config panel (#3175)

* improve rename component of apps

* progress

* all

* feat: default tags per workspace

---------

Co-authored-by: Guillaume Bouvignies <guillaume@windmill.dev>
2024-02-10 13:40:34 +01:00
Ruben Fiszel
90e6dee671 chore(main): release 1.266.1 (#3193)
* chore(main): release 1.266.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-10 10:31:33 +01:00
Ruben Fiszel
0f6f2bcc5a fix cuda 2024-02-10 10:30:01 +01:00
Ruben Fiszel
31469cb77c fix: improve load schedule args 2024-02-10 09:47:26 +01:00
Ruben Fiszel
266697d195 chore(main): release 1.266.0 (#3187)
* chore(main): release 1.266.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-10 00:46:38 +01:00
Ruben Fiszel
0a5bf33beb fix compile 2024-02-10 00:40:53 +01:00
Ruben Fiszel
904ea101be nit 2024-02-10 00:38:36 +01:00
Ruben Fiszel
6614817cd4 fix: improve no flow overlap + schedule args loading 2024-02-10 00:37:46 +01:00
Ruben Fiszel
48b8520239 fix: improve no flow overlap + schedule args loading 2024-02-10 00:37:35 +01:00
Ryan Doyle
b230378320 fix: Properly handle pip index urls in pip-compile (#3192)
- URLs that contain simple auth seem to have that stripped before being
  passed to underlying pip if it needs to be called by pip-compile.
- This forces explicit passing of the complete, authenticated url
  string to pip, through pip-compile, via pip-compile's "--pip-args"
  argument.
2024-02-10 00:29:08 +01:00
Ruben Fiszel
7845ad0d18 add tracing debug to pip compile 2024-02-09 22:38:52 +01:00
Ruben Fiszel
e5a447d699 add tracing debug to pip install command args 2024-02-09 22:35:59 +01:00
Guillaume Bouvignies
e9a6c8154c feat: git sync now accepts path filters and type filters (#3189)
* feat: git sync now accepts path filters and type filters

* fix git sync for folders

* UI nits

* Add folder by default in migration

* fix openapi
2024-02-09 18:51:44 +01:00
Henri Courdent
4f8ceda117 Small helper on download button (#3190) 2024-02-09 18:51:35 +01:00
Ruben Fiszel
2c88767a53 fix nit custom client scope issue 2024-02-09 16:14:51 +01:00
Ruben Fiszel
68c874d583 nits 2024-02-09 12:38:36 +01:00
Ruben Fiszel
b848444e74 nits 2024-02-09 12:36:29 +01:00
Faton Ramadani
6a13b97bc3 fix(frontend): fix html component initial data (#3188)
* fix(frontend): fix html component initial data

* fix(frontend): fix html component initial data
2024-02-09 12:23:22 +01:00
Ruben Fiszel
4d64c942fc fix: improve on-boarding flow app 2024-02-09 11:57:52 +01:00
Bryan
8d5c7c2b46 fix: add --unstable-http arg to deno (#3186) 2024-02-09 00:35:34 +01:00
Ruben Fiszel
dce9d29a45 chore(main): release 1.265.3 (#3185)
* chore(main): release 1.265.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-08 20:07:30 +01:00
Ruben Fiszel
b9c0eda168 fix: ai builder colors 2024-02-08 20:04:22 +01:00
Ruben Fiszel
68a86914ce improve git sync 2024-02-08 19:58:01 +01:00
Ruben Fiszel
dc148997c3 chore(main): release 1.265.2 (#3180)
* chore(main): release 1.265.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-08 19:11:19 +01:00
Guillaume Bouvignies
a8cb6be15a chore: EE private repo fetched on commit hash (#3183)
* chore: EE private repo fetched on commit hash

* revert docker-image.yml

* repo_ref -> ee_repo_ref
2024-02-08 19:09:03 +01:00
Guillaume Bouvignies
e00e3f9d2d fix: Improve python writeS3File perf (#3182) 2024-02-08 17:57:42 +01:00
Ruben Fiszel
f38a6d64c4 fix tests 2024-02-08 17:10:38 +01:00
Ruben Fiszel
a2e24a2da2 pin rust to 1.75.0 2024-02-08 16:44:28 +01:00
Guillaume Bouvignies
b1d5778092 chore: SAML EE (#3176)
* Extract SAML logic into its own file

* Remove saml.rs core logic

* hello

* Add substitute_ee_code.sh and check_no_symlink.sh scripts

* dry-run docker image build

* test hook

* add setup-hooks.sh script

* Update pre-commit hook

* Update substitution script

* revert docker-image action yaml

* revert Cargo.lock

* publish custom image

* swap for ce build as well

* empty

* revert temp action override

* fix docker-image.yml
2024-02-08 16:09:11 +01:00
Ruben Fiszel
52790e45c8 nit clarify error 2024-02-08 16:05:39 +01:00
Ruben Fiszel
e4dc972d40 fix: handle better \u0000 in python result 2024-02-08 16:02:38 +01:00
Faton Ramadani
9f98caa072 fix(frontend): Fix tutorials + Move into itself + Disable app history… (#3181)
* fix(frontend): Fix tutorials + Move into itself + Disable app history for unsaved apps + several toggle fix

* fix(frontend): clean up

* fix(frontend): add missing result for transformer
2024-02-08 15:46:10 +01:00
Guillaume Bouvignies
29be5021ff fix: Cuda image building (#3179) 2024-02-08 13:49:21 +01:00
Ruben Fiszel
27539763b8 chore(main): release 1.265.1 (#3178)
* chore(main): release 1.265.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-07 23:46:25 +01:00
Ruben Fiszel
30c975d26a sqlx fix 2024-02-07 23:45:07 +01:00
Ruben Fiszel
dbfd45ea91 improve custom windmill migration 2024-02-07 23:39:09 +01:00
HugoCasa
361ea76279 fix: graphql web worker (#3177)
* fix: graphql web worker

* fix: id editor unused input
2024-02-07 22:59:42 +01:00
Ruben Fiszel
3230dad246 chore(main): release 1.265.0 (#3172)
* chore(main): release 1.265.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-07 22:49:51 +01:00
Ruben Fiszel
73ff48bc83 fix: improve agent policies 2024-02-07 22:45:07 +01:00
Ruben Fiszel
fc33af6253 handle null lockfiles better 2024-02-07 22:15:42 +01:00
Ruben Fiszel
1cefcc160b remove obsolete array handler 2024-02-07 21:15:50 +01:00
Ruben Fiszel
602bdce21c fix split on null 2024-02-07 21:07:05 +01:00
Ruben Fiszel
ad60535165 smallfix 2024-02-07 18:44:28 +01:00
Guillaume Bouvignies
126aa60a9d feat: Worker env variables are hidden to developers in the config panel (#3175) 2024-02-07 18:43:17 +01:00
Faton Ramadani
284e43c064 fix(frontend): handle not found folder in FolderEditor (#3170)
* fix(frontend): handle not found folder in FolderEditor

* Update FolderEditor.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-07 15:43:47 +01:00
Ruben Fiszel
07bab35e5d chore(main): release 1.264.0 (#3167)
* chore(main): release 1.264.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-07 14:46:58 +01:00
HugoCasa
91743c3cfb feat: violet ai branding + flow summary (#3171)
* feat: violet ai branding + flow summary

* fix: npm run check
2024-02-07 14:33:33 +01:00
Guillaume Bouvignies
6edc4c4fc8 fix: Main compile breaks (#3169) 2024-02-07 14:04:23 +01:00
Guillaume Bouvignies
812516bb06 fix: SAML redirect uses SAMLRequest in URL (#3168)
* fix: SAML redirect uses SAMLRequest in URL

* revert samael fork and fix ce edition

* simplify enterprise ff

* logging to debug

* rename unused variable
2024-02-07 12:04:15 +01:00
Ruben Fiszel
75e210bfc7 fix: only create shared dir symlink if not exists 2024-02-07 00:42:23 +01:00
Ruben Fiszel
cd78c6766d fix: add audit logs to worker configs 2024-02-06 23:09:07 +01:00
Faton Ramadani
83b8d628f0 fix(frontend): Fix delete script (#3166)
* fix(frontend): fix delete action on the script detail page

* fix(frontend): fix delete action on the script detail page
2024-02-06 22:14:16 +01:00
Ruben Fiszel
0af0aae0b5 fix: export base64 from typescript client 2024-02-06 22:13:59 +01:00
Ruben Fiszel
01ad925247 chore(main): release 1.263.1 (#3164)
* chore(main): release 1.263.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-06 18:39:54 +01:00
Faton Ramadani
a352d85b0b fix(frontend): fix toggles margins (#3165) 2024-02-06 18:34:35 +01:00
HugoCasa
0fc22213e4 fix: improve ts wrappers (#3163) 2024-02-06 17:54:32 +01:00
Ruben Fiszel
89dc4dd4aa nit on txs 2024-02-06 16:40:43 +01:00
Ruben Fiszel
d1f3adade8 chore(main): release 1.263.0 (#3158)
* chore(main): release 1.263.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-06 16:36:59 +01:00
Faton Ramadani
6692880211 Fix select click outside (#3162)
* feat(frontend): fix clickOutside when using portals

* feat(frontend): fix clickOutside when using portals

* feat(frontend): clean up
2024-02-06 16:35:20 +01:00
Faton Ramadani
8a8c1d3c3f feat(frontend): add status when a flow setting is enabled (#3161)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-06 16:05:20 +01:00
Ruben Fiszel
887bf6872b fix: increase default max conn of a worker to 4 2024-02-06 15:33:05 +01:00
Guillaume Bouvignies
057b415e9a fix: go client sets resource properly (#3160) 2024-02-06 15:16:07 +01:00
HugoCasa
58d34845a0 feat: new ai design (#3152)
* feat: new ai design

* fix: show caret + esc to cancel
2024-02-06 15:13:20 +01:00
Ruben Fiszel
1352add8c6 fix: scim added users are now auto-added/invited 2024-02-06 12:24:34 +01:00
Ruben Fiszel
f9d68a052f nit 2024-02-06 12:13:30 +01:00
Ruben Fiszel
557d0bcbef fix: add ping since to list workers 2024-02-06 12:10:22 +01:00
Faton Ramadani
bc75a5acbc fix(frontend): fix dateslider doclink (#3159) 2024-02-06 11:51:50 +01:00
Faton Ramadani
4faedfe589 fix(frontend): Fix operators actions + small UI fixes (#3157)
* feat(frontend): fix tree view expand all button + operator mode actions

* feat(frontend): fix deploy workspace when user have no access to target workspace
2024-02-06 11:37:00 +01:00
Ruben Fiszel
18c953a878 chore(main): release 1.262.1 (#3154)
* chore(main): release 1.262.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-06 00:51:58 +01:00
Ruben Fiszel
9877c5fd9d fix: add get_root_job_id typescript-client 2024-02-06 00:42:37 +01:00
Ruben Fiszel
73420a1008 chore(main): release 1.262.0 (#3145)
* chore(main): release 1.262.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-06 00:22:53 +01:00
Ruben Fiszel
60f3a9fa6b fix: add get_root_job_id 2024-02-06 00:17:50 +01:00
Ruben Fiszel
12d440b6d1 improve alert component 2024-02-05 23:00:17 +01:00
Ruben Fiszel
6c184eb4e4 fix: remove duplicated on deployment management UI 2024-02-05 22:42:35 +01:00
Ruben Fiszel
a89f6817f0 fix: scheduling of flows is done immediately 2024-02-05 18:58:55 +01:00
Guillaume Bouvignies
40c3b916d8 fix: go preload wmill dependencies (#3150) 2024-02-05 18:42:19 +01:00
Guillaume Bouvignies
9c9e543996 fix: go preload wmill dependencies (#3149)
* fix: go preload wmill dependencies

* update comment
2024-02-05 18:13:59 +01:00
Faton Ramadani
2637fa23bb feat(frontend): alert component (#3140)
* feat(frontend): add alert component

* feat(frontend): fix build

* feat(frontend): alert styling

* feat(frontend): add initial isCollapsed

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-05 17:23:18 +01:00
Faton Ramadani
4c37479b67 feat(frontend): App date slider component (#3146)
* feat(frontend): date slider

* feat(frontend): date slider

* feat(frontend): remove test.json

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-05 17:22:33 +01:00
Guillaume Bouvignies
364284cf41 fix: go preload wmill dependencies (#3148) 2024-02-05 17:21:30 +01:00
Faton Ramadani
81174abf5a feat(frontend): add support for toasts in frontend scripts (#3147)
* feat(frontend): add support for toast in frontend scripts

* feat(frontend): add support for toast in frontend scripts

* feat(frontend): fix comment

* Update eval.ts

* Update eval.ts

* Update utils.ts

* Update utils.ts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-02-05 17:20:47 +01:00
Ruben Fiszel
6f0e107343 update go to 1.21.6 2024-02-05 16:06:04 +01:00
Ruben Fiszel
7c1a52cab5 improve debug info endpoint 2024-02-05 12:41:41 +01:00
Ruben Fiszel
c067a87571 fix: auto-add user add user to the group all 2024-02-05 12:32:14 +01:00
Ruben Fiszel
608e3256d0 chore(main): release 1.261.0 (#3144)
* chore(main): release 1.261.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-05 09:19:06 +01:00
Ruben Fiszel
97d134994e feat: add nobypassrls migration 2024-02-05 08:55:39 +01:00
Ruben Fiszel
608c7597ae feat: add flow debug info endpoint + button 2024-02-04 22:16:12 +01:00
Ruben Fiszel
2c4eb46e65 fix: decrease database connections of workers to 3 2024-02-04 18:32:14 +01:00
Ruben Fiszel
44ffba5d90 improve cancel_all for flows 2024-02-04 18:08:10 +01:00
Ruben Fiszel
e0a606ac90 exiting connection pool gracefully 2024-02-04 09:26:25 +01:00
Ruben Fiszel
aeec558a11 nit, add concurrency_time_window_s only if concurrent limit is set 2024-02-04 08:27:00 +01:00
Ruben Fiszel
95952da387 fix: add support for ephemeral tokens 2024-02-03 12:09:39 +01:00
Ivan Starkov
082de71356 Remove ansi codes in script run (#3132) 2024-02-03 08:46:44 +01:00
Ruben Fiszel
3f99a92840 chore(main): release 1.260.1 (#3143)
* chore(main): release 1.260.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-02 23:52:51 +01:00
Ruben Fiszel
cda609d5d6 fix sqlx 2024-02-02 23:47:39 +01:00
Ruben Fiszel
160f91e0be fix: retrigger release 2024-02-02 23:30:17 +01:00
Ruben Fiszel
5db37182df chore(main): release 1.260.0 (#3139)
* chore(main): release 1.260.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-02 23:21:32 +01:00
Ruben Fiszel
c4349da751 add quiet option 2024-02-02 23:17:33 +01:00
Ruben Fiszel
62df5e8754 remove --unstable from upgrade 2024-02-02 23:10:17 +01:00
Guillaume Bouvignies
a104c46bc4 feat: Sync user groups from Azure Entra ID using SCIM (#3141) 2024-02-02 20:18:38 +01:00
Guillaume Bouvignies
7a70e42cc6 feat: Support for Azure Blob storage (#3130) 2024-02-02 19:55:07 +01:00
Faton Ramadani
df7ceed793 fix(frontend): fix vertical prop + add missing disabled prop (#3134) 2024-02-02 19:08:58 +01:00
Faton Ramadani
3ca27a7b67 fix(frontend): fix the tutorial for loops (#3135) 2024-02-02 19:08:29 +01:00
Ruben Fiszel
ca9d07b535 add license check to dev mode for flows 2024-02-02 18:14:46 +01:00
HugoCasa
017d9b8670 feat: disable self approval toggle (#3137)
* feat: disable self approval toggle

* fix: nits
2024-02-02 11:19:50 +01:00
Ruben Fiszel
86ba89de7e chore(main): release 1.259.2 (#3138)
* chore(main): release 1.259.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-02 11:03:16 +01:00
Faton Ramadani
fc8ef5867a fix(frontend): Fix dt branch (#3124)
* fix(frontend): wip

* fix(frontend): fix decision tree + add missing outputs

* fix(frontend): remove console.logs

* feat(frontend): add fallback to go previous when we have no history (manual selection)

* feat(frontend): add a context to keep track of when a decision tree is being debugged

* fix(frontend): fix nameoverride

* fix(frontend): getFirstNode to make sure we correclty select the head

* fix dt beanch

* fix(frontend): remove debugger

* fix(frontend): fix branch names
2024-02-02 10:56:13 +01:00
Guillaume Bouvignies
86aa6d0f0d fix: Python buffered reader (#3136)
* fix: Python buffered reader

* use bytes generator only for buferred reader
2024-02-02 10:23:04 +01:00
Ruben Fiszel
fc606c078b chore(main): release 1.259.1 (#3133)
* chore(main): release 1.259.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-02 01:25:20 +01:00
Ruben Fiszel
c1cf8b0fb1 fix(python): fix python reader 2024-02-02 01:21:20 +01:00
Ruben Fiszel
583e942174 fix(python): fix python reader 2024-02-02 01:12:01 +01:00
Ruben Fiszel
21a82d56c7 chore(main): release 1.259.0 (#3122)
* chore(main): release 1.259.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-01 16:56:01 +01:00
HugoCasa
ba175c3e59 fix: check if AI enabled (#3129) 2024-02-01 16:53:27 +01:00
HugoCasa
c4308de720 feat: ai cron (#3128) 2024-02-01 16:48:55 +01:00
Guillaume Bouvignies
5dabe22935 feat: migrate s3 client to object_store (#3116)
* feat: migrate s3 client to object_store

* remove multipart from open API

* Remove multipart in favor of a single stream

* progress report

* add progress reader on server side

* small nit fix

* fix read chunk

* Fix TS and python SDK

* Fix download button

* Fix download button object viewer

* fix list

* Better errors

* export loadS3FileContent

* revert changes SDK

* fix browser

* small file list unavailable fix

* Old endpoints throws informative error messages

* Typescript SDK uses raw fetch

* update python SDK

* Error if uploaded file > 50Mb

* revert python SDL changes

* Update python SDK method docs

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-02-01 16:03:30 +01:00
Faton Ramadani
8a8a30c5ec fix(frontend): fix DB studio when columns have space in their names (#3126) 2024-02-01 14:08:26 +01:00
HugoCasa
b9d5506793 fix: pg coerce nb to string (#3127) 2024-02-01 14:08:14 +01:00
Ruben Fiszel
e185eb37ca fix: handle array of null in display result 2024-02-01 13:41:34 +01:00
HugoCasa
c926e714dc fix: metadata gen typo (#3125) 2024-02-01 10:13:23 +01:00
Faton Ramadani
5a6fc4891f fix(frontend): fix schema form toolips (#3123) 2024-02-01 08:47:40 +01:00
Faton Ramadani
ba10432480 feat(frontend): add support for dynamic default values + enums (#3109) 2024-01-31 23:28:48 +01:00
HugoCasa
1446cb45ad feat: generate script summary (#3110)
* feat: generate script summary

* fix: design nits

* feat: better ui + descriptions
2024-01-31 23:12:50 +01:00
HugoCasa
6b772dd2a7 feat: auto-add users (#3114)
* feat: auto-add users

* feat: improve UI

* fix: user name validation

* fix: username remove invalid chars

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-31 23:10:34 +01:00
Ruben Fiszel
2a039d7e03 make reorder more resilient 2024-01-31 20:52:02 +01:00
Ruben Fiszel
7468ceb62c make reorder more resilient 2024-01-31 20:36:29 +01:00
Ruben Fiszel
6ee8da0d3b chore(main): release 1.258.4 (#3121)
* chore(main): release 1.258.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-31 20:12:34 +01:00
Ruben Fiszel
23f06d1a04 fix: improve git sync 2024-01-31 20:08:43 +01:00
Ruben Fiszel
cc0aec8743 fix: improve git sync 2024-01-31 19:59:35 +01:00
Ruben Fiszel
6e02dc06b2 chore(main): release 1.258.3 (#3119)
* chore(main): release 1.258.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-31 19:57:09 +01:00
Ruben Fiszel
db06ba3e71 small cli fix 2024-01-31 19:56:30 +01:00
Ruben Fiszel
7494e7ee2d fix(cli): restore other files support 2024-01-31 19:53:37 +01:00
Ruben Fiszel
b0631648c3 fix: improve git sync 2024-01-31 19:43:03 +01:00
Anthony Angel
e9c7fe1b3b chore: fix typo (#3120) 2024-01-31 19:01:05 +01:00
Ruben Fiszel
1c4129c4f6 fix: improve git sync 2024-01-31 18:40:51 +01:00
Henri Courdent
4344db9c2b DB studio url fix (#3118) 2024-01-31 18:14:44 +01:00
Faton Ramadani
740801f4a7 fix(frontend): Fix adding nodes to decision tree (#3107)
* fix(frontend): wip

* fix(frontend): fix decision tree + add missing outputs

* fix(frontend): remove console.logs

* feat(frontend): add fallback to go previous when we have no history (manual selection)

* feat(frontend): add a context to keep track of when a decision tree is being debugged

* fix(frontend): fix nameoverride

* fix(frontend): getFirstNode to make sure we correclty select the head
2024-01-31 16:54:12 +01:00
Ruben Fiszel
56e458c300 docker build nit 2024-01-31 15:04:48 +01:00
Ruben Fiszel
10ef976f0f chore(main): release 1.258.2 (#3117)
* chore(main): release 1.258.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-31 14:58:51 +01:00
Ruben Fiszel
319d9d0caa nit 2024-01-31 14:56:00 +01:00
Ruben Fiszel
d2cbc7a416 fix(cli): push folders first + on_behalf_of stripped from metadata 2024-01-31 14:53:09 +01:00
Ruben Fiszel
3b374a41ab chore(main): release 1.258.1 (#3115)
* chore(main): release 1.258.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-31 13:01:29 +01:00
Ruben Fiszel
c0e192b5c7 add cuda dockerfile 2024-01-31 11:20:06 +01:00
Ruben Fiszel
5cec2edaef fix: fix RETENTION period setting UI 2024-01-31 11:02:28 +01:00
Ruben Fiszel
2c4bd63e20 JOB_RETENTION_SECS set to 30days by default 2024-01-31 10:55:28 +01:00
Ruben Fiszel
f0e0c7bf38 fix readme nit 2024-01-31 10:54:10 +01:00
Ruben Fiszel
b4d0a3c423 fix(cli): add support for restart_unless_cancelled in sync 2024-01-31 08:47:52 +01:00
Ruben Fiszel
3e3625a353 chore(main): release 1.258.0 (#3113)
* chore(main): release 1.258.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-31 08:28:22 +01:00
Ruben Fiszel
d7c2f3d558 fix(deno): remove unstable warnings 2024-01-31 07:45:05 +01:00
Ruben Fiszel
782a1aec9e small nits 2024-01-30 21:17:33 +01:00
Audrius Butkevicius
a719170a6a feat: Support sending SIGINT to jobs (#3094)
* feat: Support sending SIGINT to jobs

This makes it easier to clean up in languages like python, where
you get a nice KeyboardInterrupt exception, and don't have to explicitly
install signal handlers, making the scripts easier to reason about.

* Make sigint unconditional on the sigterm flag
2024-01-30 20:51:26 +01:00
Ruben Fiszel
ef17fd0f5e fix: improve array static editor 2024-01-30 20:42:40 +01:00
Ruben Fiszel
e161fda1b5 chore(main): release 1.257.0 (#3108)
* chore(main): release 1.257.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-30 18:52:26 +01:00
Faton Ramadani
b55c0bd2c5 fix(frontend): expose Filters + Displayed row count in the outputs (#3101)
* fix(frontend): expose Filters + Displayed row count in the outputs

* fix(frontend): expose Filters + Displayed row count in the outputs

* feat(frontend): update wizard to support filters

* Update AppAggridTable.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-30 18:44:11 +01:00
Ruben Fiszel
565e1668b3 fix(cli): avoid flows in script generate-metadata 2024-01-30 18:33:35 +01:00
Faton Ramadani
64441b3452 fix(frontend): fix logpanel (#3111) 2024-01-30 18:16:28 +01:00
Faton Ramadani
8ebc90abb2 feat(frontend): Correctly set the licence key on the approval page (#3112) 2024-01-30 16:04:25 +01:00
Ruben Fiszel
34253fd43b fix: simplify folder creation by non admins 2024-01-30 13:43:50 +01:00
Ruben Fiszel
700a982a7d chore(main): release 1.256.0 (#3105)
* chore(main): release 1.256.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-30 13:01:52 +01:00
Ruben Fiszel
47fcfbbbdf fix: add support for NPM_CONFIG_REGISTRY 2024-01-30 12:58:52 +01:00
HugoCasa
26d5c6c1ba feat: list jobs metrics (#3104)
* feat: list jobs metrics

* fix: remove serialization metric

* fix: log query
2024-01-30 11:08:11 +01:00
Faton Ramadani
0102dcef8e fix(frontend): fix chartjs when resolvedDatasets is not defined (#3106) 2024-01-30 11:07:15 +01:00
Ruben Fiszel
27f4624b30 fix: add support for NPM_CONFIG_REGISTRY 2024-01-29 20:56:48 +01:00
Ruben Fiszel
27d7f345dc chore(main): release 1.255.0 (#3091)
* chore(main): release 1.255.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-29 19:24:35 +01:00
Ruben Fiszel
87320bbaf0 fix build 2024-01-29 19:17:15 +01:00
Ruben Fiszel
49c1bc50f3 feat(cli): global generate-metadata + inherit deps from closest package.json/requirements.txt + bun settable as default (#3102)
* all

* rm console logs

* rm console logs

* all

* push

* push

* fixes

* fixes

* all

* all
2024-01-29 19:06:56 +01:00
HugoCasa
8fcf119798 fix: use extra headers when urlencoded (#3103)
* fix: use extra headers when urlencoded

* fix: webhook tabs reset
2024-01-29 15:52:24 +01:00
Guillaume Bouvignies
6160889793 feat: Download s3 file as stream in Python and TS (#3099) 2024-01-29 14:49:08 +01:00
Faton Ramadani
cbfa5ff887 fix(frontend): various UI fix (#3098)
* fix(frontend): Fix Tree view whitespace break + add w-max to contextual variable table + Migrate script history tab to Datatable + uniformize branch one/all settings + Migrate cache setting old layout

* fix(frontend): add class prop to datatable

* fix(frontend): add noBorder prop
2024-01-29 14:19:50 +01:00
Ruben Fiszel
5eb7295dd2 improve save draft mechanism in case of renaming 2024-01-29 12:52:04 +01:00
Ruben Fiszel
e872614cd3 rm console logs 2024-01-29 12:48:36 +01:00
HugoCasa
6d77578590 feat: update openai models + increase length + improve code completion (#3097)
* feat: update openai models + increase gen length + improve code completion

* fix: nit
2024-01-29 11:57:28 +01:00
Faton Ramadani
94ddf80356 feat(frontend): handle file default value (#3095) 2024-01-29 11:41:04 +01:00
Ruben Fiszel
59e0be77ad fix: improve schedule args clearing on script change 2024-01-29 11:18:18 +01:00
Ruben Fiszel
1f46bcba72 feat(cli): make default typescript configurable 2024-01-27 20:29:31 +01:00
Ruben Fiszel
2a80df4a80 feat(cli): allow all sync options to be passable from wmill.yaml directly 2024-01-27 16:19:10 +01:00
Ruben Fiszel
28a196657f feat(cli): make --raw the default for cli sync 2024-01-27 16:16:54 +01:00
Audrius Butkevicius
ec911f6a5a feat: Passing HOME env var through to python workers (#3092)
* feat: Allow passing through certain environment variables

* Lookup the env vars on startup

* Faceplam

* Update python_executor.rs
2024-01-27 15:49:29 +01:00
Ruben Fiszel
a5d25362db fix: update deno to 1.38 -> 1.40.2 2024-01-27 14:21:42 +01:00
Ruben Fiszel
b6d250e586 improve display result 2024-01-27 13:58:41 +01:00
Ruben Fiszel
ff559ecdbd fix: improve display result 2024-01-27 13:55:27 +01:00
Ruben Fiszel
ddd5ed679b improve displayresult perf 2024-01-27 13:50:50 +01:00
Ruben Fiszel
0d27eb50f0 chore(main): release 1.254.1 (#3090)
* chore(main): release 1.254.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-27 13:20:20 +01:00
Ruben Fiszel
18d832c634 fix: render all responsiveness fix 2024-01-27 13:16:14 +01:00
Ruben Fiszel
dfabb37100 fix: render all responsiveness fix 2024-01-27 13:12:11 +01:00
Ruben Fiszel
85555f038a add cuda to build 2024-01-26 19:42:40 +01:00
Ruben Fiszel
493de74706 chore(main): release 1.254.0 (#3082)
* chore(main): release 1.254.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-26 17:59:32 +01:00
Ruben Fiszel
9032c73df4 improve toggleRow 2024-01-26 17:51:19 +01:00
Ruben Fiszel
e75182aae3 revert retries being ee only 2024-01-26 16:45:02 +01:00
Ruben Fiszel
80eeba5ee3 fix: load input history correctly on past versions 2024-01-26 16:32:02 +01:00
Faton Ramadani
4607939549 feat(frontend): add support for render all (#3084) 2024-01-26 16:11:25 +01:00
Ruben Fiszel
be2ae7e45c remove resume length check 2024-01-26 15:54:05 +01:00
Louis Abraham
5e634214e9 fix python init code for trigger (#3087) 2024-01-26 15:50:23 +01:00
Faton Ramadani
fa8a6e8c3d feat(frontend): S3 resource schema (#3083)
* feat(frontend): make s3 a top level selected type + fix wand position + fix for loop double overflow

* feat(frontend): add search

* feat(frontend): fix default field

* feat(frontend): fix default build

* feat(frontend): support for s3 object

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-26 15:44:01 +01:00
Faton Ramadani
6a73ccf626 fix(frontend): add missing InitializeComponent (#3088) 2024-01-26 15:37:02 +01:00
Ruben Fiszel
19fd912014 improve mwssql support 2024-01-26 12:28:26 +01:00
Faton Ramadani
bcc341c255 fix(frontend): Fix currency input dark mode (#3085)
* fix(frontend): Fix curreny input dark mode

* fix(frontend): collapsible alert
2024-01-26 12:18:35 +01:00
Ruben Fiszel
f8cd36494d improve mssql handling 2024-01-26 11:13:33 +01:00
Ruben Fiszel
7ffb248211 chore(main): release 1.253.8 (#3081)
* chore(main): release 1.253.8

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-26 09:47:47 +01:00
Ruben Fiszel
34977ec7dc nit remove extra perms check 2024-01-26 09:46:42 +01:00
Ruben Fiszel
ee965a1a4c fix: git sync include changing permissions on apps, scripts, flows 2024-01-26 09:37:02 +01:00
Ruben Fiszel
0f6c127002 fix: git sync include changing permissions on folders 2024-01-26 09:26:33 +01:00
Ruben Fiszel
a0251463f8 fix: improve git sync on rename/deletion 2024-01-26 08:40:46 +01:00
Ruben Fiszel
0936a9c6bb make transformer execution seeable from the job editor panel 2024-01-26 06:36:27 +01:00
Ruben Fiszel
86bc742934 fix raw set prior to transformer 2024-01-26 01:14:34 +01:00
Ruben Fiszel
91289a0d5a fix: add support for instance name for mssql 2024-01-26 01:04:14 +01:00
Ruben Fiszel
792dfbc82f fix setTab expr 2024-01-26 00:53:28 +01:00
Ruben Fiszel
1a9f539843 improve parquet renderer 2024-01-26 00:41:30 +01:00
Ruben Fiszel
d93b961941 improve parquet renderer 2024-01-26 00:36:39 +01:00
Ruben Fiszel
18d7849a49 chore(main): release 1.253.7 (#3080)
* chore(main): release 1.253.7

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-25 19:04:04 +01:00
Guillaume Bouvignies
082aa6a61d fix: Improvement for Python write_s3_file (#3079) 2024-01-25 18:10:47 +01:00
Ruben Fiszel
ff18cc92d6 chore(main): release 1.253.6 (#3078) 2024-01-25 16:25:57 +01:00
gbouv
7d6039f969 fix: merge conflicts 2024-01-25 16:23:51 +01:00
Ruben Fiszel
67c5f18fbc chore(main): release 1.253.5 (#3077) 2024-01-25 16:11:24 +01:00
gbouv
09e08c3c94 fix: openapi definition 2024-01-25 16:08:40 +01:00
Guillaume Bouvignies
3610315bbc gbouv/fix-openapi (#3076) 2024-01-25 16:07:02 +01:00
Ruben Fiszel
31fa202461 fix nits 2024-01-25 16:04:24 +01:00
Ruben Fiszel
fadcd64e82 fix nits 2024-01-25 16:00:15 +01:00
Ruben Fiszel
818b818bfd fix nits 2024-01-25 15:59:00 +01:00
Ruben Fiszel
145c9163fa chore(main): release 1.253.4 (#3075)
* chore(main): release 1.253.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-25 15:57:05 +01:00
Ruben Fiszel
4b348a032e fix: improve parquet renderer error 2024-01-25 15:52:58 +01:00
Ruben Fiszel
65362ba729 fix parquet preview table offset 2024-01-25 15:49:16 +01:00
Ruben Fiszel
4a6710ea91 fix: add s3 parquet file renderer 2024-01-25 15:46:02 +01:00
Ruben Fiszel
2f8243b390 fix: add s3 parquet file renderer 2024-01-25 15:45:18 +01:00
Ruben Fiszel
57bc07027d chore(main): release 1.253.3 (#3073) 2024-01-25 15:37:29 +01:00
Guillaume Bouvignies
da6edee450 fix: Better UI for S3 download and S3 TS SDK endpoints (#3065)
* Better UI for S3 download and S3 TS SDK endpoints

* gitignore typescript client node_modules

* USe Windmill BE upload endpoint for TS SDK

* Use WM backend endpoint in Python upload SDK endpoint

* revert changes

* Add expiration for Python

* Add downaload endpoint

* Add toggle for public S3 resource

* revert changes to package.json

* Add link to doc page

* fix unauthorized bug
2024-01-25 15:34:40 +01:00
Ruben Fiszel
5baddea6c6 chore(main): release 1.253.2 (#3071)
* chore(main): release 1.253.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-25 11:28:30 +01:00
Ruben Fiszel
c79a82d188 fix select in table default value 2024-01-24 23:49:54 +01:00
Ruben Fiszel
737c4fb497 fix(app): improve app reactivity 2024-01-24 22:06:08 +01:00
Ruben Fiszel
b6ac8ec29c chore(main): release 1.253.1 (#3070)
* chore(main): release 1.253.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-24 20:28:30 +01:00
Ruben Fiszel
a66208f326 fix(scim): improve get_user for scim 2024-01-24 20:23:42 +01:00
Ruben Fiszel
388ef3a132 chore(main): release 1.253.0 (#3069)
* chore(main): release 1.253.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-24 19:39:10 +01:00
Faton Ramadani
2b8c0bbaea feat(frontend): app editor right click menu (#3050)
* fix(frontend): app editor right click menu

* feat(frontend): fix actions

* feat(frontend): fix delete

* fix(frontend): Fix menus

* feat(frontend): fix right-click menu

* feat(frontend): fix build

* feat(frontend): correctly delete multiple components
2024-01-24 17:08:30 +01:00
Ruben Fiszel
801106e9b8 fix: bun default registry and performance improvements 2024-01-24 16:51:08 +01:00
Ruben Fiszel
a6575738bc chore(main): release 1.252.0 (#3063)
* chore(main): release 1.252.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-24 15:17:08 +01:00
Faton Ramadani
c14b880a7c feat(frontend): Changelog updates (#3067)
* wip

* feat(frontend): Display changelogs

* feat(frontend): Display changelogs

* feat(frontend): Display changelogs

* feat(frontend): update interaction

* feat(frontend): add changelog listener
2024-01-24 14:56:28 +01:00
Ruben Fiszel
0c88abccf0 fix: fix add resource with keys as objects 2024-01-24 14:43:14 +01:00
Ruben Fiszel
450267a84e fix: no-emit-index-url on lockfiles 2024-01-24 12:47:19 +01:00
Faton Ramadani
1ffb4c5abe feat(frontend): Ag Grid compactness (#3052)
* feat(frontend): add support for compactness

* feat(frontend): add support for compactness

* feat(frontend): cleanup

* feat(frontend): rowHeight onMount

* feat(frontend): move rowHeights definition
2024-01-24 11:10:10 +01:00
Faton Ramadani
c73bdad08c feat(frontend): display a warning with a documentation link on how to… (#3012)
* feat(frontend): display a warning with a documentation link on how to use persistent storage for large files

* feat(frontend): display a warning with a documentation link on how to use persistent storage for large files

* feat(frontend): display alert linked to persistent storage

* feat(frontend): display alert linked to persistent storage

* feat(frontend): change wording

* feat(frontend): change wording
2024-01-24 11:03:37 +01:00
Faton Ramadani
0dd54f93bb feat(frontend): add support for range area (#3068) 2024-01-24 10:54:48 +01:00
Guillaume Bouvignies
32254203d8 feat: Set a default app for each workspace (#3014)
* feat: workspace default app

* sqlx prepare

* rebase migration

* Redirect from home page

* move redirect to the workspaces page

* sqlx prepare

* auto redirect when only one workspace and load user before redirecting

* Add check for operator

* refresh userstore before redirecting to workspace app

* check for superadmin

* revert node_modules

* revert package-lock.json
2024-01-24 09:26:23 +01:00
Ruben Fiszel
a0ace85bb2 remove is_template from script metadata exported 2024-01-24 08:12:37 +01:00
Ruben Fiszel
c2fb24d480 feat: exporting tarball/sync doesn't require admin perms anymore 2024-01-23 21:55:08 +01:00
Ruben Fiszel
abdd76bd77 add resource type description in resource editor 2024-01-23 21:40:39 +01:00
Ruben Fiszel
e365693497 fix: remove first part of account_identifier for snowflake 2024-01-23 21:08:35 +01:00
Ruben Fiszel
00d3305592 fix build 2024-01-23 20:15:32 +01:00
Ruben Fiszel
f1b593cd96 make smaller toggle cache to s3 2024-01-23 19:57:34 +01:00
Ruben Fiszel
9121eb0a74 remove denogobuncache 2024-01-23 19:54:07 +01:00
Guillaume Bouvignies
ab07f6af71 fix main compiles in CE mode (#3066) 2024-01-23 17:34:50 +01:00
Ruben Fiszel
21bf0115fc feat(cli): add support for excludes in yaml.conf 2024-01-23 14:21:39 +01:00
Guillaume Bouvignies
f189224b8d feat: Custom concurrency key for scripts (#3046)
* feat: Custom concurrency key for scripts

* Add FE page for concurrency groups

* sqlx prepare

* rebase migration

* interpolate args value

* emptyString -> undefined
2024-01-23 12:46:19 +01:00
Ruben Fiszel
ba22b1ceac improve AgCharts 2024-01-23 12:16:06 +01:00
Ruben Fiszel
e6b8f73c9c fix: improve decision tree 2024-01-23 10:34:36 +01:00
Ruben Fiszel
8b9706c712 print debug snowflake token 2024-01-23 02:29:57 +01:00
Ruben Fiszel
b355206a77 print debug snowflake token 2024-01-23 01:59:39 +01:00
Ruben Fiszel
bd890ee9de chore(main): release 1.251.1 (#3062)
* chore(main): release 1.251.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-23 01:22:47 +01:00
Ruben Fiszel
5b98b005cd fix: improve npm typescript client 2024-01-23 01:07:42 +01:00
Ruben Fiszel
e5bce3e68b chore(main): release 1.251.0 (#3061)
* chore(main): release 1.251.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-22 23:55:00 +01:00
Ruben Fiszel
b087222378 clear inline script locks on edit 2024-01-22 23:49:46 +01:00
Ruben Fiszel
3787c886e5 improve app tab selection 2024-01-22 23:27:00 +01:00
Ruben Fiszel
d95ca968fa remove extra id on components position 2024-01-22 22:26:03 +01:00
Guillaume Bouvignies
376038d70b feat: Download button for s3 files (#3059)
* feat: Download button for s3 files

* Add S3 load and write endpoint to Python and TS SDK

* fix
2024-01-22 21:40:30 +01:00
Ruben Fiszel
3431b54097 remove extra modal text 2024-01-22 16:21:18 +01:00
Ruben Fiszel
cc869974a6 chore(main): release 1.250.0 (#3058)
* chore(main): release 1.250.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-22 15:33:58 +01:00
Ruben Fiszel
b8defbcfc6 feat: deprecate .wmillignore in favor of wmill.yaml/includes 2024-01-22 15:23:33 +01:00
Ruben Fiszel
3e3243a37b more debug logs 2024-01-22 08:20:36 +01:00
Ruben Fiszel
1fcdad7f7b fix: fix initialization callback of AppDbexplorer 2024-01-21 22:20:03 +01:00
Ruben Fiszel
86e3a678ec pin bun to 1.0.25 2024-01-21 22:10:23 +01:00
Ruben Fiszel
776787d8fd chore(main): release 1.249.0 (#3048)
* chore(main): release 1.249.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-21 21:10:42 +01:00
Guillaume Bouvignies
c4f0b67fb6 fix: more explicit CLI error (#3049) 2024-01-21 21:04:33 +01:00
Bret Mogilefsky
54bdc59e41 Fix typo in docker-compose.yml comment (#3056) 2024-01-21 21:01:46 +01:00
Ruben Fiszel
d1eed4e09d feat: improve cli to generate proper metadata and schema by default 2024-01-21 20:57:01 +01:00
Bret Mogilefsky
6c95a269d6 Fix typo (#3054) 2024-01-21 20:22:10 +01:00
Bret Mogilefsky
b838db1b38 Fix typo in setup SMTP instructions (#3055) 2024-01-21 20:21:54 +01:00
Ruben Fiszel
d1cfe7c202 fix: use hash on objects instead of shallow equal comparison to improve trigger reliability of apps 2024-01-21 20:02:36 +01:00
Ruben Fiszel
6c56f2eba3 improve quickadd column 2024-01-21 19:09:56 +01:00
Ruben Fiszel
dfa472aadf make appeditor & preview resilient to no css 2024-01-21 18:48:35 +01:00
Ruben Fiszel
90e1516bea improve gitignore parser 2024-01-21 18:12:39 +01:00
Faton Ramadani
773e2d3103 fix(frontend): Fix display for array of objects (#3051) 2024-01-21 15:38:55 +01:00
Ruben Fiszel
ab010ce4f3 feat: improve handling of pinned versions for bun 2024-01-21 01:04:13 +01:00
Ruben Fiszel
0d7d2efde8 fix: improve approval/prompt helpers 2024-01-20 15:25:49 +01:00
Ruben Fiszel
ac87e2f85b feat: non owner can resume flows if resume url is in message 2024-01-20 13:50:56 +01:00
Ruben Fiszel
8180fbae3b improve modal behavior 2024-01-20 11:42:31 +01:00
Ruben Fiszel
51ebce6741 improve app handling of job with error keys 2024-01-19 20:22:20 +01:00
Guillaume Bouvignies
bbf897a718 feat: File path is option when uploading a file to S3 (#3029)
* feat: File path is option when uploading a file to S3

* Add frontend

* Fix lock

* Drag and drop file upload UI
2024-01-19 14:17:42 +01:00
Ruben Fiszel
e6b039dbc9 chore(main): release 1.248.0 (#3047)
* chore(main): release 1.248.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-19 14:07:06 +01:00
Ruben Fiszel
77f7fb2dd3 feat: improve SCIM support for groups 2024-01-19 14:02:15 +01:00
Ruben Fiszel
91ea031f28 fix: fix rename apps from home menu 2024-01-19 12:11:16 +01:00
Ruben Fiszel
d646f513cf chore(main): release 1.247.0 (#3044)
* chore(main): release 1.247.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-19 11:10:22 +01:00
Ruben Fiszel
a0d7ea22b4 fix: improve onDemandOnly runnables 2024-01-19 10:55:17 +01:00
Ruben Fiszel
f4c1822836 minor db improvement 2024-01-19 08:41:17 +01:00
Ruben Fiszel
7a64d48c7f make tables support json 2024-01-19 02:29:14 +01:00
Ruben Fiszel
8d297aa955 proctect more the graphql runtime 2024-01-19 02:23:47 +01:00
Faton Ramadani
b64eb3d8b1 fix(frontend): fix hidden wizards (#3045) 2024-01-18 17:40:21 +01:00
Ruben Fiszel
7f766af3b0 sqlx fix 2024-01-18 17:40:06 +01:00
Faton Ramadani
54cad2886b feat(frontend): Rich table display (#3028)
* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): wip

* feat(frontend): table v0

* feat(frontend): fix layout audit page

* feat(frontend): display rich result by default

* feat(frontend): add selected rows

* feat(frontend): add unique ids

* feat(frontend): restore max-h

* feat(frontend): md support + remove sorting on types that don't support comparaison

* feat(frontend): fix actions

* feat(frontend): fix md

* feat(frontend): fix md

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-18 17:26:46 +01:00
Ruben Fiszel
5d7d71107b adapt lock to new deserializer 2024-01-18 16:11:49 +01:00
Ruben Fiszel
9fefdccc13 fix: add ability to rename group from scim 2024-01-18 14:19:17 +01:00
Ruben Fiszel
98035072cb chore(main): release 1.246.15 (#3043)
* chore(main): release 1.246.15

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 13:24:52 +01:00
Ruben Fiszel
582339c83e fix: improve error message format for logs 2024-01-18 13:10:58 +01:00
Ruben Fiszel
570b9e1041 chore(main): release 1.246.14 (#3042)
* chore(main): release 1.246.14

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 12:31:41 +01:00
Ruben Fiszel
8b302b4dc5 fix: fix OIDC issuer 2024-01-18 12:18:40 +01:00
Anthony Angel
809bcb6405 chore: typo (#3040) 2024-01-18 10:54:55 +01:00
Ruben Fiszel
f6f4f3e049 chore(main): release 1.246.13 (#3041)
* chore(main): release 1.246.13

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 10:52:40 +01:00
Ruben Fiszel
58cad70363 fix: cli sync improvement 2024-01-18 10:47:56 +01:00
Ruben Fiszel
6d3a8fbb09 chore(main): release 1.246.12 (#3039)
* chore(main): release 1.246.12

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 10:44:12 +01:00
Ruben Fiszel
c8f269b870 fix: cli sync improvement 2024-01-18 10:41:01 +01:00
Ruben Fiszel
58da93e928 chore(main): release 1.246.11 (#3037)
* chore(main): release 1.246.11

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 10:17:19 +01:00
Ruben Fiszel
20c422c546 fix: improve cli script deletion 2024-01-18 10:15:02 +01:00
Ruben Fiszel
b7cc560d03 chore(main): release 1.246.10 (#3035)
* chore(main): release 1.246.10

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 10:14:21 +01:00
Ruben Fiszel
4e651c89df fix cli 2024-01-18 09:52:35 +01:00
Ruben Fiszel
eb000f1fbc fix: make cli backcompatible with respect to lockfile 2024-01-18 09:01:04 +01:00
Ruben Fiszel
36905daef6 fix: make some eval onDemandOnly 2024-01-18 08:22:24 +01:00
Ruben Fiszel
772da1b50e chore(main): release 1.246.9 (#3034) 2024-01-18 00:37:52 +01:00
Ruben Fiszel
828cdd45f0 fix: avoid too long diffs in cli 2024-01-18 00:35:31 +01:00
Ruben Fiszel
8c91d43ad7 chore(main): release 1.246.8 (#3033)
* chore(main): release 1.246.8

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-18 00:02:43 +01:00
Ruben Fiszel
d00de2640a fix: improve lockfile handling for cli 2024-01-17 23:59:39 +01:00
Ruben Fiszel
83f5601f66 chore(main): release 1.246.7 (#3032)
* chore(main): release 1.246.7

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 23:52:28 +01:00
Ruben Fiszel
8a6ea49602 fix: improve lockfile handling for cli 2024-01-17 23:49:23 +01:00
Ruben Fiszel
2341dc81d0 chore(main): release 1.246.6 (#3031)
* chore(main): release 1.246.6

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 23:35:18 +01:00
Ruben Fiszel
0e9b649d03 fix: improve lockfile handling for cli 2024-01-17 23:31:30 +01:00
Ruben Fiszel
4e55052629 chore(main): release 1.246.5 (#3030)
* chore(main): release 1.246.5

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 23:22:20 +01:00
Ruben Fiszel
e6de809ff2 fix: improve app push for cli 2024-01-17 23:17:00 +01:00
Guillaume Bouvignies
8752dcbb19 fix: lock file in metadata is now a string (#3027) 2024-01-17 20:06:33 +01:00
Ruben Fiszel
6ca50d0703 fix dnd for tabs 2024-01-17 17:01:37 +01:00
Ruben Fiszel
be2e30cb89 chore(main): release 1.246.4 (#3023)
* chore(main): release 1.246.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 16:32:01 +01:00
Faton Ramadani
b9de44c2b7 fix(frontend): Fix deno logo + add missing onDestroy (#3025) 2024-01-17 16:26:33 +01:00
Guillaume Bouvignies
803962a943 fix: wmill app push <path_to_app_file> (#3024) 2024-01-17 14:59:48 +01:00
Ruben Fiszel
b42c84df40 fix: make DisplayResult more resilient 2024-01-17 11:53:33 +01:00
Ruben Fiszel
b9736e0c04 chore(main): release 1.246.3 (#3022)
* chore(main): release 1.246.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 11:35:08 +01:00
Ruben Fiszel
1f3e374b85 fix: oidc token generation endpoint GET -> POST 2024-01-17 11:30:26 +01:00
Ruben Fiszel
788e36ba0f chore(main): release 1.246.2 (#3021)
* chore(main): release 1.246.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 11:28:38 +01:00
Ruben Fiszel
3119830062 fix: oidc token generation endpoint GET -> POST 2024-01-17 11:15:39 +01:00
Ruben Fiszel
4017b0d6b7 chore(main): release 1.246.1 (#3020)
* chore(main): release 1.246.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 11:08:25 +01:00
Ruben Fiszel
4604ccde7d fix: expose getIdToken in python-client 2024-01-17 11:04:29 +01:00
Ruben Fiszel
6568c9f93a fix: expose getIdToken in typescript-client 2024-01-17 11:01:51 +01:00
Ruben Fiszel
e1dc4af5d5 chore(main): release 1.246.0 (#3018)
* chore(main): release 1.246.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-17 10:53:11 +01:00
Ruben Fiszel
27c143c3dc fix typescript client 2024-01-17 10:05:01 +01:00
Ruben Fiszel
154edfce70 improve .well-known for OIDC 2024-01-17 09:47:23 +01:00
Ruben Fiszel
c8e1c8111b increase oidc token by 48h 2024-01-17 09:33:39 +01:00
Audrius Butkevicius
7762873f26 Allow running image as non-root user (#3019)
Currently /tmp/monaco ends up only writable by root, and readable by other users. Running the image with a non-root uid fails, as launcher fails to write out go.mod to the root owned directory.
2024-01-17 09:30:25 +01:00
Ruben Fiszel
1d9353d0bc fix typescript client 2024-01-17 09:29:33 +01:00
Ruben Fiszel
762c5e8f6d fix typescript client 2024-01-17 09:24:38 +01:00
Ruben Fiszel
8be1ad81bb fix typescript client 2024-01-17 08:40:29 +01:00
Ruben Fiszel
1d87878e26 fix sqlx 2024-01-17 00:06:52 +01:00
Ruben Fiszel
cce552b4e2 fix 2024-01-16 23:47:42 +01:00
Ruben Fiszel
f782e009cd sqlx 2024-01-16 23:46:46 +01:00
Ruben Fiszel
640ebcb146 feat: OIDC support (#3017)
* oidc

* update

* feat: add support for multiselect in python

* d

* d

* progress

* all

* all

* all
2024-01-16 23:32:26 +01:00
Ruben Fiszel
f8954b2ceb chore(main): release 1.245.1 (#3016)
* chore(main): release 1.245.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-16 19:39:00 +01:00
Guillaume Bouvignies
eb48e0a107 fix: CLI script generate-metadata creates a default file if none exist (#3015) 2024-01-16 19:35:03 +01:00
Ruben Fiszel
4e8eaf6f2c chore(main): release 1.245.0 (#3010)
* chore(main): release 1.245.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-16 18:43:41 +01:00
Faton Ramadani
c93932a5b3 feat(frontend): Add running runs on the script detail page (#3005)
* feat(frontend): Add running runs on the script detail page

* feat(frontend): Add running runs on the script detail page

* feat(frontend): Fix build

* feat(frontend): bump refresh rate, remove getCount call

* feat(frontend): improve code readability

* feat(frontend): fix getCount
2024-01-16 18:38:54 +01:00
Guillaume Bouvignies
10539790d2 feat: Browse s3 bucket content from workspace settings page (#3013) 2024-01-16 18:28:46 +01:00
Guillaume Bouvignies
b9bee403f1 feat: add script bootstrap and script generate-metadata CLI commands (#3007)
* feat: add script bootstrap and script generate-metadata CLI commands

* Address PR comments on code
2024-01-16 18:25:51 +01:00
Guillaume Bouvignies
9fffe4f6f5 fix: s3 resource is accessed by backend with admin permissions (#3011) 2024-01-16 18:05:40 +01:00
Faton Ramadani
e9ab3ceac9 feat(frontend): add specific bun and deno icons (#3006)
* feat(frontend): add specific bun and deno icons

* feat(frontend): wip

* feat(frontend): fix icons scale and position
2024-01-16 10:48:23 +01:00
Ruben Fiszel
27767dc05e chore(main): release 1.244.4 (#3003)
* chore(main): release 2.0.0

* Apply automatic changes

* Update version.txt

* Update CHANGELOG.md

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-15 22:46:44 +01:00
Ruben Fiszel
f0e3f0d4e2 fix custom git repository handling 2024-01-15 21:38:54 +01:00
Ruben Fiszel
75b034ff0b fix custom git repository handling 2024-01-15 20:26:58 +01:00
Ruben Fiszel
9ce3da6c17 temporarily use bun canary to unlock nodejs mode 2024-01-15 18:15:30 +01:00
Guillaume Bouvignies
d845864872 fix!: git sync branch name no contains the workspace ID and the type (#3004) 2024-01-15 15:23:33 +01:00
Ruben Fiszel
8d8f3caee4 fix nodejs 2024-01-14 23:40:26 +01:00
Ruben Fiszel
0229feaa64 nodejs fix 2024-01-14 19:05:53 +01:00
Ruben Fiszel
047ee10246 feat: experimental nodejs support 2024-01-14 18:53:43 +01:00
Ruben Fiszel
2b288542bd fix: improve bun imports resolutions 2024-01-14 14:44:18 +01:00
Ruben Fiszel
64e592b874 fix: improve bun imports resolutions 2024-01-14 14:02:27 +01:00
Ruben Fiszel
a0e2008506 chore(main): release 1.244.2 (#3002)
* chore(main): release 1.244.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-13 17:39:37 +01:00
Ruben Fiszel
a1f93a495e fix: improve favorite menu 2024-01-13 17:25:45 +01:00
Ruben Fiszel
2fda22427c chore(main): release 1.244.1 (#3001)
* chore(main): release 1.244.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-13 15:45:10 +01:00
Ruben Fiszel
b84cd6d52d fix: menu colors 2024-01-13 15:38:59 +01:00
Ruben Fiszel
5201dcdd67 fix: menu colors 2024-01-13 15:34:48 +01:00
Ruben Fiszel
8f96a8d248 chore(main): release 1.244.0 (#3000)
* chore(main): release 1.244.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-13 13:50:49 +01:00
Ruben Fiszel
dff1948a64 add step_id to errors in flows 2024-01-13 13:46:42 +01:00
Faton Ramadani
aaff17f813 feat(frontend): Operator mode (#2973)
* feat(frontend): Operator mode

* feat(frontend): Operator mode

* feat(frontend): operator menu v2

* feat(frontend): operator menu v2

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-13 13:25:37 +01:00
Ruben Fiszel
0733dd118e fix: add ability to set secret variable from python 2024-01-13 13:02:36 +01:00
Ruben Fiszel
16219755a7 fix: improve oauth accounts permissions 2024-01-13 13:00:04 +01:00
Ruben Fiszel
f0c4901c21 fix: improve table behavior when searching 2024-01-13 10:57:49 +01:00
Ruben Fiszel
dfa5eae6f2 nit vega-lite 2024-01-13 09:59:34 +01:00
Ruben Fiszel
3d93b5456f fix vegalite renderer 2024-01-13 09:42:12 +01:00
Ruben Fiszel
ec22315fb1 chore(main): release 1.243.0 (#2997)
* chore(main): release 1.243.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-13 08:39:02 +01:00
Faton Ramadani
3c59fb8b4d feat(frontend): s3 file upload (#2976)
* feat(frontend): wip

* feat(frontend): s3 file working

* feat(frontend): policy

* feat(frontend): policy

* feat(frontend): wip

* feat(frontend): merge main

* feat(frontend): update s3 upload logic

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): path template

* feat(frontend): done

* feat(frontend): clean up

* feat(frontend): fix dark mode

* feat(frontend): fix outputs + add component control

* feat(frontend): fix outputs + add component control

* Update components.ts

* Update components.ts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-13 08:35:00 +01:00
Ruben Fiszel
aafd7d9003 feat: support dynamic args in tags 2024-01-13 01:47:01 +01:00
Guillaume Bouvignies
99484bdc20 feat: Tag override for scheduled scripts (#2998)
* feat: Tag override for scheduled scripts

* Refactor WorkerTagPicker to component

* Fix test
2024-01-13 00:06:54 +01:00
Ruben Fiszel
d785deff33 feat: add support for bun install scopes 2024-01-12 23:48:58 +01:00
Ruben Fiszel
e200889cff fix: allow for any extra bunfig config 2024-01-12 20:38:15 +01:00
Guillaume Bouvignies
fda0e28db3 feat: GIt sync to multiple repo (#2996) 2024-01-12 16:19:28 +01:00
Ruben Fiszel
13c5802670 chore(main): release 1.242.0 (#2995)
* chore(main): release 1.242.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-12 13:49:17 +01:00
Guillaume Bouvignies
5f54f55790 feat: Instance group management page (#2994) 2024-01-12 13:37:06 +01:00
Ruben Fiszel
01dbf548f7 fix: catch more agGrid errors 2024-01-12 13:29:01 +01:00
Ruben Fiszel
2e9e7c17ba chore(main): release 1.241.0 (#2993)
* chore(main): release 1.241.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-12 11:48:45 +01:00
Guillaume Bouvignies
5a157c415e feat: Instance group CRUD API (#2992) 2024-01-12 11:43:29 +01:00
Guillaume Bouvignies
cde574b891 fix: git sync now works for delete and rename (#2988)
* fix: git sync now works for delete and rename

* update hub script

* sqlx prepare

* Archiving a script/flow removes it from repo
2024-01-12 11:42:54 +01:00
Ruben Fiszel
6f47c30c36 workspace error handler in ee 2024-01-12 11:38:01 +01:00
Ruben Fiszel
42f9ad2b90 schedule error handlers in ee 2024-01-12 11:25:44 +01:00
Ruben Fiszel
a8c5bf7fa4 add dynamic enums to the approval page 2024-01-12 11:07:19 +01:00
Ruben Fiszel
9514b342dd improve nested flow flow renderer 2024-01-12 01:11:49 +01:00
Ruben Fiszel
dd015fd869 improve argenum 2024-01-12 00:56:51 +01:00
Ruben Fiszel
b3fa1cd77d improve schema reordering 2024-01-12 00:42:43 +01:00
Ruben Fiszel
d59b89ec3c feat: make dedicated workers for flows able to share runtime for the same scripts 2024-01-12 00:21:52 +01:00
Ruben Fiszel
734e61931f ignore authToken for npm for deno 2024-01-11 22:24:04 +01:00
Ruben Fiszel
28ac7632cf fix: add cache for flow as flow step 2024-01-11 20:18:48 +01:00
Ruben Fiszel
aa101b85af make aggrid column defs more resilient 2024-01-11 14:41:05 +01:00
Ruben Fiszel
7e3238418e chore(main): release 1.240.0 (#2987)
* chore(main): release 1.240.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-11 13:00:44 +01:00
Ruben Fiszel
39ecf8017e feat(cli): introduce --stateful for CLI, in preparation for --raw to become the default 2024-01-11 12:57:16 +01:00
Ruben Fiszel
7df446c23e chore(main): release 1.239.0 (#2985)
* chore(main): release 1.239.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-11 12:31:14 +01:00
Ruben Fiszel
b9986df631 nit: remove isAnimated from editableschema form 2024-01-11 12:28:41 +01:00
Ruben Fiszel
6996c9083d fix(cli): improve .wmillignore handling of folders 2024-01-11 12:23:42 +01:00
Ruben Fiszel
5f892c0f40 improve oreder handling for schemaform 2024-01-11 11:38:31 +01:00
Ruben Fiszel
6869368f1c improve schema form to handle empty schemas 2024-01-11 11:37:12 +01:00
Rory Logue
308c4ceb47 fix: spelling error dtails -> details (#2986) 2024-01-11 11:32:14 +01:00
Ruben Fiszel
32b38401c8 filter nit 2024-01-11 10:04:15 +01:00
Ruben Fiszel
8c97ef0394 fix: handle Etc/Unknown timezone better 2024-01-11 08:27:44 +01:00
Ruben Fiszel
717ccc94a0 feat: add configurable ordering for script's generated UI 2024-01-11 00:45:36 +01:00
Ruben Fiszel
589e683c27 fix: only cache flow if it's a success 2024-01-10 21:31:58 +01:00
Faton Ramadani
e3c166154d feat(frontend): AG chart (#2972)
* fix(frontend): Fix decision tree (#2928)

* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): ag charts

* feat(frontend): remove todo

* feat(frontend): remove todo

* feat(frontend): revert

* feat(frontend): fix converstion

* feat(frontend): ag charts ee

* feat(frontend): fix build

* feat(frontend): fix convertion to json

* feat(frontend): fix naming

* feat(frontend): fix id collision

* feat(frontend): fix initial load

* feat(frontend): fix initial load
2024-01-10 17:52:22 +01:00
Guillaume Bouvignies
e19ac129aa docs: Update ECS terraform networking (#2984) 2024-01-10 17:41:36 +01:00
Ruben Fiszel
f443873064 chore(main): release 1.238.0 (#2979)
* chore(main): release 1.238.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-10 16:54:24 +01:00
Guillaume Bouvignies
eea0d92dd1 feat: S3 multipart upload accepts a custom S3 resource (#2982) 2024-01-10 16:42:32 +01:00
Guillaume Bouvignies
6d5c3f0f22 fix: main compile (#2983) 2024-01-10 15:31:05 +01:00
Ruben Fiszel
1dcb75cce3 fix submodule stripe 2024-01-10 14:59:18 +01:00
Ruben Fiszel
605a61c378 replace tracing log 2024-01-10 13:54:58 +01:00
Guillaume Bouvignies
f8862bc3b3 docs: ECS log format JSON (#2981) 2024-01-10 13:50:46 +01:00
Ruben Fiszel
3517c7f283 feat: add ability to use secrets in pip requirements 2024-01-10 13:12:20 +01:00
Ruben Fiszel
c8a793d35e feat: add support for multiselect in python 2024-01-10 13:12:20 +01:00
Guillaume Bouvignies
42b28822f3 docs: AWS ECS terraform deploy (#2980) 2024-01-10 08:17:38 +01:00
Faton Ramadani
4147d1604a feat(frontend): add shortcuts to audit logs (#2975)
* feat(frontend): add shortcuts to audit logs

* feat(frontend): simplify audit logs shortcuts
2024-01-09 15:43:13 +01:00
Faton Ramadani
cffae36331 feat(frontend): Display the index by which a node can be selected with the setTab function + add tooltip (#2974) 2024-01-09 15:42:37 +01:00
Ruben Fiszel
e16fde88a1 small QoL improvements on input type args 2024-01-09 06:48:52 +01:00
Ruben Fiszel
35c5684981 small QoL improvements on input type args 2024-01-09 05:22:54 +01:00
Ruben Fiszel
21c1f3c638 fix git sync resource picker 2024-01-08 22:39:47 +01:00
Ruben Fiszel
ea273810a1 chore(main): release 1.237.0 (#2971)
* chore(main): release 1.237.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-08 15:40:02 +01:00
Ruben Fiszel
4f01ee89de feat: make okta SSO configurable using custom domain 2024-01-08 15:16:45 +01:00
Ruben Fiszel
d340fbc02f fix: delete is captured in more fields in app 2024-01-08 11:33:28 +01:00
Ruben Fiszel
bed2d1f417 chore: use dev instead of latest to publish to ecr 2024-01-08 10:12:24 +01:00
Ruben Fiszel
4377cb3bcc chore(main): release 1.236.2 (#2970)
* chore(main): release 1.236.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-08 10:05:25 +01:00
Ruben Fiszel
269afe41f7 fix: handle better non object result for app result loader 2024-01-08 10:02:24 +01:00
Ruben Fiszel
1d1f03691a chore(main): release 1.236.1 (#2969)
* chore(main): release 1.236.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-08 09:29:56 +01:00
Ruben Fiszel
6b075e92ef fix: fix app initialization 2024-01-08 09:27:50 +01:00
Ruben Fiszel
be28522eb7 chore(main): release 1.236.0 (#2968)
* chore(main): release 1.236.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-08 06:49:31 +01:00
Ruben Fiszel
5749a3083a fix script deployment 2024-01-08 06:37:08 +01:00
Ruben Fiszel
2034aebb17 fix tests following parser update 2024-01-08 00:57:11 +01:00
Ruben Fiszel
4384617f1e fix: reduce stack size needed for workflow transitions 2024-01-08 00:47:59 +01:00
Ruben Fiszel
94493812ac feat: improve git sync and recompute dependents when common python script is redeployed (#2967)
* fix: allow extraConfig for agGrid to set onGridReady

* depmap

* depmap

* depmap

* depmap
2024-01-07 15:18:27 +01:00
Ruben Fiszel
2fc21d46fa chore(main): release 1.235.1 (#2966)
* chore(main): release 1.235.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-07 14:15:40 +01:00
Ruben Fiszel
2e023003da fix: fix resultjobloader 2024-01-07 14:12:20 +01:00
Guillaume Bouvignies
30a30f81e0 chore: Update git sync scripts (#2965) 2024-01-06 18:23:01 +01:00
Ruben Fiszel
723744e41e chore(main): release 1.235.0 (#2964)
* chore(main): release 1.235.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-06 17:32:41 +01:00
Faton Ramadani
fffc5338ce feat(frontend): DB Explorer (#2892)
* feat(frontend): Make table cell editable

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): clean up

* fix(frontend): extract db schemas

* feat(frontend): v0 done

* feat(frontend): v0 done

* feat(frontend): v0 done

* feat(frontend): fix insert

* feat(frontend): fix insert

* feat(frontend): remove temp data

* feat(frontend): align insert button to the right

* feat(frontend): rework columns

* feat(frontend): rework insert

* feat(frontend): rework insert

* feat(frontend): rework insert

* feat(frontend): rework insert

* feat(frontend): fix jsonb display

* feat(frontend): fix reloading issues

* feat(frontend): fix reloading issues

* feat(frontend): fix reacticity issue

* feat(frontend): fix insert

* feat(frontend): support nullable default value

* feat(frontend): fix build

* update

* update

* db studio v0

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-06 17:27:15 +01:00
Henri Courdent
3c2f753eac "Author" to "Developer", Premium plans tab, Flow inputs (#2952)
* Premium plans tab & Flow inputs

* Fix build
2024-01-06 16:55:43 +01:00
Ruben Fiszel
aa3d802137 chore(main): release 1.234.1 (#2962)
* chore(main): release 1.234.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-05 18:30:26 +01:00
Ruben Fiszel
9efcb53bcd fix: fix double view runs button 2024-01-05 18:27:45 +01:00
Ruben Fiszel
4385edc6ff fix: fix typo "Wourker" -> "Worker" 2024-01-05 18:26:52 +01:00
Ruben Fiszel
3cadaa3f2b chore(main): release 1.234.0 (#2957)
* chore(main): release 1.234.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-05 18:24:22 +01:00
Guillaume Bouvignies
c05d119ae5 fix: Deleting workspace delete all workspace related values in DB (#2961)
* fix: Deleting workspace delete all workspace related values in DB

* sqlx prepare
2024-01-05 18:02:40 +01:00
Guillaume Bouvignies
fb5cd6a429 feat: git sync can now push commits to individual branches (#2959) 2024-01-05 15:52:18 +01:00
Guillaume Bouvignies
0710ce6ef2 feat: Detailed job memory footprint on job run page (#2956)
* feat: Detailed job memory footprint

* Address rubens comment

* double presion -> real

* sql query returns only metric_type
2024-01-05 09:13:05 +01:00
Martin Jul
8619f3102d Fix typo in README.md (#2955)
Fix typo
2024-01-04 11:24:33 +01:00
Guillaume Bouvignies
31d48533f4 S3 functions in Python SDK cannot return None (#2954) 2024-01-03 17:26:25 +01:00
Ruben Fiszel
6cd46ca7f8 chore(main): release 1.233.0 (#2926)
* chore(main): release 1.233.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-03 13:20:20 +01:00
Faton Ramadani
2494171b9c fix(frontend): handle case where large json has a file and a filename (#2951) 2024-01-03 09:17:30 +01:00
Guillaume Bouvignies
965571853c fix: Tag all docker images with latest and main tags (#2953) 2024-01-03 01:38:33 +09:00
Ruben Fiszel
486b3aeb17 chore: improve e2e 2023-12-30 05:25:10 +01:00
Ruben Fiszel
5ee0040840 chore: improve e2e 2023-12-30 04:47:08 +01:00
Ruben Fiszel
0f774b4485 chore: improve e2e 2023-12-30 04:43:51 +01:00
Ruben Fiszel
0c40c1324b chore: improve integration tests 2023-12-30 04:21:34 +01:00
Ruben Fiszel
b17652ae60 chore: improve integration tests 2023-12-30 03:59:20 +01:00
Guillaume Bouvignies
b44618f35b feat: Job caching now works with S3 files (#2934) 2023-12-30 03:40:05 +01:00
Faton Ramadani
821d2d7ea1 feat(frontend): add the view runs buttons for operators (#2932)
* feat(frontend): add the view runs buttons for operators

* Update +page.svelte

* Update +page.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-12-30 03:39:22 +01:00
Ruben Fiszel
0299c656c3 fix: decision tree fix wording (#2941)
* fix(frontend): Fix decision tree (#2928)

* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

* fix(frontend): fix wording

* fix(frontend): fix wording

* Carousel link and trigger frontend (#2929)

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Henri Courdent <122811744+hcourdent@users.noreply.github.com>
2023-12-30 03:39:05 +01:00
Ruben Fiszel
e0140f175d feat: PIP_LOCAL_DEPENDENCIES now accepts regex and is configurable from the UI (#2940)
* fix(frontend): Fix decision tree (#2928)

* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

* feat: PIP_LOCAL_DEPENDENCIES now accepts regex

* Add worker config FE

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: gbouv <guillaume@windmill.dev>
2023-12-30 03:35:04 +01:00
Ruben Fiszel
65ad840dc4 docs: Carousel link and trigger frontend (#2939)
* Carousel link and trigger frontend

* fix(frontend): Fix decision tree (#2928)

* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

---------

Co-authored-by: hcourdent <henri@windmill.dev>
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-12-30 03:32:14 +01:00
Ruben Fiszel
f13fb4505c docs: Example on how to monitor Windmill (#2938)
* docs: Example on how to track arbitrary job metrics

* Add how to monitor Windmill servers and workers

* Update README.md

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-12-30 03:30:48 +01:00
Ruben Fiszel
c80e4c5ffd chore: eetest (#2937)
* chore: Windmill integration tests

* Revert github workflow temp changes

* fix ee

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-12-30 03:29:00 +01:00
Ruben Fiszel
787017f53c fix: decision tree nits (#2936)
* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-12-30 03:06:37 +01:00
Ruben Fiszel
c085f5fa7e fix: persist state for agGrid 2023-12-29 03:28:07 +01:00
Ruben Fiszel
ad6c3e5cee small UX nits 2023-12-29 03:21:11 +01:00
Ruben Fiszel
74fc2d3f43 fix: allow extraConfig for agGrid to set onGridReady 2023-12-27 21:20:49 +01:00
Ruben Fiszel
3d1f707f36 chore(main): release 1.232.0 (#2924)
* chore(main): release 1.232.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-27 15:04:51 +01:00
Guillaume Bouvignies
d316af993d chore: update snippets for Polars 0.20 (#2925) 2023-12-27 15:02:06 +01:00
Ruben Fiszel
263f41cda3 fix: fix file input 2023-12-27 14:55:01 +01:00
Ruben Fiszel
b66fcbf626 fix: improve ata for bun 2023-12-27 02:29:38 +01:00
Ruben Fiszel
948b0da59e fix: use bun install in every case 2023-12-27 00:05:46 +01:00
Ruben Fiszel
49355280f6 feat: no overlap for flows togglable on schedules 2023-12-26 16:31:04 +01:00
Ruben Fiszel
606b03d761 feat: add summary to schedules 2023-12-26 14:15:46 +01:00
Ruben Fiszel
41062072d6 chore(main): release 1.231.0 (#2917)
* chore(main): release 1.231.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-26 07:10:27 +01:00
Ruben Fiszel
4b65594cbd fix: improve conditional wrapper 2023-12-26 07:02:01 +01:00
Guillaume Bouvignies
5fa5ab1514 feat: bun can read private npm package (#2915)
* feat: bun can read private package

* Add / at the end of url
2023-12-25 09:03:40 +01:00
Ruben Fiszel
e583dd7894 restrict assignable tags to superadmins 2023-12-24 13:44:15 +01:00
Ruben Fiszel
4a28e23c03 improve worker tag UX 2023-12-24 11:20:56 +01:00
Ruben Fiszel
d6237b9ecb itemslist nit 2023-12-23 05:12:54 +01:00
Ruben Fiszel
fc07d58868 feat(cli): support skip args for push --raw 2023-12-23 04:51:18 +01:00
Guillaume Bouvignies
2aecc4d34f chore: test merge (#2914) 2023-12-22 19:01:29 +01:00
Ruben Fiszel
eecca0fac2 chore(main): release 1.230.0 (#2905)
* chore(main): release 1.230.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-22 18:20:33 +01:00
Ruben Fiszel
b5f1f99daa fix: fix multiplayer 2023-12-22 18:17:36 +01:00
Ruben Fiszel
5698a0ebf2 feat: quick search in flow support workspace scripts 2023-12-22 17:54:44 +01:00
Ruben Fiszel
2a4c370669 improve search perf 2023-12-22 16:05:47 +01:00
Ruben Fiszel
408cef3d77 improve search perf 2023-12-22 15:59:01 +01:00
Ruben Fiszel
9667eb74f9 fix: edit schedule from trigger page 2023-12-22 15:32:36 +01:00
Guillaume Bouvignies
e40787c616 feat: move S3 file within bucket (#2913) 2023-12-22 15:02:16 +01:00
Guillaume Bouvignies
5f60d46836 feat: Retry for scheduled scripts (#2893)
* feat: Retry for scheduled scripts

* rename scheduldedscriptwithretry to singlescriptflow

* Schedule options under tabs
2023-12-22 14:59:46 +01:00
Faton Ramadani
d7b777a8e9 fix(frontend): Fix debug condition + decision tree + add missing date to job preview + prevent header node from being selected in the flow editor (#2912) 2023-12-22 13:25:12 +01:00
Guillaume Bouvignies
3cbdd890cd fix: Update S3 TS code snippets and Python SDK for Polars 0.20.X (#2911)
* fix: update S3 TS code snippets

* use S3Object type from SDK

* update python snippets as well

* Update python SDK for Polars 0.20.X
2023-12-22 08:39:35 +01:00
Guillaume Bouvignies
e27e887491 feat: S3 delete file and upload new (#2909) 2023-12-22 08:38:09 +01:00
Ruben Fiszel
6167cd65de ata nits 2023-12-22 07:59:13 +01:00
Ruben Fiszel
642c037c1a feat: add button for auto-formatting 2023-12-22 05:16:33 +01:00
Ruben Fiszel
6b570a779f fix: add relative path handling for bun ATA 2023-12-22 04:30:18 +01:00
Henri Courdent
2e180c8fe7 Helps in frontend (#2901)
* Helps in frontend

* fix doclink

* Fix build

* Removing tooltips Save

* fix: remove bad app type forcing (#2906)

* fix: remove bad type forcing

* fix: safety

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: HugoCasa <hugo@casademont.ch>
2023-12-21 17:00:02 +01:00
Ruben Fiszel
ea322d9c14 fix: pin deno windmill-client version to relase 2023-12-21 15:25:40 +01:00
Ruben Fiszel
b3527f5164 fix: improve javascript editors with semantic validation 2023-12-21 15:12:35 +01:00
HugoCasa
187c34a683 fix: remove bad app type forcing (#2906)
* fix: remove bad type forcing

* fix: safety
2023-12-21 13:28:26 +01:00
Guillaume Bouvignies
5f85b67dfc fix: Failing jobs in dedicated worker mode are now marked as failing (#2894)
* fix: Failing jobs in dedicated worker mode are now marked as failing

* remove log line

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-12-21 10:29:26 +01:00
Guillaume Bouvignies
4c3c988f7b fix: Python wrapper catches BaseException instead of Exception (#2902) 2023-12-21 10:26:13 +01:00
1327 changed files with 95892 additions and 202848 deletions

14
.githooks/pre-commit Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
#
# This file is symlinked to local .git/hooks/pre-commit by the setup-hooks.sh script
# It wil run before every commit, so it needs to be quick and efficient. If it returns
# a non-zero exit code, the commit will be aborted.
echo "Running pre-commit hook"
# This checks that there is no symlinks in the backend directory among the EE files
./backend/check_no_symlink.sh > /dev/null
if [ $? -ne 0 ]; then
echo "/!\ Symlinks detected in the backend directory. Please run './backend/substitute_ee_code.sh --revert' before committing."
exit 1
fi

View File

@@ -1,26 +1,24 @@
FROM python:3.10-slim-buster as nsjail
ARG DEBIAN_IMAGE=debian:bookworm-slim
ARG RUST_IMAGE=rust:1.75-slim-bookworm
ARG PYTHON_IMAGE=python:3.11.4-slim-bookworm
WORKDIR /nsjail
FROM ${DEBIAN_IMAGE} as downloader
RUN apt-get -y update \
&& apt-get install -y \
bison=2:3.3.* \
flex=2.6.* \
g++=4:8.3.* \
gcc=4:8.3.* \
git=1:2.20.* \
libprotobuf-dev=3.6.* \
libnl-route-3-dev=3.4.* \
make=4.2.* \
pkg-config=0.29-6 \
protobuf-compiler=3.6.*
ARG TARGETPLATFORM
RUN git clone -b master --single-branch https://github.com/google/nsjail.git . \
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800
RUN make
SHELL ["/bin/bash", "-c"]
RUN apt update -y
RUN apt install -y unzip curl
RUN [ "$TARGETPLATFORM" == "linux/amd64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.41.0/deno-x86_64-unknown-linux-gnu.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/arm64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.41.0/deno-aarch64-unknown-linux-gnu.zip -o deno.zip || true
FROM rust:slim-buster as builder
RUN unzip deno.zip && rm deno.zip
FROM ${RUST_IMAGE} as builder
RUN apt-get update && apt-get install -y git libssl-dev pkg-config
@@ -36,8 +34,8 @@ RUN apt-get update \
&& apt-get install -y ca-certificates tzdata libpq5 cmake\
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev \
libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev=3.6.* libnl-route-3-dev=3.4.* \
libv8-dev tesseract-ocr nodejs npm clang libclang-dev\
libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev libnl-route-3-dev \
libv8-dev nodejs npm clang libclang-dev\
&& rm -rf /var/lib/apt/lists/*
@@ -47,19 +45,21 @@ ENV GO_PATH=/usr/local/go/bin/go
ENV TZ=Etc/UTC
ENV PYTHON_VERSION 3.10.4
ENV PYTHON_VERSION 3.11.4
RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz \
&& tar -xf Python-${PYTHON_VERSION}.tgz && cd Python-${PYTHON_VERSION}/ && ./configure --enable-optimizations \
&& make -j 4 && make install
RUN /usr/local/bin/python3 -m pip install pip-tools
RUN /usr/local/bin/python3 -m pip install nltk
RUN mkdir -p /nsjail_data/python && HOME=/nsjail_data/python /usr/local/bin/python3 -m nltk.downloader vader_lexicon
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=oven/bun:1.0.0 /usr/local/bin/bun /usr/bin/bun
COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno
COPY --from=oven/bun:1.0.29 /usr/local/bin/bun /usr/bin/bun
RUN [ "$TARGETPLATFORM" == "linux/amd64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.41.0/deno-x86_64-unknown-linux-gnu.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/arm64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.41.0/deno-aarch64-unknown-linux-gnu.zip -o deno.zip || true
COPY --from=downloader --chmod=755 /deno /usr/bin/deno
RUN apt-get update \
&& apt-get install -y postgresql-client --allow-unauthenticated

26
.github/change-versions-mac.sh vendored Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
set -euo pipefail
script_dirpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
root_dirpath="$(cd "${script_dirpath}/.." && pwd)"
VERSION=$1
echo "Updating versions to: $VERSION"
sed -i '' -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/backend/Cargo.toml
sed -i '' -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" ${root_dirpath}/cli/main.ts
sed -i '' -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" ${root_dirpath}/benchmarks/lib.ts
sed -i '' -e "/version: /s/: .*/: $VERSION/" ${root_dirpath}/backend/windmill-api/openapi.yaml
sed -i '' -e "/version: /s/: .*/: $VERSION/" ${root_dirpath}/openflow.openapi.yaml
sed -i '' -e "/\"version\": /s/: .*,/: \"$VERSION\",/" ${root_dirpath}/typescript-client/package.json
sed -i '' -e "/\"version\": /s/: .*,/: \"$VERSION\",/" ${root_dirpath}/frontend/package.json
sed -i '' -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/python-client/wmill/pyproject.toml
sed -i '' -e "/^windmill-api =/s/= .*/= \"\\^$VERSION\"/" ${root_dirpath}/python-client/wmill/pyproject.toml
sed -i '' -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/python-client/wmill_pg/pyproject.toml
sed -i '' -e "/^ModuleVersion =/s/= .*/= '$VERSION'/" ${root_dirpath}/powershell-client/WindmillClient/WindmillClient.psd1
# sed -i '' -e "/^wmill =/s/= .*/= \"\\^$VERSION\"/" python-client/wmill_pg/pyproject.toml
sed -i '' -e "/^wmill =/s/= .*/= \">=$VERSION\"/" ${root_dirpath}/lsp/Pipfile
sed -i '' -e "/^wmill_pg =/s/= .*/= \">=$VERSION\"/" ${root_dirpath}/lsp/Pipfile
sed -i '' -E "s/name = \"windmill\"\nversion = \"[^\"]*\"\\n(.*)/name = \"windmill\"\nversion = \"$VERSION\"\\n\\1/" ${root_dirpath}/backend/Cargo.lock
cd ${root_dirpath}/frontend && npm i --package-lock-only

View File

@@ -1,22 +1,27 @@
#!/bin/bash
set -euo pipefail
script_dirpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
root_dirpath="$(cd "${script_dirpath}/.." && pwd)"
VERSION=$1
echo "Updating versions to: $VERSION"
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" backend/Cargo.toml
sed -i -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" cli/main.ts
sed -i -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" benchmarks/lib.ts
sed -i -e "/version: /s/: .*/: $VERSION/" backend/windmill-api/openapi.yaml
sed -i -e "/version: /s/: .*/: $VERSION/" openflow.openapi.yaml
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" typescript-client/package.json
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" frontend/package.json
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" python-client/wmill/pyproject.toml
sed -i -e "/^windmill-api =/s/= .*/= \"\\^$VERSION\"/" python-client/wmill/pyproject.toml
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" python-client/wmill_pg/pyproject.toml
# sed -i -e "/^wmill =/s/= .*/= \"\\^$VERSION\"/" python-client/wmill_pg/pyproject.toml
sed -i -e "/^wmill =/s/= .*/= \">=$VERSION\"/" lsp/Pipfile
sed -i -e "/^wmill_pg =/s/= .*/= \">=$VERSION\"/" lsp/Pipfile
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/backend/Cargo.toml
sed -i -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" ${root_dirpath}/cli/main.ts
sed -i -e "/^export const VERSION =/s/= .*/= \"v$VERSION\";/" ${root_dirpath}/benchmarks/lib.ts
sed -i -e "/version: /s/: .*/: $VERSION/" ${root_dirpath}/backend/windmill-api/openapi.yaml
sed -i -e "/version: /s/: .*/: $VERSION/" ${root_dirpath}/openflow.openapi.yaml
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" ${root_dirpath}/typescript-client/package.json
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" ${root_dirpath}/typescript-client/jsr.json
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" ${root_dirpath}/frontend/package.json
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/python-client/wmill/pyproject.toml
sed -i -e "/^windmill-api =/s/= .*/= \"\\^$VERSION\"/" ${root_dirpath}/python-client/wmill/pyproject.toml
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" ${root_dirpath}/python-client/wmill_pg/pyproject.toml
sed -i -e "/^ModuleVersion =/s/= .*/= '$VERSION'/" ${root_dirpath}/powershell-client/WindmillClient/WindmillClient.psd1
# sed -i -e "/^wmill =/s/= .*/= \"\\^$VERSION\"/" ${root_dirpath}/python-client/wmill_pg/pyproject.toml
sed -i -e "/^wmill =/s/= .*/= \">=$VERSION\"/" ${root_dirpath}/lsp/Pipfile
sed -i -e "/^wmill_pg =/s/= .*/= \">=$VERSION\"/" ${root_dirpath}/lsp/Pipfile
sed -i -zE "s/name = \"windmill\"\nversion = \"[^\"]*\"\\n(.*)/name = \"windmill\"\nversion = \"$VERSION\"\\n\\1/" backend/Cargo.lock
sed -i -zE "s/name = \"windmill\"\nversion = \"[^\"]*\"\\n(.*)/name = \"windmill\"\nversion = \"$VERSION\"\\n\\1/" ${root_dirpath}/backend/Cargo.lock
cd frontend && npm i --package-lock-only
cd ${root_dirpath}/frontend && npm i --package-lock-only

View File

@@ -31,6 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.75.0
# - uses: Swatinem/rust-cache@v2
# with:
# workspaces: |
@@ -42,5 +44,5 @@ jobs:
mkdir frontend/build && cd backend && touch
windmill-api/openapi-deref.yaml &&
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill
DISABLE_EMBEDDING=true RUST_LOG=info cargo test --features enterprise --all --
--nocapture
DISABLE_EMBEDDING=true RUST_LOG=info cargo test --features enterprise
--all -- --nocapture

View File

@@ -6,7 +6,7 @@ on:
workflow_dispatch:
jobs:
benchmark:
benchmark_single:
runs-on: ubicloud-standard-8
services:
postgres:
@@ -30,16 +30,264 @@ jobs:
http://localhost:8000/api/version"
ports:
- 8000:8000
windmill-worker:
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: benchmark
timeout-minutes: 20
run: deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
-c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
- name: Save benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark_single
path: |
*.json
benchmark_dedicated:
runs-on: ubicloud-standard-8
services:
postgres:
image: postgres
env:
POSTGRES_DB: windmill
POSTGRES_PASSWORD: changeme
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
windmill:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
MODE: worker
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
WORKER_GROUP: dedicated
DEDICATED_WORKER: "admins:f/benchmarks/dedicated"
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
options: >-
--pull always --restart unless-stopped
--pull always --restart unless-stopped --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
ports:
- 8000:8000
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: benchmark
timeout-minutes: 20
run: deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
--no-warm-up -c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_dedicated.json
- name: Save benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark_dedicated
path: |
*.json
benchmark_4workers:
runs-on: ubicloud-standard-8
services:
postgres:
image: postgres
env:
POSTGRES_DB: windmill
POSTGRES_PASSWORD: changeme
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
windmill:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
ports:
- 8000:8000
windmill_1:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_2:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_3:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: benchmark
timeout-minutes: 20
run: deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
-c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
--workers 4
- name: Save benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark_4workers
path: |
*.json
benchmark_8workers:
runs-on: ubicloud-standard-8
services:
postgres:
image: postgres
env:
POSTGRES_DB: windmill
POSTGRES_PASSWORD: changeme
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
windmill:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
ports:
- 8000:8000
windmill_1:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_2:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_3:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_4:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_5:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_6:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
windmill_7:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
MODE: worker
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: benchmark
timeout-minutes: 20
run: deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
-c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
--workers 8
- name: Save benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark_8workers
path: |
*.json
benchmark_graphs:
runs-on: ubicloud
needs:
- benchmark_single
- benchmark_dedicated
- benchmark_4workers
- benchmark_8workers
steps:
- uses: denoland/setup-deno@v1
with:
@@ -47,15 +295,18 @@ jobs:
- uses: actions/checkout@v4
with:
ref: benchmarks
- name: benchmark
timeout-minutes: 20
run:
deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
- name: Download benchmark results
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: graphs
run: deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_graphs.ts
-c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/graphs_config.json
- name: Push changes
run: |
ls -la
pwd
git add .
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"

View File

@@ -7,15 +7,14 @@ name: Publish websocket multiplayer server
on:
workflow_dispatch:
permissions:
contents: read
id-token: write
packages: write
jobs:
publish_multiplayer:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
with:
@@ -56,7 +55,7 @@ jobs:
publish_privately:
needs: [publish_multiplayer]
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
with:
@@ -71,9 +70,8 @@ jobs:
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Push image to ECR
run: |
docker buildx imagetools create \
--tag ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

View File

@@ -8,15 +8,16 @@ on:
push:
branches: [main]
tags: ["*"]
pull_request:
types: [opened, synchronize, reopened]
paths:
- "Dockerfile"
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
id-token: write
packages: write
permissions: write-all
jobs:
build:
@@ -26,6 +27,18 @@ jobs:
with:
fetch-depth: 0
- name: Read EE repo commit hash
run: |
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
repository: windmill-labs/windmill-ee-private
path: ./windmill-ee-private
ref: ${{ env.ee_repo_ref }}
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
@@ -37,14 +50,19 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Substitute EE code (EE logic is behind feature flag)
run: |
./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
- name: Docker meta
id: meta-public
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
@@ -55,8 +73,10 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: |
features=embedding,parquet,openidconnect
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
${{ steps.meta-public.outputs.tags }}
labels: |
${{ steps.meta-public.outputs.labels }}
@@ -68,9 +88,21 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Read EE repo commit hash
run: |
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
repository: windmill-labs/windmill-ee-private
path: ./windmill-ee-private
ref: ${{ env.ee_repo_ref }}
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Docker meta
@@ -79,8 +111,9 @@ jobs:
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
@@ -92,6 +125,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Substitute EE code
run: |
./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
- name: Build and push publicly ee
uses: depot/build-push-action@v1
with:
@@ -99,47 +136,61 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
build-args: |
features=enterprise,enterprise_saml
nsjail=true
features=enterprise,enterprise_saml,stripe,embedding,parquet,prometheus,openidconnect
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License
build_ee_reports_privately:
needs: [build_ee]
build_ee_312:
runs-on: ubicloud
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Read EE repo commit hash
run: |
echo "ee_repo_ref=$(cat ./backend/ee-repo-ref.txt)" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
repository: windmill-labs/windmill-ee-private
path: ./windmill-ee-private
ref: ${{ env.ee_repo_ref }}
token: ${{ secrets.WINDMILL_EE_PRIVATE_ACCESS }}
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Docker meta
id: meta-ee-public
id: meta-ee-public-py312
uses: docker/metadata-action@v4
with:
images: |
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}-ee-reports
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-py312
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
- name: Login to ECR
if: github.event_name != 'pull_request'
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Substitute EE code
run: |
./backend/substitute_ee_code.sh --copy --dir ./windmill-ee-private
- name: Build and push publicly ee
uses: depot/build-push-action@v1
@@ -147,13 +198,14 @@ jobs:
context: .
platforms: linux/amd64
push: true
file: "./docker/DockerfileReports"
build-args: |
features=enterprise,enterprise_saml,stripe,embedding,parquet,prometheus,openidconnect
PYTHON_IMAGE=python:3.12.2-slim-bookworm
tags: |
${{ steps.meta-ee-public.outputs.tags }}
${{ steps.meta-ee-public-py312.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
${{ steps.meta-ee-public-py312.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License
# disabled until we make it 100% reliable and add more meaningful tests
# playwright:
# runs-on: [self-hosted, new]
@@ -198,25 +250,25 @@ jobs:
- run: |
# pulling docker image with desired arch so that actions-docker-extract doesn't do it
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
- run: |
# Checks the image is in docker prior to running actions-docker-extract. It fails if not
# Also useful to visually check that the arch is the right opencontainers
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
- uses: shrink/actions-docker-extract@v3
id: extract
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
path: "/usr/src/app/windmill"
- uses: shrink/actions-docker-extract@v3
id: extract-ee
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
path: "/usr/src/app/windmill"
- name: Rename binary with corresponding architecture
@@ -231,52 +283,248 @@ jobs:
${{ steps.extract.outputs.destination }}/*
${{ steps.extract-ee.outputs.destination }}/*
attach_arm64_binary_to_release:
needs: [build, build_ee]
runs-on: ubicoud
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
ARCH: arm64
# attach_arm64_binary_to_release:
# needs: [build, build_ee]
# runs-on: ubicoud
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
# env:
# ARCH: arm64
# steps:
# - uses: actions/checkout@v3
# - run: |
# # pulling docker image with desired arch so that actions-docker-extract doesn't do it
# docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
# docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
# - run: |
# # Checks the image is in docker prior to running actions-docker-extract. It fails if not
# # Also useful to visually check that the arch is the right opencontainers
# docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
# docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
# - uses: shrink/actions-docker-extract@v3
# id: extract
# with:
# image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
# path: "/usr/src/app/windmill"
# - uses: shrink/actions-docker-extract@v3
# id: extract-ee
# with:
# image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev
# path: "/usr/src/app/windmill"
# - name: Rename binary with corresponding architecture
# run: |
# mv "${{ steps.extract.outputs.destination }}/windmill" "${{ steps.extract.outputs.destination }}/windmill-${ARCH}"
# mv "${{ steps.extract-ee.outputs.destination }}/windmill" "${{ steps.extract-ee.outputs.destination }}/windmill-ee-${ARCH}"
# - name: Attach binary to release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# ${{ steps.extract.outputs.destination }}/*
# ${{ steps.extract-ee.outputs.destination }}/*
run_integration_test:
runs-on: ubicloud
needs: [build_ee]
steps:
- uses: actions/checkout@v3
- run: |
# pulling docker image with desired arch so that actions-docker-extract doesn't do it
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker pull --platform "linux/$ARCH" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
- run: |
# Checks the image is in docker prior to running actions-docker-extract. It fails if not
# Also useful to visually check that the arch is the right opencontainers
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
- uses: shrink/actions-docker-extract@v3
id: extract
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
path: "/usr/src/app/windmill"
- uses: shrink/actions-docker-extract@v3
id: extract-ee
fetch-depth: 0
- name: Prepare test run
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
run: cd integration_tests && ./build.sh
- name: Test run
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
timeout-minutes: 15
env:
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
run: cd integration_tests && ./run.sh
- name: Archive logs
uses: actions/upload-artifact@v3
if: always()
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
path: "/usr/src/app/windmill"
name: Windmill Integration Tests Logs
path: |
integration_tests/logs
- name: Rename binary with corresponding architecture
tag_latest:
runs-on: ubicloud
needs: [run_integration_test]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag main and latest
run: |
mv "${{ steps.extract.outputs.destination }}/windmill" "${{ steps.extract.outputs.destination }}/windmill-${ARCH}"
mv "${{ steps.extract-ee.outputs.destination }}/windmill" "${{ steps.extract-ee.outputs.destination }}/windmill-ee-${ARCH}"
docker buildx imagetools create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker buildx imagetools create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main
- name: Attach binary to release
uses: softprops/action-gh-release@v1
tag_latest_ee:
runs-on: ubicloud
needs: [run_integration_test]
steps:
- uses: actions/checkout@v3
with:
files: |
${{ steps.extract.outputs.destination }}/*
${{ steps.extract-ee.outputs.destination }}/*
fetch-depth: 0
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag main and latest for ee
run: |
docker buildx imagetools create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
docker buildx imagetools create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:dev --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:main
verify_ee_image_vulnerabilities:
runs-on: ubicloud
needs: [tag_latest_ee]
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Analyze for critical and high CVEs
id: docker-scout-cves
if: ${{ github.event_name != 'pull_request_target' }}
uses: docker/scout-action@v1
with:
command: cves
only-severities: critical,high
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:main
sarif-file: sarif.output.json
summary: true
dockerhub-user: windmilllabs
dockerhub-password: ${{ secrets.DOCKER_PAT }}
- name: Upload SARIF result
id: upload-sarif
if: ${{ github.event_name != 'pull_request_target' }}
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: sarif.output.json
# docker_scout_ee:
# runs-on: ubicloud
# needs: [tag_latest_ee]
# steps:
# - name: Docker Scout
# id: docker-scout
# uses: docker/scout-action@v1
# with:
# dockerhub-
# command: cves,recommendations,compare
# to-latest: true
# ignore-base: true
# ignore-unchanged: true
# only-fixed: true
build_ee_nsjail:
needs: [build_ee]
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Docker meta
id: meta-ee-public
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-nsjail
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push publicly ee
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64
push: true
file: "./docker/DockerfileNsjail"
tags: |
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License
build_ee_reports_privately:
needs: [build_ee_nsjail]
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Docker meta
id: meta-ee-public
uses: docker/metadata-action@v4
with:
images: |
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}-ee-reports
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,enable=true,priority=100,prefix=,suffix=,format=short
- name: Login to ECR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Build and push publicly ee reports
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64
push: true
file: "./docker/DockerfileReports"
tags: |
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License
publish_ecr_s3:
needs: [build_ee]
needs: [build_ee_nsjail]
runs-on: ubicloud
if: github.event_name != 'pull_request'
env:
@@ -305,7 +553,7 @@ jobs:
git_hash=$(git rev-parse --short "$GITHUB_SHA")
docker buildx imagetools create \
--tag ${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}-ee:${git_hash:0:7} \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-nsjail:main
echo "GIT_HASH=${git_hash:0:7}" >> "$GITHUB_OUTPUT"
- uses: shrink/actions-docker-extract@v3
@@ -322,3 +570,50 @@ jobs:
folder: ${{ steps.extract.outputs.destination }}
bucket: windmill-frontend
bucket-region: us-east-1
build_ee_cuda:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: [build_ee]
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Docker meta
id: meta-ee-public
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee-cuda
flavor: |
latest=false
tags: |
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push publicly ee
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64
push: true
file: "./docker/DockerfileCuda"
tags: |
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License

View File

@@ -0,0 +1,16 @@
name: Publish powershell-client
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
publish_gallery:
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v4
- run: . ./powershell-client/publish.ps1
shell: pwsh
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

16
.github/workflows/jsr_on_release.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Publish typescript-client on JSR
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: ${{ secrets.JSR_OIDC_ID_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: cd typescript-client && ./publish.jsr.sh

View File

@@ -6,7 +6,7 @@ name: release-please
jobs:
release-please:
name: "Release please"
runs-on: ubicloud-standard-8
runs-on: ubicloud
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
with:

View File

@@ -7,10 +7,13 @@ on:
jobs:
CLAssistant:
runs-on: ubuntu-latest
runs-on: ubicloud
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
if:
(github.event.comment.body == 'recheck' || github.event.comment.body
== 'I have read the CLA Document and I hereby sign the CLA') ||
github.event_name == 'pull_request_target'
# Beta Release
uses: cla-assistant/github-action@v2.3.1
env:

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ local/
frontend/src/routes/test.svelte
CaddyfileRemoteMalo
*.swp
**/.idea/

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,6 @@
ARG DEBIAN_IMAGE=debian:bookworm-slim
ARG RUST_IMAGE=rust:slim-bookworm
ARG PYTHON_IMAGE=python:3.11.4-slim-bookworm
FROM ${DEBIAN_IMAGE} as nsjail
WORKDIR /nsjail
ARG nsjail=""
RUN if [ "$nsjail" = "true" ]; then apt-get -y update \
&& apt-get install -y \
bison=2:3.8.* \
flex=2.6.* \
g++=4:12.2.* \
gcc=4:12.2.* \
git=1:2.39.* \
libprotobuf-dev=3.21.* \
libnl-route-3-dev=3.7.* \
make=4.3-4.1 \
pkg-config=1.8.* \
protobuf-compiler=3.21.*; fi
RUN if [ "$nsjail" = "true" ]; then git clone -b master --single-branch https://github.com/google/nsjail.git . \
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800; fi
RUN if [ "$nsjail" = "true" ]; then make; else touch nsjail; fi
ARG RUST_IMAGE=rust:1.76-slim-bookworm
ARG PYTHON_IMAGE=python:3.11.8-slim-bookworm
FROM ${RUST_IMAGE} AS rust_base
@@ -36,12 +12,14 @@ RUN apt-get -y update \
RUN rustup component add rustfmt
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install cargo-chef
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install cargo-chef --version ^0.1
RUN cargo install sccache --version ^0.8
ENV RUSTC_WRAPPER=sccache SCCACHE_DIR=/backend/sccache
WORKDIR /windmill
ENV SQLX_OFFLINE=true
ENV CARGO_INCREMENTAL=1
# ENV CARGO_INCREMENTAL=1
FROM node:20-alpine as frontend
@@ -70,7 +48,9 @@ FROM rust_base AS planner
COPY ./openflow.openapi.yaml /openflow.openapi.yaml
COPY ./backend ./
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo chef prepare --recipe-path recipe.json
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo chef prepare --recipe-path recipe.json
FROM rust_base AS builder
ARG features=""
@@ -79,7 +59,9 @@ COPY --from=planner /windmill/recipe.json recipe.json
RUN apt-get update && apt-get install -y libxml2-dev libxmlsec1-dev clang libclang-dev cmake
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true RUST_BACKTRACE=1 cargo chef cook --release --features "$features" --recipe-path recipe.json
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
CARGO_NET_GIT_FETCH_WITH_CLI=true RUST_BACKTRACE=1 cargo chef cook --release --features "$features" --recipe-path recipe.json
COPY ./openflow.openapi.yaml /openflow.openapi.yaml
COPY ./backend ./
@@ -88,7 +70,9 @@ COPY --from=frontend /frontend /frontend
COPY --from=frontend /backend/windmill-api/openapi-deref.yaml ./windmill-api/openapi-deref.yaml
COPY .git/ .git/
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --features "$features"
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=$SCCACHE_DIR,sharing=locked \
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --features "$features"
FROM ${DEBIAN_IMAGE} as downloader
@@ -100,8 +84,9 @@ SHELL ["/bin/bash", "-c"]
RUN apt update -y
RUN apt install -y unzip curl
RUN [ "$TARGETPLATFORM" == "linux/arm64" ] && curl -Lsf https://github.com/LukeChannings/deno-arm64/releases/download/v1.38.0/deno-linux-arm64.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/amd64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.38.0/deno-x86_64-unknown-linux-gnu.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/amd64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.42.0/deno-x86_64-unknown-linux-gnu.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/arm64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.42.0/deno-aarch64-unknown-linux-gnu.zip -o deno.zip || true
RUN unzip deno.zip && rm deno.zip
@@ -110,20 +95,19 @@ FROM ${PYTHON_IMAGE}
ARG TARGETPLATFORM
ARG POWERSHELL_VERSION=7.3.5
ARG POWERSHELL_DEB_VERSION=7.3.5-1
ARG RCLONE_VERSION=1.60.1
ARG KUBECTL_VERSION=1.27.2
ARG HELM_VERSION=3.12.0
ARG KUBECTL_VERSION=1.28.7
ARG HELM_VERSION=3.14.3
ARG APP=/usr/src/app
ARG WITH_POWERSHELL=true
ARG WITH_RCLONE=true
ARG WITH_KUBECTL=true
ARG WITH_HELM=true
RUN apt-get update \
&& apt-get install -y ca-certificates wget curl git jq libprotobuf-dev libnl-route-3-dev unzip build-essential unixodbc xmlsec1 \
&& apt-get install -y ca-certificates wget curl git jq unzip build-essential unixodbc xmlsec1 software-properties-common \
&& rm -rf /var/lib/apt/lists/*
RUN if [ "$WITH_POWERSHELL" = "true" ]; then \
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then apt-get update -y && apt install libicu-dev -y && wget -O 'pwsh.deb' "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell_${POWERSHELL_DEB_VERSION}.deb_amd64.deb" && \
dpkg --install 'pwsh.deb' && \
@@ -151,40 +135,18 @@ RUN if [ "$WITH_KUBECTL" = "true" ]; then \
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl; \
else echo 'Building the image without kubectl'; fi
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
case "$arch" in \
'amd64') \
zip='awscli-exe-linux-x86_64.zip'; \
;; \
'arm64') \
zip='awscli-exe-linux-aarch64.zip'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
apt-get update && apt install unzip && curl "https://awscli.amazonaws.com/$zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && rm awscliv2.zip
RUN if [ "$WITH_RCLONE" = "true" ]; then \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
curl -o rclone.zip "https://downloads.rclone.org/v${RCLONE_VERSION}/rclone-v${RCLONE_VERSION}-linux-$arch.zip"; \
unzip -p rclone.zip rclone-v${RCLONE_VERSION}-linux-$arch/rclone > /usr/bin/rclone; rm rclone.zip; \
chown root:root /usr/bin/rclone; chmod 755 /usr/bin/rclone; \
else echo 'Building the image without rclone'; fi
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
case "$arch" in \
'amd64') \
targz='go1.21.5.linux-amd64.tar.gz'; \
targz='go1.21.6.linux-amd64.tar.gz'; \
;; \
'arm64') \
targz='go1.21.5.linux-arm64.tar.gz'; \
targz='go1.21.6.linux-arm64.tar.gz'; \
;; \
'armhf') \
targz='go1.21.5.linux-armv6l.tar.gz'; \
targz='go1.21.6.linux-armv6l.tar.gz'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -193,8 +155,11 @@ RUN set -eux; \
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get -y update && apt-get install -y curl nodejs awscli
# go build is slower the first time it is ran, so we prewarm it in the build
RUN mkdir -p /tmp/gobuildwarm && cd /tmp/gobuildwarm && go mod init gobuildwarm && printf "package foo\nimport (\"fmt\")\nfunc main() { fmt.Println(42) }" > warm.go && go build -x && rm -rf /tmp/gobuildwarm
RUN mkdir -p /tmp/gobuildwarm && cd /tmp/gobuildwarm && go mod init gobuildwarm && printf "package foo\nimport (\"fmt\")\nfunc main() { fmt.Println(42) }" > warm.go && go mod tidy && go build -x && rm -rf /tmp/gobuildwarm
ENV TZ=Etc/UTC
@@ -204,22 +169,17 @@ COPY --from=builder /frontend/build /static_frontend
COPY --from=builder /windmill/target/release/windmill ${APP}/windmill
COPY --from=downloader /deno /usr/bin/deno
RUN chmod 755 /usr/bin/deno
COPY --from=downloader --chmod=755 /deno /usr/bin/deno
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=oven/bun:1.0.18 /usr/local/bin/bun /usr/bin/bun
COPY --from=oven/bun:1.1.5 /usr/local/bin/bun /usr/bin/bun
# add the docker client to call docker from a worker if enabled
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/
RUN mkdir -p ${APP}
WORKDIR ${APP}
RUN ln -s ${APP}/windmill /usr/local/bin/windmill
WORKDIR ${APP}
RUN windmill cache
EXPOSE 8000

View File

@@ -13,7 +13,7 @@ any snippets of code that require a positive license check to be activated.
Those snippets and files are under a proprietary and commercial license. Private
and public forks MUST not include any of the above proprietary and commercial
code. Windmill Labs, Inc. provide tools to clean the codebase from those
snippets upon demand. The files under python-client/ deno-client/ go-client/ are
snippets upon demand. The files under python-client/ deno-client/ go-client/ powershell-client/ are
Apache 2.0 Licensed.
The openapi files, including the OpenFlow spec is Apache 2.0 Licensed.

163
README.md
View File

@@ -1,8 +1,9 @@
<p align="center">
<a href="https://www.windmill.dev/"><img src="./imgs/windmill-banner.png" alt="windmill.dev"></a>
</p>
<p align=center>
Open-source developer infrastructure for internal tools (APIs, background jobs, workflows and UIs). Self-hostable alternative to Airplane, Pipedream, Superblocks and a simplified Temporal with autogenerated UIsm and custom UIs to trigger workflows and scripts as internal apps.
Open-source developer infrastructure for internal tools (APIs, background jobs, workflows and UIs). Self-hostable alternative to Airplane, Pipedream, Superblocks and a simplified Temporal with autogenerated UIs and custom UIs to trigger workflows and scripts as internal apps.
<p align=center>
Scripts are turned into sharable UIs automatically, and can be composed together into flows or used into richer apps built with low-code. Supported script languages supported are: Python, TypeScript, Go, Bash, SQL, and GraphQL.
@@ -198,9 +199,8 @@ page.
### Sandboxing
Windmill uses [nsjail](https://github.com/google/nsjail) and deno's sandboxing
capabilities. It is production multi-tenant grade secure. Do not take our word
for it, take
Windmill can use [nsjail](https://github.com/google/nsjail). It is production
multi-tenant grade secure. Do not take our word for it, take
[fly.io's one](https://fly.io/blog/sandboxing-and-workload-isolation/).
### Secrets, credentials and sensitive values
@@ -317,119 +317,78 @@ you to have it being synced automatically everyday.
## Environment Variables
| Environment Variable name | Default | Description | Api Server/Worker/All |
| --------------------------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| DATABASE_URL | | The Postgres database url. | All |
| WORKER_GROUP | default | The worker group the worker belongs to and get its configuration pulled from | Worker |
| MODE | standalone | The mode if the binary. Possible values: standalone, worker, server | All |
| SERVER_BIND_ADDR | 0.0.0.0 | IP Address on which to bind listening socket | Server |
| PORT | 8000 | Exposed port | Server |
| METRICS_ADDR | None | (ee only) The socket addr at which to expose Prometheus metrics at the /metrics path. Set to "true" to expose it on port 8001 | All |
| JSON_FMT | false | Output the logs in json format instead of logfmt | All |
| BASE_URL | http://localhost:8000 | The base url that is exposed publicly to access your instance. Is overriden by the instance settings if any. | Server |
| TIMEOUT | 60 _ 60 _ 24 \* 7 (1 week) | The maximum time of execution of a script. When reached, the job is failed as having timedout. |
| SCRIPT_TOKEN_EXPIRY | 900 | The default duration period of the ephemeral-token generated at the beginning of a script | Worker |
| ZOMBIE_JOB_TIMEOUT | 30 | The timeout after which a job is considered to be zombie if the worker did not send pings about processing the job (every server check for zombie jobs every 30s) | Server |
| RESTART_ZOMBIE_JOBS | true | If true then a zombie job is restarted (in-place with the same uuid and some logs), if false the zombie job is failed | Server |
| SLEEP_QUEUE | 50 | The number of ms to sleep in between the last check for new jobs in the DB. It is multiplied by NUM_WORKERS such that in average, for one worker instance, there is one pull every SLEEP_QUEUE ms. | Worker |
| MAX_LOG_SIZE | 500000 | The maximum number of characters a job can emit (log + result) | Worker |
| DISABLE_NUSER | false | If Nsjail is enabled, disable the nsjail's `clone_newuser` setting | Worker |
| KEEP_JOB_DIR | false | Keep the job directory after the job is done. Useful for debugging. | Worker |
| LICENSE_KEY (EE only) | None | License key checked at startup for the Enterprise Edition of Windmill | Worker |
| S3_CACHE_BUCKET (EE only) | None | The S3 bucket to sync the cache of the workers to | Worker |
| TAR_CACHE_RATE (EE only) | 100 | The rate at which to tar the cache of the workers. 100 means every 100th job in average (uniformly randomly distributed). | Worker |
| SLACK_SIGNING_SECRET | None | The signing secret of your Slack app. See [Slack documentation](https://api.slack.com/authentication/verifying-requests-from-slack) | Server |
| COOKIE_DOMAIN | None | The domain of the cookie. If not set, the cookie will be set by the browser based on the full origin | Server |
| DENO_PATH | /usr/bin/deno | The path to the deno binary. | Worker |
| PYTHON_PATH | /usr/local/bin/python3 | The path to the python binary. | Worker |
| GO_PATH | /usr/bin/go | The path to the go binary. | Worker |
| GOPRIVATE | | The GOPRIVATE env variable to use private go modules | Worker |
| GOPROXY | | The GOPROXY env variable to use | Worker |
| NETRC | | The netrc content to use a private go registry | Worker |
| PIP_INDEX_URL | None | The index url to pass for pip. | Worker |
| PIP_EXTRA_INDEX_URL | None | The extra index url to pass to pip. | Worker |
| PIP_TRUSTED_HOST | None | The trusted host to pass to pip. | Worker |
| PATH | None | The path environment variable, usually inherited | Worker |
| HOME | None | The home directory to use for Go and Bash , usually inherited | Worker |
| DATABASE_CONNECTIONS | 50 (Server)/3 (Worker) | The max number of connections in the database connection pool | All |
| SUPERADMIN_SECRET | None | A token that would let the caller act as a virtual superadmin superadmin@windmill.dev | Server |
| TIMEOUT_WAIT_RESULT | 20 | The number of seconds to wait before timeout on the 'run_wait_result' endpoint | Worker |
| QUEUE_LIMIT_WAIT_RESULT | None | The number of max jobs in the queue before rejecting immediately the request in 'run_wait_result' endpoint. Takes precedence on the query arg. If none is specified, there are no limit. | Worker |
| DENO_AUTH_TOKENS | None | Custom DENO_AUTH_TOKENS to pass to worker to allow the use of private modules | Worker |
| DENO_FLAGS | None | Override the flags passed to deno (default --allow-all) to tighten permissions. Minimum permissions needed are "--allow-read=args.json --allow-write=result.json" | Worker |
| DENO_EXTRA_IMPORT_MAP | None | extra import map to use to run deno scripts (format: `key=value,key=value`) | Worker |
| NPM_CONFIG_REGISTRY | None | Registry to use for NPM dependencies, set if you have a private repository you need to use instead of the default public NPM registry | Worker |
| PIP_LOCAL_DEPENDENCIES | None | Specify dependencies that are installed locally and do not need to be solved nor installed again | |
| ADDITIONAL_PYTHON_PATHS | None | Specify python paths (separated by a :) to be appended to the PYTHONPATH of the python jobs. To be used with PIP_LOCAL_DEPENDENCIES to use python codebases within Windmill | Worker |
| INCLUDE_HEADERS | None | Whitelist of headers that are passed to jobs as args (separated by a comma) | Server |
| NUM_WORKERS | 1 | The number of worker per Worker instance (Set to 0 for API/Server instances, Set to 1 for normal workers, and > 1 for workers dedicated to native jobs) | Worker |
| INSTANCE_EVENTS_WEBHOOK | None | Webhook to notify of events such as new user added, signup/invite. Can hook back to windmill to send emails |
| GLOBAL_CACHE_INTERVAL | 10\*60 | (Enterprise Edition only) Interval in seconds in between bucket sync of the cache. This interval \* 2 is the time at which you're guaranteed all the worker's caches are synced together. | Worker |
| WORKER_TAGS | 'deno,go,python3,bash,flow,hub,dependency' | The worker groups assigned to that workers | Worker |
| DEDICATED_WORKER | None | Unique script to run on that worker. Has to be in the form of `<workspace>:<script_path>` | Worker |
| CUSTOM_TAGS | None | The custom tags assignable to scripts. | Server |
| JOB_RETENTION_SECS | 60*60*24\*60 //60 days | **Overriden by the instance settings UI** The time in seconds after which jobs get deleted. Set to 0 or -1 to never delete |
| WAIT_RESULT_FAST_POLL_INTERVAL_MS | 50 | The time in between polling for the run_wait_result endpoints in fast poll mode | Server |
| WAIT_RESULT_SLOW_POLL_INTERVAL_MS | 200 | The time in between polling for the run_wait_result endpoints in fast poll mode | Server |
| WAIT_RESULT_FAST_POLL_DURATION_SECS | 2 | The duration of fast poll mode before switching to slow poll | Server |
| EXIT_AFTER_NO_JOB_FOR_SECS | None | Exit worker if no job is received after duration in secs if defined | Worker |
| OAUTH_JSON_AS_BASE64 | None | Base64 encoded JSON of the OAuth configuration. e.g `OAUTH_JSON_AS_BASE64=$(base64 oauth.json \| tr -d '\n')` to encode it | Server |
| REQUEST_SIZE_LIMIT | 2097152 (2MB) | Max request size which impact the maximum size of resources and payload size of job args | Server |
| ACCEPT_INVALID_CERTS | false | Accept invalid certificates, including self-signed and expired certificates | Server |
| HTTP_PROXY | None | http_proxy | Server + Worker |
| HTTPS_PROXY | None | https_proxy | Server + Worker |
| NO_PROXY | None | no_proxy | Server + Worker |
| SMTP_FROM | None | the address to use as the from field for emails send | Server |
| SMTP_HOST | None | host for the smtp server to send invite emails | Server |
| SMTP_PORT | 587 | port for the smtp server to send invite emails | Server |
| SMTP_USERNAME | None | username for the smtp server to send invite emails | Server |
| SMTP_PASSWORD | None | password for the smtp server to send invite emails | Server |
| SMTP_TLS_IMPLICIT | false | https://docs.rs/mail-send/latest/mail_send/struct.SmtpClientBuilder.html#method.implicit_tlsemails | Server |
| CREATE_WORKSPACE_REQUIRE_SUPERADMIN | true | If true, only superadmin can create workspaces | Server |
| GLOBAL_ERROR_HANDLER_PATH_IN_ADMINS_WORKSPACE | None | Path to a script or flow to run when a root job fails. The path needs to be prefixed with either `script/` or `flow/` to indicate the kind of error handler being used (assuming `script/` by default). The error handler will be run in and from the admins workspace | Server |
| WHITELIST_ENVS | None | List of envs variables, separated by a ',' that are whitelisted as being safe to passthrough the workers | Worker |
| SAML_METADATA | None | SAML Metadata URL to enable SAML SSO (EE only) | Server |
| SECRET_SALT | None | Secret Salt used for encryption and decryption of secrets. If defined, the secrets will not be decryptable unless the right salt is passed in, which is the case for the workers and the server | Server + Worker |
| OPENAI_AZURE_BASE_PATH | None | Azure OpenAI path to be used instead of the OpenAI path. All Windmill AI features will run on the specified deployed model. Format: `https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}` | Server |
| DISABLE_EMBEDDING | false | Disable local embedding search of hub scripts | Server |
| DISABLE_NSJAIL | true | Disable Nsjail Sandboxing | Worker |
| DISABLE_SERVER | false | Disable the external API, operate as a worker only instance | Worker |
| Environment Variable name | Default | Description | Api Server/Worker/All |
| ------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| DATABASE_URL | | The Postgres database url. | All |
| WORKER_GROUP | default | The worker group the worker belongs to and get its configuration pulled from | Worker |
| MODE | standalone | The mode if the binary. Possible values: standalone, worker, server | All |
| METRICS_ADDR | None | (ee only) The socket addr at which to expose Prometheus metrics at the /metrics path. Set to "true" to expose it on port 8001 | All |
| JSON_FMT | false | Output the logs in json format instead of logfmt | All |
| BASE_URL | http://localhost:8000 | The base url that is exposed publicly to access your instance. Is overriden by the instance settings if any. | Server |
| SCRIPT_TOKEN_EXPIRY | 900 | The default duration period of the ephemeral-token generated at the beginning of a script | Worker |
| ZOMBIE_JOB_TIMEOUT | 30 | The timeout after which a job is considered to be zombie if the worker did not send pings about processing the job (every server check for zombie jobs every 30s) | Server |
| RESTART_ZOMBIE_JOBS | true | If true then a zombie job is restarted (in-place with the same uuid and some logs), if false the zombie job is failed | Server |
| SLEEP_QUEUE | 50 | The number of ms to sleep in between the last check for new jobs in the DB. It is multiplied by NUM_WORKERS such that in average, for one worker instance, there is one pull every SLEEP_QUEUE ms. | Worker |
| MAX_LOG_SIZE | 500000 | The maximum number of characters a job can emit (log + result) | Worker |
| DISABLE_NUSER | false | If Nsjail is enabled, disable the nsjail's `clone_newuser` setting | Worker |
| KEEP_JOB_DIR | false | Keep the job directory after the job is done. Useful for debugging. | Worker |
| LICENSE_KEY (EE only) | None | License key checked at startup for the Enterprise Edition of Windmill | Worker |
| S3_CACHE_BUCKET (EE only) | None | The S3 bucket to sync the cache of the workers to | Worker |
| SLACK_SIGNING_SECRET | None | The signing secret of your Slack app. See [Slack documentation](https://api.slack.com/authentication/verifying-requests-from-slack) | Server |
| COOKIE_DOMAIN | None | The domain of the cookie. If not set, the cookie will be set by the browser based on the full origin | Server |
| DENO_PATH | /usr/bin/deno | The path to the deno binary. | Worker |
| PYTHON_PATH | /usr/local/bin/python3 | The path to the python binary. | Worker |
| GO_PATH | /usr/bin/go | The path to the go binary. | Worker |
| GOPRIVATE | | The GOPRIVATE env variable to use private go modules | Worker |
| GOPROXY | | The GOPROXY env variable to use | Worker |
| NETRC | | The netrc content to use a private go registry | Worker |
| PIP_INDEX_URL | None | The index url to pass for pip. | Worker |
| PIP_EXTRA_INDEX_URL | None | The extra index url to pass to pip. | Worker |
| PIP_TRUSTED_HOST | None | The trusted host to pass to pip. | Worker |
| PATH | None | The path environment variable, usually inherited | Worker |
| HOME | None | The home directory to use for Go and Bash , usually inherited | Worker |
| DATABASE_CONNECTIONS | 50 (Server)/3 (Worker) | The max number of connections in the database connection pool | All |
| SUPERADMIN_SECRET | None | A token that would let the caller act as a virtual superadmin superadmin@windmill.dev | Server |
| TIMEOUT_WAIT_RESULT | 20 | The number of seconds to wait before timeout on the 'run_wait_result' endpoint | Worker |
| QUEUE_LIMIT_WAIT_RESULT | None | The number of max jobs in the queue before rejecting immediately the request in 'run_wait_result' endpoint. Takes precedence on the query arg. If none is specified, there are no limit. | Worker |
| DENO_AUTH_TOKENS | None | Custom DENO_AUTH_TOKENS to pass to worker to allow the use of private modules | Worker |
## Run a local dev setup
### only Frontend
This will use the backend of <https://app.windmill.dev> but your own frontend
with hot-code reloading.
1. Go to `frontend/`:
1. `npm install`
2. `npm run generate-backend-client`
3. `npm run dev`
2. Et voilà, windmill should be available at `http://localhost:3000/`
1. Install [caddy](https://caddyserver.com)
2. Go to `frontend/`:
1. `npm install`, `npm run generate-backend-client` then `npm run dev`
2. In another shell `sudo caddy run --config CaddyfileRemote`
3. Et voilà, windmill should be available at `http://localhost/`
### Backend + Frontend
See the [./frontend/README_DEV.md](./frontend/README_DEV.md) file for all
running options.
1. Create a Postgres Database for Windmill and create an admin role inside your
Postgres setup. The easiest way to get a working postgres is running
`cargo install --version ^0.7 sqlx-cli && sqlx migrate run`. This will also
avoid compile time issue with sqlx's `query!` macro
Postgres setup.
The easiest way to get a working db is to run
```
cargo install sqlx-cli
env DATABASE_URL=<YOUR_DATABASE_URL> sqlx migrate run
```
This will also avoid compile time issue with sqlx's `query!` macro
2. Install [nsjail](https://github.com/google/nsjail) and have it accessible in
your PATH
3. Install deno and python3, have the bins at `/usr/bin/deno` and
`/usr/local/bin/python3`
4. Install [caddy](https://caddyserver.com)
5. Go to `frontend/`:
5. Install the [lld linker](https://lld.llvm.org/)
6. Go to `frontend/`:
1. `npm install`, `npm run generate-backend-client` then `npm run dev`
2. In another shell `npm run build` otherwise the backend will not find the
`frontend/build` folder and will crash
3. In another shell `sudo caddy run --config Caddyfile`
6. Go to `backend/`:
`DATABASE_URL=<DATABASE_URL_TO_YOUR_WINDMILL_DB> RUST_LOG=info cargo run`
7. Et voilà, windmill should be available at `http://localhost/`
2. You might need to set some extra heap space for the node runtime `export NODE_OPTIONS="--max-old-space-size=4096"`
3. In another shell `npm run build` otherwise the backend will not find the `frontend/build` folder and will not compile.
4. In another shell `sudo caddy run --config Caddyfile`
7. Go to `backend/`:
`env DATABASE_URL=<DATABASE_URL_TO_YOUR_WINDMILL_DB> RUST_LOG=info cargo run`
8. Et voilà, windmill should be available at `http://localhost/`
## Contributors

View File

@@ -1,8 +1,4 @@
[build]
rustflags = [
"--cfg",
"tokio_unstable"
]
incremental = true
[target.x86_64-apple-darwin]

1
backend/.gitignore vendored
View File

@@ -1,5 +1,6 @@
target/
.env
oauth.json
oauth2.json
windmill-api/openapi-deref.yaml
tracing.folded

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT email FROM password WHERE email = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "email",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "005b9255699e73600c579f74b529caf531b2312b6e405b4d35efd2f7ca663143"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE resource SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "00f68ea1ad2d5ab045b4a20ce3f4dd7850041e396e14890e37e1d0db276d3694"
}

View File

@@ -0,0 +1,17 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET flow_status = jsonb_set(COALESCE(flow_status, '{}'::jsonb), array[$1], jsonb_set(jsonb_set('{}'::jsonb, '{scheduled_for}', to_jsonb(now()::text)), '{name}', to_jsonb($4::text))) WHERE id = $2 AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "029ed3dcba207c58aa6936e44bd825b2166f1846b1bb684522607d5ca31a0df3"
}

View File

@@ -1,16 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO workspace_invite\n (workspace_id, email, is_admin, operator)\n SELECT $1::text, email, false, $3 FROM password WHERE ($2::text = '*' OR email LIKE CONCAT('%', $2::text)) AND NOT EXISTS (\n SELECT 1 FROM usr WHERE workspace_id = $1::text AND email = password.email\n )\n ON CONFLICT DO NOTHING",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Bool"
]
},
"nullable": []
},
"hash": "0360207b5fb2a7f877c2608566454f40f7cbbcd20bcb84e5968ac3e21b6ea0f6"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET permissioned_as = ('u/' || $1) WHERE permissioned_as = ('u/' || $2) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "036af7b1cf6d731647fd718458944b9a9759bdb034e73f3065cde6a2f88c8dce"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE usr SET username = $1 WHERE email = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "03cb31686d34035f2dc64d4dff93265af0e44a7e2dabdf28fd9c9327b5b53118"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE app SET policy = jsonb_set(policy, ARRAY['on_behalf_of'], to_jsonb('u/' || $1)) WHERE policy->>'on_behalf_of' = ('u/' || $2) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "03d4ec7a5feda9001e98c2e55f0788399ee41c9b128099937abb483f1d89a2c6"
}

View File

@@ -0,0 +1,48 @@
{
"db_name": "PostgreSQL",
"query": "SELECT running, substr(concat(coalesce(queue.logs, ''), job_logs.logs), greatest($1 - job_logs.log_offset, 0)) as logs, mem_peak, \n CASE WHEN is_flow_step is true then NULL else flow_status END as flow_status,\n job_logs.log_offset + char_length(job_logs.logs) + 1 as log_offset\n FROM queue\n LEFT JOIN job_logs ON job_logs.job_id = queue.id \n WHERE queue.workspace_id = $2 AND queue.id = $3",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "running",
"type_info": "Bool"
},
{
"ordinal": 1,
"name": "logs",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "mem_peak",
"type_info": "Int4"
},
{
"ordinal": 3,
"name": "flow_status",
"type_info": "Jsonb"
},
{
"ordinal": 4,
"name": "log_offset",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Int4",
"Text",
"Uuid"
]
},
"nullable": [
false,
null,
true,
null,
null
]
},
"hash": "04be51a152d7c9644f11173da2cc386a71e178685364e7da4b910d1648ea55ba"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE usr SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "0659bab15d4cccdb04c7a57e0e3bbb6bfebb8896601a27ddf5618d4eae678bc1"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE completed_job SET created_by = $1 WHERE created_by = $2 AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "0721acae4f627df4687bb43b830a47faeee5c0a152cda8d62794c14dd200fac1"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE input SET created_by = $1 WHERE created_by = $2 AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "07ce3bce5f71b13d8aaf51f7d8aef8e32ff9e3e9cf58daab1c02276a7f0bd163"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE schedule SET ws_error_handler_muted = false, on_failure = NULL, on_failure_extra_args = NULL, on_failure_times = NULL, on_failure_exact = NULL WHERE workspace_id = $1 RETURNING path",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "path",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "083218b582d927d98879b9cd8193d8294c1a0e6e50d5de5d5fe1c181391a38d8"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM account WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "08c943c4b9b76da43b8b754e5c66ab3b6397e7edc82666662a8ea466496290fb"
}

View File

@@ -31,7 +31,8 @@
"postgresql",
"noop",
"appdependencies",
"deploymentcallback"
"deploymentcallback",
"singlescriptflow"
]
}
}
@@ -47,7 +48,6 @@
"bash",
"postgresql",
"nativets",
"Nativets",
"bun",
"mysql",
"bigquery",

View File

@@ -0,0 +1,29 @@
{
"db_name": "PostgreSQL",
"query": "SELECT COUNT(*) as count, COALESCE(MAX(ended_at), now() - INTERVAL '1 second' * $2) as max_ended_at FROM custom_concurrency_key_ended WHERE key = $1 AND ended_at >= (now() - INTERVAL '1 second' * $2)",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "count",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "max_ended_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Text",
"Float8"
]
},
"nullable": [
null,
null
]
},
"hash": "0b74ab3a237b2b7f54c05c7ea74294317fcd039870268eaa930f1ba8b8250559"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE audit SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "0ba594244a366a31d9bed97a2d7b031d42c23463599d267d1712d1af1d26b321"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET suspend = suspend - 1 WHERE id = $1 AND suspend > 0",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "0c349ac832cbf055fce755c8e2081eacf2b836b0396ec48a6cc2405fb7aa76de"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_settings SET auto_invite_domain = NULL, auto_invite_operator = NULL WHERE workspace_id = $1",
"query": "UPDATE workspace_settings SET auto_invite_domain = NULL, auto_invite_operator = NULL, auto_add = NULL WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
@@ -10,5 +10,5 @@
},
"nullable": []
},
"hash": "5c377fffc224a06f693c125f4c13b0a9ccfc217190ba6cf78246294bbc6c93bc"
"hash": "0c9ad812013ff476a79ca8d6bb8b7a73d9492e07680732af9af09e223ade1f37"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_key SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "0d0c379b1cd2eec15869dd0b1a31886a95d53096fdcb1cdb1e0eb282b54105dc"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM schedule WHERE path = $1 AND workspace_id = $2",
"query": "DELETE FROM workspace_invite WHERE workspace_id = $1 AND email = $2",
"describe": {
"columns": [],
"parameters": {
@@ -11,5 +11,5 @@
},
"nullable": []
},
"hash": "61e9662fe42506131222412ab3de48cf6485dea10aa3a2f97c0fd6322a0cb17f"
"hash": "0d7ba88a9810e434aa00fd63bbf416cbe222f2c67ccc8aa92e651c2bea4c2d7b"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT email FROM password WHERE ($2::text = '*' OR email LIKE CONCAT('%', $2::text)) AND NOT EXISTS (\n SELECT 1 FROM usr WHERE workspace_id = $1::text AND email = password.email\n )",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "email",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false
]
},
"hash": "0ef37117c369f03236e18f9dbb1f3d52776c8cb73f2507199c6ca16d4d2405ba"
}

View File

@@ -1,14 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO password (email, login_type, verified) VALUES ($1, 'saml', true) ON CONFLICT DO NOTHING",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar"
]
},
"nullable": []
},
"hash": "120fa12a4c2fdecf1da58ffba0c0aff06ea62f94ff357c446a8e2311e083efdf"
}

View File

@@ -27,11 +27,6 @@
"ordinal": 4,
"name": "premium",
"type_info": "Bool"
},
{
"ordinal": 5,
"name": "is_overquota",
"type_info": "Bool"
}
],
"parameters": {
@@ -45,7 +40,6 @@
false,
false,
false,
false,
false
]
},

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT COUNT(id) FROM queue WHERE running = true AND workspace_id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "count",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
null
]
},
"hash": "12a0fd7d8d99fb73b01bc24774fe9a8da57b5204bb6b1207aed47143c17a20bc"
}

View File

@@ -0,0 +1,24 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT flow_status->'user_states'->$1\n FROM queue\n WHERE id = $2 AND workspace_id = $3\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "?column?",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": [
"Text",
"Uuid",
"Text"
]
},
"nullable": [
null
]
},
"hash": "1438e8dc5738fc69bc6601eb11729610f671b7df0ab25da058e16c6654279d61"
}

View File

@@ -0,0 +1,35 @@
{
"db_name": "PostgreSQL",
"query": "SELECT value, is_secret, path from variable WHERE variable.path = $1 AND variable.workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "value",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "is_secret",
"type_info": "Bool"
},
{
"ordinal": 2,
"name": "path",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false,
false,
false
]
},
"hash": "1587639f13a1a3ad97bd324df38661f3e846f1992704c86ddad74dea151b0ec4"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE variable SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "15c29ab03fdeda346adc4db3fd0b9d9aee1a99f0c795afe203efe42b967569a5"
}

View File

@@ -92,6 +92,26 @@
"ordinal": 17,
"name": "git_sync",
"type_info": "Jsonb"
},
{
"ordinal": 18,
"name": "default_app",
"type_info": "Varchar"
},
{
"ordinal": 19,
"name": "auto_add",
"type_info": "Bool"
},
{
"ordinal": 20,
"name": "automatic_billing",
"type_info": "Bool"
},
{
"ordinal": 21,
"name": "default_scripts",
"type_info": "Jsonb"
}
],
"parameters": {
@@ -117,6 +137,10 @@
true,
false,
true,
true,
true,
true,
false,
true
]
},

View File

@@ -0,0 +1,24 @@
{
"db_name": "PostgreSQL",
"query": "SELECT id FROM queue WHERE schedule_path = $1 AND workspace_id = $2 AND id != $3 AND running = true",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "1af5ccc82048df95a791949e7b141861dbfd5c08daea615dde081e29f7459b9d"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE completed_job SET script_path = REGEXP_REPLACE(script_path,'u/' || $2 || '/(.*)','u/' || $1 || '/\\1') WHERE script_path LIKE ('u/' || $2 || '/%') AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "1c2254c15696d3dbc091488311676641ba3c6f1f1b5e006fc75427c9b231d323"
}

View File

@@ -0,0 +1,17 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE job_stats SET timestamps = array_append(timestamps, now()), timeseries_int = array_append(timeseries_int, $4) WHERE workspace_id = $1 AND job_id = $2 AND metric_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid",
"Text",
"Int4"
]
},
"nullable": []
},
"hash": "1db82007445ff5f644bb607aa28f5747cb50d193475fff5fcfdde37d1bc74636"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue\n SET last_ping = null\n WHERE id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "1e43e6040ac95b586d4d73999025f4a3e79c87fc1c5b43e787fd8e19c555b44b"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_settings SET automatic_billing = false WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "1e659916501e668913e591eb7282d3881fa44468ed5330a501daa0d61c84cb71"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE resource SET extra_perms = extra_perms - ('u/' || $2) || jsonb_build_object(('u/' || $1), extra_perms->('u/' || $2)) WHERE extra_perms ? ('u/' || $2) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "1f003a8a6a9402f5f7021b032281a9aa70a8f89777e95e0415877ffa90ecd87c"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE token SET scopes = array(select regexp_replace(unnest(scopes), 'run:([^/]+)/u/' || $2 || '/(.+)', 'run:\\1/u/' || $1 || '/\\2')) WHERE EXISTS (SELECT 1 FROM UNNEST(scopes) scope WHERE scope LIKE ('run:%/u/' || $2 || '/%')) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "1f9e5d943e597ad9ed4e77088666b89d70db73de0b92f390a976fe3ce88dc4c5"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM parallel_monitor_lock WHERE parent_flow_id = $1 and job_id = $2 RETURNING last_ping",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "last_ping",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
true
]
},
"hash": "1ff36e74e19b824228397994cd9a10fc9be22a69e37b990da1319365c018fb14"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE resource_type SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "2133e06ac9f7de884dbd36d51bca9a427bde64a9e278658bc0777e23abde4cd5"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE email_to_igroup SET email = $1 WHERE email = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "22ff7c00b2d3e93ea9e147fc9a5bac1d55858f89039ae5baecdc9ceca668adab"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE draft SET value = to_json(jsonb_set(to_jsonb(value), ARRAY['path'], to_jsonb(REGEXP_REPLACE(value->>'path','u/' || $2 || '/(.*)','u/' || $1 || '/\\1')))) WHERE value->>'path' LIKE ('u/' || $2 || '/%') AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "23e100a803d89cdce24486adc6de0904a68a011157f50ec57e39afb582e48d64"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT git_sync FROM workspace_settings WHERE workspace_id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "git_sync",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
true
]
},
"hash": "266741894b9a6ed650cf999b6e5b7c797424f8291517d3abf096fe45548a0273"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE usr_to_group SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "26c1c56290d2ef5dae9d19796560c89f99fc4d18a9ea6bc9527563fd38b134b2"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM custom_concurrency_key_ended WHERE key = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "2946aa519633291de986978d245dc615a0ee10ce6e6a98bd4906e86225b387b3"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO resume_job\n (id, resume_id, job, flow, value, approver)\n VALUES ($1, $2, $3, $4, $5, $6)\n ",
"query": "\n INSERT INTO resume_job\n (id, resume_id, job, flow, value, approver, approved)\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n ",
"describe": {
"columns": [],
"parameters": {
@@ -10,10 +10,11 @@
"Uuid",
"Uuid",
"Jsonb",
"Varchar"
"Varchar",
"Bool"
]
},
"nullable": []
},
"hash": "c4f1c14c3aae145b52ff39bdecd779cd3eba27a869fda68516dc68dc2abefd38"
"hash": "2c0c9312b8b326a3759566059d01c79efee28920a1a5afe2df92043526c1de82"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_settings SET automatic_billing = TRUE WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "2d4d4564108376ab310cb4a50fa2fa84fefbb3df8bb1bc9996c40a86d464b8a1"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO workspace_invite\n (workspace_id, email, is_admin, operator)\n SELECT $1::text, email, false, $3 FROM password WHERE ($2::text = '*' OR email LIKE CONCAT('%', $2::text)) AND NOT EXISTS (\n SELECT 1 FROM usr WHERE workspace_id = $1::text AND email = password.email\n )\n ON CONFLICT DO NOTHING",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Bool"
]
},
"nullable": []
},
"hash": "2e1d1c59bfc53d58962251822c85cf9a26e3b2888702e5e9d5fc1b082901df09"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO usage (id, is_workspace, month_, usage)\n VALUES ($1, FALSE, EXTRACT(YEAR FROM current_date) * 12 + EXTRACT(MONTH FROM current_date), 1)\n ON CONFLICT (id, is_workspace, month_) DO UPDATE SET usage = usage.usage + 1 \n RETURNING usage.usage",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "usage",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Varchar"
]
},
"nullable": [
false
]
},
"hash": "2e9b3e718440f3c5269e9217a13076c565f3add98b6768b5476bd3afed11ea31"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE usr_to_group SET usr = $1 WHERE usr = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "2f0de5417088df098a200a67197155e10e909bd02c91082341dd73bb1d6d62e1"
}

View File

@@ -42,7 +42,6 @@
"bash",
"postgresql",
"nativets",
"Nativets",
"bun",
"mysql",
"bigquery",

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO group_ SELECT $1, name, summary, extra_perms FROM group_ WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "2f998f9044412da6ad785f158ead132f219dd0f96003414d75ccb1953a3827ac"
}

View File

@@ -0,0 +1,20 @@
{
"db_name": "PostgreSQL",
"query": "SELECT owner FROM workspace WHERE owner NOT LIKE '%@windmill.dev'",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "owner",
"type_info": "Varchar"
}
],
"parameters": {
"Left": []
},
"nullable": [
false
]
},
"hash": "2fa6e9c2cfc4f4ddbaa91793686feb9773b36993dd417019db51fa59fd4952c3"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM dependency_map\n WHERE importer_path = $1 AND importer_kind = 'script'\n AND workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": []
},
"hash": "30e9250edd0c4c6025322f51b758174435d6df4f835cb0883ba40897cb99a410"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE token SET owner = ('u/' || $1) WHERE owner = ('u/' || $2) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "32ab08ef55f665b1944001ca6ad661940d59e211f60437437b5d53a6ee6a79a4"
}

View File

@@ -1,30 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT COALESCE(j.min_started_at, q.min_started_at) AS min_started_at, COALESCE(completed_count, 0) AS completed_count\n FROM\n (SELECT script_path, MIN(started_at) as min_started_at, COUNT(*) as completed_count\n FROM completed_job\n WHERE script_path = $1 AND job_kind != 'dependencies' AND started_at + INTERVAL '1 MILLISECOND' * duration_ms > (now() - INTERVAL '1 second' * $2) AND workspace_id = $3 AND canceled = false\n GROUP BY script_path) as j\n FULL OUTER JOIN\n (SELECT script_path, MIN(started_at) as min_started_at\n FROM queue\n WHERE script_path = $1 AND job_kind != 'dependencies' AND running = true AND workspace_id = $3 AND canceled = false\n GROUP BY script_path) as q\n ON q.script_path = j.script_path",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "min_started_at",
"type_info": "Timestamptz"
},
{
"ordinal": 1,
"name": "completed_count",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Float8",
"Text"
]
},
"nullable": [
true,
true
]
},
"hash": "330e85c6fe52355971262d3a44c2b75a95b1d042b9e0995186aa5a2d0b7ee552"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE schedule SET script_path = REGEXP_REPLACE(script_path,'u/' || $2 || '/(.*)','u/' || $1 || '/\\1') WHERE script_path LIKE ('u/' || $2 || '/%') AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "35e0f5488724e9bb7595748754bbdd7c5c8d643bbbfa9b39f5b3d5d4684eab3a"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO flow (workspace_id, path, summary, description, value, edited_by, edited_at, schema, dependency_job, draft_only, tag, dedicated_worker) VALUES ($1, $2, $3, $4, $5, $6, now(), $7::text::json, NULL, $8, $9, $10)",
"query": "INSERT INTO flow (workspace_id, path, summary, description, value, edited_by, edited_at, schema, dependency_job, draft_only, tag, dedicated_worker, visible_to_runner_only) VALUES ($1, $2, $3, $4, $5, $6, now(), $7::text::json, NULL, $8, $9, $10, $11)",
"describe": {
"columns": [],
"parameters": {
@@ -14,10 +14,11 @@
"Text",
"Bool",
"Varchar",
"Bool",
"Bool"
]
},
"nullable": []
},
"hash": "c3da506f47dfb42434debf6e005319147c7513193e853c38cfb7c071d61a3d2e"
"hash": "35e6af0b203e3e4fac9020b037a3c41af92537c0fd5683227767f6a1bd17339f"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_settings SET default_app = NULL WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "36918406736022663b0d33467e2140e86fe8fc8d1f20dc76b8ae70b9a3b5833e"
}

View File

@@ -1,15 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET logs = $1 WHERE id = $2",
"query": "DELETE FROM job_logs WHERE job_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid"
]
},
"nullable": []
},
"hash": "1bf2ca894246bd716875635b2d0c294a1ce2ed21916097ea165df240f7421a1e"
"hash": "37164e9a4bbb3fd283dc604be8dbf2ca7a1cd830d63f27c87266be2111edbdc4"
}

View File

@@ -0,0 +1,30 @@
{
"db_name": "PostgreSQL",
"query": "SELECT COALESCE((SELECT MIN(started_at) as min_started_at\n FROM queue\n WHERE script_path = $1 AND job_kind != 'dependencies' AND running = true AND workspace_id = $2 AND canceled = false\n GROUP BY script_path), $3) as min_started_at, now() AS now",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "min_started_at",
"type_info": "Timestamptz"
},
{
"ordinal": 1,
"name": "now",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Timestamptz"
]
},
"nullable": [
null,
null
]
},
"hash": "3901cce744c9b246b661c817e068bdb3b1ab504ff8070fcccf6c909ad75f1f6d"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT key FROM workspace_key WHERE workspace_id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "key",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "3a637063e1d256639b0e900606b641ab71cc1b5049a104e0699e81484a61ae63"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT EXISTS(SELECT 1 FROM usr WHERE username = $1 and email != $2 UNION SELECT 1 FROM password WHERE username = $1 UNION SELECT 1 FROM pending_user WHERE username = $1)",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "exists",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
null
]
},
"hash": "3baafb31f22d4de32bd11185f96939c0e5def7bbee4a7f25ca208a667d0dc612"
}

View File

@@ -0,0 +1,20 @@
{
"db_name": "PostgreSQL",
"query": "SELECT email FROM password WHERE super_admin IS true AND email NOT LIKE '%@windmill.dev'",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "email",
"type_info": "Varchar"
}
],
"parameters": {
"Left": []
},
"nullable": [
false
]
},
"hash": "3dd6ba886b214274d9453667e3732421251c3a0d84b0909206447a3927bad8b3"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO token\n (workspace_id, token, owner, label, expiration, super_admin, email)\n VALUES ($1, $2, $3, $4, now() + ($5 || ' seconds')::interval, $6, $7)",
"query": "INSERT INTO token\n (workspace_id, token, owner, label, expiration, super_admin, email, job)\n VALUES ($1, $2, $3, $4, now() + ($5 || ' seconds')::interval, $6, $7, $8)",
"describe": {
"columns": [],
"parameters": {
@@ -11,10 +11,11 @@
"Varchar",
"Text",
"Bool",
"Varchar"
"Varchar",
"Uuid"
]
},
"nullable": []
},
"hash": "e9c0e331c16312bf086b17c91466c5389d41454fd3f18d73c2e9554845ee9a72"
"hash": "42cb4bc3abc8cba2193a7fbbae8275c1bc830081a43e3a4a897c41b6b3099b1d"
}

View File

@@ -0,0 +1,17 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO workspace_settings\n (workspace_id, slack_team_id, slack_name, slack_email)\n VALUES ($1, $2, $3, $4) ON CONFLICT (workspace_id) DO UPDATE SET slack_team_id = $2, slack_name = $3, slack_email = $4",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Varchar",
"Varchar"
]
},
"nullable": []
},
"hash": "43b376a2eff086a32cd76e54361ce3631feee1565935d2a6ddbecc17950758d1"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT schedule.*, t.jobs FROM schedule, LATERAL ( SELECT ARRAY (SELECT json_build_object('id', id, 'success', success, 'duration_ms', duration_ms) FROM completed_job WHERE\n completed_job.schedule_path = schedule.path AND completed_job.workspace_id = $1 AND parent_job IS NULL ORDER BY started_at DESC LIMIT 20) AS jobs ) t\n WHERE schedule.workspace_id = $1 ORDER BY schedule.edited_at desc LIMIT $2 OFFSET $3",
"query": "SELECT schedule.*, t.jobs FROM schedule, LATERAL ( SELECT ARRAY (SELECT json_build_object('id', id, 'success', success, 'duration_ms', duration_ms) FROM completed_job WHERE\n completed_job.schedule_path = schedule.path AND completed_job.workspace_id = $1 AND parent_job IS NULL AND is_skipped = False ORDER BY started_at DESC LIMIT 20) AS jobs ) t\n WHERE schedule.workspace_id = $1 ORDER BY schedule.edited_at desc LIMIT $2 OFFSET $3",
"describe": {
"columns": [
{
@@ -110,6 +110,26 @@
},
{
"ordinal": 21,
"name": "retry",
"type_info": "Jsonb"
},
{
"ordinal": 22,
"name": "summary",
"type_info": "Varchar"
},
{
"ordinal": 23,
"name": "no_flow_overlap",
"type_info": "Bool"
},
{
"ordinal": 24,
"name": "tag",
"type_info": "Varchar"
},
{
"ordinal": 25,
"name": "jobs",
"type_info": "JsonArray"
}
@@ -143,8 +163,12 @@
true,
true,
false,
true,
true,
false,
true,
null
]
},
"hash": "7a00843921db4ac1eb20a1045e83363587c1a2cb62d2df25d5564ae78a03b097"
"hash": "4422b7183ede17a9cbde4afae41be4da5447020e39398deedbcca9121492834a"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO parallel_monitor_lock (parent_flow_id, job_id)\n VALUES ($1, $2)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": []
},
"hash": "4507c3907bf49f93f6c17956d9cf9495f4538b20ce0299acde7578386db4278c"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET last_ping = now() WHERE id = $1 AND workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Text"
]
},
"nullable": []
},
"hash": "45c9ecf8b1f8cbca7c75dab24a1eb6da8ceb45258ee5817ec71e73bebbe415bd"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT 1 FROM schedule WHERE path = $1 AND workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "?column?",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
null
]
},
"hash": "4613382f7b031a2b667f86d9af995065a99a63c407fd58aa293fb269e032121d"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM job_logs WHERE job_id = ANY($1)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"UuidArray"
]
},
"nullable": []
},
"hash": "467c563cdc81dd57a01735a9f535d1096bdfd6c539d8c31462f8f2bd711ab0fa"
}

View File

@@ -1,15 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET logs = concat(logs, $1::text) WHERE id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid"
]
},
"nullable": []
},
"hash": "486f181a9ced2bdc7c8d93da22c9d3e229ef106174bff2c472dbe82622f382b6"
}

View File

@@ -0,0 +1,18 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO resource\n (workspace_id, path, value, description, resource_type)\n VALUES ($1, $2, $3, $4, $5) ON CONFLICT (workspace_id, path) DO UPDATE SET value = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Jsonb",
"Text",
"Varchar"
]
},
"nullable": []
},
"hash": "489a62b5943a7a21ce487aa7b72a63dfc6300dd93bc29f5ec4cb1bfc471ad0bf"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT premium, usage.usage as \"usage?\", workspace_settings.customer_id, workspace_settings.plan FROM workspace LEFT JOIN workspace_settings ON workspace_settings.workspace_id = $1 LEFT JOIN usage ON usage.id = $1 AND month_ = EXTRACT(YEAR FROM current_date) * 12 + EXTRACT(MONTH FROM current_date) AND usage.is_workspace IS true WHERE workspace.id = $1",
"query": "SELECT premium, usage.usage as \"usage?\", workspace_settings.customer_id, workspace_settings.plan, workspace_settings.automatic_billing FROM workspace LEFT JOIN workspace_settings ON workspace_settings.workspace_id = $1 LEFT JOIN usage ON usage.id = $1 AND month_ = EXTRACT(YEAR FROM current_date) * 12 + EXTRACT(MONTH FROM current_date) AND usage.is_workspace IS true WHERE workspace.id = $1",
"describe": {
"columns": [
{
@@ -22,6 +22,11 @@
"ordinal": 3,
"name": "plan",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "automatic_billing",
"type_info": "Bool"
}
],
"parameters": {
@@ -33,8 +38,9 @@
false,
false,
true,
true
true,
false
]
},
"hash": "4999995f4459da32a0e2fc7115eae97fb49b0080075fb01e0863d164ba9a5f13"
"hash": "49a8fe5c538d8fc26f6d8ece5b30dd02a128f571039714e61525e2bb86591d93"
}

View File

@@ -1,14 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE schedule SET on_recovery = NULL, on_recovery_extra_args = NULL, on_recovery_times = NULL WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "49e57089ff611b69f173c7d9706dd6d297c053b685ee0b3885c8c29fb2ecc84c"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE app SET extra_perms = extra_perms - ('u/' || $2) || jsonb_build_object(('u/' || $1), extra_perms->('u/' || $2)) WHERE extra_perms ? ('u/' || $2) AND workspace_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "4a585c1f92628b8763930764befdf38ce2ea7df71b013bd960796cc8230797e6"
}

View File

@@ -0,0 +1,28 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT usr.email, usage.executions\n FROM usr\n , LATERAL (\n SELECT COALESCE(SUM(duration_ms + 1000)/1000 , 0)::BIGINT executions\n FROM completed_job\n WHERE workspace_id = $1\n AND job_kind NOT IN ('flow', 'flowpreview')\n AND email = usr.email\n AND now() - '1 week'::interval < created_at \n ) usage\n WHERE workspace_id = $1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "email",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "executions",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
null
]
},
"hash": "4ab6d6584029aacdc1e39fcbf39767a49717246179c0652b10aac9078b4e2ae7"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM token WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "4c5276bbf6aaad004a58aaff6b2abd7e78903a0354dd041fcc0cc7cca2b60cc1"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET suspend = suspend - 1 WHERE parent_job = $1",
"query": "UPDATE queue SET suspend = 0 WHERE id = $1",
"describe": {
"columns": [],
"parameters": {
@@ -10,5 +10,5 @@
},
"nullable": []
},
"hash": "a4ae245dcf7e4b930cd45701db0b7c45f2a5797e8b6724bade5b964d4334c098"
"hash": "4fb3a4712d88afed40082d8d8bd63b5dedad61caa68e0e470252083d80df605f"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT name FROM instance_group WHERE id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "name",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "51dbf8e3814c2d63df1958db12d5bacbb4bbe3bb4725eece43fb82944212f21d"
}

View File

@@ -0,0 +1,18 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE job_logs SET logs = $1, log_offset = $2, \n log_file_index = array_append(coalesce(log_file_index, array[]::text[]), $3) \n WHERE workspace_id = $4 AND job_id = $5",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Int4",
"Text",
"Text",
"Uuid"
]
},
"nullable": []
},
"hash": "528cdbb75f1c5135170a58fce3fda464be138272487639d0ffbbbe6961ec5c37"
}

View File

@@ -1,20 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO variable\n (workspace_id, path, value, is_secret, description, account, is_oauth)\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n ON CONFLICT (workspace_id, path) DO UPDATE SET value = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Varchar",
"Bool",
"Varchar",
"Int4",
"Bool"
]
},
"nullable": []
},
"hash": "52c8b4350235bdaab4df79e517d5e42a61a4e1e209d120b2c8bb31ebb7ce1e56"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE app SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "5395887680e4ff458a962d99614085e45a723964b7937cfe9943019e5c49df90"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE draft SET workspace_id = $1 WHERE workspace_id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "5422a53e642c491b02be5d17fe9d7389a42a84c21fea9876c84a5ba719b6ede5"
}

Some files were not shown because too many files have changed in this diff Show More