Commit Graph

101 Commits

Author SHA1 Message Date
Ruben Fiszel
dd24ed59ec feat: add support for custom components in react or vanilla JS (#2603)
* cc

* cc

* cc

* all

* sqlx
2023-11-09 19:38:52 +01:00
Guillaume Bouvignies
bc4f935c08 fix: Fix error handler token injection (#2598)
* fix: Fix error handler token injection

* Add frontend
2023-11-09 11:58:45 +01:00
Guillaume Bouvignies
36ab98c1c1 feat: Add override all schedule handlers button (#2579)
* feat: Add override all schedule handlers button

* sqlx prepare

* sqlx prepare again
2023-11-07 13:29:23 +01:00
Ruben Fiszel
f15d12c3ab fix compile 2023-11-07 09:42:28 +01:00
Ruben Fiszel
1b3d01fc0c fix: add tag sync for cli 2023-11-06 22:06:24 +01:00
Ruben Fiszel
d74d2b4efb fix: add tag support for CLI 2023-11-06 21:40:25 +01:00
Guillaume Bouvignies
54cc811405 feat: Add toggle to optionally mute error handler for cancelled jobs (#2567)
* fix: Fix canceled flag in completed_job table

* Add toggle to workspace settings
2023-11-06 18:24:51 +01:00
Guillaume Bouvignies
d3698fc07b feat: Schedule error handler improvements (#2555)
* Fix schedule path for scheduled scripts

* feat: Add possibility to mute workspace error handler on schedules and define an error/recovery handler as default

* Permission error handlers to the error handler group for consistency, and small refactoring

* Fix recovery handler

* Add parent job to recovery handler for consistency

* Fix tests

* Locking feature to EE in FE
2023-11-04 00:52:37 +01:00
Ruben Fiszel
64e98367a8 fix: support results[<x>] + export more metatada for scripts 2023-11-03 21:53:58 +01:00
Guillaume Bouvignies
8dfff04730 fix: Slack error handler missing "slack" arg (#2546) 2023-11-02 22:33:16 +01:00
Guillaume Bouvignies
bd69bafe59 feat: Priority queue (#2476)
* BE v1 for priority queue

* Add FE prototype

* sqlx prepare

* Disply priority badge in job detail view

* sqlx prepare post merge

* Add priority number input field next to toggle

* increase dnd timeout for app events

* Update db migration

* Fix FE import

* Add badge to script/flow details page and fix EE-only mention in tooltip

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-23 14:22:59 +02:00
Guillaume Bouvignies
31c923aab8 fix: Slack token is readable by g/error_handler (#2454)
* fix: Slack token is readable by g/error_handler

* remove is_some
2023-10-16 14:53:12 +02:00
Ruben Fiszel
2ee57f3f84 feat: refactor entirely json processing in favor or rawjson to handle larger payloads (#2446)
* raw json

* raw json

* raw json

* raw json

* the big rawjson rewrite

* resolve merge conflicts

* all

* progress

* progress

* all compile

* remove mut

* remove mut

* remove mut

* arc queuedjob

* finish

* finish

* finish

* fixes

* progress

* fix result

* small fixes

* small fixes

* fix tests

* fix tests

* fix tests

* optimize eval timeout

* optimize eval timeout

* optimize eval timeout

* handle big args and result in get jobs

* improve args

* fix

* fix

* fix tests

* fix tests

* done

* add bigquery to native picker

* add bigquery

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-10-16 10:46:55 +02:00
Guillaume Bouvignies
a55cb50b5d feat: Workspace error handler now supports args and Slack for EE (#2447)
* feat: Workspace error handler now supports args and Slack

* Cleanup unused value

* run sqlx prepare

* Fix script path loading
2023-10-13 17:32:11 +02:00
Guillaume Bouvignies
b56ec4ab85 refactor: Extract error / recovery handler to its own component (#2445)
* refactor: Extract error / recovery handler to its own component

* Small design changes

* Reset handler args on openNew

* Slack handler as EE only

* Add link to windmill hub

* Fix "undefined" when input disabled

* tooltip on custom tab header
2023-10-13 15:01:18 +02:00
Guillaume Bouvignies
0965d67dc8 feat: Improve Slack schedule error handler and default to it (#2439)
* feat: Improve Slack schedule error handler and default to it

* refactor BE to re-use existing logic to handle error

* Fix svelte error
2023-10-12 15:11:05 +02:00
Ruben Fiszel
96bf122934 fix: tarball for workspace export is generated in /tmp/windmill 2023-10-05 23:00:15 +02:00
Ruben Fiszel
2ae6050cd5 fix worker groups for non superadmins 2023-09-30 07:50:13 +02:00
HugoCasa
bff09d45e9 feat: ai code completion (#2361) 2023-09-29 16:04:28 +02:00
Faton Ramadani
0ec664d739 feat(frontend): add app groups management (#2347)
* feat(frontend): add app groups management

* feat(frontend): add app groups management

* app groups

* app groups

* app groups

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-09-28 01:18:35 +02:00
Ruben Fiszel
0ae8d097cd setup improvements 2023-09-21 12:49:20 +02:00
Ruben Fiszel
79c4ee5e6f feat: set instance settings from UI (#2314) 2023-09-20 23:15:19 +02:00
Ruben Fiszel
903ef0e3c6 feat: suggest adding openai key on workspace creation 2023-09-16 10:05:32 +02:00
Ruben Fiszel
f873d9b4ba fix: validate more strongly usernames 2023-09-16 09:29:49 +02:00
Faton Ramadani
c19757af1b feat(frontend): Global CSS editor (#2178)
* feat(frontend): add global css

* feat(frontend): working styling

* feat(frontend): Add default classes

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* feat(frontend): Add global css v0

* feat(frontend): Add global css v0

* add css workers

* fix(frontend): Fix overflow issue

* wip

* feat(frontend): check for EE before injecting global css

* wip

* wip

* wip

* fix(frontend): fix typing issues

* fix(frontend): fix typing issues

* fix(frontend): fix global css

* fix(frontend): add missing mapping

* fix(frontend): Fix how styles are loaded

* fix(frontend): fix preview

* feat(frontend): fix everything

* feat(frontend): fix class autocomplete

* feat(frontend): remove console.log

* feat(frontend): update tooltup

* feat(frontend): eval

* feat(frontend): eval

* feat(frontend): fix build

* feat(frontend): fix initial binding

* feat(frontend): wip

* wip

* feat(frontend): Finish theme v0

* feat(frontend): Fix resource page

* feat(frontend): fix build

* feat(frontend): theme UI

* feat(frontend): theme UI

* feat(frontend): theme UI

* feat(frontend): fix EE

* feat(frontend): add missing warning

* feat(frontend): fix preview

* feat(frontend): fix global css by component initialisation

* feat(frontend): remove unused libraries

* feat(frontend): fix EE check

* feat(frontend): fix EE check

* feat(frontend): fix preview

* feat(frontend): Fix migration

* feat(frontend): Fix issues

* feat(frontend): add missing disabled in migration modal

* feat(frontend): Fix preview

* feat(frontend): Fix preview

* all

* all

* all

* sqlx

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-09-15 22:55:47 +02:00
Ruben Fiszel
b1c4ba4128 recovery handler is ee only 2023-09-14 09:04:50 +02:00
Ruben Fiszel
afecc756ee fix sqlx 2023-09-14 08:50:19 +02:00
Ruben Fiszel
b0e699f07f restrict nb of workspaces to 3 + number of oauth users to 50 2023-09-14 08:48:17 +02:00
Ruben Fiszel
dfcdb2d8ff feat: worker groups admin panel (#2277)
* merge

* merge

* merge

* wg

* progress

* all

* all

* all

* all

* all

* all

* fix

* fix
2023-09-13 21:24:54 +02:00
Ruben Fiszel
106644181d fix premium info computation 2023-08-29 21:41:26 +02:00
Ruben Fiszel
958c172173 fix premium info computation 2023-08-29 21:23:15 +02:00
Ruben Fiszel
702477dd80 exclude cache and state from tarball export 2023-08-29 19:36:25 +02:00
Ruben Fiszel
c77d38563d remove unecessary postgres transactions and improve performance 2023-08-22 00:34:44 +02:00
Ruben Fiszel
e41a3fc1d2 improve sql query performances 2023-08-20 18:06:59 +02:00
HugoCasa
2f18b94b33 feat: add native powershell support (#2025)
* feat: add powershell support

* fix: lang build
2023-08-10 13:19:50 +00:00
HugoCasa
f1a0070b71 feat: add graphql support (#2014)
* feat: add graphql support

* fix: use custom editor for viewing graphql schema

* fix: graphql parser cargo version

* fix: add graphql where missing
2023-08-09 16:19:57 +02:00
HugoCasa
488d2813f3 feat: add snowflake (#1987)
* feat: unveil windmill AI

* feat: add snowflake

* fix: uppercase snowflake auth params
2023-08-03 17:22:00 +02:00
HugoCasa
c9110575cd feat: add bigquery (#1934)
* feat: add bigquery

* fix: remove debug logs

* fix: add records number limit

* fix: revert unwanted changes

* feat: bigquery enterprise only

* fix: google auth only when enterprise

* fix: rename bigquery scripts
2023-07-27 14:24:27 +02:00
HugoCasa
f7201bff0e feat: use openai resource for windmill AI (#1902)
* feat: add inline code gen flow

* feat(frontend): add script gen to flow and app builders

* fix(backend): allow all users to use openai

* feat: use openai resource for windmill AI

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-07-19 13:44:16 +02:00
HugoCasa
d4345fb02c feat(frontend): generate scripts in the flow and app builders (#1886)
* feat: add inline code gen flow

* feat(frontend): add script gen to flow and app builders

* fix(backend): allow all users to use openai

* Fix build

* Fix build

* Fix build

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-07-18 12:55:35 +02:00
Ruben Fiszel
62c33eec83 feat: add schedule to syncable resources 2023-07-16 10:47:24 +02:00
Jakub Kołodziejczak
223b80768a chore(backend): upgrade sqlx to ^0.7 (#1865)
* DRAFT chore(backend): upgrade sqlx to ^0.7

related to:
* https://github.com/windmill-labs/windmill/pull/1858
* https://github.com/launchbadge/sqlx/issues/1163#issuecomment-1627685514

* (vol. 2) in 0.7, `Transaction` can no longer implement `Executor` directly

ref: afb6b1066e/examples/postgres/transaction/src/main.rs (L14-L17)

notice that I'm temporarly using my custom patch
16e4c9a8f3
it's related to https://github.com/launchbadge/sqlx/issues/2611

* post git rebase chores

* use upstream fix from 0.7.1

* fix compile

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-15 14:06:20 +02:00
HugoCasa
1f86d79137 feat: generate and fix scripts using Autopilot powered by OpenAI #1827)
* feat(frontend): generate simple script from prompt

* feat(backend): add OpenAI key workspace settings

* feat(frontend): add OpenAI key workplace settings

* feat: proxy to backend + support all languages

* fix: openapi spec

* feat: ScriptGen new UI + gpt 4

* fix: openai key sqlx data

* fix: diffEditor optional

* feat: beta + minor improvements

* feat: resource type support

* feat: edit with AI

* feat: AI fix

* feat: minor improvements
content max length, format, env info

* fix: minor
2023-07-12 17:07:45 +02:00
Ruben Fiszel
79ea3fae66 bun fixes 2023-07-06 22:29:00 +02:00
HugoCasa
69ee98a835 feat: workspace error handler (#1799)
* feat: add workspace error handler

* feat: run error handler as group

* fix: handler picker initial path

* fix(backend): separate global / workspace handlers

* fix(frontend): error handler picker tab change

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-07-06 21:43:15 +02:00
Ruben Fiszel
acd6a019c3 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel
41213a61aa feat: native fetch + native postgresql jobs (#1796)
* push

* test

* test

* done

* fix

* modify script lang enum

* fix tests

* update wasm

* fix tests
2023-07-04 19:39:59 +02:00
Ruben Fiszel
82c48dc5c9 fix: add CREATE_WORKSPACE_REQUIRE_SUPERADMIN 2023-06-29 23:06:03 +02:00
Ruben Fiszel
81d62f9250 remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel
d6132ed8d2 improve docker-compose and email sending 2023-06-29 11:52:46 +02:00