Commit Graph

370 Commits

Author SHA1 Message Date
pyranota f55cb420dd feat: add nu-lang support (#5217)
* feat: add nu (nushell) support

* add worker tests

* deactivate tables and non-any types below top-level

full support will come in V1
for V0 it's better to keep things minimal and simple

* add syntax highlighting

used python's grammar, since nushell isn't supported by monaco nor svelte-highlights

for V1 nu will get it`s own grammar

* add logo

* partially implement plugin support

* change logo + ability to deploy + nsjail draft

* static variables + get_resource + get_variable

* lsp/dev.nu + initial nu lsp (not working yet)

* make it work with nsjail

* nullguard

* Much more flexible signature parsing and better error-messages

* add init script

* rename nulsp to nu

* install nu to dockerfile

* fix merge

* implement Default for MainArgSignature

* stage NU_CACHE_DIR

* improve dockerfiles

* dev.nu for parser-wasm + flake.nix

* update code for windows

* add nushell to flake

* upload Cargo.lock

* make build.sh work on nixos

* build wasm cli parsers

* add docs to README_DEV.md

* add helper script docker/dev.nu

* improve docker/dev.nu

* fix windows

* commit frontend/package(lock).json

* update cargo.lock

* correctly update cargo.lock

* remove lsp

* update flake.nix to include svelte server and nushell

* Revert base.sql to main

* remove PLUGIN_USE_RE

* make CARGO_PATH private

* add nu to cli

* Change flags to build wasm-nu-parser

* remove flake.nix from parser-wasm

* update wasm-build target

* remove unused import

* add cli support for nu

* update github workflows

* wasm-build 0.17 -> 0.19

* update build script

* update cargo.lock

* Fix typographical error

* update Cargo.lock

* update ENV_SETTINGS

* use published nu parser

* update package.lock

* rewrite parser in tree-sitter

* implement parser from scratch

* polishing

* change init script to match new parser

* fix imports

* fix cli build

* fix cli build

* merge

* update wasm

* use MiniPulledJob

* update cli

* change cli wasm schema

* change cli

* update deno.json

* make wasm modules load lazily

* regenerate parsers

* remove leftover

* update cargo.lock

* clean up dnt.ts

* add docs to cli/test.nu

* add schema validation option

* add Nu to try_validate_schema

* reference frontend to new parser version
2025-03-20 16:45:21 +01:00
Ruben Fiszel 3ea0efd1b3 fix ci check 2025-03-20 11:57:14 +01:00
Ruben Fiszel 470488d5fb minor ci checks 2025-03-20 10:48:18 +01:00
Ruben Fiszel 18ecb261c3 DISABLE_CONCURRENCY_LIMIT 2025-03-16 17:45:40 +01:00
Ruben Fiszel 16d60739f4 update LICENSE 2025-03-07 15:08:19 +01:00
dieriba 0955af1aea feat: MQTT triggers (#5277)
* first commit

* update migration mqtt

* chore: update dependencies

* add cli support and update schema for mqtt

* update: casing style

* update: rename get_resource function and moving to resource.rs

* feat:

* feat: refactored

* feat: add ready endpoints for workers to enterprise

* feat: handle connection to server

* fix: main.rs

* feat: added support v5

* feat: 🚧 updated .github, handle more case for v5 and handle v3

* feat: handled client, update script helper

* update .sqlx

* refactor: added generic implement and trait to remove redundant code, misses client impleme

* feat: remove optinal property update test function

* feat: done

* handle client certificate

* minor fix

* fix: tls and mtls

* fix: min topic len in frontend

* Update frontend/src/lib/components/triggers/mqtt/MqttEditorConfigSection.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update backend/windmill-api/openapi.yaml

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update backend/windmill-api/src/mqtt_triggers.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* update openapi, and script_helper.ts

* fix: toggle button and update mqtt migration

* nits: remove postgres type and only relies on serde

* fix: timeout connection

* fix typo and captures

* fix: capture table reactivity

* handle more mqtt v5 option

* nits: remove clone method

* update: better naming

* nits: display tooltip qos

* fix: hanle tls connection with natively

* update: add documentation links for qos and topics

* fix tooltip and add default value

* update: shoz preprocessor only if selected in capture table

* nits: show mqtt icon in resource related componenets

* update hub link and repo ref

* fix: unused var

* update ee ref

* fix: give good reference id for script hub

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Clement Zhang <clement.zhang2@gmail.com>
2025-03-04 23:52:47 +01:00
Ruben Fiszel ea971bcd1b fix compile 2025-02-26 19:23:55 +01:00
Alexander Petric 0800361b63 set rust version for windows build (#5392)
* set rust version for windows build

* set rust version for windows build

* correct ation
2025-02-26 17:32:18 +01:00
Ruben Fiszel 52ed4fa9a2 fix: update to rust 1.86.0 2025-02-26 11:34:28 +01:00
Ruben Fiszel 7e58247e63 fix: init_script do not need to use nsjail even in nsjail mode 2025-02-22 01:04:33 +01:00
Ruben Fiszel aacd0930fe fix(python): PYTHON_PATH overrides python from uv 2025-02-20 02:54:51 +01:00
Ruben Fiszel 9109ae146c add otel to rh images 2025-02-19 08:11:06 +01:00
dieriba c1351f8155 feat: SQS triggers (#5182)
* feat: first commit

* fix: npm check

* fix: openapi file

* feat: update openapi and migration

* feat: basic implementation done

* fix: fix: no used function when no feature

* feat: capture done

* Update capture.rs

* nits: change sqs trigger

* fix: make migration great again

* feat: add message attributes

* feat: nits: fix error messages, remove console.log and add try catch

* update sqs icon and ee feature for sqs_trigger

* update: change sqs name casing and added test connection button

* nits: update Icon and add create from template button

* fix: ci build and error compilation

* update migration type sqs

* update link on create from template button for sqs, add archive in workspace export and update sqlx

* fix: ci

* Update SqsTriggerEditorInner.svelte

* add link to docs, use generic function for resource and fix import error

* chore: update .github ci

* nits: remove empty

* update to match ee repo changement

* Update backend/windmill-api/src/resources.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* add sqs handling for the cli and refacoring sqsEditorInner

* Update cli/sync.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* fix: add break to switch statement for sqs case

* fix: display aws_resource_path when retrieve or create a new trigger

* rework sqs ui, fix postgres optional port

* fix: ci

* update ui for trigger

* update repo ref and specific

* feat: add ready endpoints for workers to enterprise

* update ref

* Update frontend/src/lib/script_helpers.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-02-18 23:49:45 +01:00
Ruben Fiszel 85c71d1af1 improve benchmarks 2025-02-18 09:51:21 +01:00
Ruben Fiszel fa26190715 update benchs 2025-02-09 23:12:59 +01:00
Ruben Fiszel 771288069e update benchs 2025-02-09 23:12:15 +01:00
Ruben Fiszel 66eb8ee7a8 update benchs 2025-02-09 23:05:14 +01:00
Ruben Fiszel 420893f0b9 fix nsjail build 2025-01-30 09:20:23 +01:00
Ruben Fiszel ea2cce9826 fix nsjail build 2025-01-30 09:07:36 +01:00
Ruben Fiszel 043cae9c32 fix workflow dispatch and bench 2025-01-30 08:24:39 +01:00
Ruben Fiszel c885e4813d remove verify from normal ci 2025-01-29 19:35:33 +01:00
Ruben Fiszel c75cd81a19 nit build 2025-01-28 14:29:35 +01:00
Ruben Fiszel 0c6db9208f add nsjail dispatch 2025-01-28 13:27:58 +01:00
Ruben Fiszel 0fd17c12ea add nsjail dispatch 2025-01-28 13:13:12 +01:00
Ruben Fiszel 5f635787fc remove py312 image building 2025-01-27 11:19:01 +01:00
Ruben Fiszel 33fd91e620 remove deno-client 2025-01-26 16:05:26 +01:00
Ruben Fiszel 4a2b3d6c50 fix: update tests to rust 1.83.0 2025-01-25 22:18:53 +01:00
dieriba db0c0ffc08 fix: include postgres triggers in build #5137 2025-01-25 18:00:12 +01:00
Alexander Petric d40ef781a2 rhel image build workaround (#5091)
* RHEL Dockerfile / no chef

* Update Dockerfile

* Update Dockerfile

* Update build-publish-rh-image.yml
2025-01-17 19:50:23 +01:00
Ruben Fiszel 5144fc9baa nit ci 2025-01-16 19:52:23 +01:00
Ruben Fiszel c6b128c847 chore: update bun to 1.43.0 and loaded from tsx to ts 2025-01-16 18:26:03 +01:00
wendrul a8f49d5661 feat: add oracle db support on ee (#5062) 2025-01-14 21:21:24 +01:00
HugoCasa aa152bdc06 feat: nats triggers (#5039)
* feat: nats triggers

* missing files

* fix build

* update feature flags

* event stream fixes

* update ee ref
2025-01-10 19:47:17 +01:00
Alexander Petric 802322d9e2 fix docker image build (#4968)
* main docker file

* fix docker image build test tag

* don't remove tag

* don't update docker file
2024-12-23 18:33:20 +01:00
Lucas Abel 12d18beb32 cache: better cache system (#4951)
* cache: consider source as untrusted

* cache: better scoped cache

* cache: non-lazy flow value parse error

* fixup! cache: consider source as untrusted

* fixup! cache: consider source as untrusted

* fixup! cache: better scoped cache
2024-12-20 11:19:57 +01:00
Ruben Fiszel c3ce8e9b0e fix: update bun from 1.1.38 to 1.1.40 2024-12-19 01:38:35 +01:00
Lucas Abel e32bcd3383 backend: pass cargo check --all-features (#4946) 2024-12-18 12:37:31 +01:00
Ruben Fiszel d22e369645 update backend tests to 1.82.0 2024-12-18 12:35:22 +01:00
Ruben Fiszel 3533c9866b restrict backend ci checks to ci changes 2024-12-18 10:08:06 +01:00
Ruben Fiszel fc1bfdd44f test -> check 2024-12-18 09:51:28 +01:00
Ruben Fiszel 173a0d1f99 nit check 2024-12-18 09:39:28 +01:00
Ruben Fiszel 3c675c8d56 add fast backend checks 2024-12-18 09:15:27 +01:00
Ruben Fiszel 7c717fa532 revert docker build changes 2024-12-17 20:36:53 +01:00
Ruben Fiszel 7cce6a2229 ci improvements (#4938) 2024-12-17 20:01:11 +01:00
Ruben Fiszel 617fa55663 add workflow_dispatch to build 2024-12-17 11:05:54 +01:00
Ruben Fiszel fa364b89d4 remove rust embed in dev mode 2024-12-15 13:36:21 +01:00
Ruben Fiszel ab906eeb20 add rust to tests 2024-12-15 11:06:56 +01:00
Ruben Fiszel 330a6352d0 make rust optional 2024-12-15 10:00:22 +01:00
Ruben Fiszel fd462a7038 feature gates more feature for faster compilation (#4928)
* cleanup

* cleanup

* all

* all

* all

* all
2024-12-15 00:00:37 +01:00
HugoCasa 95f4d15ffe more feature flags (#4918)
* more feature flags

* include python in tests

* smtp feature flag

* del

* add back file

* fix openapi int
2024-12-14 13:21:28 +01:00