Commit Graph
33 Commits
Author SHA1 Message Date
wendrul ccc86ca88b refactor windmill concurrent index migrations using a macro (#4275)
* Add macro to run migrations

* Factor windmill migrations into the new macro

* Run formatter
2024-08-21 17:15:08 +02:00
Ruben Fiszel 25434168d8 add global created_at index 2024-08-05 13:12:15 +02:00
Ruben Fiszel c956ecd1a8 feat: improve indices of completed_runs for faster load 2024-08-05 12:46:07 +02:00
Ruben Fiszel 69e400563c feat: variables created by password fields expire after 7 days 2024-08-01 16:05:03 +02:00
Ruben Fiszel 78c115c68c fix: improve index usage and runs page performance 2024-07-31 13:08:28 +02:00
Ruben Fiszel 135f57eb5a fix: improve runs page performance through pg indices 2024-07-27 12:16:13 +02:00
Ruben Fiszel be7e7ba05c fix: fix migration for instances starting from scratch 2024-07-11 02:12:51 +02:00
Ruben Fiszel 9e27ee8b57 improve try migration lock 2024-07-11 01:15:12 +02:00
Ruben Fiszel 33ca9bd101 fix: improve completed_job index 2024-07-10 23:43:02 +02:00
HugoCasa bbcaec9769 fix: improve flow version fix migration (#4050) 2024-07-09 11:02:53 +02:00
HugoCasa ff8d51a8db fix: always run flow versioning edge case fix migration (#4047) 2024-07-08 22:52:04 +02:00
HugoCasa 0a613b76c8 fix: flow versioning edge case (#4037) 2024-07-07 20:04:42 +02:00
Ruben Fiszel 6a332bc30f fix: make all error strings more verbose 2024-05-25 22:15:15 +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
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 c5de8365ec feat: support multiple labels for jobs (wm_label -> wm_labels) 2024-04-24 11:32:25 +02:00
Ruben Fiszel ba4efb7b7e feat: add label and schedule filters to runs page 2024-04-23 22:48:21 +02:00
Ruben Fiszel 9502a5b811 fix: improve locking 2024-04-04 01:10:38 +02:00
Ruben Fiszel 8d51cfcadc fix: use webhook id as username 2024-03-26 10:06:01 +01:00
Ruben Fiszel 6320cc9ce5 fix: use try_lock instead of lock to wait for global pg lock 2024-03-14 14:28:13 +01:00
Ruben Fiszel c2e743bb67 fix: show current pid before acquiring lock 2024-03-14 01:02:55 +01:00
Ruben Fiszel 1571ab2339 fix: clarify pg migration logs 2024-02-26 20:43:23 +01:00
Ruben Fiszel 879a6cda00 chore: remove warnings 2024-02-18 14:03:00 +01:00
Ruben Fiszel 30fb3e5dcd improve custom windmill migration 2024-02-07 23:39:09 +01:00
Ruben Fiszel 5c3ec3c5fb nit on txs 2024-02-06 16:40:43 +01:00
Ruben Fiszel f818817e10 feat: add nobypassrls migration 2024-02-05 08:55:39 +01:00
Ruben Fiszel c77d38563d remove unecessary postgres transactions and improve performance 2023-08-22 00:34:44 +02:00
antrixandRuben Fiszel b7162c900a Add google workspace oauth connection config (#2023)
* Add google workspace oauth connection config

Oauth Config to call Google Workspace APIs. 
https://developers.google.com/admin-sdk/directory/v1/guides/authorizing

* update

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-08-10 11:53:52 +02:00
Ruben Fiszel 74d9cddceb make version missing not critical for backward compatibility 2023-08-10 10:30:32 +02:00
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: https://github.com/launchbadge/sqlx/blob/afb6b1066e61f8e3875f530d96cfb5a299f13fda/examples/postgres/transaction/src/main.rs#L14-L17

notice that I'm temporarly using my custom patch
https://github.com/mrl5/sqlx/commit/16e4c9a8f380214ad61b1744d3e1f5fa866ffbcc
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
Ruben Fiszel 2ff914edd3 feat: introduce folders, deprecate items owned by groups 2022-12-19 18:59:46 +01:00
Kai Jellinghaus 6263e90735 restructure the entire backend layout using workspaces (#815) 2022-10-29 11:58:06 +02:00