Commit Graph

53 Commits

Author SHA1 Message Date
Ruben Fiszel 2d8e3acdef feat(bash): add default argument handling for bash 2023-03-10 15:04:34 +01:00
Ruben Fiszel a77e73ceb4 fix(deno): remove mysql support waiting for deno fix 2023-02-24 17:19:13 +01:00
Ruben Fiszel 87bc631a1f fix(deno): remove mysql support waiting for deno fix 2023-02-24 17:11:53 +01:00
Ruben Fiszel cca5ea8644 import python code as raw to avoid reindent 2023-02-05 16:03:03 +01:00
Ruben Fiszel b5e1babf0a fix python default tabSize 2023-02-05 14:51:33 +01:00
Ruben Fiszel 7084eb4a36 script_helpers nit 2023-01-15 08:32:37 +01:00
Ruben Fiszel cfa2cf187e improve default connection for failure module 2023-01-14 19:22:59 +01:00
Ruben Fiszel ec2e0fdc33 error handling improvements 2023-01-14 17:46:03 +01:00
Ruben Fiszel 8fe77cf15a feat: add move to drawer for script and flows 2022-12-21 06:55:37 +01:00
Ruben Fiszel fac5b19d41 UX improvements 2022-12-13 21:24:35 +01:00
Ruben Fiszel 7bc5504c16 fix mysql template 2022-12-05 00:09:35 +01:00
Jakub Kołodziejczak c8c285729c feat(frontend): introduce mysql as a script language (#982)
* fix(deno-client): export mysql from mod.ts + improve robustness

* feat(frontend): introduce mysql as a script language
2022-12-04 19:56:51 +01:00
Jakub Kołodziejczak d85f322a39 fix(frontend): psql demo expects integers as a key (#958) 2022-11-28 19:33:49 +01:00
Ruben Fiszel 8f92a0c66f feat(frontend): flow UX overhaul II + go + python support for trigger scripts (#928)
* all

* improve all

* improve all

* fix frontend

* fix input picker nits

* fix(frontend): Fix Menu display

* all

* fix all

* fix all

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-11-22 16:18:14 +01:00
Ruben Fiszel 4b2cb415a4 add editable resources 2022-11-19 18:10:04 +01:00
Ruben Fiszel 38be2fb301 fix(python-client): get_state on empty state return None 2022-11-19 10:10:38 +01:00
Ruben Fiszel 422f9e0a2c fix initial python script 2022-11-17 12:07:13 +01:00
Ruben Fiszel 27b638b611 feat(python): add Resource[resource_type] as a parsed parameter 2022-11-16 14:08:55 +01:00
Ruben Fiszel 4b97742070 InternalState -> State 2022-11-15 13:27:24 +01:00
Ruben Fiszel 7c97fac746 feat: support bash as 4th language (#865)
* bash support

* bash backend working

* frontend part

* bash backend working
2022-11-06 23:48:18 +01:00
Ruben Fiszel 6018e2ff11 fix(frontend): go editor nits 2022-11-03 18:48:53 +01:00
Ruben Fiszel 038cbfa8a5 update deno example with npm qualifier 2022-11-03 01:04:08 +01:00
Ruben Fiszel 87c31811bb better go example 2022-11-02 11:16:09 +01:00
Ruben Fiszel 084f38c12a change default templates for go 2022-11-02 10:59:08 +01:00
Ruben Fiszel f7572ba2f3 approvers are available to the step right after approval 2022-11-02 10:43:19 +01:00
Ruben Fiszel 8e85c1b0b8 fix default python script 2022-10-29 12:57:25 +02:00
Ruben Fiszel 6ceac4280e feat(python): type is automatically inferred from default parameters 2022-10-29 12:48:50 +02:00
Ruben Fiszel 16afde6806 approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel f34a625add fix(go-client): improve go-client variable and resource handling 2022-10-15 11:18:17 +02:00
Ruben Fiszel 6cbc6b421b feat: add go LSP (#699)
* lsp

* progress

* 1.36.0
2022-10-08 13:28:46 +02:00
Ruben Fiszel 7562253520 fix(frontend): rework the error handler script picker 2022-10-01 00:22:41 +02:00
Christian Paul 9144aa1fcc wmill.getInternalState() needs to be awaited (#646) 2022-09-30 05:44:51 +02:00
Faton Ramadani c9ae5905a8 feat(frontend): Flow UX entire rework (#552)
* feature(frontend): Flow rework WIP

* feature(frontend): Right panel behavior done

* feature(frontend): Split panel working

* feature(frontend): Flows working

* feature(frontend): Add inputs + adapt style + remove duplicate library

* feature(frontend): remove old implementation

* feature(frontend): revert package-lock

* feature(frontend): revert old FlowBuilder component

* feature(frontend): Fix margins + add remove button on the minimap

* feature(frontend): Fix wording

* feature(frontend): add PR UI comments

* feature(frontend): Display the module title

* feature(frontend): Previews working

* feature(frontend): Fix schedule load + update

* feature(frontend): fix build

* feature(frontend): UI fix

* fix just this step

* feature(frontend): for loop iterator and skip failures

* just this step

* script helpers

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-09-14 12:34:51 +02:00
Ruben Fiszel 9d991f968c feat: implement go support (#571)
* progress

* progress

* all in one

* frontend

* small nits

* go job test

* go.sum is optional

* add golang-go to backend test image

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-09-13 21:14:21 +02:00
Ruben Fiszel 66df58af47 feat: is_trigger is just a type tag, soon to include failure and command (#523)
* script kind

* all

* init code flow

* kind: trigger

* kind: trigger
2022-09-05 09:55:04 +02:00
Mike b08b616c7d typo (#485) 2022-08-24 16:38:19 +02:00
Ruben Fiszel 69dfc2f31a fix autowebsocket + update tooltip socket 2022-08-21 23:50:40 +02:00
Ruben Fiszel 7fcb374ecb feat: PostgreSQL parametrized statement handled as typescript template 2022-08-21 17:15:56 +02:00
Christian Paul 6ea0e3d34d Changes to the Deno trigger script template (#448) 2022-08-18 14:20:33 +02:00
Ruben Fiszel a890c842d8 QoL path and editor improvements 2022-08-18 12:58:49 +02:00
Ruben Fiszel 255cde6236 change default typescript 2022-08-18 09:43:11 +02:00
Ruben Fiszel 3a60f38fa6 change default typescript 2022-08-18 09:30:24 +02:00
Ruben Fiszel e1e8eaa229 change default typescript 2022-08-18 09:28:25 +02:00
Ruben Fiszel 3b466cdc7b change default typescript 2022-08-18 09:24:35 +02:00
Ruben Fiszel 323fd30a00 rework default python script 2022-08-05 20:21:13 +02:00
Mike 51d05c8f5d fix: typos (#301) 2022-08-01 17:17:19 +02:00
Ruben Fiszel ae2aa7b8f8 more errors 2022-07-30 01:10:01 +02:00
Ruben Fiszel 900eb060bc editor fixes 2022-07-28 23:13:03 +02:00
Faton Ramadani 17dfd558d5 feat: Add flow input and current step in the prop picker (#236)
* Add flow input and current step in the prop picker

* Fix step + correctly bind pickableProperties

* Correctly make pickable properties + use popper to fix display issues

* styling

* Remove debugger

* Simplify how search works by removing one store

* preview

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-26 11:51:45 +02:00
Faton Ramadani 31411e256f feat: dynamic template for script inputs in flow
* Refactor flow UI/UX + added fork and create script from inline script

* Prevent infinite loop when remove steps

* Fix forking a script from the Hub

* Fix viewing code of  a script from the Hub

* Fix PR comments

* Fix code highlight

* Fix path

* Find next available path

* Fix copy first step schema

* Light dynamic input WIP

* Fix initial input transform

* Use backquote to inject code

* Light dynamic input working

* Adapt warning message

* Merge main

* Change toggle text

* Change toggle text

* Fix preview

* Add missing id

* Fix z-index

* Update frontend/src/lib/components/ModuleStep.svelte

* pushed propertiesType fix

* pushed propertiesType fix

* JSON.parse resulting expr

* use class for property-picker

* Rework onmouseleave logic

* handle all types

* give up on object

* give up on object

* give up on object

* fix toggle

* good to merge

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-21 14:58:55 +02:00