299 Commits

Author SHA1 Message Date
Guillaume Bouvignies
4f292419de feat: Front end for script concurrency limit (#1863)
* Front end for script concurrency limit

* Fix frontend

* sqlx prepare

* fix compile

* add flow inline scripts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-13 17:32:08 +02:00
HugoCasa
012ea2dc0a 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
2be0714822 fix: Other schedules only display schedules related to script/flow 2023-07-12 12:33:06 +02:00
Ruben Fiszel
08e3502126 fix: make workers bind their http servers on any available port for OCI compliance 2023-07-12 11:19:01 +02:00
Guillaume Bouvignies
e2fb35a487 feat: Per script concurrency limit with time window (#1816)
* Add concurrency a per-script concurrency limit

* Add a per-script per time window concurrency limit

* Improve feature with a better estimation of the next schedule timestamp

* Add concurrency limits for inline scripts

* Fix tests

* run sqlx prepare

* Add requeue event to job logs
2023-07-11 23:35:26 +02:00
Guillaume Bouvignies
96df8900cb Specific NOOP jobs benchmark (#1810)
* Refactor and fix NOOP benchmark

* Add endpoint to toggle workers on/off when compiled in benchmark mode

* Improve noop benchmark
2023-07-10 14:16:34 +02:00
Ruben Fiszel
fee60a1dda fix raw_app_update 2023-07-10 13:53:58 +02:00
Ruben Fiszel
91d4664aaa improve schedule section of run page 2023-07-09 22:35:33 +02:00
Ruben Fiszel
3618f8037b improve page runs history 2023-07-09 20:45:37 +02:00
Ruben Fiszel
45d89496c0 fix docker-compose 2023-07-09 09:52:53 +02:00
Ruben Fiszel
b45c3d1132 bun fixes 2023-07-06 22:29:00 +02:00
HugoCasa
54cd5ce569 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
4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel
c669e9940b 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
8c566a2e46 feat: add configurable global error handler 2023-06-30 12:46:02 +02:00
Ruben Fiszel
ff942f4d06 fix: add CREATE_WORKSPACE_REQUIRE_SUPERADMIN 2023-06-29 23:06:03 +02:00
Ruben Fiszel
cfc7857e6c remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel
f096145cee improve docker-compose and email sending 2023-06-29 11:52:46 +02:00
Ruben Fiszel
7851e932ec feat: smtp support to invite users (#1777)
* email support

* everyhting

* smtp

* update

* update

* update

* setup backend test
2023-06-29 10:34:44 +02:00
Ruben Fiszel
03da1f34f2 add proto postgresql backend support as a job language 2023-06-26 18:23:14 +02:00
Ruben Fiszel
ee8f0e8def improve support for native http handling 2023-06-25 20:00:27 +02:00
Ruben Fiszel
4763242780 feat: cancel non-yet-running jobs and rework force cancellation 2023-06-25 18:02:00 +02:00
Ruben Fiszel
e777a79a31 docs -> www 2023-06-24 19:31:29 +02:00
Ruben Fiszel
7a1f999cea feat: download logs from backend 2023-06-22 22:38:41 +02:00
Ruben Fiszel
f9341af2fe feat: add update checker on version info 2023-06-22 18:12:45 +02:00
Ruben Fiszel
2df29a131e feat(cli): add skipSecrets, skipVariables, skipResources 2023-06-22 14:20:46 +02:00
Ruben Fiszel
4c594c0e64 feat: step mocking for flows 2023-06-22 12:01:08 +02:00
Ruben Fiszel
4b7f681e5a feat: add delete draft from home 2023-06-19 02:14:38 +02:00
Ruben Fiszel
ac1a432bb9 feat: dev/staging/prod and deploy from web (#1733) 2023-06-17 13:57:04 +02:00
Ruben Fiszel
e2663371d5 fix: fix retrieving last jobs of schedules 2023-06-12 04:27:23 +02:00
Ruben Fiszel
4963286edd feat: rework schedule page entirely to display jobs informations 2023-06-12 04:09:34 +02:00
Ruben Fiszel
b6a037aa04 fix: add NO_PROXY and make pip respect proxy args 2023-06-09 21:46:56 +02:00
Ming Fang
bfe88def34 fix: toggle self-signed certs support in oauth2 using env variable ACCEPT_INVALID_CERTS (#1694)
* toggle self-signed certs support in oauth2 using env variable DANGER_ACCEPT_INVALID_CERTS

* Update lib.rs

* Document DANGER_ACCEPT_INVALID_CERTS env variable

* change to ACCEPT_INVALID_CERTS

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-06-09 15:14:43 +02:00
Ruben Fiszel
43c89fbcfd few fixes + devfrontend v0 2023-06-08 14:06:42 +02:00
Ruben Fiszel
2943d26f0f fix backend compile 2023-06-06 11:01:49 +02:00
Ruben Fiszel
5bdf7171e6 migrate all jsonschema parser to wasms 2023-06-06 10:52:04 +02:00
Ruben Fiszel
c702f40980 feat: migrate ts parser to wasm (#1686)
* migrate ts parser to wasm

* add wasm

* revert py
2023-06-06 09:44:38 +02:00
Ruben Fiszel
98e1fdd898 feat: support custom env variables (#1675)
* custom envs

* feat: custom envs

* only on non cloud

* remove unecessary imports
2023-06-05 17:42:57 +02:00
Ruben Fiszel
4609bfb10a add support for openai endpoints 2023-06-04 23:07:06 +02:00
Ruben Fiszel
f648e4312c fix react-sdk build 2023-06-04 21:51:20 +02:00
Ruben Fiszel
7e466b7715 feat: add cache as a primitive for flows (#1671)
* feat: add cache as a primitive for flows

* fix failure module
2023-06-04 14:39:10 +02:00
Ruben Fiszel
e14a2357d0 make admins scripts/apps undeletable 2023-06-02 11:59:52 +02:00
Ruben Fiszel
f7e23acfdc fix: renaming app + improve flow rendering 2023-06-02 11:51:47 +02:00
Ruben Fiszel
45641cbbab make to_i64 more resilient and clearer error message on client setup 2023-06-01 17:15:37 +02:00
Ruben Fiszel
8bc77efa5c fix remove_owner incompatibility with aurora 2023-05-31 20:43:20 +02:00
Ruben Fiszel
8c33599663 feat(backend): webhook specific tokens 2023-05-29 23:39:50 +02:00
Ruben Fiszel
91ad8d0b8d rework premium workspace pricing 2023-05-28 13:00:21 +02:00
Ruben Fiszel
f32a913506 update all_runnables 2023-05-27 17:22:56 +02:00
Ruben Fiszel
1fff16bbb8 fix(cli): expose an encrypt value endpoint 2023-05-27 14:31:30 +02:00
Ruben Fiszel
a0b3f8c6f9 add /user/all_runnable 2023-05-25 20:43:56 +02:00