Commit Graph

3464 Commits

Author SHA1 Message Date
HugoCasa
ce5c52198a feat: display last key renewal attempt (#3839)
* feat: display last key renewal attempt

* feat: improve UI + add renew button + dev instance

* fix: nits

* chore: update ee ref

* fix: nit

* fix: tests
2024-05-29 16:28:00 +02:00
Ruben Fiszel
899f18ed0e resource others page fix 2024-05-29 15:02:52 +02:00
Ruben Fiszel
68ea7a2cb1 remove unecessary formatter black since ruff format now 2024-05-29 12:54:24 +02:00
Ruben Fiszel
2df1d2ad35 fix: fix resource type search 2024-05-29 12:09:24 +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
Henri Courdent
d4d64973d2 Links update & stroke width icons (#3833)
* Links update & stroke width icons

* Update frontend/src/lib/components/StringTypeNarrowing.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-05-28 16:05:56 +02:00
Faton Ramadani
b49e9e803e feat(frontend): add open/close state of the modal in the outputs (#3822)
* feat(frontend): add open/close state of the modal in the outputs

* feat(frontend): add onOpen/onClose event handlers

* feat(frontend): add onOpen/onClose event hander

* feat(frontend): improve close logic for drawers

* feat(frontend): refactor handleSideEffect into an util file

* feat(frontend): improve code

* feat(frontend): improve naming

* feat(frontend): improve code

* feat(frontend): improve code

* feat(frontend): remove on Open/Close actions

* feat(frontend): simplify the implementation

* feat(frontend): fix callbacks
2024-05-27 20:32:07 +02:00
HugoCasa
5de79aace3 feat: worker vcpus/memory limits + mem usage (#3828) 2024-05-27 18:43:02 +02:00
HugoCasa
1e877c0ea1 feat(frontend): upgrade to gpt-4o + add AI support for php (#3820)
* feat: upgrade to gpt-4o

* feat: improve code completion + UI stuff
2024-05-27 18:29:42 +02:00
Henri Courdent
5dc5ef65ac Changelog update frontend (#3824) 2024-05-27 15:58:31 +02:00
Ruben Fiszel
e304115249 clarify iframe for apps 2024-05-27 14:06:27 +02:00
Ruben Fiszel
f725e5b361 feat: public apps can require login (#3825) 2024-05-27 13:03:41 +02:00
Ruben Fiszel
bf73e4e9ed remove supabase_wizard from oauth connects 2024-05-27 09:47:55 +02:00
Ruben Fiszel
3db4e3bab1 feat: allow user resources in apps with a toggle (#3821)
* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* nits

* nits
2024-05-27 07:51:49 +02:00
HugoCasa
92cf325c35 fix: use hub script language as tag instead of 'hub' (#3816)
* fix: use hub script language as tag instead of 'hub'

* fix: remove hub tag
2024-05-25 10:38:03 +02:00
Faton Ramadani
2d65c2d068 fix(frontend): Add missing loading state for non-runnable components … (#3797)
* fix(frontend): Add missing loading state for non-runnable components + fix select and aggrid styling

* fix(frontend): remove log

* fix(frontend): improve code

* fix(frontend): improve code

* fix(frontend): Fix refreshIndicator styling
2024-05-23 20:36:39 +02:00
HugoCasa
a79e09d65f feat: improve parsers when no main func (#3805)
* feat: improve parsers when no main func

* chore: update parser version
2024-05-23 20:36:16 +02:00
Faton Ramadani
a85601a5ad feat(frontend): improve graph edges + fix depedencies detection (#3802)
* feat(frontend): improve graph edges + fix depedencies detection

* Update frontend/src/lib/components/graph/svelvet/edges/views/Edges/SimpleBezierEdge.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-05-23 20:17:34 +02:00
Ruben Fiszel
4f30b1fb82 feat: store failed_retries per module state and display failed retries in flow status viewer 2024-05-23 19:16:26 +02:00
HugoCasa
126459f972 feat: improve permissioned audit logs (#3799)
* fix: increase token label size in db

* Revert "Revert "feat:  improve premissioned audit logs (#3793)" (#3798)"

This reverts commit afae33f5f8.

* feat: add username to email function

* fix: nit

* fix: add docstring to global func
2024-05-23 17:23:50 +02:00
wendrul
e5b5d72a6f fix: show code option in tree view (#3803)
* fix: show code option in tree view

* Update TreeViewRoot.svelte
2024-05-23 16:49:18 +02:00
wendrul
503a83fab8 Add concurrency key for inline scripts in flows (#3801) 2024-05-23 14:59:18 +02:00
Ruben Fiszel
afae33f5f8 Revert "feat: improve premissioned audit logs (#3793)" (#3798)
This reverts commit 35f8eecf2d.
2024-05-23 11:12:51 +02:00
HugoCasa
35f8eecf2d feat: improve premissioned audit logs (#3793)
* feat:  improve premissioned audit logs

* chore: update ee ref

* fix: build

* fix: sqlx
2024-05-23 08:55:48 +02:00
wendrul
1d2d9ebadf Add warning for omitted obscured jobs (#3790)
* Add warning for omitted obscured jobs

* Update RunsTable.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-22 21:14:52 +02:00
Faton Ramadani
92c93a029a fix(frontend): Fix aggrid infinite refresh (#3789)
* fix(frontend): Fix AgGrid infinit refresh when args changed

* fix(frontend): Fix AgGrid infinit refresh when args changed

* fix(frontend): remove dead code
2024-05-22 16:57:45 +02:00
Ruben Fiszel
29bf7d3bd0 fix: add allow http toggle to object store settings 2024-05-22 00:36:04 +02:00
Faton Ramadani
4d1faece6d feat(frontend): Added support for title and placeholder for ArgInputs (#3779)
* feat(frontend): Added support for customLabel and placeholder

* feat(frontend): correctly handle labels

* feat(frontend): rename customLabel into title

* feat(frontend): fix layout

* feat(frontend): properly implement placeholder

* feat(frontend): properly implement placeholder

* feat(frontend): add missing undefined check

* feat(frontend): remove code duplication
2024-05-21 21:58:48 +02:00
Faton Ramadani
373ae6ff4b feat(frontend): Improve multiselect perf (#3770)
* feat(frontend): wip

* feat(frontend): Fork multiselect

* feat(frontend): cleanup

* feat(frontend): fix design

* feat(frontend): trie search

* feat(frontend): simplify search

* feat(frontend): simplify search

* feat(frontend): fix open
2024-05-21 19:47:19 +02:00
Faton Ramadani
1c1f11fc39 fix(frontend): Fix path overflow on the Runs page (#3781) 2024-05-21 19:46:53 +02:00
wendrul
d663cd2543 Win 130 concurrency observability fixes (#3782)
* Resize badge and add filter by key button

* Make status filters icononly with tooltip

* nit: replace current job None with empty

* tooltip should be on the same row with flex

* Expand selected on ToggleButtonMore

* Make a common definition of UnifiedJob fields
2024-05-21 19:28:05 +02:00
wendrul
ce29e43c91 Fix list jobs and intervals mismatch (#3767)
* fix: mismatch when filtering on concurrency key

Fix a mismatch between to endpoints when filtering by concurrency key

* Add ObscuredJob type on openapi spec

* Correct unit for graph

* Finish frontend changes

* Add field indicating if obscured jobs were omitted

* impl from for ListQueueQuery and factor logic

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-21 12:21:25 +02:00
Faton Ramadani
c901085c2d fix(frontend): Fix full height component for public apps (#3777)
* fix(frontend): fix fullHeight component for public apps

* fix(frontend): fix fullHeight component for public apps

* fix(frontend): fix fullHeight component for public apps
2024-05-21 10:07:00 +02:00
Faton Ramadani
01243cc0f1 fix(frontend): Fix selected value when the default value of a select component is null (#3778) 2024-05-21 09:06:12 +02:00
Ruben Fiszel
90c5082653 fix: lighten watermark on public apps for ee 2024-05-21 07:50:47 +02:00
Ruben Fiszel
55ef2f96bb frontend nits 2024-05-21 07:28:31 +02:00
Ruben Fiszel
43b78ad787 fix(cli): make bun the default language in absence of wmill defaultTs 2 2024-05-20 23:27:08 +02:00
Ruben Fiszel
2f312038a7 update git sync hub script 2024-05-20 23:15:05 +02:00
d10sfan
c442a09bb1 AgGrid - Allow to de-select all rows with setSelectedIndex (#3760)
* AgGrid - Allow to de-select all rows with setSelectedIndex

* Update frontend/src/lib/components/apps/components/display/table/AppAggridTable.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Else & check for null instead of -1

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-05-20 18:59:56 +02:00
Faton Ramadani
41c33d0554 fix(frontend): fix AgGrid pagination refresh (#3773)
* feat(frontend): fix AgGrid pagination refresh

* feat(frontend): fix AgGrid pagination refresh
2024-05-20 15:25:18 +02:00
d10sfan
dbdba29b00 Add support for form schema property setting textarea rows value (#3759) 2024-05-20 10:24:46 +02:00
Ruben Fiszel
91662f773d fix(cli): improve handling of schema for script bundles 2024-05-18 10:00:19 +02:00
HugoCasa
916240c452 fix(frontend): improve json display for large table objects (#3765)
* fix(frontend): fix check for displaying table-col

* fix: improve display result json limit for tables

* fix: nit

* Update frontend/src/lib/components/DisplayResult.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* fix: nit

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-05-17 18:45:13 +02:00
Faton Ramadani
d2b1d388ba feat(frontend): Fix App Select component initial value (#3752)
* feat(frontend): Fix App Select component initial value

* Update AppSelect.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-17 00:31:32 +02:00
Ruben Fiszel
5fc3ab9f7c nits 2024-05-16 20:34:15 +02:00
HugoCasa
333dcf6780 fix(frontend): improve queue metrics graphs performance (#3749)
* fix(frontend): improve queue metrics graphs performance

* fix: check
2024-05-16 16:47:39 +02:00
wendrul
60b036c1ae Add concurrency limits observability (#3586)
* Add concurrency_key table and field to payload

Add a new table custom_concurrency_key for storing concurrency keys on a
per job basis. Add the field to the job payload to populate the table on
creation of a new job.

* Rename to custom_concurrency_key

Be more explicit about the nature of the option variable by calling it
a more appropriate name.

* Delete concurrency_keys on delete_expire_items

* Propagate db errors up

* Add ref to EE changes

* update sqlx

* Add concurrency_key to tests

* Revert renaming of FlowValue field

FlowValue field concurrency_key must be named concurrency_key for
serialization purposes.

* Remove debug print statement

* Get concurrency_key from Job

Whether it is a Completed job or a queued one, add a ways to get the
associated concurrency key

* Add endpoint to get concurrency_key

* Add endpoint and button to get job concurrency_key

Add a line with a link on the FlowMetadata that goes to the
concurrency_groups page. add endpoint to get the concurrency_key of a
job

* Merge concurrency_key tables into one

migration + change all related querrys

* Add concurrency plot to the runs page

* Prepare sqlx

* Add concurrency Key filter on UI

* Prepare sqlx

* Prepare sqlx

* Fix filter and order query

The limit makes more sense if we cut the older rows, so order by
started_at

* Factor interpolation to reuse on concurrency key

Factor the arg interpolation logic into a function and finish the
processing of concurrency key before insertion

* Remove old concurrency key processing logic

* Second transaction with userdb

To send all concurrency intervals but revealing only uuids of accessible
jobs, make a second transaction with the userdb.

* Remove old second endpoint

the intervals endpoint now also gets the concurrencyt key information
for all jobs

* Show external jobs

* Put filters into a dropdown

Create a ToggleButtonMore and put elements into a dropdown

* Add toggle between two graphs

* Add filter functionality to concurrency graph

* Improve concurrency graph front

* Fix concurrency groups page

* Prepare sqlx

* Add ref to ee

* Change migration to create new table instead

Instead of renaming the custom_concurrency_key_ended atble, we create a
new table and we will delete custom_concurrency_key_ended in the future
when it is no longer linked to any jobs

* Do small UI improvements

* Fix range fusion by not filtering past jobs

Instead of filtering jobs in the backend on a startedAfter value, limit
the query to 1000 and query all possible towards the past to get a good
context for the graph in most sane situations

* Improve frontend UI
2024-05-15 20:15:14 +02:00
Faton Ramadani
86c5c5b5df feat(frontend): add nullable arg (#3729)
* feat(frontend): add nullable arg

* feat(frontend): Limit nullable toggle for strings and numbers

* feat(frontend): Limit nullable toggle to strings

* feat(frontend): fix validation

* feat(frontend): Disable nullable when required + add missing config in script editor
2024-05-15 17:30:40 +02:00
Ruben Fiszel
c3e705ceb6 fix workspace redirect bug 2024-05-15 16:20:02 +02:00
Faton Ramadani
41e81aa81f feat(frontend): Add context section (#3745)
* feat(frontend): Add context section

* feat(frontend): Add missing tooltip
2024-05-15 16:09:48 +02:00