Ruben Fiszel
2ad9d31a11
handle metadata for new scripts happen after commit
2025-07-30 23:20:22 +00:00
dieriba
7620c68855
feat: granular token scopes ( #6093 )
...
* base
* add scopes in the UI
* remove legacy scope, unified create token into a components
* fix layout, convert old scope to new scope
* update scope
* update ui, and clear scope
* remove desc
* almsot there
* fix path
* fix delete and scope resource path matching
* update scope
* update scope and error message
* nits and fix logic
* nits and fix
* added multiple resource and jobs scope for script and flow
* add check_scope for endpoint
* clean front and improve fronetend code
* fix resource validation logic and backward compatibility with old scope
* fix frontend state and scope checks logic
* update scopes
* fix height
* nits: better_naming
* fix route
* fix add missing import
* fix import and move fn
* update repo ref
* fix import
* fix query and nits
* nits
* fix ,missing import
* fix
* revert add admin protection
* handle run action correctly
* fix
* add check scopes to some endpoint
* fix and nits
* nits
* remove unused import
* nits
* add chevron when domain is exapanded
* fix border bottom
* nits adds resource path button
* nits
* fix
* nits
* nits
* nits
* fix merge
* fix
* UI nits
* update repo ref
* add lazy static
* update scopes
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
2025-07-17 15:18:40 +00:00
wendrul
1f03eb96de
feat: Better tracing for audit logs, including a graph to visualize them ( #6078 )
...
* Migrate audit log page to svelte 5
* Add email and span cols to audit table
* Add token_prefixs to audit logs (into AuditAuthorable trait)
* Add audit logs graph (wip)
* Add audit span on push and jwt
* Unify same job audit into the same audit span
* Improve the graph visually
* Fix typo
* functioning graph with svelte issue
* Fix leak
* feat: migrate AuditLogsTable from DataTable to VirtualList for performance
- Replace DataTable component with VirtualList for handling thousands of rows
- Migrate to Svelte 5 runes ($props, $bindable, $derived, $state)
- Implement flattenLogs() for virtual scrolling with grouped date headers
- Add sticky indices and dynamic height calculation
- Update parent component to use callback prop pattern instead of events
- Preserve all existing functionality: filtering, selection, pagination
- Follows RunsTable.svelte implementation pattern
Resolves performance issues when displaying large audit log datasets.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Fix remaining virtual list issues
* WIP graph
* Fix chart styling
* Fix npm check
* Fix missing audit_span arguments
* Update sqlx
* use varchar 255 for email as in other tables
* Remove syntax inconsistency
* Match struct with ee crate
* Update ee-repo-ref.txt
* Update worker_flow.rs
* Remove redefinition of trait to prevent shadowing
* Re add trait on oss but only when no `private` flag
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-07-03 21:02:45 +00:00
Diego Imbert
7467833239
EE Refactor ( #5844 )
...
* app compiles with every ee substituted
* Replace all oss files content
* Revert "Replace all oss files content"
This reverts commit ea4017d59f .
* delete all ee
* hide all _ee files under private flag
* hide every oss stuff when private flag set
* pub use *
* gitignore and substitute script
* pub mod for ee needed for ee repo
* small mistakes
* remove oidc_oss impl
* ee ref (temp)
* ee ref
* fix --all-features selecting private in OSS CI
* ee repo ref
* allow unused
2025-06-02 22:12:33 +02:00
dieriba
ac9d37c107
feat: add description option to schedule page ( #5500 )
...
* add description option to schedule page
* add description property to schedule trigger type
* fix ci
* update: use textare for description and add down migration
* perf: use jsonb instead of json, and use query_as macro sqlx instead of function variant
* update .sqlx
* nits
* fix: missing comma in description
2025-03-27 09:47:34 +00:00
Ruben Fiszel
4ae8cad4d4
fix: schedules do not accept 5 units cron syntax on update/create anymore
2025-02-20 17:59:32 +01:00
Ruben Fiszel
c42815c387
fix extra_perms for schedule light
2025-02-13 21:34:53 +01:00
Lucas Abel
ecbec1fe50
fix(backend): improve schedule queries plan to leverage indices better for performance ( #5273 )
...
* backend: fix schedule queries plan
* rework
* fix skipped as non success
* update sqlx
* update
* all
* fix npm run check
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-12 16:34:03 +01:00
Lucas Abel
6ded2c598e
backend: use v2 tables through views where possible (v2 phase 3) ( #5119 )
2025-02-06 12:43:24 +01:00
Ruben Fiszel
dd3fb0f955
improve error messages for internal err
2025-02-05 16:32:01 +01:00
Lucas Abel
3f0a818fa3
backend: do not force get_schedule_opt to be within a transaction ( #5019 )
2025-01-06 09:36:57 +01:00
Ruben Fiszel
fd7bf27f27
remove rsmq
2024-11-24 11:04:54 +01:00
Alexander Petric
54b419d8ab
feat(schedule): support for extended cron syntax ( #4754 )
...
* init
* croner with fall back on scheduling failure
* adding packages
* fallback mechanism v1
* removing debug console log
* improving cargo organization
* queue cargo.toml
* use workspace cargo-tz
* test next occurrence when creating new croner schedule
* toggle label
* treat legacy edit requests where no cron_version is provided as v1
* fix edit schedule
2024-11-21 19:24:38 +01:00
HugoCasa
a009c8df23
feat: schedule success handler ( #4346 )
2024-09-06 19:03:09 +02:00
HugoCasa
ec673ac6b4
feat: schedule pausing ( #3976 )
...
* feat: schedule pausing
* fix: improve UI
2024-06-25 23:39:34 +02:00
HugoCasa
6933f06f1c
feat: add extra metadata to folders/resources/types + path prefix filtering for all + improve groups UI ( #3936 )
...
* feat: add extra metadata to folders/schedules/resources/types
* feat: add path prefix filter to api
* chore: updatee ref
* feat: improve groups UI
* fix: nit
* fix: nit
2024-06-22 01:29:23 +02:00
HugoCasa
93f58056a0
feat: replace ephemeral tokens by jwt ( #3908 )
...
* feat: replace ephemeral tokens by jwt
* fix: migration + sqlx
* fix: tests, agent, ee ref
* fix: sqlx
* fix: tests
* fix: jwt prefix change + fix tests
* fix: nit
* fix: handle agent mode
2024-06-14 13:07:35 +02:00
Ruben Fiszel
4c20d88fee
remove all warnings
2024-06-08 18:06:04 +02:00
Ruben Fiszel
6a332bc30f
fix: make all error strings more verbose
2024-05-25 22:15:15 +02:00
Ruben Fiszel
e207c1d77d
fix: improve concurrency re-scheduling at scale
2024-05-25 15:56:56 +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
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
HugoCasa
cb132671d3
feat: critical error side channel ( #3625 )
...
* feat: critical error side channel
* feat: trigger workspace error handler or critical channel on schedule error handling failure
* fix: build
* feat: finish critical error side channel
* feat: channels instead of just emails + move to EE
* fix: remove superfluous func
* fix: nits + ee ref
* fix: open source build
* fix: nits
* chore: update ee ref
2024-05-02 20:21:23 +02:00
Ruben Fiszel
c7b65814e1
improve queue clearing for schedules
2024-04-17 14:05:22 +02:00
Ruben Fiszel
698bd48fc5
improve disabled dropdown style
2024-04-16 20:51:19 +02:00
Ruben Fiszel
b2d1ef40d2
fix: add args filter to schedule list
2024-04-06 15:43:37 +02:00
Ruben Fiszel
7714221f3e
feat: large log disk and distributed storage compaction
2024-03-23 10:55:29 +01:00
Guillaume Bouvignies
4990ac79c6
chore: License validation and Audit logs EE ( #3227 )
...
* chore: audit log EE
* update repo ref
* license key validation EE
2024-02-15 16:51:24 +01:00
Guillaume Bouvignies
8bb9ed646b
feat: Git sync can handle resource types, resources, variables and schedules ( #3202 )
...
* feat: Git sync can handle resource types, resources, variables and schedules
* update hub script
* update all schedule on default error handler
* sqlx prepare
* reorder filters and always show secrets
2024-02-12 19:33:55 +01:00
Guillaume Bouvignies
2edba18038
feat: Tag override for scheduled scripts ( #2998 )
...
* feat: Tag override for scheduled scripts
* Refactor WorkerTagPicker to component
* Fix test
2024-01-13 00:06:54 +01:00
Ruben Fiszel
aa65093e94
feat: no overlap for flows togglable on schedules
2023-12-26 16:31:04 +01:00
Ruben Fiszel
b290cbb758
feat: add summary to schedules
2023-12-26 14:15:46 +01:00
Guillaume Bouvignies
2870d4882d
feat: Retry for scheduled scripts ( #2893 )
...
* feat: Retry for scheduled scripts
* rename scheduldedscriptwithretry to singlescriptflow
* Schedule options under tabs
2023-12-22 14:59:46 +01:00
Ruben Fiszel
e1301503d8
fix: relax tags constraints
2023-11-22 18:30:43 +01:00
Ruben Fiszel
fb2c23ef54
v2
2023-11-22 18:29:51 +01:00
Ruben Fiszel
eeb6b8280a
fix: fix delete schedule clear jobs
2023-11-15 13:13:24 +01:00
Guillaume Bouvignies
08782f66e7
refactor: Slack error handler is handled mostly in frontend ( #2601 )
...
* refactor: Slack error handler is handled mostly in frontend
* sqlx prepare
* check for slack in function
2023-11-09 18:17:28 +01:00
Guillaume Bouvignies
bc4f935c08
fix: Fix error handler token injection ( #2598 )
...
* fix: Fix error handler token injection
* Add frontend
2023-11-09 11:58:45 +01:00
Guillaume Bouvignies
18f3a4b43b
fix: Frontend workspace error handler args ( #2597 )
...
* fix: Frontend workspace error handler args
* UPdate script version
* 6512
2023-11-09 11:04:54 +01:00
Guillaume Bouvignies
36ab98c1c1
feat: Add override all schedule handlers button ( #2579 )
...
* feat: Add override all schedule handlers button
* sqlx prepare
* sqlx prepare again
2023-11-07 13:29:23 +01:00
Guillaume Bouvignies
d3698fc07b
feat: Schedule error handler improvements ( #2555 )
...
* Fix schedule path for scheduled scripts
* feat: Add possibility to mute workspace error handler on schedules and define an error/recovery handler as default
* Permission error handlers to the error handler group for consistency, and small refactoring
* Fix recovery handler
* Add parent job to recovery handler for consistency
* Fix tests
* Locking feature to EE in FE
2023-11-04 00:52:37 +01: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
Ruben Fiszel
b1c4ba4128
recovery handler is ee only
2023-09-14 09:04:50 +02:00
HugoCasa
cbbfee8439
feat: schedule recovery handler ( #2126 )
...
* feat: schedule recovery handler
* fix: migration down
* fix: rename
* fix: adjust + add tests
* fix: merge + sqlx prepare
* fix: more complete recovery handler
* feat: schedule error and recovery times
* fix: schedule worker test
* feat: slack schedule handlers
* fix: update schedule handlers
2023-08-24 18:20:35 +02:00
Ruben Fiszel
c77d38563d
remove unecessary postgres transactions and improve performance
2023-08-22 00:34:44 +02:00
Ruben Fiszel
125a00fa8e
improve indices performances
2023-08-20 19:14:39 +02:00
Ruben Fiszel
e41a3fc1d2
improve sql query performances
2023-08-20 18:06:59 +02:00