Alexander Petric
149d5fb3e1
feat: teams workspace scripts ( #5238 )
...
* backend and clients
* adding teams_team_name to workspace_settings
* openapi.yaml adding teams workspace settings endpoints
* teams workspace settings frontend
* workspaces router
* build ce
* ee gate
* ee oauth
* update client
* workspace error handler
* remove log
* ce
* point to new hub scripts
* updating hubPaths
* updating hubPaths
* cleanup
* merge
* schedule teams error
* polish, reactivity
* sqlx compilewarning
* sqlx migrate
* make it build
* router
* fix
* remove sqlx workaround
* Update ee-repo-ref.txt
* simplify some logic
* sqlx
* latest ee ref
* latest ee ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-13 16:53:57 +01:00
Ruben Fiszel
2015e79ff0
fix: better handling of null pre-processor return values
2025-02-12 22:10:53 +01:00
Lucas Abel
bf206515e8
fix(backend): improve schedule queries plan to leverage indices better for performance ( #5273 )
...
* backend: fix schedule queries plan
* rework
* fix skipped as non success
* update sqlx
* update
* all
* fix npm run check
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-12 16:34:03 +01:00
dieriba
57cfa4045b
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
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
4828a77f21
fix: fix concurrent limit jobs non restarting
2025-02-10 11:33:19 +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
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
HugoCasa
245c8719fc
feat: more AI models ( #5207 )
...
* feat: more AI models
* nits
* groq + openrouter
* nit
2025-02-04 22:17:30 +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
8a93418c25
fix: restart zombie job correctly handle concurrency limits ( #5181 )
...
* restart concurrency limits
* sqlx
2025-01-31 00:55:51 +01:00
Ruben Fiszel
c8cc9d2941
fix: improve codebase support
2025-01-30 18:25:08 +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
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
HugoCasa
1f53ded622
team plans billing threshold alert ( #5078 )
...
* team plans billing threshold alert
* nits
* tmp ee ref
* update ee ref
2025-01-17 14:06:47 +01:00
HugoCasa
b7eeed0729
triggers improvements ( #5074 )
...
* triggers improvements
* nits
* nits
* update ee ref
2025-01-16 13:01:45 +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
96d31f9577
prevent cancelling schedule next tick + remove need of flow_status inside add_completed_job ( #5022 )
2025-01-13 14:26:28 +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
HugoCasa
7b808c3977
fix(backend): multiple routes with same path but different methods ( #5040 )
2025-01-09 19:08:56 +01:00
Alexander Petric
0c391372cc
feat(frontend): allow workspace admin to set workspace color ( #5032 )
...
* feat(frontend): allow workspace admin to set workspace color
* sqlx prep
* sqlx prep
* make border wider, add removed comment
2025-01-09 06:42:36 +01:00
HugoCasa
01c6f84520
feat: captures ( #4807 )
...
* 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 workflow_dispatch to build
* add workflow_dispatch to build
* better capture UI
* 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
* improve migration + http capture fixes
* fix sqlx
* update ee ref
---------
Co-authored-by: Guilhem <guilhemlemouel@gmail.com >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-06 12:07:09 +01:00
HugoCasa
0c19171f57
feat: allow s3 file download/preview from inside apps ( #5004 )
...
* feat: allow s3 file download/preview from inside apps
* improve security + handle image preview
* fix build
* fix build
2025-01-04 01:47:57 +01:00
Lucas Abel
f5c85d7db9
fix(apps): check for auth when executing as publisher ( #4979 )
2025-01-03 16:47:15 +01:00
Alexander Petric
2832b887a5
interactive slack improvements ( #5001 )
...
* refactor / rust style
* add detailed description to default message
* default args, dynamic enums
* sqlx prep
* cancel / close behavior
2025-01-03 16:27:03 +01:00
Lucas Abel
eeece84a4b
fix: handle 'flownode' job kind where missing ( #4990 )
2024-12-30 19:10:47 +09:00
Alexander Petric
6308bf0dcb
feat: interactive slack approvals ( #4942 )
...
* feat: interactive slack approvals
* move form creation logic to backend
* adding python client
* polish messages
* date time picker and default values
* Initial commit
* Initial commit
* refactor
* cleanup
* cleanup
* cleanup
* cleanup, treating numbers/integers/booleans
* adding slack to ts dependencies
* sqlx prepare
* gitignore, adding package.lock
* ellipsis comments
* Update typescript-client/client.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* refactor to move everything serverside + modal
* sqlx prep
* reverting slack dependency
* python client update
* fix build errors
* Update pyproject.toml
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-12-20 21:47:45 +01:00
Lucas Abel
83d24cb9ab
cache: better cache system ( #4951 )
...
* cache: consider source as untrusted
* cache: better scoped cache
* cache: non-lazy flow value parse error
* fixup! cache: consider source as untrusted
* fixup! cache: consider source as untrusted
* fixup! cache: better scoped cache
2024-12-20 11:19:57 +01:00
Lucas Abel
fb536df066
fix: fix redeploying flows with attached schedules
2024-12-18 18:56:30 +01:00
Lucas Abel
51b74e713c
cache: improve error reporting ( #4940 )
2024-12-17 19:44:51 +00:00
Lucas Abel
977ac5c3f3
feat(cache): remove persistent raw values from queue ( #4866 )
...
* feat(cache): remove persistent raw values from queue
* test: add tests and fix discovered regressions
* fix csharp executor after rebase
* invalidate script cache after locking
* fix lite flow version race
* fix flow dependencies lock race
* update version flag to `v.1.440`
2024-12-16 17:10:16 +01:00
Ruben Fiszel
9cdf90c50f
update sqlx
2024-12-14 13:27:42 +01:00
pyranota
7398c1c09c
Display memory peak while installing wheels with uv ( #4889 )
...
* fix no_uv not affecting deploy
Before this fix no_uv, no_uv_compile and no_uv_install were not affecting Dependency jobs
These jobs are only affected if used USE_PIP_COMPILE or USE_PIP_INSTALL env variables
To make it more consistant, no_uv should also affect dep jobs.
Also make ansible use uv by default
* Make it build
* Add no_uv_usage stats
* Provide build-env for Samael through shell.nix
* Run update_sqlx.sh
* Update ee-repo-ref
* Display memory peak while installing wheels with uv
* Invert DISABLE_NSJAIL
* Make it safer
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-12-12 11:26:02 +01:00
pyranota
3618e26326
Add no_uv_usage stats ( #4883 )
...
* fix no_uv not affecting deploy
Before this fix no_uv, no_uv_compile and no_uv_install were not affecting Dependency jobs
These jobs are only affected if used USE_PIP_COMPILE or USE_PIP_INSTALL env variables
To make it more consistant, no_uv should also affect dep jobs.
Also make ansible use uv by default
* Make it build
* Add no_uv_usage stats
* Provide build-env for Samael through shell.nix
* Run update_sqlx.sh
* Update ee-repo-ref
* Update sqlx cache
* Update ee-repo-ref
* Update ee repo ref
* Update sqlx cache
* Update ee-repo-ref.txt
2024-12-12 00:32:03 +01:00
Lucas Abel
af5cca1b00
feat(cache): re-work job results cache ( #4898 )
2024-12-11 12:01:48 +01:00
Ruben Fiszel
96714b8b9b
update sqlx
2024-12-10 00:42:37 +01:00
HugoCasa
8e9cb9c4d3
ee compute units telemetry ( #4865 )
...
* ee compute units telemetry
* update ee ref
2024-12-06 16:52:03 +01:00