Alexander Petric
2668e37574
adding sqlx migration to grant windmill permissions to db user ( #4806 )
2024-11-27 18:27:06 +01:00
Lucas Abel
2911775d0a
feat(backend): store flow inner modules into flow_node table ( #4778 )
2024-11-27 16:08:31 +01:00
Lucas Abel and Ruben Fiszel
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
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
Alexander Petric
8909bea935
feat(schedule): support for extended cron syntax ( #4754 )
...
* init
* croner with fall back on scheduling failure
* adding packages
* fallback mechanism v1
* removing debug console log
* improving cargo organization
* queue cargo.toml
* use workspace cargo-tz
* test next occurrence when creating new croner schedule
* toggle label
* treat legacy edit requests where no cron_version is provided as v1
* fix edit schedule
2024-11-21 19:24:38 +01:00
Lucas Abel
c99d360c3c
fix: garbage collect job table + delete leaked ones ( #4767 )
2024-11-21 09:02:24 +01:00
Lucas Abel
ff7c94c5a7
fix: grant all to new job table ( #4758 )
2024-11-20 09:44:34 +01:00
Lucas Abel
97457a5679
feat(backend): move some static fields out of job tables ( #4689 )
...
* feat(backend): move some static fields out of job tables
* backend: re-use `flow_value` if any and avoid clone
* update minimal version to 1.427.0
2024-11-19 11:27:55 +01:00
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
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
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
Alexander Petric
d9148eaa78
feat(frontend): critical alerts UI ( #4653 )
2024-11-09 00:42:10 +01:00
HugoCasa
dc8bd6d2b5
feat: http custom routes for static assets ( #4666 )
...
* feat: http custom routes for static assets
* update ee ref + fix build
* fix build
* nit
2024-11-07 20:16:14 +01:00
HugoCasa
4dda0fb8cd
feat: websocket authentication ( #4635 )
...
* feat: websocket authentication
* npm check, sqlx and preprocessor template
* better run job
* nit
2024-11-05 11:54:08 +01:00
Ruben Fiszel
85de44cb93
feat: autoscaling v0 ( #4593 )
...
* all
* all
all
all
all
all
all
all
all
all
* all
* all
* nits
* nits
2024-10-28 00:47:19 +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
Alexander Petric
585f55edd2
feat(monitoring): Critical Alerts for Jobs Waiting in Queue [enterprise] ( #4491 )
...
* adding the job queue monitor
* first draft of queue metrics ui
* fix svelte check complaints
* harmonizing naming
* adding concurrency_lock table
* updating ee repo ref
* Rename 20241008155800_alert_lock_table.up.sql to 20241008155800_concurrency_lock_table.up.sql
* Rename 20241008155800_alert_lock_table.down.sql to 20241008155800_concurrency_lock_table.down.sql
* updating ee.rs
* adding owner as optional column
* handling of ee/non-ee
* Update ee.rs with newline
2024-10-09 20:48:18 +02:00
HugoCasa and Ruben Fiszel
8841180b5f
BYPASSRLS admin policy falllback ( #4493 )
...
* BYPASSRLS admin policy falllback
* use fixed list instead
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-10-08 20:08:29 +02:00
7c36e554d7
feat(frontend): add quick access menu in flow editor ( #4415 )
...
* (frontend) add quick access menu in flow editor
* (frontend) add quick access menu in flow editor
* improve UI
* make design prettier
* add scroll effects
* improve loading preview
* change no items found
* prevent scroll using menu
* change user folder button
* set default integration icon
* reduce column width
* ajust font
* add defaults script button
* add shadow divider
* fix scroll
* add chevron
* Change toogle bar
* Add preprocessor menu
* add handler
* simplify scroll
* fix display
* fix minor issues
* delete useless log
* revert node tree changes
* merge main
* fix z-index issues
* iterate
* fix: improve allowed domains setting for sso
* chore(main): release 1.402.3 (#4458 )
* chore(main): release 1.402.3
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com >
* improve allowed domains change handling
* send stats when renewing key if last >24h (#4430 )
* feat: send stats when renewing key if last >24h
* nits
* fix: sqlx
* nit
* renewal reason
* stats reason
* update ee ref
* Update ee-repo-ref.txt
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
* fix: skip one migration to avoid using md5 for azure support
* all
* all
* Apply automatic changes
* all
* done?
* nit
* nit
* nit
* nit
* nit noAi if prefilter is not all
* fix shadow
* fix error handler
* fix error handler
* Polishing default script settings
* all
* all
* full
* all
* add deno_core as features
* all
* remove warnings
* all
* npm check
* npm check
* new script script
* nits
* nits item 0
* nits item 0
---------
Co-authored-by: Guilhem Le Mouel <guilhem.le-mouel.ext@altran.com >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com >
Co-authored-by: HugoCasa <hugo@casademont.ch >
Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home >
2024-10-03 14:15:01 +02:00
Ruben Fiszel
bd6ddc166b
feat(cli): add queues, workers and worker-groups commands ( #4439 )
...
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
* all
2024-09-26 11:27:37 +02:00
Ruben Fiszel
efbcb1ffdd
fix: migrate smtp instance settings to global settings ( #4416 )
...
* all
* all
* all
* fix
* update ee private
* all
2024-09-21 01:42:15 +02:00
HugoCasa and Ruben Fiszel
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
5a4149f4db
fix hub sync script
2024-09-09 00:30:09 +02:00
Ruben Fiszel
dc7963d4c7
fix: fix hub sync script
2024-09-08 23:49:09 +02:00
Ruben Fiszel
9eea0c95d4
synchronize hub script is moved to new windmill cli
2024-09-07 19:05:34 +02:00
HugoCasa
a009c8df23
feat: schedule success handler ( #4346 )
2024-09-06 19:03:09 +02:00
Ruben Fiszel
c93ccb6f55
improve service logs with json_fmt
2024-08-31 23:04:12 +02:00
Ruben Fiszel
c62e152d27
feat: service logs ( #4244 )
2024-08-31 14:57:35 +02:00
HugoCasa
c3ce68066c
feat: min workers in worker group alert + zombie job critical alert ( #4307 )
...
* feat: min workers in worker group alert + zombie job critical alert
* updatee ee ref
2024-08-30 17:25:53 +02:00
wendrul and Ruben Fiszel
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
553c95d71b
improve queue indices
2024-07-31 23:44:40 +02:00
Ruben Fiszel
78c115c68c
fix: improve index usage and runs page performance
2024-07-31 13:08:28 +02:00
Ruben Fiszel
12ec75551e
feat: remove nativets in favor of bun with native pragma
2024-07-29 19:20:00 +02:00
Ruben Fiszel
43f5f31126
improve slightly concurrency run min started_at query
2024-07-27 12:41:01 +02:00
Ruben Fiszel
8f2fd8984f
remove env_id default value
2024-07-11 09:00:56 +02:00
HugoCasa
af3fd09d80
fix(backend): make value of flow_version not null ( #4039 )
...
* fix: flow versioning nit: make value of flow version not null
* fix: sqlx
* fix: missing code change
* fix: improve nit migration
2024-07-08 11:56:53 +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
ec673ac6b4
feat: schedule pausing ( #3976 )
...
* feat: schedule pausing
* fix: improve UI
2024-06-25 23:39:34 +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
HugoCasa
3e7473b456
fix: job perms and job logs grants ( #3914 )
...
* fix: job perms grants
* fix: add job logs grants
2024-06-17 14:22:47 +02:00
HugoCasa
93f58056a0
feat: replace ephemeral tokens by jwt ( #3908 )
...
* feat: replace ephemeral tokens by jwt
* fix: migration + sqlx
* fix: tests, agent, ee ref
* fix: sqlx
* fix: tests
* fix: jwt prefix change + fix tests
* fix: nit
* fix: handle agent mode
2024-06-14 13:07:35 +02:00
Ruben Fiszel
26ad5fd5f3
fix: add database grants to oustanding_wait_time table
2024-06-13 14:29:33 +02:00
Ruben Fiszel
c8915063c4
feat: track dependency map for bun + inline script of flows
2024-06-08 16:43:48 +02:00
62f889c9da
feat: warn when jobs spent a long time waiting in queue ( #3856 )
...
* Store jobs that waited for too long
* Add warnings as badges for long waited jobs
* Separate into self_wait_time and aggregate
Change the UI accordingly
* Prepare sqlx
* Update backend/windmill-queue/src/jobs.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Fix incorrect query
* Prepare sqlx
* Move insert to pull + UI fixes
Insert as soon as the job is pulled and therefore started.
Add a badge on the lfow timeline to show the self wait time
* Move to after the pull in the worker
Move the logic to after the pull in the worker in the case its not a
noop
* Remove weird line
* Remove unnecessary async
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-06-03 16:05:15 +02:00
Ruben Fiszel
12d90790f6
fix: add audit log exception to schedules
2024-05-31 22:29:15 +02:00
HugoCasa
bba0091bff
fix: worker metrics ( #3837 )
...
* fix: worker metrics
* chore: sqlx
* chore: update ee ref
* fix: remove jemalloc stats unwrap
2024-05-29 01:12:00 +02:00
HugoCasa
5de79aace3
feat: worker vcpus/memory limits + mem usage ( #3828 )
2024-05-27 18:43:02 +02:00