Diego Imbert
b56a5c3e7a
never exclude _ee.rs files in vscode ( #5907 )
2025-06-10 11:49:47 +02:00
dieriba
f2526571a3
feat: ssh repl like direct to workers hosts machine ( #5809 )
...
* feat(backend): add repl for worker
* feat(frontend): add repl to interact with worker and missing packages
* nits
* Update backend/windmill-worker/src/result_processor.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-worker/src/result_processor.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/WorkerRepl.svelte
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* fix typo
* fix cd
* nits
* refactoring
* feat: handle other agent worker to also access repl feature, fix bugs
* update repo ref
* nits and match function args
* nits
* typo
* remove struct AgentWorkerData
* update repo ref
* nits
* impl new for authed client and revert to async
* update ref
* updage ee repo ref
* fix missing method/imports small bugs
* update ee repo ref
* update .sqlx
* test
* clean wait for interactive_shell future
* free call stack
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-03 18:41:14 +02:00
dieriba
4cbcbdb960
feat: fix backward compatibility pg 14 for postgres trigger ( #5851 )
...
* remove macro query when interacting with remote db
* fix compatibility and nits
* fix bug save for publication tracking all table
* fix infinite loop svelte 5
* nits on (gcp/postgres) trigger+ refactor on postgres trigger
* update .sqlx
* update repo ref
* uodate repo ref
* fix
* fix
* nits + extend postgres capture
* fix import gcp
* fix reactivity issue
* add postgres transaction for successive write operation
* fix isValid state edge cases
* fix reorder transaction
* reorder transaction
* remove unused import
* update test connection
* add missing props
* fix import/bugs and nits
* nits and fix small bugs
* add missing colon
2025-06-01 19:11:48 +02:00
dieriba
34b307b2be
feat: oidc support for sqs trigger ( #5614 )
...
* 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
---------
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 15:36:17 +02:00
dieriba
6339775404
feat: add gcp trigger ( #5501 )
...
* update: add migration for gcp_trigger table, add cli method gcp and add gcp_trigger args for github ci
* update: add gcp module and routing it in lib.rs
* update: added gcp type to TRIGGER KIND type in db, add new feature condition to try_get_fn and added gcp_trigger feature in cargo file
* update: add ui for gcp trigger, added missing triggers type for job kin, add gcp trigger in deploy to functionallity
* adding google cloud crate
* update: handle pull and push delivery
* update: handle pull and push delivery
* update: handle push event, changed front ui
* update: ui
* fix: capture for gcp
* update: automatically manage pub sub subscription and refactoring
* capture done
* update cli types
* fix: wrong func argument and type openapi
* fix: missing import
* update .sqlx
* update: svg color and remove pulse button for capture push gcp
* update: handle deployto
* update script helper and link to hub gcp script/flow
* update gcp representation
* update: add confirmation modal
* add unique index to mitigate same subscriber id, fix `zombie worker`, update test connection logic
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorInner.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update cli/gen/services.gen.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* nits
* update repo ref
* fix feature function
* update dependencies
* update .sqlx
* fix missing import
* update: handle existing subscription and creating new one or update it
* fix ee build
* handle existing config properly
* update .sqlx
* update .sqlx
* remove unused
* update documentation link fix ci
* use on instance of empty_string_as_none fn
* update refo ref
* updat script_helper
* update ui
* update migration
* add missing arguments
* fix and nits
* update repo ref
* remove unused
* nits
* add doc links
* nits
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerPanel.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorInner.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* use trigger path as default route path
* update .sqlx
* update repo ref
* update ref
* update route path
* update types
* fix deploy to
* nits
* update repo ref
* update .sqlx
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* nits
* nits
* nits
* remove dupliacte fn and update repo ref
* remove unused import
* fix missing import
* fix: wong name var
* update script helper and template script
* Update frontend/src/lib/script_helpers.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update ee-repo-ref.txt
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: HugoCasa <hugo@casademont.ch >
2025-04-10 20:39:01 +00:00
dieriba
9dba57d546
feat: add raw string option and wrap option for http trigger ( #5467 )
...
* add new column
* handled worskpaced route
* update .sqlx
* update: rename migration file, rewrite query for checking existing route path key, add copy button url for each route trigger
* update .sqlx
* update sql query
* update .sqlx
* fix: prevent precedence on query
* nits
* update .sqlx
* update query
* Update http_triggers.rs
* nits
* handling two new option in http route 'wrap_body' and 'raw_string'
* update sqlx and add wrap_body and raw_string to http route
* fix: undefined route path
* nits: remove unnecessay ref as type implement copy
* nits
* fix: undefined protection
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
2025-03-13 20:39:54 +00:00
dieriba
b210ae36f7
feat: deploy triggers to prod/staging workspace ( #5429 )
...
* add deploy to staging prod option to trigger
* remove unused import
* handle schedule trigger, fix update fn
* Update frontend/src/lib/utils_deployable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-common/src/workspaces.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/DeployWorkspace.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* update kind name and handle script kind flow for websocket
* nits: english wording
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-06 17:02:11 +01:00
dieriba
5c39037aea
feat: MQTT triggers ( #5277 )
...
* first commit
* update migration mqtt
* chore: update dependencies
* add cli support and update schema for mqtt
* update: casing style
* update: rename get_resource function and moving to resource.rs
* feat:
* feat: refactored
* feat: add ready endpoints for workers to enterprise
* feat: handle connection to server
* fix: main.rs
* feat: added support v5
* feat: 🚧 updated .github, handle more case for v5 and handle v3
* feat: handled client, update script helper
* update .sqlx
* refactor: added generic implement and trait to remove redundant code, misses client impleme
* feat: remove optinal property update test function
* feat: done
* handle client certificate
* minor fix
* fix: tls and mtls
* fix: min topic len in frontend
* Update frontend/src/lib/components/triggers/mqtt/MqttEditorConfigSection.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-api/openapi.yaml
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-api/src/mqtt_triggers.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* update openapi, and script_helper.ts
* fix: toggle button and update mqtt migration
* nits: remove postgres type and only relies on serde
* fix: timeout connection
* fix typo and captures
* fix: capture table reactivity
* handle more mqtt v5 option
* nits: remove clone method
* update: better naming
* nits: display tooltip qos
* fix: hanle tls connection with natively
* update: add documentation links for qos and topics
* fix tooltip and add default value
* update: shoz preprocessor only if selected in capture table
* nits: show mqtt icon in resource related componenets
* update hub link and repo ref
* fix: unused var
* update ee ref
* fix: give good reference id for script hub
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Clement Zhang <clement.zhang2@gmail.com >
2025-03-04 23:52:47 +01:00
dieriba
58a67a3ac0
feat: SQS triggers ( #5182 )
...
* feat: first commit
* fix: npm check
* fix: openapi file
* feat: update openapi and migration
* feat: basic implementation done
* fix: fix: no used function when no feature
* feat: capture done
* Update capture.rs
* nits: change sqs trigger
* fix: make migration great again
* feat: add message attributes
* feat: nits: fix error messages, remove console.log and add try catch
* update sqs icon and ee feature for sqs_trigger
* update: change sqs name casing and added test connection button
* nits: update Icon and add create from template button
* fix: ci build and error compilation
* update migration type sqs
* update link on create from template button for sqs, add archive in workspace export and update sqlx
* fix: ci
* Update SqsTriggerEditorInner.svelte
* add link to docs, use generic function for resource and fix import error
* chore: update .github ci
* nits: remove empty
* update to match ee repo changement
* Update backend/windmill-api/src/resources.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* add sqs handling for the cli and refacoring sqsEditorInner
* Update cli/sync.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: add break to switch statement for sqs case
* fix: display aws_resource_path when retrieve or create a new trigger
* rework sqs ui, fix postgres optional port
* fix: ci
* update ui for trigger
* update repo ref and specific
* feat: add ready endpoints for workers to enterprise
* update ref
* Update frontend/src/lib/script_helpers.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-18 23:49:45 +01:00
dieriba
316a2167e7
feat: postgres triggers ( #4860 )
...
* feat: init database triggers
* feat: ✨ wip: database_triggers
* feat: ✨ add database triggers front view
* feat: 🚧 database_triggers
* feat: 🚧 add definition in yaml, updated backend code and added migration
* feat: 🚧 updated migration file, update openapi.yml, updated database_triggers page and backend function
* fix: struct rust
* feat: 🚧 update migrate, database trigger backend function fixed
* feat: 🚧 add resource picker front, update backend function
* feat: 🚧 edit inner database inner, update triggers
* feat: 🚧 database_triggers
* feat: 🚧 update openapi yaml, prettied websocker trigger
* feat: 🚧 database_triggers
* feat: 🚧 add resource module, update variable file, working on main loop for database_trigger
* feat: 🐛 working sqlx query
* feat: 🚧 fix query with sqlx, added main loop
* feat: 🚧 add new column database_trigg
* feat: 🛂 run jobs works
* feat: 🚧 handling slot name and replication
* feat: restructring triggers, decoding trigger message on work
* feat: 🚧 database_trigger
* feat: 🚧
* feat: 🚧 converter done, work on custom script
* feat: 🚧 multiple trigger
* feat: 🚧 adding new argument function
* feat: 🚧 database_trigger
* feat: 🚧 add generate template for front, update script picker
* feat: 🚧 template script fix bug, work on restructing backend logic
* feat: 🚧 update autogenerated script, add persistence state for template script
* feat: 🚧 update structure client
* feat: 🚧 rewrited crud function
* feat: 🚧 added publication handler
* feat: 🚧 new ui finished
* feat: 🚧 added slot function hanlder finish front ux
* feat: ✨ ux improvement done, backend logic done
* feat: 🐛 fix where clause
* feat:
* feat:
* chore: update .sqlx and remove empty package
* fix: update publication and remove unneccessary print
* feat: finish converter to json, remove save button, remove unused crate
* feat: update migration for database trigger, fixed query, fixed frontend error with missing feature on back
* chore: update .sqlx
* chore: update sqlx
* chore: .sqlx
* chore: add unused
* fix: use right database resource in back and front
* fix build
* refactor:
* fix sqlx
* nits: retrieve all script from database trigger editor
* fix: template script object, fix route name
* merge main
* feat: rework ux
* feat/finish ux and update backend logic
* feat: database_trigger
* feat: database_trigger
* chore: update sqlx
* chore: fix ci
* nits: fix worker.rs
* feat: database_trigger
* Update frontend/src/lib/components/triggers/database/DatabaseTriggersPanel.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat:
* fix ci
* nits: database to postgres
* nits: fix .sqlx
* feat: add link to original code and open tab functionallity
* nits: update .sqlx
* nits: fix request type and yaml file
* nits: add abel suggestion
* fix: update .sqlx
* fix: update .sqlx
* nits: add comment to hex.rs
* nits: remove features, rename database to postgres name
* nits: replace database name by postgres
* nits: database name to postgres
* nits: update .sqlx
* nits: update .sqlx
* nit
* nit
* nits
* nit
* nits
* nits
* nits
* nits
* fix sqlx
* nits: update .vscode
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-24 15:12:41 +01:00
Ruben Fiszel
737e664792
fix: improve environment variables config
2025-01-22 18:19:37 +01:00
Ruben Fiszel
3d8c97c154
fix: add support for http_proxy and https_proxy
2023-06-09 19:14:02 +02:00
Ruben Fiszel
74254af71a
migrate all jsonschema parser to wasms
2023-06-06 10:52:04 +02:00
Ruben Fiszel
1f8910d730
feat: migrate ts parser to wasm ( #1686 )
...
* migrate ts parser to wasm
* add wasm
* revert py
2023-06-06 09:44:38 +02:00
Ruben Fiszel
be41e45130
split worker.rs into more files
2023-04-13 17:44:47 +02:00
Ruben Fiszel
3ad5bfc192
feat: add relative imports for python scripts ( #1075 )
...
* all
* all
2023-01-09 13:49:30 +01:00