Commit Graph

428 Commits

Author SHA1 Message Date
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
Ruben Fiszel 518a8396b3 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 93851ffd37 feat: collect vcpus and accounts usage (#2635) 2023-11-16 13:52:56 +01:00
Ruben Fiszel 9270c5dd83 feat: add support for requiring users to pre-exist 2023-11-11 15:53:09 +01:00
Guillaume Bouvignies 9692a0afcb 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
HugoCasa 2fe623cf6b 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
HugoCasa 0a6b37ffab 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
Ruben Fiszel aeacaa2b01 fix: improve dedicated workers 2023-11-06 11:21:36 +01:00
Ruben Fiszel 48e86ac96d add version to workers 2023-11-05 18:59:32 +01:00
Guillaume Bouvignies d3698fc07b 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
Ruben Fiszel 64e98367a8 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
Guillaume Bouvignies 8dfff04730 fix: Slack error handler missing "slack" arg (#2546) 2023-11-02 22:33:16 +01:00
Guillaume Bouvignies 7b7cf8b050 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
Guillaume Bouvignies 29ea5f0f7e 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 353f4fcfdb add loki as optional feature flag 2023-10-27 11:51:26 +02:00
Ruben Fiszel bb5aad4eb8 associate metrics with tags and not langs anymore 2023-10-26 23:44:25 +02:00
Ruben Fiszel 35665cf102 fix: move keep job directories and expose debug metrics to instance settings UI 2023-10-26 13:08:39 +02:00
Ruben Fiszel 57dc62b298 fix: prometheus metrics are an instance settings 2023-10-25 23:32:47 +02:00
Guillaume Bouvignies 9f6f7150cd 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 7441e407d4 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
Ruben Fiszel d8eefe59b7 improve dedicated worker on default worker grou[ 2023-10-23 22:59:25 +02:00
Ruben Fiszel 723059b0d5 add support for batch flow jobs 2023-10-23 21:53:22 +02:00
Ruben Fiszel 65b36baf41 feat: dedicated worker for python (#2492)
* update

* all
2023-10-23 20:21:16 +02:00
Ruben Fiszel f586e2eec0 fix: stats nits (#2490)
Co-authored-by: HugoCasa <hugo@casademont.ch>
2023-10-23 18:07:24 +02:00
HugoCasa b076e093df 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
Guillaume Bouvignies bd69bafe59 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
Yt 5abd13ab18 feat: enable secret to be read from file (#2477) 2023-10-21 14:35:34 +02:00
Ruben Fiszel da842a05a1 fix: windmill_status_code script now properly return + script bash default arg 2023-10-21 02:32:47 +02:00
Guillaume Bouvignies 3443cf5ba5 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
Guillaume Bouvignies 5f5604a2aa 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
Ruben Fiszel fbfa08cb5a fix: fix mocking for workflows 2023-10-18 21:44:10 +02:00
Guillaume Bouvignies 09e29d6b3c 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 17129fdf0f add MODE env variable 2023-10-16 15:20:50 +02:00
Ruben Fiszel 2ee57f3f84 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