Commit Graph

4080 Commits

Author SHA1 Message Date
wendrul 9f34712bd7 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 54b419d8ab 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
Ruben Fiszel c9ebf998f6 ts nits 2024-11-21 14:45:50 +01:00
Ruben Fiszel 9d1a50818f handle better non required inputs with strings 2024-11-21 12:29:06 +01:00
Ruben Fiszel defa7ae081 feat: allow labeled values in app multiselect 2024-11-21 10:46:15 +01:00
Ruben Fiszel 2c451a5782 fix: allow non already existing resources in audit logs 2024-11-21 00:43:29 +01:00
HugoCasa 8873928696 list input z-index nit (#4765) 2024-11-20 23:17:50 +01:00
wendrul 6e70df1db8 feat: Indexer improvements: s3 backup logic reworked, settings on the frontend (#4763)
* Add settings page + common code for indexer

* Prepare sqlx
2024-11-20 22:40:36 +01:00
Guilhem 5c25754252 feat: app editor ctrl nav (#4757)
* Add panzoom

* Add panzoom

* scroll top when reseting view

* fix drop in component

* Enable panzoom in connection mode

* nit view fix

* clean

* clean

* prevent component to change when using zoom menu

* Add button to enter panzoom

* Polish grid outline

* darker outline on darkmode

* change hand icon when holding cmd

* remove unused code

* reset isModifierKeyPressed on tab change

* fix resizing component issue
2024-11-20 19:44:14 +01:00
wendrul 4979a9ccdb feat: svix integration (#3814)
* Add create_webhook page

* Make small fixes

* Add token and change layout

* Rename to create-webhook

* Change query param to domain
2024-11-20 19:17:35 +01:00
HugoCasa 860ecd868c fix(frontend): pdf viewer fullscreen z-index (#4762)
* fix: pdf viewer fullscreen z-index

* increase zindex of multiselect
2024-11-20 17:32:02 +01:00
HugoCasa bb185e7318 refactor sql result formatting (#4760) 2024-11-20 14:53:39 +01:00
Ruben Fiszel f100f68b2f fix: add cancellable icons refresh in apps 2024-11-20 14:40:28 +01:00
Ruben Fiszel d9d6a88e02 improve flow status viewer 2024-11-20 14:03:49 +01:00
Ruben Fiszel c217bf27e3 app nits 2024-11-20 12:12:59 +01:00
Guilhem 7f8f6ef84f nit app editor (#4752)
* Prevent resize when connecting

* simplify cursor selection in connection mode

* remove useless log

* Add connection popover to hover
2024-11-20 09:46:37 +01:00
Ruben Fiszel 1ec940e4d7 iteration picker nits 2024-11-20 09:08:21 +01:00
Ruben Fiszel ae7835ce9c fix: prevent groups to be ill-defined with non writer owners 2024-11-19 20:13:54 +01:00
HugoCasa 78d08d1f90 app pdf nits (#4756) 2024-11-19 19:58:55 +01:00
HugoCasa 62ff6e1dcd use unpkg cdn for pdfjs worker (#4755) 2024-11-19 19:45:58 +01:00
Henri Courdent 9c7364cc21 Typos worker group configs (#4751) 2024-11-19 19:21:03 +01:00
HugoCasa 1453b9bfe6 feat: pdf file preview (#4753)
also fixes s3 missing content-length header
2024-11-19 19:09:20 +01:00
Guilhem eac49d8942 feat: improve app connection UX #4687
* Add animation on connection plugs

* Remove connection pannel

* Modify click outside

* fix minor issue

* remove unused component

* Prevent keyboard component navigation when connecting

* fix left right panel inversion

* fix pannel logic

* close secondary menu on connection

* Adjust plug position according to id badge size

* Change components colors

* Change plug color

* Fix escape connection

* Change cursor when connecting

* Add user toast on connecting

* Add component to exclusion area in connection mode

* exit connection on click connection button

* create connection button component

* remove debug logs

* fix pen color

* polish

* Add alert message in connection mode

* fix minor issue

* fix unwanted cursor override
2024-11-19 16:34:42 +01:00
Ruben Fiszel 659713b45b fix: improve flow status viewer for iterations (#4744)
* fix: improve flow status viewer iteration picker

* check

* check

* nit rm console log

* progress

* progress

* progress
2024-11-19 10:27:33 +01:00
HugoCasa 8209f9e9ed kafka frontend nits (#4734)
* kafka frontend nits

* don't make ws triggers admin only

* update ee ref
2024-11-18 19:23:29 +01:00
wendrul 019d7f9c1c Add mode to playbook init for discoverability (#4733) 2024-11-18 17:09:40 +01:00
HugoCasa 2a3c0d55fd 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 0d7426a3cf fix: do not mount critical alerts modal if user is neither superadmin nor workspace admin (#4731) 2024-11-18 15:34:22 +01:00
pyranota c6b6d39c66 Fix ignore confirmation modal if no changes (#4725) 2024-11-15 19:47:09 +01:00
pyranota e3d10def5f Ignore fields with false value in DiffViewer (#4712)
* Convert false to undefined

* Remove comments

* Make it consistent

* Formatting

* Apply at downstream
2024-11-15 19:24:57 +01:00
Henri Courdent 793b6b76a7 Result node placeholder (#4721) 2024-11-15 16:55:53 +01:00
Alexander Petric 5b39f8f0ba 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 bcc96d7e6a 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 0be1a3a09d feat: allow setting password and login type from superadmin UI 2024-11-14 13:22:48 +01:00
Ruben Fiszel 68cf3a4cf6 fix: fix intempestive expr type change in flow transform 2024-11-14 00:24:02 +01:00
HugoCasa 5799d72f5b feat: s3 input available for public apps (#4685) 2024-11-12 20:07:59 +01:00
Ruben Fiszel c2637cfa14 small nit 2024-11-12 10:46:59 +01:00
Ruben Fiszel 2f787bd8d7 fix: fix password inputs 2024-11-12 10:40:10 +01:00
Ruben Fiszel a7ef75a417 nit toast 2024-11-12 10:15:16 +01:00
Ruben Fiszel 9700efff61 fix autocomplete z-indez on flow editor 2024-11-11 10:34:12 +01:00
Ruben Fiszel bb1191d7af feat: expandable subflows in flows (#4683)
* all

* nit right panel flow props

* nits
2024-11-11 10:05:18 +01:00
Ruben Fiszel 5f2eef3520 fix python preprocessor indent 2024-11-10 00:05:57 +01:00
Alexander Petric 20434eba42 improve modal loading in critical alert ui (#4679)
* 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

* immediately check for alerts

* immediately check for alerts

* simplify loading of superadmin/ee

* update modal logic

---------

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-09 03:50:36 +01:00
Alexander Petric f870518d94 feat(frontend): critical alerts UI (#4653) 2024-11-09 00:42:10 +01:00
HugoCasa de75b806ec http routes static assets nits (#4676) 2024-11-08 20:25:03 +01:00
Ruben Fiszel 2b8b95ac33 nit right panel flow props 2024-11-08 19:45:37 +01:00
Ruben Fiszel ef36b0f5c9 nit right panel flow props 2024-11-08 19:35:21 +01:00
Ruben Fiszel 6713cf4813 nit right panel flow props 2024-11-08 19:20:22 +01:00
Ruben Fiszel dc3c394e7c nit app focus 2024-11-08 12:08:30 +01:00
Ruben Fiszel e94a7643e5 nit flow inputs 2024-11-07 23:30:48 +01:00