Commit Graph

861 Commits

Author SHA1 Message Date
Guillaume Bouvignies
126773122a 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
Ruben Fiszel
31fb948c35 handle null lockfiles better 2024-02-07 22:15:42 +01:00
Ruben Fiszel
5c3ec3c5fb nit on txs 2024-02-06 16:40:43 +01:00
Ruben Fiszel
001d02e725 fix: increase default max conn of a worker to 4 2024-02-06 15:33:05 +01:00
Guillaume Bouvignies
92931dbe71 fix: go preload wmill dependencies (#3149)
* fix: go preload wmill dependencies

* update comment
2024-02-05 18:13:59 +01:00
Ruben Fiszel
6d33964227 fix: decrease database connections of workers to 3 2024-02-04 18:32:14 +01:00
Guillaume Bouvignies
bbda7cf268 feat: Support for Azure Blob storage (#3130) 2024-02-02 19:55:07 +01:00
HugoCasa
35daa0b7ad feat: disable self approval toggle (#3137)
* feat: disable self approval toggle

* fix: nits
2024-02-02 11:19:50 +01:00
Guillaume Bouvignies
0003673e8d 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
Ruben Fiszel
fc6d0659e9 add cuda dockerfile 2024-01-31 11:20:06 +01:00
Ruben Fiszel
4c7c73c3e3 JOB_RETENTION_SECS set to 30days by default 2024-01-31 10:55:28 +01:00
Audrius Butkevicius
ab0e98d775 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
Guillaume Bouvignies
ef76a90e34 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
Guillaume Bouvignies
a190f9b91c 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
f822de3b98 improve app tab selection 2024-01-22 23:27:00 +01:00
Ruben Fiszel
46f4d1bc46 fix: improve error message format for logs 2024-01-18 13:10:58 +01:00
Ruben Fiszel
51929d2bd7 fix: make some eval onDemandOnly 2024-01-18 08:22:24 +01:00
Guillaume Bouvignies
b7d4971531 fix: lock file in metadata is now a string (#3027) 2024-01-17 20:06:33 +01:00
Ruben Fiszel
a24645ee00 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
Guillaume Bouvignies
33788f6361 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
2edba18038 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
22f502d2a8 feat: add support for bun install scopes 2024-01-12 23:48:58 +01:00
Guillaume Bouvignies
2138171c5a 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
ca4aac5eaa feat: add ability to use secrets in pip requirements 2024-01-10 13:12:20 +01:00
Ruben Fiszel
bb84ab654a 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
Guillaume Bouvignies
6f2ad5f5f4 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
Guillaume Bouvignies
08d24fe37b feat: Job caching now works with S3 files (#2934) 2023-12-30 03:40:05 +01:00
Ruben Fiszel
b290cbb758 feat: add summary to schedules 2023-12-26 14:15:46 +01:00
Guillaume Bouvignies
2870d4882d 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
Ruben Fiszel
5ce3aabbf1 fix(cli): remove is_expired from variables 2023-12-14 12:34:16 +01:00
HugoCasa
850cf5df36 feat: ee-only stats (#2849) 2023-12-13 18:46:03 +01:00
Guillaume Bouvignies
7c71b65a99 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
953b80cab7 feat: Add jitter to exponential backoff (#2842) 2023-12-12 18:36:22 +01:00
Guillaume Bouvignies
c32b88c5f5 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
Ruben Fiszel
715cb08fcd fix: make cleanup_module backcompatible 2023-12-10 13:29:51 +01:00
Ruben Fiszel
33c24e1186 feat: embedded server only get killed after last job of worker 2023-12-10 10:51:32 +01:00
Guillaume Bouvignies
346d9affa5 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
HugoCasa
47a71ccde4 feat: limit pro plans (#2794) 2023-12-06 17:47:32 +01:00
Ruben Fiszel
dd9bc64966 fix: smtp doesn't require username/password 2023-12-06 12:25:44 +01:00
Guillaume Bouvignies
925632ffd7 feat: CLI now accepts message arg for sync push (#2784) 2023-12-05 19:01:09 +01:00
Guillaume Bouvignies
2980402ca3 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
bfb5eb27b5 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
36db047a86 feat: Custom content type for script and flow results (#2767) 2023-12-04 13:19:40 +01:00
Ruben Fiszel
f31cdc46ff feat: save inline scripts of apps to workspace + search by path 2023-12-03 15:13:57 +01:00
HugoCasa
253b679271 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
Ruben Fiszel
49ecb54692 feat: add early return for flows 2023-11-26 14:30:49 +01:00
Ruben Fiszel
c9c88dd3d5 feat: agent mode v0 2023-11-20 00:32:17 +01:00
Ruben Fiszel
e9a3b15a3d fix: migrate old state env variable to new env variable 2023-11-18 17:32:41 +01:00
HugoCasa
c5c2548ea6 fix: remove stats payload logging (#2644) 2023-11-17 19:19:10 +01:00
Ruben Fiszel
f1571fd07e fix: improve suspended flow handling when missing next step 2023-11-17 13:13:05 +01:00