Compare commits

...

1477 Commits

Author SHA1 Message Date
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
Ruben Fiszel
4e383e8404 chore(main): release 1.229.0 (#2898)
* chore(main): release 1.229.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-21 09:07:18 +01:00
Faton Ramadani
0170fcc338 fix(frontend): fix save draft when the app has no versions (#2904) 2023-12-21 09:03:22 +01:00
Guillaume Bouvignies
ebcc7ed2aa chore: add verify to Windmill python object for httpx (#2900)
* chore: add `verify` to Windmill python object for httpx

* move it before get_client
2023-12-21 02:38:16 +01:00
Ruben Fiszel
5a1902797c small ata fix 2023-12-21 02:15:16 +01:00
Ruben Fiszel
db05299795 fix audit logs 2023-12-21 01:56:53 +01:00
Ruben Fiszel
b43c5be108 improve ata 2023-12-20 18:36:06 +01:00
Ruben Fiszel
f2bcd723a5 improve ata 2023-12-20 18:35:58 +01:00
Guillaume Bouvignies
5fafd71135 fix: Re-add TS SDK changes for S3 (#2899) 2023-12-20 18:12:37 +01:00
Faton Ramadani
3f7c19f267 feat(frontend): add a quick button to open decision tree graph (#2897) 2023-12-20 17:21:59 +01:00
Ruben Fiszel
54cb6c4e88 chore(main): release 1.228.1 (#2896)
* chore(main): release 1.228.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-20 16:57:28 +01:00
Guillaume Bouvignies
46e9818c00 fix: TS SDK not found upon install error (#2895) 2023-12-20 16:53:42 +01:00
Ruben Fiszel
1291b91b9b chore(main): release 1.228.0 (#2875)
* chore(main): release 1.228.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-20 14:30:58 +01:00
Ruben Fiszel
83aaa30967 small ata fix 2023-12-20 12:55:21 +01:00
Ruben Fiszel
d507ce449b feat: bun automatic type acquisition in frontend directly (#2884)
* foo

* ata

* done

* remove bun from lsp

* update all
2023-12-20 12:52:01 +01:00
Guillaume Bouvignies
2155a6c133 feat: S3 objects are now typed in Python and TS SDK (#2878)
* feat: S3 objects are now typed in Python and TS SDK

* fix ts and python SDK after testing

* cleanup
2023-12-20 09:16:33 +01:00
Guillaume Bouvignies
4061bbf832 docs: How to query gRPC service using Bun (#2863)
* docs: How to query gRPC service using Bun

* move readme to blogpost
2023-12-20 09:14:01 +01:00
Guillaume Bouvignies
292b2309a7 fix: Python imports from git repository (#2886) 2023-12-20 13:00:51 +09:00
legalgig
afbea19421 feat: Add Zitadel IDP (#2888) 2023-12-20 13:00:06 +09:00
HugoCasa
e8b2cc8835 feat: not on latest app version warning (#2889) 2023-12-20 12:59:18 +09:00
Guillaume Bouvignies
d0c75002f8 docs: Processing Kafka messages with Windmill Perpetual scripts (#2859)
* docs: Processing Kafka messages with Windmill Perpetual scripts

* Add while loop and update readme

* move README to blog post
2023-12-19 12:55:38 +01:00
Guillaume Bouvignies
5dd58094fd fix: Persistent script spinner (#2879) 2023-12-18 16:16:25 +01:00
Ruben Fiszel
59397e7445 fix: remove 0x00 from logs automatically from bashoutput 2023-12-18 03:30:47 +01:00
Ruben Fiszel
032a8e3dd1 chore(main): release 1.227.1 (#2874)
* chore(main): release 1.227.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-17 20:18:10 +01:00
Ruben Fiszel
fa7261f273 fix: improve on click behavior of tree view 2023-12-17 20:15:09 +01:00
Ruben Fiszel
50a1d5830b chore(main): release 1.227.0 (#2855)
* chore(main): release 1.227.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-18 01:39:50 +09:00
Ruben Fiszel
b9120a9269 fix sqlx 2023-12-17 17:29:25 +01:00
Ruben Fiszel
471a35649f frontend nits 2023-12-17 17:07:45 +01:00
Ruben Fiszel
705ce5d1d7 improve clickable zone for home tree view 2023-12-17 16:53:33 +01:00
Ruben Fiszel
567fabb828 cache token for lsp 2023-12-17 16:36:38 +01:00
Ruben Fiszel
7fac60c37f feat: add filter for home screen to filter u/* 2023-12-17 16:17:29 +01:00
Ruben Fiszel
9b25faaa95 feat: add overridable tag directly from run page 2023-12-17 15:27:56 +01:00
Joshua May
40013cd6cb feat: Add Kanidm SSO support (#2871) 2023-12-17 02:05:15 +01:00
Ruben Fiszel
26e9f57099 agent mode is ee 2023-12-16 09:31:52 +01:00
Guillaume Bouvignies
0cc19b9f8c chore: Remove slow pull warning in worker agent mode (#2866) 2023-12-15 19:16:41 +01:00
Faton Ramadani
864e6a5b94 feat(frontend): Add submitted text prop (#2864)
* feat(frontend): add a prop to control the text after a file is uploaded

* feat(frontend): add a prop to control the text after a file is uploaded
2023-12-15 17:36:42 +01:00
HugoCasa
e04d8b0d51 fix: handle empty result (#2862)
* fix: handle empty result

* fix: nits
2023-12-15 16:49:53 +01:00
Faton Ramadani
c80544e8e4 feat(frontend): Decision tree (#2812)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): deicision tree v0

* feat(frontend): deicision tree v0

* feat(frontend): fix build

* feat(frontend): fix events

* feat(frontend): add branch

* feat(frontend): interactions done

* feat(frontend): fix graph display

* feat(frontend): fix rendering

* feat(frontend): add end props

* feat(frontend): working empty branches

* feat(frontend): code cleanup

* feat(frontend): code cleanup

* feat(frontend): fix subgrids sync

* feat(frontend): add missing events

* feat(frontend): clean up comments

* feat(frontend): fix inputValue key

* feat(frontend): clean up comments

* feat(frontend): compute first node

* feat(frontend): fix layout

* feat(frontend): fix actions

* feat(frontend): remove console.log

* feat(frontend): fix styling + add debug mode + use label in output panel

* feat(frontend): fix styling

* feat(frontend): fix styling

* feat(frontend): done

* feat(frontend): done

* feat(frontend): done

* feat(frontend): fix add

* feat(frontend): fix delete

* feat(frontend): minor fix

* feat(frontend): fix preivous buttons

* feat(frontend): Fix the eval preview

* feat(frontend): Remove log

* feat(frontend): fix wording

* feat(frontend): select the tab in the app editor when selecting the node
2023-12-15 15:19:59 +01:00
Guillaume Bouvignies
a84b4324d2 fix: Stopping perpetual scripts (#2860) 2023-12-15 15:19:30 +01:00
HugoCasa
6c809b8630 fix: postgres ssl mode (#2861) 2023-12-15 15:15:55 +01:00
Ruben Fiszel
65e18abe7d fix(cli): improve flow sync for windows 2023-12-15 02:10:17 +01:00
Ruben Fiszel
011813654d fix(cli): improve flow sync for windows 2023-12-15 01:59:10 +01:00
Ruben Fiszel
787af442a2 improve embeddings model api error 2023-12-15 01:45:35 +01:00
Ruben Fiszel
b014e724d8 improve cli error 2023-12-15 01:14:52 +01:00
Ruben Fiszel
a5f4bd1ed2 fix evalv2 connections rare freeze 2023-12-14 17:52:34 +01:00
Guillaume Bouvignies
f8c7a8edf8 feat: Add download button to S3 file picker (#2857) 2023-12-14 15:45:37 +01:00
Guillaume Bouvignies
70c2669b1e chore: Update S3 code snippets (#2854)
* chore: Update S3 code snippets

* update tooltip

* cleanup code
2023-12-14 15:35:24 +01:00
Guillaume Bouvignies
9b0b9197d7 feat: Cancel persistent script runs from drawer (#2847)
* feat: Cancel persistent script runs from drawer

* Add explicit buttons

* revert change to docker compose
2023-12-14 15:30:39 +01:00
Faton Ramadani
28b8c4be83 fix(frontend): fix tutorial typos (#2852)
* fix(frontend): fix tutorial typos

* feat(frontend): fix wording

* feat(frontend): fix wording
2023-12-14 15:27:23 +01:00
HugoCasa
fdd9374aa1 fix: powershell nsjail (#2856) 2023-12-14 13:34:40 +01:00
Ruben Fiszel
f9e7827934 fix sqlx 2023-12-14 12:37:22 +01:00
Ruben Fiszel
aa44a88960 fix(cli): remove is_expired from variables 2023-12-14 12:34:16 +01:00
Ruben Fiszel
92433f0f2c fix(cli_: avoid updating variable when unecessary 2023-12-14 09:31:11 +01:00
Ruben Fiszel
2e4408e6ee chore(main): release 1.226.1 (#2853)
* chore(main): release 1.226.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-14 09:24:00 +01:00
Ruben Fiszel
087c5167af fix: getVariable can now return the encrypted value 2023-12-14 09:21:02 +01:00
Ruben Fiszel
f039008dc0 fix(cli): check for existing resource even in raw mode 2023-12-14 09:00:38 +01:00
Ruben Fiszel
996bf64393 fix: cli uses await for every push call 2023-12-14 08:36:57 +01:00
Ruben Fiszel
c9423c5e41 chore(main): release 1.226.0 (#2850)
* chore(main): release 1.226.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-14 02:54:38 +01:00
Ruben Fiszel
17bb7d3991 fix: fix s3 test connection 2023-12-14 02:51:53 +01:00
dependabot[bot]
021cf70cc3 chore(deps): bump aws-sdk-s3 from 0.39.1 to 1.5.0 in /backend (#2836)
Bumps [aws-sdk-s3](https://github.com/awslabs/aws-sdk-rust) from 0.39.1 to 1.5.0.
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Changelog](https://github.com/awslabs/aws-sdk-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 02:29:47 +01:00
Guillaume Bouvignies
0f913d0df9 fix: Handle s3object in Deno and Bun (#2851) 2023-12-13 23:02:48 +01:00
HugoCasa
3c4e41c997 feat: ee-only stats (#2849) 2023-12-13 18:46:03 +01:00
Ruben Fiszel
4e0ea0097e chore(main): release 1.225.1 (#2846)
* chore(main): release 1.225.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-13 16:34:35 +01:00
Ruben Fiszel
63740adec8 fix: fix setting base_url from empty initial value 2023-12-13 16:24:07 +01:00
HugoCasa
b9397856a8 fix: pwsh modules nsjail (#2845) 2023-12-13 14:16:08 +01:00
Ruben Fiszel
56332f43ba ci: improve s3 build step 2023-12-13 12:45:54 +01:00
Ruben Fiszel
f13e144e76 ci: improve s3 build step 2023-12-13 11:59:43 +01:00
Ruben Fiszel
896b894728 ci: improve s3 build step 2023-12-13 11:44:34 +01:00
Ruben Fiszel
88a3658825 ci: improve s3 build step 2023-12-13 11:34:18 +01:00
Ruben Fiszel
26cd75b52b ci: improve s3 build step 2023-12-13 10:43:35 +01:00
Ruben Fiszel
0b7b84d590 Update README.md 2023-12-13 10:17:02 +01:00
Guillaume Bouvignies
48a3dea059 chore: Rename FF saml to enterprise_saml (#2844) 2023-12-13 09:19:24 +01:00
Ruben Fiszel
372aa3e639 chore(main): release 1.225.0 (#2837)
* chore(main): release 1.225.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-13 08:28:55 +01:00
Ruben Fiszel
18e07a781d fix: improve nested flow status viewer 2023-12-13 08:14:34 +01:00
HugoCasa
505b417f3b feat: powershell deps (#2820)
* feat: powershell deps v-1

* feat: powershell profile + editor helpers + arm img

* fix: make sure powershell cache dir exists
2023-12-13 07:09:08 +01:00
Guillaume Bouvignies
26670f62e5 feat: Add default timeout for instance and custom timeout for scripts (#2811)
* feat: Add default timeout for instance and custom timeout for scripts

* final

* sqlx prepare

* Logs a warning in the job logs

* Fix merge

* JOB_DEFAULT_TIMEOUT is an optional

* Fix JOB_DEFAULT_TIMEOUT monitor loading

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-12-13 07:08:07 +01:00
Guillaume Bouvignies
b401984514 fix: Simplify worker env var input (#2838)
* fix: simplify worker env var input

* Add preset buttons for AWS and SSL
2023-12-12 18:45:52 +01:00
Guillaume Bouvignies
dd1032fbc3 feat: Add jitter to exponential backoff (#2842) 2023-12-12 18:36:22 +01:00
HugoCasa
107bfa7252 fix: openai cache lock (#2841) 2023-12-12 15:52:04 +01:00
Guillaume Bouvignies
6d194e8e66 chore: Update git sync script (#2840) 2023-12-12 14:31:12 +01:00
Henri Courdent
3a26ef9035 More tooltips on frontend (#2839) 2023-12-12 11:20:19 +01:00
HugoCasa
4c7d64bc5f feat: oauth flow openai key (#2833)
* feat: oauth flow openai key

* fix: rawvalue insert
2023-12-12 07:57:18 +01:00
Guillaume Bouvignies
350c8e843f feat: EnvVar allow list is configurable from the UI (#2829)
* feat: EnvVar allow list is configurable from the UI

* variable renaming
2023-12-12 07:04:55 +01:00
Guillaume Bouvignies
c06a56ab78 feat: Resource type description is now displayed when creating a new resource (#2834) 2023-12-12 06:58:00 +01:00
Ruben Fiszel
bbf3a56e88 chore(main): release 1.224.1 (#2832)
* chore(main): release 1.224.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-11 17:29:06 +01:00
HugoCasa
64a452826f fix: sql types completions when monaco initialized (#2831) 2023-12-11 17:25:15 +01:00
Faton Ramadani
69abe27662 fix(frontend): add truncate to DrawerContent (#2830) 2023-12-11 17:19:37 +01:00
Ruben Fiszel
88149c6d93 autoset base_url if empty 2023-12-11 00:27:59 +01:00
Ruben Fiszel
f43e31b967 make currency input more resilient 2023-12-10 21:21:50 +01:00
Ruben Fiszel
cc805a06b5 chore(main): release 1.224.0 (#2825)
* chore(main): release 1.224.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-10 13:53:39 +01:00
Ruben Fiszel
58c4c0b5c2 fix: make cleanup_module backcompatible 2023-12-10 13:29:51 +01:00
Ruben Fiszel
4f4ca264ae feat: embedded server only get killed after last job of worker 2023-12-10 10:51:32 +01:00
Amir Zarrinkafsh
6fefdb5438 feat: add authelia sso support (#2824)
This change adds the ability to integrate Windmill with Authelia via OIDC.
2023-12-09 14:50:29 +01:00
Ruben Fiszel
9a79850fd4 chore(main): release 1.223.1 (#2821)
* chore(main): release 1.223.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-09 05:35:25 +01:00
Stephan Fitzpatrick
b2f705d01e Updated Windmill client constructor to accept workspace (#2822)
This commit introduces a change in the Windmill class constructor (in wmill/client.py) to include 'workspace' as a parameter. This addition is intended to make "workspace" universally configurable either via an argument or the 'WM_WORKSPACE' environment variable. If not provided, the program will now assert a missing workspace with an informative error message.
2023-12-09 00:22:41 +01:00
Ruben Fiszel
1fdc55c816 add selectFirstRowByDefault for tables 2023-12-08 23:57:52 +01:00
Ruben Fiszel
651d99824d fix: improve aggrid selectedRow output + make first selectedRow configurable 2023-12-08 23:42:08 +01:00
Ruben Fiszel
b85103e3b5 chore(main): release 1.223.0 (#2807) 2023-12-08 21:33:02 +01:00
Guillaume Bouvignies
b65657d0f8 feat: Add possibility to delete flow step results when the flow is complete (#2806)
* feat: Add possibility to delete flow step results when the flow is complete

* Add third layer of tabs and gate feature to EE
2023-12-08 21:30:44 +01:00
Guillaume Bouvignies
b0894492f1 fix: Fix test_complex_flow_restart (#2813) 2023-12-08 19:15:08 +01:00
Guillaume Bouvignies
8c4faa05fa chore: Update git sync scripts (#2819) 2023-12-08 18:46:39 +01:00
Guillaume Bouvignies
535202c1fe feat: Add a git sync test button (#2817) 2023-12-08 18:20:23 +01:00
Guillaume Bouvignies
993812319f chore: Updating git sync info (#2818) 2023-12-08 18:20:07 +01:00
HugoCasa
2964569962 fix: deno chromium support when nsjail enabled (#2815) 2023-12-08 18:18:20 +01:00
Henri Courdent
0ce857c4a8 Git sync frontend improvements & tooltip (#2816) 2023-12-08 17:57:47 +01:00
Ruben Fiszel
033000fed3 fix: improve sql default arg parsing + auto invite 2023-12-08 16:37:11 +01:00
Guillaume Bouvignies
4bce61f2b6 chore: bump Go to 1.21.5 (#2814) 2023-12-08 16:27:16 +01:00
HugoCasa
a9b5d6bebb feat: sql types autocomplete (#2810)
* feat: sql types autocomplete

* fix: frontend check
2023-12-08 15:20:33 +01:00
Ruben Fiszel
009a83dd9b fix: support interval in pg 2023-12-08 11:47:41 +01:00
HugoCasa
e7141c147d feat: no worker with tag warning (#2803)
* feat: no worker with tag warning

* feat: better design and flow jobs

* fix: sqlx

* fix: clear timeout on destroy
2023-12-08 00:18:41 +01:00
HugoCasa
8896a8cacf feat: add mysql datetime (#2808)
* feat: mysql datetime support

* feat: nits
2023-12-08 00:14:08 +01:00
HugoCasa
e250897237 fix: db schema autocomplete (#2809) 2023-12-08 00:13:34 +01:00
Ruben Fiszel
d26730ad34 fix: conditional component also for toggles 2023-12-07 20:38:20 +01:00
Ruben Fiszel
7c64a36624 chore(main): release 1.222.0 (#2801)
* chore(main): release 1.222.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-07 19:04:46 +01:00
HugoCasa
c4a1054a5a feat: mysql named params (#2805) 2023-12-07 18:55:14 +01:00
Ruben Fiszel
a3eced0029 fix reload 2023-12-07 18:40:17 +01:00
Ruben Fiszel
d42ddcbe90 fix reload 2023-12-07 18:38:59 +01:00
Ruben Fiszel
eb8e75d519 fix reload 2023-12-07 18:36:39 +01:00
Ruben Fiszel
bb93bd8b89 fix reload 2023-12-07 18:32:00 +01:00
Ruben Fiszel
f7d7746327 fix: fix extraOptions for agGrid 2023-12-07 18:16:17 +01:00
Ruben Fiszel
2f7fb9bfd4 fix: fix extraOptions for agGrid 2023-12-07 17:58:36 +01:00
Ruben Fiszel
b10df30245 feat: conditional fields on forms 2023-12-07 17:58:22 +01:00
Faton Ramadani
e11b257b2d fix(frontend): Fix chartjs options merge (#2804) 2023-12-07 17:02:26 +01:00
Ruben Fiszel
c0ed1ace54 multiple small fixes 2023-12-07 15:40:14 +01:00
Guillaume Bouvignies
da15a56a07 fix: add saml feature flag (#2802) 2023-12-07 15:04:31 +01:00
HugoCasa
f7f71302f7 fix: app reports screenshot refresh (#2800) 2023-12-07 11:03:23 +01:00
Ruben Fiszel
5aedc6832d improve evalv2 fullscreen 2023-12-07 09:40:51 +01:00
Ruben Fiszel
4bda35cd35 update ag-grid 2023-12-07 09:34:59 +01:00
Ruben Fiszel
2386ba16e4 bump ag-grid to 31.0 2023-12-07 01:04:09 +01:00
Ruben Fiszel
b75e8a55ba chore(main): release 1.221.0 (#2786)
* chore(main): release 1.221.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-07 00:50:26 +01:00
Ruben Fiszel
d85555d3fb handle plain custom content type in display result 2023-12-07 00:49:59 +01:00
Ruben Fiszel
9c4f1e0333 fix: linked variable already being a variable 2023-12-07 00:41:51 +01:00
Henri Courdent
4cb7a121e6 Update architecture graph (#2795) 2023-12-07 00:24:29 +01:00
HugoCasa
4f6a116e46 fix: app reports ts (#2798) 2023-12-07 00:24:08 +01:00
Ruben Fiszel
c22afa3a8b improve flow status viewer 2023-12-07 00:17:48 +01:00
HugoCasa
c58190ef78 feat: limit pro plans (#2794) 2023-12-06 17:47:32 +01:00
Faton Ramadani
e4da819cda fix(frontend): fix storage key typo (#2796) 2023-12-06 17:10:55 +01:00
Guillaume Bouvignies
4de62a9019 chore: Update git sync script version (#2793) 2023-12-06 15:29:16 +01:00
Ruben Fiszel
2b36ffb9cf revert forloop selected details 2023-12-06 15:17:51 +01:00
Guillaume Bouvignies
256ee646b4 fix: Deno allow run git (#2791) 2023-12-06 15:00:45 +01:00
Faton Ramadani
90668fb0e5 fix(frontend): use correct id for selected for loop iteration (#2787) 2023-12-06 13:57:31 +01:00
Guillaume Bouvignies
d822beba63 fix: Allow run git for Deno (#2790) 2023-12-06 13:56:00 +01:00
Ruben Fiszel
abb50fac93 fix: smtp doesn't require username/password 2023-12-06 12:25:44 +01:00
Guillaume Bouvignies
8ad8d20136 fix: Allow run git for Deno (#2789) 2023-12-06 12:18:25 +01:00
HugoCasa
0b13f2d782 fix: app reports nits (#2788) 2023-12-06 11:45:38 +01:00
Ruben Fiszel
b5f53556a9 fix: improve conditionalwrapper selection 2023-12-05 22:29:55 +01:00
Ruben Fiszel
0333ce78bd chore(main): release 1.220.0 (#2744)
* chore(main): release 1.220.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-05 19:52:32 +01:00
Ruben Fiszel
042504f905 fix: add run_flow_sync to python client + few nits 2023-12-05 19:49:18 +01:00
Guillaume Bouvignies
d9458e96eb feat: CLI now accepts message arg for sync push (#2784) 2023-12-05 19:01:09 +01:00
HugoCasa
f36a510025 feat: app reports v2 (#2778)
* fix: schema autocomplete

* feat: app reports v2

* fix: remove global copilot api call

* feat: nits

* fix: backward compatible slack notif

* feat: nits

* feat: log browser logs

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-12-05 18:55:46 +01:00
Guillaume Bouvignies
874b7a50f7 feat: History commit message can be updated from the UI (#2777)
* feat: History comit message can be updated from the UI

* Script version history

* Display commit message in left column

* Fix FE compile break

* sqlx prepare and fix openapi file
2023-12-05 15:45:36 +01:00
Guillaume Bouvignies
20b0500a28 fix: Array of S3 files now shows links to the S3 explorer (#2783)
* fix: array of s3 object result

* Add more text file extensions

* Fix bug when adding a s3object param
2023-12-05 15:44:10 +01:00
Ruben Fiszel
c728c93a3a nits 2023-12-05 15:17:10 +01:00
Faton Ramadani
b67d00540b fix(frontend): infer args if the schema is not an object (#2782) 2023-12-05 15:03:49 +01:00
Faton Ramadani
a6d1e7c79b fix(frontend): Fix dark mode observer, removed code duplication (#2770)
* fix(frontend): Fix dark mode observer, removed code duplication

* Revert
2023-12-05 14:20:21 +01:00
Ruben Fiszel
1cc54ffb9a more try catch around localStorage 2023-12-05 14:20:30 +01:00
Faton Ramadani
0c3d4a64c4 fix(frontend): fix fileinput drag and drop check (#2781)
* fix(frontend): fix fileinput drag and drop check

* fix(frontend): fix fileinput drag and drop check

* fix(frontend): fix fileinput drag and drop check
2023-12-05 14:11:49 +01:00
Ruben Fiszel
60cd14ff59 fix: add access-control-allow-origin to static assets 2023-12-05 12:15:21 +01:00
Guillaume Bouvignies
f3a0c81639 fix: strip prefix of s3 resource (#2780) 2023-12-05 09:52:49 +01:00
Ruben Fiszel
cb8bc75b30 smaller font size on inline editor 2023-12-04 21:32:54 +01:00
Ruben Fiszel
5fcdf12ef5 nit webhook panel 2023-12-04 20:59:56 +01:00
Henri Courdent
2d8bca8d38 Fixed links components (#2776) 2023-12-04 20:01:29 +01:00
Ruben Fiszel
bea0da3d6f feat: perpetual scripts 2023-12-04 19:46:43 +01:00
Guillaume Bouvignies
df865380bc fix: deployment_metadata table app_version is a nullable BIGINT (#2769) 2023-12-04 17:00:52 +01:00
Guillaume Bouvignies
1cad51b594 fix: string results with custom content types are not quoted (#2768) 2023-12-04 15:07:56 +01:00
Guillaume Bouvignies
194ee830cc feat: Add workspace settings to sync scripts/flows/apps to git repo on deployment (#2740)
* feat: Add workspace settings to sync script to git repo on deployment

* track deployment callback jobs in separate table

* sqlx prepare

* update deployment_metadata table

* Point to hub script

* Add details to the settings page and restrict to EE only

* cleanup unused impots

* Flows and Apps are now pushed to GH as well

* Ignore scripts/flows/apps located in private user folders
2023-12-04 14:26:27 +01:00
Guillaume Bouvignies
5cb3c34e44 feat: Various minor improvements for S3 DX (#2760)
* feat: Various minor improvements for S3 DX

* Fix openAPI yaml

* Remove unused imports
2023-12-04 13:20:04 +01:00
Guillaume Bouvignies
6c0f921b3a feat: Custom content type for script and flow results (#2767) 2023-12-04 13:19:40 +01:00
Bret Mogilefsky
2170f6504f Fix typo (#2765) 2023-12-04 07:36:59 +01:00
Ruben Fiszel
f50cef0367 feat: save inline scripts of apps to workspace + search by path 2023-12-03 15:13:57 +01:00
Ruben Fiszel
51d648d450 feat: result preview in app editor (#2761)
* update cli deps settings

* update cli deps settings

* all

* iterate
2023-12-02 16:01:04 +01:00
Faton Ramadani
8ca04e49b0 fix(frontend): fix sign in with Google button (#2756) 2023-12-01 18:33:00 +01:00
Faton Ramadani
2f72be36e5 App menu improvements (#2753)
* fix(frontend): add dropdown menu result + fix splitpanes seperators

* fix(frontend): remove useless border

* fix(frontend): fix arg enum

* fix(frontend): remove useless div

* fix(frontend): remove duplicated code

* fix(frontend): remove duplicated code

* fix(frontend): fix reactivity

* fix(frontend): fix reactivity
2023-12-01 17:10:50 +01:00
HugoCasa
d47d4ccf85 fix: improve azure openai readme (#2754) 2023-12-01 17:10:19 +01:00
HugoCasa
583dae6a72 fix: string or enum (#2752) 2023-12-01 16:07:16 +01:00
HugoCasa
8fc0afce71 fix: do not prorate for team plan checkouts mornings of firsts (#2751) 2023-12-01 15:16:54 +01:00
Faton Ramadani
6eaec47162 fix(frontend): fix resource search (#2748) 2023-12-01 13:32:45 +01:00
Faton Ramadani
a3f1111ca7 feat(frontend): add before and after icons for text input components (#2746) 2023-12-01 13:26:50 +01:00
Ruben Fiszel
60c4860233 fix: fix early return sync on existing flows 2023-12-01 13:18:31 +01:00
Faton Ramadani
85805bdf82 fix(frontend): fix tutorials contols (#2745) 2023-12-01 10:20:53 +01:00
Ruben Fiszel
225f675fb3 app ux nits 2023-12-01 10:00:16 +01:00
Ruben Fiszel
a122b6cab6 fix: show bg runnables currently running 2023-12-01 09:49:33 +01:00
Ruben Fiszel
dd980ee296 display more info on backend tests 2023-12-01 08:08:58 +01:00
Ruben Fiszel
45648bbf7f fix componentoutputviewer reset 2023-12-01 07:55:33 +01:00
Ruben Fiszel
1d90434f12 chore(main): release 1.219.1 (#2742)
* chore(main): release 1.219.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-01 07:41:18 +01:00
Ruben Fiszel
cb42f10dc6 fix: fix editorContext in preview 2023-12-01 07:38:51 +01:00
Ruben Fiszel
62de305908 fix: maps mapRegion update on move 2023-12-01 07:12:09 +01:00
Ruben Fiszel
49803e26f6 chore(main): release 1.219.0 (#2739)
* chore(main): release 1.219.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-12-01 01:20:38 +01:00
Ruben Fiszel
592d7839d1 fix: limit log pull from queued jobs 2023-12-01 01:14:01 +01:00
Ruben Fiszel
f195320e99 fix aggrid classes 2023-12-01 00:24:09 +01:00
Ruben Fiszel
fdb546ea2a fix eval preview 2023-12-01 00:13:27 +01:00
Ruben Fiszel
772e3b8a32 fix eval preview 2023-12-01 00:07:44 +01:00
Ruben Fiszel
1bef60dd50 fix eval preview 2023-12-01 00:02:39 +01:00
Ruben Fiszel
d4374a0103 feat: eval preview for apps 2023-11-30 23:54:33 +01:00
Ruben Fiszel
fc5f054b94 fix: improve stat card 2023-11-30 22:09:57 +01:00
Ruben Fiszel
4774e03be5 fix: improve quickstyle to be in static ccomponents only 2023-11-30 21:09:27 +01:00
Ruben Fiszel
007d5be23e fix: support INET in pg 2023-11-30 20:18:43 +01:00
Faton Ramadani
f816ad01d3 fix(frontend): rename menu component (#2738) 2023-11-30 17:51:21 +01:00
Ruben Fiszel
bb7f11fcda chore(main): release 1.218.0 (#2731)
* chore(main): release 1.218.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-30 17:22:05 +01:00
Ruben Fiszel
830dec0f90 fix: make REST language support URLSearchParams, headers, FormData 2023-11-30 16:50:00 +01:00
Guillaume Bouvignies
920cc9a576 fix: Using latest gosyn (#2737) 2023-11-30 15:57:16 +01:00
HugoCasa
1f99fcd3af fix: update deployed even when draft only (#2694)
* fix: update deployed even when draft only

* feat: create new when draft only and saving draft

* fix: nit

* fix: final fixes
2023-11-30 15:46:44 +01:00
Roman Grazhdan
52a2746e50 Adding build options for images, utilities and utilities' versions (#2736)
* Adding build options for images, utilities and utilities' versions

* Adding build options for images, utilities and utilities' versions

---------

Co-authored-by: r.grazdhan <r.grazdhan@team.bumble.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-11-30 15:44:11 +01:00
Faton Ramadani
ec25856b7c feat(frontend): resource rework (#2725)
* feat(frontend): resource rework wip

* feat(frontend): Fix styling

* fix(frontend): fix loading state

* fix(frontend): correclty handle the case wihout any resouces
2023-11-30 15:43:03 +01:00
dependabot[bot]
2d72facbdf chore(deps): bump aws-sdk-s3 from 0.36.0 to 0.39.1 in /backend (#2672)
* chore(deps): bump aws-sdk-s3 from 0.36.0 to 0.39.1 in /backend

Bumps [aws-sdk-s3](https://github.com/awslabs/aws-sdk-rust) from 0.36.0 to 0.39.1.
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Changelog](https://github.com/awslabs/aws-sdk-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix compile breaks

* Add behavior version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gbouv <guillaume@windmill.dev>
2023-11-30 14:01:20 +01:00
Ruben Fiszel
06411c8a63 build short sha for reports as well 2023-11-30 14:00:37 +01:00
Guillaume Bouvignies
0bf3685cbd fix: Pull patched version of gosyn (#2734) 2023-11-30 13:34:49 +01:00
Faton Ramadani
56c0d5a755 Fix app export (#2735)
* fix(frontend): fix app export

* fix(frontend): fix app export
2023-11-30 13:30:18 +01:00
Faton Ramadani
06656924ae feat(frontend): add menu component (#2721)
* feat(frontend): add menu component

* wip

* feat(frontend): menu component done

* feat(frontend): Fix styling + handle menu items everywhere

* feat(frontend): Fix styling + handle menu items everywhere
2023-11-30 12:39:18 +01:00
Guillaume Bouvignies
70c504edfa fix: Workspace error handler creation was not adding the slack resource (#2733)
Co-authored-by: admin <admin@windmill.dev>
2023-11-30 12:20:32 +01:00
Ruben Fiszel
0d93986b18 add reports image 2023-11-30 10:29:04 +01:00
Ruben Fiszel
651f74b00e improve python client 2023-11-29 21:41:44 +01:00
HugoCasa
16d10aedf7 fix: s3 resource openapi spec (#2730) 2023-11-29 21:18:17 +01:00
Ruben Fiszel
72bb15f6a0 chore(main): release 1.217.0 (#2705)
* chore(main): release 1.217.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-29 18:28:51 +01:00
Ruben Fiszel
772c04c9b3 update python-client 2023-11-29 18:19:47 +01:00
Ruben Fiszel
03d3bd33d0 restart dedicated worker regardless of config being present 2023-11-29 17:49:01 +01:00
HugoCasa
3789b34dae feat: scheduled app reports (#2714)
* feat: app preview discord

* feat: add custom, slack, email + worker groups

* fix: npm build

* fix: add assignable chromium tag

* feat: use workspace linked slack resource + hub scripts

* fix: nit
2023-11-29 16:35:42 +01:00
Guillaume Bouvignies
3d6fb15a90 fix: minor fixes to private NPM and python registries to get everything working (#2728) 2023-11-29 16:30:45 +01:00
Ruben Fiszel
e6d67f4e59 fix: make dedicated workers able to redeploy automatically 2023-11-29 12:28:06 +01:00
Faton Ramadani
1a1d1db96f fix(frontend): Fix table initial ordering (#2727)
* fix(frontend): Fix initial column order

* fix(frontend): Fix initial column order
2023-11-29 12:07:51 +01:00
Guillaume Bouvignies
15ebf46abc chore: Add examples on how to deploy private registries (#2719)
* chore: Add examples on how to deploy private registries

* chore: example for private pypiserver with https

* Allow DENO_CERT certificate with native workers

* Add BUN_TLS_REJECT_UNAUTHORIZED
2023-11-29 11:38:23 +01:00
Ruben Fiszel
e9a7f0cf17 fix benchmark 2023-11-29 11:08:23 +01:00
Ruben Fiszel
4eb25216f3 fix benchmarks for dedicated 2023-11-29 10:55:18 +01:00
Ruben Fiszel
b7fe5ddf15 fix benchmarks 2023-11-29 10:13:32 +01:00
Ruben Fiszel
f7d93c56df fix backend tests 2023-11-29 10:04:15 +01:00
Ruben Fiszel
f78f14e268 fix backend tests 2023-11-29 09:58:34 +01:00
Ruben Fiszel
5a66806c76 fix backend tests 2023-11-29 09:44:37 +01:00
Ruben Fiszel
c8046af9d0 fix: only list session and permanent token in user settings 2023-11-29 00:34:04 +01:00
HugoCasa
15b2c9f171 fix: better error for moved openai resource (#2724)
* fix: better error for moved openai resource

* fix: nit
2023-11-29 00:24:56 +01:00
Faton Ramadani
89abb68f63 feat(frontend): Stat card improvement (#2709)
* feat(frontend): add class+ style support + added support for custom images

* feat(frontend): add class+ style support + added support for custom images

* feat(frontend): fix styling

* feat(frontend): add quick style buttons

* feat(frontend): fix quick tailwind class

* feat(frontend): add space only if needed

* feat(frontend): fix build

* feat(frontend): fix line heights
2023-11-28 22:37:11 +01:00
Faton Ramadani
9525ab7bba fix(frontend): fix separator z-index (#2720) 2023-11-28 22:34:47 +01:00
Guillaume Bouvignies
bd31979a62 fix: generate cargo lock file (#2722) 2023-11-28 20:07:49 +01:00
HugoCasa
76a387f4a1 fix: ai fix popup placement + update edit/fix prompt to return complete code (#2715) 2023-11-28 18:51:30 +01:00
Faton Ramadani
46e0f91387 feat(frontend): add "hide schedules" filter (#2710)
* feat(frontend): add hide schedules filter

* feat(frontend): rework filters

* feat(frontend): fix filters

* feat(frontend): fix filter layout
2023-11-28 16:57:10 +01:00
Ruben Fiszel
55e49fbd4b migrate tests on ubicloud 2023-11-28 15:27:18 +01:00
Faton Ramadani
c990f856aa fix(frontend): Improve error message + fix overflow when file name is too long (#2691) 2023-11-28 11:31:33 +01:00
Faton Ramadani
2d3ce8a49c feat(frontend): Added tailwind classes auto-complete (#2712)
* feat(frontend): Added tailwind classes auto-complete

* feat(frontend): handle tailwindcss as a language
2023-11-28 11:13:49 +01:00
Guillaume Bouvignies
726866b410 fix: Deno can talk to private NPM registries behind HTTPS (#2713) 2023-11-27 21:46:19 +01:00
Ruben Fiszel
c3eaf0bf4a fix: improve autocomplete reactivity 2023-11-27 18:55:41 +01:00
dependabot[bot]
2bbd0b34b5 chore(deps): bump aws-config from 0.57.2 to 1.0.0 in /backend (#2671)
Bumps [aws-config](https://github.com/smithy-lang/smithy-rs) from 0.57.2 to 1.0.0.
- [Release notes](https://github.com/smithy-lang/smithy-rs/releases)
- [Changelog](https://github.com/smithy-lang/smithy-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/smithy-lang/smithy-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Guillaume Bouvignies <guillaume@windmill.dev>
2023-11-27 12:17:26 +01:00
Guillaume Bouvignies
36e46e2e47 fix: Error handler now supports flows (#2707)
* fix: Error handler now supports flows

* Update README

* remove unused import
2023-11-27 10:15:46 +00:00
Ikko Eltociear Ashimine
eec7d83d98 Update README.md (#2706)
chartss -> charts
2023-11-27 01:09:32 +01:00
Ruben Fiszel
d2b3026032 fix: trim .bun.ts for local imports 2023-11-27 00:59:14 +01:00
Ruben Fiszel
8275602372 feat: add support for raw query args 2023-11-26 16:47:32 +01:00
Ruben Fiszel
095da9e76e chore(main): release 1.216.0 (#2692)
* chore(main): release 1.216.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-26 14:40:33 +01:00
Ruben Fiszel
731f92b907 ux nits 2023-11-26 14:36:42 +01:00
Ruben Fiszel
dbaef0aa5f feat: add early return for flows 2023-11-26 14:30:49 +01:00
Ruben Fiszel
19ab924fa2 improve cli sync 2023-11-25 16:57:13 +01:00
Ruben Fiszel
bae0f45f21 remove transition in component output 2023-11-25 16:00:05 +01:00
Ruben Fiszel
5fa653d154 fix: improve multiselect from form 2023-11-25 15:26:05 +01:00
Ruben Fiszel
94e9b80e19 fix: expand enum type narrowing to forms 2023-11-25 11:03:14 +01:00
Faton Ramadani
0c0f43dd3a feat(frontend): add currency format + add enum autocomplete + fix run… (#2670)
* feat(frontend): add currency format + add enum autocomplete + fix runs page layout

* feat(frontend): use ArgEnum for array when using enums

* Fix currencies

* feat(frontend): fix currency input

* feat(frontend): fix multiselect

* feat(frontend): fix multiselect
2023-11-25 10:16:06 +01:00
Stephan Fitzpatrick
3bb2a0c960 Corrently handle terminal state when invoking job through run_script method (#2703) 2023-11-25 09:38:53 +01:00
Guillaume Bouvignies
55e34d8cdd fix: S3 bucket browser small improvements and fixes (#2700)
* fix: S3 bucket browser small improvements and fixes

* Bump file limits to 20 in CE and add a message in the FE
2023-11-24 20:18:02 +01:00
Faton Ramadani
81ef24b3ce feat(frontend): add stat card (#2687)
* feat(frontend): add stat card

* feat(frontend): fix layout
2023-11-24 20:17:45 +01:00
Stephan Fitzpatrick
603e7ff67f feat(python): Update return type for 'get_resource' function (#2695)
* Update return type for 'get_resource' function

Modified the 'get_resource' function in 'wmill/client.py' to additionally return a 'dict', providing support for dictionaries in addition to strings and None. This change caters towards use-cases where getting a dictionary resource is needed, enhancing flexibility of resource handling in Windmill client operations. Code updated in two locations for consistency.

* Update README.md for python-client

Expanded and updated the 'README.md' to include detailed explanations about the basic and advanced usage of the 'wmill' package. The previous version wasn't as comprehensive and lacked examples. Now it includes thorough usage guidance, additional explanations, and code examples. Change improves usability for new developers approaching the project.
2023-11-24 20:17:30 +01:00
HugoCasa
f1cabb40f6 feat: fill pg resource from string (#2699) 2023-11-24 20:17:17 +01:00
Guillaume Bouvignies
e8b1f220dd fix: Priority tags FE buggy when missing from config (#2702) 2023-11-24 19:42:27 +01:00
Ruben Fiszel
16be2300ff fix: improve resource pages 2023-11-23 19:51:34 +01:00
Ruben Fiszel
21765922f8 use nested flow keys 2023-11-23 19:20:58 +01:00
Faton Ramadani
f4aa76897e fix(frontend): correctly handle when result is undefined (#2693) 2023-11-23 18:21:58 +01:00
Ruben Fiszel
4c42836cfc fix: lighten monaco editor workers (#2690)
* all

* initializeVscode everywhere

* fix: db schema autocompletion

* fix: add missing initialized

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
2023-11-23 18:19:43 +01:00
Ruben Fiszel
9d32bdf5a6 chore(main): release 1.215.0 (#2689)
* chore(main): release 1.215.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-23 15:07:52 +01:00
HugoCasa
e3f2b43748 feat: query embeddings from s3 (#2683)
* feat: query embeddings from s3

* fix: better error handling + logging
2023-11-23 15:03:12 +01:00
HugoCasa
f5e098d03b fix: bigquery schema and date inputs (#2688) 2023-11-23 14:59:33 +01:00
Ruben Fiszel
cfd3da41ef fix: improve wmill go client 2023-11-23 14:59:16 +01:00
Ruben Fiszel
b4bbb794b5 chore(main): release 1.214.1 (#2673)
* chore(main): release 1.214.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-23 08:51:19 +01:00
Stephan Fitzpatrick
1c2abcda23 Feat(python): Quality of Life improvements to Python client (#2686)
* Fix references to `Windmill.start_script_async`

* Improve client usability and extend functionalities

This commit introduces several changes to improve the usability of the module and extend its functionalities. Line breaks have been added for long function calls to improve readability. A state setter has been added for the 'state' property to facilitate state updates. New functions 'cancel_running' and 'run_script' have been added to provide more control to the user over the script executions. The README file has been updated to reflect these changes and provide more comprehensive usage instructions including both basic and advanced usage of the module.

* Add line breaks and update README.md for readability

Inserted line breaks into function calls for improved readability in python-client/wmill/README.md. This enhances module usability by making code easier to follow. 'state' property setter, 'cancel_running' and 'run_script' functions have been added to enrich module's functionality. README was updated to reflect these changes and provide clearer instructions.
2023-11-23 08:39:38 +01:00
Stephan Fitzpatrick
9783abba0a Fix references to Windmill.start_script_async (#2685) 2023-11-23 07:48:48 +01:00
Henri Courdent
2859bbe7b4 Tiny change diagram architecture (#2681) 2023-11-22 19:46:39 +01:00
Ruben Fiszel
8f8ea227c8 fix: relax tags constraints 2023-11-22 18:30:43 +01:00
Ruben Fiszel
44775a4de6 v2 2023-11-22 18:29:51 +01:00
HugoCasa
217e69498f fix: graphql variables (#2682) 2023-11-22 18:17:37 +01:00
Stephan Fitzpatrick
449974404a Update method name in wmill README sample code (#2679)
In the README's example code for the wmill Python client, the method name `start_execution` has been changed to `run_script_async`. This change is in line with the recent updates we made to the client's public API. The naming adjustment adds more clarity to the method's functionality, and ensures that the sample code in the README is accurate and stays updated with the latest changes in the wmill Python client's API.
2023-11-22 17:16:07 +01:00
Faton Ramadani
7fe3bca624 fix(frontend): improve tutorial ux (#2677)
* fix(frontend): improve tutorial ux

* fix(frontend): small ui fix

* fix(frontend): prevent tutorial from running when an app is forked from the hub or a template
2023-11-22 17:15:54 +01:00
Henri Courdent
cbdaf3b1d8 Updating readme (#2680) 2023-11-22 17:15:42 +01:00
Faton Ramadani
31fbc5867c fix(frontend): use popover for schedule for later on the runs page (#2678) 2023-11-22 14:52:08 +01:00
Faton Ramadani
bfdb559b47 fix(frontend): disable active interaction to avoid broken state (#2675)
* fix(frontend): disable active interaction to avoid broken state

* fix(frontend): id tutorial id
2023-11-22 12:49:50 +01:00
Guillaume Bouvignies
c42c54e69b fix: Various fixes and improvements for Windmill S3 capabilities (#2674) 2023-11-22 12:29:50 +01:00
Ruben Fiszel
7ae84fce50 fix: add image base64 source kinds 2023-11-22 11:25:36 +01:00
Ruben Fiszel
45ee1d7703 fix: fix backend build 2023-11-22 10:40:59 +01:00
Ruben Fiszel
391f4ab551 chore(main): release 1.214.0 (#2669)
* chore(main): release 1.214.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-22 10:32:07 +01:00
Ruben Fiszel
6377605821 fix client 2023-11-22 10:28:17 +01:00
Ruben Fiszel
6797d4d114 improve client 2023-11-22 10:04:44 +01:00
Stephan Fitzpatrick
37ffdaed60 feat(python): Refactor Windmill Python client (remove windmill-api) (#2665)
* "feat(python): Refactor Windmill Python client for better encapsulation and maintainability"

This PR obviates the need for the `windmill-api` library. I believe this makes the client package is easier to understand, debug, build, (and test) without it.

Additional updates were made to improve logging and add more robust error handling.

Here's what Jetbrains' AI assistant came up with to describe the changes based on the diff--I think it did a decent job:

> Simplified the Windmill Python client by refactoring out repeated code into more compact, reusable methods. Transitioned the client functions into a Windmill client class, enabling a better encapsulation of the client's state. Updated the README example to reflect this change. This improves code maintainability by making the code easier to understand and update, and improves user experience by providing a more intuitive client interface.

* "Refactor post method in Windmill Python client"

Removed the hard-coded param 'refresh_client' from the post method in wmill/client.py. since it's no longer used.

* "Update build script for Python client"

Updated the build script for the Python client for the backend to now include scaffolding code for generating the OpenAPI client, making changes to the generated client, and building the client. .

* "Add raise_for_status option in http methods"

Enhanced 'get' and 'post' methods in the client class to include a new optional parameter 'raise_for_status'. This allows for better error handling by raising exceptions for 4XX and 5XX responses, if requested. This way, non critical API calls can continue execution even if they receive a client or server error.

* "Removed refresh_client condition in post method"

* Replace `create_job` with `start_execution` in wmill client

This commit changes the method `create_job` to `start_execution` in the wmill client. The change was made to better reflect the function's purpose and make the code even more self-explanatory. Additionally, references to this changed method in README.md and various portions of client.py are also updated. The change will enhance readability and make it easier for newcomers to understand the code.

* Fix type hints and default arguments in wmill client

This commit adjusts typing hints for several methods from Dict[str, Any] to Any in wmill client since the result of a script isn't always a dictionary. Null arguments are also adjusted from {} to None, ensuring better Python standard practices and less unpredicted behaviors. These changes are aimed to enhance maintainability and make the functions more resilient.

* Update client.py

* Update pyproject.toml

* Update client.py

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-11-22 09:49:50 +01:00
Ruben Fiszel
0317c26d5b fix script drawer editor extra config 2023-11-22 00:25:46 +01:00
Ruben Fiszel
3ebe6d7a62 fix: fix flow primary schedule clearing 2023-11-21 17:58:26 +01:00
HugoCasa
ad199afd06 feat: hub path scripts + nested inputs glue (#2668) 2023-11-21 17:16:19 +01:00
Ruben Fiszel
60d2f79677 chore(main): release 1.213.0 (#2658)
* chore(main): release 1.213.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-21 15:50:42 +01:00
Ruben Fiszel
26fdf20f49 fix warning flow changed 2023-11-21 15:46:41 +01:00
Ruben Fiszel
07dae13f44 fix redirection upon path change for apps 2023-11-21 15:36:05 +01:00
Ruben Fiszel
c1bb97d990 fix: fix error handling for list of errors 2023-11-21 15:24:38 +01:00
Ruben Fiszel
62a3d79266 fix evalClass crash 2023-11-21 14:37:23 +01:00
Ruben Fiszel
6dd91adb13 add more logs around completed job 2023-11-21 14:25:48 +01:00
Ruben Fiszel
51ce2f8cb3 fix: fix embedded approval step timeouts 2023-11-21 13:51:55 +01:00
Ruben Fiszel
89f42c0a51 fix sqlx 2023-11-21 09:49:26 +01:00
HugoCasa
ded0bb890b fix: set session code completion to enabled by default (#2664) 2023-11-20 22:53:16 +01:00
Jacob Mastel
f8a1bd8d69 Add official Atlassian Repo Mapping (#2661)
The official Atlassian python library is named atlassian-python-api,
which requires an installation under that name. It is imported as
'atlassian' though.
2023-11-20 21:04:44 +01:00
Guillaume Bouvignies
baac93f401 feat: Expanding an s3object result now opens the S3 file browser (#2656)
* feat: Expanding an s3object result now opens the S3 file browser

* Add s3 explorer link

* Revert changes in ArgInfo
2023-11-20 17:07:52 +01:00
HugoCasa
de1e1f545d fix: ask to return value (#2659) 2023-11-20 16:29:42 +01:00
HugoCasa
6d426b4ec4 feat: code completion UI + other nits (#2657)
* fix: nits

* feat: add code completion in UI
2023-11-20 16:24:33 +01:00
Ruben Fiszel
cd8919d46f chore(main): release 1.212.0 (#2653)
* chore(main): release 1.212.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-20 14:20:34 +01:00
HugoCasa
8ea98c2c8d feat: upgrade to gpt-4-turbo (#2655) 2023-11-20 12:54:22 +01:00
Ruben Fiszel
c2598b3304 feat: test an iteration 2023-11-20 12:26:24 +01:00
Ruben Fiszel
6000c5dbc0 use userStore email for Usermenu 2023-11-20 10:53:32 +01:00
Ruben Fiszel
d31559c56b improve auto-invites 2023-11-20 10:35:38 +01:00
Guillaume Bouvignies
624b4d0e98 feat: S3 file picker as a drawer (#2640)
* feat: Pick a S3 file drawer

* Add endpoint to generate simple file preview

* FE prototype for file preview

* More info on the preview

* Small fix

* Fix BE compile

* fix BE compile

* remove weird vite.config.js file

* Fix fronte NodeJS.Timer -> NodeJS.Timeout and rename dataset to file for S3

* Add EE restrictions and polish FE

* Fix merge conflicst

* replace dataset with s3 object

* Update wording

* BE throws an error when bucket too large in CE

* regenerate Cargo.lock

* Fix typo in error message
2023-11-20 10:26:36 +01:00
Ruben Fiszel
895fedc8cb agent v0.5 2023-11-20 10:10:10 +01:00
Ruben Fiszel
1acf78e782 chore(main): release 1.211.0 (#2651)
* chore(main): release 1.211.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-20 02:09:45 +01:00
Stephan Fitzpatrick
c7a30f7c9d feat(python): Add functionality and resiliency to wmill python client (#2650)
* Refine wmill client.py `run_script_sync` and `run_script_by_path_sync` with more features

This commit enriches the functionality of the `run_script_sync` and `run_script_by_path_sync` functions. New features introduced include script cancellation upon exit, logging capabilities,
and script execution timeout. These enhancements improve script execution control and provide better debug information. The `get_result` function was also adjusted to enable the control
of 'is not None' assertion on the job result. Consequently, user flexibility is enhanced, and the method can cater to cases where a `None` result is within the expected behavior.

* remove unnecessary local import and rename cancel_atexit to cleanup
2023-11-20 02:07:20 +01:00
Ruben Fiszel
aa6bf4027f fix base_internal_url 2023-11-20 02:03:41 +01:00
Ruben Fiszel
b667317d44 fix: token expiry is equal to timeout 2023-11-20 00:39:40 +01:00
Ruben Fiszel
cd260e7062 feat: agent mode v0 2023-11-20 00:36:31 +01:00
Ruben Fiszel
47ad8d6013 feat: agent mode v0 2023-11-20 00:32:17 +01:00
Guillaume Bouvignies
c90f7f167e fix: main broken tests (#2652) 2023-11-19 22:41:07 +01:00
Ruben Fiszel
4882d94dfe fix: add refresh button to item picker 2023-11-19 18:26:22 +01:00
Ruben Fiszel
19907e4012 feat: ai regex 2023-11-19 14:45:25 +01:00
Ruben Fiszel
2f15ebc5f9 feat: custom error messages for forms 2023-11-19 13:54:32 +01:00
Ruben Fiszel
70f121035e fix: fix base64 assignment (file input) 2023-11-19 12:36:07 +01:00
Ruben Fiszel
c476543570 improve flow preview content 2023-11-19 11:51:33 +01:00
Ruben Fiszel
4023bca192 improve flow preview content 2023-11-19 11:46:48 +01:00
Ruben Fiszel
eef6432637 chore(main): release 1.210.1 (#2647)
* chore(main): release 1.210.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-18 17:40:36 +01:00
Ruben Fiszel
2692737418 fix: migrate old state env variable to new env variable 2023-11-18 17:32:41 +01:00
Ruben Fiszel
6ae1a69b75 fix: make wmill compatible with python 3.7 2023-11-18 17:15:05 +01:00
Ruben Fiszel
5a72ca9b24 fix: improve error message for unauthorized variables/resources 2023-11-18 16:27:09 +01:00
Ruben Fiszel
75021c444e fix svelte-check errors 2023-11-18 15:19:17 +01:00
Ruben Fiszel
ee243dedc6 fix: leave workspace + instance api 2023-11-18 15:07:06 +01:00
Ruben Fiszel
36379d6db0 fix: add toggle to invites 2023-11-18 13:46:51 +01:00
Ruben Fiszel
cee8206c42 restrict global accounts to 50 2023-11-18 13:31:30 +01:00
Ruben Fiszel
06905b252f restrict nb of groups to 3 and workspaces to 2 2023-11-18 13:28:29 +01:00
Ruben Fiszel
ab9adacfad improve auto-invite UX 2023-11-18 13:17:39 +01:00
HugoCasa
08c14e51c7 fix: flow copilot arg types (#2648) 2023-11-18 13:16:25 +01:00
Ruben Fiszel
c07e9056f1 fix: auto-invite all instead of by domain 2023-11-18 12:36:08 +01:00
Ruben Fiszel
837d3716d3 fix package-lock json 2023-11-18 11:13:50 +01:00
Ruben Fiszel
84df0328a5 chore(main): release 1.210.0 (#2645)
* chore(main): release 1.210.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-17 21:25:51 +01:00
Ruben Fiszel
526b14cca3 fix: restore flow local storage 2023-11-17 21:02:58 +01:00
Ruben Fiszel
a1e33ee34f nit template editor 2023-11-17 20:42:14 +01:00
Ruben Fiszel
05d3fcad26 feat: truncate logs when necessary 2023-11-17 20:22:51 +01:00
Ruben Fiszel
4d92745786 feat: truncate logs when necessary 2023-11-17 20:22:45 +01:00
HugoCasa
cc978c230f fix: remove stats payload logging (#2644) 2023-11-17 19:19:10 +01:00
Ruben Fiszel
8a3f03963b chore(main): release 1.209.0 (#2636)
* chore(main): release 1.209.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-17 18:36:22 +01:00
Ruben Fiszel
41465bc872 fix template editor 2023-11-17 18:25:33 +01:00
Ruben Fiszel
8aa146bc9f fix template editor 2023-11-17 18:24:17 +01:00
Ruben Fiszel
9c7bb5ecd9 fix: www-url-encoded body 2023-11-17 16:59:26 +01:00
Ruben Fiszel
59d862661c workspace create fix 2023-11-17 16:40:09 +01:00
Ruben Fiszel
a69c4c1703 z-index nit 2023-11-17 16:35:19 +01:00
Ruben Fiszel
c3bb8a10aa create workspace require superadmin is now default 2023-11-17 16:30:19 +01:00
Ruben Fiszel
9ff428f210 fix: support non root imports in bun 2023-11-17 15:58:54 +01:00
betterthanever2
d82027cbf9 Update lib.rs (#2643)
Adding OpenCV to Python install/import exceptions mapping
2023-11-17 15:39:24 +01:00
Faton Ramadani
998843ba62 feat(frontend): Add optional dropdown trigger (#2642) 2023-11-17 14:44:30 +01:00
Ruben Fiszel
33dfcfbdc7 fix: nested schemas can use required 2023-11-17 14:38:00 +01:00
Ruben Fiszel
2b249518ad fix delete workspace 2023-11-17 13:19:51 +01:00
Ruben Fiszel
316d5f344f fix: improve suspended flow handling when missing next step 2023-11-17 13:13:05 +01:00
HugoCasa
1aef2aae90 fix: x overflow scroll + add clear history btn (#2641) 2023-11-17 12:38:52 +01:00
Faton Ramadani
1d1258ff58 feat(frontend): add filter by resource on Audit Log page (#2628)
* feat(frontend): add filter by resouce on Audit Log page

* feat(frontend): fix build
2023-11-17 12:35:16 +01:00
Ruben Fiszel
9a0ef97eb5 dedicated workers nit 2023-11-17 10:10:47 +01:00
Ruben Fiszel
d1d43765c0 dedicated workers nit 2023-11-17 10:06:05 +01:00
Ruben Fiszel
b13cc58315 feat: dedicated workers for flows (#2637)
* dw for flows

* dw for flows

* all

* sqlx

* sqlx

* dedicated workers

* more comments
2023-11-17 10:00:04 +01:00
HugoCasa
c2557a270f feat: add prompt history (#2638) 2023-11-17 09:29:10 +01:00
HugoCasa
8183c38d05 feat: collect vcpus and accounts usage (#2635) 2023-11-16 13:52:56 +01:00
Ruben Fiszel
940ad96f24 chore(main): release 1.208.0 (#2633)
* chore(main): release 1.208.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-15 20:31:02 +01:00
HugoCasa
e3cb2e66ba fix: stripe ops ee only (#2634) 2023-11-15 20:16:10 +01:00
Guillaume Bouvignies
90093656b4 feat: Add Python SDK capabilities to generate Polars and DuckDB connection settings to S3 (#2625)
* feat: Add Python SDK capabilities to generate Polars and DuckDB connection settings to S3

* Add endpoint to list S3 objects

* Add FE to set the workspace S3 resource

* Fix openapi

* sqlx prepare

* Hide Windmil LFS tab
2023-11-15 19:37:02 +01:00
HugoCasa
f38498b725 feat: sync team plans (#2619)
* feat: sync team plans

* fix: migration

* fix: remove sub id + set billing cycle

* fix: msg

* feat: add overquota state

* fix: minor

* fix: overall improvements

* fix: sql prepare

* fix: disable seats warning for enterprise

* fix: use lazy static everywhere
2023-11-15 19:36:17 +01:00
Guillaume Bouvignies
0d6c1ec064 fix: Resource secret heuristic is wrong (#2632) 2023-11-15 19:29:14 +01:00
HugoCasa
34abe01c2f feat: add yaml for import/export/diff (#2631)
* feat: add yaml for import/export/diff

* fix: speeeeeeed
2023-11-15 18:44:16 +01:00
Ruben Fiszel
9c684dac24 chore(main): release 1.207.0 (#2617)
* chore(main): release 1.207.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-15 17:01:18 +01:00
Henri Courdent
a234d2d0df Update chart components (#2629) 2023-11-15 16:02:09 +01:00
Ruben Fiszel
b1937de84e improve download button 2023-11-15 15:55:10 +01:00
Ruben Fiszel
97e7242303 fix non secure deploy 2023-11-15 15:39:03 +01:00
Ruben Fiszel
b2c477e3cc hub nits 2023-11-15 15:24:54 +01:00
Ruben Fiszel
366b5324ae small fix 2023-11-15 14:55:38 +01:00
Ruben Fiszel
4c0914c2b1 fix re-evaluate position has absolute pos 2023-11-15 14:54:23 +01:00
Ruben Fiszel
6e41441b07 improve empty inner loops handling 2023-11-15 14:38:02 +01:00
Ruben Fiszel
28ab5e97db nit schedule page 2023-11-15 13:25:26 +01:00
Ruben Fiszel
9fd8a31e1c fix: copy component only if empty selection 2023-11-15 13:19:54 +01:00
Ruben Fiszel
244b85e859 fix: fix delete schedule clear jobs 2023-11-15 13:13:24 +01:00
Henri Courdent
acfdfeedf6 White logo sidebar (#2630) 2023-11-15 13:03:23 +01:00
Ruben Fiszel
a4c37da608 fix app freeze 2023-11-15 12:59:05 +01:00
Ruben Fiszel
8be19b8763 fix app freeze 2023-11-15 12:58:07 +01:00
Ruben Fiszel
3efbef03b8 UX improvements 2023-11-15 08:59:43 +01:00
Ruben Fiszel
af25b22143 minor UX nits 2023-11-15 02:01:55 +01:00
Ruben Fiszel
cb4f7e24f9 minor UX nits 2023-11-15 01:55:36 +01:00
Ruben Fiszel
c769120504 minor UX nits 2023-11-15 01:41:48 +01:00
Faton Ramadani
1daccdbdb1 fix(frontend): Fix Step viewer (#2627)
* fix(frontend): Fix Step viewer

* fix(frontend): Fix build
2023-11-14 10:20:50 +01:00
HugoCasa
eafde10995 fix: ai gen minor fixes (#2626) 2023-11-14 09:59:25 +01:00
Ruben Fiszel
ff8b9b0384 feat: cache postgres connection (#2621)
* feat: cache pg connection

* fix wmill dev

* adjust timings

* don't keep connection alive if not latest con

* reduce sleep
2023-11-13 19:40:25 +01:00
HugoCasa
f185eba49c fix: false not undefined in result (#2620) 2023-11-13 19:14:30 +01:00
Ruben Fiszel
ae3f0ee5f4 fix wmill dev 2023-11-13 12:04:16 +01:00
Ruben Fiszel
967f05b61a autofocus itempicker 2023-11-13 11:22:38 +01:00
Ruben Fiszel
cbeefa807a fix: fix diff editor error 2023-11-13 11:16:37 +01:00
Ruben Fiszel
9f4d53e0f2 chore(main): release 1.206.0 (#2615)
* chore(main): release 1.206.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-13 00:29:55 +01:00
Ruben Fiszel
6a819cc512 fix: fix selected component switch tab + copyComponent keep layout 2023-11-13 00:27:20 +01:00
Skyler Mäntysaari
ce38a4322e feat: Add Authentik SSO support (#2614)
* feat: Add Authentik SSO support

* Add AuthentikIcon too.

* Forgot one check further down.
2023-11-12 23:48:51 +01:00
Ruben Fiszel
601779f28c fix bun lsp 2023-11-12 23:21:31 +01:00
Ruben Fiszel
f809172e3d fix: update monaco (#2616)
* update monaco

* update monaco

* update monaco

* update monaco

* update monaco

* update monaco

* update monaco

* update monaco
2023-11-12 21:26:44 +01:00
Ruben Fiszel
8151b01013 fix: add windmill loading screen 2023-11-12 11:00:25 +01:00
Ruben Fiszel
7bbe3cf288 fix: keep dark theme on login redirect 2023-11-12 10:08:44 +01:00
Ruben Fiszel
28d1c75962 fix test flow cancel 2023-11-11 17:41:37 +01:00
Ruben Fiszel
eb5067aee5 feat: add support for requiring users to pre-exist 2023-11-11 15:53:09 +01:00
Ruben Fiszel
7191ad73ca fix nit warning for notSelectable proppickerwrapper 2023-11-11 15:27:57 +01:00
Ruben Fiszel
528f6fa910 feat: add dedicated worker support for deno 2023-11-11 15:19:27 +01:00
Ruben Fiszel
fa3efd3f60 fix: handle console logs in dedicated workers 2023-11-11 13:39:06 +01:00
Ruben Fiszel
fdfb12fd5b improve cancel_all handling of non running jobs 2023-11-11 12:14:48 +01:00
Ruben Fiszel
272240abad chore(main): release 1.205.0 (#2613)
* chore(main): release 1.205.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-11 11:37:41 +01:00
Ruben Fiszel
44f37ac50d UX improvements 2023-11-11 10:40:28 +01:00
Ruben Fiszel
2b4b0cdc74 UX improvements 2023-11-11 10:37:18 +01:00
Ruben Fiszel
cd5ff7343a styling nits 2023-11-11 10:03:53 +01:00
Ruben Fiszel
929616d730 apply enterprise limits 2023-11-11 09:46:09 +01:00
Ruben Fiszel
47a3e407e2 add more help for activating dedicated worker 2023-11-10 20:58:19 +01:00
Ruben Fiszel
b9e41d066d fix: support digit prefixed script in python 2023-11-10 20:51:28 +01:00
Ruben Fiszel
2038fe68ce feat: exit dedicated worker upon new deployment 2023-11-10 20:45:25 +01:00
Ruben Fiszel
4661dd2cea feat: exit dedicated worker upon new deployment 2023-11-10 20:41:43 +01:00
Ruben Fiszel
5662c86bf0 fix dedicated worker dependency jobs 2023-11-10 18:38:10 +01:00
Guillaume Bouvignies
aee35d6d51 fix: Invalid config for workers does not panic (#2612)
* fix: Invalid config for workers does not panic

* Remove unused import

* Fix error type

* cleanup unused imports
2023-11-10 18:31:14 +01:00
Ruben Fiszel
67f72a938c init durationStatuses 2023-11-10 15:19:15 +01:00
Ruben Fiszel
f998c7229c fix: improve display of optimized one-loops + dependency jobs of dedicated workers happen on dedicated worker 2023-11-10 15:14:22 +01:00
Ruben Fiszel
03a64101fe store path in flowstate as well 2023-11-10 13:47:08 +01:00
Ruben Fiszel
4b07d7e2df chore(main): release 1.204.1 (#2610)
* chore(main): release 1.204.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-10 13:32:45 +01:00
Ruben Fiszel
8baf79360e fix: fix flow module builder 2023-11-10 13:32:19 +01:00
Ruben Fiszel
88e3648ee4 fix: optimize single step iterative forloops (#2596)
* cc

* fixed
2023-11-10 13:17:39 +01:00
Ruben Fiszel
41364421ea fix: fix custom components 2023-11-10 12:14:02 +01:00
Faton Ramadani
e22f3738d5 fix(frontend): fix login icons + add Okta (#2609) 2023-11-10 11:24:29 +01:00
Ruben Fiszel
5eca0e8784 chore(main): release 1.204.0 (#2606)
* chore(main): release 1.204.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-10 11:20:06 +01:00
HugoCasa
577e1300b9 feat: add sql server (#2604)
* feat: add sql server

* feat: mssql test, db schema, AI

* chore: update to latest parser

* fix: clean mssql executor
2023-11-10 11:16:13 +01:00
Ruben Fiszel
7ab9b861c4 fix detail page layout 2023-11-10 11:06:08 +01:00
Guillaume Bouvignies
cb01703a08 fix: iter args conflicts with external variables named iter (#2605)
* fix: iter args conflicts with external variables named iter

* Similar logic in frontend and fix backend

* frontend new object

* avoid another clone
2023-11-10 10:53:22 +01:00
Faton Ramadani
a99edf7764 feat(frontend): add confirmation modal when deleting a user in instance settings (#2608) 2023-11-10 10:30:30 +01:00
Faton Ramadani
adad712662 feat(frontend): draft script/flow can only access the edit page until… (#2607)
* feat(frontend): draft script/flow can only access the edit page until deployed

* feat(frontend): remove redirect
2023-11-10 10:26:22 +01:00
Ruben Fiszel
871fac6a0c add vite-ignore 2023-11-10 10:03:48 +01:00
Ruben Fiszel
4a6d28aa1c nit workspace settings 2023-11-10 10:02:12 +01:00
Ruben Fiszel
1041eeb4b0 nit error/recovery handler initial load 2023-11-10 09:57:18 +01:00
Faton Ramadani
fe35c7ad3c feat(frontend): Buttons refactor (#2545)
* feat(frontend): wip

* feat(frontend): button refactor wip

* feat(frontend): button refactor wip

* feat(frontend): fix build

* feat(frontend): fix build

* fix(frontend): fix build

* fix(frontend): fix buttons styles

* fix(frontend): remove dev file

* feat(frontend): clean up

* feat(frontend): done

* feat(frontend): done

* feat(frontend): remove duplicated componnet

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): forked Flow icons

* feat(frontend): remove legacy dropdown

* feat(frontend): migrated all + remove dependencies

* feat(frontend): clean up
2023-11-10 09:43:10 +01:00
Ruben Fiszel
0ccf706fa2 feat: add support for custom sso logins 2023-11-10 00:12:36 +01:00
Ruben Fiszel
e4a1759081 results.x returns null in non trivial evals 2023-11-09 23:36:04 +01:00
Ruben Fiszel
33180795e7 chore(main): release 1.203.0 (#2590)
* chore(main): release 1.203.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-09 20:23:34 +01:00
Ruben Fiszel
66d058dbe8 fix detail page not showing on chrome mobile 2023-11-09 20:18:53 +01:00
Ruben Fiszel
28c9fdc4f2 feat: add support for custom components in react or vanilla JS (#2603)
* cc

* cc

* cc

* all

* sqlx
2023-11-09 19:38:52 +01:00
Guillaume Bouvignies
f336a3c0ed refactor: Slack error handler is handled mostly in frontend (#2601)
* refactor: Slack error handler is handled mostly in frontend

* sqlx prepare

* check for slack in function
2023-11-09 18:17:28 +01:00
Faton Ramadani
ed24838b46 fix(frontend): correctly clear result when removing all options in a multi select (#2600) 2023-11-09 14:25:49 +01:00
Ruben Fiszel
86015737a3 do not require being a super admin for default error handler 2023-11-09 12:07:14 +01:00
Ruben Fiszel
7ef0bff9f3 fix enterpriseLicense check 2023-11-09 12:01:38 +01:00
Guillaume Bouvignies
aefa43dcaf fix: Fix error handler token injection (#2598)
* fix: Fix error handler token injection

* Add frontend
2023-11-09 11:58:45 +01:00
Ruben Fiszel
198e282566 do not require being a super admin for default error handler 2023-11-09 11:56:12 +01:00
Guillaume Bouvignies
fc874132c0 fix: Frontend workspace error handler args (#2597)
* fix: Frontend workspace error handler args

* UPdate script version

* 6512
2023-11-09 11:04:54 +01:00
Faton Ramadani
55e3a95618 feat(frontend): Migrate flow advanced settings to new layout (#2589)
* feat(frontend): wip

* feat(frontend): migrate flow advanced settings to new layout

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-11-08 17:12:31 +01:00
Ruben Fiszel
4dbaf2f56b decrease sso count warning 2023-11-08 14:50:00 +01:00
HugoCasa
a87b15f2c5 fix: frontend build (#2593) 2023-11-08 10:55:17 +01:00
HugoCasa
16a5fb9e86 fix: s3 snippets arg inputs update (#2592) 2023-11-08 10:26:47 +01:00
Faton Ramadani
72854b55b9 feat(frontend): add a way to customise the link's label (#2591) 2023-11-08 10:21:36 +01:00
Guillaume Bouvignies
0d846b310d fix: Pythong script in dedicated worker fails with more than 1 arg (#2588) 2023-11-08 10:08:42 +01:00
Ruben Fiszel
153529983f make tabs non disablable by default 2023-11-08 09:45:41 +01:00
Ruben Fiszel
375cebc28b improve vscode flow editor 2023-11-07 22:16:16 +01:00
Ruben Fiszel
d5fa998c7c improve vscode flow editor 2023-11-07 22:08:58 +01:00
Ruben Fiszel
fbe43c4273 chore(main): release 1.202.1 (#2587)
* chore(main): release 1.202.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-07 21:01:16 +01:00
Ruben Fiszel
f89a01ff2f fix: remove the FOO 2023-11-07 20:56:52 +01:00
Ruben Fiszel
436b5ee28a chore(main): release 1.202.0 (#2575)
* chore(main): release 1.202.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-07 20:27:29 +01:00
Ruben Fiszel
8a7fe93559 feat: add support for flows in vscode extension (#2585)
* all

* change tagline

* all

* all

* all
2023-11-07 20:16:01 +01:00
Faton Ramadani
b040a89b27 feat(frontend): Rework variable table (#2576)
* feat(frontend): updated variable table

* feat(frontend): updated variable table

* feat(frontend): fix folder menu

* feat(frontend): fix folder menu

* fix(frontend): fix icons

* fix(frontend): reduce table size
2023-11-07 15:13:45 +01:00
Faton Ramadani
0951431e41 fix(frontend): escape wasn't removing the hash when closing a drawer (#2583) 2023-11-07 15:05:00 +01:00
Guillaume Bouvignies
f2bff84502 feat: Add override all schedule handlers button (#2579)
* feat: Add override all schedule handlers button

* sqlx prepare

* sqlx prepare again
2023-11-07 13:29:23 +01:00
dependabot[bot]
18d04220e6 build(deps-dev): bump vite from 4.4.11 to 4.5.0 in /frontend (#2494)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.11 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 13:03:14 +01:00
HugoCasa
12e731b5c0 fix: handle graphql invalid response (#2582) 2023-11-07 12:52:56 +01:00
HugoCasa
e84e38d3bd feat: add diffs when editing workspace script inside a flow (#2581) 2023-11-07 11:58:44 +01:00
Ruben Fiszel
7f9e8bf4b0 fix compile 2023-11-07 09:42:28 +01:00
Faton Ramadani
dd3594c5e5 fix(frontend): add missing classes when tabs are in sidebar mode (#2577)
* fix(frontend): add missing class when tabs are in sidebar mode

* fix(frontend): fix class precedence
2023-11-06 23:47:04 +01:00
Ruben Fiszel
6c12c6e784 fix: add tag sync for cli 2023-11-06 22:06:24 +01:00
Ruben Fiszel
0ede0f4c97 fix: add tag support for CLI 2023-11-06 21:40:25 +01:00
Ruben Fiszel
e4721022e5 chore(main): release 1.201.0 (#2564)
* chore(main): release 1.201.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-06 19:14:41 +01:00
Faton Ramadani
8935d2272f fix(frontend): fix label event issues (#2574) 2023-11-06 18:57:53 +01:00
HugoCasa
d3dbb18815 fix: add no changes popup when saving draft (#2571) 2023-11-06 18:25:52 +01:00
Guillaume Bouvignies
abda93c40a chore: Update comments for Caddy with HTTPS (#2569) 2023-11-06 18:25:32 +01:00
Guillaume Bouvignies
83f9ef34e6 feat: Add toggle to optionally mute error handler for cancelled jobs (#2567)
* fix: Fix canceled flag in completed_job table

* Add toggle to workspace settings
2023-11-06 18:24:51 +01:00
HugoCasa
1ed52ab4c9 feat: add new stats (#2568)
* feat: add new stats

* feat: use license key id + manually send usage
2023-11-06 18:23:25 +01:00
HugoCasa
3ed7ae7ffa fix: apps diffs (#2570) 2023-11-06 15:52:35 +01:00
HugoCasa
e19520295f fix: minor bug fixes (#2566) 2023-11-06 12:39:11 +01:00
Faton Ramadani
97c5fe8985 feat(frontend): Ag grid styling (#2565)
* feat(frontend): Add AG Grid styling

* feat(frontend): Fix documentation link

* feat(frontend): Fix padding issues
2023-11-06 12:38:08 +01:00
Ruben Fiszel
141f45bf95 fix: improve dedicated workers 2023-11-06 11:21:36 +01:00
Ruben Fiszel
766badd2cc fix sqlx 2023-11-06 05:16:48 +01:00
Ruben Fiszel
1e2e8ade61 improve settings, add tag to logs 2023-11-05 23:13:58 +01:00
Ruben Fiszel
12030e0b17 add version to workers 2023-11-05 18:59:32 +01:00
Ruben Fiszel
2d05d187cf settings refactor 2023-11-05 17:58:58 +01:00
Ruben Fiszel
3ac50bb772 settings refactor 2023-11-05 13:03:38 +01:00
Ruben Fiszel
c49397b95c settings refactor 2023-11-05 12:54:25 +01:00
Ruben Fiszel
67163aec3a minor UX improvements 2023-11-05 11:18:18 +01:00
HugoCasa
1bb8b606ed feat: telemetry disclosure (#2562)
* feat: telemetry disclosure

* add anonymous
2023-11-04 22:31:35 +01:00
HugoCasa
aa5b71ca05 fix: flow diffs (#2561)
* fix: flow diffs

* fix: draft only
2023-11-04 22:31:23 +01:00
Sindre Svendby
651048a35f Fixed markdown syntax and typo (#2563)
* Fixed markdown syntax

<workspace> was not rendered

* Superdmin -> Superadmin
2023-11-04 22:31:11 +01:00
Ruben Fiszel
c0d7769e1b update deno to 1.38.0 and bun to 1.0.8 2023-11-04 18:22:53 +01:00
Ruben Fiszel
6f1feb845d make popup label instant for collapsed menu 2023-11-04 17:33:43 +01:00
Ruben Fiszel
c377bf9399 improve tree view sorting 2023-11-04 17:18:49 +01:00
Ruben Fiszel
4d22ec664a chore(main): release 1.200.0 (#2559)
* chore(main): release 1.200.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-04 09:41:02 +01:00
Faton Ramadani
02764b1fad fix(frontend): fix treeview (#2552)
* fix(frontend): fix wip

* fix(frontend): improving home performance

* slice number of items to show

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-11-04 09:37:30 +01:00
HugoCasa
3bfc2c81d2 feat: improve drafts and diffs (#2534)
* feat: improve drafts and diffs

* feat: add scripts diff button

* fix: remove diff drawer in scripts/add

* fix: nits

* feat: diffs for flows and apps w/ deep comparison

* fix: flow preview buttons height

* fix: use ordered json stringify

* fix: code view

* fix: temp flow diffs

* fix: flow diffs merge conflict
2023-11-04 08:45:03 +01:00
Tsvetomir Bonev
543fae77a7 fix: return non-integer sleep error directly (#2558) 2023-11-04 08:44:38 +01:00
Ruben Fiszel
1595f79bc3 chore(main): release 1.199.0 (#2557)
* chore(main): release 1.199.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-04 00:56:30 +01:00
Guillaume Bouvignies
668c9da646 feat: Schedule error handler improvements (#2555)
* Fix schedule path for scheduled scripts

* feat: Add possibility to mute workspace error handler on schedules and define an error/recovery handler as default

* Permission error handlers to the error handler group for consistency, and small refactoring

* Fix recovery handler

* Add parent job to recovery handler for consistency

* Fix tests

* Locking feature to EE in FE
2023-11-04 00:52:37 +01:00
Tsvetomir Bonev
6f47b96006 fix: fail on non-integer sleep value (#2556) 2023-11-04 00:49:57 +01:00
Ruben Fiszel
0fcebe4420 chore(main): release 1.198.0 (#2550)
* chore(main): release 1.198.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-03 22:12:18 +01:00
Ruben Fiszel
54f08122d2 fix: subflow with cache can not be considered simple 2023-11-03 22:06:49 +01:00
Ruben Fiszel
0f37439877 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
Ruben Fiszel
75a5766f8b fix: make python imports work at any nesting level 2023-11-03 20:10:14 +01:00
Ruben Fiszel
37eac60866 fix: make timeline fit for high number of iterations for flows 2023-11-03 19:22:14 +01:00
Faton Ramadani
e1e48cfc5f fix(frontend): fix mobile sidebar opacity (#2554) 2023-11-03 16:06:33 +01:00
Ruben Fiszel
0d4fc6a0bb fix: make graph rendering uniform across all rem (#2553)
* graphfix

* fix graph rendering

* fix graph rendering
2023-11-03 16:00:07 +01:00
Faton Ramadani
0349ba5d56 feat(frontend): update displayed path for treeview (#2551) 2023-11-03 09:59:02 +01:00
Faton Ramadani
0aaffadf0c feat(frontend): fix table when seaching with hidden columns (#2549) 2023-11-03 09:03:26 +01:00
Ruben Fiszel
bfa4bd8f7b chore(main): release 1.197.1 (#2548)
* chore(main): release 1.197.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-02 22:37:23 +01:00
Ruben Fiszel
77e0e2ebc1 fix: fix cli 2023-11-02 22:34:39 +01:00
Guillaume Bouvignies
7ba2a6c4f1 fix: Slack error handler missing "slack" arg (#2546) 2023-11-02 22:33:16 +01:00
Ruben Fiszel
00bc1b9671 chore(main): release 1.197.0 (#2538)
* chore(main): release 1.197.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-02 20:27:33 +01:00
Ruben Fiszel
dce7ada19c tooltip with exact time for created_at/started_at 2023-11-02 19:28:11 +01:00
Ruben Fiszel
a75ae3bfdb improve devex for local flow (#2543)
* all

* all

* improve dev pages

* improve dev pages

* fix multiple bugs

* fix multiple bugs
2023-11-02 18:52:40 +01:00
Faton Ramadani
86a2ced605 feat(frontend): add treeview (#2542)
* feat(frontend): add treeview

* feat(frontend): fix size

* feat(frontend): add treeview for users

* feat(frontend): fix build + remove console.og

* feat(frontend): fix actions

* feat(frontend): add icon for fake folder

* feat(frontend): fix add sort
2023-11-02 18:51:39 +01:00
Faton Ramadani
b4f043d32d feat(frontend): fix sidebar (#2544)
* feat(frontend): fix sidebar

* feat(frontend): fix sidebar
2023-11-02 17:01:40 +01:00
Faton Ramadani
30a9460cca feat(frontend): fix sidebar color (#2541)
* feat(frontend): fix sidebar color

* feat(frontend): fix sidebar color

* feat(frontend): fix sidebar theme switch
2023-11-02 14:01:06 +01:00
Faton Ramadani
89b7cab977 Refactor sidebar (#2539)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): menu v2

* feat(frontend): menu v2

* feat(frontend): done

* feat(frontend): fix mobile view

* feat(frontend): fix build

* feat(frontend): fix interactions

* feat(frontend): fix small ui issues

* feat(frontend): fix close issue

* feat(frontend): fix close issue
2023-11-02 12:58:29 +01:00
Ruben Fiszel
7b5d47d122 deactive forloop pruning in-presence of sleep or suspend 2023-11-02 08:32:45 +01:00
Ruben Fiszel
8f7aa84c2d fix aggrid table empty selected 2023-11-01 20:19:18 +01:00
Ruben Fiszel
9031b58400 fix schema map 2023-11-01 18:10:09 +01:00
Ruben Fiszel
9eec2e2c3e fix: improve rendering of list with undefined heights 2023-11-01 17:54:00 +01:00
Ruben Fiszel
b4d5c5add8 fix: fix powershell args passing 2023-11-01 17:19:15 +01:00
Ruben Fiszel
17144130b9 add waiting for execution to flow timeline 2023-11-01 16:56:34 +01:00
HugoCasa
29aabd3472 fix: enable default tokenizer truncation (#2537) 2023-11-01 14:45:24 +01:00
Ruben Fiszel
ecace92964 improve list rendering when height is not set 2023-11-01 14:24:45 +01:00
Ruben Fiszel
f9c07bd6ec chore(main): release 1.196.0 (#2535)
* chore(main): release 1.196.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-01 13:18:00 +01:00
Ruben Fiszel
d88096c84c flow vscode extension improvements (#2536)
* flow dev

* vscode flow extension improvements
2023-11-01 13:10:10 +01:00
Ruben Fiszel
270d871039 feat: improve inputs handling for large list on apps 2023-11-01 11:30:35 +01:00
Ruben Fiszel
479e27290d add static version to lsp in docker-compose 2023-11-01 01:47:54 +01:00
Ruben Fiszel
d069be74b6 chore(main): release 1.195.0 (#2531)
* chore(main): release 1.195.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-11-01 00:55:33 +01:00
Ruben Fiszel
0c086620a2 avoid embeddings db in tests 2023-11-01 00:55:26 +01:00
Ruben Fiszel
c8036317d2 fix: only load embeddings if in server mode 2023-11-01 00:44:24 +01:00
Ruben Fiszel
a31c19eaa4 improve slider/range 2023-10-31 23:54:58 +01:00
Ruben Fiszel
3847bcf8d4 use font-mono for sliders 2023-10-31 23:49:50 +01:00
Ruben Fiszel
f2758fac40 improve app timelines 2023-10-31 23:43:40 +01:00
Ruben Fiszel
b3d2213cce fix: fix quick search scripts 2023-10-31 22:57:27 +01:00
Faton Ramadani
03dfe711c6 feat(frontend): chartjs wizard (#2532)
* feat(frontend): chartjs wizard

* feat(frontend): fix indentation

* feat(frontend): done

* feat(frontend): remove console.log

* feat(frontend): fix dark mode + remove legacy components

* feat(frontend): reorder component list

* feat(frontend): fix dark mode
2023-10-31 21:12:44 +01:00
Guillaume Bouvignies
c31299bed8 feat: Ability to restart flow on loop/branchall iteration (#2526)
* feat: Ability to restart flow on loop/branchall iteration

* Add popover to frontend

* refresh restart button onSelectedJobStepChange

* Display branch names for branchall

* Fix flow preview

* Fix compile break

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-31 15:27:54 +01:00
Ruben Fiszel
1974012621 fix: add on success events to triggers list 2023-10-31 13:15:11 +01:00
Ruben Fiszel
cf9669c18d feat: invalidate result cache on flow or script change 2023-10-31 12:49:31 +01:00
Guillaume Bouvignies
c98ebf92e5 fix: Load schedule statistics in background (#2530) 2023-10-31 11:29:07 +01:00
Guillaume Bouvignies
729bf59558 chore: Add restarted flow test in worker.rs (#2524)
* chore: Add restarted flow test in worker.rs

* small refactor to rust code

* Fix unused imports
2023-10-31 09:14:14 +01:00
Ruben Fiszel
a87a441c14 chore(main): release 1.194.0 (#2523)
* chore(main): release 1.194.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-30 20:17:31 +01:00
Ruben Fiszel
01560dbdaf fix: fix table reactivity 2023-10-30 20:09:24 +01:00
Faton Ramadani
40adfdb7fd feat(frontend): plotly wizard (#2517)
* feat(frontend): plotly wizard

* feat(frontend): fix refresh

* feat(frontend): Fix function aggregate

* feat(frontend): clean code

* fix(frontend): fix charts in JSON mode + added all the missing tooltips

* fix(frontend): fix compatibility

* fix(frontend): add tooltip for aggregation methods

* feat(frontend): add ui-editor -> json conversion

* feat(frontend): add confirmation modal

* feat(frontend): fix errors

* feat(frontend): small ui fix

* feat(frontend): Correctly format eval

* feat(frontend): Fix conversion from UI Editor eval to JSON

* feat(frontend): fix initial loading

* feat(frontend): remove raw + eval in UI editor mode for datasets
2023-10-30 19:14:54 +01:00
Ruben Fiszel
d628af8339 fix timeline seconds display to mono 2023-10-30 17:59:11 +01:00
Ruben Fiszel
2e55af50c7 fix: make modal and drawer button hiddable as config 2023-10-30 17:24:03 +01:00
Ruben Fiszel
0c672e7e18 fix: assign column length of table actions based on number of actions 2023-10-30 16:38:18 +01:00
HugoCasa
302649faa8 fix: workspaced embeddings for resource types (#2525)
* fix: workspaced embeddings for resource types

* fix: remove admins only rts
2023-10-30 15:28:20 +01:00
Ruben Fiszel
ea86e4303f add more migration info at start 2023-10-30 15:17:50 +01:00
Ruben Fiszel
cd01734735 add more migration info at start 2023-10-30 15:17:32 +01:00
Guillaume Bouvignies
76a736aee6 feat: Restartable flows (#2514)
* feat: Restartable flows for simple sequential flows

* check if status of previous module to initialize last_result

* compute result of forloop flows when needed

* Add possibility to restart a flow preview

* Re-compute leaf jobs when needed

* FE polishing

* Add tooltip on button and fix module not found error in preview

* Handle ListJob when computing leaf job from db

* Fix unused imports

* ./build_openapi.sh

* sqlx prepare
2023-10-30 12:51:56 +01:00
Ruben Fiszel
ed86a61cf0 improve slow pull metrics 2023-10-30 12:20:40 +01:00
Faton Ramadani
6f4fb7668c fix(frontend): fix ai gen (#2518)
* fix(frontend): fix ai gen

* fix(frontend): Filter out schemas as string
2023-10-30 11:04:52 +01:00
Ruben Fiszel
12fec27eaa fix resource picker in some rare context 2023-10-28 20:54:59 +02:00
Ruben Fiszel
82eaacb316 add support for pg-embed 2023-10-28 19:02:49 +02:00
Ruben Fiszel
f94c9f8ec5 nit metrics 2023-10-28 16:21:30 +02:00
Ruben Fiszel
2cec6a0971 add more metrics 2023-10-28 15:35:45 +02:00
Ruben Fiszel
0a2648f560 chore(main): release 1.193.0 (#2513)
* chore(main): release 1.193.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-28 15:04:26 +02:00
Ruben Fiszel
23a6424125 add dedicated worker sender channel queue 2023-10-28 14:15:42 +02:00
Ruben Fiszel
0caf9d43c5 add invisible where overflow-hidden 2023-10-27 22:05:39 +02:00
Ruben Fiszel
b8883481f4 feat: refactor metrics and add performance debug metrics (#2520)
* all

* feat: add debug metrics
2023-10-27 21:00:28 +02:00
Faton Ramadani
c4383cfe74 fix(frontend): fix insert new item (#2519)
* fix(frontend): fix insert new item

* fix(frontend): fix insert new item
2023-10-27 18:36:27 +02:00
Ruben Fiszel
a1a4737ddf fix resource types embedding 2023-10-27 16:48:20 +02:00
Ruben Fiszel
5c4d1f734c add loki as optional feature flag 2023-10-27 11:51:26 +02:00
Ruben Fiszel
f5eeccad24 associate metrics with tags and not langs anymore 2023-10-26 23:52:37 +02:00
Ruben Fiszel
dc10aaa660 associate metrics with tags and not langs anymore 2023-10-26 23:44:25 +02:00
Ruben Fiszel
55ceca1913 fix: move keep job directories and expose debug metrics to instance settings UI 2023-10-26 13:08:39 +02:00
Ruben Fiszel
ea28163865 fix: prometheus metrics are an instance settings 2023-10-25 23:32:47 +02:00
Faton Ramadani
7164de81b0 fix(frontend): add a disabled prop to text inputs (#2512)
* fix(frontend): add a disabled prop to text inputs

* fix(frontend): add h-full to text area
2023-10-25 16:02:28 +02:00
Faton Ramadani
aaa26579dc fix(frontend): increased size limit for images (#2510)
* fix(frontend): increased size limit for images

* fix(frontend): add missing check
2023-10-25 16:02:05 +02:00
Ruben Fiszel
17f7356403 chore(main): release 1.192.0 (#2509)
* chore(main): release 1.192.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-25 10:13:51 +02:00
Faton Ramadani
dc548292ac feat(frontend): add display borders configuration to list component (#2508) 2023-10-25 10:03:27 +02:00
Ruben Fiszel
667eea8e10 fix compile error 2023-10-25 10:03:25 +02:00
Ruben Fiszel
53c38f9176 improve key not found error 2023-10-25 09:59:49 +02:00
Ruben Fiszel
c24e7f3c59 remove unecessary check 2023-10-25 09:57:42 +02:00
Ruben Fiszel
402193cef9 fix: do not share http_client in js_eval runtime 2023-10-25 09:51:20 +02:00
Ruben Fiszel
8efe0cadac fix: fix global instance dynamic css 2023-10-25 09:40:51 +02:00
Ruben Fiszel
b9c9a20dd6 chore(main): release 1.191.0 (#2506)
* chore(main): release 1.191.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-25 01:27:28 +02:00
Ruben Fiszel
9eaffa5b5f fix: improve runs to display flow informations 2023-10-25 01:22:30 +02:00
Ruben Fiszel
90857685ac fix setinput for json objects 2023-10-25 00:34:29 +02:00
Ruben Fiszel
d44b078e70 fix: improve concurrency limit lock 2023-10-25 00:17:38 +02:00
Guillaume Bouvignies
51f2198c34 feat: Priority worker tags (#2504)
* feat: Priority worker tags

* Fix deprecation warning

* fix tests by initializing the WorkerConfig properly
2023-10-24 17:59:31 +02:00
Guillaume Bouvignies
927cbbe230 fix: concurrency limit EE feature warning (#2505)
* fix: concurrency limit EE feature warning

* fix deprecated usage

* skip serializing empty optional
2023-10-24 17:59:16 +02:00
Henri Courdent
8b8a2b4026 Tiny grammar change tutorial (#2503) 2023-10-24 15:20:44 +02:00
Ruben Fiszel
e79ca4e845 improve batch job api for scripts 2023-10-24 12:20:57 +02:00
Ruben Fiszel
f752f83c94 chore(main): release 1.190.3 (#2502)
* chore(main): release 1.190.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-24 10:21:50 +02:00
Ruben Fiszel
12ebd75307 fix sqlx 2023-10-24 10:21:30 +02:00
Ruben Fiszel
8025a27b8c fix: sort arg infos on the client-side 2023-10-24 10:10:21 +02:00
Ruben Fiszel
cc17e36702 chore(main): release 1.190.2 (#2501)
* chore(main): release 1.190.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-24 09:54:41 +02:00
Ruben Fiszel
176dd415b6 show psql version on start 2023-10-24 09:54:01 +02:00
Guillaume Bouvignies
96f3854145 fix: ListableQueuedJob were missing the priority field (#2500) 2023-10-24 09:49:14 +02:00
Ruben Fiszel
410cdd5526 chore(main): release 1.190.1 (#2497)
* chore(main): release 1.190.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-24 09:31:20 +02:00
Guillaume Bouvignies
f428581269 fix: Track job UUIDs in concurrency table instead of a simple counter (#2498)
* fix: Track job UUIDs in concurrency table instead of a simple counter

* sqlx prepare
2023-10-24 09:28:46 +02:00
Ruben Fiszel
d53549bb31 update rust-python to 3.0 (#2499) 2023-10-24 09:26:36 +02:00
Ruben Fiszel
1ec56c0e23 fix: improve flow performance at high-throughput 2023-10-24 00:11:30 +02:00
Ruben Fiszel
2bd629ecab fix: add shapefile to python remapping 2023-10-23 23:06:08 +02:00
Ruben Fiszel
7199bbce73 improve dedicated worker on default worker grou[ 2023-10-23 22:59:25 +02:00
Bonnie White
244a36e363 Update lib.rs (#2495) 2023-10-23 22:50:26 +02:00
Ruben Fiszel
bed4b51c5b add support for batch flow jobs 2023-10-23 21:53:22 +02:00
Ruben Fiszel
d75860af19 chore(main): release 1.190.0 (#2491)
* chore(main): release 1.190.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-23 21:49:32 +02:00
Ruben Fiszel
39f30785a0 feat: dedicated worker for python (#2492)
* update

* all
2023-10-23 20:21:16 +02:00
Ruben Fiszel
d215bd18f7 remove spurious tracing::error 2023-10-23 19:46:37 +02:00
Ruben Fiszel
ec65fa84cc fix: stats nits (#2490)
Co-authored-by: HugoCasa <hugo@casademont.ch>
2023-10-23 18:07:24 +02:00
Ruben Fiszel
fa51a6cb4a chore(main): release 1.189.0 (#2481)
* chore(main): release 1.189.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-23 17:21:30 +02:00
HugoCasa
7037d70ca2 feat: add unique id (#2483)
* feat: add unique id

* fix: sqlx prepare

* feat: add disable option

* fix: cron schedule
2023-10-23 17:05:54 +02:00
Ruben Fiszel
44c3c96d3e fix: fix include_header 2023-10-23 17:04:16 +02:00
Ruben Fiszel
2fbf2470c4 add circle dependency checker 2023-10-23 16:06:07 +02:00
HugoCasa
3c6186dc50 fix: powershell local sync (#2489)
* fix: graphql local sync

* fix: powershell local sync
2023-10-23 15:37:24 +02:00
HugoCasa
2e8dba9442 fix: graphql local sync (#2488) 2023-10-23 15:24:35 +02:00
Ruben Fiszel
a8e490b39a fix circular dependencies frontend 2023-10-23 15:08:31 +02:00
Ruben Fiszel
334c805b84 fix circular dependencies frontend 2023-10-23 14:24:35 +02:00
Guillaume Bouvignies
3f4af48b0b feat: Priority queue (#2476)
* BE v1 for priority queue

* Add FE prototype

* sqlx prepare

* Disply priority badge in job detail view

* sqlx prepare post merge

* Add priority number input field next to toggle

* increase dnd timeout for app events

* Update db migration

* Fix FE import

* Add badge to script/flow details page and fix EE-only mention in tooltip

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-23 14:22:59 +02:00
Guillaume Bouvignies
af45ef06f2 fix: Update openapi definition to be compatible with oapi-codegen (#2487) 2023-10-23 14:18:24 +02:00
Ruben Fiszel
b45027052b fix outputs overflow-auto 2023-10-23 14:09:53 +02:00
Faton Ramadani
69d1bfa295 Fix dependencies issues (#2486)
* fix(frontend): Fix dependencies issues

* fix(frontend): fix build

* fix(frontend): remove code duplication
2023-10-23 13:54:31 +02:00
Ruben Fiszel
42753ea4df fix improve component docs 2023-10-22 18:14:42 +02:00
Ruben Fiszel
7ce5c84758 fix improve component docs 2023-10-22 18:14:34 +02:00
Ruben Fiszel
8ac0562a36 feat: add form validation for apps 2023-10-22 17:55:05 +02:00
Ruben Fiszel
8a8feb378e fix: fix drawer escape order 2023-10-22 16:46:07 +02:00
Ruben Fiszel
ec5a4447c2 increase dnd timeout for app events 2023-10-22 15:36:36 +02:00
Ruben Fiszel
69513319e7 feat: improve dragndrop experience on editor 2023-10-22 15:27:16 +02:00
Ruben Fiszel
2b7018413a feat: dragndrop component on creation 2023-10-21 22:50:19 +02:00
Ruben Fiszel
724d92d037 chore(main): release 1.188.1 (#2479)
* chore(main): release 1.188.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-21 14:51:57 +02:00
Ruben Fiszel
cef2949497 fix: allow superadmin to run inline scripts in repo they are not part of 2023-10-21 14:48:51 +02:00
Ruben Fiszel
7dbdb8bb9c chore(main): release 1.188.0 (#2478)
* chore(main): release 1.188.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-21 14:44:48 +02:00
Ruben Fiszel
8d0aa734a8 make select tab more resilient 2023-10-21 14:44:12 +02:00
Yt
7905e2c853 feat: enable secret to be read from file (#2477) 2023-10-21 14:35:34 +02:00
Ruben Fiszel
656cb83d6b fix: fix app reactivity 2023-10-21 14:33:07 +02:00
Ruben Fiszel
f15dd72d86 remove hub specific errors 2023-10-21 14:07:49 +02:00
Ruben Fiszel
00de758190 fix findFreeSpace for apps 2023-10-21 10:49:10 +02:00
Ruben Fiszel
d89e3934fe minor app timelines adjustments 2023-10-21 10:02:51 +02:00
Ruben Fiszel
f0a20de8e3 disable embedding for tests 2023-10-21 09:05:30 +02:00
Ruben Fiszel
9df33ff660 chore(main): release 1.187.0 (#2472)
* chore(main): release 1.187.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-21 02:34:57 +02:00
Ruben Fiszel
255dd53ed3 fix: windmill_status_code script now properly return + script bash default arg 2023-10-21 02:32:47 +02:00
Ruben Fiszel
9655834cd8 fix sqlx 2023-10-20 23:58:26 +02:00
Ruben Fiszel
d0161d2772 feat: timelines for apps 2023-10-20 22:50:36 +02:00
Ruben Fiszel
2385e18286 feat: timelines for apps 2023-10-20 22:50:36 +02:00
Faton Ramadani
dd1e03de4a fix(frontend): Remove monaco as a dependency of AppPreview (#2475) 2023-10-20 17:48:26 +02:00
HugoCasa
8fe30ca4ca fix: cache embedding model in docker img (#2474) 2023-10-20 15:49:04 +02:00
HugoCasa
e0edd37637 fix: hub scripts search types (#2471) 2023-10-20 10:08:55 +02:00
Ruben Fiszel
e6308f4c42 chore(main): release 1.186.0 (#2466)
* chore(main): release 1.186.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-20 01:44:40 +02:00
Ruben Fiszel
5469321022 feat: timeline for apps (#2470)
* progress

* progress

* feat: timelnes for apps

* all
2023-10-20 01:42:27 +02:00
Guillaume Bouvignies
1200add2a7 feat: Flow approvers user groups can be JS InputTransforms (#2468)
* backend auth user validation

* Approval page suggesting login

* BE impl to support groups

* Add FE for setting suspend on flow step

* handle admin as a specific case

* restrict feature to entperprise only

* group names as static input transforms

* Suspend settings with tabs

* Update enterprise edition check

* cleanup

* FE InputTransformForm

* BE InputTransform

* Fix FE

* cleanup

* ArgInput list multiselect

* cleanup

* reset vscode settings
2023-10-20 01:39:31 +02:00
HugoCasa
3a03eb3760 fix: hub scripts search (#2469) 2023-10-20 00:20:58 +02:00
Guillaume Bouvignies
9442068374 feat: Approval step optionally require logged-in user (#2462)
* backend auth user validation

* Approval page suggesting login

* BE impl to support groups

* Add FE for setting suspend on flow step

* handle admin as a specific case

* restrict feature to entperprise only

* group names as static input transforms

* Suspend settings with tabs

* Update enterprise edition check

* cleanup

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-20 00:20:20 +02:00
HugoCasa
666ac56824 fix: embeddings duplicate id (#2467) 2023-10-19 19:41:52 +02:00
HugoCasa
ef3e4b2623 feat: local hub embeddings search (#2463)
* feat: local hub embeddings search

* fix: cargo lock

* fix: sqlx prepare

* fix: cargo tinyvector

* feat: add DISABLE_EMBEDDING env var

* fix: cargo lock
2023-10-19 17:27:42 +02:00
HugoCasa
94a52f1d2d feat: test openai key + improve AI UI (#2465) 2023-10-19 16:15:18 +02:00
Ruben Fiszel
b5bb247bab chore(main): release 1.185.0 (#2461)
* chore(main): release 1.185.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-19 15:57:12 +02:00
Ruben Fiszel
acbe1298fc fix: fix handling of undefined values in input transforms by serde 2023-10-19 15:37:15 +02:00
Ruben Fiszel
a47955b160 fix nested app component hover 2023-10-18 23:44:28 +02:00
Ruben Fiszel
39e612e116 fix: add select tabs as list inputs for apps 2023-10-18 21:56:31 +02:00
Ruben Fiszel
f9045dc70f fix: fix mocking for workflows 2023-10-18 21:44:10 +02:00
Ruben Fiszel
e8e7d342f7 remove unecessary key 2023-10-18 19:30:32 +02:00
Ruben Fiszel
d96f8d0d41 feat: add timeline progress bars to flows" (#2464)
* add timeline

* progress

* all

* all
2023-10-18 19:22:09 +02:00
Guillaume Bouvignies
92c0ab21b7 fix: go-client build dependencies (#2460) 2023-10-18 11:01:05 +02:00
Ruben Fiszel
646f0ddc9e chore(main): release 1.184.0 (#2438)
* chore(main): release 1.184.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-18 01:35:50 +02:00
Faton Ramadani
aaf83859bd feat(frontend): app editor tutorials (#2443)
* feat(frontend): wip

* feat(frontend): skeleton done

* feat(frontend): background runnables

* feat(frontend): fix build

* feat(frontend): finish background runnable tuto

* feat(frontend): connection output

* feat(frontend): add simple app tutorial

* feat(frontend): add simple app trigger

* feat(frontend): fix wording

* feat(frontend): remove duplicate code

* feat(frontend): wip tutorial rework

* feat(frontend): Tutorial done

* feat(frontend): Fix build
2023-10-17 22:44:47 +02:00
Guillaume Bouvignies
2dc75f0f65 feat: Mute workspace error handler for flows and scripts (#2458)
* feat: Mute workspace error handler for flows and scripts

* implement BE muting

* Add tooltip to bell icon

* change field name to ws_error_handler_muted

* revert new field for queue table

* Error when error handler not set

* extract svelte component and use flow table column

* Fix flow error handler result arg
2023-10-17 22:07:13 +02:00
Ruben Fiszel
3bd1a24b4f fix multiselect for mobile v2 2023-10-17 10:43:44 +02:00
Ruben Fiszel
3cae09fefb fix app multiselect 2023-10-17 07:40:41 +02:00
Ruben Fiszel
1c8cf96ceb fix native worker, add back postgresql 2023-10-17 06:41:29 +02:00
Ruben Fiszel
e8badf26e6 improve error tracing 2023-10-16 19:45:43 +02:00
Ruben Fiszel
719cde60cc improve error handling after refactor 2023-10-16 18:40:01 +02:00
Ruben Fiszel
b18ab1d154 add MODE env variable 2023-10-16 15:20:50 +02:00
Guillaume Bouvignies
f9e48ddcba fix: Slack token is readable by g/error_handler (#2454)
* fix: Slack token is readable by g/error_handler

* remove is_some
2023-10-16 14:53:12 +02:00
Ruben Fiszel
780f5c3b4d fix app handling 2023-10-16 12:58:33 +02:00
Ruben Fiszel
6e42341536 improve non selected error message for flow builder 2023-10-16 11:41:11 +02:00
Ruben Fiszel
8d89605bc6 fix: fix previous ids for iterators and branches 2023-10-16 11:15:45 +02:00
Ruben Fiszel
9314d38bf1 feat: refactor entirely json processing in favor or rawjson to handle larger payloads (#2446)
* raw json

* raw json

* raw json

* raw json

* the big rawjson rewrite

* resolve merge conflicts

* all

* progress

* progress

* all compile

* remove mut

* remove mut

* remove mut

* arc queuedjob

* finish

* finish

* finish

* fixes

* progress

* fix result

* small fixes

* small fixes

* fix tests

* fix tests

* fix tests

* optimize eval timeout

* optimize eval timeout

* optimize eval timeout

* handle big args and result in get jobs

* improve args

* fix

* fix

* fix tests

* fix tests

* done

* add bigquery to native picker

* add bigquery

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-10-16 10:46:55 +02:00
Guillaume Bouvignies
b7ce7f0b18 fix: Workspace error handler extra args are passed to job (#2452) 2023-10-13 20:48:56 +02:00
Guillaume Bouvignies
5a8dcc186d Filter script kinds in the backend (#2450) 2023-10-13 20:34:39 +02:00
Ruben Fiszel
8aa0d73f3e Update ErrorOrRecoveryHandler.svelte 2023-10-13 19:27:50 +02:00
Guillaume Bouvignies
8a3537b761 fix: Error handler script pickers lists both "regular" script and "error handler" scripts (#2449)
* fix: Error handler script pickers lists both regular script and error handle scripts

* filter on backend if only one kind
2023-10-13 18:50:48 +02:00
Guillaume Bouvignies
f7cc773826 feat: Workspace error handler now supports args and Slack for EE (#2447)
* feat: Workspace error handler now supports args and Slack

* Cleanup unused value

* run sqlx prepare

* Fix script path loading
2023-10-13 17:32:11 +02:00
Faton Ramadani
0c2004f5ad fix(frontend): simplify flow tutorials (#2448)
* fix(frontend): simplify flow tutorials

* fix(frontend): simplify flow tutorials

* fix(frontend): update branch tutorials

* fix(frontend): fix wording

* fix(frontend): remove steps

* fix(frontend): add a second branch by default

* fix(frontend): add a second branch by default

* fix(frontend): done

* fix(frontend): reword

* fix(frontend): fix iterator expression
2023-10-13 16:23:47 +02:00
Guillaume Bouvignies
45dd53457c refactor: Extract error / recovery handler to its own component (#2445)
* refactor: Extract error / recovery handler to its own component

* Small design changes

* Reset handler args on openNew

* Slack handler as EE only

* Add link to windmill hub

* Fix "undefined" when input disabled

* tooltip on custom tab header
2023-10-13 15:01:18 +02:00
Ruben Fiszel
b487d5817a update resolver with tabular and msoffcrypto 2023-10-13 00:43:32 +02:00
Ruben Fiszel
e770f25667 fix: update bun to 1.0.6 2023-10-12 17:29:31 +02:00
Faton Ramadani
26371fde0c fix(frontend): fix forloop tutorial (#2444) 2023-10-12 16:38:47 +02:00
Guillaume Bouvignies
a1d6799625 feat: Improve Slack schedule error handler and default to it (#2439)
* feat: Improve Slack schedule error handler and default to it

* refactor BE to re-use existing logic to handle error

* Fix svelte error
2023-10-12 15:11:05 +02:00
Faton Ramadani
0ce4b34481 fix(frontend): fix style panel overflow (#2437)
* fix(frontend): fix style panel overflow

* fix(frontend): hide deprecated options
2023-10-12 14:17:25 +02:00
Ruben Fiszel
2d9878647b make bun cache rw on nsjail 2023-10-12 02:03:31 +02:00
Ruben Fiszel
3d166635f9 remove license key from .env 2023-10-12 00:46:31 +02:00
Ruben Fiszel
3ef7e279b4 revert to bun 1.0.4 2023-10-12 00:39:33 +02:00
Ruben Fiszel
ec02f9b140 fix bun on nsjail 2023-10-11 23:13:10 +02:00
Faton Ramadani
e309dd02ad Revert modifier (#2440)
* fix(frontend): fix modifier text size

* fix(frontend): fix modifier text size
2023-10-11 22:55:39 +02:00
Ruben Fiszel
a84ce44cd9 fix: update bun to 1.0.5 2023-10-11 22:07:57 +02:00
HugoCasa
e20889b910 feat: filter resource types passed to gpt-4 (#2430)
* feat: code gen filter resource types

* fix: minor

* feat: using snake case for flow inputs

* fix: filter resource types for python

* fix: correct resrouce type name + wmill import

* fix: disable automerge ci

* fix: remove unnecessary json parsing
2023-10-11 17:50:21 +02:00
Ruben Fiszel
5b8e39c9cd chore(main): release 1.183.0 (#2433)
* chore(main): release 1.183.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-11 17:18:03 +02:00
Faton Ramadani
c914ac64cf fix(frontend): add a validation for base url (#2434)
* fix(frontend): add a validation for base url

* fix(frontend): simplify regex

* fix(frontend): fix style
2023-10-11 17:04:54 +02:00
Faton Ramadani
cb2b6dfdba fix(frontend): fix mobile multi select (#2431)
* fix(frontend): fix mobile multi select

* fix(frontend): fix mobile multi select

* fix(frontend): fix mobile multi select
2023-10-11 16:01:17 +02:00
Ruben Fiszel
4d26c01df8 handle default base_url in instance settings 2023-10-11 14:50:47 +02:00
Faton Ramadani
e088ec5669 fix(frontend): fix table wizards for old apps (#2435) 2023-10-11 14:46:23 +02:00
Faton Ramadani
6f0cda0e1e feat(frontend): Table wizard (#2416)
* feat(frontend): add helper to configure AG Grid columns def

* feat(frontend): add all options

* feat(frontend): column definition helper

* feat(frontend): add header name

* feat(frontend): add presets

* feat(frontend): wip

* feat(frontend): rework preset

* feat(frontend): rework preset

* feat(frontend): table wizard

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): ordering

* feat(frontend): add sizing options

* feat(frontend): add sync button

* feat(frontend): add quick add column buttonsa
2023-10-11 14:12:48 +02:00
Faton Ramadani
46d2c13e0d fix(frontend): fix drawer title truncate (#2429) 2023-10-11 14:06:59 +02:00
HugoCasa
109c2f17d6 fix: benchmark config syntax error (#2432) 2023-10-11 14:06:37 +02:00
Guillaume Bouvignies
d51fc57c42 build: Publish arm64 binaries (#2427) 2023-10-11 09:09:24 +02:00
Guillaume Bouvignies
98635daed9 Fix go-client and run go mod tidy (#2425) 2023-10-10 18:42:18 +02:00
Ruben Fiszel
d97325f178 chore(main): release 1.182.3 (#2424)
* chore(main): release 1.182.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-10 17:33:26 +02:00
Ruben Fiszel
094539ff3a fix: improve binary build 2023-10-10 17:30:02 +02:00
Guillaume Bouvignies
e9ae3fb7e6 Fix workflow action (#2423) 2023-10-10 17:25:33 +02:00
Ruben Fiszel
aef26ea567 chore(main): release 1.182.2 (#2422)
* chore(main): release 1.182.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-10 17:22:37 +02:00
Guillaume Bouvignies
17b42e6a35 fix: add binaries to release 2023-10-10 17:19:30 +02:00
Ruben Fiszel
dcc6e64f01 chore(main): release 1.182.1 (#2420)
* chore(main): release 1.182.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-10 17:08:38 +02:00
Henri Courdent
e1eccc2d93 fix: Small fixes UI & Slack OAuth tuto (#2398)
* Small fixes frontend

* Fixes after Ruben's comments

* Small fixes UI and Slack OAuth tuto

* Fix okta logo
2023-10-10 17:05:18 +02:00
Guillaume Bouvignies
39c4d1754e Fix go-client api break (#2419) 2023-10-10 17:04:29 +02:00
dependabot[bot]
231d9e0266 chore(deps): bump shrink/actions-docker-extract from 2 to 3 (#2300)
Bumps [shrink/actions-docker-extract](https://github.com/shrink/actions-docker-extract) from 2 to 3.
- [Release notes](https://github.com/shrink/actions-docker-extract/releases)
- [Commits](https://github.com/shrink/actions-docker-extract/compare/v2...v3)

---
updated-dependencies:
- dependency-name: shrink/actions-docker-extract
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 15:54:14 +02:00
Ruben Fiszel
c37c6f5d5d chore(main): release 1.182.0 (#2393)
* chore(main): release 1.182.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-10-10 15:40:11 +02:00
Guillaume Bouvignies
7c82110000 build: Publish windmill-amd64 binary for each release (#2417)
* Publish binary on release

* Add step for ee binary
2023-10-10 15:38:36 +02:00
Faton Ramadani
53447f1b43 feat(frontend): column definition helper (#2399)
* feat(frontend): add helper to configure AG Grid columns def

* feat(frontend): add all options

* feat(frontend): column definition helper

* feat(frontend): add header name

* feat(frontend): add presets

* feat(frontend): rework preset

* feat(frontend): rework preset

* feat(frontend): fix presets

* feat(frontend): add flex + fix adding empty column def

* feat(frontend): add missing unit
2023-10-10 15:25:40 +02:00
Faton Ramadani
bc1ad3b8d0 feat(frontend): error handler tutorial (#2404)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-09 19:07:32 +02:00
Ruben Fiszel
f9733ae3f5 fix css property (#2411) 2023-10-09 18:22:46 +02:00
Guillaume Bouvignies
e960efb499 Better error when executable not found (#2407)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-09 18:06:05 +02:00
Faton Ramadani
2d7712c021 feat(frontend): fix css editor + fix dark mode (#2409) 2023-10-09 17:58:42 +02:00
Ruben Fiszel
007e4df42c Revert "chore(deps): bump prettyplease from 0.1.25 to 0.2.15 in /backend (#2256)" (#2410)
This reverts commit 08f561bdad.
2023-10-09 17:58:00 +02:00
Ruben Fiszel
112844f294 Revert "chore(deps): bump openapiv3 from 1.0.2 to 1.0.3 in /backend (#2236)" (#2408)
This reverts commit a93af1f3c4.
2023-10-09 17:45:40 +02:00
Ruben Fiszel
61ee550227 remove automerge dependabot 2023-10-09 17:44:11 +02:00
dependabot[bot]
3d928593cf chore(deps): bump cla-assistant/github-action from 2.2.1 to 2.3.1 (#2302)
Bumps [cla-assistant/github-action](https://github.com/cla-assistant/github-action) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/cla-assistant/github-action/releases)
- [Commits](https://github.com/cla-assistant/github-action/compare/v2.2.1...v2.3.1)

---
updated-dependencies:
- dependency-name: cla-assistant/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 15:40:12 +00:00
dependabot[bot]
a93af1f3c4 chore(deps): bump openapiv3 from 1.0.2 to 1.0.3 in /backend (#2236)
Bumps [openapiv3](https://github.com/glademiller/openapiv3) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/glademiller/openapiv3/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: openapiv3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 15:40:12 +00:00
dependabot[bot]
08f561bdad chore(deps): bump prettyplease from 0.1.25 to 0.2.15 in /backend (#2256)
Bumps [prettyplease](https://github.com/dtolnay/prettyplease) from 0.1.25 to 0.2.15.
- [Release notes](https://github.com/dtolnay/prettyplease/releases)
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.1.25...0.2.15)

---
updated-dependencies:
- dependency-name: prettyplease
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 15:40:11 +00:00
Ruben Fiszel
50dfb62df5 remove ability to delete worker config on non ee 2023-10-09 12:51:37 +02:00
Faton Ramadani
11e0bc76c4 feat(frontend): App polish (#2397)
* fix(frontend): app polish

* wip

* fix(frontend): rework schedule drawer

* fix(frontend): add Label wrapper for consistency

* fix(frontend): fix tab inconstiencies

* fix(frontend): make kbd modifier visible + fix spacings

* fix(frontend): add spinning animation when assistant is loading

* wip

* fix(frontend): add inner border

* feat(frontend): reorganised metadata fields

* feat(frontend): fix merge

* feat(frontend): fix build

* feat(frontend): fix build

* Update CenteredPage.svelte

* feat(frontend): fix inner-border dark

* wip

* feat(frontend): Fix buttons

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-08 23:31:53 +02:00
Ruben Fiszel
21454a7a05 fix: improve handling of large results by frontend 2023-10-08 15:37:10 +02:00
Ruben Fiszel
dece99dd70 add support for single tenant microsoft login 2023-10-08 13:31:51 +02:00
Ruben Fiszel
49eb61001f improve set saved inputs for mobile 2023-10-08 11:59:44 +02:00
Ruben Fiszel
409e29d851 clarify search by content being an ee feature 2023-10-08 11:41:20 +02:00
Ruben Fiszel
b9858698ce change max-w-6xl -> max-w-7xl 2023-10-08 11:27:24 +02:00
Ruben Fiszel
25e3ca4cd8 remove .nvmrc 2023-10-08 10:49:13 +02:00
Ruben Fiszel
64c5590aa3 fix: improve flow status viewer for large values 2023-10-07 19:54:36 +02:00
Ruben Fiszel
27c45e38cc fix: add lsp absolute imports for deno in all cases 2023-10-07 16:36:26 +02:00
Ruben Fiszel
20d7cf0a1f fix setting resource type description 2023-10-07 16:26:24 +02:00
Ruben Fiszel
3bf9f1ae49 add default fallback vscode widget colors 2023-10-07 16:01:55 +02:00
1429 changed files with 164055 additions and 391330 deletions

7
.env
View File

@@ -1,11 +1,8 @@
DATABASE_URL=postgres://postgres:changeme@db/windmill?sslmode=disable
WM_IMAGE=ghcr.io/windmill-labs/windmill:main
WM_LICENSE_KEY=""
# For Enterprise Edition, comment the 2 lines above and uncomment below
# For Enterprise Edition, use:
# WM_IMAGE=ghcr.io/windmill-labs/windmill-ee:main
# WM_LICENSE_KEY="<id>.<expiry>.<signature>"
WM_IMAGE=ghcr.io/windmill-labs/windmill:main
# To use another port than :80, setup the Caddyfile and the caddy section of the docker-compose to your needs: https://caddyserver.com/docs/getting-started

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,4 +1,4 @@
FROM python:3.10-slim-buster as nsjail
FROM python:3.11-slim-buster as nsjail
WORKDIR /nsjail
@@ -41,7 +41,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
RUN wget https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
@@ -58,8 +58,8 @@ 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 /usr/local/bin/bun /usr/bin/bun
COPY --from=denoland/deno:1.40.5 /usr/bin/deno /usr/bin/deno
RUN apt-get update \
&& apt-get install -y postgresql-client --allow-unauthenticated

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

@@ -0,0 +1,25 @@
#!/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 "/^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,25 @@
#!/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}/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 "/^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

@@ -1,26 +0,0 @@
name: dependabot auto-merge
on: pull_request_target
permissions:
contents: read
pull-requests: read
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: |
echo ${{ secrets.RUBEN_PAT }} | gh auth login --with-token
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}

View File

@@ -0,0 +1,26 @@
# name: dependabot auto-merge
# on: pull_request_target
# permissions:
# contents: read
# pull-requests: read
# jobs:
# dependabot:
# runs-on: ubuntu-latest
# if: ${{ github.actor == 'dependabot[bot]' }}
# steps:
# - name: Dependabot metadata
# id: metadata
# uses: dependabot/fetch-metadata@v1.6.0
# with:
# github-token: "${{ secrets.GITHUB_TOKEN }}"
# - name: Enable auto-merge for Dependabot PRs
# if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
# run: |
# echo ${{ secrets.RUBEN_PAT }} | gh auth login --with-token
# gh pr review --approve "$PR_URL"
# gh pr merge --auto --squash "$PR_URL"
# env:
# PR_URL: ${{github.event.pull_request.html_url}}

View File

@@ -15,7 +15,7 @@ on:
jobs:
cargo_test:
runs-on: [self-hosted, new]
runs-on: ubicloud-standard-8
container:
image: ghcr.io/windmill-labs/backend-tests
services:
@@ -31,15 +31,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
backend
backend -> target
toolchain: 1.75.0
# - uses: Swatinem/rust-cache@v2
# with:
# workspaces: |
# backend
# backend -> target
- name: cargo test
timeout-minutes: 10
timeout-minutes: 15
run:
mkdir frontend/build && cd backend && touch
windmill-api/openapi-deref.yaml &&
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill cargo
test --features enterprise --all -- --nocapture
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill
DISABLE_EMBEDDING=true RUST_LOG=info cargo test --features enterprise
--all -- --nocapture

View File

@@ -7,14 +7,13 @@ on:
jobs:
benchmark:
runs-on: [self-hosted, new]
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
@@ -24,7 +23,7 @@ jobs:
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
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
@@ -35,12 +34,12 @@ jobs:
image: ghcr.io/windmill-labs/windmill-ee:main
env:
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
DISABLE_SERVER: true
MODE: worker
WORKER_GROUP: dedicated
DEDICATED_WORKER: "admins:f/benchmarks/dedicated"
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
options: >-
--pull always
--pull always --restart unless-stopped
steps:
- uses: denoland/setup-deno@v1
with:
@@ -49,10 +48,12 @@ jobs:
with:
ref: benchmarks
- name: benchmark
timeout-minutes: 10
run: deno run --unstable -A -r
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
-c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_config.json
- name: Push changes
run: |
pwd

View File

@@ -6,7 +6,7 @@ on:
- "version.txt"
jobs:
change_version:
runs-on: ubuntu-latest
runs-on: ubicloud
container: node:18
steps:
- uses: actions/checkout@v3

View File

@@ -1,13 +0,0 @@
name: Clean docker
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 0 */2 * *"
jobs:
build:
runs-on: [self-hosted, new]
steps:
- name: clean docker
run: |
sudo docker system prune -f

View File

@@ -8,7 +8,7 @@ env:
jobs:
build_deno_and_push_to_repo:
runs-on: ubuntu-latest
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
- name: generate_deno
@@ -31,7 +31,7 @@ jobs:
tag_repo:
needs: [build_deno_and_push_to_repo]
runs-on: ubuntu-latest
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:

View File

@@ -16,7 +16,7 @@ permissions:
jobs:
build_ee:
runs-on: ubuntu-22.04
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:

View File

@@ -14,18 +14,25 @@ concurrency:
cancel-in-progress: true
permissions:
contents: read
contents: write
id-token: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3
with:
repository: windmill-labs/windmill-ee-private
path: ./windmill-ee-private
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 +44,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,15 +67,81 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: |
features=embedding,parquet
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
${{ steps.meta-public.outputs.tags }}
labels: |
${{ steps.meta-public.outputs.labels }}
org.opencontainers.image.licenses=AGPLv3
build_ee:
runs-on: ubuntu-latest
runs-on: ubicloud
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
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
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: 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:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: |
features=enterprise,enterprise_saml,stripe,embedding,parquet,prometheus
nsjail=true
tags: |
${{ 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]
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
@@ -78,31 +156,30 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
${{ 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 registry
- name: Login to ECR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Build and push publicly ee
- name: Build and push publicly ee reports
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
build-args: |
features=enterprise
nsjail=true
file: "./docker/DockerfileReports"
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
@@ -141,34 +218,101 @@ jobs:
# run: docker kill ${{ steps.docker-container.outputs.id }}
# if: always()
deploy_s3:
attach_amd64_binary_to_release:
needs: [build, build_ee]
runs-on: ubicloud
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
ARCH: amd64
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 }}/*
# 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 }}/*
publish_ecr_s3:
needs: [build_ee]
runs-on: ubuntu-latest
runs-on: ubicloud
if: github.event_name != 'pull_request'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: shrink/actions-docker-extract@v2
id: extract
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
path: "/static_frontend/."
- uses: reggionick/s3-deploy@v3
with:
folder: ${{ steps.extract.outputs.destination }}
bucket: windmill-frontend
bucket-region: us-east-1
publish_ecr:
needs: [build_ee]
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
with:
@@ -187,8 +331,132 @@ jobs:
- name: Push image to ECR
if: github.event_name != 'pull_request'
id: push_ecr
run: |
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:dev
echo "GIT_HASH=${git_hash:0:7}" >> "$GITHUB_OUTPUT"
- uses: shrink/actions-docker-extract@v3
if: github.event_name != 'pull_request'
id: extract
with:
image: |-
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}-ee:${{ steps.push_ecr.outputs.GIT_HASH }}
path: "/static_frontend/."
- uses: reggionick/s3-deploy@v3
if: github.event_name != 'pull_request'
with:
folder: ${{ steps.extract.outputs.destination }}
bucket: windmill-frontend
bucket-region: us-east-1
run_integration_test:
runs-on: ubicloud
needs: [build_ee]
steps:
- uses: actions/checkout@v3
with:
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:
name: Windmill Integration Tests Logs
path: |
integration_tests/logs
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: |
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
tag_latest_ee:
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 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
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

@@ -5,8 +5,6 @@ env:
name: Build windmill:mssql
on:
workflow_dispatch:
schedule:
- cron: "0 0 */4 * *"
concurrency:
group: ${{ github.ref }}-mssql

View File

@@ -1,14 +1,14 @@
name: check frontend build
on:
pull_request:
types: [opened,synchronize,reopened,closed]
types: [opened, synchronize, reopened, closed]
paths:
- "frontend/**"
merge_group:
jobs:
npm_check:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
@@ -16,4 +16,6 @@ jobs:
node-version: 18
- name: "npm check"
timeout-minutes: 2
run: cd frontend && npm ci && npm run generate-backend-client && npm run check
run:
cd frontend && npm ci && npm run generate-backend-client && npm run
check

View File

@@ -10,10 +10,14 @@ env:
jobs:
build_go_and_push_to_repo:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- name: install_jq
run: |
sudo apt-get update
sudo apt-get install jq
- name: generate_go
run: |
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.11.0

View File

@@ -6,7 +6,7 @@ on:
jobs:
build_npm:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3

View File

@@ -16,14 +16,17 @@ permissions:
packages: write
jobs:
publish_lsp:
runs-on: ubuntu-latest
sleep:
runs-on: ubicloud
steps:
- name: Sleep for 900 seconds waiting for pypi to update index
if: startsWith(github.ref, 'refs/tags/v')
run: sleep 900
shell: bash
publish_lsp:
needs: [sleep]
runs-on: ubicloud
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -62,7 +65,7 @@ jobs:
publish_lsp_private:
needs: [publish_lsp]
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v3
with:

View File

@@ -7,7 +7,7 @@ on:
jobs:
publish_pypi:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-8
if: startsWith(github.ref, 'refs/tags/v')
container:
image: ghcr.io/windmill-labs/python-client-builder

View File

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

View File

@@ -12,7 +12,7 @@ jobs:
- 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'
# Beta Release
uses: cla-assistant/github-action@v2.2.1
uses: cla-assistant/github-action@v2.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}

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

@@ -3,4 +3,5 @@
reverse_proxy /ws/* http://lsp:3001
# reverse_proxy /ws_mp/* http://multiplayer:3002
reverse_proxy /* http://windmill_server:8000
}
# tls /certs/cert.pem /certs/key.pem
}

View File

@@ -1,4 +1,8 @@
FROM debian:bookworm-slim 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
FROM ${DEBIAN_IMAGE} as nsjail
WORKDIR /nsjail
@@ -22,7 +26,7 @@ RUN if [ "$nsjail" = "true" ]; then git clone -b master --single-branch https://
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800; fi
RUN if [ "$nsjail" = "true" ]; then make; else touch nsjail; fi
FROM rust:slim-bookworm AS rust_base
FROM ${RUST_IMAGE} AS rust_base
RUN apt-get update && apt-get install -y git libssl-dev pkg-config npm
@@ -87,7 +91,7 @@ COPY .git/ .git/
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --features "$features"
FROM debian:bookworm-slim as downloader
FROM ${DEBIAN_IMAGE} as downloader
ARG TARGETPLATFORM
@@ -96,34 +100,57 @@ 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.36.3/deno-linux-arm64.zip -o deno.zip || true
RUN [ "$TARGETPLATFORM" == "linux/amd64" ] && curl -Lsf https://github.com/denoland/deno/releases/download/v1.36.3/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.40.5/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.40.5/deno-aarch64-unknown-linux-gnu.zip -o deno.zip || true
RUN unzip deno.zip && rm deno.zip
FROM python:3.11.4-slim-bookworm
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 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 \
&& rm -rf /var/lib/apt/lists/*
RUN 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/v7.3.5/powershell_7.3.5-1.deb_amd64.deb' && \
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' && \
rm 'pwsh.deb'; else echo 'pwshell not on amd64'; fi
rm 'pwsh.deb'; \
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then apt-get update -y && apt install libicu-dev -y && wget -O powershell.tar.gz "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-arm64.tar.gz" && \
mkdir -p /opt/microsoft/powershell/7 && \
tar zxf powershell.tar.gz -C /opt/microsoft/powershell/7 && \
chmod +x /opt/microsoft/powershell/7/pwsh && \
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh && \
rm powershell.tar.gz; \
else echo 'Could not install pwshell, not on amd64 or arm64'; fi; \
else echo 'Building the image without powershell'; fi
RUN arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
wget https://get.helm.sh/helm-v3.12.0-linux-$arch.tar.gz && \
tar -zxvf helm-v3.12.0-linux-$arch.tar.gz && \
RUN if [ "$WITH_HELM" = "true" ]; then \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
wget "https://get.helm.sh/helm-v${HELM_VERSION}-linux-$arch.tar.gz" && \
tar -zxvf "helm-v${HELM_VERSION}-linux-$arch.tar.gz" && \
mv linux-$arch/helm /usr/local/bin/helm &&\
chmod +x /usr/local/bin/helm
chmod +x /usr/local/bin/helm; \
else echo 'Building the image without helm'; fi
RUN arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
curl -LO "https://dl.k8s.io/release/v1.27.2/bin/linux/$arch/kubectl" && \
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
RUN if [ "$WITH_KUBECTL" = "true" ]; then \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
curl -LO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/$arch/kubectl" && \
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##*-}"; \
@@ -140,22 +167,25 @@ RUN set -eux; \
unzip awscliv2.zip && \
./aws/install && rm awscliv2.zip
RUN arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
curl -o rclone.zip "https://downloads.rclone.org/v1.60.1/rclone-v1.60.1-linux-$arch.zip"; \
unzip -p rclone.zip rclone-v1.60.1-linux-$arch/rclone > /usr/bin/rclone; rm rclone.zip; \
chown root:root /usr/bin/rclone; chmod 755 /usr/bin/rclone
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.0.linux-amd64.tar.gz'; \
targz='go1.21.6.linux-amd64.tar.gz'; \
;; \
'arm64') \
targz='go1.21.0.linux-arm64.tar.gz'; \
targz='go1.21.6.linux-arm64.tar.gz'; \
;; \
'armhf') \
targz='go1.21.0.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; \
@@ -164,14 +194,20 @@ RUN set -eux; \
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
ARG nsjail=""
RUN if [ "$nsjail" = "true" ]; then apt-get -y update \
&& apt-get install -y \
curl nodejs npm; fi
# 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\"\nwmill \"github.com/windmill-labs/windmill-go-client\")\nfunc main() { v := wmill.GetStatePath()\n fmt.Println(v) }" > warm.go && go mod tidy && go build -x && rm -rf /tmp/gobuildwarm
ENV TZ=Etc/UTC
RUN /usr/local/bin/python3 -m pip install pip-tools
COPY --from=frontend /frontend/build /static_frontend
COPY --from=builder /frontend/build /static_frontend
COPY --from=builder /windmill/target/release/windmill ${APP}/windmill
@@ -180,7 +216,7 @@ RUN chmod 755 /usr/bin/deno
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=oven/bun:1.0.2 /usr/local/bin/bun /usr/bin/bun
COPY --from=oven/bun:1.0.25 /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/
@@ -191,6 +227,8 @@ RUN ln -s ${APP}/windmill /usr/local/bin/windmill
WORKDIR ${APP}
RUN windmill cache
EXPOSE 8000
CMD ["windmill"]

317
README.md
View File

@@ -1,14 +1,11 @@
<p align="center">
<a href="https://www.windmill.dev/"><img src="./imgs/windmill-banner.png" alt="windmill.dev"></a>
</p>
<p align="center">
<em>.</em>
</p>
<p align=center>
Open-source developer infrastructure for internal tools. 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 UIs and no-code modules, no-code modules can be composed into very rich flows, and script and flows can be triggered from internal UIs made with a low-code builder. The script languages supported are: Python, TypeScript, Go, Bash, SQL. Scripts can be generated by an AI assistant powered by OpenAI.
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.
</p>
<p align="center">
@@ -36,7 +33,7 @@ Scripts are turned into UIs and no-code modules, no-code modules can be composed
<a href="https://app.windmill.dev">Try it</a> - <a href="https://www.windmill.dev/docs/intro/">Docs</a> - <a href="https://discord.gg/V7PM2YHsPB">Discord</a> - <a href="https://hub.windmill.dev">Hub</a> - <a href="https://www.windmill.dev/docs/misc/contributing">Contributor's guide</a>
</p>
# Windmill - Turn scripts into workflows and UIs that you can share and run at scale
# Windmill - Developer platform for APIs, background jobs, workflows and UIs
Windmill is <b>fully open-sourced (AGPLv3)</b> and Windmill Labs offers
dedicated instance and commercial support and licenses.
@@ -45,12 +42,13 @@ dedicated instance and commercial support and licenses.
https://github.com/windmill-labs/windmill/assets/122811744/0b132cd1-ee67-4505-822f-0c7ee7104252
- [Windmill - Turn scripts into workflows and UIs that you can share and run at scale](#windmill---turn-scripts-into-workflows-and-uis-that-you-can-share-and-run-at-scale)
- [Windmill - Developer platform for APIs, background jobs, workflows and UIs](#windmill---developer-platform-for-apis-background-jobs-workflows-and-uis)
- [Main Concepts](#main-concepts)
- [Show me some actual script code](#show-me-some-actual-script-code)
- [CLI](#cli)
- [Running scripts locally](#running-scripts-locally)
- [Stack](#stack)
- [Fastest Self-Hostable Workflow Engine](#fastest-self-hostable-workflow-engine)
- [Security](#security)
- [Sandboxing](#sandboxing)
- [Secrets, credentials and sensitive values](#secrets-credentials-and-sensitive-values)
@@ -59,11 +57,10 @@ https://github.com/windmill-labs/windmill/assets/122811744/0b132cd1-ee67-4505-82
- [How to self-host](#how-to-self-host)
- [Docker compose](#docker-compose)
- [Kubernetes (k8s) and Helm charts](#kubernetes-k8s-and-helm-charts)
- [Postgres without superuser](#postgres-without-superuser)
- [Run from binaries](#run-from-binaries)
- [OAuth, SSO \& SMTP](#oauth-sso--smtp)
- [Commercial license](#commercial-license)
- [OAuth for self-hosting](#oauth-for-self-hosting)
- [smtp for self-hosting](#smtp-for-self-hosting)
- [Resource types](#resource-types)
- [Integrations](#integrations)
- [Environment Variables](#environment-variables)
- [Run a local dev setup](#run-a-local-dev-setup)
- [only Frontend](#only-frontend)
@@ -74,22 +71,37 @@ https://github.com/windmill-labs/windmill/assets/122811744/0b132cd1-ee67-4505-82
## Main Concepts
1. Define a minimal and generic script in Python, TypeScript, Go or Bash that
solves a specific task. Here sending a POST request. The code can be defined
in the provided Web IDE or synchronized with your own github repo:
solves a specific task. The code can be defined in the
[provided Web IDE](https://www.windmill.dev/docs/code_editor) or
[synchronized with your own GitHub repo](https://www.windmill.dev/docs/advanced/cli/sync)
(e.g. through
[VS Code](https://www.windmill.dev/docs/cli_local_dev/vscode-extension)
extension):
![Step 1](./imgs/windmill-editor.png)
2. Your scripts parameters are automatically parsed and generate a frontend.
![Step 2](./imgs/windmill-run.png) ![Step 3](./imgs/windmill-result.png)
2. Your scripts parameters are automatically parsed and
[generate a frontend](https://www.windmill.dev/docs/core_concepts/auto_generated_uis).
![Step 2](./imgs/windmill-run.png)
![Step 3](./imgs/windmill-result.png)
3. Make it [flow](https://www.windmill.dev/docs/flows/flow_editor)! You can
chain your scripts or scripts made by the community shared on
[WindmillHub](https://hub.windmill.dev).
3. Make it flow! You can chain your scripts or scripts made by the community
shared on [WindmillHub](https://hub.windmill.dev).
![Step 3](./imgs/windmill-flow.png)
4. Build complex UIs on top of your scripts and flows.
4. Build [complex UIs](https://www.windmill.dev/docs/apps/app_editor) on top of
your scripts and flows.
![Step 4](./imgs/windmill-builder.png)
Scripts and flows can also be triggered by a cron schedule '_/5 _ \* \* \*' or
through webhooks.
Scripts and flows can also be triggered by a
[cron schedule](https://www.windmill.dev/docs/core_concepts/scheduling) (e.g.
'_/5 _ \* \* \*') or through
[webhooks](https://www.windmill.dev/docs/core_concepts/webhooks).
You can build your entire infra on top of Windmill!
@@ -145,7 +157,10 @@ instance from local commands. See
You can run your script locally easily, you simply need to pass the right
environment variables for the `wmill` client library to fetch resources and
variables from your instance if necessary. See more:
<https://www.windmill.dev/docs/advanced/local_development/>.
<https://www.windmill.dev/docs/advanced/local_development>.
To develop & test locally scripts & flows, we recommend using the Windmill VS
Code extension: <https://www.windmill.dev/docs/cli_local_dev/vscode-extension>.
## Stack
@@ -166,6 +181,19 @@ variables from your instance if necessary. See more:
- python runtime is python3
- golang runtime is 1.19.1
## Fastest Self-Hostable Workflow Engine
We have compared Windmill to other self-hostable workflow engines (Airflow,
Prefect & Temporal) and Windmill is the most performant solution for both
benchmarks: one flow composed of 40 lightweight tasks & one flow composed of 10
long-running tasks.
All methodology & results on our
[Benchmarks](https://www.windmill.dev/docs/misc/benchmarks/competitors#airflow-setup)
page.
![Fastest workflow engine](./imgs/fastest.png)
## Security
### Sandboxing
@@ -203,10 +231,16 @@ back to the database is ~50ms. A typical lightweight deno job will take around
We only provide docker-compose setup here. For more advanced setups, like
compiling from source or using without a postgres super user, see
[documentation](https://www.windmill.dev/docs/advanced/self_host).
[Self-Host documentation](https://www.windmill.dev/docs/advanced/self_host).
### Docker compose
Windmill can be deployed using 3 files:
([docker-compose.yml](./docker-compose.yml), [Caddyfile](./Caddyfile) and a
[.env](./.env)) in a single command.
Make sure Docker is started, and run:
```
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/docker-compose.yml -o docker-compose.yml
curl https://raw.githubusercontent.com/windmill-labs/windmill/main/Caddyfile -o Caddyfile
@@ -221,151 +255,142 @@ The default super-admin user is: admin@windmill.dev / changeme.
From there, you can follow the setup app and create other users.
More details in
[Self-Host Documention](https://www.windmill.dev/docs/advanced/self_host#docker).
### Kubernetes (k8s) and Helm charts
We publish helm charts at:
<https://github.com/windmill-labs/windmill-helm-charts>.
### Run from binaries
Each release includes the corresponding binaries for x86_64. You can simply
download the latest `windmill` binary using the following set of bash commands.
```bash
BINARY_NAME='windmill-amd64' # or windmill-ee-amd64 for the enterprise edition
LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/windmill-labs/windmill/releases/latest)
LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
ARTIFACT_URL="https://github.com/windmill-labs/windmill/releases/download/$LATEST_VERSION/$BINARY_NAME"
wget "$ARTIFACT_URL" -O windmill
```
### OAuth, SSO & SMTP
Windmill Community Edition allows to configure the OAuth, SSO (including Google Workspace SSO, Microsoft/Azure and Okta) directly from the UI in the superadmin settings. Do note that there is a limit of 50 SSO users on the community edition.
Windmill Community Edition allows to configure the OAuth, SSO (including Google
Workspace SSO, Microsoft/Azure and Okta) directly from the UI in the superadmin
settings. Do note that there is a limit of 10 SSO users on the community
edition.
[See documentation](https://www.windmill.dev/docs/misc/setup_oauth).
### Commercial license
To self-host Windmill, you must respect the terms of the AGPLv3 license which
you do not need to worry about for personal uses. For business uses, you should
be fine if you do not re-expose it in any way Windmill to your users and are
comfortable with AGPLv3.
To self-host Windmill, you must respect the terms of the
[AGPLv3 license](https://www.gnu.org/licenses/agpl-3.0.en.html) which you do not
need to worry about for personal uses. For business uses, you should be fine if
you do not re-expose Windmill in any way to your users and are comfortable with
AGPLv3.
To re-expose any Windmill parts to your users as a feature of your product, or
to build a feature on top of Windmill, to comply with AGPLv3 your product must
be AGPLv3 or you must get a commercial license. Contact us at
<ruben@windmill.dev> if you have any doubts.
To
[re-expose any Windmill parts to your users](https://www.windmill.dev/docs/misc/white_labelling)
as a feature of your product, or to build a feature on top of Windmill, to
comply with AGPLv3 your product must be AGPLv3 or you must get a commercial
license. Contact us at <ruben@windmill.dev> if you have any doubts.
In addition, a commercial license grants you a dedicated engineer to transition
your current infrastructure to Windmill, support with tight SLA, and our global
cache sync for high-performance/no dependency cache miss of cluster from 10+
nodes to 200+ nodes.
### Resource types
### Integrations
You will also want to import all the approved resource types from
[WindmillHub](https://hub.windmill.dev). A setup script will prompt you to have
it being synced automatically everyday.
In Windmill, integrations are referred to as
[resources and resource types](https://www.windmill.dev/docs/core_concepts/resources_and_types).
Each Resource has a Resource Type that defines the schema that the resource
needs to implement.
On self-hosted instances, you might want to import all the approved resource
types from [WindmillHub](https://hub.windmill.dev). A setup script will prompt
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 |
| SERVER_BIND_ADDR | 0.0.0.0 | IP Address on which to bind listening socket | Server |
| PORT | 8000 | Exposed port | Server |
| DISABLE_SERVER | false | Disable the external API, operate as a worker only instance | Worker |
| 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 | 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 | 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 to run when a root job fails. The script 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 API base path (no trailing slash) | Server |
| DISABLE_NSJAIL | true | Disable Nsjail Sandboxing | 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/`
### 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
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/`:
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/`
| 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 |
| 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 | |
| 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 |
## Contributors

View File

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

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": "DELETE FROM usr WHERE workspace_id = $1 AND email = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": []
},
"hash": "00be497354f5375e9ccffb998d126a853da91d607ff9e57e10d0e5481e4d3848"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT running FROM queue WHERE id = $1 AND workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "running",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid",
"Text"
]
},
"nullable": [
false
]
},
"hash": "02bb4ea17e83c79f870e2655d6d9c035af6d763b7ee9577280785ccf0220a123"
}

View File

@@ -1,17 +1,17 @@
{
"db_name": "PostgreSQL",
"query": "SELECT result FROM completed_job WHERE id = ANY($1) AND workspace_id = $2",
"query": "SELECT flow_status FROM completed_job WHERE id = $1 AND workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "result",
"name": "flow_status",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": [
"UuidArray",
"Uuid",
"Text"
]
},
@@ -19,5 +19,5 @@
true
]
},
"hash": "a227548b6604c56bfc15eb780bd8ee72a89dc6701a50f5048e928bd87baa7b9a"
"hash": "061ff848f258dc880bec81d923370c905e689f37c6d931ee4559c3cfd394e168"
}

View File

@@ -1,22 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT mem_peak FROM queue WHERE id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "mem_peak",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
true
]
},
"hash": "0715955b7e98cc669a88eca6556cd46b7f9c07fcf32a24f85b69720b54e6e95f"
}

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

@@ -0,0 +1,26 @@
{
"db_name": "PostgreSQL",
"query": "SELECT login_type, COUNT(*) FROM password GROUP BY login_type",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "login_type",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "count",
"type_info": "Int8"
}
],
"parameters": {
"Left": []
},
"nullable": [
false,
null
]
},
"hash": "08e4a2dc49c75aa356f3cc75a4abd8fc61409776d641ddb592a4c731e61a0468"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "WITH uuid_table as (\n select gen_random_uuid() as uuid from generate_series(1, $11)\n )\n INSERT INTO queue \n (id, script_hash, script_path, job_kind, language, args, tag, created_by, permissioned_as, email, scheduled_for, workspace_id)\n (SELECT uuid, $1, $2, $3, $4, ('{ \"uuid\": \"' || uuid || '\" }')::jsonb, $5, $6, $7, $8, $9, $10 FROM uuid_table) \n RETURNING id",
"query": "WITH uuid_table as (\n select gen_random_uuid() as uuid from generate_series(1, $11)\n )\n INSERT INTO queue \n (id, script_hash, script_path, job_kind, language, args, tag, created_by, permissioned_as, email, scheduled_for, workspace_id, concurrent_limit, concurrency_time_window_s, timeout)\n (SELECT uuid, $1, $2, $3, $4, ('{ \"uuid\": \"' || uuid || '\" }')::jsonb, $5, $6, $7, $8, $9, $10, $12, $13, $14 FROM uuid_table) \n RETURNING id",
"describe": {
"columns": [
{
@@ -30,7 +30,9 @@
"graphql",
"postgresql",
"noop",
"appdependencies"
"appdependencies",
"deploymentcallback",
"singlescriptflow"
]
}
}
@@ -52,7 +54,8 @@
"bigquery",
"snowflake",
"graphql",
"powershell"
"powershell",
"mssql"
]
}
}
@@ -63,6 +66,9 @@
"Varchar",
"Timestamptz",
"Varchar",
"Int4",
"Int4",
"Int4",
"Int4"
]
},
@@ -70,5 +76,5 @@
false
]
},
"hash": "6b9ff3fbca9e825c95d14705082a10de88172c0c748a45aba4d2d03c3b58f54d"
"hash": "0a686ca61444d7ad7484071727aa039a6ea6697e5a49a633b767c052aa3e0a18"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue\n SET flow_status = JSONB_SET(\n JSONB_SET(flow_status, ARRAY['failure_module'], $1), ARRAY['step'], $2)\n WHERE id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Jsonb",
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "0aff8b0f2cddc0dd696759f48368c7315ff39060be5430c59582e1e05a4b3d90"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE concurrency_counter SET job_uuids = job_uuids - $2 WHERE concurrency_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": []
},
"hash": "0be8c6f698a715d015126a7871a39fd7c25ad5269d3313ee1a32533b6d346446"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue\n SET flow_status = JSONB_SET(flow_status, ARRAY['failure_module'], $1)\n WHERE id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "0c0b5d5d1e6ab2fed7532f94b50be3210e3845b61551691bbef81c2b6fb01121"
}

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,20 @@
{
"db_name": "PostgreSQL",
"query": "SELECT value\n FROM global_settings\n WHERE name = 'openai_azure_base_path'",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "value",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": []
},
"nullable": [
false
]
},
"hash": "0cc3618495d5d024b2a173c58a3a8bb2a9d69b7b6e7ed6b0d0064fa2ce9c2e31"
}

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

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT extra_perms from resource WHERE path = $1 AND workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "extra_perms",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false
]
},
"hash": "108e4c505168381b51ad298b5294aa73e84d35bb68a5911985139bbf94c1d231"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE script SET ws_error_handler_muted = $3 WHERE workspace_id = $2 AND path = $1 AND created_at = (SELECT max(created_at) FROM script WHERE path = $1 AND workspace_id = $2)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Bool"
]
},
"nullable": []
},
"hash": "1182fe055306d7ea435d76b74d781e066915c8397e6bbc9e408ff3dda9fec27f"
}

View File

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

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

@@ -72,6 +72,41 @@
"ordinal": 13,
"name": "code_completion_enabled",
"type_info": "Bool"
},
{
"ordinal": 14,
"name": "error_handler_extra_args",
"type_info": "Json"
},
{
"ordinal": 15,
"name": "error_handler_muted_on_cancel",
"type_info": "Bool"
},
{
"ordinal": 16,
"name": "large_file_storage",
"type_info": "Jsonb"
},
{
"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"
}
],
"parameters": {
@@ -93,6 +128,13 @@
true,
true,
true,
false,
true,
false,
true,
true,
true,
true,
false
]
},

View File

@@ -0,0 +1,35 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET canceled = true, canceled_by = $2, scheduled_for = now(), suspend = 0 WHERE scheduled_for < now() AND workspace_id = $1 AND schedule_path IS NULL RETURNING id, running, is_flow_step",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "running",
"type_info": "Bool"
},
{
"ordinal": 2,
"name": "is_flow_step",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text",
"Varchar"
]
},
"nullable": [
false,
false,
true
]
},
"hash": "18699cb0eca25b6bde05d81571dfdea8cafd0043634f61b0f652a93767c9c30a"
}

View File

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

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue SET canceled = true, canceled_by = $2, scheduled_for = now(), suspend = 0 WHERE workspace_id = $1 AND schedule_path IS NULL RETURNING id",
"query": "SELECT id FROM queue WHERE schedule_path = $1 AND workspace_id = $2 AND id != $3 AND running = true",
"describe": {
"columns": [
{
@@ -12,12 +12,13 @@
"parameters": {
"Left": [
"Text",
"Varchar"
"Text",
"Uuid"
]
},
"nullable": [
false
]
},
"hash": "e25829ed40f35a0f59a9838d030a7f888ca88441e069e73a52d75450aecae70e"
"hash": "1af5ccc82048df95a791949e7b141861dbfd5c08daea615dde081e29f7459b9d"
}

View File

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "SELECT restart_unless_cancelled FROM script WHERE hash = $1 AND workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "restart_unless_cancelled",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Int8",
"Text"
]
},
"nullable": [
true
]
},
"hash": "1d27895aa42ccbb542479b19baefd62790205b529ab0d8af36f18c470e8bb838"
}

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

@@ -1,29 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT result, id\n FROM completed_job\n WHERE id = ANY($1)\n AND workspace_id = $2\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "result",
"type_info": "Jsonb"
},
{
"ordinal": 1,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"UuidArray",
"Text"
]
},
"nullable": [
true,
false
]
},
"hash": "1f040850c2a82bc09789226b167c43fd4935cfbb4951760a4d527665b70a5ac7"
}

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

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE workspace_settings SET error_handler = $1 WHERE workspace_id = $2",
"query": "UPDATE email_to_igroup SET email = $1 WHERE email = $2",
"describe": {
"columns": [],
"parameters": {
@@ -11,5 +11,5 @@
},
"nullable": []
},
"hash": "e844b9ee75a1b5438ffe743185fc78f649db89c78b2b8cd7e778bf18a6b41e67"
"hash": "22ff7c00b2d3e93ea9e147fc9a5bac1d55858f89039ae5baecdc9ceca668adab"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO completed_job AS cj\n ( workspace_id\n , id\n , parent_job\n , created_by\n , created_at\n , started_at\n , duration_ms\n , success\n , script_hash\n , script_path\n , args\n , result\n , logs\n , raw_code\n , raw_lock\n , canceled\n , canceled_by\n , canceled_reason\n , job_kind\n , schedule_path\n , permissioned_as\n , flow_status\n , raw_flow\n , is_flow_step\n , is_skipped\n , language\n , email\n , visible_to_owner\n , mem_peak\n , tag\n )\n VALUES ($1, $2, $3, $4, $5, COALESCE($6, now()), COALESCE($26, (EXTRACT('epoch' FROM (now())) - EXTRACT('epoch' FROM (COALESCE($6, now()))))*1000), $7, $8, $9,$10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $27, $28, $29, $30)\n ON CONFLICT (id) DO UPDATE SET success = $7, result = $11, logs = concat(cj.logs, $12) RETURNING duration_ms",
"query": "INSERT INTO completed_job AS cj\n ( workspace_id\n , id\n , parent_job\n , created_by\n , created_at\n , started_at\n , duration_ms\n , success\n , script_hash\n , script_path\n , args\n , result\n , logs\n , raw_code\n , raw_lock\n , canceled\n , canceled_by\n , canceled_reason\n , job_kind\n , schedule_path\n , permissioned_as\n , flow_status\n , raw_flow\n , is_flow_step\n , is_skipped\n , language\n , email\n , visible_to_owner\n , mem_peak\n , tag\n , priority\n )\n VALUES ($1, $2, $3, $4, $5, COALESCE($6, now()), COALESCE($26, (EXTRACT('epoch' FROM (now())) - EXTRACT('epoch' FROM (COALESCE($6, now()))))*1000), $7, $8, $9,$10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $27, $28, $29, $30, $31)\n ON CONFLICT (id) DO UPDATE SET success = $7, result = $11, logs = concat(cj.logs, $12) RETURNING duration_ms",
"describe": {
"columns": [
{
@@ -45,7 +45,9 @@
"graphql",
"postgresql",
"noop",
"appdependencies"
"appdependencies",
"deploymentcallback",
"singlescriptflow"
]
}
}
@@ -73,7 +75,8 @@
"bigquery",
"snowflake",
"graphql",
"powershell"
"powershell",
"mssql"
]
}
}
@@ -82,12 +85,13 @@
"Varchar",
"Bool",
"Int4",
"Varchar"
"Varchar",
"Int2"
]
},
"nullable": [
false
]
},
"hash": "25bef6a248f3ee0ea2cbcc376c217cbcf1013ae311c36b42d423bf6a02fa016c"
"hash": "254776959f60455a00a2c29a1783ee6b27c836197df6454d3bb5c59441c34f44"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO script (workspace_id, hash, path, parent_hashes, summary, description, content, created_by, schema, is_template, extra_perms, lock, language, kind, tag, draft_only, envs, concurrent_limit, concurrency_time_window_s, cache_ttl, dedicated_worker) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9::text::json, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)",
"query": "INSERT INTO script (workspace_id, hash, path, parent_hashes, summary, description, content, created_by, schema, is_template, extra_perms, lock, language, kind, tag, draft_only, envs, concurrent_limit, concurrency_time_window_s, cache_ttl, dedicated_worker, ws_error_handler_muted, priority, restart_unless_cancelled, delete_after_use, timeout, concurrency_key) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9::text::json, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27)",
"describe": {
"columns": [],
"parameters": {
@@ -34,7 +34,8 @@
"bigquery",
"snowflake",
"graphql",
"powershell"
"powershell",
"mssql"
]
}
}
@@ -59,10 +60,16 @@
"Int4",
"Int4",
"Int4",
"Bool"
"Bool",
"Bool",
"Int2",
"Bool",
"Bool",
"Int4",
"Varchar"
]
},
"nullable": []
},
"hash": "438b5b5d29b05846c2e074cad2404e797527841cd97dba80c271cbefafae65cc"
"hash": "260feb784bb0b223bd9276d6a82bd26be90efb17a4323b9673e93ff88513942a"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue\n SET flow_status = JSONB_SET(flow_status, ARRAY['step'], $1)\n WHERE id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "26106be4d94c159cc8d9eb37a3b94927c5d3d43c18cdb5e98e979e761ed6ed0e"
}

View File

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

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT concurrency_key FROM script WHERE hash = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "concurrency_key",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Int8"
]
},
"nullable": [
true
]
},
"hash": "2719f910142b32476a16025bb9836b0cab019ba0a436b330ea3a53fba4725f73"
}

View File

@@ -1,16 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE queue\n SET leaf_jobs = JSONB_SET(coalesce(leaf_jobs, '{}'::jsonb), ARRAY[$1::TEXT], $2)\n WHERE COALESCE((SELECT root_job FROM queue WHERE id = $3), $3) = id\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "2a3ebe1b0eae5b2164894321e138cc4dc0293788aeb98d05d95d18dfc708d6a6"
}

View File

@@ -0,0 +1,18 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE job_stats SET timestamps = timestamps || $4, timeseries_float = timeseries_float || $5 WHERE workspace_id = $1 AND job_id = $2 AND metric_id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid",
"Text",
"TimestamptzArray",
"Float4Array"
]
},
"nullable": []
},
"hash": "2ce7a562b1de63f767758642a4864ed982b74b53a143901480058f957b9641dc"
}

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

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "select hash, tag, concurrent_limit, concurrency_time_window_s, cache_ttl, language as \"language: ScriptLang\", dedicated_worker from script where path = $1 AND workspace_id = $2 AND\n created_at = (SELECT max(created_at) FROM script WHERE path = $1 AND workspace_id = $2 AND\n deleted = false AND archived = false)",
"query": "select hash, tag, concurrent_limit, concurrency_time_window_s, cache_ttl, language as \"language: ScriptLang\", dedicated_worker, priority, timeout FROM script where path = $1 AND workspace_id = $2 AND\n created_at = (SELECT max(created_at) FROM script WHERE path = $1 AND workspace_id = $2 AND\n deleted = false AND archived = false)",
"describe": {
"columns": [
{
@@ -48,7 +48,8 @@
"bigquery",
"snowflake",
"graphql",
"powershell"
"powershell",
"mssql"
]
}
}
@@ -58,6 +59,16 @@
"ordinal": 6,
"name": "dedicated_worker",
"type_info": "Bool"
},
{
"ordinal": 7,
"name": "priority",
"type_info": "Int2"
},
{
"ordinal": 8,
"name": "timeout",
"type_info": "Int4"
}
],
"parameters": {
@@ -73,8 +84,10 @@
true,
true,
false,
true,
true,
true
]
},
"hash": "5cd89ab614d3cac80fb81627267ee85b191263989b0c78b2bfce77e796e96825"
"hash": "2f42460fdd8aa125c8fd46b3cd02e47f57de0f073d3ce3bc7d21a7e404a83b5c"
}

View File

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

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,29 @@
{
"db_name": "PostgreSQL",
"query": "SELECT s.hash as hash, dm.deployment_msg as deployment_msg \n FROM script s LEFT JOIN deployment_metadata dm ON s.hash = dm.script_hash\n WHERE s.workspace_id = $1 AND s.path = $2\n ORDER by created_at DESC",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "hash",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "deployment_msg",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false,
true
]
},
"hash": "362419eb262c83d6a98a0200b116e831ada60399fe5f55a56d930cc69aff2675"
}

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

@@ -0,0 +1,23 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE concurrency_counter SET job_uuids = job_uuids - $2 WHERE concurrency_id = $1 RETURNING (SELECT COUNT(*) FROM jsonb_object_keys(job_uuids))",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "count",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
null
]
},
"hash": "38a3fbc28e827d08a928d441274c5eb28780abc8adffcc7175f6c8d4ff8849ca"
}

View File

@@ -0,0 +1,29 @@
{
"db_name": "PostgreSQL",
"query": "SELECT tag, dedicated_worker from flow WHERE path = $1 and workspace_id = $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "tag",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "dedicated_worker",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
true,
true
]
},
"hash": "3a534b4fc36171efaa7c647f48320b59bbc414cfb92e960c174dd63fc180e187"
}

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

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT workspace_id, auto_invite_operator FROM workspace_settings WHERE auto_invite_domain = $1",
"query": "SELECT workspace_id, auto_invite_operator, auto_add FROM workspace_settings WHERE auto_invite_domain = $1 OR auto_invite_domain = '*'",
"describe": {
"columns": [
{
@@ -12,6 +12,11 @@
"ordinal": 1,
"name": "auto_invite_operator",
"type_info": "Bool"
},
{
"ordinal": 2,
"name": "auto_add",
"type_info": "Bool"
}
],
"parameters": {
@@ -21,8 +26,9 @@
},
"nullable": [
false,
true,
true
]
},
"hash": "9db64c9ff790d8c833c1e831a87803c32103ce9de68cc9c08d6f56cc988d7e37"
"hash": "3bea19482b516841561702a73fe64f411342ed0c169164eadf2f4c3f6c2e3ba1"
}

View File

@@ -1,15 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE queue\n SET suspend = $1, suspend_until = now() + interval '14 day', running = true\n WHERE id = $2\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Int4",
"Uuid"
]
},
"nullable": []
},
"hash": "3c83e6adf21b7a8572529f9175cf6d2d30ea8c921ae2bf751b6825a3e453a012"
}

View File

@@ -0,0 +1,24 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO concurrency_counter(concurrency_id, job_uuids) VALUES ($1, $2)\n ON CONFLICT (concurrency_id) \n DO UPDATE SET job_uuids = jsonb_set(concurrency_counter.job_uuids, array[$3], '{}')\n RETURNING (SELECT COUNT(*) FROM jsonb_object_keys(job_uuids))",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "count",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Varchar",
"Jsonb",
"Text"
]
},
"nullable": [
null
]
},
"hash": "3e3d12a51cb524fbd3d6949e150cb608acfbe8c8eade1939e813086380c205e0"
}

View File

@@ -0,0 +1,14 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE completed_job\n SET logs = '##DELETED##', args = '{}'::jsonb, result = '{}'::jsonb\n WHERE id = ANY($1)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"UuidArray"
]
},
"nullable": []
},
"hash": "42543450a5c1b988b258fb1e0c00cd0a53a0395bc60e35817ff149c4f27a19fb"
}

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

@@ -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": [
{
@@ -105,6 +105,31 @@
},
{
"ordinal": 20,
"name": "ws_error_handler_muted",
"type_info": "Bool"
},
{
"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"
}
@@ -137,8 +162,13 @@
true,
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

@@ -1,14 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE concurrency_counter SET counter = counter - 1 WHERE concurrency_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "467247beca4dae321ab3acc3a99f655412761157cda54bbd3e58cada3de3396c"
}

View File

@@ -1,16 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE queue\n SET flow_status = JSONB_SET(flow_status, ARRAY['modules', $1::TEXT], $2)\n WHERE id = $3\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "47a74719faba8a6377ba157d25929a6f1e74afdffd642d5a1c7db57e745e0c01"
}

View File

@@ -0,0 +1,46 @@
{
"db_name": "PostgreSQL",
"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": [
{
"ordinal": 0,
"name": "premium",
"type_info": "Bool"
},
{
"ordinal": 1,
"name": "usage?",
"type_info": "Int4"
},
{
"ordinal": 2,
"name": "customer_id",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "plan",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "automatic_billing",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
false,
true,
true,
false
]
},
"hash": "49a8fe5c538d8fc26f6d8ece5b30dd02a128f571039714e61525e2bb86591d93"
}

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

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT premium FROM workspace WHERE workspace.id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "premium",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "4c970f10d345bcdcf956dcbfa22b6e80888e511fb4787cb1a7976878abed1d30"
}

View File

@@ -1,15 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE queue\n SET flow_status = JSONB_SET(flow_status, ARRAY['step'], $1)\n WHERE id = $2\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "4de3ba6930b91c639f9f3939dab7b3ab35aa792484e4ccb8084c336a2ec60f45"
}

View File

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

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,14 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM draft WHERE workspace_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text"
]
},
"nullable": []
},
"hash": "53a70f4bd6ded970841c6064352c69b019ff84059d9c06a0536eda45d468397c"
}

View File

@@ -1,17 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE queue\n SET flow_status = JSONB_SET(\n JSONB_SET(flow_status, ARRAY['modules', $1::TEXT], $2),\n ARRAY['step'], $3)\n WHERE id = $4\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Jsonb",
"Jsonb",
"Uuid"
]
},
"nullable": []
},
"hash": "53ec897ac019abf3fc4499f593adadf85af465d66c1a23b0549d176edbabad79"
}

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE queue\n SET suspend = $1, suspend_until = now() + interval '14 day', running = true\n WHERE id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Int4",
"Uuid"
]
},
"nullable": []
},
"hash": "53ff0e14c35a3e84585a699e55093546db5c5f0ad0c5f92f34aaf2cdd125d130"
}

View File

@@ -72,6 +72,41 @@
"ordinal": 13,
"name": "code_completion_enabled",
"type_info": "Bool"
},
{
"ordinal": 14,
"name": "error_handler_extra_args",
"type_info": "Json"
},
{
"ordinal": 15,
"name": "error_handler_muted_on_cancel",
"type_info": "Bool"
},
{
"ordinal": 16,
"name": "large_file_storage",
"type_info": "Jsonb"
},
{
"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"
}
],
"parameters": {
@@ -93,6 +128,13 @@
true,
true,
true,
false,
true,
false,
true,
true,
true,
true,
false
]
},

View File

@@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM deployment_metadata WHERE path = $1 AND workspace_id = $2 AND script_hash IS NOT NULL",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": []
},
"hash": "54bb09f68de5615a75b2174032e5fcebc314eeeccbcc609ba154fd062fe0f2fd"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT job FROM token WHERE token = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
true
]
},
"hash": "55cf43cb9219b43f8e9f94b23b62846cd0b1ef5f64d20b0d975d0058730f427b"
}

View File

@@ -0,0 +1,16 @@
{
"db_name": "PostgreSQL",
"query": "UPDATE instance_group SET scim_display_name = $1, name = $2 where id = $3",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Text"
]
},
"nullable": []
},
"hash": "574d9a2bb6eceb62f3d2c2be3f18b29ef8bba3d6da1b1e21f2ca307ccbebee89"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO schedule (workspace_id, path, schedule, timezone, edited_by, script_path, is_flow, args, enabled, email, on_failure, on_failure_times, on_failure_exact, on_failure_extra_args, on_recovery, on_recovery_times, on_recovery_extra_args) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING *",
"query": "INSERT INTO schedule (workspace_id, path, schedule, timezone, edited_by, script_path, is_flow, args, enabled, email, on_failure, on_failure_times, on_failure_exact, on_failure_extra_args, on_recovery, on_recovery_times, on_recovery_extra_args, ws_error_handler_muted, retry, summary, no_flow_overlap, tag ) VALUES ( $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22 ) RETURNING *",
"describe": {
"columns": [
{
@@ -102,6 +102,31 @@
"ordinal": 19,
"name": "on_recovery_extra_args",
"type_info": "Json"
},
{
"ordinal": 20,
"name": "ws_error_handler_muted",
"type_info": "Bool"
},
{
"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"
}
],
"parameters": {
@@ -122,7 +147,12 @@
"Json",
"Varchar",
"Int4",
"Json"
"Json",
"Bool",
"Jsonb",
"Varchar",
"Bool",
"Varchar"
]
},
"nullable": [
@@ -145,8 +175,13 @@
true,
true,
true,
true,
false,
true,
true,
false,
true
]
},
"hash": "9b9afb9d5ef57b70de1207c4546b5547e579d978d899325d821a5aee1df1a9fc"
"hash": "597335a4a1eda7799303e0d930b5468af2364f5d2075aab48787b93e5774336d"
}

View File

@@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "SELECT EXISTS(SELECT 1 FROM worker_ping WHERE custom_tags @> $1 AND ping_at > now() - interval '1 minute')",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "exists",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"TextArray"
]
},
"nullable": [
null
]
},
"hash": "5d1ec728380ea8baf64df54743e73008ee9a58e6f39a5bf31a2ed099727f5c04"
}

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