HugoCasa
df62925894
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
403826fca9
fix: worker name in job + better timeout handling for same_worker jobs ( #5248 )
2025-02-08 22:20:06 +01:00
HugoCasa
61ac7e91de
fix: workflow as code status ( #5246 )
...
* fix: get update endpoint
* [WIP] fix: workflow as code
* fix fix
* Revert "fix: get update endpoint"
This reverts commit 7af9abf868 .
* fix test
2025-02-08 07:09:14 +01:00
HugoCasa
fcf8f312bc
fix: get update endpoint ( #5245 )
2025-02-07 19:23:38 +01:00
Lucas Abel
4849af04de
backend: fix workflow as code ( #5239 )
...
* backend: improve `/get_job_update` after v2
* backend: insert missing `workflow_as_code_status` on completion
also insert `flow_status` from so we can remove the query when `_duration` is above 500
* backend: fix workflow_as_code after v2
* backend: add `workflow_as_code` worker test
2025-02-07 12:27:43 +01:00
Ruben Fiszel
f12d6e5d20
clarify migration lock message
2025-02-07 09:02:38 +01:00
HugoCasa
48e4ae6561
feat: serve static websites ( #5218 )
...
* feat: serve static websites
* nit
* sqlx
* nit
* nits
* nits
* nits
* nits
2025-02-06 17:38:12 +01:00
Lucas Abel
2478df52a5
backend: un-queue zombies left by missing row in v2_job_runtime ( #5232 )
2025-02-06 16:46:32 +01:00
Lucas Abel
d51c3080f7
backend: use v2 tables through views where possible (v2 phase 3) ( #5119 )
2025-02-06 12:43:24 +01:00
Lucas Abel
e0d99ab703
backend: check queries to queue and completed_job where possible (v2 phase 2) ( #5125 )
2025-02-06 12:39:32 +01:00
Lucas Abel
3e8e0c653e
backend: migrate job tables to v2 schema (v2 phase 1) ( #5084 )
2025-02-06 12:37:11 +01:00
Ruben Fiszel
3b46af36e4
nit error handler
2025-02-05 16:57:27 +01:00
Ruben Fiszel
90ba65ae20
improve error messages for internal err
2025-02-05 16:32:01 +01:00
HugoCasa
245c8719fc
feat: more AI models ( #5207 )
...
* feat: more AI models
* nits
* groq + openrouter
* nit
2025-02-04 22:17:30 +01:00
Ruben Fiszel
217522dc07
getting workspace encryption key only require admin privilege
2025-02-04 14:03:40 +01:00
Ruben Fiszel
fd0cd587bb
fix: timeout on list_user_usage after 300s
2025-02-03 19:11:29 +01:00
Ruben Fiszel
6d9edc8c2b
fix: only start smtp servers if email domain is set
2025-02-01 09:26:02 +01:00
Ruben Fiszel
0c4901f802
nit fix hub cache init on server
2025-02-01 08:55:44 +01:00
pyranota
99b3308c56
Fix otel migration error ( #5189 )
...
* Fix otel migration error
1: error returned from database: duplicate key value violates unique constraint "global_settings_pkey"
0: while executing migration 20250131115248: error returned from database: duplicate key value violates unique constraint "global_settings_pkey"
* delete migration
* add .sqlx cache + move otel_global_settings to new location
* Fix compilation error
* Move before migrating
* Add error handler
* warn -> info
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-31 19:34:23 +01:00
Ruben Fiszel
dc00a13501
use sync decrypt
2025-01-31 10:31:19 +01:00
Ruben Fiszel
60769e9ed3
improve cookie handling for cloud apps
2025-01-30 22:26:00 +01:00
Ruben Fiszel
997d3ffeb3
fix windmill.dev cookies
2025-01-30 21:39:46 +01:00
Alexander Petric
03ad0385ad
improve audit aprovals ( #5161 )
...
* update audit log to track aproval and cancellation of job
* approval to resource field
* audit resource as json
* refactor aproval audit logs
* moving audit logs to worker_flow
* striping u/ from auditor name
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-30 09:13:44 +01:00
HugoCasa
487c273bfb
feat: websocket trigger allow returning messages ( #5168 )
...
* feat: websocket trigger allow returning messages
* handle early return
2025-01-29 21:17:36 +01:00
HugoCasa
5d8260e90e
add single capture endpoint ( #5170 )
2025-01-29 18:13:10 +01:00
Ruben Fiszel
f3ef5105d3
clear cookies for cloud windmill.dev subdomains
2025-01-29 17:38:06 +01:00
HugoCasa
5544d42a2d
feat: custom response headers ( #5156 )
2025-01-28 15:06:20 +01:00
Alexander Petric
9fb92c8fc6
update audit log to track aproval and cancellation of job ( #5151 )
...
* update audit log to track aproval and cancellation of job
* approval to resource field
* audit resource as json
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-27 23:50:20 +01:00
dieriba
e0b6aa42a2
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
d17397b070
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
86e8f2a4fb
fix compile
2025-01-27 22:32:45 +01:00
Ruben Fiszel
38199a2e7e
fix compile
2025-01-27 22:10:46 +01:00
Ruben Fiszel
e3d6aef109
fix compile
2025-01-27 22:00:48 +01:00
dieriba
2bed97bbcc
nits: show error and documentation link, add better name ( #5141 )
2025-01-26 22:09:49 +01:00
dieriba
27a25d4af9
fix: include postgres triggers in build #5137
2025-01-25 18:00:12 +01:00
dieriba
411ad1b190
nit triggers
2025-01-25 12:48:29 +01:00
Alexander Petric
1a1ea68216
feat(frontend): operator visibility setting per workspace ( #5124 )
...
* feat(frontend): operator visibility setting per workspace
* section + reactivity
* sqlx prep
* npm check
* more sqlx
* fix table bg dark mode
* improve db query / reactivity
* sqlx prepare
* more merge fixing
* npm check
* npm check
2025-01-24 18:17:00 +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
Alexander Petric
a88fbb238a
feat: msft teams support for critical alerts ( #5113 )
...
* feat: msft teams support for critical alerts
* ee changes
* ee
* sqlx prep
* multiple teams channels
* commit file, not symlink
* improve reactivity
* docs link
* Update ee-repo-ref.txt
2025-01-23 19:57:13 +01:00
Ruben Fiszel
669a1ff8e6
fix: improve workspace specific tags behavior
2025-01-21 18:15:34 +01:00
wendrul
298aaaefa3
fix: c# on windows, oracledb test connection, cli for C# and Oracle DB ( #5090 )
...
* Fix c# on windows
* Fix test connection on oracledb
* Add csharp and oracledb to CLI
* Fix missing extensions
* Build wasm for cli
2025-01-17 20:16:22 +01:00
Ruben Fiszel
0d153a0a2d
fix: fix workspace specific custom tags
2025-01-17 19:48:38 +01:00
HugoCasa
742d04df38
fix: preprocessor script kind option ( #5081 )
...
* fix: preprocessor script kind option
* oups
* oups
2025-01-17 14:10:39 +01:00
HugoCasa
b7eeed0729
triggers improvements ( #5074 )
...
* triggers improvements
* nits
* nits
* update ee ref
2025-01-16 13:01:45 +01:00
HugoCasa
4a68ce9ac3
fix: improve runnable permissions ( #5063 )
2025-01-15 18:25:12 +01:00
wendrul
77d825540f
feat: add oracle db support on ee ( #5062 )
2025-01-14 21:21:24 +01:00
HugoCasa
04fbda28e8
feat: on behalf of ( #5058 )
...
* feat: on behalf of
* fix
* revert mistakke
* temp ee ref
* renaming + CLI
* sqlx
* nits + ee ref
2025-01-14 18:32:25 +01:00
Guilhem
ebfde197fc
fix(ui): capture v2 UX ( #4954 )
...
* feat: captures
* flow UI and improvements
* fix: build
* fix sqlx
* Move Capture WIP
* Add capture to webhook and websocket
* Move connection status viewer in the head
* change trigger section label
* Add popover capture picker using melt ui
* Add shortcut to triggers capture from input form
* remove capture tab in input
* Allways show capture
* remove useless logs
* Add email capture
* Add kafka capture into triggers
* Add edit option in capture table
* use light header for arg input
* Add prefilled group id
* Change button label
* fix logic
* Open resource drawer if prototype has fields
* fix default completion
* Change name Prototype
* Dissociate Editor Mode for triggers
* Fix bug for script
* Fix apply args
* fix apply schema
* Add capture table to script
* fix apply args
* Add capture button for script
* Delete capture tab
* Set capture on when opening triggers capture
* fix connection indicator
* fix minor issues
* Add preprocessor logic
* Use slot in log Panel for captures
* handle capture refresh in script
* Delete capture tab from script editor
* reset kafka resource on toggle static
* fix minor issue
* Allow resource in kafka capture
* use simple capture button in flow
* Remove capture panel
* Polish route trigger editor
* Fix resource saving
* Remove excessive padding
* merge nits
* Add history tab
# Conflicts:
# frontend/src/lib/components/EditableSchemaForm.svelte
* add workflow_dispatch to build
* add workflow_dispatch to build
* Move input copy from in a panel
* better capture UI
* Add smoothing animation on open input editor
* fix bad wrapping in input editor menu
* clean code
* restore captureTable
* clean
* fix sqlx
* fix build
* fix build
* build
* make initial_messages optional in line with db
* fix npm check
* better handle args for capture webhook and http
* add capture pagination
* Add capture table
* Add table for history inputs
* nit
* simplify capture table
* stop capturing on closing capture section
* show only 10 items per page for captures
* set focus to logs on script test
* Fix collapsable section
* nit
* open captures when applying args from triggers
* update edit input drawer
* fix all EditableSchemaForm
* fix panel init animation
* Add capture popover
* change open tab button
* clean code
* fix bad table display
* Fix JSON input bad sync
* make capture icon bigger
* nit
* nit
* revert unwanted change
* Change capture name and nits
* infinite scroll and cleaning
* Add toast when failing to retreive first step input
* add icons to dropdown edit input list
* remove unused log
* Add click outside to all schema pickers
* fix click oustide
* Fix migrations
* solve run button not refreshing properly
* Add a capture drawer
* change apply args and schema logic
* change apply args and schema logic
* fix toggle display
* fix schema display
* improve preview mode
* Add first step panel
* nit
* clean
* Add hint for captures
* clean
* nit
* nit
* fix script node page height
* improve animation on redirecting to capture
* improve saved input picker
* nit
* add Json placeholder
* nit
* add list animations
* delete useless logs
* add animated list to captures history and saved inputs
* Delete unused component
* clean
* nit
* clean code
* improve tab scroll experience
* nit
* nits
* nits
* fix script args update
* nit
* nit: include preview in history inputs in edit mode
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-13 14:45:38 +01:00
HugoCasa
a3aa091d1e
fea(backend): return 500 on sync webhook/route error ( #5049 )
...
* fea(backend): return 500 on sync webhook/route error
* fix sqlx
2025-01-13 12:25:06 +01:00
HugoCasa
e66fcf9270
feat: nats triggers ( #5039 )
...
* feat: nats triggers
* missing files
* fix build
* update feature flags
* event stream fixes
* update ee ref
2025-01-10 19:47:17 +01:00