Commit Graph

187 Commits

Author SHA1 Message Date
Ruben Fiszel 77aaf2724c chore: remove warnings 2024-02-18 14:03:00 +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
HugoCasa b81b095b61 feat: add raw option for urlencoded webhook call (#3215) 2024-02-14 11:22:40 +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 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 608c7597ae feat: add flow debug info endpoint + button 2024-02-04 22:16:12 +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 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 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 8d297aa955 proctect more the graphql runtime 2024-01-19 02:23:47 +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
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
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 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 606b03d761 feat: add summary to schedules 2023-12-26 14:15:46 +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
Guillaume Bouvignies 0cc19b9f8c chore: Remove slow pull warning in worker agent mode (#2866) 2023-12-15 19:16:41 +01:00
HugoCasa e04d8b0d51 fix: handle empty result (#2862)
* fix: handle empty result

* fix: nits
2023-12-15 16:49:53 +01:00
Guillaume Bouvignies a84b4324d2 fix: Stopping perpetual scripts (#2860) 2023-12-15 15:19:30 +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
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
Ruben Fiszel 58c4c0b5c2 fix: make cleanup_module backcompatible 2023-12-10 13:29:51 +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
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
Ruben Fiszel bea0da3d6f feat: perpetual scripts 2023-12-04 19:46:43 +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
Ruben Fiszel 592d7839d1 fix: limit log pull from queued jobs 2023-12-01 01:14: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 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
Ruben Fiszel 8275602372 feat: add support for raw query args 2023-11-26 16:47:32 +01:00
Ruben Fiszel dbaef0aa5f feat: add early return for flows 2023-11-26 14:30:49 +01:00
Ruben Fiszel c1bb97d990 fix: fix error handling for list of errors 2023-11-21 15:24:38 +01:00
Ruben Fiszel 6dd91adb13 add more logs around completed job 2023-11-21 14:25:48 +01:00
Ruben Fiszel 9c7bb5ecd9 fix: www-url-encoded body 2023-11-17 16:59:26 +01:00
Ruben Fiszel 316d5f344f fix: improve suspended flow handling when missing next step 2023-11-17 13:13: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 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
Ruben Fiszel 929616d730 apply enterprise limits 2023-11-11 09:46:09 +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
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
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
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
Ruben Fiszel 7f9e8bf4b0 fix compile 2023-11-07 09:42:28 +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
Ruben Fiszel 141f45bf95 fix: improve dedicated workers 2023-11-06 11:21:36 +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
Guillaume Bouvignies 7ba2a6c4f1 fix: Slack error handler missing "slack" arg (#2546) 2023-11-02 22:33:16 +01:00