Commit Graph

1319 Commits

Author SHA1 Message Date
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
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
Ruben Fiszel
2de07c751e chore(main): release 1.335.0 (#3792)
* chore(main): release 1.335.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-22 23:20:31 +02:00
Ruben Fiszel
7af0036b7f add concurrency_key to exported workspace scripts 2024-05-22 23:12:13 +02:00
Ruben Fiszel
5917d79c18 fix(cli): add concurrency key to script 2024-05-22 22:22:19 +02:00
HugoCasa
50acb84aff feat: improve user audit logs and stats (#3786)
* fix: improve user audit logs and stats

* chore: sqlx

* fix: no features build

* fix: sqlx

* fix: no features build

* chore: update ee ref
2024-05-22 16:51:04 +02:00
Ruben Fiszel
7e8ffece6b chore(main): release 1.334.0 (#3785)
* chore(main): release 1.334.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-22 00:44:47 +02:00
Ruben Fiszel
29bf7d3bd0 fix: add allow http toggle to object store settings 2024-05-22 00:36:04 +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
Ruben Fiszel
c142e92123 chore(main): release 1.333.5 (#3776)
* chore(main): release 1.333.5

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-21 12:26:03 +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
Ruben Fiszel
95fbfbdad5 chore(main): release 1.333.4 (#3775)
* chore(main): release 1.333.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-20 23:30:48 +02:00
Ruben Fiszel
977e04b686 chore(main): release 1.333.3 (#3774)
* chore(main): release 1.333.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-20 23:16:05 +02:00
Ruben Fiszel
fae845ffd3 chore(main): release 1.333.2 (#3772)
* chore(main): release 1.333.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-20 19:19:42 +02:00
Ruben Fiszel
ac3e1a8342 chore(main): release 1.333.1 (#3771)
* chore(main): release 1.333.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-20 12:35:28 +02:00
Ruben Fiszel
35e735d787 further memory reduction 2024-05-20 11:38:11 +02:00
Ruben Fiszel
ceccfbc174 chore(main): release 1.333.0 (#3769)
* chore(main): release 1.333.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-19 22:31:57 +02:00
Ruben Fiszel
c43d04b95d feat: reduce memory usage (#3768)
* all

* all

* optimize deserialize

* all

* all

* fix issue

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile
2024-05-19 21:58:38 +02:00
Ruben Fiszel
584594aed6 chore(main): release 1.332.1 (#3766)
* chore(main): release 1.332.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-18 10:12:45 +02:00
Ruben Fiszel
265ae920e8 chore(main): release 1.332.0 (#3755)
* chore(main): release 1.332.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-17 00:35:22 +02:00
Ruben Fiszel
1465951b61 chore(main): release 1.331.2 (#3754)
* chore(main): release 1.331.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-16 23:46:36 +02:00
Ruben Fiszel
1b06286419 chore(main): release 1.331.1 (#3753)
* chore(main): release 1.331.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-16 21:41:32 +02:00
Ruben Fiszel
4cd6515395 chore(main): release 1.331.0 (#3737)
* chore(main): release 1.331.0

* Apply automatic changes

* Update CHANGELOG.md

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-15 21:06:57 +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
Ruben Fiszel
00c0e1f2a1 chore(main): release 1.330.1 (#3733)
* chore(main): release 1.330.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-15 10:35:42 +02:00
Ruben Fiszel
3ccb714e92 chore(main): release 1.330.0 (#3731)
* chore(main): release 1.330.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-15 08:30:25 +02:00
HugoCasa
f7f7a6d85f feat: add php (#3725)
* feat: add php

* fix: nsjail + frontend build
2024-05-15 08:12:11 +02:00
Ruben Fiszel
a9e52e9a30 chore(main): release 1.329.0 (#3722)
* chore(main): release 1.329.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-15 06:33:47 +02:00
Ruben Fiszel
bc5c3652aa fix: improve display result output limit 2024-05-15 05:59:31 +02:00
wendrul
6d66c10002 Use userDB instead of DB (#3723) 2024-05-14 22:14:12 +02:00
Ruben Fiszel
c425ec2f45 feat: improve log storage + expand all logs in a flow 2024-05-14 22:11:52 +02:00
Ruben Fiszel
f719681996 chore(main): release 1.328.0 (#3716)
* chore(main): release 1.328.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-13 22:52:57 +02:00
Ruben Fiszel
7a4d44e8b6 chore(main): release 1.327.0 (#3715)
* chore(main): release 1.327.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-13 08:30:37 +02:00
Ruben Fiszel
ef8d273c7d chore(main): release 1.326.1 (#3712)
* chore(main): release 1.326.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-12 21:23:23 +02:00
Ruben Fiszel
8f54d35d56 chore(main): release 1.326.0 (#3711)
* chore(main): release 1.326.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-12 04:32:14 +02:00
Ruben Fiszel
aae70ac6cb feat: logs can be downloaded directly from server/frontend if using shared volume 2024-05-12 04:16:04 +02:00
Ruben Fiszel
24346770ed chore(main): release 1.325.2 (#3710)
* chore(main): release 1.325.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-11 02:48:14 +02:00
Ruben Fiszel
df05a2f32c chore(main): release 1.325.1 (#3708)
* chore(main): release 1.325.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-11 02:26:37 +02:00
Ruben Fiszel
6eea9fcbc3 chore(main): release 1.325.0 (#3707)
* chore(main): release 1.325.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-10 21:02:21 +02:00
HugoCasa
cb4b2f60ff feat: worker metrics (#3697)
* feat: worker metrics

* fix: limit worker metrics to superadmin

* fix: limit worker metrics to superadmin + feat: queue metrics charts

* fix: improve graphs
2024-05-10 20:50:09 +02:00
HugoCasa
056baa7a7d fix(backend): return flow result if flow fails or stops before early return (#3704)
* fix: return error if flow fails before early return

* fix: also handle early stop

* fix: improve code
2024-05-10 20:23:16 +02:00
Ruben Fiszel
11dcab2068 chore(main): release 1.324.2 (#3699)
* chore(main): release 1.324.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-10 01:48:01 +02:00
Ruben Fiszel
055c15e855 fix: fix build 2024-05-10 01:24:46 +02:00
Ruben Fiszel
969ebc8852 chore(main): release 1.324.1 (#3698)
* chore(main): release 1.324.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-09 19:39:14 +02:00
Ruben Fiszel
cedc1027c4 chore(main): release 1.324.0 (#3666)
* chore(main): release 1.324.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-09 18:53:46 +02:00
Ruben Fiszel
fd5dfde201 fix(cli): add excludes to the codebase conf 2024-05-09 18:52:38 +02:00
Ruben Fiszel
1f64715043 feat: local typescript codebase as bundle (#3694)
* codebases

* codebases

* foo

* foo

* foo

* foo

* fix(frontend): Disable the insert button when required fields are empty strings (#3659)

* fix(frontend): use normal password mask for the sensitive fields of the resource editor

* handle super admins in password arg input

* chore(main): release 1.323.2 (#3660)

* chore(main): release 1.323.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>

* foo

* all

* s3_helpers move

* progress

* all

* progress

* progress

* progress

* progress

* codebase final

* update without ee

* sqlx

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* all

* update

* all

* all

* all

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-05-09 18:35:50 +02:00
HugoCasa
0d9a7dd38e fix: load large args of previous runs dynamically (#3688)
* fix: load large args of previous runs dynamically

* fix: lower limit size
2024-05-08 14:35:37 +02:00
HugoCasa
1f206e51fb feat: disable response logs based on env var (#3685) 2024-05-07 15:57:41 +02:00