Commit Graph

415 Commits

Author SHA1 Message Date
Ruben Fiszel
fb2da8ebb7 fix resource types embedding 2023-10-27 16:48:20 +02:00
Ruben Fiszel
57dc62b298 fix: prometheus metrics are an instance settings 2023-10-25 23:32:47 +02:00
Ruben Fiszel
d4da2de5c0 fix: improve concurrency limit lock 2023-10-25 00:17:38 +02:00
Ruben Fiszel
7a0346e167 improve batch job api for scripts 2023-10-24 12:20:57 +02:00
Guillaume Bouvignies
a6c8725227 fix: ListableQueuedJob were missing the priority field (#2500) 2023-10-24 09:49:14 +02:00
Ruben Fiszel
723059b0d5 add support for batch flow jobs 2023-10-23 21:53:22 +02:00
Ruben Fiszel
65b36baf41 feat: dedicated worker for python (#2492)
* update

* all
2023-10-23 20:21:16 +02:00
HugoCasa
b076e093df feat: add unique id (#2483)
* feat: add unique id

* fix: sqlx prepare

* feat: add disable option

* fix: cron schedule
2023-10-23 17:05:54 +02: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
Ruben Fiszel
da842a05a1 fix: windmill_status_code script now properly return + script bash default arg 2023-10-21 02:32:47 +02:00
Ruben Fiszel
c00ff69f04 feat: timelines for apps 2023-10-20 22:50:36 +02:00
HugoCasa
1d1ffdf599 fix: cache embedding model in docker img (#2474) 2023-10-20 15:49:04 +02:00
Guillaume Bouvignies
3443cf5ba5 feat: Flow approvers user groups can be JS InputTransforms (#2468)
* backend auth user validation

* Approval page suggesting login

* BE impl to support groups

* Add FE for setting suspend on flow step

* handle admin as a specific case

* restrict feature to entperprise only

* group names as static input transforms

* Suspend settings with tabs

* Update enterprise edition check

* cleanup

* FE InputTransformForm

* BE InputTransform

* Fix FE

* cleanup

* ArgInput list multiselect

* cleanup

* reset vscode settings
2023-10-20 01:39:31 +02:00
Guillaume Bouvignies
5f5604a2aa feat: Approval step optionally require logged-in user (#2462)
* backend auth user validation

* Approval page suggesting login

* BE impl to support groups

* Add FE for setting suspend on flow step

* handle admin as a specific case

* restrict feature to entperprise only

* group names as static input transforms

* Suspend settings with tabs

* Update enterprise edition check

* cleanup

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-20 00:20:20 +02:00
HugoCasa
3ed29ae2dd fix: embeddings duplicate id (#2467) 2023-10-19 19:41:52 +02:00
HugoCasa
0603fc82c9 feat: local hub embeddings search (#2463)
* feat: local hub embeddings search

* fix: cargo lock

* fix: sqlx prepare

* fix: cargo tinyvector

* feat: add DISABLE_EMBEDDING env var

* fix: cargo lock
2023-10-19 17:27:42 +02:00
Guillaume Bouvignies
09e29d6b3c feat: Mute workspace error handler for flows and scripts (#2458)
* feat: Mute workspace error handler for flows and scripts

* implement BE muting

* Add tooltip to bell icon

* change field name to ws_error_handler_muted

* revert new field for queue table

* Error when error handler not set

* extract svelte component and use flow table column

* Fix flow error handler result arg
2023-10-17 22:07:13 +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
13725d7576 fix app handling 2023-10-16 12:58:33 +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
bcdff7d6f1 Filter script kinds in the backend (#2450) 2023-10-13 20:34:39 +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
HugoCasa
2e60105beb feat: filter resource types passed to gpt-4 (#2430)
* feat: code gen filter resource types

* fix: minor

* feat: using snake case for flow inputs

* fix: filter resource types for python

* fix: correct resrouce type name + wmill import

* fix: disable automerge ci

* fix: remove unnecessary json parsing
2023-10-11 17:50:21 +02:00
Ruben Fiszel
00434f1a78 fix: improve handling of large results by frontend 2023-10-08 15:37:10 +02:00
Ruben Fiszel
96b02a3331 add support for single tenant microsoft login 2023-10-08 13:31:51 +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
1ff5bc2f7a feat: manage cache and init scripts from worker group UI (#2396)
* cache & inits

* cache & inits

* cache & inits

* all

* fix tests

* improve
2023-10-05 19:42:15 +02:00
HugoCasa
8319f5d0e5 fix: add reserved variables in args (#2371)
* fix: add reserved variables in args

* fix: only get job when necessary
2023-10-03 18:14:37 +02:00
Ruben Fiszel
c8543d7ed4 feat: add npm_config_registry support for bun, deno and being settable from UI (#2373)
* foo

* foo

* npm config
2023-10-02 14:45:29 +02:00
Ruben Fiszel
76d9dcbe4a feat: code content search (#2367)
* code search

* foo

* foo

* all

* all
2023-10-01 21:03:08 +02:00
Ruben Fiszel
5651c5bd7c catch error for loading inner modules 2023-09-30 08:06:23 +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
denglertai
7adf04858e feat(backend): parse expires_in from string in TokenResponse (#2353)
* feat(backend): parse expires_in from string in TokenResponse

* Update more_serde.rs

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-09-29 11:34:27 +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
2ee959cd2e feat: add custom oauth support (#2336)
* custom oauth

* all

* revert ee changes

* fix frontend
2023-09-26 11:56:02 +02:00
Ruben Fiszel
e3edf4fa2a fix: change cache implementation to remove async-timer 2023-09-23 08:33:49 +02:00
Ruben Fiszel
51255981fa feat: add license key as superadmin setting (#2321)
* license key

* all

* feat: add license key as a superadmin setting

* fix

* fix
2023-09-23 14:40:07 +02:00
Ruben Fiszel
00ffa69ead feat: add running filter 2023-09-22 18:15:34 +02:00
HugoCasa
3ae5c6ce7c feat: improved dedicated benchmarks + buffer fix (#2313)
* feat: improved dedicated benchmarks + buffer fix

* fixes + limit task spawning to noop/dedicated

* fix: cargo test

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-09-21 17:12:00 +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
HugoCasa
323900e214 feat: dedicated benchmarks (#2297)
* feat: dedicated benchmarks

* feat: dedicated benchmarks

* fix: build

* fix: use ee for ci

* fix: ci

* fix: handle create jobs error

* fix: nits
2023-09-19 14:03:19 +02:00
HugoCasa
26ee699f88 feat: add batch jobs (#2306) 2023-09-19 11:53:50 +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
7cd563596d align capture endpoint with run endpoint 2023-09-15 01:06:58 +02:00