dieriba
55eaf3f2bc
feat: use rust-postgres client instead of sqlx for postgres trigger ( #5853 )
...
* use rust-postgres client instead of sqlx
* fix
* Update backend/windmill-api/src/postgres_triggers/mod.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix import
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 18:53:30 +02:00
Diego Imbert
7467833239
EE Refactor ( #5844 )
...
* app compiles with every ee substituted
* Replace all oss files content
* Revert "Replace all oss files content"
This reverts commit ea4017d59f .
* delete all ee
* hide all _ee files under private flag
* hide every oss stuff when private flag set
* pub use *
* gitignore and substitute script
* pub mod for ee needed for ee repo
* small mistakes
* remove oidc_oss impl
* ee ref (temp)
* ee ref
* fix --all-features selecting private in OSS CI
* ee repo ref
* allow unused
2025-06-02 22:12:33 +02:00
dieriba
52ad66f530
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
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
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
dieriba
6a9e4b77d9
add old row ( #5633 )
2025-04-17 13:12:34 +00: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
dieriba
06e55bf847
feat(postgres-trigger): postgres trigger fix circular dependencies and add remove associate resource ( #5606 )
...
* remove selectedTable
* add deletion options
* fix select
* add delete option for replication slot and fixed type conversion for timestampz
* fix delete active slot
* update .sqlx
* fix hidden add schema
---------
Co-authored-by: Guilhem <guilhemlemouel@gmail.com >
2025-04-11 18:00:57 +02:00
Ruben Fiszel
aaa4cde349
feat: filter by worker + backend perf opt ( #5489 )
...
* all
* all
* all
* refactor
* sqlx
* ref
* impr
* fix
* fix
* fix
* ee private
2025-03-19 09:55:53 +01:00
dieriba
0955af1aea
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
c1351f8155
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
f3e91d714d
feat: add postgres trigger captures ( #5165 )
...
* feat: 🚧 add postgres trigger config in back
* feat: add capture section for postgres
* feat: update postgres trigger panel, update capture migration
* fix: ci and casing style
* feat: capture done
* fix: update sqlx
* fix: remove unused
* feat: handle persisting data
* fix: add feature flag
* feat: capture done
* fix: feature flag
* feat: capture done
* nits: add plus into postgres capture label
* feat: trigger done
* Update PostgresTriggerEditorInner.svelte
* Update script_helpers.ts
* nit
* chore: update to meet pr comment requirement
* refactor:
* fix:
* fix: miss closing curly braces
* fix:
* fix: ci
* Update mod.rs
* polishing postgres trigger
* update minor changes on UI
* nits: remove log and update function parameters
* fix: remove wrong name
* nits: change icon
* fix: nit migration
* nits: refacto and remove alert
* nits: change variable name
* update workspaces_export
* fix: ci
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
Co-authored-by: Guilhem <guilhemlemouel@gmail.com >
2025-02-11 18:16:12 +01:00
HugoCasa
9617add8ac
feat: triggers cli sync ( #5243 )
...
* feat: triggers cli sync
* fix build
* update ee ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-10 15:14:28 +01:00
Ruben Fiszel
7f18bcf0a3
nit error handler
2025-02-05 16:57:27 +01:00
Ruben Fiszel
dd3fb0f955
improve error messages for internal err
2025-02-05 16:32:01 +01:00
dieriba
ae90478add
feat(postgres, trigger): support ssl ( #5149 )
...
* fix
* feat: support-ssl
* Update backend/windmill-api/src/postgres_triggers/trigger.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: match error
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-27 23:11:19 +01:00
HugoCasa
a0e599e3b9
feat: test trigger connection ( #5145 )
...
* feat: test trigger connection
* fix build
* fix build
* update ee ref
* nit
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-27 22:40:51 +01:00
Ruben Fiszel
dcbe6a9135
fix compile
2025-01-27 22:10:46 +01:00
Ruben Fiszel
6ea28edc41
fix compile
2025-01-27 22:00:48 +01:00
dieriba
13dbbf96f0
nits: show error and documentation link, add better name ( #5141 )
2025-01-26 22:09:49 +01:00
dieriba
db0c0ffc08
fix: include postgres triggers in build #5137
2025-01-25 18:00:12 +01:00
dieriba
e23ad25635
nit triggers
2025-01-25 12:48:29 +01:00
dieriba
900a8d675e
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