Alex Petric
5c10fcda73
simplify some logic
2025-02-07 13:31:47 -05:00
Alex Petric
14109a832f
remove sqlx workaround
2025-02-07 12:00:14 -05:00
Alex Petric
3dc3f78c40
sqlx compilewarning
2025-02-06 22:10:51 -05:00
Alex Petric
13ca5ed18d
Merge branch 'main' into alp/teams_scripts
2025-02-06 11:00:09 -05:00
Alex Petric
80bcf05fa6
workspace error handler
2025-02-06 10:54:14 -05:00
Alex Petric
bee9ed5acc
workspaces router
2025-02-05 11:42:51 -05: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
Alex Petric
3ff79c53be
Merge branch 'main' into alp/teams_scripts
2025-02-04 10:01:06 -05:00
Ruben Fiszel
217522dc07
getting workspace encryption key only require admin privilege
2025-02-04 14:03:40 +01:00
Alexander Petric
3f042a9d50
backend and clients
2025-01-29 14:28:37 -05: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
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
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
Ruben Fiszel
34392ef66f
split workspace and auth logic
2024-12-15 13:13:09 +01:00
Ruben Fiszel
c09b6c442f
improve backend zip lib
2024-12-15 01:30:54 +01:00
Ruben Fiszel
51c0373b4c
feature gates more feature for faster compilation ( #4928 )
...
* cleanup
* cleanup
* all
* all
* all
* all
2024-12-15 00:00:37 +01:00
wendrul
c85d2a4957
feat: add C# support ( #4908 )
...
* Add csharp stuff and merge after the rewrite
* Add csharp, boilerplate + minimal execution
* Add initial parser
* Frontend + wasm export of the tree sitter parser
* Arg spread and use cache
* More types and req parsing
* Add logo
* Parse async and void to fit the wrapper to the main sig
* Csharp editor resource and var buttons
* Lockfile generation
* Add default parsing using serde_json::from_str
* Update init code for c#
* Nsjail for c#
* Remove c_variadic feature
* Remove unused imports
* Add c_variadic only for wasm32 assembly
* Fix c# test
* Add dotnet to the images
* Update dockerfiles
* Update dockerfile again
* Touch Dockerfile
* npm install c# parser
* Add opt mount in nsjail
* Update ee repo ref
* Add csharp to backend image for tests
* Add setting to set nuget package
* Windows compatibility
* Disable csharp test
* ADd feature flag
2024-12-13 00:29:01 +01:00
HugoCasa
952cbd182d
fix: app custom url diff ( #4914 )
...
* fix: app custom url diff
* update ee ref
2024-12-12 18:37:34 +01:00
Guilhem
e888c84a36
polish critical alert modal ( #4802 )
...
* polish critical alert modal
* Use Table component
* use table component pagination
* Add acknowledge to the table
* Polishing table
* fix nit
* Filter alerts
* Add notification count on modal
* Adjust table height
* Change mute description
* Fix layout
* minor fix
* Fix small screen issue
* fix toast on refresh
* Revert "fix toast on refresh"
This reverts commit ae3593e1af .
* filtering to backend, superadmin also acknowledges workspace (unless CLOUD_HOSTED), simplifications
* sqlx prep
* improve reactivity
* improvements
---------
Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com >
Co-authored-by: Alexander Petric <petric.al@gmail.com >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-12-05 11:07:11 +01:00
Lucas Abel
e4784e89da
feat(backend): implement flow scripts ( #4748 )
...
* feat(backend): implement flow scripts
* conditionally resolve reduced flow value
* conditionally use flow scripts based on the min worker version
* grant all to `flow_{version_lite,node}`
* do not silently discard errors
* env: add flow script feature flag
* flow script on cloud automatically
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-11-25 23:20:51 +01:00
Lucas Abel
29faefe856
fix: rename job workspace as well ( #4785 )
2024-11-25 08:09:30 +01:00
Ruben Fiszel
89456f502f
remove rsmq
2024-11-24 11:04:54 +01:00
Ruben Fiszel
278f593358
fix: retry on pushing next scheduled job of schedule
2024-11-24 08:52:51 +01:00
wendrul
4facf3ca3e
feat: Add a devops role to act as a "readonly admin" ( #4775 )
...
* Prepare sqlx
* Add devops role as bool
* Add devops reloe and use it for certain endpoints
* Critical alerts: complete devops role visiblity
* Update ee repo ref
* Prepare sqlx
2024-11-22 14:55:48 +01:00
HugoCasa
88b8ffab90
feat: kafka triggers ( #4713 )
...
* feat: kafka triggers
* sqlx
* fix build
* improve error messages on windows
* nit
* fix build
* missing action
* nit
* maybe fix ssl on windows
* nit
* update ee ref
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-11-18 17:03:50 +01:00
Alexander Petric
c32038a76d
feat(monitoring): workspace critical alerts ( #4684 )
...
* critical alert ui
* updating ui, backend logic
* revert
* type check fix npm
* checking out cli files from main
* moving alert icon
* adding sqlx mock data
* more sqlx changes
* feat(frontend): nodes from flow can be connected directly in expr input through a plug icon (#4652 )
* Add flow prop picker
# Conflicts:
# frontend/src/lib/components/propertyPicker/PropPicker.svelte
* fix unwanted copy
* cleaning
* Fix unset context
* move button and always display input
* fix unwanted proppicker display
* update
* update
* clean all
* clean all
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
* replace hide/show with toggle
* adding mutable setting and navigation to settings to configure channels
* merge fix
* ee non ee changees
* auto-acknowledge when muted
* pr comments
* fix bad log
* user inner modal component
* update unaknowledge alerts after acknowledging from modal
* aknowledge -> acknowledge
* format
* adding backend support for workspace critical alerts
* immediately check for alerts
* immediately check for alerts
* adding openapi changes
* simplify loading of superadmin/ee
* update modal logic
* frontend logic update
* sqlx prepare
* adding mute functionality for workspace critical alerts + show alerts button for instance and workspace settings
* npm / rust warnings & errors
* reverting non-mac cargo toml
* reverting non-mac cargo toml
* mute toggles in critical alert ui
* ui polish
* adding acknowledged_workspace column
* sqlx prepare
* make sure we wait for all stores to be loaded
* adding workspace mute logic to report_critical alert
* auto ack recovered alerts
* toggle workspace as superadmin and critical alerts in logs menu
* adding critical alert button if width < 786px
* refresh on change
* Move notification to logs (#4698 )
* Move notification to logs
* removing unused button
---------
Co-authored-by: Alexander Petric <petric.al@gmail.com >
* tailwind typo
* auto ack on mute
* don't change deref
* sqlx prep
* avoid renaming db column, keep acknowledged instead of acknowledged_global
* hide critical alert menu when not ee
* if workspace muted, also acknowledge global when workspace set
* removing save button for mute setting and improve ux/responsiveness
* fix: deployment callbacks have a concurrency limit of 1 on same path
* sqlx prep
* ee-repo ref
* z-[9999] for modal
---------
Co-authored-by: Guilhem <guilhemlemouel@gmail.com >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-11-15 09:48:48 +01:00
dieriba
556b4a41a1
feat: Support mistral anthropic for ai ( #4692 )
...
* wip: openai proxy and other ai proxy integration
* fixing migration script
* wip: support different ai provider in front, fix proxy openai
* wip: adding frontend ai provider
* updated copilot types
* wip: working on anthropic integration
* done AI proxy front
* adding new type and support for anthropic
* updating gitignore
* adding streaming response
* added streaming prompt
* push lib/gen
* wip: fixing anthropic
* anthropic fully supported
* fix backend missing var error and fully support stream event for anthropic
* remove gen directory
* fixing openapi file
* add support for mistral, and update create workspace components
* remove deref.json
* remove package-json
* openapi
* fix ui enable code
* added utility function for init workspace ai provider
* fix workspace switch bug
* update anthropic property and fixed frontend error
* fix workspace settings
* update error message and fix typo migration file
* chore: update openapi file
* fix dev file
* add .sqlx
* all
* update sqlx
---------
Co-authored-by: dieriba <t.dieriba@gmail.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-11-14 14:24:35 +01:00
Ruben Fiszel
fd4fecf945
split better oss and ee
2024-11-02 16:31:03 +01:00
HugoCasa
b0fbcd8305
feat: websocket triggers ( #4505 )
...
* feat: websocket triggers
* fix
* frontend nits
* nits
* new trigger UI
* sqlx
2024-10-18 00:21:52 +02:00
Ruben Fiszel
da969da96f
improve benchmarking tools ( #4450 )
2024-09-27 10:48:04 +02:00
wendrul
08ae91e6dd
feat: add static variable and resources support to ansible ( #4435 )
...
* Add static variable and resources to ansible
* Add wasm parser to cli
* Fix pulling of resources, rs and playbooks
* Remove unused import, add publish pkg-yaml
* Update package.json
* Update generate-metadata
* Fix null fields being serialized in script metadata
* npm install
2024-09-25 15:05:53 +02:00
HugoCasa
ae8f29a4cb
feat: http routing ( #4339 )
...
* feat: http routing
* all
* feat: improve UI
* final stuff
* fix: sqlx
* fix: nit
* fix: nits
* fix: error handler display
* fix: routes panel perms
* all
* fix: improve ability to paste from macos in vscode extension
* fix lock-write for deno
* all
* cleaning
* fix
* cli preprocessor
* nits
* nits
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-09-20 15:38:38 +02:00
wendrul
b0cb1e0b27
feat: ansible playbook support ( #4399 )
...
* Ansible execution and parsing
* Working collections and pip dependencies
* Remove unused vars
* File resources logic for ansible
* Make frontend for ansible and resource file
* Format file
* Change naming of file resource and inventory fields
* Add autocomplete for file extension resource creation
* Add endpoint to list file formats for resource types
* Add CLI functionality to pull/push file resources
* Add beta tag to ansible
* Add Full image dockerfiles containing ansible
* Prepare sqlx
* Update cargo.lock
* Update ansible path
* Remove unused imports
* Add back import removed by rust-analyzer
* Improve ansible init code
* Prepare sqlx
* Change dockerfile to make the full windmill image
* Remove old dockerfile
* Improve autocomplete file resource extension select
* Remove comment
* Validate file extension
* Add icons to text file resources
* Remove editability of file resource types
* Remove unused import
* Missing space
* Add yaml parser
2024-09-19 00:21:15 +02:00
Ruben Fiszel
87bf6b8511
rm legacy hubScripts
2024-09-17 17:33:52 +02:00
wendrul
91d328b132
feat: add rust ( #4253 )
...
* Add rust on frontend
* Add parser for rust
* Handle rust job execution
* Main has to return a result that is serializable
* Update parser: parse many rust types
* Rust parser dependencies
* Frontend wasm parser
* Add windmill parser rust to windmill parser wasm (temporarily)
* Add rust as a tag on worker__default
* Change init code for rust
* Cleanup rust_executor.rs
* Remove tree-sitter dep and fix unused imports
* Add lockfile and build logic
* Add cargo and rustup to windmill image
* Fix env var to work on docker image and dev env
* modify package.json
* Deps after parser publish
* Add stashed migration
* Unify rust versions
* Add error message when php or cargo are not present to use another image
* Error message conditionally on feature flag
* all ci/cd changes
* all ci/cd changes
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-08-30 17:01:04 +02:00
wendrul
af0e901954
feat: deployment UI filter deployable items ( #4183 )
...
* Add column to workspace settings table
* Add endpoint to change the deploy UI settings
* Make frontend page to edit UI settings
* Prepare sqlx
* Add deployment restrictions to frontend
* Fix function name
* Change dependency to minimatch, CE compatibility
* Remove default include_path
* Remove picomatch types (old dep)
* Use empty list instead of globstar as default
* All deployable if config is null
2024-08-05 13:27:13 +02:00
Ruben Fiszel
69e400563c
feat: variables created by password fields expire after 7 days
2024-08-01 16:05:03 +02:00
Ruben Fiszel
12ec75551e
feat: remove nativets in favor of bun with native pragma
2024-07-29 19:20:00 +02:00
HugoCasa
ecf4706784
feat: rehydrate instance settings/configs/users from CLI ( #4035 )
...
* feat: rehydrate instance settings/configs/users from CLI
* fix: nits
* feat: encryption key, saved instances, include all workspaces
* preshot client version
* Update deps.ts
2024-07-15 19:38:44 +02:00
HugoCasa
7f2289d4d5
feat: flow versioning ( #4009 )
...
* feat: flow versioning
* fix: sqlx
* fix: update schedule test for flow versioning
* fix: with_deployment_msg + UI nits
* fix: nit
* fix: improve down migration
* patch: keep latest flow version in flow table for backward compat
* fix: app deployments in list view
* chore: update ee ref
* fix: merge
* fix: tests
2024-07-03 15:53:45 +02:00
HugoCasa
6933f06f1c
feat: add extra metadata to folders/resources/types + path prefix filtering for all + improve groups UI ( #3936 )
...
* feat: add extra metadata to folders/schedules/resources/types
* feat: add path prefix filter to api
* chore: updatee ref
* feat: improve groups UI
* fix: nit
* fix: nit
2024-06-22 01:29:23 +02:00
Ruben Fiszel
d392de3a70
fix: retrigger bun dependencies jobs for importers when using common deps
2024-06-07 13:34:07 +02:00
Ruben Fiszel
e666f837cd
fix: further restrict job api to logged in workspace users or anonymous jobs only" ( #3860 )
2024-06-03 15:13:15 +02:00
Ruben Fiszel
0e7a25c0bd
feat: support multiple object storage + parquet_csv + polars -> datafusion" ( #3853 )
...
* multiple storage
* all
* rm symlinks
* all
* all
2024-05-31 11:59:51 +02:00
Ruben Fiszel
3db4e3bab1
feat: allow user resources in apps with a toggle ( #3821 )
...
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
* nits
* nits
2024-05-27 07:51:49 +02:00
Ruben Fiszel
6a332bc30f
fix: make all error strings more verbose
2024-05-25 22:15:15 +02:00
HugoCasa
126459f972
feat: improve permissioned audit logs ( #3799 )
...
* fix: increase token label size in db
* Revert "Revert "feat: improve premissioned audit logs (#3793 )" (#3798 )"
This reverts commit afae33f5f8 .
* feat: add username to email function
* fix: nit
* fix: add docstring to global func
2024-05-23 17:23:50 +02:00