Alexander Petric
039f3e0226
feat: Microsoft Teams approvals ( #5734 )
...
* move branch
* openapi version
* full interactive approvals
* move to ee
* move to ee
* move ee
* merge common logic slack/teams
* merge common logic slack/teams
* sqlx prepare
* formatting
* linter ee
* update ee-repo ref
* ee repo ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-13 23:06:49 +02:00
HugoCasa
b9e879618b
feat: signed s3 objects ( #5593 )
...
* feat: accept signed s3 objects for s3 file keys in apps + sign endpoint and helpers
* Update backend/windmill-api/openapi.yaml
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix build
* Update python-client/wmill/wmill/client.py
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* nti
* fix build
* fix build
* presigned
* Update frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix build
* b
* fix sqlx
* nit
* typo
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-04-11 18:03:40 +02:00
Alexander Petric
149d5fb3e1
feat: teams workspace scripts ( #5238 )
...
* backend and clients
* adding teams_team_name to workspace_settings
* openapi.yaml adding teams workspace settings endpoints
* teams workspace settings frontend
* workspaces router
* build ce
* ee gate
* ee oauth
* update client
* workspace error handler
* remove log
* ce
* point to new hub scripts
* updating hubPaths
* updating hubPaths
* cleanup
* merge
* schedule teams error
* polish, reactivity
* sqlx compilewarning
* sqlx migrate
* make it build
* router
* fix
* remove sqlx workaround
* Update ee-repo-ref.txt
* simplify some logic
* sqlx
* latest ee ref
* latest ee ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-13 16:53:57 +01:00
Ruben Fiszel
d03c92e246
fix typescript-client 3
2025-01-30 12:20:40 +01:00
Ruben Fiszel
6e8037255f
fix typescript-client 2
2025-01-30 12:19:31 +01:00
Ruben Fiszel
7f516f0868
fix(typescript-client): fix typescript client mocked api behavior
2025-01-30 12:16:14 +01:00
Ruben Fiszel
f9ce01c1dc
feat(typescript-client): add ability to mock typescript api for testing
2025-01-27 15:29:39 +01:00
Alexander Petric
63b096851e
interactive slack approvals: more improvements / nits ( #5012 )
...
* enum -> enums, client function docs
* advanced -> suspend -> form
2025-01-04 01:48:25 +01:00
Alexander Petric
2832b887a5
interactive slack improvements ( #5001 )
...
* refactor / rust style
* add detailed description to default message
* default args, dynamic enums
* sqlx prep
* cancel / close behavior
2025-01-03 16:27:03 +01:00
Alexander Petric
6308bf0dcb
feat: interactive slack approvals ( #4942 )
...
* feat: interactive slack approvals
* move form creation logic to backend
* adding python client
* polish messages
* date time picker and default values
* Initial commit
* Initial commit
* refactor
* cleanup
* cleanup
* cleanup
* cleanup, treating numbers/integers/booleans
* adding slack to ts dependencies
* sqlx prepare
* gitignore, adding package.lock
* ellipsis comments
* Update typescript-client/client.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* refactor to move everything serverside + modal
* sqlx prep
* reverting slack dependency
* python client update
* fix build errors
* Update pyproject.toml
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-12-20 21:47:45 +01:00
HugoCasa
3d9ca62ab6
ts client s3 upload add content type/disposition ( #4690 )
2024-11-12 16:04:36 +01:00
pyranota
f1bcf784c9
floor progress in typescript client ( #4420 )
...
If user passes float to setProgress it will result BadRequest from server but without any explanation.
Sometimes it is non intuitive that endpoint accepts only integers, so to reduce confusion we convert progress to int.
2024-09-23 11:45:13 +02:00
pyranota
d3e0b1c636
feat: Allow setProgress and getProgress from within the script ( #4400 )
...
* Allow setting progress explicitly from script body.
This feature exposes:
* `getProgress`
* `setProgress`
* `incProgress`
API in TypeScript client (python is coming soon).
NOTE: Progress cannot be out of range 0..100 and cannot decrease.
With exposed APIs there is also UI changes, so progress can be shown for individual jobs as well.
For optimization reasons, jobs start to ask for progress only after N-seconds of execution.
* feat: Add `shell.nix`
If you dont have anything but nix, dont worry, run nix-shell in root, or activate with direnv and get all needed dependencies
NOTE: You will still need docker
* feat: Add `dev.nu` to typescript client
Little helper function, allowing developer to work on ts client easier.
To use:
`./dev.nu watch`
Now add import of windmill in body of your script and `//nobundle` on top of the file
Edit ts client in your favourite editor and hit save. Script will do the rest.
* Cleanup files
* Fix: Failed to deserialize query string: missing field `get_progress`
* perf: Implement non-naive polling mechanism for getting job progress
* Add independant delay for getProgress
Problem in `TestJobLoader`:
There should be 2 delays:
One until we find our first progress (every 5s)
Once we found our first progress, we can do it every second
* nit: Use `query_scalar!` instead of `query_as`
* Fix: Sql error, no rows returned by a query that expected to return at least one row
* refactor: Remove global CSS for JobProgressBar
* Change UI for progress of flow subjobs
* Replace `Step 1` with `Running` in ProgressBar for individual jobs
* Remove `incProgress`
incProgress is not very usefull and error-prone
* perf: Set metric only for jobs that are actually using it
(https://github.com/windmill-labs/windmill/pull/4373#discussion_r1759843773 )
* Offload registering progress from clients to server
* Add `jobId?` argument to typescript-client's `setProgress` and `getProgress`
Allows to set progress of other jobs and flows,
if jobId specified, than flow id will be inferred automatically.
Could be used by SDK.
* Add `Error::MetricNotFound` for better error handling
* Fix: Make `JobProgressBar` display in red when failed
* Add persistant progress bar
Now you can reload the page after job is done and progress will be still there
* Allow succeeded individual job's progress bar stick to 100%
* Add python support
* nit: Remove usage of undefined variable in python-client
* Add `async` in ts client (for error handling)
* nit(frontend): Remove unused import
* Dont load JobProgressBar when it is not needed
* nit: npm check fix
* cargo sqlx prepare
* fix sqlx
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-09-18 01:16:19 +02:00
Ruben Fiszel
b5a9111d07
fix: improve runFlowAsync and run_flow_async default behavior + time formatting of scheduled for
2024-09-11 23:52:02 +02:00
Ruben Fiszel
94d92e9020
Update client.ts
2024-08-19 17:16:22 +02:00
Ruben Fiszel
47c5ca7ada
fix(typescript-client): runFlowAsync by default assume job doesn't outlive flow
2024-08-19 17:03:06 +02:00
Ruben Fiszel
901c7ed181
fix(typescript-client): add runFlow and runFlowAsync
2024-08-15 14:21:33 +02:00
Ruben Fiszel
ccf965e87d
fix: improve failure id assignment for parallel forloop
2024-07-08 15:50:38 +02:00
Ruben Fiszel
caf007f68e
fix: typescript file upload supports arbitrary storage
2024-05-31 13:26:51 +02:00
Ruben Fiszel
0e7a25c0bd
feat: support multiple object storage + parquet_csv + polars -> datafusion" ( #3853 )
...
* multiple storage
* all
* rm symlinks
* all
* all
2024-05-31 11:59:51 +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
6b49f47c5c
feat: nativets can use the wmill library + setClient not required anymore ( #3714 )
...
* all
* all
* all
* all
2024-05-13 08:26:03 +02:00
Ruben Fiszel
c91418ffad
fix(typescript-client): improve setFlowUserState undefined value
2024-04-01 11:59:10 +02:00
Ruben Fiszel
8c50b8844a
improve getUserClient in typescript
2024-03-26 18:53:18 +01:00
Ruben Fiszel
6b842b3c53
feat: add set_flow_user_states and get_flow_user_states api and sdk support
2024-03-26 17:31:17 +01:00
Ruben Fiszel
d634778810
fix(typescript-client): improve runScript
2024-03-25 08:55:44 +01:00
Ruben Fiszel
62e443f458
client nits
2024-03-06 01:56:55 +01:00
Ruben Fiszel
df3ae5c018
fix: add more functions to typescript client
2024-03-06 01:00:15 +01:00
Ruben Fiszel
e004f5179f
workflow as code ts improvements
2024-03-05 23:22:25 +01:00
Ruben Fiszel
14154d2e79
feat: workflow as code for typescript
2024-03-05 23:14:04 +01:00
Ruben Fiszel
83120fe4b4
fix: crash on init script failure
2024-02-26 19:50:33 +01:00
Ruben Fiszel
3ad9ef1c9f
fix: add get_root_job_id typescript-client
2024-02-06 00:42:37 +01:00
Ruben Fiszel
7db2501cc1
fix: add get_root_job_id
2024-02-06 00:17:50 +01:00
Guillaume Bouvignies
0003673e8d
feat: migrate s3 client to object_store ( #3116 )
...
* feat: migrate s3 client to object_store
* remove multipart from open API
* Remove multipart in favor of a single stream
* progress report
* add progress reader on server side
* small nit fix
* fix read chunk
* Fix TS and python SDK
* Fix download button
* Fix download button object viewer
* fix list
* Better errors
* export loadS3FileContent
* revert changes SDK
* fix browser
* small file list unavailable fix
* Old endpoints throws informative error messages
* Typescript SDK uses raw fetch
* update python SDK
* Error if uploaded file > 50Mb
* revert python SDL changes
* Update python SDK method docs
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-02-01 16:03:30 +01:00
Guillaume Bouvignies
2e6835f610
feat: Download s3 file as stream in Python and TS ( #3099 )
2024-01-29 14:49:08 +01:00
Guillaume Bouvignies
ef76a90e34
fix: Better UI for S3 download and S3 TS SDK endpoints ( #3065 )
...
* Better UI for S3 download and S3 TS SDK endpoints
* gitignore typescript client node_modules
* USe Windmill BE upload endpoint for TS SDK
* Use WM backend endpoint in Python upload SDK endpoint
* revert changes
* Add expiration for Python
* Add downaload endpoint
* Add toggle for public S3 resource
* revert changes to package.json
* Add link to doc page
* fix unauthorized bug
2024-01-25 15:34:40 +01:00
Ruben Fiszel
5b33be089a
fix: improve npm typescript client
2024-01-23 01:07:42 +01:00
Guillaume Bouvignies
4f4b59c77a
feat: Download button for s3 files ( #3059 )
...
* feat: Download button for s3 files
* Add S3 load and write endpoint to Python and TS SDK
* fix
2024-01-22 21:40:30 +01:00
Ruben Fiszel
064611617a
fix typescript client
2024-01-17 10:05:01 +01:00
Ruben Fiszel
bc939e2a71
fix typescript client
2024-01-17 08:40:29 +01:00
Ruben Fiszel
a24645ee00
feat: OIDC support ( #3017 )
...
* oidc
* update
* feat: add support for multiselect in python
* d
* d
* progress
* all
* all
* all
2024-01-16 23:32:26 +01:00
Guillaume Bouvignies
539312bb7e
fix: Update S3 TS code snippets and Python SDK for Polars 0.20.X ( #2911 )
...
* fix: update S3 TS code snippets
* use S3Object type from SDK
* update python snippets as well
* Update python SDK for Polars 0.20.X
2023-12-22 08:39:35 +01:00
Guillaume Bouvignies
7a875e0cf7
fix: Re-add TS SDK changes for S3 ( #2899 )
2023-12-20 18:12:37 +01:00
Guillaume Bouvignies
c1e04e104c
fix: TS SDK not found upon install error ( #2895 )
2023-12-20 16:53:42 +01:00
Guillaume Bouvignies
fd55c3d8e3
feat: S3 objects are now typed in Python and TS SDK ( #2878 )
...
* feat: S3 objects are now typed in Python and TS SDK
* fix ts and python SDK after testing
* cleanup
2023-12-20 09:16:33 +01:00
Guillaume Bouvignies
b484a8dc27
feat: Add download button to S3 file picker ( #2857 )
2023-12-14 15:45:37 +01:00
Ruben Fiszel
e9a3b15a3d
fix: migrate old state env variable to new env variable
2023-11-18 17:32:41 +01:00
Ruben Fiszel
efac70453e
fix: improve error message for unauthorized variables/resources
2023-11-18 16:27:09 +01:00
Ruben Fiszel
8fdd1d3d29
fix: fix windmill-client
2023-08-26 11:41:58 +02:00
Ruben Fiszel
5fd36052fa
feat: add lockfile for deno + use npm module for deno for windmill-client
2023-08-26 11:14:01 +02:00