pyranota
2833d6da3f
feat(python): inline script metadata (PEP 723) ( #5712 )
...
* make resolver
* more updates
* fix build
* fix raw_dependencies job type
* compat with http agent workers
* refactor
* rename
* more refactor
* cleanup
* more tests
* fix s3
* small fixes
* more fixing
* fix endpoint
* nit: update comment
* update ee ref
* update ee ref
* update ee ref
* implement safer `list_available_python_versions`
* add tracing to get of authed client
* internal: Trigger claude when commenting with /aider (#5783 )
* add claude instructions files
* call claude too when using aider
* fix
* add draft for linear claude integration
* fix build
* update ee ref
* ignore versions <=3.9
* fix windows build
* correct versions filter
* fix windows build (this time for real)
* inject error to debug CI
* update CI
* undo debug of CI
* fix tests
* remove outdated comment
* update ee repo ref
* Update ee-repo-ref.txt
* Update backend/parsers/windmill-parser-py-imports/src/lib.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update InstanceSetting.svelte
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-24 02:13:47 +02:00
Guilhem
ea74f584b1
refactor(frontend): capture refactor UI ( #5591 )
...
* migrate postgresEditorInner to svelte 5 syntaxe
* Add postgress
* add postgres capture section
* migrate kafka trigger config to svelte 5
* use snippets in kafka config
* feat: Update KafkaTriggerEditorInner with editMode, hideTarget and other props from WebsocketTriggerEditorInner
* feat: Create KafkaTriggerPanelV2 following WebsocketTriggersPanelV2 model
* feat: Integrate KafkaTriggerPanelV2 into TriggersEditorV2
* feat: add kafka capture panel
* use svelte 5 syntaxe for nats config
* use snippet in nats config
* feat: add editMode for nats trigger config
* fix import
* create NatsTriggerPanelV2.svelte for NATS trigger
* integrate NatsTriggerPanelV2 into TriggersEditorV2.svelte
* Create NatsCapture.svelte and update CaptureWrapperV2.svelte to use it
* migrate MqttTriggerEditorInner to svelte 5
* add mqtt trigger to new trigger panel
* migrate SqsTriggerEditorInner to svelte 5 syntaxe
* feat: add sqs triggers panel
* Add badge to MQTT config section
* remove unnecessary binding
* add gcp to the trigger list
* add prop size to GCP icon
* add gcp trigger utils
* migrate GcpTriggerEditorInner to svelte5 syntaxe
* add gcp trigger panel
* Revert "add gcp trigger utils"
This reverts commit 58f0df9985 .
* fix type error
* add gcp to trigger bar
* add capture gcp panel
* add schedule poll panel
* feat: add trigger table horizontal bar
* add http trigger label
* make triggerbar vertical
* nit
* add trigger delete button for drafts
* enable edit from table for all triggers
* fix automatic edit mode for draft trigger
* fix proxy dispatching issue
* fix primary star positionning
* fix apply args to preprocessor
* automatically load bigpayloads
* clean capture wrapper code
* nit
* fix capture config not passed
* use Url component
* remove unused prop captureTable
* use new schedule panel for scheduled poll
* update triggersWrapperV2
* improve webhook capture panel
* remove debug log
* save draft with flow draft
* add path in draft label when available
* remove flowcard title
* use trigger label for trigger badge dropdown
* break from table to sidebar at 1000px
* remove triggers badge allways show sidebar behavior
* fix multiple primary addition
* improve primary schedule deploy logic
* remove debug logs
* gather imports
* add path for draft primary schedule
* handle redirection
* Add confirmation modal to deploy triggers
* remove debug log
* Save draft route trigger on deploy
* Allow draft for deployed triggers
* add component trigger editor toolbar
* improve update trigger utility function
* Add reset button for deployed draft triggers
* allow draft trigger for kafka triggers
* allow draft trigger for websocket triggers
* allow draft trigger for postgres triggers
* Add toggle to trigger toolbar
* allow draft for nats triggers
* allow draft for mqtt triggers
* allow draft sqs triggers
* allow draft for gcp triggers
* revert changes on the schedule editor
* update all triggers to use the same toolbar
* remove debug logs
* remove PrimarySchedule Panel and merge primary schedule logic with all triggers
* load schema from draft when editing a draft schedule
* prevent overflow in trigger table
* fix path saving for draft schedule
* fix trigger badge dropdown display
* get draft status from trigger
* remove unused event
* nit
* Add deploy badge to trigger
* replace checkbox with toggle for the modal
* fix selection of triggers with draft
* fix nit
* fix nit
* add missing config for loading schedule
* save schedule from config
* save http route from cfg
* save websocket trigger from cfg
* save postgres trigger from cfg
* save kafka trigger from cfg
* save sqs trigger from cfg
* save nats trigger from cfg
* save mqtt triggers from cfg
* save gcp trigger from config
* nit
* fix path update when editing a trigger
* remove unused saveCb
* fix trigger node navigation
* remove debug log
* add min size for trigger editor capture panel
* Integrate new triggers Editor to script builder
* remove previous triggersEdior page
* Remove former triggers Editor
* Migrate detail page to new triggers editor UI
* Remove unused dev TriggersBadge
* migrate triggers to V2
* Migrate capture components to V2
* improve triggers badge UI
* fix trigger panel with scheduled poll
* fix auto select all draft on deploy
* simplify permission check
* Add custom label to every trigger editor
* fix draft not deleting when saving triggers and add option to deploy now
* remove unused utility function
* fix triggers loading from draft
* make advanced route section collapsible
* handle subflow triggers display
* center triggers badge
* fix panel redirection when adding a new triggers from node
* Remove unnecessary alerts
* Fix proxy issue in schedule editor inner
* Remove unused schedule pages
* nit
* nit cli panel
* Migrate selectedTrigger store to V2
* handle extra header button for trigger editor panel
* prevent reload on toggle schedule enable
* remove unused utility function
* remove primaryScheduleStore
* handle triggerCount with drafts
* fix editing in Schedule Poll Mode
* Remove triggers default value context store
* fix triggers label max width
* Remove dbg logs
* improve no trigger selected message
* nit
* Do not show enable toggle for http triggers
* Adapt ui to dark mode
* nit
* remove captureOn context value
* improve dark mode
* fix nit
* fix merge issue
* nit
* nit
* fix schedule permission initialisation
* nit
* Disable deploy now if needed
* Improve utilitu function for handling with triggers
* improve trigger badge look
* fix kafka
* nit
* fix schedule display
* fix toggling edit mode
* fix edit/cancel edit
* nit
* prevent capture config update in editor
* migrate webhook panel to svelte 5
* fix postgres trigger creation
* fix bind issue in nats triggers
* fix modal triggers message flow/script
* fix apply args for script
* fix gcp triggers update when creating
* fix gcp capture
* nits
* add loading state for deploying all triggers
* remove default mqtt
* update base_endpoint for gcp
* nit
* fix
* fix
* remove base endpoint
* add catch in case of error while creating a trigger
* Add animation is capture panels
* show preprocessor extra when there is a preprocessor
* Add loading state for captures
* add missing fields for capture
* migrate URL to svelte 5
* show icon by default in confirmation modal
* do not show draft triggers in detail badge list
* migrate to new captures
* revert unwanted change
* migrate to preprocesor v2
* nit
* fix email capture
* nits and fix
* nits
* update repo ref
* Feat: auto save draft instad of save button
* use triggerIndex as selection
* Add modified tag to triggers
* Update trigger modal
* fix trigger node select
* fix schedule page
* migrate TriggersEditor to svelte 5
* remove unused props
* fix schedule editor init
* fix store reactivity issue
* use class instead of store for triggers context
* nit
* nit
* fix schedule init
* Add postgres error message
* nit
* fix deploy new script
* load schema in shedule editor
* improve transitions
* Improve capture indication
* revert unwanted changes
* improve update
* nit
* migrate captures section to svelte 5
* only show trash on hover triggers row
* Add token count
* improve trigger display
* Add relevent naming for triggers
* Use wrapper div insted of width binding in flow card
* add trigger sorting
* nit
* handle reload from URL for draft triggers
* dirty script and flow draft with draft triggers
* handle cloud hosted triggers
* nit
* nit
* fix nats reactivity
* remove debug log
* handle deployed draft triggers in the flow editor
* Add warning for event stream capture
---------
Co-authored-by: dieriba <dieriba.pro@gmail.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-21 23:45:19 +02:00
dieriba
b7812bfd09
add missing attributes ( #5791 )
2025-05-21 21:50:36 +02:00
dieriba
e974eaf6a5
fix: postgres trigger ssl issue ( #5790 )
...
* fix: better handling of tls for postgres trigger
* fix
2025-05-21 19:25:22 +02:00
HugoCasa
23cce4ddb0
fix: workspace preprocessor improvements ( #5784 )
...
* add tracing to get of authed client
* internal: Trigger claude when commenting with /aider (#5783 )
* add claude instructions files
* call claude too when using aider
* fix
* add draft for linear claude integration
* fix: workspace preprocessor fixes
* tmp ee ref
* fix build
* update ee ref
* fix: hub script preprocessor handling
* fix build
* good ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com >
2025-05-21 17:49:21 +02:00
HugoCasa
a13b27a099
feat: triggers git sync ( #5766 )
...
* feat: triggers git sync
* nits
* update hub paths + ee ref
2025-05-19 18:16:04 +02:00
HugoCasa
508b1039ac
fix: add v1 preprocessor support to workspace preprocessor script ( #5757 )
...
* fix: add v1 preprocessor support to workspace preprocessor script
* nit
* build
2025-05-16 01:10:51 +02:00
Ruben Fiszel
3fa5da1690
fix
2025-05-15 20:10:03 +02:00
dieriba
bef22287f8
fix: http trigger signature validation ( #5753 )
...
* fix
* fix import
* nits: force raw string on signature authentication
* fix
2025-05-15 20:07:05 +02:00
Ruben Fiszel
ad0f4e790e
add alerts by workspace index
2025-05-15 19:19:53 +02:00
HugoCasa
ac3d470202
perf: cache http trigger routers and auth ( #5748 )
...
* perf: cache http trigger routers and auth
* fix build
* fix
* fix build
* fix build
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-15 17:38:45 +02:00
Ruben Fiszel
8e177cabb9
fix: improve perf of job deletion
2025-05-15 15:44:55 +02:00
Ruben Fiszel
123657fa63
fix: avoid deadlocks in sending completed job to result processors ( #5742 )
...
* buffer
* unbounded and bounded
* fix
* buffer
* impl clone
* flume it all
* update
* update
* update
2025-05-15 09:13:09 +02:00
Ruben Fiszel
8659a7985e
small fix
2025-05-14 08:48:48 +02:00
Alexander Petric
d98731b05c
feat: Microsoft Teams approvals ( #5734 )
...
* move branch
* openapi version
* full interactive approvals
* move to ee
* move to ee
* move ee
* merge common logic slack/teams
* merge common logic slack/teams
* sqlx prepare
* formatting
* linter ee
* update ee-repo ref
* ee repo ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-13 23:06:49 +02:00
Ruben Fiszel
2b23348fec
nit workspace
2025-05-13 22:23:25 +02:00
dieriba
20bb0d6ea3
fix gcp on ee private ref ( #5735 )
...
* fix
* update repo ref
2025-05-13 22:06:10 +02:00
HugoCasa
38b0ed8c32
fix: add missing run job transaction drop ( #5730 )
2025-05-13 11:16:29 +02:00
HugoCasa
01906bcb55
fix: trigger event support for webhook get endpoints ( #5728 )
2025-05-12 18:17:37 +02:00
dieriba
00faf1eefe
nits: use generic deserializer for empty data ( #5727 )
...
* use generic deserializer for empty data
* update repo ref
* fix import
2025-05-12 11:00:55 +02:00
HugoCasa
42e83f4de8
fix: add back missing query args from http trigger object + correct wm_trigger shape ( #5722 )
2025-05-09 23:08:51 +02:00
HugoCasa
d2787cfd78
feat: preprocessor refactor ( #5629 )
...
* feat: preprocessor refactor
* nit
* oneOf kind support + new capture format + fix build
* fix build
* fix build
* update preprocessor templates
* cache runnable version info
* update ee ref
* update hub scripts && ee ref
2025-05-09 09:50:01 +02:00
Ruben Fiszel
2f5245e1a1
remove hardcoded public schema
2025-05-08 15:24:21 +02:00
dieriba
b2c7bdff13
feat: raise error if end early in flow ( #5653 )
...
* update front
* handle err_msg display if enabled when stop condition is met
* nits
* Update backend/windmill-worker/src/worker_flow.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update openflow.openapi.yaml
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update worker_flow.rs
* Update worker_flow.rs
* update flow test
* update condition
* remove println
* nits
* fix flow test
* nits and missing property on struct definition
* nits
* fix unsaved state
* update .sqlx
* cleanup sqlx
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-07 18:23:40 +02:00
Ruben Fiszel
035c845d7f
improve handling of non parsable scripts on deploy
2025-05-06 19:09:01 +02:00
Ruben Fiszel
d72e93f5a6
nit
2025-05-06 18:14:26 +02:00
Ruben Fiszel
1d086a8cde
fix: performance and stability improvement to fetch last deployed script
...
* orderByRefactor
* update
* nits
* nits
2025-05-06 17:59:21 +02:00
Ruben Fiszel
30fbbee522
update deps versions ( #5703 )
2025-05-05 16:19:39 +02:00
Ruben Fiszel
ed6313258b
fix: do not track relative deps for scripts with raw defined deps from CLI ( #5696 )
2025-05-02 00:37:28 +02:00
centdix
fda3c2a8ca
feat: Integrate MCP with hub ( #5685 )
...
* draft
* working draft
* tool to list scripts
* working sse server
* add proxy + parse query params
* working mcp that runs script
* remove useless dependencies
* log context
* update crate
* mcp no proxy
* use custom sdk
* integrate in windmill api
* draft
* put rmcp sdk here
* do not use mcp as crate
* use extensions for get scripts
* remove unused crate
* list actual scripts
* fix
* give schema in list tools
* cleaning + take workspace id from context
* implement calling the script with tool
* cleaning + fix ctrl-c
* make post path a param
* cleaning
* better name for tools
* fix error with tool name
* cleaning
* draft cleaning
* more cleaning
* list script based on settings
* fix query
* add params in openapi
* use rmcp fork from git
* remove files
* cleaning + fix query
* remove settings and use favorite by default
* add flows in tools list
* handle running flows
* remove frontend for mcp settings
* handle resource args
* send list of resource in shema
* handle mcp url setting with token scope
* cleaning
* avoid calling list tools in call tool
* apply scope to flows
* cleaning
* cleaning
* cleaning
* cleaning
* format files
* fix typos
* remove log
* add back missing dispatch
* fix transform for resource-obj + put every resource in description
* transform obj to string
* cleaner code
* better frontend
* cleaner code
* cleaner logic
* add parentheses just in case
* add func to fetch hub scripts
* fix typos
* working fetch and run hub script
* also fetch flows from hub
* improvments
* merge create tool logic
* add integrations in description
* cleaning
* cleaning
* small fix
* get schema for flow
* filter tools fetch by token scope
* remove hub flows
* remove prints
* add hub script integration choice
* higher limits
* cleaning
* fix merge
* better naming for hub scripts
* no workspace for hub
* alow multiple app in one token
* plural
* fix
* cleaning
* add documentation
* fix bad code
* use id directly
* cleaner bindings
* fix disabled condition
* add cancel button + reset apps if not hub token
* reset mcp apps
* combine all/favorites + hub
* small fix
2025-05-01 19:31:56 +02:00
Ruben Fiszel
0e0c9dd579
improve agent workers
2025-04-29 20:15:49 +02:00
Ruben Fiszel
6e83bc1354
fix compile
2025-04-28 19:52:37 +02:00
Ruben Fiszel
56ede303ed
fix: improve mcp mode api
2025-04-28 19:17:24 +02:00
centdix
19fb543f56
fix: MCP handle long names + invalid char in prop key + fix for not found resource type ( #5668 )
2025-04-28 16:46:48 +02:00
centdix
8e8f2823d3
fix: Fix object handling on some MCP clients + better frontend for MCP ( #5663 )
...
* fix transform for resource-obj + put every resource in description
* transform obj to string
* cleaner code
* better frontend
* cleaner code
* cleaner logic
* add parentheses just in case
* fix typos
2025-04-28 11:35:02 +02:00
centdix
5f45507c67
feat: Add MCP only mode ( #5661 )
...
* add mcp mode
* fix flag usage
* change mcp path
* do not migrate db in mcp mode
* handle null values
2025-04-25 14:22:45 +02:00
centdix
af1b435bcf
fix: Fix CI for MCP + optimization ( #5657 )
...
* add mcp feature to docker build
* avoid deserializing value
* apply fix to flows
2025-04-24 14:14:22 +02:00
centdix
c2c1be4a48
feat: Add MCP endpoints ( #5639 )
2025-04-23 23:28:41 +02:00
Ruben Fiszel
53614f9b28
improve label filtering with wildcards
2025-04-23 16:05:34 +02:00
dieriba
6b85080551
fix cli gcp types ( #5644 )
...
* update types
* fix types cli
* fix ci
* fix gcp types and fix used triggers
* update repo ref revert .env and nits
* fix build
* Update frontend/src/lib/utils.ts
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* fix type and deploy to
* update ee-repo-ref
* update .sqlx
* add missing fields
* fix: add sqlx derive macro
* hanfle missing field, fix deploy to other workspace and update ee-repo-ref
* update repo ref
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-04-23 12:18:36 +02:00
Ruben Fiszel
2fa789f5a2
delay triggering dependent script when lockfile is present to account for CLI push
2025-04-23 09:28:31 +02:00
Ruben Fiszel
77bd5b2458
fix: track relative imports in python and ts even if lockfile is provided
2025-04-23 08:40:22 +02:00
Diego Imbert
9c1a06d89f
fix: batch reruns query missing workspace_id check in subquery ( #5652 )
2025-04-22 11:37:18 +02:00
Ruben Fiszel
031e522a6a
ui code builder v0 (at secret path) ( #4964 )
2025-04-20 01:19:02 +02:00
dieriba
d16d823e3a
rename zoom key for http auth ( #5640 )
2025-04-19 00:51:42 +02:00
dieriba
f00fc54a93
feat: handle different aws auth resource type ( #5637 )
...
* feat: oidc auth with sqs
* rafctor
* update: add id token struct
* update has_expired function
* fix duration
* fix typo
* Update backend/windmill-common/src/auth.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update backend/windmill-common/src/auth.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* update ref
* update sqlx
* update resource type
* update repo ref
* Update settings.json
* add new resource type
* update repo ref and clear resource path on resource type change
* update .sqlx
* add missing key
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-04-17 21:51:18 +02:00
dieriba
6a9e4b77d9
add old row ( #5633 )
2025-04-17 13:12:34 +00:00
Diego Imbert
032a2e3181
Fix batch rerun not working on pg 14 ( #5624 )
...
* fix sql query for postgres 14
* deno_core when building backend image in github workflows
* sqlx prepare
---------
Co-authored-by: Diego Imbert <diego@windmill.dev >
2025-04-17 09:33:52 +02:00
Ruben Fiszel
eba6c6351e
fix checks
2025-04-17 09:22:20 +02:00
Guilhem
02c06bd694
fix(frontend): postgres remove selectedTable ( #5386 )
...
* remove selectedTable
* add deletion options
* fix select
* add delete option for replication slot and fixed type conversion for timestampz
* fix delete active slot
* fix undefined error and add schema display
---------
Co-authored-by: dieriba <t.dieriba@gmail.com >
Co-authored-by: dieriba <dieriba.pro@gmail.com >
2025-04-17 00:21:00 +02:00