Commit Graph

7901 Commits

Author SHA1 Message Date
Alexander Petric
c8a2f8fee0 update docker build on comment (#4567)
* adding github workflow build triggers on comment

* fix conditions

* revert formating

* simplify

* event_name fix

* build ee on nsjail as well
2024-10-22 17:18:14 +02:00
Alexander Petric
669c8f81c7 adding github workflow build triggers on comment (#4565)
* adding github workflow build triggers on comment

* fix conditions

* revert formating

* simplify

* event_name fix
2024-10-22 17:02:59 +02:00
HugoCasa
2d5097e376 improve stripe team plan switching (#4552)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-10-22 15:49:08 +02:00
Alexander Petric
18fc0e4f93 audit logs for failed login attempts (#4564)
* audit logs for failed login attempts

* updating ee ref
2024-10-22 02:42:12 +02:00
Ruben Fiszel
ae3961ec59 chore(main): release 1.411.0 (#4559)
* chore(main): release 1.411.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.411.0
2024-10-21 20:20:59 +02:00
wendrul
2079b2e7e1 fix: Do not ignore file resources with json file ext (#4562) 2024-10-21 17:44:16 +02:00
Ruben Fiszel
b8a6a11635 feat(cli): encrypt sensitive instance settings (#4561) 2024-10-21 14:38:08 +02:00
Ruben Fiszel
0d9039641b fix: update bun to 1.1.31 and deno to 2.0.2 2024-10-21 11:29:14 +02:00
Ruben Fiszel
4ca7c2bf07 chore(main): release 1.410.3 (#4556)
* chore(main): release 1.410.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.410.3
2024-10-20 12:57:00 +02:00
Ruben Fiszel
87f5c078dd fix(go-client): reduce runtime dependencies by bumping oai-codeen to v2.4.1 2024-10-20 12:50:57 +02:00
Ruben Fiszel
444bfb85a3 chore(main): release 1.410.2 (#4555)
* chore(main): release 1.410.2

* Update version.txt

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.410.2
2024-10-19 17:14:57 +02:00
Ruben Fiszel
a92a2fd6fd fix(frontend): improve display of error handlers 2024-10-19 16:57:12 +02:00
Ruben Fiszel
3cd30d2376 chore(main): release 1.410.1 (#4553)
* chore(main): release 1.410.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-10-19 12:30:25 +02:00
Ruben Fiszel
68c07c23f5 add a way to skip deno cli warning 2024-10-19 12:18:15 +02:00
Ruben Fiszel
26a40d1944 fix(cli): improve wmill init behavior 2024-10-19 12:15:59 +02:00
Ruben Fiszel
5115aee577 various nits 2024-10-19 12:11:29 +02:00
HugoCasa
17d9541dc2 fix ws killpill (#4551)
* websocket killpill

* oups

* nit

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-10-19 01:17:15 +02:00
HugoCasa
fc7bbb9168 websocket killpill (#4550) 2024-10-19 00:02:48 +02:00
Ruben Fiszel
0f0c6ce2df chore(main): release 1.410.0 (#4546)
* chore(main): release 1.410.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.410.0
2024-10-18 20:35:20 +02:00
wendrul
eb5ad0efee Remove debug line (#4548) 2024-10-18 20:31:53 +02:00
HugoCasa
9b4e7be908 support colon in job filter tags scope (#4549) 2024-10-18 20:31:38 +02:00
Ruben Fiszel
549b11dcfb fix(frontend): add back script lockfile to script details pae 2024-10-18 20:30:34 +02:00
Ruben Fiszel
248fdc24a6 feat(typescript-bun): support relative imports without the .ts extension 2024-10-18 12:26:57 +02:00
Ruben Fiszel
ba5539a18f adapt websocket triggers to multi-tenant cloud 2024-10-18 00:52:23 +02:00
HugoCasa
8807e99f06 feat: websocket triggers (#4505)
* feat: websocket triggers

* fix

* frontend nits

* nits

* new trigger UI

* sqlx
2024-10-18 00:21:52 +02:00
Ruben Fiszel
08595c6f14 fix: cache js static assets by default 2024-10-18 00:12:07 +02:00
Ruben Fiszel
d7cf5ea37d fix: improve cancelling of jobs on public apps for anonymous users 2024-10-17 20:37:56 +02:00
wendrul
52c1ac099f Add list dir logs after commit for indexer (#4545) 2024-10-17 19:49:17 +02:00
Ruben Fiszel
655a206f5a npm check fix 2024-10-17 18:09:13 +02:00
pyranota
7f5e294d2c Deploy collision warning fix (#4544)
* feat: Multiplayer deploy collision warning

Show warning with diff viewer if 2+ users try to deploy flow/script/app at the same time

In other words, if user A and user B started editing same flow/script/app and user A deployed it,
user B will get warning if they try to deploy as well.

* Add warning for scripts

* Add `deployedBy` to Apps

* Format

* Fix advanced deployment on scripts

* Write comments and cleanup

* feat(frontend): unify all triggers UX and simplify flow settings (#4259)

* feat(frontend): added list of triggers in the flow graph

* feat(frontend): added list of triggers in the flow graph

* feat(frontend): clean up

* feat(frontend): improve UX

* feat(frontend): triggers

* feat(frontend): triggers

* feat(frontend): done

* feat(frontend): fix trigger when position when a preprocessor is presetn

* Glm/rework flow settings v2 (#4497)

* fat(frontend): simplify flow settings menu

* improve scroll

* changing mute toggle

* Add advanced settings badge

* Add nord theme colors

* Add bage for advanced options

* fix minor issue

* fix minor issue

* Add triggers menu to flow settings

* Add quick trigger access

* remove triggers in flow settings

* fix minor issue

* Move triggers settings to flow right panel

* polishing

* fix unset store

* remove save up to for triggers

* fix padding

* reset default tag color

* remove custom select component

* revert path change

* revert section modif

* Revert unused feature

---------

Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>

* Connect top bar cron to schedules settings

* Turn copilot into node

* fix copilot placement

* remove useless import

* fix center copilot

* fix binding

* remove copilot on top of preprocessor

* render copilot node on condition

* quickfix

* remove copilot node

* fix minor issues

* fix route count update

* fix schedule sync

* harmonize colors

* fix alignment and add edges

* recenter node summary

* fix schedules sync

* Add id title

* all

* all

* all

* iteration

* all

* all

* done

* fix

* more fixes

---------

Co-authored-by: Guilhem <guilhemlemouel@gmail.com>
Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>

* Update ScriptBuilder.svelte

* Remove `onMount` for flows

* Use version instead of last_updated_at in flows

* Use only versions for apps

* Fetch latest data in Diffs in Apps

* Optimize with (script/flow/app)GetLatestVersion

Create several new endpoints, that returns just latest version without rest of the history

* Sync Diffs with deployed

* Improve Diff's data

* Use `getFlowLatestVersion`

* fix failing endpoints for deployed collision warning

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Guilhem <guilhemlemouel@gmail.com>
Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-10-17 18:05:44 +02:00
pyranota
ce80d6b07b Multiplayer deploy collision warning (#4533)
* feat: Multiplayer deploy collision warning

Show warning with diff viewer if 2+ users try to deploy flow/script/app at the same time

In other words, if user A and user B started editing same flow/script/app and user A deployed it,
user B will get warning if they try to deploy as well.

* Add warning for scripts

* Add `deployedBy` to Apps

* Format

* Fix advanced deployment on scripts

* Write comments and cleanup

* feat(frontend): unify all triggers UX and simplify flow settings (#4259)

* feat(frontend): added list of triggers in the flow graph

* feat(frontend): added list of triggers in the flow graph

* feat(frontend): clean up

* feat(frontend): improve UX

* feat(frontend): triggers

* feat(frontend): triggers

* feat(frontend): done

* feat(frontend): fix trigger when position when a preprocessor is presetn

* Glm/rework flow settings v2 (#4497)

* fat(frontend): simplify flow settings menu

* improve scroll

* changing mute toggle

* Add advanced settings badge

* Add nord theme colors

* Add bage for advanced options

* fix minor issue

* fix minor issue

* Add triggers menu to flow settings

* Add quick trigger access

* remove triggers in flow settings

* fix minor issue

* Move triggers settings to flow right panel

* polishing

* fix unset store

* remove save up to for triggers

* fix padding

* reset default tag color

* remove custom select component

* revert path change

* revert section modif

* Revert unused feature

---------

Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>

* Connect top bar cron to schedules settings

* Turn copilot into node

* fix copilot placement

* remove useless import

* fix center copilot

* fix binding

* remove copilot on top of preprocessor

* render copilot node on condition

* quickfix

* remove copilot node

* fix minor issues

* fix route count update

* fix schedule sync

* harmonize colors

* fix alignment and add edges

* recenter node summary

* fix schedules sync

* Add id title

* all

* all

* all

* iteration

* all

* all

* done

* fix

* more fixes

---------

Co-authored-by: Guilhem <guilhemlemouel@gmail.com>
Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>

* Update ScriptBuilder.svelte

* Remove `onMount` for flows

* Use version instead of last_updated_at in flows

* Use only versions for apps

* Fetch latest data in Diffs in Apps

* Optimize with (script/flow/app)GetLatestVersion

Create several new endpoints, that returns just latest version without rest of the history

* Sync Diffs with deployed

* Improve Diff's data

* Use `getFlowLatestVersion`

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Guilhem <guilhemlemouel@gmail.com>
Co-authored-by: Guilhem <guilhem@mbp-de-windmill.home>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-10-17 17:14:48 +02:00
Ruben Fiszel
658a9345a2 chore(main): release 1.409.4 (#4543)
* chore(main): release 1.409.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.409.4
2024-10-17 17:12:22 +02:00
Ruben Fiszel
59a1e67465 fix: fix flow viewer renderer outside of flow details and editor context 2024-10-17 17:09:44 +02:00
Ruben Fiszel
64e2334c2c chore(main): release 1.409.3 (#4542)
* chore(main): release 1.409.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.409.3
2024-10-17 15:35:11 +02:00
Ruben Fiszel
77702268d2 improve primary schedule direct button on script editor 2024-10-17 15:30:30 +02:00
Ruben Fiszel
c3c2fe462c fix: do not delete primary schedule of script/flow on redeploy even if schedule wasn't loaded 2024-10-17 15:25:19 +02:00
pyranota
b237873a87 Annotations refactor (#4512)
* Refactor annotation system

* Move tests to different location

* Limit annotations per line (15)

* Write initial benchmark

* Optimize

* More optimizations

* Rewrite with 3x speed!

* Remove benchmarks

They were in wrong place and for development

* Polishing

* Remove unused leftover

* Integrate new annotation system

* Add comment explanation

* Remove `hashe-based matching`

Turned to be it is impure and non-deterministic method

* Add `tracing::error` for `// native` without `deno_core`

If you build backend without `deno_core` feature flag, and add //native
annotation to ts script, it would just silently exit.

This commit prints error to logs

* add more tests

* Update annotations.rs

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-10-17 09:14:31 +02:00
Ruben Fiszel
b7ad19bb75 fix(nsjail): improve memory reading when using nsjail 2024-10-17 07:42:30 +02:00
Ruben Fiszel
45bf59ba32 chore(main): release 1.409.2 (#4541)
* chore(main): release 1.409.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.409.2
2024-10-17 01:22:18 +02:00
Ruben Fiszel
1466da3999 fix: add extra args support for exception to bun scripts 2024-10-17 01:19:25 +02:00
Ruben Fiszel
3174024d8e fix: fix script persistence in url + add support for extra error args in python 2024-10-17 01:07:56 +02:00
Ruben Fiszel
4e6c0d1e80 chore(main): release 1.409.1 (#4540)
* chore(main): release 1.409.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.409.1
2024-10-17 00:08:06 +02:00
Ruben Fiszel
6abb346013 fix(git-sync): propagate update of folders with git sync 2024-10-16 23:44:56 +02:00
Ruben Fiszel
79100f8d0a move to lto thin 2024-10-16 23:39:51 +02:00
Ruben Fiszel
28f6f6b067 chore: update bun to 1.30.0 2024-10-16 22:53:42 +02:00
Ruben Fiszel
d24e153065 fix(apidocs): fix generated openapi files 2024-10-16 22:11:56 +02:00
Ruben Fiszel
8df2cec40a chore(main): release 1.409.0 (#4530)
* chore(main): release 1.409.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.409.0
2024-10-16 20:49:06 +02:00
Ruben Fiszel
a8c4ea2334 fix(python-client): improve get_job_status for running jobs 2024-10-16 20:09:20 +02:00
Ruben Fiszel
20e8be15fe add lto fat to release build 2024-10-16 19:51:08 +02:00
Ruben Fiszel
c3b536b1b8 fix(app): make s3 uploads persistent across tabs change 2024-10-16 19:43:20 +02:00