Compare commits

...

1765 Commits

Author SHA1 Message Date
Ádám Kovács
b76426ba83 faet(frontend): Add tour manager store 2023-03-10 20:11:25 +01:00
Ádám Kovács
1cb2a177c6 Merge branch 'main' into tutorials 2023-03-10 19:13:04 +01:00
Ádám Kovács
db87577a1b feat(frontend): Add app editor tour 2023-03-10 19:11:34 +01:00
Ruben Fiszel
bc440f8d41 feat(frontend-apps): add variable picker for static string input on apps 2023-03-10 18:41:27 +01:00
Ádám Kovács
c219eb0ee9 feat(frontend): Add flow editor tour 2023-03-10 18:36:53 +01:00
Ruben Fiszel
1d5c194f09 feat(bash): add default argument handling for bash 2023-03-10 15:04:34 +01:00
Ruben Fiszel
7a9d230459 disable playwright for now 2023-03-10 12:54:00 +01:00
Ruben Fiszel
4d5e2499cf cleanup .workflows 2023-03-10 12:48:02 +01:00
Ruben Fiszel
686275fd46 trim tailwindcss 2023-03-10 12:44:08 +01:00
Ruben Fiszel
99399f4f77 fix serde test 2023-03-10 12:19:56 +01:00
Ruben Fiszel
6e09194313 fix compile 2023-03-10 12:12:10 +01:00
Ruben Fiszel
7c825c212d fix(backend): add killpill for lines reading 2023-03-10 12:04:05 +01:00
Ádám Kovács
bfe5b56c99 feat(frontend): Add script editor tour 2023-03-10 09:38:34 +01:00
Ruben Fiszel
480fd781b6 worker ping at least every 5s even when running long jobs 2023-03-10 01:38:12 +01:00
Ruben Fiszel
4f2079f624 trim tailwind safelist 2023-03-10 01:06:55 +01:00
Ruben Fiszel
43c45d930c chore(main): release 1.74.2 (#1277)
* chore(main): release 1.74.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-10 00:55:13 +01:00
Faton Ramadani
8d5c5b88a3 fix(frontend): fix splitpanes navigation (#1276) 2023-03-10 00:32:33 +01:00
Ruben Fiszel
cc8bedd0c7 make frontend configurable through consts.ts 2023-03-09 22:54:25 +01:00
Ruben Fiszel
74c3d6443c chore(main): release 1.74.1 (#1275)
* chore(main): release 1.74.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-09 22:45:53 +01:00
Ruben Fiszel
c7be313210 fix importjson 2023-03-09 22:42:47 +01:00
Ruben Fiszel
ae53bafaf6 fix(apps): proper reactivity for non rendered static components 2023-03-09 22:29:19 +01:00
Ruben Fiszel
2ea15d5035 fix(ci): make windmill compile again by pinning swc deps 2023-03-09 22:20:31 +01:00
Ruben Fiszel
0f187d66dd show backtrace for cook 2023-03-09 21:22:36 +01:00
Ádám Kovács
4453690521 feat(frontend): Add onboarding tour to home page 2023-03-09 20:11:27 +01:00
Ruben Fiszel
6691b19b24 chore(main): release 1.74.0 (#1269)
* chore(main): release 1.74.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-09 19:58:21 +01:00
Ruben Fiszel
2f9ccff65c app nits 2023-03-09 19:56:47 +01:00
Ruben Fiszel
09db6fd867 fix key navigation 2023-03-09 19:41:12 +01:00
Ruben Fiszel
fd52740d5d improve reactivity check for big objects on app 2023-03-09 18:34:36 +01:00
Faton Ramadani
6b0fb75d23 feat(frontend): Add key navigation in app editor (#1273)
* feat(frontend): add expand

* feat(frontend): fix container height

* feat(frontend): remove code duplication

* feat(frontend): add historic

* feat(frontend): add key navigation

* feat(frontend): simplfiy

* feat(frontend): add support for subgrids

* feat(frontend): update key navigation

* feat(frontend): update key navigation

* feat(frontend): fix nested component

* feat(frontend): fix build

* feat(frontend): remove code duplication

* feat(frontend): support tabs

* feat(frontend): support tabs

* feat(frontend): Fix AppTabs + handle tab navigation

* feat(frontend): support splitpanes
2023-03-09 18:23:12 +01:00
Ruben Fiszel
b1a45b1e70 feat(frontend): add hash to ctx in apps 2023-03-09 14:57:43 +01:00
Ruben Fiszel
b2de531a46 fix(frontend): simplify input bindings 2023-03-09 14:25:08 +01:00
Ruben Fiszel
a4adcb5192 fix(frontend): add confirmation modal to delete script/flow/app 2023-03-09 13:19:03 +01:00
Ruben Fiszel
0c2cf92dd3 feat: add delete by path for scripts 2023-03-09 12:44:49 +01:00
Ruben Fiszel
e6344dac6d fix(cli): improve visibility of the active workspace 2023-03-09 11:21:16 +01:00
Ruben Fiszel
8fb2454e83 enforce on_behalf_of by the backend, not frontend 2023-03-09 11:12:28 +01:00
Ádám Kovács
3b6ae0cc49 fix(frontend): Minor changes (#1272)
* fix(frontend): Output seach fixed on top

* fix(frontend): Use undo-redo component in flows
2023-03-09 09:42:51 +01:00
Ruben Fiszel
96ff2eebc1 fix publishing app as a superadmin 2023-03-09 02:08:52 +01:00
Ruben Fiszel
ed29d51c36 fix app json import 2023-03-09 01:16:57 +01:00
Ádám Kovács
88e537ad1f feat(frontend): Add color picker input to app (#1270)
* feat(frontend): Add color picker input to app

* fix(frontend): Add color input to dividers
2023-03-08 22:57:34 +01:00
Faton Ramadani
b854ee3439 feat(frontend): add expand (#1268)
* feat(frontend): add expand

* feat(frontend): fix container height

* feat(frontend): remove code duplication

* feat(frontend): add historic
2023-03-08 22:56:30 +01:00
Ádám Kovács
0a5e181a3a fix(frontend): Clean up app editor (#1267)
* fix(frontend): Clean up app editor

* fix(frontend): Add outputs search empty state

* fix(frontend): Add remove button to icon input

* label

* fix(frontend): Iconed app button
2023-03-08 19:02:19 +01:00
Ruben Fiszel
8cc59225d8 improve resource picker 2023-03-08 19:00:26 +01:00
Ruben Fiszel
9c41346dde fix subtle plotly import bug 2023-03-08 18:27:19 +01:00
Ruben Fiszel
41a398f50e fix frontend build error 2023-03-08 16:59:14 +01:00
Ruben Fiszel
3436061ad4 make windmill compatible with arm64 2023-03-08 16:55:00 +01:00
Ruben Fiszel
569b5d2516 improve rendering performances for non visible elements 2023-03-08 16:39:16 +01:00
Ruben Fiszel
a08cdd7b86 chore(main): release 1.73.1 (#1266)
* chore(main): release 1.73.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-08 00:41:42 +01:00
Ruben Fiszel
719d475262 fix(frontend): load flow is not initialized 2023-03-08 00:37:58 +01:00
Ruben Fiszel
5b3e1183e5 revert import on tailwind colors for faster builds 2023-03-08 00:20:12 +01:00
Ruben Fiszel
7ed301b186 chore(main): release 1.73.0 (#1257)
* chore(main): release 1.73.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-07 22:35:56 +01:00
Ruben Fiszel
46b6e4371b improve undo/redo + keybindings 2023-03-07 21:16:15 +01:00
Ruben Fiszel
e0d3465b07 fix z-stacking on chrome for flow builder 2023-03-07 19:27:35 +01:00
Ruben Fiszel
7f8fe8dc17 fix z-stacking on chrome for flow builder 2023-03-07 19:23:41 +01:00
Faton Ramadani
24f58efd99 feat(frontend): add a way to automatically resize (#1259)
* feat(frontend): add a way to automatically resize (wip) + add automatic resizable component

* feat(frontend): fix text resize

* feat(frontend): remvove useless softWrap

* feat(frontend): remove useless softWrap

* feat(frontend): Fix recomputeIds + app table

* feat(frontend): Fix app preview error display
2023-03-07 16:53:29 +01:00
Ruben Fiszel
67d8009dcf fix multiple app nits 2023-03-07 15:51:02 +01:00
Ruben Fiszel
95ccc9edf8 fix z-index for flowbuilder 2023-03-07 14:57:51 +01:00
Ruben Fiszel
9e4d90ad37 feat(frontend): add history to flows and apps 2023-03-07 14:47:17 +01:00
Ádám Kovács
c638897fdc fix(frontend): Side menu z-index issue (#1265) 2023-03-07 09:53:19 +01:00
Ruben Fiszel
71305e5154 show archived + fix graphs 2023-03-07 01:59:35 +01:00
Ruben Fiszel
9e9f8efb8e feat(frontend): add fork/save buttons + consistent styling for slider/range 2023-03-06 22:35:25 +01:00
Ádám Kovács
3e5d09ef0b feat(frontend): Add app PDF viewer (#1254)
* feat(frontend): Add app PDF viewer (wip)

* fix(frontend): Handle file upload

* fix(frontend): Handle multi page pdf

* feat(frontend): Add pdf page numbering

* feat(frontend): Add more pdf viewer controls

* save

* fix(frontend): Pdf loading

* fix(frontend): Resize PDF in small window

* fix(frontend): Minor fixes

* feat(frontend): Add pdf zoom configuration

* fix wip

* save

* bg color

* save progress

* pdf scaling

* feat(frontend): fix zoom synchro

* fix(frontend): Pdf scroll tracking

* fix(frontend): Double scrollbar

* nits

* fixes

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-03-06 20:17:36 +01:00
Ruben Fiszel
614fb5022a feat(frontend): add ability to move nodes 2023-03-06 18:41:20 +01:00
Ruben Fiszel
0beadfd1ac fix z-index of inputransformform 2023-03-06 16:04:32 +01:00
Ruben Fiszel
25580c1272 add trigger button 2023-03-06 14:11:17 +01:00
Faton Ramadani
2557e136bd fix(frontend): fix app map reactivity (#1260) 2023-03-06 11:26:00 +01:00
Ruben Fiszel
200cb69d82 make default branch non removable for branchone 2023-03-06 11:19:56 +01:00
Ruben Fiszel
9ee261fe1a Update docker-compose.yml 2023-03-06 10:39:00 +01:00
Ruben Fiszel
8e563a42f5 Update docker-compose.yml with oauth example 2023-03-06 10:38:01 +01:00
Faton Ramadani
a999eb2112 fix(frontend): fix branch deletion (#1261)
* fix(frontend): fix branch deletion

* fix(frontend): fix branch deletion

* fix(frontend): fix branch deletion
2023-03-06 09:01:19 +01:00
Ruben Fiszel
e5dbe7076c handle larger sized graphs 2023-03-06 08:33:53 +01:00
Ruben Fiszel
2ac51b0af0 feat(frontend): refactor entire flow builder UX 2023-03-05 23:00:43 +01:00
Ruben Fiszel
f3232062c3 make tailwind inputs class configurable 2023-03-03 22:32:35 +01:00
Ruben Fiszel
b11a5a2df6 only bind the staticoutputs of the first row 2023-03-03 18:00:09 +01:00
Ruben Fiszel
e2c4545240 fix(frontend): arginput + apppreview fixes 2023-03-03 17:34:08 +01:00
Faton Ramadani
70dd6f759c App small fixes (#1258)
* fix(frontend): Fix runnable editor

* fix(frontend): remove isopenstore

* fix(frontend): add output searchbar

* fix(frontend): fix build

* fix(frontend): add missing clear button
2023-03-03 15:15:29 +01:00
Ruben Fiszel
dcfb29fb80 fix sqlx offline 2023-03-03 13:04:24 +01:00
Faton Ramadani
94f1aadef2 feat(frontend): Fix object viewer style (#1255)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-03-03 12:47:55 +01:00
Ruben Fiszel
58300eb6ac introduce root_job and leaf_jobs for efficient result_by_id 2023-03-03 12:44:44 +01:00
Ashutosh Narang
304dea4b74 update build instructions (#1256) 2023-03-03 11:19:12 +01:00
Ruben Fiszel
f4fe71e074 chore(main): release 1.72.0 (#1250)
* chore(main): release 1.72.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-03-03 11:12:18 +01:00
Ruben Fiszel
fd4e18f62f fix minSize for app splitpanes to 20 2023-03-03 01:08:20 +01:00
Ruben Fiszel
e428662481 feat(frontend): add creatable select 2023-03-03 01:06:36 +01:00
Ruben Fiszel
b796aeef7a calculate all previous ids inside flows 2023-03-02 20:54:44 +01:00
Ruben Fiszel
55eb48c553 fix(frontend): background script not showing inputs 2023-03-02 17:54:05 +01:00
Ruben Fiszel
a43139fe53 flow improvements 2023-03-02 17:37:51 +01:00
Ruben Fiszel
c4463bb029 fix(backend): improve result retrieval 2023-03-02 16:33:24 +01:00
Ruben Fiszel
cc6eaaf473 fix tailwind JIT for devmode + graph fixes 2023-03-02 14:49:36 +01:00
Ádám Kovács
ed25d9f186 feat(frontend): Add app map component (#1251)
* feat(frontend): Add app map component (wip)

* fix(frontend): Revert

* feat(frontend): sync map configuration (#1252)

* fix(frontend): Map markers

* fix(frontend): Switching between input types

* fix(frontend): Customize map controls

* feat(frontend): Fix output + add set region button

* feat(frontend): Fix output + add set region button

* feat(frontend): Fix output + add set region button

* feat(frontend): Only display set region button on edit mode

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-03-02 14:25:30 +01:00
Ruben Fiszel
35ea2b27b1 fix(cli): fix workspace option + run script/flow + whoami 2023-03-02 13:21:50 +01:00
Ruben Fiszel
2c1e3b3372 UX nits 2023-03-02 12:08:20 +01:00
Ruben Fiszel
4101d587de remove slide causing issues 2023-03-02 11:59:10 +01:00
Ruben Fiszel
e6ff3ab6cc remove slide causing issues 2023-03-02 11:49:57 +01:00
Ruben Fiszel
8fc6c39129 remove bg-gray-50 from viewed apps 2023-03-02 11:06:11 +01:00
Ruben Fiszel
fcb5cf4d41 revert caddyfileremote target change 2023-03-02 10:39:01 +01:00
Ruben Fiszel
2679386bf8 fix(frontend): fix table bindings 2023-03-02 09:54:30 +01:00
Ryan Rich
580388ce19 Add support for binding server listener to a specific IP address (#1253) 2023-03-02 08:01:50 +01:00
Ruben Fiszel
4e6e66d7b1 fix splitpanes 2023-03-02 02:31:39 +01:00
Faton Ramadani
f4d79ee263 feat(frontend): app splitpanes (#1248)
* feat(frontend): app splitpanes

* feat(frontend): app splitpanes vertical

* feat(frontend): support both splitpanes

* done

* done

* default select value

* container height

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-03-02 01:30:07 +01:00
Ruben Fiszel
38fb3450c8 fix apps tabs + make inputvalue more resilient 2023-03-01 22:15:25 +01:00
Ruben Fiszel
94b20d2f5e fix(frontend): rework app reactivity 2023-03-01 21:33:23 +01:00
Ruben Fiszel
1753cb7da6 fix(frontend): rework app reactivity 2023-03-01 20:01:59 +01:00
Ruben Fiszel
2a75cd250e fix(backend): incorrect get_result_by_id for list_result job 2023-03-01 12:43:00 +01:00
Ruben Fiszel
29f3fe2663 update sqlx-data.json 2023-03-01 12:01:22 +01:00
Ruben Fiszel
4c913dc4b6 feat(backend): get_result_by_id do a downward pass to find node at any depth (#1249)
* downwardRec

* downwardRec

* any node

* any node

* any node
2023-03-01 11:33:48 +01:00
Ruben Fiszel
5c40ff4290 Update LICENSE 2023-03-01 09:53:26 +01:00
Ruben Fiszel
2bbe112444 handle more undefined cases in app 2023-03-01 08:46:20 +01:00
Ruben Fiszel
90a12f6131 drawer focus 2023-03-01 01:21:32 +01:00
Ruben Fiszel
f3f95fa865 active grid border-dashed for apps 2023-03-01 01:18:10 +01:00
Ruben Fiszel
26784464a4 revert pips change 2023-02-28 22:53:44 +01:00
Ruben Fiszel
c96e2351d9 chore(main): release 1.71.0 (#1242)
* chore(main): release 1.71.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-28 22:51:57 +01:00
Ruben Fiszel
ddb4916a2e fix app fields 2023-02-28 22:41:21 +01:00
Ádám Kovács
1bb5ed9ae0 fix(frontend): Add more app custom css (#1247)
* fix(frontend): Add number input custom css

* fix(frontend): Add currency input custom css

* fix(frontend): Add slider custom css

* fix(frontend): Add range custom css

* fix(frontend): Add password input custom css

* fix(frontend): Add date input custom css

* fix(frontend): Add tabs custom css

* fix(frontend): Minor stylings

* fix(frontend): Add icon custom css

* fix(frontend): Add dividers custom css

* fix(frontend): Add file input custom css

* fix(frontend): Add image custom css
2023-02-28 21:05:58 +01:00
Ruben Fiszel
b5b32f00b3 fix overflow-y on debug runs 2023-02-28 19:54:20 +01:00
Ruben Fiszel
c06311faf8 add workspace_add events 2023-02-28 19:41:01 +01:00
Ruben Fiszel
8a639b6e7d select input fix 2023-02-28 19:28:36 +01:00
Ruben Fiszel
05f568fb8c display startup info in all cases 2023-02-28 17:52:47 +01:00
Ruben Fiszel
e515c70e71 fix incorrect user sttings redirect 2023-02-28 16:57:00 +01:00
Ruben Fiszel
6adc875610 feat(frontend): drawer for editing workspace scripts in flows 2023-02-28 15:51:56 +01:00
Faton Ramadani
8a0d1158c4 feat(frontend): App drawer (#1246)
* feat(frontend): app drawer

* feat(frontend): app drawer

* feat(frontend): app drawer

* feat(frontend): app drawer wip

* feat(frontend): drawer wip

* feat(frontend): drawer wip

* feat(frontend): app missing prop

* feat(frontend): revert drawer changes

* feat(frontend): highlight subgrid
2023-02-28 15:49:57 +01:00
Ruben Fiszel
ea2ebfa92e fix compile issue 2023-02-28 11:18:09 +01:00
dependabot[bot]
ba856be10d chore(deps): bump docker/metadata-action from 3 to 4 (#1243)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:02:14 +01:00
dependabot[bot]
333b873ee9 chore(deps): bump docker/build-push-action from 3 to 4 (#1186)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:02:00 +01:00
dependabot[bot]
2785b05064 chore(deps-dev): bump @playwright/test in /frontend (#1244)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.29.2 to 1.31.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.29.2...v1.31.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:01:33 +01:00
Faton Ramadani
a67f10eeb6 fix(frontend): Fix deeply nested move (#1245)
* fix(frontend): Fix deeply nested move

* fix(frontend): update comment
2023-02-28 10:53:51 +01:00
Ruben Fiszel
287b2db22f feat(cli): add autocompletions 2023-02-28 10:32:34 +01:00
Ádám Kovács
a4e4d188ad fix(frontend): Add more app custom css (#1229)
* fix(frontend): Add container custom css

* fix(frontend): Add form custom css

* fix(frontend): Add form button custom css

* feat(frontend): Add css quick reset button

* feat(frontend): Filter component css by usage

* fix(frontend): Save state of unused component display

* fix(frontend): Add pie chart custom css

* fix(frontend): Add bar chart custom css

* fix(frontend): Update vega lite and plotly loading

* fix(frontend): Add html and timeseries custom css

* fix(frontend): Add scatter chart custom css

* fix(frontend): Add table custom css

* fix(frontend): Revert container custom styles

* fix(frontend): Add toggle custom css

* fix(frontend): Add text input custom css

* fix(frontend): Update

* fix(frontend): Remove undefined css customizations
2023-02-28 09:21:56 +01:00
Ruben Fiszel
2244e83b9d fix(frontend): invisible subgrids have h-0 + app policies fix 2023-02-27 18:38:22 +01:00
Ruben Fiszel
42d1cd6456 fix(frontend): display currently selected filter even if not in list 2023-02-27 16:20:31 +01:00
Ruben Fiszel
4b64e75bd1 add back all tailwind colors to tailwind config 2023-02-27 15:11:23 +01:00
Ruben Fiszel
51a7eaaeb0 rename counters 2023-02-27 14:52:24 +01:00
Ruben Fiszel
8589b70ccf apps improvements 2023-02-27 14:37:32 +01:00
Ruben Fiszel
0bf6f23c9e fix setup app to use updated version of the CLI 2023-02-27 14:16:57 +01:00
Ruben Fiszel
e56869092a feat(backend): use counter for sleep/execution/pull durations 2023-02-27 12:00:32 +01:00
Ruben Fiszel
6b8758f4a5 chore(main): release 1.70.1 (#1241) 2023-02-27 10:30:41 +01:00
Ruben Fiszel
fbc929ba1b chore(main): release 1.70.1 (#1239)
* chore(main): release 1.70.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-27 10:07:26 +01:00
Faton Ramadani
97602ac6db fix(frontend): Fix inline scripts list (#1240) 2023-02-27 10:06:42 +01:00
Faton Ramadani
8ee9d67f4f fix(frontend): Fix subgrid lock (#1232)
* fix(frontend): Fix subgrid lock

* feat(frontend): restore
2023-02-27 10:00:18 +01:00
Ruben Fiszel
4bf6e753f1 fix findGridItemById 2023-02-27 09:56:17 +01:00
Faton Ramadani
70eab303bd fix(frontend): Disable move in nested subgrid (#1238)
* fix(frontend): Disable move in nested subgrid

* fix(frontend): Disable move in nested subgrid
2023-02-27 09:50:39 +01:00
Ruben Fiszel
c051ffeb42 fix(cli): make cli resilient to systems without openable browsers 2023-02-27 09:48:52 +01:00
Ruben Fiszel
ebb68e5320 chore(main): release 1.70.0 (#1236)
* chore(main): release 1.70.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-27 09:25:03 +01:00
Ruben Fiszel
04a076f1db fix(cli): bump cli to non broken client 1.69.3 2023-02-27 09:24:18 +01:00
Ruben Fiszel
ebd2e0323e fix stripe checkout 2023-02-27 08:49:36 +01:00
Ruben Fiszel
cd25570003 fix minor editor bugs 2023-02-27 00:53:49 +01:00
Ruben Fiszel
e95f8ef6bf add none color for buttons 2023-02-27 00:27:20 +01:00
Ruben Fiszel
c3d1c8ac39 fix many apps bugs 2023-02-26 23:43:00 +01:00
Ruben Fiszel
d38aff2fe2 fix: app setup and sync now uses 1.69.3 2023-02-26 14:09:16 +01:00
Ruben Fiszel
95851ea486 minor app nits 2023-02-26 13:58:51 +01:00
Ruben Fiszel
b690d801d4 feat(apps): add ag grid 2023-02-25 13:11:50 +01:00
Faton Ramadani
104e4ac5e7 feat(frontend): move to other grid (#1230)
* feat(frontend): move to other grid

* feat(frontend): wip

* feat(frontend): Fix component move

* fix(frontend): Fix build

* feat(frontend): Fix moving

* fix(frontend): Simplify code
2023-02-25 11:31:12 +01:00
Faton Ramadani
e87f4fc44b fix(frontend): Fix duplication (#1237) 2023-02-25 10:18:21 +01:00
Ruben Fiszel
e1f686d850 fix(frontend): fix graph viewer id assignment 2023-02-25 08:48:24 +01:00
Ruben Fiszel
7da7dac3ac chore(main): release 1.69.3 (#1234) 2023-02-24 21:11:58 +01:00
Ruben Fiszel
c2e5afd4e0 fix(deno): fix denoify buffer handling 2023-02-24 21:09:37 +01:00
Ruben Fiszel
ad9c386f41 making slider/range values connectable 2023-02-24 20:50:01 +01:00
Ruben Fiszel
a4e3f98b7d chore(main): release 1.69.2 (#1233)
* chore(main): release 1.69.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-24 19:57:50 +01:00
Ruben Fiszel
dd28308c3c fix(app): fix all nested behavior 2023-02-24 19:52:20 +01:00
Ruben Fiszel
833c2655ea push 2023-02-24 19:52:20 +01:00
Faton Ramadani
a8295d0b5a fix(frontend): Fix findGridItem 2023-02-24 19:52:20 +01:00
Ruben Fiszel
897e2f6b53 flatten 2023-02-24 19:52:20 +01:00
Faton Ramadani
5bb77edf45 fix(frontend): Fix findGridItem 2023-02-24 19:52:20 +01:00
Faton Ramadani
8ddcf4d9c1 fix(frontend): Fix next id 2023-02-24 19:52:20 +01:00
Faton Ramadani
33ebe2da8e fix(frontend): wip 2023-02-24 19:52:20 +01:00
Ruben Fiszel
b3ee747014 pushed 2023-02-24 19:52:20 +01:00
Faton Ramadani
fa105b4cae fix(frontend): gridtab 2023-02-24 19:52:20 +01:00
Faton Ramadani
483407cdf0 fix(frontend): duplicate 2023-02-24 19:52:20 +01:00
Faton Ramadani
008c30fcaa fix(frontend): delete grid item 2023-02-24 19:52:20 +01:00
Ruben Fiszel
3387bb0d83 script editor panel 2023-02-24 19:52:20 +01:00
Ruben Fiszel
e08e7e4ae6 settings panel 2023-02-24 19:52:20 +01:00
Faton Ramadani
ea1b2c29b9 fix(frontend): rewrote utils 2023-02-24 19:52:20 +01:00
Ruben Fiszel
4ad6fbefd3 flatten 2023-02-24 19:52:20 +01:00
Ruben Fiszel
397ecd64d4 chore(main): release 1.69.1 (#1231)
* chore(main): release 1.69.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-24 17:26:53 +01:00
Ruben Fiszel
dd7e8c742c fix(deno): remove mysql support waiting for deno fix 2023-02-24 17:19:13 +01:00
Ruben Fiszel
2f78132e08 fix(deno): remove mysql support waiting for deno fix 2023-02-24 17:11:53 +01:00
Ruben Fiszel
0041411c06 subgrids editor panel iter 1 2023-02-24 14:48:28 +01:00
Ruben Fiszel
54955b710c fix subgrids final2 2023-02-24 13:11:06 +01:00
Ruben Fiszel
1eb5a0d1d3 fix subgrids final 2023-02-24 11:59:28 +01:00
Ruben Fiszel
ddda14c52b app fixes 2023-02-24 11:39:50 +01:00
Ruben Fiszel
5123c9365c fix subgrids final 2023-02-24 07:27:22 +01:00
Ruben Fiszel
834e7b1d1c todo: improve deleting tab 2023-02-24 01:04:26 +01:00
Ruben Fiszel
6e9a5b026e tab rework v2 2023-02-23 23:39:57 +01:00
Ruben Fiszel
7ad8879b09 fix binding 2023-02-23 22:14:23 +01:00
Ruben Fiszel
27cac3ffe6 fix(frontend): containers and tab fixes v1 2023-02-23 21:42:21 +01:00
Ruben Fiszel
705703a5e2 fix(frontend): containers and tab fixes v1 2023-02-23 21:01:47 +01:00
Ruben Fiszel
fac31c6628 fix(frontend): containers and tab fixes v1 2023-02-23 19:59:23 +01:00
Ruben Fiszel
90c0e140a1 chore(main): release 1.69.0 (#1226)
* chore(main): release 1.69.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-23 18:07:56 +01:00
Ruben Fiszel
d543650b31 fix(cli): .wmillignore whitelist behavior 2023-02-23 18:02:42 +01:00
Faton Ramadani
089a6b6ae5 feat(frontend): Duplicate component (#1228)
* feat(frontend): Duplicate component

* feat(frontend): add missing types
2023-02-23 17:43:27 +01:00
Faton Ramadani
857ee5f318 feat(frontend): Properly delete tab content (#1227) 2023-02-23 16:02:15 +01:00
Faton Ramadani
6ad876ebb4 feat(frontend): Support deeply nested components (#1225) 2023-02-23 15:33:14 +01:00
Ádám Kovács
ab4137640e refactor(frontend): Reorganise app components (#1224)
* refactor(frontend): Reorganise app components

* refactor(frontend): Restructure app component
2023-02-23 14:15:45 +01:00
Ruben Fiszel
2bd8fabcf7 chore(main): release 1.68.0 (#1223)
* chore(main): release 1.68.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-23 13:42:42 +01:00
Ruben Fiszel
3b7160e84a fix(cli): better ergonomics around workspaces 2023-02-23 13:31:08 +01:00
Ruben Fiszel
40c12e6139 fix(cli): better ergonomics around workspace add 2023-02-23 13:19:14 +01:00
Ádám Kovács
6044e3b6ef feat(frontend): Add more app component CSS customisation (#1218)
* fix(frontend): Update app style editor

* fix(frontend): Update component custom css typings

* fix(frontend): Generalise custom CSS inputs

* feat(frontend): Add display CSS customization
2023-02-23 11:42:32 +01:00
Ruben Fiszel
18ff5c7cef chore(main): release 1.67.4 (#1222)
* chore(main): release 1.67.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-23 09:06:34 +01:00
Ruben Fiszel
e54dc3ff97 fix(backend): workflow check for has_failure_module 2023-02-23 09:01:02 +01:00
Ruben Fiszel
4d5aae69c8 chore(main): release 1.67.3 (#1221)
* chore(main): release 1.67.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-23 08:34:22 +01:00
Ruben Fiszel
ec57c5977f fix(cli): ignone non wmill looking files 2023-02-23 08:26:22 +01:00
Ruben Fiszel
df1b724626 do not create default variables on workspace creation 2023-02-23 08:07:35 +01:00
Ruben Fiszel
268dfbf831 chore(main): release 1.67.2 (#1220)
* chore(main): release 1.67.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-23 08:00:15 +01:00
Ruben Fiszel
969e89f8bb fix(cli): ignone non wmill looking files 2023-02-23 07:40:04 +01:00
Ruben Fiszel
5997503961 chore(main): release 1.67.1 (#1219) 2023-02-22 23:47:37 +01:00
Ruben Fiszel
3fa24adad0 fix(cli): coloring nits 2023-02-22 23:46:08 +01:00
Ruben Fiszel
7471be1d81 update rustpython parser 2023-02-22 23:43:06 +01:00
Ruben Fiszel
d64e1c116a nits on cli output 2023-02-22 23:28:50 +01:00
Ruben Fiszel
9267b1fb90 nits on webhook sync 2023-02-22 22:44:19 +01:00
Ruben Fiszel
6528a68668 chore(main): release 1.67.0 (#1216)
* chore(main): release 1.67.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-22 22:39:14 +01:00
Ruben Fiszel
4fd4d17a0d update README 2023-02-22 21:49:13 +01:00
Ruben Fiszel
0548803ab7 fix flow rendering 2023-02-22 21:27:58 +01:00
Ruben Fiszel
0085b46c1e fix(cli): add --fail-conflicts to ci push 2023-02-22 21:00:48 +01:00
Kai Jellinghaus
81ffd49bef Remove Stripe (#1217) 2023-02-22 19:15:10 +01:00
Faton Ramadani
dbc59e9521 feat(frontend): Add app sub grids (#1208)
* feat(frontend): Add app sub grids

* feat(frontend): remove temp file

* feat(frontend): update package.json

* feat(frontend): fix build

* fixes

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): update dependencies

* feat(frontend): update dependencies

* feat(frontend): fix scrolling issues

* feat(frontend): fix preview + delete

* feat(frontend): done

* feat(frontend): remove dead code

* feat(frontend): fix selection

* feat(frontend): add container

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): restore npm package

* feat(frontend): add missing dependencies

* feat(frontend): remove missing dependencies

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): fix package.json

* feat(frontend): revert

* feat(frontend): fix package-lock

* feat(frontend): fix package-lock

* fix package-lock.json

* update

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-22 17:52:10 +01:00
Ruben Fiszel
121b3e9060 chore(main): release 1.66.1 (#1215)
* chore(main): release 1.66.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-22 15:55:37 +01:00
Ruben Fiszel
70dfc8b8d0 fix(cli): delete workspace instead of archiving them 2023-02-22 15:50:42 +01:00
Ruben Fiszel
ca3572a2a1 chore(main): release 1.66.0 (#1214)
* chore(main): release 1.66.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-22 15:38:01 +01:00
Ruben Fiszel
32c3c591d7 update README 2023-02-22 15:30:42 +01:00
Ruben Fiszel
1f4bc55e5c ux nits 2023-02-22 15:11:27 +01:00
Ruben Fiszel
a00ff45ccf UX nits 2023-02-22 15:06:52 +01:00
Ruben Fiszel
0160ce978d cli skip pull 2023-02-22 14:29:37 +01:00
Ruben Fiszel
867c00047a cli nits 2023-02-22 14:26:36 +01:00
Ruben Fiszel
e31d2ae27f feat: CLI refactor v1 2023-02-22 14:21:53 +01:00
Ruben Fiszel
441f087d42 remove references to starter workspace' 2023-02-22 13:56:24 +01:00
Ruben Fiszel
4671558e6b remove extra_perms from being encoded in non-folder zip export 2023-02-22 12:55:40 +01:00
Ruben Fiszel
08519f4099 removed edited_by from zip metadata 2023-02-22 09:53:45 +01:00
Ruben Fiszel
2727699d91 remove archived from zip 2023-02-22 09:23:23 +01:00
Ruben Fiszel
0c43b68b23 remove metadata from zip 2023-02-22 09:18:01 +01:00
Ruben Fiszel
c280f6e798 remove metadata from zip 2023-02-22 09:12:22 +01:00
Ruben Fiszel
e81f7bd723 feat: add delete flows 2023-02-22 08:40:11 +01:00
Ruben Fiszel
2213500210 remove versions from serialized apps 2023-02-22 01:13:42 +01:00
Ruben Fiszel
7558fb83d2 update cli 2023-02-22 01:07:48 +01:00
Ruben Fiszel
3d7a5a4520 v0 of cli refactor 2023-02-22 00:15:32 +01:00
Ruben Fiszel
be6f052ba4 extend zip permissions 2023-02-22 00:06:22 +01:00
Ruben Fiszel
4f1bcbb1c3 superadmin can see all 2023-02-22 00:00:43 +01:00
Ádám Kovács
a4b773af29 feat(frontend): Add image app component (#1213)
* fix(frontend): hard type app component config

* feat(frontend): Add image app component

* feat(frontend): Add upload app input type
2023-02-21 19:14:55 +01:00
Ruben Fiszel
61e6e1a4c5 fix go-client with new openapi 2023-02-21 12:25:54 +01:00
Ruben Fiszel
cf7dc3c01a chore(main): release 1.65.0 (#1210)
* chore(main): release 1.65.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-21 10:17:35 +01:00
Kai Jellinghaus
41c8ea92fe CLI fixes (#1204)
* Add default workspace URL

* R1 WIP

* Improve help docs slightly

* Rework tracking state

* WIP Rework
Remaining bug: Not returning state-only files (no local file) from *getFiles()

* Create newly found files

* Finish ZIP & new tracking code

* Fix two minor bugs

* do not consider conflict if same content

* add more logs to cli writing

* progress

* progress

* iteration

* Add most basic App support

* fix folder frontend bug

* fix folder frontend bug

* init done by default

* sqlx merge

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-21 10:13:21 +01:00
Ruben Fiszel
b6b0880f2f edit main video 2023-02-21 01:28:07 +01:00
Ádám Kovács
d4b6d69126 feat(frontend): Add file input app component (#1211)
* feat(frontend): Add file input app component

* fix(frontend): Handle multiple file selects

* fix(frontend): File input styling
2023-02-20 18:05:15 +01:00
Ruben Fiszel
75edeab35e rename panel headers 2023-02-19 22:47:30 +01:00
Ruben Fiszel
71d6dad37c feat(apps): add asJson for customcss 2023-02-19 13:10:57 +01:00
Ruben Fiszel
7f00e1c1a8 feat(apps): add custom css for apps 2023-02-19 12:51:59 +01:00
Ruben Fiszel
a39f8e2123 added loadOnAppLoading & iconBefore and after for app buttons 2023-02-17 22:22:41 +01:00
Ruben Fiszel
2de660fef6 fix app select 2023-02-17 21:52:04 +01:00
Ruben Fiszel
dc1be9cf55 fix app select 2023-02-17 21:28:04 +01:00
Ruben Fiszel
91e1781dc1 fixes 2023-02-17 21:16:51 +01:00
Ádám Kovács
e4791c2b7e feat(frontend): Add icon app component (#1207)
* feat(frontend): Add icon app component

* fix(frontend): Import only one icon at a time

* fix(frontend): Handle file names correctly

* feat(frontend): Use all arrow keys in popup navigation

* fix(frontend): Close popup after icon select

* fix(frontend): Position picker correctly

* fix(frontend): Handle empty search

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-17 20:20:28 +01:00
Ádám Kovács
c33e79e0b8 feat(frontend): Add divider app component (#1209)
* feat(frontend): Add divider app component

* fix(frontend): Separate horizontal and vertical

* fix(frontend): Update aligments

* fix(frontend): Remove unused static value
2023-02-17 19:27:14 +01:00
Kai Jellinghaus
5d109b3cd4 feat(backend): Zip Workspace Export (#1201)
* Allow different formats

* Allow Zip format in workspace export

* Fix axum error

* Use ZIP in frontend

* File ending fix

* Fix empty query
2023-02-17 19:21:06 +01:00
Ruben Fiszel
8074b26bfb fix currency issues 2023-02-17 16:40:18 +01:00
Ruben Fiszel
98c1806369 new app component: currency + improved select 2023-02-16 23:40:58 +01:00
Ruben Fiszel
7120d6b35b frontend nits 2023-02-16 18:15:42 +01:00
Ruben Fiszel
772bb602b0 chore(main): release 1.64.0 (#1206)
* chore(main): release 1.64.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-16 04:31:32 +01:00
Ruben Fiszel
5c8789b730 fix add_user 2023-02-16 04:26:36 +01:00
Ruben Fiszel
c7cd8e22d0 added connection tester 2023-02-15 21:36:13 +01:00
Ruben Fiszel
11c2c2704d display IPs to whitelist 2023-02-15 19:51:58 +01:00
Ruben Fiszel
06a8fcf666 dynamically reload schema if it changes 2023-02-15 17:56:43 +01:00
Ádám Kovács
8445697e31 feat(frontend): Trigger settings drawer with URL hash (#1185)
* feat(frontend): Trigger settings drawer by URL hash

* fix(frontend): Add setting auto-open to workspace selector

* fix(frontend): full path redirects

* fix(frontend): Slice safety check
2023-02-15 14:47:47 +01:00
Ruben Fiszel
e0b12f88d5 chore(main): release 1.63.2 (#1205)
* chore(main): release 1.63.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-15 12:21:27 +01:00
Ruben Fiszel
a2fbc57025 fix(psql): update pg client 2023-02-15 12:17:42 +01:00
Ruben Fiszel
3e5950a396 fix ee 2023-02-15 11:27:53 +01:00
Ruben Fiszel
c0b87cc7d7 send a webhook on new user + lazy static refactor (#1203)
* supercharge

* supercharge

* progress

* progress

* display config

* display config

* display config

* display config

* fix extensions

* fix build

* disable nsjail = false for test
2023-02-15 10:59:50 +01:00
Ruben Fiszel
81f64a4028 UX nits 2023-02-14 17:58:38 +01:00
Ruben Fiszel
6eecae6857 chore(main): release 1.63.1 (#1202)
* chore(main): release 1.63.1

* update versions

* fix change versions

* fix change versions

* Apply automatic changes

* update base64

* fix versions

* improve app setup

* improve app setup

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-14 15:54:25 +01:00
Ruben Fiszel
03eb1444c4 fix: update hub sync script 2023-02-14 15:00:10 +01:00
Ruben Fiszel
7f68ae888c chore(main): release 1.63.0 (#1183) 2023-02-14 14:34:35 +01:00
dependabot[bot]
1db407d983 chore(deps): bump python from 3.11.1-slim-buster to 3.11.2-slim-buster (#1197)
Bumps python from 3.11.1-slim-buster to 3.11.2-slim-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 14:30:17 +01:00
Ruben Fiszel
9f6bffab72 add email to cli resource fetching 2023-02-14 14:27:24 +01:00
Ruben Fiszel
b835c58427 implement goto for app buttons 2023-02-14 03:33:08 +01:00
Ruben Fiszel
d2eb7a40c5 remove unused dependencies 2023-02-14 02:44:41 +01:00
Ruben Fiszel
f446ca14f5 fix run dev 2023-02-14 02:42:19 +01:00
Ruben Fiszel
5b7ce39496 implement double ended slider 2023-02-13 22:46:42 +01:00
Ruben Fiszel
2789dc2e5f fix skipping setup 2023-02-13 18:49:13 +01:00
Ruben Fiszel
6b70dbcc61 update README 2023-02-13 17:58:49 +01:00
Ruben Fiszel
3474cd0687 fix initialization app 2023-02-13 17:18:01 +01:00
Ruben Fiszel
dabceae2ea fix linguo 2023-02-13 15:10:48 +01:00
Ruben Fiszel
64e5bcf4b6 fix admins workspace link 2023-02-13 15:05:27 +01:00
Ruben Fiszel
9767980ca0 fix minor UX bugs 2023-02-13 13:17:20 +01:00
Ruben Fiszel
100943443b update flow viewer 2023-02-13 12:36:04 +01:00
Ruben Fiszel
77a7b8a539 remove technical architecture 2023-02-13 02:35:07 +01:00
Kai Jellinghaus
69001bd61a Setup Experience (#1194)
* Squash

* Update SQLX
2023-02-13 02:32:29 +01:00
Ruben Fiszel
13b1055a5f update README 2023-02-13 02:26:06 +01:00
Ruben Fiszel
e5c4e2a754 Add video to README 2023-02-13 02:24:05 +01:00
Ruben Fiszel
5c0b0529df update README 2023-02-13 02:22:13 +01:00
dependabot[bot]
e825bc94dc chore(deps-dev): bump svelte from 3.55.0 to 3.55.1 in /frontend (#1189)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.55.0 to 3.55.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.55.0...v3.55.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 00:11:25 +01:00
dependabot[bot]
4d558640a9 chore(deps-dev): bump svelte2tsx from 0.5.22 to 0.6.1 in /frontend (#1188)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.22 to 0.6.1.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.22...svelte2tsx-0.6.1)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 00:11:01 +01:00
Ruben Fiszel
996efa1ff2 better redirect on slack callback 2023-02-10 18:53:01 +01:00
Ruben Fiszel
3f2754b330 fix(python): return none if argument is missing 2023-02-10 18:47:45 +01:00
Ruben Fiszel
4aaa5d8fb8 fix BASE_INTERNAL_URL 2023-02-10 18:29:10 +01:00
Ruben Fiszel
c5c979b7d7 fix slack command 2023-02-10 01:51:42 +01:00
Ádám Kovács
a574270bc2 fix: Update references to the docs (#1191) 2023-02-10 00:08:15 +01:00
Ruben Fiszel
c8f0e23eae add clousql compatibility 2023-02-09 18:15:13 +01:00
Ruben Fiszel
42b94947c4 small flow improvements 2023-02-09 16:44:28 +01:00
Faton Ramadani
b03b3be154 feat(frontend): Minimal support for custom filenames (#1190) 2023-02-07 18:29:23 +01:00
Ruben Fiszel
3f8916cbc2 add MAX_RESULT_SIZE for CLOUD_HOSTED 2023-02-07 01:52:55 +01:00
Ruben Fiszel
ac991dddbc deprecate row connection in favor of connected + selectedRow 2023-02-05 20:57:47 +01:00
Ruben Fiszel
083a304645 display token fully 2023-02-05 17:28:33 +01:00
Ruben Fiszel
91491055fa add svg display result support 2023-02-05 17:15:40 +01:00
Ruben Fiszel
ae440203f0 script UX nits 2023-02-05 16:30:35 +01:00
Ruben Fiszel
ab432d628a import python code as raw to avoid reindent 2023-02-05 16:03:03 +01:00
Ruben Fiszel
e1b9247e11 use VmHwm mem instead of VmPeak for more accurate memory report 2023-02-05 15:30:02 +01:00
Ruben Fiszel
07c756f460 mem_peak use greatest 2023-02-05 14:59:31 +01:00
Ruben Fiszel
2ef6af4546 fix python default tabSize 2023-02-05 14:51:33 +01:00
Ruben Fiszel
a939771059 fix python type inference 2023-02-05 14:09:21 +01:00
Ruben Fiszel
8dc467b87a toast improvements 2023-02-05 10:12:49 +01:00
Ruben Fiszel
2ece1eb475 frontend misc 2023-02-05 10:04:26 +01:00
Ruben Fiszel
7a4da3907f frontend misc 2023-02-05 09:03:35 +01:00
Ruben Fiszel
b9d6e67791 frontend misc 2023-02-05 00:05:16 +01:00
Ruben Fiszel
f584062f13 feat: add mem peak info 2023-02-04 20:26:15 +01:00
Ruben Fiszel
265fbc5835 feat(worker): set oom_adj to 1000 to prioritize killing subprocess 2023-02-04 16:17:47 +01:00
Ruben Fiszel
2e7e57b62d update docker-compose 2023-02-04 15:50:28 +01:00
Ruben Fiszel
d17eeeecdc use unsecure websocket if unsecure connection 2023-02-04 15:50:28 +01:00
Ruben Fiszel
21c2007ebd use unsecure websocket if unsecure connection 2023-02-04 15:29:55 +01:00
Ruben Fiszel
90668902f5 avoid https on docker-compose 2023-02-04 15:20:12 +01:00
Ruben Fiszel
784aac9d1b typo 2023-02-04 01:55:05 +01:00
Ruben Fiszel
d4207db880 app checkbox nits 2023-02-04 01:50:09 +01:00
Ruben Fiszel
4ac9484305 app checkbox and text nits 2023-02-04 01:43:17 +01:00
Ruben Fiszel
0a8f177e02 chore(main): release 1.62.0 (#1170)
* chore(main): release 1.62.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-02-03 22:52:54 +01:00
Ruben Fiszel
cfa1e6f1e8 increase max concurrent runs 2023-02-03 22:39:36 +01:00
Ruben Fiszel
be526b2f23 prune args and not kwargs for function call 2023-02-03 22:37:26 +01:00
Ruben Fiszel
8bc97e0041 remove templates 2023-02-03 22:34:36 +01:00
Kai Jellinghaus
b9ac60f8bb feat: Add workspace webhook (#1158)
* Add workspace webhook

* Update SQLX

* Add webhook request histogram

* Move workspace webhook retrieval OOP

* Add removal to frontend, cache removed webhooks

* Remove WebhookUtil

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-03 19:50:18 +01:00
dependabot[bot]
c0a8545704 chore(deps-dev): bump svelte-preprocess from 5.0.0 to 5.0.1 in /frontend (#1164)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 19:50:04 +01:00
Kai Jellinghaus
cdd16195ae feat(cli): 2-Way sync (#1071)
* Export file type from each file

* Fix example scripts

* Strongly type CLI files

* Allow bash files

* Update API version

* Remove useless files

* WIP: Diff based push

* Fixup other code

* Implement Flow diffing

* Implement resource type

* Remaining impls

* WIP

* Fix missing file error

* Fix misstyping

* Improve error message

* Fix type inferrence

* Allow REMOVE everywhere

* Fix empty changeset

* Fix error message

* Fix type inferrence 2

* Fix variable diffs

* Fix include checks

* Move push & pull

* Handle script in sync

* Handle scripts

* Allow multi-path creation

* Fix merge conflicts

* Fix #1173

* Update Dependencies

* Add missing await

* Apply review comments

* Fix diff

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-03 19:49:46 +01:00
Ruben Fiszel
406cba4e73 improve instructions 2023-02-03 02:19:58 +01:00
Ruben Fiszel
8d6a8386be refactor components to ease adding custom components 2023-02-03 02:11:06 +01:00
Ruben Fiszel
1a626980df revert single file components change 2023-02-03 00:00:28 +01:00
Ruben Fiszel
23007f7a71 feat: adding worker_busy 2023-02-02 23:57:53 +01:00
Ádám Kovács
9f5500c196 fix(frontend): Various fixes and improvements (#1177)
* fix(frontend): Editor bar

* fix(frontend): Keep settings tabs always visible

* fix(frontend): Keep app header on top in preview
2023-02-02 23:00:43 +01:00
Ruben Fiszel
a82a2efa6a fix nosniff html component 2023-02-02 22:10:13 +01:00
Ádám Kovács
3305481d5d feat(frontend): App initial loading animations (#1176)
* feat(frontend): App initial loading animations

* fix(frontend): Optional prop
2023-02-02 17:55:11 +01:00
Kai Jellinghaus
42691bc1bd CLI hints (#1140)
* various improvements

* passing to kai

* passing to kai

* Outline InlineCodeCopy

* Add CLI setup steps

* Workaround #1173

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-02 05:30:12 -08:00
Ruben Fiszel
99568eaa47 feat: add WHITELIST_WORKSPACES and BLACKLIST_WORKSPACES 2023-02-02 07:57:03 +01:00
Ruben Fiszel
68500b12b2 improve README 2023-02-02 07:01:18 +01:00
Ruben Fiszel
f171cd8b7c fix: navigate to new script page before saving script 2023-02-02 00:31:31 +01:00
Ruben Fiszel
0ca431b6cb add privacy policy and terms of service links 2023-02-01 23:10:43 +01:00
Ruben Fiszel
cb9c0846ac fix graph viewer for negative ids 2023-02-01 20:56:58 +01:00
Ádám Kovács
bc8d1a375e fix(frontend): Render popups above components in app editor (#1171)
* fix(frontend): Render popups above items in apps

* Add explanation
2023-02-01 17:52:09 +01:00
Ruben Fiszel
0921ba0085 feat: add INCLUDE_HEADERS env variable to pass value from request headers 2023-02-01 02:22:28 +01:00
Ruben Fiszel
14b32be8b2 feat(python): add ADDITIONAL_PYTHON_PATHS 2023-02-01 02:04:53 +01:00
Ruben Fiszel
b67550a790 fix nextId for components 2023-01-31 20:49:02 +01:00
dependabot[bot]
06347746c0 chore(deps-dev): bump @sveltejs/package from 1.0.1 to 1.0.2 in /frontend (#1165)
Bumps [@sveltejs/package](https://github.com/sveltejs/kit/tree/HEAD/packages/package) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/package/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/package@1.0.2/packages/package)

---
updated-dependencies:
- dependency-name: "@sveltejs/package"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 20:05:16 +01:00
dependabot[bot]
0b4288ad9c chore(deps-dev): bump vite from 4.0.3 to 4.0.4 in /frontend (#1166)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.0.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 20:05:00 +01:00
Ruben Fiszel
a6dcb218ff ci: seperate openbb group from main 2023-01-31 20:04:20 +01:00
Ruben Fiszel
6fe93dac58 chore(main): release 1.61.1 (#1169)
* chore(main): release 1.61.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-31 20:02:29 +01:00
Ruben Fiszel
202b04bb08 fix nextId for components 2023-01-31 20:01:48 +01:00
Ruben Fiszel
df8cc1f248 fix(backend): compile issue 2023-01-31 19:50:22 +01:00
Ruben Fiszel
61e3214f9e chore(main): release 1.61.0 (#1091)
* chore(main): release 1.61.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-31 18:51:42 +01:00
Ruben Fiszel
d663884a99 more folders permission 2023-01-31 16:01:13 +01:00
Ruben Fiszel
a2ed69f87f fix demoting users 2023-01-31 15:23:58 +01:00
Ruben Fiszel
f377c84f5a feat: add sync webhook for flows 2023-01-31 10:21:48 +01:00
Ruben Fiszel
772c768cda feat(python): add support for extra args in python 2023-01-31 09:52:29 +01:00
Ruben Fiszel
a4f8f9e1cf feat(frontend): add plotly support 2023-01-31 08:04:46 +01:00
dependabot[bot]
dfae34d9b4 chore(deps): bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#1163)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.5...v1.3.6)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 18:32:13 +00:00
Ruben Fiszel
0bc995bd07 clarify exponential backoff 2023-01-30 08:58:09 +01:00
Ruben Fiszel
161e76c500 clarify exponential backoff 2023-01-30 08:49:58 +01:00
Ruben Fiszel
c186db4e3b handle backquotes in template 2023-01-30 08:31:21 +01:00
Ruben Fiszel
652eb65082 allow whitespace in requirements override 2023-01-30 05:06:13 +01:00
Ruben Fiszel
a98ba6dc41 parseJson on resource changes 2023-01-30 03:55:01 +01:00
Ruben Fiszel
080ecb04d7 feat: add resource and resource type from json 2023-01-29 16:27:51 +01:00
Ruben Fiszel
8de3804d4a flow builder args handling improvements 2023-01-28 23:22:51 +01:00
Ruben Fiszel
008bd32ec1 fix entirecachetar path 2023-01-28 18:54:04 +01:00
Ruben Fiszel
a2f679ffc9 add support for openbb 2023-01-28 03:57:25 +01:00
Ruben Fiszel
2d3fe64bc4 add python-310 target 2023-01-28 03:34:40 +01:00
Ruben Fiszel
b7db4c78c4 feat: add PIP_LOCAL_DEPENDENCIES 2023-01-28 03:09:47 +01:00
Ruben Fiszel
d0fc40b483 grant all privilege to table favorite 2023-01-27 22:08:46 +01:00
Ruben Fiszel
1efae55d36 update stripe products references 2023-01-27 20:59:05 +01:00
Ruben Fiszel
791a772199 increase token size for refresh token 2023-01-27 18:56:42 +01:00
Ruben Fiszel
285b896a1d add stripe integration 2023-01-27 07:58:16 +01:00
Ruben Fiszel
098cd96655 add stripe integration 2023-01-27 07:29:51 +01:00
Adam Vollrath
4eee71a8fb Enable GitHub OAuth for Uffizzi Previews. (#1157)
* Enable GitHub OAuth for Uffizzi Previews.

* empty

* more specific build conditions

* Increase memory resources for `windmill` container.
2023-01-26 18:48:28 +01:00
Ádám Kovács
c01bf70f62 feat(frontend): Add HTML result rendering (#1160)
* feat(frontend): Add HTML result rendering

* fix(frontend): Add reference for XSS

* fix(frontend): Require approval only in apps

* fix(frontend): Require approval in public apps
2023-01-26 18:03:25 +01:00
Faton Ramadani
3ed16b88a4 feat(frontend): Add app inputs configurations (#1142)
* feat(frontend): Add app inputs configurations

* feat(frontend): only display resource input by default

* feat(frontend): Fix no resource field empty display

* feat(frontend): open the drawer when forked from the hub
2023-01-26 15:51:38 +01:00
Ádám Kovács
18f30c8286 fix(frontend): Update app scripts pane (#1146)
* fix(frontend): Update app scripts pane

* fix wrapping content

* import capitalize util

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-01-26 15:51:09 +01:00
Ádám Kovács
f221a6c17f fix(frontend): Add highlight to selected workspace (#1159) 2023-01-26 15:11:29 +01:00
Ruben Fiszel
51a710ffa0 do not copy necessarily for the flow object viewer 2023-01-26 03:20:01 +01:00
Ruben Fiszel
ad0c836129 add instructions for triggers on flows 2023-01-26 01:06:53 +01:00
Ruben Fiszel
be6707b461 for python change default editor tab to 4 2023-01-25 20:40:40 +01:00
Ruben Fiszel
c227ba2794 loader for flowjobresult 2023-01-25 20:33:33 +01:00
Ruben Fiszel
d60a770eb7 flow preview status viewer display more info 2023-01-25 14:14:14 +01:00
Ruben Fiszel
30d83a942c restrict number of jobs in the queue for free users 2023-01-25 13:34:08 +01:00
Ruben Fiszel
98bf9355dc implement MAX_FREE_CONCURRENT_RUNS 2023-01-25 12:58:29 +01:00
Ruben Fiszel
a3928101af worker client should use internal url 2023-01-25 00:10:37 +01:00
Ruben Fiszel
6e77757939 nodraft for editing flow from run 2023-01-24 22:57:34 +01:00
Ruben Fiszel
66c5d6e400 fix arg inputs 2023-01-24 22:44:52 +01:00
Ruben Fiszel
b0c184767c update pricing page 2023-01-24 21:58:44 +01:00
Ruben Fiszel
1165cf6e24 UX improvements for flows 2023-01-24 21:53:41 +01:00
Ruben Fiszel
a9640107f3 background scripts now part of the policy 2023-01-24 15:09:27 +01:00
Faton Ramadani
73bc13bb7d feat(frontend): Open debug runs from component (#1155)
* feat(frontend): Add debug runs

* feat(frontend): Fix build

* feat(frontend): revert implementation

* feat(frontend): Fix error displa

* feat(frontend): Fix error display

* feat(frontend): Fix preview mode

* feat(frontend): Fix error display
2023-01-24 14:34:19 +01:00
Ádám Kovács
e98966283d fix(frontend): App table action button cell (#1149)
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-01-24 12:20:27 +01:00
Ruben Fiszel
8ad2344ec6 improve cancel approval error message 2023-01-24 12:11:39 +01:00
Ruben Fiszel
b77c239f30 fix: improvements for error handling as first step of flow 2023-01-24 11:16:44 +01:00
Ruben Fiszel
15cb83936b error handler improvements 2023-01-24 07:30:07 +01:00
Ruben Fiszel
e2157ee1c0 fix listing runs from schedule 2023-01-24 06:55:11 +01:00
dependabot[bot]
bdfd50b970 chore(deps): bump @leeoniya/ufuzzy from 0.9.0 to 0.9.1 in /frontend (#1153)
Bumps [@leeoniya/ufuzzy](https://github.com/leeoniya/uFuzzy) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/leeoniya/uFuzzy/releases)
- [Commits](https://github.com/leeoniya/uFuzzy/compare/0.9.0...0.9.1)

---
updated-dependencies:
- dependency-name: "@leeoniya/ufuzzy"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 04:04:34 +01:00
dependabot[bot]
4debfd68dc chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#1151)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.46.1 to 5.49.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.49.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 04:03:59 +01:00
dependabot[bot]
410032060a chore(deps): bump chartjs-adapter-date-fns in /frontend (#1154)
Bumps [chartjs-adapter-date-fns](https://github.com/chartjs/chartjs-adapter-date-fns) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/chartjs/chartjs-adapter-date-fns/releases)
- [Commits](https://github.com/chartjs/chartjs-adapter-date-fns/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: chartjs-adapter-date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 04:03:32 +01:00
Faton Ramadani
22b8fed9d9 feat(frontend): Display error as an icon in order to avoid clutter wh… (#1143)
* feat(frontend): Display error as an icon in order to avoid clutter when an error occures

* feat(frontend): Fix build

* feat(frontend): Fix error icon position
2023-01-23 18:03:31 +01:00
Ruben Fiszel
0172587b12 feat: add sql as a valid type in Python 2023-01-23 15:58:33 +01:00
Faton Ramadani
f05f9e4edb feat(frontend): add selectedRowIndex to the table outputs (#1145) 2023-01-23 15:39:15 +01:00
Faton Ramadani
24b1fa0ae3 fix(frontend): Make sure AppSelect items are an array (#1144)
* fix(frontend): Make sure AppSelect items are an array

* fix(frontend): restore placeholder
2023-01-23 05:37:38 -08:00
Ruben Fiszel
fedb9fe74c update pricing page 2023-01-22 18:34:05 +01:00
Ruben Fiszel
5408da829c update pricing page 2023-01-22 18:20:06 +01:00
Ruben Fiszel
448e45b7e4 fix privilege on cloud 2023-01-22 00:53:29 +01:00
Ruben Fiszel
156f257619 add import_map to nsjail 2023-01-21 23:28:11 +01:00
Ruben Fiszel
7f40373fd6 feat(deno): allow overriding deno sandboxing with DENO_FLAGS' 2023-01-21 22:54:14 +01:00
Ruben Fiszel
f2ec03ba1b implement relative imports for deno 2023-01-21 19:12:22 +01:00
Ruben Fiszel
9a79c5537e fix compile 2023-01-21 18:49:26 +01:00
Ruben Fiszel
cf156b0591 support BigInt serialization 2023-01-21 18:41:58 +01:00
Ruben Fiszel
832ddabdf2 feat(deno): add support for DENO_AUTH_TOKENS 2023-01-21 18:36:17 +01:00
Ruben Fiszel
22080312f0 description at bottom 2023-01-21 17:33:23 +01:00
Ruben Fiszel
165095376d description at bottom 2023-01-21 10:19:05 +01:00
Ruben Fiszel
2a816b9e7b remove square from oauth 2023-01-21 09:37:10 +01:00
Ruben Fiszel
a7d03f4e25 square use req_body_auth 2023-01-21 09:26:39 +01:00
Ruben Fiszel
5e18e580f7 fix superadmins permissions 2023-01-21 08:09:49 +01:00
Felipe Albertao
9b7906e43d Added Square API OAuth (#1141) 2023-01-21 07:41:52 +01:00
Ruben Fiszel
2143bbdc94 add support for python import shopifyAPI 2023-01-20 19:52:18 +01:00
Ruben Fiszel
51a8810aa0 feat: add QUEUE_LIMIT_WAIT_RESULT 2023-01-20 19:39:31 +01:00
Faton Ramadani
8f906026b3 fix(frontend): Add default value for text, number and date input + fix issues with number input + add date input in the settings panel (#1135)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-01-20 18:31:10 +01:00
Faton Ramadani
aa6de3bb57 fix(frontend): Prevent modal from hijacking all keypress event (#1136) 2023-01-20 15:39:37 +01:00
Faton Ramadani
71a443e3c5 fix(frontend): Check if hiddenInlineScripts are undefined before iterating over them (#1134) 2023-01-20 11:49:43 +01:00
Ruben Fiszel
d1526d9c72 fix deno nsjail vmem 2023-01-20 11:49:08 +01:00
Ruben Fiszel
2456e35908 install nodejs only on heavy 2023-01-19 21:01:30 +01:00
Ruben Fiszel
f359015d89 bump default bash tmp size 2023-01-19 20:32:08 +01:00
Ruben Fiszel
b8155f4d27 update npm used in heavy 2023-01-19 20:00:01 +01:00
Ruben Fiszel
2ce903d7e7 add more details about signals termination 2023-01-19 18:20:24 +01:00
Ruben Fiszel
d4765dee16 add nodejs npm to heavy image 2023-01-19 16:22:33 +01:00
Faton Ramadani
a78486d7e0 fix(frontend): Make sure that old apps are rendering properly (#1132) 2023-01-19 15:14:15 +01:00
Faton Ramadani
e969af9e44 feat(frontend): add support for background scripts + add FormButtonCo… (#1124)
* feat(frontend): add support for background scripts + add FormButtonComponnet

* feat(frontend): add background script fields

* feat(frontend): Handle deletion + display of results

* feat(frontend): Fix background script ids: Runnable ids needs to be valid js expression, because they are used in the evaluator.

* feat(frontend): add a portal to display modal

* feat(frontend): fix build

* feat(frontend): Add missing props

* feat(frontend): Fix run button + add tooltip + fix icon
2023-01-19 14:52:32 +01:00
Ruben Fiszel
e371fda1ce relax nsjail limits 2023-01-19 14:51:43 +01:00
Ruben Fiszel
ee14bed3d9 relax nsjail limits 2023-01-19 14:35:06 +01:00
Faton Ramadani
3d873ed51c fix(frontend): add missing condition to properly select first row (#1128) 2023-01-19 14:08:32 +01:00
Ruben Fiszel
d85f550611 handle empty flow module input transforms 2023-01-19 12:22:37 +01:00
Faton Ramadani
6c9daf7002 fix(frontend): fix first row selection (#1125)
* fix(frontend): fix first row selection

* fix(frontend): fix order of conditions
2023-01-19 11:52:34 +01:00
Ádám Kovács
6a88e8c4f4 feat(frontend): Add app preview lock (#1127)
* feat(frontend): Add locked state to app preview

* change color

* add transition
2023-01-19 11:27:16 +01:00
Ruben Fiszel
99246382ee minor UI fixes 2023-01-18 17:56:40 +01:00
Ruben Fiszel
73e1018f65 minor UI fixes 2023-01-18 17:08:34 +01:00
Ruben Fiszel
f1157e3be2 remove vega lite actions 2023-01-18 16:06:56 +01:00
Ruben Fiszel
bd79938bed feat(frontend): add vega-lite component 2023-01-18 15:49:47 +01:00
Ádám Kovács
173093a403 fix(frontend): Prepare app scripts code for export (#1123) 2023-01-18 12:43:24 +01:00
Ruben Fiszel
ed61df6d8a UX nits 2023-01-18 11:30:08 +01:00
Ruben Fiszel
24feb64dfe fix reporting duration above 60s 2023-01-18 11:23:25 +01:00
Ruben Fiszel
b3eaf86e40 HTMLComponent refresh on content change 2023-01-18 10:24:29 +01:00
Ádám Kovács
4dfdf374af feat(frontend): Add tooltip to app recompute (#1122) 2023-01-18 10:10:47 +01:00
Ruben Fiszel
45191621d2 UX nits on schedule 2023-01-18 09:42:49 +01:00
Ruben Fiszel
4d60be738e UX nits on schedule 2023-01-18 09:38:54 +01:00
Ruben Fiszel
eef3bab6e4 feat(backend): add queue_limit + configurable timeout + fix timeout cancel 2023-01-18 09:02:38 +01:00
Ruben Fiszel
14ebb6dc32 fix all cases where schema has been set to undefined 2023-01-18 06:56:44 +01:00
Ruben Fiszel
9e602691b6 do not cancel the job on leaving the preview page 2023-01-18 00:31:55 +01:00
Ruben Fiszel
02045001d2 do not cancel the job on leaving the preview page 2023-01-18 00:14:29 +01:00
Faton Ramadani
3c483f5337 fix(frontend): Select the first row by default, and remove the abilit… (#1121)
* fix(frontend): Select the first row by default, and remove the ability to deselect + fix table header z-index

* fix(frontend): restore z-index, under the floating tags
2023-01-17 19:10:06 +01:00
Ruben Fiszel
bcb5c3697d inline tailwindcss for html component in apps 2023-01-17 17:48:40 +01:00
Ruben Fiszel
0e50579089 frontend(apps): html component uses iframe for security 2023-01-17 17:29:01 +01:00
Ádám Kovács
59c4cc2058 fix(frontend): App table header z-index (#1120) 2023-01-17 14:00:54 +01:00
Ádám Kovács
462adbe42f fix(frontend): Runnable table overflow (#1119) 2023-01-17 12:51:14 +01:00
Ruben Fiszel
d708b6faa5 fix permissioned_as from username 2023-01-17 12:49:24 +01:00
Ruben Fiszel
40d566ab8e remove unecessary badge width 2023-01-17 12:32:30 +01:00
Ruben Fiszel
c5d712c977 ci: build both amd and arm on same workflow leveraging depot 2023-01-17 12:16:36 +01:00
Ádám Kovács
631a3da17f fix(frontend): Show app builder header always on top (#1118)
* fix(frontend): Keep app header always on top

* various fixes

* fix
2023-01-17 12:02:21 +01:00
Ruben Fiszel
ff5145d7bd UI nits 2023-01-17 12:00:17 +01:00
Ruben Fiszel
d1131c1a16 various fixes 2023-01-17 11:30:37 +01:00
Ruben Fiszel
9b89df9ecf various fixes 2023-01-17 11:30:22 +01:00
Ruben Fiszel
acff87a09f all 2023-01-17 08:09:46 +01:00
Ruben Fiszel
a182ce2d2c all 2023-01-17 08:09:39 +01:00
Ruben Fiszel
0954b5a4f2 ci: npm run check generate backend client 2023-01-17 07:40:40 +01:00
Ruben Fiszel
d297223fa5 ci: npm check on frontend change and uffizzi only on backend changes 2023-01-17 07:38:05 +01:00
dependabot[bot]
9bccb90c7a chore(deps-dev): bump prettier from 2.8.1 to 2.8.3 in /frontend (#1111)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-01-17 07:17:42 +01:00
dependabot[bot]
6403259e2a chore(deps): bump @tanstack/svelte-table in /frontend (#1112)
Bumps [@tanstack/svelte-table](https://github.com/tanstack/table) from 8.7.2 to 8.7.6.
- [Release notes](https://github.com/tanstack/table/releases)
- [Commits](https://github.com/tanstack/table/compare/v8.7.2...v8.7.6)

---
updated-dependencies:
- dependency-name: "@tanstack/svelte-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-01-17 06:53:11 +01:00
Ruben Fiszel
fa367f4128 point uffizzi lsp to 60d image 2023-01-17 06:51:17 +01:00
Ruben Fiszel
164f281dd0 fix uffizzi preview 2023-01-17 06:46:37 +01:00
Adam Vollrath
760cb31bae Use Uffizzi workflow v2 and other minor improvements. (#1114)
* Use Uffizzi workflow `v2` and other minor improvements.

* Specify Uffizzi Preview URL as target for `playwright`.

Answers https://github.com/windmill-labs/windmill/pull/1106#issuecomment-1384334128

* recheck
2023-01-16 20:32:46 +01:00
Faton Ramadani
4f869811fe fix(frontend): Fix id generation when a second action (#1110) 2023-01-16 19:07:22 +01:00
Ruben Fiszel
0f26a3b111 playwright against uffizzi (#1109)
* all

* fix perms

* move build to depot

* login

* revert to docker build

* revert to docker build

* fix playwright
2023-01-16 18:01:45 +01:00
Vibhav Bobade
fadae2d2b7 create preview environments for every PR using Uffizzi (#1106)
* Integrate Uffizzi

* remove lsp build

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-01-16 17:03:31 +01:00
Faton Ramadani
12b00a808d feat(frontend): Add Supabase resource (#1107)
* feat(frontend): Add Supabase resource

* feat(frontend): Added an image
2023-01-16 16:54:06 +01:00
Ádám Kovács
f0435f5f81 fix(frontend): Playwright (#1108)
* fix(frontend): Playwright

* fix(frontend): Update test base url

* feat(ci): Add base url to playwright
2023-01-16 16:51:14 +01:00
Ruben Fiszel
f018d025a2 fix schedule permissions 2023-01-16 16:42:42 +01:00
Ruben Fiszel
5d720e96e6 add row to eval input 2023-01-16 13:23:31 +01:00
Ruben Fiszel
e1b77b0d5f migrate more builds to depot.dev 2023-01-16 10:56:20 +01:00
Ruben Fiszel
2db6424f9d add dynamic disabled field to button 2023-01-16 01:52:18 +01:00
Ruben Fiszel
9a58145f72 add selenium-wire exception 2023-01-15 22:48:49 +01:00
Kyle Galbraith
51c1ae937c add packages: write for ghcr (#1105) 2023-01-15 18:29:18 +01:00
Ruben Fiszel
26bd9ac9aa remove comingsoon for UIs 2023-01-15 17:58:40 +01:00
Kyle Galbraith
3ba28b8156 Switch to Depot for Arm image build (#1104)
* switch to Depot for native arm builds without emulation

* set Depot project id
2023-01-15 17:55:25 +01:00
Ruben Fiszel
3f318b4ac4 add license key check 2023-01-15 12:06:37 +01:00
Ruben Fiszel
452c6de7e3 script_helpers nit 2023-01-15 08:32:37 +01:00
Ruben Fiszel
b1a86db58b nit error handling 2023-01-15 07:22:35 +01:00
Ruben Fiszel
b29eccf4bb : 2023-01-15 01:39:07 +01:00
Ruben Fiszel
ba28f6c62a error improvements 2023-01-15 01:28:13 +01:00
Ruben Fiszel
279f671dcf improve default connection for failure module 2023-01-14 19:22:59 +01:00
Ruben Fiszel
954cc1bb95 fix tests wrt to new error handling 2023-01-14 18:47:37 +01:00
Ruben Fiszel
776d4c9ca1 error handling improvements 2023-01-14 17:46:03 +01:00
Ruben Fiszel
6949516e63 improve error handling 2023-01-14 15:08:47 +01:00
Ruben Fiszel
f6c13b0324 avoid annoying panel resizing on value change 2023-01-14 14:29:12 +01:00
Ádám Kovács
d811675882 feat(frontend): Add surreal db logo (#1102) 2023-01-14 14:17:43 +01:00
Ruben Fiszel
735aee952a add hub compatible json export to apps 2023-01-14 09:10:39 +01:00
Ruben Fiszel
9432f4c1fa minor tooltip fix 2023-01-14 07:45:15 +01:00
Ruben Fiszel
5bf5a4f86e sqlx fix 2023-01-13 22:27:18 +01:00
Ruben Fiszel
60ef8f569b run_wait_result improvements: cancel + early tx drop 2023-01-13 21:30:29 +01:00
Ádám Kovács
7bc59d9d26 fix(frontend): App script list panel overflow (#1101) 2023-01-13 20:24:18 +01:00
Ruben Fiszel
bd4c7b7957 minor improvements 2023-01-13 18:52:34 +01:00
Ádám Kovács
172b5dba8f feat(frontend): Update app table component styles (#1100)
* feat(frontend): Update app table component styles

* feat(frontend): Update table search style
2023-01-13 18:44:21 +01:00
Ruben Fiszel
b478ba8c45 clarify run detail page + allow i64 for MAX_LOG_SIZE 2023-01-13 18:39:17 +01:00
Ruben Fiszel
71708b7566 add MAX_LOG_SIZE env params 2023-01-13 14:46:07 +01:00
Ádám Kovács
c50c7406f2 feat(frontend): Add default codes to app editor (#1099) 2023-01-13 13:48:28 +01:00
Ruben Fiszel
00357261d5 add psycopg-pool to psycopg default install 2023-01-13 12:16:48 +01:00
Ruben Fiszel
c121908716 fix table static exports 2023-01-13 12:08:37 +01:00
Ádám Kovács
2191e85231 feat(frontend): Add more integration icons (#1097)
* feat(frontend): Add more integration icons

* fix

* fix
2023-01-13 08:48:31 +01:00
Ruben Fiszel
a85a964819 add psycopg3 to the list of support imports 2023-01-13 07:54:05 +01:00
Ruben Fiszel
2ee418b6bf add polars to lsp 2023-01-12 23:12:07 +01:00
Ruben Fiszel
8f72c32fbe various improvements 2023-01-12 22:20:54 +01:00
Ruben Fiszel
1cc5059179 fix execute_component tokens 2023-01-12 16:53:54 +01:00
Ruben Fiszel
9280a5132e minor app fixes 2023-01-12 13:04:17 +01:00
Ruben Fiszel
a626aa6175 minor app fixes 2023-01-12 12:51:27 +01:00
Ádám Kovács
339742ca77 fix(frontend): App form component display (#1096) 2023-01-12 11:41:05 +01:00
Ádám Kovács
43e069eb96 fix(frontend): Use absolute path on connect images (#1095) 2023-01-12 11:40:41 +01:00
Ruben Fiszel
8e1fecfda0 make openapi viewer rely on local assets only 2023-01-11 21:02:53 +01:00
Ruben Fiszel
3e1c9463d6 make openapi viewer rely on local assets only 2023-01-11 20:41:52 +01:00
Ruben Fiszel
1337811438 feat: add openapi viewer (#1094)
* all

* all

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix typecheck

* fix tests

* fix tests

* fix tests

* all
2023-01-11 20:28:50 +01:00
Ruben Fiszel
a028772bf4 fix typecheck 2023-01-11 17:21:02 +01:00
Ádám Kovács
0419e7e1c9 fix(frontend): Revert component input panel change (#1092) 2023-01-11 16:56:58 +01:00
Ádám Kovács
bdfc38d954 feat(frontend): Add copy button option to app text display component (#1090)
* feat(frontend): Add copy button to app text

* feat(frontend): Add tooltip to component configs

* fix(frontend): Remove copy button text
2023-01-11 16:05:19 +01:00
Ruben Fiszel
dbd632375c fix backend tests 2023-01-11 14:56:05 +01:00
Ruben Fiszel
2dfbf84d62 chore(main): release 1.60.0 (#1086)
* chore(main): release 1.60.0

* Update CHANGELOG.md

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-11 12:14:48 +01:00
Ádám Kovács
cb25f88300 fix(frontend): Keep pane resizer under open drawer (#1089) 2023-01-11 12:06:05 +01:00
Ádám Kovács
3cbe5d1f66 fix(frontend): Remove comment remnant (#1088) 2023-01-11 11:38:55 +01:00
Ádám Kovács
e93c511bb5 fix(frontend): App form component (#1087)
* fix(frontend): Make app form usage more clear

* fix(frontend): Form orientation

* fix(frontend): Form message format

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-01-11 11:24:46 +01:00
Ruben Fiszel
6bc0320bff add Use as template for apps 2023-01-11 11:00:10 +01:00
Ruben Fiszel
3418a07c45 various app fixes 2023-01-11 10:57:30 +01:00
Ruben Fiszel
c0df9a5e20 update axum 2023-01-11 08:19:20 +01:00
Ruben Fiszel
b4e9468461 update change-versions 2023-01-11 04:54:55 +01:00
Ruben Fiszel
a14623feaa feat: add 'add user to workspace' 2023-01-11 00:51:04 +01:00
Ádám Kovács
342ea5609b fix(frontend): App minor fixes (#1085)
* fix(frontend): Tooltip contrast

* fix(frontend): App button padding
2023-01-10 22:53:11 +01:00
Ádám Kovács
8e72007368 feat(frontend): Add frost to color palette (#1084) 2023-01-10 22:52:37 +01:00
Ruben Fiszel
48d87ab12c various improvements 2023-01-10 11:21:16 +01:00
dependabot[bot]
4e0c2d06fc chore(deps-dev): bump simple-svelte-autocomplete in /frontend (#1083)
Bumps [simple-svelte-autocomplete](https://github.com/pstanoev/simple-svelte-autocomplete) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/pstanoev/simple-svelte-autocomplete/releases)
- [Commits](https://github.com/pstanoev/simple-svelte-autocomplete/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: simple-svelte-autocomplete
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 20:00:03 +01:00
Ruben Fiszel
cbddd6b98b chore: update svelte-check 2023-01-09 19:59:17 +01:00
dependabot[bot]
35297d4b52 chore(deps): bump svelte-select from 5.0.1 to 5.0.2 in /frontend (#1081)
Bumps [svelte-select](https://github.com/rob-balfre/svelte-select) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/rob-balfre/svelte-select/releases)
- [Changelog](https://github.com/rob-balfre/svelte-select/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rob-balfre/svelte-select/compare/v5.0.1...v5.0.2)

---
updated-dependencies:
- dependency-name: svelte-select
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 18:54:41 +00:00
Ruben Fiszel
2c717e00e5 fix computing policy prefix for hub scripts 2023-01-09 19:46:24 +01:00
dependabot[bot]
3bc1e6248b chore(deps): bump @leeoniya/ufuzzy from 0.8.0 to 0.9.0 in /frontend (#1080)
Bumps [@leeoniya/ufuzzy](https://github.com/leeoniya/uFuzzy) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/leeoniya/uFuzzy/releases)
- [Commits](https://github.com/leeoniya/uFuzzy/compare/0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: "@leeoniya/ufuzzy"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 18:30:33 +00:00
Ruben Fiszel
2e2067fe13 compute policy also for action buttons 2023-01-09 19:24:16 +01:00
dependabot[bot]
367903e359 chore(deps-dev): bump @playwright/test in /frontend (#1079)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.29.1 to 1.29.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.29.1...v1.29.2)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 18:23:48 +00:00
dependabot[bot]
37f2de6196 chore(deps-dev): bump svelte-dnd-action in /frontend (#1076)
Bumps [svelte-dnd-action](https://github.com/isaacHagoel/svelte-dnd-action) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/isaacHagoel/svelte-dnd-action/releases)
- [Changelog](https://github.com/isaacHagoel/svelte-dnd-action/blob/master/release-notes.md)
- [Commits](https://github.com/isaacHagoel/svelte-dnd-action/commits)

---
updated-dependencies:
- dependency-name: svelte-dnd-action
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 18:21:24 +00:00
Ruben Fiszel
5505d0a7c9 fix infering schema for inlineeditor 2023-01-09 18:57:30 +01:00
Ruben Fiszel
c61f9d4d66 fix infering schema for inlineeditor 2023-01-09 18:46:59 +01:00
Ruben Fiszel
18946918c3 also update schema when moving flow 2023-01-09 17:26:45 +01:00
Ruben Fiszel
e676c18b5f fix approval page approve endpoint empty payload 2023-01-09 17:19:56 +01:00
Ruben Fiszel
a9cce15b0c nit: close drawer when connecting oauth in new window 2023-01-09 16:52:05 +01:00
Ruben Fiszel
eb49dd8216 nits: clarify resume messages 2023-01-09 16:46:36 +01:00
Ruben Fiszel
e2f2db2d7f edit operatorOnly on toggle change 2023-01-09 16:42:02 +01:00
Ruben Fiszel
6e9c61a7fb (frontend) remove duplicate of folders from folder list name 2023-01-09 16:14:38 +01:00
Ruben Fiszel
4d5acf6f52 creator of group is also automatically a member 2023-01-09 16:08:10 +01:00
Ruben Fiszel
55e2bf9fce bump backend versions 2023-01-09 15:35:28 +01:00
Ruben Fiszel
daf8e2e8be fix backend tests 2023-01-09 14:51:27 +01:00
Ruben Fiszel
b5b13518da chore(main): release 1.59.0 (#1074)
* chore(main): release 1.59.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-09 14:03:36 +01:00
Ruben Fiszel
d3e2cf0779 fix backend tests 2023-01-09 14:00:17 +01:00
Ruben Fiszel
5347cd46a9 feat: add relative imports for python scripts (#1075)
* all

* all
2023-01-09 13:49:30 +01:00
Ruben Fiszel
32d90d4f18 add svelte as peer dep 2023-01-09 11:48:38 +01:00
Ruben Fiszel
1076c4ffc1 bump versions 2023-01-09 11:46:30 +01:00
Ádám Kovács
a84eb9b1f7 fix(frontend): Iconed resource height issue (#1073) 2023-01-09 11:44:16 +01:00
Ruben Fiszel
9540e6cec3 add appwrite and linkding logos 2023-01-07 19:16:41 +01:00
Ruben Fiszel
54ef5a6d87 chore(main): release 1.58.0 (#1061)
* chore(main): release 1.58.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-07 17:00:46 +08:00
Ruben Fiszel
6edf9b9946 feat: add archive/unarchive/delete workspace 2023-01-07 09:39:50 +01:00
Ruben Fiszel
0bcdcaedcf feat: add min/max constraint to number + slider component 2023-01-07 08:51:09 +01:00
Ruben Fiszel
50453ca690 feat: add hub support for apps 2023-01-07 07:44:44 +01:00
Faton Ramadani
b5edb7ed98 App UI improvements (#1072)
* fix(frontend): Improve App UI

* fix(frontend):Align typing

* fix(frontend): Improve App UI

* fix(frontend): remove debug string

* fix(frontend): remove debug string

* fix(frontend): restore code from main
2023-01-06 17:46:45 +01:00
Ruben Fiszel
099c4fd10d add debug Runs to apps 2023-01-05 08:54:18 +01:00
Ruben Fiszel
3fba91084d improve job loader in case of concurrent requests 2023-01-05 05:57:22 +01:00
Ruben Fiszel
aaac41761c ensuring results come-in order for testjobloader 2023-01-04 21:01:40 +01:00
Ruben Fiszel
1967413ad4 remove early return executeComponent 2023-01-04 20:24:01 +01:00
Ruben Fiszel
7aa4751531 fix some apps' components default sizing 2023-01-04 20:05:55 +01:00
Ruben Fiszel
37a8789741 remove spurrious console logs 2023-01-04 19:55:31 +01:00
Ruben Fiszel
3e9a6ebc5a hide spurrious Unexpected usage 2023-01-04 19:03:31 +01:00
Ruben Fiszel
93ce9c42fe fix overflow on component object viewer 2023-01-04 18:55:33 +01:00
Ruben Fiszel
7437dc00aa apps improvements 2023-01-04 18:37:42 +01:00
Ruben Fiszel
47b498da80 fix flow input transform default bug 2023-01-04 15:57:19 +01:00
Ruben Fiszel
1c75bf7bef add more apps components 2023-01-04 15:54:23 +01:00
Ruben Fiszel
ad1ffdb613 fix template editor monaco workers 2023-01-04 10:56:15 +01:00
Ruben Fiszel
5204e4a75d feat: add support for yaml format as a string format 2023-01-04 10:37:13 +01:00
Ruben Fiszel
aaaece99e7 apps UX nits 2023-01-04 10:14:03 +01:00
Ruben Fiszel
03da654714 improve draft logic for scripts/apps/flows 2023-01-04 07:22:30 +01:00
Ruben Fiszel
43a7d9d7b4 apps UX nits 2023-01-04 05:35:01 +01:00
Ruben Fiszel
68a09176d3 add run button directly in inline editor 2023-01-04 05:27:47 +01:00
Ruben Fiszel
8958118bef fix apps UX nits 2023-01-04 05:07:18 +01:00
Ruben Fiszel
82b30f4da6 fix forking hub deno scripts in apps 2023-01-03 15:56:02 +01:00
Ruben Fiszel
2acb7d1774 nit fix incorrect overflow-auto in display result 2023-01-03 11:17:15 +01:00
Ruben Fiszel
976c3d49dd add context to context panel in apps 2023-01-03 10:41:51 +01:00
Ruben Fiszel
fa522da565 apps improvements 2023-01-03 09:46:36 +01:00
Ruben Fiszel
8517c25153 disallow loading public app if not visible anymore 2023-01-03 03:29:35 +01:00
dependabot[bot]
c2a733dc42 chore(deps-dev): bump eslint-config-prettier in /frontend (#1068)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 18:20:05 +00:00
dependabot[bot]
d8feaf341a chore(deps-dev): bump @typescript-eslint/parser in /frontend (#1067)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.46.1 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 18:13:16 +00:00
dependabot[bot]
4c25db3891 chore(deps-dev): bump @types/node from 18.11.9 to 18.11.18 in /frontend (#1066)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.9 to 18.11.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 18:13:00 +00:00
dependabot[bot]
b0c7d9af27 chore(deps-dev): bump @playwright/test in /frontend (#1065)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.28.1...v1.29.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 18:12:40 +00:00
Ádám Kovács
76a860fe53 fix(frontend): Remove popover hover styles (#1064) 2023-01-02 19:05:29 +01:00
Ruben Fiszel
5de7dc9248 further public apps improvements 2023-01-02 19:02:40 +01:00
Ádám Kovács
45acb89f87 feat(frontend): Add integration icons (#1063) 2023-01-02 18:54:01 +01:00
Ádám Kovács
34e3331919 feat(frontend): Update app auto-refresh button (#1062)
* feat(frontend): Update interval selector

* fix(frontend): Interval

* feat(frontend): Resource saving

* fix(frontend): Update selector labels

* label
2023-01-02 18:53:47 +01:00
Ruben Fiszel
39e7fc6c28 tighten public apps security using triggerable policy 2023-01-02 18:53:10 +01:00
Ruben Fiszel
39e2bf39e9 make app public page not require login at all 2023-01-02 13:02:45 +01:00
Ádám Kovács
4d6a568820 feat(frontend): Toggle to hide optional inputs (#1060) 2023-01-02 10:09:33 +01:00
Ruben Fiszel
a34ae8b2ae improve apps wiring 2023-01-02 10:07:17 +01:00
Ruben Fiszel
c7e60843d4 improve apps wiring 2023-01-02 10:07:15 +01:00
Ruben Fiszel
160dfa3121 chore(main): release 1.57.1 (#1059)
* chore(main): release 1.57.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-02 04:45:09 +01:00
Ruben Fiszel
2c8e98a9c7 fix: preserver order changes for flows' schema 2023-01-02 04:43:28 +01:00
Ruben Fiszel
334ec1a084 remove buggy transition fade on code editor 2023-01-02 04:28:23 +01:00
Ruben Fiszel
ab0aeb0df8 fix: support setting undefined states 2023-01-02 04:22:56 +01:00
Ruben Fiszel
21f98e29ea chore(main): release 1.57.0 (#1043)
* chore(main): release 1.57.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-01-01 19:23:04 +01:00
Ruben Fiszel
be14aab9b1 feat: apps can be published publicly 2023-01-01 19:16:26 +01:00
Ruben Fiszel
e24dc6de4f update all clients to use update resource value 2023-01-01 10:26:11 +01:00
Ruben Fiszel
4bc90e8409 improve design of items picker 2023-01-01 10:02:26 +01:00
Ruben Fiszel
4822c863f8 deprecate starters workspace by pointing resource types to admins 2023-01-01 09:00:56 +01:00
Ruben Fiszel
8f3649e940 fix is_owner for groups/folders + unift summary for apps 2023-01-01 07:23:43 +01:00
Ruben Fiszel
4135b6a4d5 apps improvements (row size, text options) 2023-01-01 06:24:21 +01:00
Ruben Fiszel
5c8bfb4d39 apps nits 2022-12-31 18:55:47 +01:00
Ádám Kovács
72aeba121c fix(frontend): Static inputs overflow (#1057)
* fix(frontend): Static inputs overflow

* Update FlowConstantsItem.svelte

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-31 13:37:23 +01:00
Ruben Fiszel
9fa2f96b31 overhaul app creation flow 2022-12-31 13:34:59 +01:00
Ruben Fiszel
94e929ddc4 restore 12 columns for apps but introduce fullscreen mode 2022-12-31 10:04:32 +01:00
Ruben Fiszel
5e522c5720 set default for template editor 2022-12-31 07:50:18 +01:00
Ruben Fiszel
4df19ab873 add autosave for apps 2022-12-31 07:36:05 +01:00
Ruben Fiszel
eb359b1a3d re-enable page titles 2022-12-31 05:08:47 +01:00
Ruben Fiszel
58a5889dc7 app improvements 2022-12-30 19:46:31 +01:00
Ruben Fiszel
e9488f1b66 app improvements 2022-12-30 19:04:50 +01:00
Ruben Fiszel
a1fec7c4b7 fix init edit on variable editor 2022-12-30 16:59:04 +01:00
Ruben Fiszel
54a5e73117 fix login redirection 2022-12-30 15:32:51 +01:00
Ádám Kovács
0812f6efd8 feat(frontend): Add customization props to radio (#1056) 2022-12-30 12:40:57 +01:00
Ruben Fiszel
3192ce5d21 more tweaks 2022-12-30 12:11:48 +01:00
Ruben Fiszel
e8fc94d7ef further apps improvements 2022-12-30 11:55:06 +01:00
Ruben Fiszel
aedd02bc2a app reactivity improvements 2022-12-30 09:56:07 +01:00
Ruben Fiszel
d108c3ed07 flow constants page improvements 2022-12-30 06:23:59 +01:00
Ruben Fiszel
3296debfe7 feat: add a All Static Inputs module to the flow editor 2022-12-30 05:31:45 +01:00
Ádám Kovács
2fd730f8d2 fix(frontend): List item overflowing corners (#1055) 2022-12-30 05:15:10 +07:00
Ruben Fiszel
a42f802cfd items-list overflow to let dropdown go through 2022-12-29 19:33:14 +01:00
Ádám Kovács
adc84f06d9 fix(frontend): Minor fixes in editor (#1054)
* fix(frontend): Script arguments window overflow

* fix(frontend): Consistent input editor font size

* fix(frontend): Fix script settings inconsistencies
2022-12-29 18:44:56 +01:00
Ádám Kovács
9d30e5fa57 feat(frontend): Update tooltip and home list dropdown (#1053)
* feat(frontend): Update tooltip

* feat(frontend): Update list dropdown
2022-12-29 18:38:28 +01:00
Ruben Fiszel
6e271d3d61 fix dropdown 2022-12-29 15:57:27 +01:00
Kai Jellinghaus
543490b103 Allow workspace to be newly created (#1052) 2022-12-29 20:31:01 +07:00
Ruben Fiszel
f4c5de3d2b fix app anchors 2022-12-29 13:53:20 +01:00
Ruben Fiszel
647b57b24e add healthchecks to lsp 2022-12-29 12:52:30 +01:00
Ruben Fiszel
7d8cbfe115 delete comments from flow of the hub 2022-12-29 12:49:27 +01:00
Ádám Kovács
0f1b19c7d3 fix(app): Fix inconsistencies in list items and sidebar menus (#1051)
* fix(app): Fix minor issues in home page list

* fix(app): Remove inconsistencies in sidebar menus
2022-12-29 12:48:26 +01:00
Faton Ramadani
fb395655e6 App bugfix (#1049)
* adapt static adapter to cloudflare

* fix(frontend): Various bug fix

* fix typecheck

* numerous fixes

* fix all connects

* fix all connects

* more improvements

* more improvements

* everything work?

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-29 12:47:53 +01:00
Ádám Kovács
faa046a3fd feat(app): Update sidebar menu (#1050) 2022-12-29 15:55:53 +07:00
Ruben Fiszel
17a5b3ffdb fix testjobloader when running many interleaving computations 2022-12-28 17:11:58 +01:00
Ruben Fiszel
47fa61ba30 fix raw editor height for resources 2022-12-28 13:24:56 +01:00
Ruben Fiszel
efe3973c29 fix test just this step freeze svelte bc of transition:fade 2022-12-28 12:52:21 +01:00
Ruben Fiszel
26ea59b3e9 fix test just this step freeze svelte bc of transition:fade 2022-12-28 12:51:04 +01:00
Ádám Kovács
681e2e824a feat(app): Use consistent styles on settings pages (#1048)
* feat(app): Update login page style

* feat(app): Update pages with centered modal

* fix(app): Update settings

* adapt static adapter to cloudflare

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-28 00:39:30 +01:00
Ruben Fiszel
2d4a83bf90 adapt static adapter to cloudflare 2022-12-28 00:25:00 +01:00
Ruben Fiszel
8031a7b5ec adapt static adapter to cloudflare 2022-12-27 17:59:12 +01:00
Ruben Fiszel
b3adb7dad8 fix approval page for sveltekit 1.0 2022-12-27 17:21:45 +01:00
Ruben Fiszel
6d40f16695 add auto_https on caddyfileremote 2022-12-27 16:32:41 +01:00
Ruben Fiszel
a29357eb15 fix confirmation modal enter behavior 2022-12-27 16:29:34 +01:00
Ruben Fiszel
b72a3babd8 fix is_owner 2022-12-27 15:52:12 +01:00
Ruben Fiszel
4e1e80e673 nit redirect on logout 2022-12-27 13:38:34 +01:00
Ruben Fiszel
8c268ff34b add dedicated logout page 2022-12-27 13:26:03 +01:00
Ruben Fiszel
1b0bb22da7 fix layout for sveltekit 1.0 2022-12-27 07:27:14 +01:00
dependabot[bot]
b24f3472d1 chore(deps): bump svelte-select from 5.0.0-beta.40 to 5.0.1 in /frontend (#1046)
Bumps [svelte-select](https://github.com/rob-balfre/svelte-select) from 5.0.0-beta.40 to 5.0.1.
- [Release notes](https://github.com/rob-balfre/svelte-select/releases)
- [Changelog](https://github.com/rob-balfre/svelte-select/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rob-balfre/svelte-select/compare/v5.0.0-beta.40...v5.0.1)

---
updated-dependencies:
- dependency-name: svelte-select
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 18:11:39 +00:00
dependabot[bot]
50c909d009 chore(deps-dev): bump @types/vscode from 1.68.1 to 1.74.0 in /frontend (#1047)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.68.1 to 1.74.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 18:11:03 +00:00
Ruben Fiszel
a82ed3f744 trim imports from monaco 2022-12-25 12:58:14 +01:00
Ruben Fiszel
99fd968eba update fontAwesome icons 2022-12-25 11:55:01 +01:00
Ruben Fiszel
0e97b98d21 update svelte-preprocess to 5.x 2022-12-25 11:46:14 +01:00
dependabot[bot]
37db806723 chore(deps-dev): bump prettier from 2.7.1 to 2.8.1 in /frontend (#1031)
Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-25 10:34:43 +00:00
Ruben Fiszel
b805e28adf update adapter-kit 2022-12-25 08:58:16 +01:00
Ruben Fiszel
972b2affae minor app fixes 2022-12-25 08:39:00 +01:00
Ruben Fiszel
bf86fe5041 update to sveltekit 1.0 2022-12-25 08:05:39 +01:00
Ruben Fiszel
e7cdd72a26 svelte-migrate: renamed files 2022-12-25 05:49:06 +01:00
Ruben Fiszel
3b17820533 svelte-migrate: renamed files 2022-12-25 05:48:44 +01:00
Ruben Fiszel
eee8fcee75 nit: danger zone for flow details 2022-12-24 19:37:38 +01:00
Ruben Fiszel
037de7ec95 improve flow graph rendering behavior 2022-12-24 19:29:50 +01:00
Ruben Fiszel
0e585a81a5 resuming suspended flows as owner is now through flow id 2022-12-24 09:44:05 +01:00
Ruben Fiszel
f1d0db3bc7 make flow status viewer always open 2022-12-24 06:31:22 +01:00
Ruben Fiszel
749db01ab2 allow updating to latest hash from within flow directly if module hash locked 2022-12-24 06:24:27 +01:00
Ruben Fiszel
19ff6faf35 border around template editor 2022-12-23 17:59:42 +01:00
Ruben Fiszel
39b3c57539 fix navigation on index list rows 2022-12-23 17:40:19 +01:00
Faton Ramadani
70e7a5d075 feat(frontend): Fix initial component dimensions + Select select + add spinner when buttons are clicked (#1044) 2022-12-23 21:11:13 +07:00
Ruben Fiszel
2bc297f2e9 allow resuming as owner suspended job only for path owners 2022-12-23 13:44:41 +01:00
Faton Ramadani
65f4e86a22 feat(frontend): Properly support resource (#1039)
* feat(frontend): Properly support resource

* feat(frontend): remove unused import

* feat(frontend): Fix build errors

* feat(frontend): Fix table actions

* feat(frontend): Fix table parameters

* feat(frontend): Fix runnable inputs sync

* feat(frontend): Done

* fix

* fix

* feat(frontend): Fix typing issues

* feat(frontend): Fix id generation

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-23 13:42:42 +01:00
Ruben Fiszel
40195d42f6 feat(backend): resume from owner directly in flow status viewer (#1042)
* foo

* progress
2022-12-23 13:04:31 +01:00
Ruben Fiszel
2aeab245a1 schedule next job in transaction to avoid race condition 2022-12-23 06:53:26 +01:00
Ruben Fiszel
85e8b7c78d chore(main): release 1.56.1 (#1041)
* chore(main): release 1.56.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-23 03:33:50 +01:00
Ruben Fiszel
0614ec42ba fix(cli): typo in cli deps 2022-12-23 03:31:58 +01:00
Ruben Fiszel
03c7b38c94 chore(main): release 1.56.0 (#1011)
* chore(main): release 1.56.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-23 03:10:03 +01:00
Kai Jellinghaus
741646b618 feat!(cli): Folders support & Less Tarball nesting (#1040)
* Basic folder support

* Proper Folder Support + deps.ts

* Upgrade Versions

* Add folder meta to tarball

* Remove tarball folders

* Minor fixes

* Fix typo

* Remove extra_perms check

* Use new endpoint

* Use new untar location

* Fix shrinking files
2022-12-23 03:06:12 +01:00
Ruben Fiszel
067da91463 make ownership check more consistent, expose ownership api, expose update folder api 2022-12-22 14:48:57 +01:00
Ruben Fiszel
c28311242d feat(backend): add SUPERADMIN_SECRET as an env set superadmin 2022-12-22 10:35:10 +01:00
Ruben Fiszel
e228c6448e feat(frontend): templatable editor with autocompletion 2022-12-22 08:38:12 +01:00
Faton Ramadani
cebbc5fbd1 feat(frontend): Fix component synchro (#1038)
* feat(frontend): Fix component synchro

* feat(frontend): Fix isObject
2022-12-21 11:19:27 +01:00
Ruben Fiszel
420230ef17 minor editor improvements 2022-12-21 09:46:12 +01:00
Faton Ramadani
ab13e8cce4 feat(frontend): Fork + Fix table (#1037)
* feat(frontend): WIP

* feat(frontend): WIP

* feat(frontend): add support unused inline scripts

* feat(frontend): fix all interaction

* feat(frontend): Fix pick

* feat(frontend): add ability to fork

* feat(frontend): fix mobile preview

* feat(frontend): fix table

* feat(frontend): fix table actions

* feat(frontend): Fix build error
2022-12-21 08:22:30 +01:00
Ruben Fiszel
f73dbd8039 feat: add move to drawer for script and flows 2022-12-21 06:55:37 +01:00
Faton Ramadani
26a6de247c feat(frontend): Add the ability to lock components so they don't move around (#1035) 2022-12-20 16:53:18 +01:00
Kai Jellinghaus
3b8356cf9a Allow RUST_LOG_STYLE (#1036) 2022-12-20 16:19:18 +01:00
Faton Ramadani
be743117d1 feat(frontend): Fix inline script status (#1034) 2022-12-20 16:17:45 +01:00
Ádám Kovács
4651c9d8cd feat(frontend): App builder password and date input (#1022)
* feat: Add password input to app builder
2022-12-20 15:34:36 +01:00
Ruben Fiszel
b7afe5ecfc improve error message for already existing items 2022-12-20 12:52:18 +01:00
Ruben Fiszel
f195d4c4a5 improve folder UX 2022-12-20 10:47:29 +01:00
Faton Ramadani
95a0b9ceae feat(frontend): Add an input field to edit inline script name (#1033) 2022-12-20 10:34:50 +01:00
Ruben Fiszel
27e840ced1 improve error message for oauth 2022-12-20 08:49:23 +01:00
Ruben Fiszel
f91967c4c8 improve error message for oauth 2022-12-20 08:20:21 +01:00
Ruben Fiszel
803318d0b5 align share with folder permissions 2022-12-20 07:18:10 +01:00
Ruben Fiszel
cd7bc33b6a re-enable picking groups 2022-12-20 07:18:10 +01:00
Ruben Fiszel
92dee8b958 Update README.md 2022-12-20 03:21:03 +01:00
Ruben Fiszel
f8e01257a3 fix folders queries on RDS 2022-12-19 21:01:12 +01:00
Ruben Fiszel
4329d25988 feat: introduce folders, deprecate items owned by groups 2022-12-19 19:11:23 +01:00
Ruben Fiszel
c1b0b64e17 feat: introduce folders, deprecate items owned by groups 2022-12-19 18:59:46 +01:00
Ruben Fiszel
876e140626 change the default number of connections to 3 for workers 2022-12-19 18:59:46 +01:00
Faton Ramadani
b4e2735315 Inline script editor (#1029)
* feat(frontend): WIP

* feat(frontend): WI

* feat(frontend): Fix inline scripts

* feat(frontend): Fix inline scripts
2022-12-19 22:44:28 +07:00
Ruben Fiszel
f5a01fc768 major schedules rewrite 2022-12-18 18:45:32 +01:00
Ruben Fiszel
43732d2fb5 require ownership to move items && automatically edit schedule paths 2022-12-18 18:45:32 +01:00
Jakub Kołodziejczak
f77fe7b6b3 fix(frontend): copy-to-clipnoard url with protocol (#1027) 2022-12-18 15:38:12 +01:00
Ruben Fiszel
42d4711503 path improvements v1 2022-12-18 05:55:29 +01:00
Ruben Fiszel
398c109afe UX improvements 2022-12-17 17:53:32 +01:00
Ruben Fiszel
321f8d28bb add audit log for oauth login 2022-12-17 13:54:46 +01:00
Ruben Fiszel
d2ab628122 fix setting timeout duration error 2022-12-17 13:41:33 +01:00
Ruben Fiszel
576103e3b3 group refactoring 2022-12-16 20:02:13 +01:00
Faton Ramadani
ebca9f39ea feat(frontend): Small UI fixes (#1026) 2022-12-16 14:00:43 +01:00
Faton Ramadani
0e871ca843 feat(frontend): Align output panel UI (#1025)
* feat(frontend): Align output pane UI

* feat(frontend): Align UI
2022-12-16 14:00:26 +01:00
Ruben Fiszel
80c84d190e merge fix 2022-12-16 10:01:53 +01:00
Ruben Fiszel
133d1f3e56 fix v2 2022-12-16 10:01:24 +01:00
Ruben Fiszel
091af3220a reinstate editorService fixing the editor 2022-12-16 09:57:58 +01:00
Ruben Fiszel
3e7751f705 groups 2022-12-16 09:53:17 +01:00
Ruben Fiszel
3735171a0d Flow UX improvements wrt to triggers 2022-12-15 23:09:23 +01:00
Ruben Fiszel
2e7b2a9e20 rework default visibility of runs of scripts not belonging to oneself 2022-12-15 18:55:30 +01:00
Ruben Fiszel
09e38981ed add visible_to_owner 2022-12-15 16:01:17 +01:00
Faton Ramadani
f6df3ae367 feat(frontend): AppTable v2 + Inline script panel (#1023)
* feat(frontend): WIP

* feat(frontend): Refator

* feat(frontend): Fix inline script creation

* feat(frontend): Fix chart display bug

* feat(frontend): Fix build
2022-12-15 15:45:04 +01:00
Ádám Kovács
08071bb66b feat(frontend): Add select component to app builder (#1021)
* feat(frontend): Add select input to app builder
2022-12-15 08:51:43 +00:00
Ruben Fiszel
d1edf4e5c7 replace svelvet with fork to remove zoom and node moving 2022-12-15 01:53:35 +01:00
Ruben Fiszel
847dfe1c15 ux nits 2022-12-14 21:29:00 +01:00
Ruben Fiszel
af8e0ccd6a increase banned_domains list 2022-12-14 10:24:18 +01:00
Ruben Fiszel
8f0ad7c612 team plan 2022-12-14 01:17:17 +01:00
Ruben Fiszel
5f30970703 team plan 2022-12-13 23:09:33 +01:00
Ruben Fiszel
974dc2394f UX improvements 2022-12-13 21:24:35 +01:00
Ruben Fiszel
3485b07b25 feat: add operator mode 2022-12-13 20:16:57 +01:00
Ruben Fiszel
d813c007c0 add more metrics 2022-12-13 00:25:27 +01:00
Ruben Fiszel
48ca1e939c add more metrics 2022-12-12 23:10:53 +01:00
Ruben Fiszel
d3d2a8bc7d fix fixtures 2022-12-12 22:33:24 +01:00
Ruben Fiszel
2bae50f391 feat: auto-invite from same domain 2022-12-12 20:20:17 +01:00
dependabot[bot]
c8bd68b56b chore(deps-dev): bump @typescript-eslint/parser in /frontend (#1019)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.43.0 to 5.46.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.46.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 18:27:39 +00:00
dependabot[bot]
5d7cf4ca09 chore(deps): bump highlight.js from 11.6.0 to 11.7.0 in /frontend (#1020)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.6.0 to 11.7.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/11.6.0...11.7.0)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 18:24:24 +00:00
dependabot[bot]
ab83f899b5 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#1016)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.45.0 to 5.46.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.46.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 18:15:04 +00:00
dependabot[bot]
14e85cd5b0 chore(deps-dev): bump prettier-plugin-svelte in /frontend (#1017)
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.8.1 to 2.9.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/commits)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 18:14:37 +00:00
dependabot[bot]
b36a9c2cc8 chore(deps): bump python from 3.11.0-slim-buster to 3.11.1-slim-buster (#1014)
Bumps python from 3.11.0-slim-buster to 3.11.1-slim-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 18:10:40 +00:00
Faton Ramadani
f7627b5f17 fix(frontend): Fix AppTable frontend search (#1013)
* fix(frontend): Fix AppTable frontend search

* fix(frontend): Fix AppTable frontend search
2022-12-12 18:42:15 +01:00
Faton Ramadani
424c31c54a feat(frontend): Add form component + fix connection bug (#1012) 2022-12-12 17:05:54 +01:00
Ádám Kovács
2fe927f7fd feat(frontend): Add app number input (#1010)
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-12-12 14:40:32 +01:00
Faton Ramadani
0ceb4ab1a8 feat(frontend): Fix UI (#1009)
* feat(frontend): Fix UI

* feat(frontend): Set correct default value when adding a new element to a typed array

* feat(frontend): add refresh all

* feat(frontend): add inline delete button

* feat(frontend): fix alignment

* feat(frontend): clean up

* feat(frontend): rework editor

* feat(frontend): Fix component dimensions

* feat(frontend): Fix default min dimensions

* feat(frontend): add missing alert

* feat(frontend): Fix default data

* feat(frontend): Support frontend/backend search

* feat(frontend): finish picker
2022-12-12 14:35:17 +01:00
Ruben Fiszel
94cecd56d2 add the all group to admin 2022-12-12 12:47:07 +01:00
Ruben Fiszel
b920345de2 improve perceived performances 2022-12-12 02:26:31 +01:00
Ruben Fiszel
bb531845b4 improve perceived performances 2022-12-12 02:05:32 +01:00
Ruben Fiszel
4daf5c18fa usage tracker v3 2022-12-12 01:11:44 +01:00
Ruben Fiszel
ac6f9e90f0 usage tracker v2 2022-12-11 22:48:09 +01:00
Ruben Fiszel
46f3388632 UX nits 2022-12-11 21:32:07 +01:00
Ruben Fiszel
9a5fb6b9e5 UX nits 2022-12-11 21:24:48 +01:00
Ruben Fiszel
c77e4a06c0 grant all on usage 2022-12-11 20:27:04 +01:00
Ruben Fiszel
fd871093f0 feat: implement usage tracker + quotas 2022-12-11 18:47:39 +01:00
Ruben Fiszel
e4d61eeb6e remove ButtonAndDropdown 2022-12-10 20:43:32 +01:00
Ruben Fiszel
6fe10b210f split states from resources on resources page 2022-12-10 18:47:43 +01:00
Ruben Fiszel
5a325c9e51 remove virtual list 2022-12-10 16:35:03 +01:00
Ruben Fiszel
2e36f65986 increase variable length to 10000 2022-12-10 13:57:41 +01:00
Ruben Fiszel
f4f359e846 add more default linkedin scopes 2022-12-10 13:40:15 +01:00
Ruben Fiszel
cabadc3849 add more icons 2022-12-10 13:39:25 +01:00
Ruben Fiszel
df6049bdc5 add all current resource types icons 2022-12-10 13:05:48 +01:00
Ruben Fiszel
46975aceab add microsoft login 2022-12-10 12:18:40 +01:00
Kai Jellinghaus
4004de0618 feat: Superadmins workspace (#1003)
* Add auto-invite superadmins workspace

* Revert "Add auto-invite superadmins workspace"

This reverts commit 768ae31857.

* Add Admin Workspace

* Show unable to delete info in UI

* Add Hub sync

* Update Migration

* Add Starter workspace

* Add workspace_key for admins workspace

* Remove schedule

* Update CI
2022-12-10 01:46:26 +01:00
Ruben Fiszel
dc23af4209 chore(main): release 1.55.0 (#1007)
* chore(main): release 1.55.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-09 20:48:58 +01:00
Ruben Fiszel
0d421f1506 display account without refresh tokens as non refreshed 2022-12-09 20:17:39 +01:00
Ruben Fiszel
ffc4c3a9a0 add linkedin as oauth integration 2022-12-09 19:38:50 +01:00
Ruben Fiszel
d2dfe29f03 add linkedin as oauth integration 2022-12-09 19:28:00 +01:00
Ruben Fiszel
18c7a33b6d add linkedin as oauth integration 2022-12-09 19:25:12 +01:00
Ruben Fiszel
dbfafda44d add linkedin as oauth integration 2022-12-09 18:21:59 +01:00
Ruben Fiszel
64cda02a17 add linkedin as oauth integration 2022-12-09 17:47:26 +01:00
Ádám Kovács
6198383138 feat(frontend): Add text input to app builder (#1008)
* fix(frontend): Use official Lucide package
* feat(frontend): Add text input to app builder
2022-12-09 16:41:55 +01:00
Ruben Fiszel
8616570bce get schedule from the database directly instead of the client 2022-12-09 16:36:36 +01:00
Ruben Fiszel
87c94d4015 fix list jobs 2022-12-09 14:52:49 +01:00
Ruben Fiszel
f92e581bd1 editor styling 2022-12-09 14:32:50 +01:00
Ruben Fiszel
0bfc7391b4 pin monaco to 0.33 + remove cursor style 2022-12-09 11:01:43 +01:00
Ruben Fiszel
7270baf17f chore(main): release 1.54.0 (#1000)
* chore(main): release 1.54.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-08 23:57:28 +01:00
Kai Jellinghaus
abc0ca3a5b feat(backend): Input transform errors (#1006)
* Add pre run error & propagate input transforms there

* Handle pre-run errors

* Update SQLX data

* Update SQLX data
2022-12-08 23:56:49 +01:00
Ruben Fiszel
e1f5fcb162 add public-helm to the README 2022-12-08 18:47:44 +01:00
Ruben Fiszel
2e83afbcd8 flow UX improvements 2022-12-08 17:28:24 +01:00
Ruben Fiszel
08bfc1020d UX flow improvements 2022-12-08 17:18:24 +01:00
Ruben Fiszel
1f05a2070d display number of retry attempts 2022-12-08 15:46:24 +01:00
Faton Ramadani
a562dee3ce feat(frontend): Add support for object editor + fix wording (#1004) 2022-12-08 13:11:25 +00:00
Ruben Fiszel
c6e04414e5 sqlx update 2022-12-08 13:32:33 +01:00
Ruben Fiszel
18e1e92c23 add iteration info 2022-12-08 13:30:48 +01:00
Faton Ramadani
3942741c80 App editor v2 (#1001)
* fix(frontend): Fix app InputValue sync

* feat(frontend): WIP

* feat(frontend): WIP

* feat(frontend): Type aligned

* feat(frontend): working

* feat(frontend): working

* feat(frontend): Fix text binding

* feat(frontend): Connect + script working

* feat(frontend): Fix reactity issues
2022-12-08 13:26:01 +01:00
Ruben Fiszel
afe680b6fb display flow errors step much better in the flow status viewer 2022-12-08 12:59:18 +01:00
Ruben Fiszel
8bcf4952a2 display errors much better in the error handler 2022-12-08 11:07:44 +01:00
Kai Jellinghaus
9715baa6b5 Correctly parse schema (#1002) 2022-12-07 14:22:07 +01:00
Ruben Fiszel
37a775d65a handle undefined modules 2022-12-07 13:54:39 +01:00
Ruben Fiszel
4225f2a414 nit fix 2022-12-07 13:40:46 +01:00
Ruben Fiszel
a76ec2f3ab improve branches module editor 2022-12-07 13:20:41 +01:00
Ruben Fiszel
82731e7248 improve branches module editor 2022-12-07 13:10:21 +01:00
Ruben Fiszel
1dc3f915a6 fix flow input picker 2022-12-07 11:04:31 +01:00
Ruben Fiszel
8c1c508358 feat: implement flow as a flow step 2022-12-06 23:38:06 +01:00
Ruben Fiszel
9a029f46af fix flowmodule_serde test 2022-12-06 17:48:56 +01:00
Ruben Fiszel
3b46eb643c early stop now bubble up to the top 2022-12-06 17:39:07 +01:00
Ruben Fiszel
799fa925b3 feat: add lockable version to scripts inside flows (#972)
* add it to openflow

* push

* push

* final
2022-12-06 13:11:11 +01:00
Ruben Fiszel
d5c79d12d8 document include_header in the openapi 2022-12-06 03:22:45 +01:00
Ruben Fiszel
5dbb249dc7 document include_header in the openapi 2022-12-06 03:22:35 +01:00
Ruben Fiszel
3561275be0 chore(main): release 1.53.0 (#976)
* chore(main): release 1.53.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-06 00:29:41 +01:00
dependabot[bot]
c5cd273728 chore(deps): bump chartjs-plugin-zoom from 1.2.1 to 2.0.0 in /frontend (#997)
Bumps [chartjs-plugin-zoom](https://github.com/chartjs/chartjs-plugin-zoom) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/chartjs/chartjs-plugin-zoom/releases)
- [Commits](https://github.com/chartjs/chartjs-plugin-zoom/compare/v1.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: chartjs-plugin-zoom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 00:21:57 +01:00
Ruben Fiszel
c318cb255a handle more waiting case as base case for special primitives in flows 2022-12-06 00:05:02 +01:00
Ruben Fiszel
31c317b358 feat: add include_header to pass request headers to script 2022-12-05 23:36:31 +01:00
Ruben Fiszel
cfe80115a4 improve flow status viewer 2022-12-05 22:32:24 +01:00
Ruben Fiszel
c7c58ad8bc improve flow viewer 2022-12-05 21:57:04 +01:00
Ruben Fiszel
73587a8400 display jobs scheduled for later in flow status viewer 2022-12-05 20:33:28 +01:00
dependabot[bot]
764ca1d7bd chore(deps): bump vscode-ws-jsonrpc from 2.0.0 to 2.0.1 in /frontend (#998)
Bumps [vscode-ws-jsonrpc](https://github.com/TypeFox/monaco-languageclient/tree/HEAD/packages/vscode-ws-jsonrpc) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/TypeFox/monaco-languageclient/releases)
- [Changelog](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/vscode-ws-jsonrpc/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-languageclient/commits/v2.0.1/packages/vscode-ws-jsonrpc)

---
updated-dependencies:
- dependency-name: vscode-ws-jsonrpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 18:19:57 +00:00
dependabot[bot]
b32f282b17 chore(deps-dev): bump svelte2tsx from 0.5.20 to 0.5.22 in /frontend (#996)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.20 to 0.5.22.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.20...svelte2tsx-0.5.22)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 18:18:37 +00:00
Ruben Fiszel
ae77a71ed6 fix svelte-markdown in description 2022-12-05 17:35:22 +01:00
Faton Ramadani
e217fbf071 fix(frontend): Fix app InputValue sync (#994)
* fix(frontend): Fix app InputValue sync

* fix(frontend): Fix drawer
2022-12-05 15:19:12 +01:00
Faton Ramadani
c9ad638958 feat(frontend): Add app preview (#993) 2022-12-05 14:48:07 +01:00
Faton Ramadani
9f59a160c3 fix(frontend): Align hub flow list + fix drawer content everywhere (#991) 2022-12-05 13:28:06 +01:00
Ruben Fiszel
35b57e20ed fix frontend errors 2022-12-05 13:26:26 +01:00
Faton Ramadani
62d2a3343d fix(frontend): Fix home margins (#992) 2022-12-05 13:23:52 +01:00
Ruben Fiszel
d64030961b improve flow viewer 2022-12-05 13:21:42 +01:00
Ruben Fiszel
ede6cbea99 improve flow viewer 2022-12-05 13:09:50 +01:00
Ruben Fiszel
177fc2b421 improve flow status viewer 2022-12-05 11:19:26 +01:00
Ruben Fiszel
d73eb26019 allow passing payload to approval method 2022-12-05 01:35:43 +01:00
Ruben Fiszel
8d27175235 fix mysql template 2022-12-05 00:09:35 +01:00
Ruben Fiszel
332bd87e9f searchable resource and variables 2022-12-04 23:57:00 +01:00
Jakub Kołodziejczak
f880b88869 chore(frontend): update types (#990) 2022-12-04 22:22:35 +01:00
Jakub Kołodziejczak
e089109b50 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
Faton Ramadani
11ef60fe9c Hub lists (#989)
* fix(frontend): Adapt hub list design

* fix(frontend): revert changes
2022-12-04 18:06:57 +01:00
Kai Jellinghaus
b64d5a621b Add CLI arg (#987) 2022-12-04 13:24:46 +01:00
Kai Jellinghaus
1bac23785c fix(cli): Fix cli pull push (#985)
* Fix workspace tar

* Ignore dotfolders
2022-12-04 13:24:31 +01:00
Faton Ramadani
9264f4b233 fix(frontend): Make context clickable (#984)
* fix(frontend): Make context clickable

* fix(frontend): Fix buttons
2022-12-04 13:24:16 +01:00
Ruben Fiszel
c55fae54dd feat: refactor favorite menu 2022-12-04 13:23:29 +01:00
Ruben Fiszel
60984a3ed8 improve search windows and remove fuse.js 2022-12-04 11:55:26 +01:00
Ruben Fiszel
372f2da5b9 remove flow_input from sleep expression 2022-12-04 01:31:59 +01:00
Ruben Fiszel
db05df6d7e superadmin can see all 2022-12-04 01:19:38 +01:00
Ruben Fiszel
e7e79bbaf7 UX improvements 2022-12-04 01:03:38 +01:00
Ruben Fiszel
e4839e21ff feat(frontend): clarified UX for connect step 2022-12-03 23:54:07 +01:00
Kai Jellinghaus
86eae2c824 feat(frontend); Improve Pie schema (#983)
* Make the pie schema good

* Remove private info

* Fix build error
2022-12-03 20:48:04 +01:00
Ruben Fiszel
5163c2fe8b simplify resource picker 2022-12-03 20:25:02 +01:00
Ruben Fiszel
e51a2161e7 automatically go to resource page add + hub tab size on index 2022-12-03 18:44:39 +01:00
Faton Ramadani
fa64e83f7e fix(frontend): fix home (#981) 2022-12-03 14:24:20 +01:00
Ruben Fiszel
90ce431418 fix(frontend): variables and resources uses tab navigation 2022-12-03 14:23:55 +01:00
Kai Jellinghaus
eb855942f9 Fix clear button for flows (#980) 2022-12-03 13:26:05 +01:00
Faton Ramadani
129a0ad56b fix(frontend): fix app preview (#979) 2022-12-03 12:49:38 +01:00
Ruben Fiszel
7c1b1c068b further resource types clarifications 2022-12-03 12:19:06 +01:00
Ruben Fiszel
d6c039935a resources improvements 2022-12-03 12:14:24 +01:00
Ruben Fiszel
ee83b0620d disable inputs non readable resource 2022-12-03 12:14:24 +01:00
Kai Jellinghaus
84dcde8e64 Expose root command (#978) 2022-12-03 11:41:54 +01:00
Ruben Fiszel
74bda463e1 improve appConnect skeletons 2022-12-03 11:26:49 +01:00
Ruben Fiszel
0ec465ca7e skeletons for home search 2022-12-03 11:03:47 +01:00
Ruben Fiszel
2071a06668 search improvement v1 2022-12-03 10:29:41 +01:00
Faton Ramadani
e9fa0ad0b7 fix(frontend): fix home header (#977)
* fix(frontend): fix home header

* fix(frontend): fix virtual list height
2022-12-03 10:11:05 +01:00
Ruben Fiszel
cafa6d4a0c add unique path and rls to apps 2022-12-03 09:21:26 +01:00
Ruben Fiszel
788688e92f improvements on app connect 2022-12-03 02:18:15 +01:00
Ruben Fiszel
026d755979 add search to appconnect 2022-12-03 02:09:59 +01:00
Ruben Fiszel
16f00ce6db fix app inline scripts 2022-12-03 01:48:39 +01:00
Ruben Fiszel
4e0816337c add resource select it directly 2022-12-03 01:28:20 +01:00
Ruben Fiszel
b20c67d91a fix select picker initialization 2022-12-03 01:13:51 +01:00
Ruben Fiszel
022459dcbd adding a resource is done in inlined-drawer 2022-12-03 00:28:51 +01:00
Ruben Fiszel
4245255fda fix workspace settings script picker 2022-12-03 00:18:06 +01:00
Ruben Fiszel
a4e4e7188f fix creating resources manually 2022-12-03 00:08:52 +01:00
Ruben Fiszel
04d2e3f316 add path env to python req 2022-12-02 23:48:42 +01:00
Ruben Fiszel
519247740a fix PIP_INDEX_URL when nsjail is disabled 2022-12-02 23:45:51 +01:00
Ruben Fiszel
dee9a3bb4a ci: remove community/ and pull-hub ci 2022-12-02 22:55:07 +01:00
Kai Jellinghaus
22653727a4 feat(cli): hub sync (#975)
* Begin add hub sync

* Add Hub sync
2022-12-02 22:51:44 +01:00
Ruben Fiszel
f51293e4f7 chore(main): release 1.52.0 (#950)
* chore(main): release 1.52.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-12-02 22:23:35 +01:00
Ádám Kovács
b76d2f9d37 feat: Add sendgrid resource (#970)
Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-12-02 22:22:35 +01:00
Ruben Fiszel
cc037458ca add resume urls at the api level 2022-12-02 22:19:15 +01:00
Faton Ramadani
5ae0e5da19 UI refactor (#973)
* fix(frontend): ui refactor

* fix(frontend): WIP

* fix(frontend): WIP

* fix(frontend): WIP

* fix(frontend): remove virtual table

* fix(frontend): Add virtual list

* fix(frontend): fix number of items

* fix(frontend): revert changes

* fix(frontend): fix build
2022-12-02 19:39:23 +01:00
Ruben Fiszel
433512dcb3 fix flow input transform error 2022-12-02 15:36:41 +01:00
Ruben Fiszel
b629552a25 fix hub script picker 2022-12-02 14:01:42 +01:00
Ruben Fiszel
8750d10eba add variable picker on all schema forms 2022-12-02 13:56:40 +01:00
Ruben Fiszel
bb43951447 add description field when adding resource 2022-12-02 12:35:06 +01:00
Ruben Fiszel
af2b9afa01 fix schemaeditor 2022-12-02 12:16:44 +01:00
Jakub Kołodziejczak
0e402f6a9d feat(deno-client): support mysql (#971) 2022-12-01 23:44:52 +01:00
Ruben Fiszel
08d489b674 add expanded logs drawer 2022-12-01 23:40:38 +01:00
Ruben Fiszel
4ef84f544f handle incorrect resource types 2022-12-01 23:29:48 +01:00
Ruben Fiszel
39c0a0aaf5 move cli gif 2022-12-01 22:58:31 +01:00
Kai Jellinghaus
d3a171c283 feat(cli): improved setup & allow workspace in base url & refactor workspaces/remotes to unify (#966)
* Setup V2 & Allow Workspace in base url

* Handle login conflict information

* Rework workspace & remote logic

* Add login logic

* Add token storage logic

* 🚀 finish refactor

* :Fix Pull

* Remove setup

* Add create-token

* Remove legacy typesc

* Fix change

* Fix warns

* fix warning

* Update README

* Switch to new workspace by default

* Update demo video

* Update Images

* remove duplicate

* Change wording

* Add to main README

* Fix main readme

* Fix videos
2022-12-01 22:56:57 +01:00
Ruben Fiszel
4ce82361da simplify adding manual resources 2022-12-01 22:51:27 +01:00
Ruben Fiszel
539d6be908 feat: unify resources under a single connect API 2022-12-01 19:28:00 +01:00
Ruben Fiszel
2845cce5ae fix list apps 2022-11-30 21:43:32 +01:00
Ruben Fiszel
5dc9dfed72 readme: imgs 2022-11-30 20:03:50 +01:00
Ruben Fiszel
c31c11e451 readme: nits and toc 2022-11-30 20:01:01 +01:00
Ruben Fiszel
cdf042b8aa add proper icon for hub scripts in flow items 2022-11-30 19:29:21 +01:00
Ruben Fiszel
a283a54da8 add proper icon for hub scripts in flow items 2022-11-30 19:27:30 +01:00
Ruben Fiszel
9b9069eb4c readme: nits and toc 2022-11-30 18:59:57 +01:00
Ruben Fiszel
effd79a448 readme: nits and toc 2022-11-30 18:56:03 +01:00
Ruben Fiszel
8fb173082a readme: add environment variables 2022-11-30 18:38:01 +01:00
Faton Ramadani
96666af3d9 fix(frontend): Refactor apps to support multiple breakpoints (#957)
* fix(frontend): Refactor apps to support multiples breakpoints

* fix(frontend): WIP

* fix(frontend): redo apps page

* fix(frontend): Hide schema for buttons

* fix(frontend): Add apps menu

* fix(frontend): Properly handle runnable delete

* fix(frontend): simplify ui

* fix(frontend): unify flow

* fix(frontend): table action design

* fix(frontend): reework runnable pick

* fix(frontend): fix apps action

* fix(frontend): Highlight output

* fix(frontend): Fix dimensions

* fix(frontend): Hide alert on button component

* fix(frontend): add number of actions when a table is selected
2022-11-30 15:59:26 +01:00
Ruben Fiszel
ee436712cb add favorites for app 2022-11-30 13:04:05 +01:00
Ruben Fiszel
ca6abb0ffc use workspace_id of the script itself 2022-11-30 12:28:28 +01:00
Ruben Fiszel
4f1e97959d overflow-auto index page 2022-11-30 11:07:44 +01:00
Ruben Fiszel
bff9130ab9 favorites on the sidebar 2022-11-30 01:47:29 +01:00
Ruben Fiszel
f3f694e925 feat: add favorite/star + remove flows/scripts page in favor of unified home page (#968)
* favorites

* favorites

* favorites

* feat(frontend): add favorite + refactor homepage
2022-11-30 00:15:43 +01:00
Ádám Kovács
ec1cebc792 feat(frontend): Update app component list (#947)
* feat(frontend): Restructure app components folder

* fix(frontend): App component settings panel

* feat(frontend): Update grouping of app components

* fix: App table action button

* fix: Playwright test
2022-11-29 20:01:21 +01:00
Ádám Kovács
ba90e8c1b8 feat(frontend): Add Mailchimp resource instructions (#967)
* feat: Add mailchimp integration

* feat: Update app icons

* feat: Update non-oauth api insctructions
2022-11-29 20:00:19 +01:00
Ruben Fiszel
6dea514d87 fix cli.svelte 2022-11-29 19:24:41 +01:00
Kai Jellinghaus
2c31a9cbdf feat(cli): Login via Frontend (#956)
* CLI login page

* Add Success Page

* Change redirect on decline

* Center & Size Loading Windmill Icon

* Fix goto debug

* fix spinner

* Workspace from URL

* Handle login --token & --workspace

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-29 16:01:53 +01:00
Marty S
b2324fa51d Remove postgres wording from mysql resource (#964) 2022-11-29 16:00:38 +01:00
Ruben Fiszel
304508fd5c quicker log feedback on resolving dependencies 2022-11-28 23:57:02 +01:00
Ruben Fiszel
12f967726b fix(backend): support PIP_INDEX_URL 2022-11-28 23:48:42 +01:00
Ruben Fiszel
afcb44a127 fix(backend): support PIP_INDEX_URL 2022-11-28 23:12:05 +01:00
Ruben Fiszel
63d95cfbb3 feat(python): add support for parsing resource type in python 2022-11-28 21:47:25 +01:00
Ruben Fiszel
9d0625e92e fix editor popover for apps 2022-11-28 20:58:30 +01:00
Jakub Kołodziejczak
692ecf0239 chore(frontend): (opinionated) description improvement (#965) 2022-11-28 20:42:40 +01:00
Jakub Kołodziejczak
4d8a5c4fd9 fix(frontend): psql demo expects integers as a key (#958) 2022-11-28 19:33:49 +01:00
dependabot[bot]
11e9109107 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#961)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.40.1 to 5.45.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.45.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 18:24:09 +00:00
dependabot[bot]
8106a9ddff chore(deps-dev): bump eslint from 8.26.0 to 8.28.0 in /frontend (#962)
Bumps [eslint](https://github.com/eslint/eslint) from 8.26.0 to 8.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.26.0...v8.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 18:15:08 +00:00
dependabot[bot]
fbaefc88f6 chore(deps-dev): bump typescript from 4.8.4 to 4.9.3 in /frontend (#960)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.4...v4.9.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 18:13:57 +00:00
dependabot[bot]
e4b161dde3 chore(deps-dev): bump @types/vscode from 1.73.0 to 1.73.1 in /frontend (#959)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.73.0 to 1.73.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 18:13:30 +00:00
Ruben Fiszel
9761cb3a8c increase failure loglines capture 2022-11-28 17:52:32 +01:00
Ruben Fiszel
c51f63da55 remove mailchimp from oauth native support 2022-11-28 17:32:47 +01:00
Ruben Fiszel
d5149eca03 add mailchimp to oauth 2022-11-28 15:25:08 +01:00
Kai Jellinghaus
38c0085c5d Resource Type Push (#955) 2022-11-28 14:15:17 +01:00
Faton Ramadani
acdd0fea7d App editor preview (#954)
* fix(frontend): Fix refresh button

* fix(frontend): remove preview border
2022-11-28 11:49:47 +01:00
Faton Ramadani
ed7838d6bc fix(frontend): Fix pie animation + actions wrap (#953)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-28 11:31:17 +01:00
Ruben Fiszel
d9f544ea20 fix script detail page 2022-11-28 11:29:16 +01:00
Ruben Fiszel
494609364c feat: overhaul scripts and flows page 2022-11-28 11:18:32 +01:00
Ruben Fiszel
c26be86cef feat: overhaul scripts and flows page 2022-11-28 11:16:10 +01:00
Faton Ramadani
6c45fe7344 feat(frontend): rework script detail (#952)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-28 10:19:49 +01:00
Ruben Fiszel
a45eff0cee fix frontend errors 2022-11-27 21:29:13 +01:00
Ruben Fiszel
48c7ed129d iteration 1 on the hub script picker 2022-11-27 19:58:48 +01:00
Ruben Fiszel
c86c39ddea ensure we always load the secret value in the variable editor 2022-11-27 19:05:35 +01:00
Faton Ramadani
1069105451 feat(frontend): Add actions to tables (#951)
* fix(frontend): WIP

* fix(frontend): WIP

* fix(frontend): Sub runnable

* fix(frontend): revert changes

* fix(frontend): fix build
2022-11-27 17:47:19 +01:00
Ruben Fiszel
56204a511c ensure we always load the secret value in the variable editor 2022-11-27 17:45:11 +01:00
dependabot[bot]
8a4f034d88 chore(deps-dev): bump prettier-plugin-svelte in /frontend (#926)
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/commits)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 16:36:09 +00:00
Ruben Fiszel
37967a7950 feat: refactor variable + resource linkage + OAuth visibility 2022-11-27 17:26:37 +01:00
Ruben Fiszel
55020e6df9 fix cloudflare pages hostname redirection 2022-11-27 14:17:09 +01:00
Ruben Fiszel
346a7f3f47 more visibility on OAuth errors Vol 1 2022-11-27 14:00:55 +01:00
Ruben Fiszel
02a9c5c4ea feat(frontend): flow status viewer include a graph 2022-11-27 09:49:16 +01:00
Ruben Fiszel
10e4cf0205 fix flowmodule splitpane size 2022-11-27 02:04:07 +01:00
Ruben Fiszel
3301970b75 allow admins to override the c_ prefix 2022-11-27 01:17:07 +01:00
Ruben Fiszel
e3edec0951 fix deno_flow_same_worker test 2022-11-27 00:50:09 +01:00
Ruben Fiszel
f4ec1a7fc3 chore(main): release 1.51.0 (#930)
* chore(main): release 1.51.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-27 00:41:29 +01:00
github-actions[bot]
8414766247 sync hub items with community (#949)
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-27 00:40:54 +01:00
Ruben Fiszel
ab03a4f190 UX improvements 2022-11-27 00:07:44 +01:00
Ruben Fiszel
afbb902d3d increase description length for resource types 2022-11-26 23:10:46 +01:00
Ruben Fiszel
6c03aad73e UX improvements 2022-11-26 23:09:21 +01:00
Ruben Fiszel
ac6454b383 fix(deno-client): pg 0.16.1 -> 0.17.0 2022-11-26 20:51:59 +01:00
Ruben Fiszel
6d134ceea3 pg migration 2022-11-26 19:39:37 +01:00
Ruben Fiszel
890ec2cb4e fix no color without nsjail 2022-11-26 19:06:36 +01:00
Ruben Fiszel
53fb0ce2ee fix same_worker/shared to work with and without nsjail 2022-11-26 19:02:49 +01:00
Ruben Fiszel
294824769f use caching for dockerfile 2022-11-26 17:17:10 +01:00
Ruben Fiszel
b9cb9e9987 fix adding nsjail based on arg 2022-11-26 17:13:14 +01:00
Ruben Fiszel
df8d84dcab fix adding nsjail based on arg 2022-11-26 16:52:25 +01:00
Ruben Fiszel
9fe8e045fb fix overflow for dropdown on resources 2022-11-26 16:47:01 +01:00
Ruben Fiszel
adc9689950 fix getting email from github 2022-11-26 15:57:55 +01:00
Ruben Fiszel
8bf4699bd6 fix getting email from github 2022-11-26 15:33:15 +01:00
Ruben Fiszel
c2f064d167 update default login scopes for github 2022-11-26 14:52:30 +01:00
Ruben Fiszel
897de60189 update sqlx-info 2022-11-26 14:46:13 +01:00
Ruben Fiszel
d503bdfe16 modify github default oauth scopes 2022-11-26 14:43:14 +01:00
Ruben Fiszel
50f193aa63 more explicit error for login 2022-11-26 14:38:45 +01:00
Ruben Fiszel
c8d5f853c5 fix removing users 2022-11-26 14:21:42 +01:00
Kai Jellinghaus
fd31e24816 Update renders (#948) 2022-11-26 04:59:51 +01:00
Ruben Fiszel
ce528a7748 UX nits 2022-11-25 20:28:55 +01:00
Ruben Fiszel
9f51532d01 add support for fetching variable and resource from bash 2022-11-25 19:40:38 +01:00
Ruben Fiszel
d3b3cf6b11 add urandom and all /etc to nsjail 2022-11-25 19:05:41 +01:00
Kai Jellinghaus
cdd3e2cfc1 feat(cli): Run flows & scripts (#940)
* Enable Script Running from CLI

* Improve Script Logic & Enable Flow run

* Update README

* Fix empty input 415 unsupported media type

* Add flow execution asciicast

* Allow reading inputs

* Add --silent & print result

* Updated syntax

* Update readme

* Fix superadmin users

* Handle values correctly

* Rework input parsing to try-catch JSON

* Accept all input types

* VHS scripts

* Test add Video to Markdown

* Use GIF only

* Final revisions

* I'm not sure why this works but stackoverflow told me
https://stackoverflow.com/questions/4279611/how-to-embed-a-video-into-github-readme-md/4279746#4279746

* Also rename file?

* Use MP4

* Use GIF

* Use MP4 again

* Revert "Use MP4 again"

This reverts commit d3ed4dc28a.
2022-11-25 18:05:23 +01:00
Ruben Fiszel
2fc8c471e4 remove armv7 support for now 2022-11-25 18:05:05 +01:00
Ruben Fiszel
ad87dd4379 add support for rpi 2022-11-25 17:24:50 +01:00
Ruben Fiszel
634798b407 remove nsjail from the non enterprise image 2022-11-25 17:10:50 +01:00
Ruben Fiszel
7b26d2230e remove nsjail from the non enterprise image 2022-11-25 17:04:52 +01:00
Ruben Fiszel
b8dd2078a1 remove nsjail from the non enterprise image 2022-11-25 16:57:02 +01:00
Ruben Fiszel
8a4282ef6a disable nsjail by default 2022-11-25 16:31:15 +01:00
Ádám Kovács
ddab2dffd5 feat(frontend): Add inline script picker to apps (#945)
* feat(frontend): Add inline script picker
2022-11-25 08:27:43 +01:00
Ruben Fiszel
776a5e54a8 support for generic userinfo_url 2022-11-25 04:54:14 +01:00
Ruben Fiszel
7bf0caa38d remove duplicate logins 2022-11-24 18:30:35 +01:00
Ádám Kovács
dd75b370af feat(frontend): Add guard against script overwrite (#944)
* feat(frontend): Add guard against script overwrite

* fix: Error message flash up
2022-11-24 13:34:26 +01:00
Ádám Kovács
79cec368ba feat: Add notification on app save (#943) 2022-11-24 12:51:57 +01:00
Ruben Fiszel
9008cd7978 flex-wrap on script builder languages 2022-11-24 12:10:37 +01:00
Ruben Fiszel
ae635a4d1f add custom login to the login page 2022-11-24 11:46:46 +01:00
Ruben Fiszel
975a1db10e feat(backend): add configurable custom client 2022-11-24 11:40:02 +01:00
Ruben Fiszel
99bb6ce775 no error message on canceling a completed job 2022-11-24 10:18:29 +01:00
Ruben Fiszel
267d30f9ac fix flow UX 2022-11-24 09:16:05 +01:00
Ruben Fiszel
afbba6bbd1 fix flow UX 2022-11-24 02:30:41 +01:00
Ruben Fiszel
7191c294d4 fix UX flow 2022-11-24 02:04:53 +01:00
Ruben Fiszel
b3ac7e1337 fix flow UX 2022-11-24 02:04:53 +01:00
Faton Ramadani
43a1d7ef2a fix(frontend): add checkbox component + fix alignment (#941) 2022-11-24 00:08:56 +01:00
Kai Jellinghaus
94e15f8493 Enable user deletion (#939)
* Update windmill version

* Enable User Deletion
2022-11-23 20:38:27 +01:00
Faton Ramadani
e64195e42b fix(frontend): prevent runnable to run if the script is not defined (#938) 2022-11-23 20:37:38 +01:00
Ádám Kovács
4b2b3467d2 feat: Update apps button component with colors (#936)
* feat: Update app component types

* fix: Typos

* feat: Add select input type to components

* fix: Remove width property from component types

* fix: Make button full width in editor

* fix: Types

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-11-23 19:45:19 +01:00
Faton Ramadani
ab481b3096 fix(frontend): Fix context panel + delete component (#937)
* fix(frontend): Fix context panel + delete component

* fix(frontend): Handle nested paths
2022-11-23 19:31:36 +01:00
Kai Jellinghaus
4ddb3ec276 fix(backend): bash flow lock & add flow lock tests (#933)
* Fix Bash flow lock

* Tests w/ fixes

* Add Sequence privileges
2022-11-23 19:17:19 +01:00
Ruben Fiszel
e8d4cf2ba7 add ld.so.cache to bash path 2022-11-23 15:20:50 +01:00
Faton Ramadani
fa4840ad65 fix(frontend): Cleanup dead code (#935) 2022-11-23 14:45:56 +01:00
Faton Ramadani
b59a1de93b fix(frontend): properly refresh context panel + Adjust style in the flow editor (#934) 2022-11-23 14:24:04 +01:00
Ruben Fiszel
0968caa6e9 nits on nsjail config 2022-11-23 14:00:49 +01:00
Ruben Fiszel
1ad3d263d9 UX nits and theme 2022-11-23 12:30:05 +01:00
Ruben Fiszel
90d4d99bea UX nits and theme 2022-11-23 12:19:00 +01:00
Ruben Fiszel
2a1898216b UX nits 2022-11-23 11:29:06 +01:00
Faton Ramadani
682c44a39e Runnable refactor (#932)
* fix(frontend): Support runnable everywhere

* fix(frontend): Runnable component working

* fix(frontend): Simplify implementation

* fix(frontend): User inputs working

* fix(frontend): Fix connections

* fix(frontend): auto refresh

* fix(frontend): revert changes
2022-11-23 10:30:58 +01:00
Ruben Fiszel
df97121527 UX nits 2022-11-23 10:30:08 +01:00
Ruben Fiszel
c53424dda6 ci: login to registry no matter what 2022-11-23 01:51:57 +01:00
Ruben Fiszel
d26539a1ac UX nits 2022-11-23 01:03:03 +01:00
Ruben Fiszel
841382e566 UX nits 2022-11-23 00:58:50 +01:00
Ruben Fiszel
5028d8603d feat(frontend): login page makeup 2022-11-23 00:53:37 +01:00
Ruben Fiszel
ced2678a21 feat(frontend): login page makeup 2022-11-23 00:53:37 +01:00
Kai Jellinghaus
af3a62a443 Fix Python flow lock (#931) 2022-11-22 22:56:06 +01:00
Ruben Fiszel
7cab28db95 fix icon for bash on flows 2022-11-22 17:05:35 +01:00
Ruben Fiszel
802abe7f90 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
Faton Ramadani
b935d69aad Runnable refactor (#929)
* fix(frontend): Support runnable everywhere

* fix(frontend): Runnable component working
2022-11-22 15:45:10 +01:00
dependabot[bot]
aa08263661 chore(deps): bump svelte-chartjs from 3.0.1 to 3.1.0 in /frontend (#925)
Bumps [svelte-chartjs](https://github.com/SauravKanchan/svelte-chartjs) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/SauravKanchan/svelte-chartjs/releases)
- [Changelog](https://github.com/SauravKanchan/svelte-chartjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SauravKanchan/svelte-chartjs/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: svelte-chartjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 18:45:38 +00:00
dependabot[bot]
67da9b9514 chore(deps-dev): bump @playwright/test in /frontend (#924)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.27.1...v1.28.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 18:45:07 +00:00
Ruben Fiszel
16166df490 fix enterprise code 2022-11-21 19:19:42 +01:00
Ruben Fiszel
a3ab4f1b87 chore(main): release 1.50.0 (#921)
* chore(main): release 1.50.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-21 19:06:13 +01:00
Ruben Fiszel
c8266fb8b3 feat(deno,python): get/set_shared_state 2022-11-21 19:04:14 +01:00
Ruben Fiszel
c6a7313c26 distribute the sync from workers more evenly 2022-11-21 18:30:58 +01:00
Faton Ramadani
7bf21f572d App editor inline editor (#917)
* fix(frontend): add table

* fix(frontend): Rework the context panel

* fix(frontend): WIP

* fix(frontend): hide script selector when selected

* fix(frontend): Fix preview mode + remove errors

* fix(frontend): Fix table search

* fix(frontend): temporary fix
2022-11-21 18:24:46 +01:00
Ruben Fiszel
aa7275d148 flow UX nit 2022-11-21 17:39:24 +01:00
Ruben Fiszel
d23e218e1f feat(frontend): overhaul the whole flow UX 2022-11-21 17:28:55 +01:00
Ruben Fiszel
c6dc07007c fix tarring the entire cache back to s3 + UX nits 2022-11-21 09:25:22 +01:00
Ruben Fiszel
2b05ea9e8b ci: build_ee in parralel of build 2022-11-20 21:59:39 +01:00
Ruben Fiszel
74dac445ee ci: build_ee in parralel of build 2022-11-20 21:47:39 +01:00
Ruben Fiszel
a3529759ad fix(caching): preserve permissions 2022-11-20 21:39:57 +01:00
Ruben Fiszel
52b744f8f3 chore(main): release 1.49.1 (#920)
* chore(main): release 1.49.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-20 20:10:02 +01:00
Ruben Fiszel
7af345e5e5 fix(caching): add a second caching mechanism by tarring the entire cache for fast startup 2022-11-20 19:46:01 +01:00
Ruben Fiszel
b62f1a4502 better logging for worker 2022-11-20 18:06:53 +01:00
Ruben Fiszel
79482f19f9 improve distributed caching 2022-11-20 17:48:49 +01:00
Ruben Fiszel
b571da5356 improve distributed caching 2022-11-20 17:48:46 +01:00
Ruben Fiszel
801ceec416 chore(main): release 1.49.0 (#918)
* chore(main): release 1.49.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-20 15:01:49 +01:00
Ruben Fiszel
46fe9ad525 feat(python-client): remove unecessary imports in wmill to speed-up imports 2022-11-20 14:59:50 +01:00
Ruben Fiszel
838a92a0db feat(go): improve cold start of 200ms by building outside of nsjail 2022-11-20 14:40:29 +01:00
Ruben Fiszel
8a71625c52 fix enterprise sync 2022-11-20 11:12:53 +01:00
Ruben Fiszel
61dd5e7e26 resync even for later steps 2022-11-20 04:34:38 +01:00
Ruben Fiszel
591f4540cf remove ? from Issues/Feedback 2022-11-19 19:39:29 +01:00
Ruben Fiszel
1043666ae9 chore(main): release 1.48.2 (#916)
* chore(main): release 1.48.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-19 18:54:47 +01:00
Ruben Fiszel
17c3181264 nit for app resource types 2022-11-19 18:13:26 +01:00
Ruben Fiszel
ca1d7e1278 add editable resources 2022-11-19 18:10:04 +01:00
Ruben Fiszel
e33bd1e6b2 fix(go-client): support setVariable, setResource, setState, getState 2022-11-19 16:54:12 +01:00
Ruben Fiszel
29521dd6cb chore(main): release 1.48.1 (#915)
* chore(main): release 1.48.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-19 15:17:11 +01:00
Ruben Fiszel
52f05355cf redirect to cli for sync from github 2022-11-19 15:16:15 +01:00
Ruben Fiszel
76720e2b4d fix lsp 2022-11-19 11:54:27 +01:00
Ruben Fiszel
b08fe63998 add resolver backtracking to silence error 2022-11-19 10:17:36 +01:00
Ruben Fiszel
968675d8d0 fix(python-client): get_state on empty state return None 2022-11-19 10:10:38 +01:00
Ruben Fiszel
5a133c61a1 improve run page UX 2022-11-19 09:15:03 +01:00
Ruben Fiszel
0dfba7607f logout take into account COOKIE_DOMAIN 2022-11-19 08:32:57 +01:00
Ruben Fiszel
75b1ae83c4 force creating initial cache dirs after resync 2022-11-18 21:17:38 +01:00
Ruben Fiszel
2923226cfb cleanup logs 2022-11-18 21:08:29 +01:00
Ruben Fiszel
d1df88b2bb chore(main): release 1.48.0 (#910)
* chore(main): release 1.48.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-18 20:40:49 +01:00
Ruben Fiszel
8645d6eb7a ci: heavy needs build step 2022-11-18 20:21:31 +01:00
Ruben Fiszel
8846ca5856 feat: supercache extended to all version 2022-11-18 20:17:23 +01:00
Ruben Fiszel
9e9e66c80a build ee internally 2022-11-18 18:25:09 +01:00
Kai Jellinghaus
bd09884955 feat(backend): sync cache features on all workers [enterprise] (#907)
* Periodic Job

* Add write lock & bash execution

* Use env for bash script

* Enterprise Feature

* Only time based

* Cleanup

* Move code

* Use rclone sync

* WIP

* Use buildarg

* Remove unecessary deps

* 10 Minute Intervals

* Revert testing change

* Manually pull rclone

* fix rclone

* Initial sync

* Update worker.rs

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-18 17:20:39 +01:00
Faton Ramadani
3f8295bb0c fix(frontend): Reduce the size of the separator + fix Auto scroll (#895)
* fix(frontend): Reduce the size of the separator + fix Auto scroll padding

* fix(frontend): revert changes
2022-11-18 14:46:48 +01:00
Ruben Fiszel
1d90d0a7b2 logout also accepts get 2022-11-18 11:20:35 +01:00
Ruben Fiszel
b65594c41a adjust cookie set-header for CaddyfileRemote 2022-11-18 11:13:58 +01:00
Ruben Fiszel
1ad8d8c535 rd optionally on logout 2022-11-18 11:03:38 +01:00
Ruben Fiszel
d054686471 allow rd to external sites after login 2022-11-18 09:33:37 +01:00
Ruben Fiszel
5cbc87e025 add COOKIE_DOMAIN to set domain of cookies 2022-11-18 09:06:10 +01:00
Faton Ramadani
53a8c5e04c fix(frontend): app editor v1 (#908)
* fix(frontend): app editor v1

* fix(frontend): fix new section

* fix(frontend): Component creation

* fix(frontend): Add preview

* fix(frontend): Add helper text

* fix(frontend): Add plain text component

* fix(frontend): Add text component

* fix(frontend): Fix DND

* fix(frontend): Fix

* fix(frontend): remove debugger

* fix(frontend): fix build errors
2022-11-18 00:28:25 +01:00
Ruben Fiszel
0b50e2b9ce improve same_worker UX clarity 2022-11-17 18:03:07 +01:00
Ruben Fiszel
4e6cb10776 clearer connect button in flows 2022-11-17 14:42:26 +01:00
Ruben Fiszel
140c83abc9 make parameters of flow inputs reorderable 2022-11-17 13:44:35 +01:00
Ruben Fiszel
448b08dd05 fix removing element from schemaeditor without resetting all required 2022-11-17 13:18:01 +01:00
Ruben Fiszel
6152bd3692 m-1 on drawercontent buttons 2022-11-17 13:09:56 +01:00
Ruben Fiszel
d28e671b97 fix load flow input correctly 2022-11-17 12:17:06 +01:00
Ruben Fiszel
80df3c92bd fix initial python script 2022-11-17 12:07:13 +01:00
Ruben Fiszel
18e298f2ad overflow-auto table custom 2022-11-17 10:13:06 +01:00
Ruben Fiszel
199a11a8cf fix: support flows to be triggered by slack commands 2022-11-16 21:50:51 +01:00
Jakub Kołodziejczak
ae6ca89957 chore(frontend): improve ux for "skip if stopped" (#912) 2022-11-16 21:12:22 +01:00
Ruben Fiszel
5f83655daa add build-essential to base image + pip install has path as env variable 2022-11-16 18:47:11 +01:00
Marty S
57ee37e163 Deployement -> Deployment (#911) 2022-11-16 15:35:58 +01:00
Ruben Fiszel
fca5940e80 visual hints when buttons are loading goto 2022-11-16 15:35:22 +01:00
Ruben Fiszel
18f565ba28 script builder: metadata -> advanced 2022-11-16 14:10:51 +01:00
Ruben Fiszel
9d17abbb12 feat(python): add Resource[resource_type] as a parsed parameter 2022-11-16 14:08:55 +01:00
Ruben Fiszel
b3178d1b8a feat: add slack_bot token on connecting workspace to slack 2022-11-16 00:27:21 +01:00
Ruben Fiszel
381b0368d7 fix(backend): saving bash script does not require dep job 2022-11-15 17:20:15 +01:00
Ruben Fiszel
d76885724e fix empty path for get_resource and set_resource 2022-11-15 14:28:22 +01:00
Ruben Fiszel
edd0132298 use async internval for loading logs for better handling of slow connections 2022-11-15 14:18:10 +01:00
Ruben Fiszel
e7ac157bab chore(main): release 1.47.3 (#905)
* chore(main): release 1.47.3

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-15 14:05:26 +01:00
Ruben Fiszel
a649f772a5 fix(python-client): fix transform_leaves 2022-11-15 14:03:54 +01:00
Ruben Fiszel
bd836b6835 chore(main): release 1.47.2 (#904)
* chore(main): release 1.47.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-15 14:02:02 +01:00
Ruben Fiszel
b4fd470025 fix(python-client): fix get_state 2022-11-15 13:59:58 +01:00
Ruben Fiszel
b47c28471c chore(main): release 1.47.1 (#903)
* chore(main): release 1.47.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-15 13:45:09 +01:00
Ruben Fiszel
a6a5adadf4 fix(python-client): fix set_resource 2022-11-15 13:38:46 +01:00
Ruben Fiszel
1cd54576b4 chore(main): release 1.47.0 (#892)
* chore(main): release 1.47.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-15 13:28:27 +01:00
Ruben Fiszel
87a4db710e InternalState -> State 2022-11-15 13:27:24 +01:00
Ruben Fiszel
32bca1fd4c feat(clients): rename internal state as state + setters for resources/variables in python 2022-11-15 13:16:53 +01:00
Ruben Fiszel
2484f15a79 menu redesign 2022-11-15 11:57:05 +01:00
Ruben Fiszel
1287b2ae3a improve trash button for flow map 2022-11-15 10:40:15 +01:00
Ruben Fiszel
aa92249607 improve flow UX 2022-11-15 02:25:00 +01:00
Ruben Fiszel
e71fca35ca improve flow UX 2022-11-15 01:17:30 +01:00
Ruben Fiszel
be1a280e2c improve README 2022-11-15 00:14:22 +01:00
Ruben Fiszel
7b432246ea improve flow UX 2022-11-14 23:59:49 +01:00
Ruben Fiszel
302fe292c0 improve flow UX 2022-11-14 23:49:07 +01:00
Ruben Fiszel
fc16960df2 improve flow UX 2022-11-14 23:36:28 +01:00
Ruben Fiszel
a15b3117c2 improve flow UX 2022-11-14 23:30:19 +01:00
dependabot[bot]
21c8440ef5 chore(deps-dev): bump svelte from 3.52.0 to 3.53.1 in /frontend (#900)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.52.0 to 3.53.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.52.0...v3.53.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 18:51:57 +00:00
dependabot[bot]
61242867f2 chore(deps-dev): bump @tailwindcss/typography in /frontend (#901)
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 18:40:25 +00:00
dependabot[bot]
5df146e6ac chore(deps-dev): bump @typescript-eslint/parser in /frontend (#899)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.40.1 to 5.43.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.43.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 18:18:57 +00:00
dependabot[bot]
6e46f34107 chore(deps-dev): bump @sveltejs/adapter-static in /frontend (#898)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.47 to 1.0.0-next.48.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@1.0.0-next.48/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 18:17:44 +00:00
Faton Ramadani
e8d3a0efb1 fix(frontend): add size prop to tabs (#894) 2022-11-14 18:04:47 +01:00
Ruben Fiszel
1eedbfaedb fix digest for createapp 2022-11-14 18:00:51 +01:00
Faton Ramadani
cc5f629a7b fix(frontend): App Editor v0 (#886) 2022-11-14 17:30:49 +01:00
Faton Ramadani
4dc05b913e fix(frontend): Set settings as header and error handler as footer (#893) 2022-11-14 11:45:35 +01:00
Ruben Fiszel
c8b35a26a3 add cache dir for deno even when nsjail disabled 2022-11-14 11:43:56 +01:00
Ruben Fiszel
8fdc2ba63a fix listApps 2022-11-14 10:26:39 +01:00
Ruben Fiszel
a9abd28882 fix(backend): go use windmill cache dir even if nsjail disabled 2022-11-14 09:20:09 +01:00
Kai Jellinghaus
47c9ff1edc feat(backend): Flow lock (#868)
* Add lockfile information

* Allow Lockfiles to be pushed to queue

* Handle raw_lock on worker

* Flow Lock Job

* Allow RawScript path

* Simplify handle_code_execution_job

* Regenerate SQLX

* Fix tests

* fix test

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-13 18:31:08 +01:00
Ruben Fiszel
3357cffb04 feat(backend): remove go.sum from go lockfile (#891) 2022-11-13 17:36:35 +01:00
Ruben Fiszel
a79a48d506 Update docker-image.yml 2022-11-13 12:03:30 +01:00
Ruben Fiszel
972a8d5c9f display app as summary in flowgraph 2022-11-13 01:16:32 +01:00
Ruben Fiszel
16ace70242 center flowgraph 2022-11-13 01:07:23 +01:00
Ruben Fiszel
3189e02477 chore(main): release 1.46.2 (#890)
* chore(main): release 1.46.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-12 20:59:31 +01:00
Ruben Fiszel
ab8b2296c3 fix truncate summary and adapt graph size 2022-11-12 20:54:37 +01:00
Ruben Fiszel
76a6768ed9 fix(ci): sqlx offline data 2022-11-12 20:41:23 +01:00
Ruben Fiszel
e13f14988a chore(main): release 1.46.1 (#889)
* chore(main): release 1.46.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-12 20:18:28 +01:00
Ruben Fiszel
2d9e9909da fix(backend): apps backend v0 (#888)
* progress

* post merge

* progress

* fix

* fix

* fix

* fix

* v1

* fix openapi
2022-11-12 20:17:08 +01:00
Ruben Fiszel
df11f506e6 chore(main): release 1.46.0 (#871) 2022-11-12 20:15:41 +01:00
Ádám Kovács
9bf0f6e70d feat(frontend): Flow graph (#827)
* chore(frontend): Install d3@7.6.1

* feat(frontend): Add basic graph components

* feat: Add graph node component

* feat: Add graph edges

* fix: Rename graph flow module

* feat: Add flow graph to editor

* feat: Add loops

* feat: Add hub scripts to graph

* fix: Display hub scripts

* fix: Nested loops

* feat: Graph displaying packages

* fix: Remove unused parts

* feat: Update graph layout

* fix: Clean up imports

* feat: Add icons to graph nodes

* feat: Add graph viewer to flow details page

* fix: Action row component on scroll behaviour

* fix: Update supported languages type

* fix: Add bash language icons

* fix: Support empty scripts and branches

* fix: Ellipsizing virtual node text

* feat: Display script id in node

* fix: Remove graph from flow editor

* fix: Update node id display

* chore: Remove unused packages

* flow viewer

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-12 20:14:29 +01:00
Ruben Fiszel
88a983b3fa Update docker-image.yml 2022-11-12 18:35:25 +01:00
Ruben Fiszel
9d1320bae3 fix publish internal 2022-11-12 13:45:39 +01:00
Marty S
0cf4ad1ef6 Add helm and AWS cli to main image (#887)
* Add helm and AWS cli to main image

* Add internal build

* Move dockerfile location

* Capitalize helm

Co-authored-by: martys <44445285+martysmojo@users.noreply.github.com>
2022-11-11 20:13:24 +01:00
Ruben Fiszel
68adf2172e ci: overwrite with multibuild 2022-11-11 14:57:17 +01:00
Ruben Fiszel
7e85e411d4 increase ci timeout 2022-11-10 17:18:58 +01:00
Ruben Fiszel
dddba54bdc fix edit schedule 2022-11-10 16:49:16 +01:00
Ruben Fiszel
c3b2bab5d1 feat: publish arm64 image (#885) 2022-11-10 14:36:30 +01:00
Ruben Fiszel
79b5a31c78 improve flow's UX 2022-11-10 10:10:32 +01:00
Ruben Fiszel
6fe5c99af4 tweak identity to extract previous_result 2022-11-10 08:48:06 +01:00
Ruben Fiszel
40183ce4e4 feat: deprecate previous_result in favor of results per id 2022-11-10 01:58:52 +01:00
Kai Jellinghaus
a218fbf194 Add Install & Upgrade info to README (#884) 2022-11-09 07:47:42 +01:00
Ruben Fiszel
0bf060ae4c improve flow UX 2022-11-09 01:22:39 +01:00
Ruben Fiszel
06bfe17335 improve banching UX in minimap of flows 2022-11-09 01:00:01 +01:00
Ruben Fiszel
493f707e7c fix navigation on flows and script editor 2022-11-09 00:20:43 +01:00
DMoosh
c627f85fc3 Update README.md (#883)
Grammar/spelling
2022-11-08 23:51:38 +01:00
Ruben Fiszel
f857edeaa9 small dropdown UX fix for schedules 2022-11-08 23:41:53 +01:00
Ruben Fiszel
a146aa323f small UX and client fixes 2022-11-08 23:38:17 +01:00
Kai Jellinghaus
a658308b59 feat(cli): Relax push folder layout to accept one layer of organizational structure (#882)
* Relax folder layout to accept one layer of organizational structure

* Fix incorrect import
2022-11-08 18:18:15 +01:00
Kai Jellinghaus
8db4d542e7 Disable Deno Lock Files unless feature flag require it(#881) 2022-11-08 16:52:45 +01:00
Ruben Fiszel
c74cde953c frontend nits 2022-11-08 11:48:05 +01:00
Ruben Fiszel
0cc1a84862 more spacing in runs page + fix drawer click away 2022-11-08 11:22:40 +01:00
Ruben Fiszel
5ba76986f3 runs chart tooltip improvement 2022-11-08 11:06:35 +01:00
Ruben Fiszel
79e2865ab9 pass workspace as query arg of every runs link 2022-11-08 10:28:06 +01:00
Ruben Fiszel
bd9c80d028 fix python on nsjail 2022-11-08 00:42:14 +01:00
Ruben Fiszel
2c81c4dc39 fix copy first step schema + import buttons 2022-11-07 21:54:49 +01:00
Ruben Fiszel
8e537a80bd fix unknown type not handled and add go interface as recognizable type 2022-11-07 20:52:04 +01:00
dependabot[bot]
3c6615f055 chore(deps-dev): bump tailwindcss from 3.2.1 to 3.2.2 in /frontend (#878)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 19:17:24 +00:00
dependabot[bot]
c5b4ed2fb1 chore(deps-dev): bump @zerodevx/svelte-toast in /frontend (#879)
Bumps [@zerodevx/svelte-toast](https://github.com/zerodevx/svelte-toast) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/zerodevx/svelte-toast/releases)
- [Commits](https://github.com/zerodevx/svelte-toast/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: "@zerodevx/svelte-toast"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 19:06:56 +00:00
dependabot[bot]
63c95a91c5 chore(deps-dev): bump @types/vscode from 1.72.0 to 1.73.0 in /frontend (#876)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.72.0 to 1.73.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 18:41:53 +00:00
dependabot[bot]
f7f7f94f5f chore(deps-dev): bump cssnano from 5.1.13 to 5.1.14 in /frontend (#875)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.1.13 to 5.1.14.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.1.13...cssnano@5.1.14)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 18:31:19 +00:00
dependabot[bot]
cd32841cb3 chore(deps): bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 (#874)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.4...v1.3.5)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 18:20:59 +00:00
dependabot[bot]
59b981cc43 chore(deps): bump python from 3.10-slim-buster to 3.11.0-slim-buster (#873)
Bumps python from 3.10-slim-buster to 3.11.0-slim-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 18:12:42 +00:00
Ruben Fiszel
3e50d2a93f fix prop picker on focus 2022-11-07 16:46:02 +01:00
Kai Jellinghaus
d375836989 feat(cli): Tarball pull (#867)
* Add tarball pull

* Move command & prompt on conflict

* Remove old file

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-07 16:02:49 +01:00
Kai Jellinghaus
b6fd957271 Allow complex action setups in benches (#869)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-07 15:38:28 +01:00
Ruben Fiszel
76bb67b9ff ci: rework deploy 2022-11-07 14:53:21 +01:00
Ruben Fiszel
d9c3a1ff42 ci: trim down docker main docker image 2022-11-07 13:37:37 +01:00
Jakub Kołodziejczak
e08ca0423c refactor(backend): improve memory footprint related to csp (#866) 2022-11-07 01:29:37 +01:00
Ruben Fiszel
b490f83575 include bash in flow inlines 2022-11-07 00:17:32 +01:00
Ruben Fiszel
fe7bfecc0a nit: fix go-client 2022-11-06 23:57:16 +01:00
Ruben Fiszel
4899972f67 chore(main): release 1.45.0 (#855)
* chore(main): release 1.45.0

* Apply automatic changes

* Update CHANGELOG.md

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-06 23:50:19 +01:00
Ruben Fiszel
3c09275960 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
Jakub Kołodziejczak
3333713644 chore(backend): set csp based on env var (#864)
* chore(backend): set csp based on env var

* use extension instead of reading directly from env var
2022-11-06 22:35:37 +01:00
Ruben Fiszel
7def5e17ca nit UX on FlowPreviewContent 2022-11-06 19:51:50 +01:00
Jakub Kołodziejczak
209dee7bd8 chore(csp): fix trailing semicolon (#863) 2022-11-06 19:50:45 +01:00
Ruben Fiszel
975e63a8e9 nit UX on FlowPreviewContent 2022-11-06 19:48:47 +01:00
Ruben Fiszel
753a66488c nit UX on FlowPreviewContent 2022-11-06 18:16:55 +01:00
Jakub Kołodziejczak
3ba18700de fix(backend): improve csp (#861)
rationale for setting `'unsafe-inline'` is that it cannot be more void
than the lack of `script-src` but it still might add some benefits
2022-11-06 18:00:16 +01:00
Ruben Fiszel
adfc0ff734 capture event on dropdown click 2022-11-06 17:56:57 +01:00
Ruben Fiszel
6a597b8d3b add groups delete + re-enable ellipsis 2022-11-06 17:55:01 +01:00
Jakub Kołodziejczak
7040bbe4c9 fix(backend): tighten http security headers (#860)
* fix(backend): set http security headers (vol.1)

* (vol.2) minimal *working* content security policy

* (vol.3) set csp only if https and if hosted on cloud

* improve generics

* get CLOUD_HOSTED from extension

* remove X-XSS-Protection

rationale as per: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

* conditionally set all security related http headers
2022-11-06 17:07:25 +01:00
Ruben Fiszel
252cf375b7 add autofocus for run page 2022-11-06 16:31:50 +01:00
Ruben Fiszel
8fd0e23c80 UX improvements for run script 2022-11-06 16:08:10 +01:00
Ruben Fiszel
bff8331eb0 drawer nits + logo in top menu 2022-11-06 11:52:16 +01:00
Ruben Fiszel
5b4c9d9eb0 fix(frontend): reload websocket on lsp go import install 2022-11-06 08:59:35 +01:00
Ruben Fiszel
83c79a47ee fix(frontend): dispose monaco models onDestroy 2022-11-06 06:07:43 +01:00
Ruben Fiszel
6172499a1c ux nit 2022-11-05 23:42:29 +01:00
Ruben Fiszel
badc60193c feat(backend): flow duration is now computed as the sum of every child 2022-11-05 22:31:54 +01:00
Ruben Fiszel
cddec6469e fix(backend): tighten security around cookies to avoid csrf (#859)
* fix(backend): tighten security around cookies to avoid csrf

* everything httponly

* sqlx

* also handle 404

* shoter Windmill v message

* fix chart
2022-11-05 21:21:13 +01:00
Ruben Fiszel
d44d5f23f4 remove unsynced chartjs title 2022-11-05 17:36:05 +01:00
Ruben Fiszel
4656f2344a chart styling nits 2022-11-05 16:55:47 +01:00
Ruben Fiszel
d318725adb feat(frontend): show runs using a time chart 2022-11-05 16:46:23 +01:00
Ruben Fiszel
b31c5c435e feat(frontend): show runs using a time chart 2022-11-05 15:31:09 +01:00
Ruben Fiszel
464642dac7 improve superadmin settings 2022-11-05 12:30:11 +01:00
Ruben Fiszel
6439ffc2b5 remove initial invite to demo for ruben@windmill.dev 2022-11-05 10:45:17 +01:00
Ruben Fiszel
e19131eddc edit script preload same args 2022-11-05 10:02:00 +01:00
Ruben Fiszel
9e0df5b47f fix arginfo 2022-11-05 09:31:31 +01:00
Ruben Fiszel
cc65bf5f48 feat(frontend): fill schema and test args from payload 2022-11-05 02:29:32 +01:00
Ruben Fiszel
4a2dff5cf2 do not list preview in the latest runs 2022-11-04 22:30:19 +01:00
Ruben Fiszel
34f9ea3b3c script and flow details UX improvements 2022-11-04 22:00:01 +01:00
Ruben Fiszel
17ff748d1a script and flow details UX improvements 2022-11-04 21:54:37 +01:00
Ruben Fiszel
42e9af52d8 script and flow details UX improvements 2022-11-04 21:48:38 +01:00
Ruben Fiszel
ca53412bfd improve UX for webhooks 2022-11-04 21:23:26 +01:00
Ruben Fiszel
e96cef0b6a improve webhooks for UX 2022-11-04 21:19:29 +01:00
Ruben Fiszel
da2e8db8ea publish lsp to ecr too 2022-11-04 17:58:21 +01:00
Ruben Fiszel
8e21f6dbd0 fix windmill registry on ecr 2022-11-04 17:38:01 +01:00
Ruben Fiszel
a58c25a9ec push to AWS ECR registry 2022-11-04 17:15:32 +01:00
Ruben Fiszel
6ae37817a7 reload on broken monaco editor 2022-11-04 16:40:16 +01:00
Ruben Fiszel
e58296ad64 fix spurrious notifications on monaco 2022-11-04 16:34:32 +01:00
Ruben Fiszel
2750c586ed fix inner branches in the flow UX 2022-11-04 16:31:30 +01:00
Ruben Fiszel
fc3aaf6d5f UX same worker tab 2022-11-04 16:15:28 +01:00
Ruben Fiszel
3facc7da58 UX improvements for flows 2022-11-04 13:28:47 +01:00
Ruben Fiszel
01701882dc feat(backend): use result_by_id in branchone (#857)
* progress

* fix result by id
2022-11-04 12:06:08 +01:00
Ruben Fiszel
41b77833c5 UX improvements on schedule item 2022-11-04 01:21:26 +01:00
Ruben Fiszel
8a3a7e1dab display little parsing status instead of error toast 2022-11-04 01:17:59 +01:00
Ruben Fiszel
b52f263bf6 display little parsing status instead of error toast 2022-11-04 01:16:12 +01:00
Ruben Fiszel
25c5e74d73 fix approving twice same flow 2022-11-04 00:32:55 +01:00
Ruben Fiszel
edeccc8429 publish to hub from deno do not add lockfile 2022-11-04 00:02:45 +01:00
Ruben Fiszel
f0b82a942c UX improvements 2022-11-03 23:26:07 +01:00
Ruben Fiszel
49bebe20cc fix(frontend): fix remaining openModal bugs 2022-11-03 19:10:55 +01:00
Ruben Fiszel
175a188f61 fix(frontend): reset rows default to 1 2022-11-03 18:58:08 +01:00
Ruben Fiszel
971988dfe2 fix(frontend): go editor nits 2022-11-03 18:48:53 +01:00
Ruben Fiszel
4c3009848f sqlx prepare 2022-11-03 14:41:46 +01:00
Ruben Fiszel
d5cf1a3286 fix initialization of flowstore 2022-11-03 14:34:41 +01:00
Ruben Fiszel
23a0c10b77 feat(backend): add global delete user endpoint 2022-11-03 14:06:19 +01:00
Ruben Fiszel
76e53a0139 feat(backend): add global delete user endpoint 2022-11-03 14:06:09 +01:00
Ruben Fiszel
68853f6869 chore(main): release 1.44.0 (#853)
* chore(main): release 1.44.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-03 13:50:34 +01:00
Ruben Fiszel
c6ce9bb3f6 frontend(fix): rework all text inputs 2022-11-03 13:47:40 +01:00
Ruben Fiszel
6ec382f89a modal -> drawer 2022-11-03 12:39:23 +01:00
Ruben Fiszel
bec2ddfbce fix variable editor 2022-11-03 10:03:00 +01:00
Ruben Fiszel
20bc904e5f fix(python-client): fix get_resource 2022-11-03 08:56:00 +01:00
Ruben Fiszel
9ac671bee0 update python-client-builder 2022-11-03 08:32:43 +01:00
Ruben Fiszel
34f5062cfa update deno example with npm qualifier 2022-11-03 01:04:08 +01:00
Kai Jellinghaus
f1d658d7f3 Ignore deno lockfile if invalid (#854)
* Ignore deno lockfile if invalid

* Always write file
2022-11-03 00:47:09 +01:00
Kai Jellinghaus
5bbfb40ee1 feat(backend): Deno lock files (#851)
* Enable generating locks for deno

* Handle deno lockfile

* Fix bug with empty lockfiles

* Handle deno lockfiles

* Allow unstable features when resolving deno deps

* Ignore bad lockfiles

* Handle Deno Path

* No Color output

* Fix OsStr
2022-11-02 23:52:45 +01:00
Ruben Fiszel
f99e704111 UX improvements 2022-11-02 22:01:49 +01:00
Ruben Fiszel
59da17bff8 UX improvements 2022-11-02 21:26:52 +01:00
Ruben Fiszel
513924b043 feat: implement allowed domains for self-hosted 2022-11-02 14:52:35 +01:00
Ruben Fiszel
35868ef9bf fix(backend): capture up all lockfile issues 2022-11-02 14:04:44 +01:00
Ruben Fiszel
14c296dbb8 fix: implement require admin differently than unauthorized 2022-11-02 12:18:44 +01:00
Ruben Fiszel
b830dffc20 remove tokio-console 2022-11-02 12:04:35 +01:00
Ruben Fiszel
9476e53701 chore(main): release 1.43.2 (#852)
* chore(main): release 1.43.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:42:45 +01:00
Ruben Fiszel
cf4905b734 verify go-client by building it 2022-11-02 11:41:57 +01:00
Ruben Fiszel
4707d1ecaa fix(go-client): use stable oapi codegen version 2022-11-02 11:37:57 +01:00
Ruben Fiszel
6f9d2f3fd8 better go example 2022-11-02 11:16:09 +01:00
Ruben Fiszel
c55442c5f0 fix(frontend) undefined error in flowmodulecomponent 2022-11-02 11:09:10 +01:00
Ruben Fiszel
73047b2089 chore(main): release 1.43.1 (#849)
* chore(main): release 1.43.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:01:37 +01:00
Ruben Fiszel
6170256a47 change default templates for go 2022-11-02 10:59:08 +01:00
Ruben Fiszel
1329493873 fix(go-client): fix openapi generation 2022-11-02 10:55:35 +01:00
Ruben Fiszel
c049838fd2 approvers are available to the step right after approval 2022-11-02 10:43:19 +01:00
Ruben Fiszel
9eb12e09b6 make get suspended flow job unauthed 2022-11-02 08:50:17 +01:00
Ruben Fiszel
1cab1e7bbf UI improvements 2022-11-02 08:41:08 +01:00
Ruben Fiszel
adde9dc10f ui fix for icons margin on runs 2022-11-02 06:59:36 +01:00
Ruben Fiszel
c0e85e8476 UI improvements 2022-11-01 23:48:04 +01:00
Kai Jellinghaus
7dafa6e955 Cli improvements (#850)
* Fix infinite user list

* Remove Description from table
2022-11-01 22:14:46 +01:00
Ruben Fiszel
e5d8111ae1 sqlx offline fixes 2022-11-01 22:13:35 +01:00
Jakub Kołodziejczak
ffaf7cad4a fix(backend): extend default scope set for slack resource (#848)
usecase:
> as a windmill user I want to provide email of user to which slack direct message should be send

rationale:
https://api.slack.com/methods/users.lookupByEmail needs to be used. it
requires `users:read.email` (which needs to be acquired together with
`users:read` - more info: https://api.slack.com/scopes/users:read.email)
2022-11-01 22:06:02 +01:00
Ruben Fiszel
918fb1f9a4 restore connect workspace to slack 2022-11-01 22:03:36 +01:00
Ruben Fiszel
b8e006cba4 chore(main): release 1.43.0 (#842)
* chore(main): release 1.43.0

* Apply automatic changes

* Apply automatic changes

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-01 16:23:04 +01:00
Ruben Fiszel
c7b95c1614 quickfix change-versions for cli 2022-11-01 16:19:59 +01:00
Kai Jellinghaus
adc50f0afe Sed fix (#844) 2022-11-01 16:11:01 +01:00
Kai Jellinghaus
f5ea13ab2b feat: new wmill CLI #831 2022-11-01 15:53:28 +01:00
Ruben Fiszel
4ac19c6ce5 add a bit of docs 2022-11-01 07:50:59 +01:00
Ruben Fiszel
d85594faa4 fix non selected tab in flows 2022-11-01 06:18:46 +01:00
Ruben Fiszel
2cd9a890c0 fix initialPath setting 2022-11-01 06:15:50 +01:00
Ruben Fiszel
39937e6a83 feat(backend): add parallel option for forloop and branchall (#840)
* parallel

* parallel

* fix 1

* fix 2

* fix 3

* fix 3

* fix 4

* sqlx

* add parallel toggle on frontend

* parallel in frontend

* serde

* fix everything

* fix everything
2022-11-01 06:09:00 +01:00
Jakub Kołodziejczak
2304a5fe26 chore(frontend): typo fix (#839) 2022-11-01 03:10:21 +01:00
dependabot[bot]
c128e35313 chore(deps-dev): bump tailwindcss from 3.1.8 to 3.2.1 in /frontend (#835)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.8 to 3.2.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 19:06:43 +00:00
dependabot[bot]
e95af2b929 chore(deps): bump hyper from 0.14.20 to 0.14.22 in /backend (#838)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.20 to 0.14.22.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.22/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.20...v0.14.22)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:57:24 +00:00
dependabot[bot]
0143c58b8a chore(deps-dev): bump tslib from 2.4.0 to 2.4.1 in /frontend (#837)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:48:25 +00:00
dependabot[bot]
c020da28f9 chore(deps-dev): bump @sveltejs/adapter-static in /frontend (#834)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.44 to 1.0.0-next.47.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@1.0.0-next.47/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:42:12 +00:00
dependabot[bot]
f0f64e7ac2 chore(deps-dev): bump autoprefixer from 10.4.12 to 10.4.13 in /frontend (#833)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.12 to 10.4.13.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.12...10.4.13)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:38:38 +00:00
dependabot[bot]
8f1a26b61a chore(deps): bump python from 3.10-slim-buster to 3.11.0-slim-buster (#832)
Bumps python from 3.10-slim-buster to 3.11.0-slim-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:36:17 +00:00
Ruben Fiszel
c1168a4903 UX nits 2022-10-31 12:46:07 +01:00
Ruben Fiszel
d0e31431be UX nits 2022-10-31 12:23:36 +01:00
Ruben Fiszel
b0b00863c0 UX nits 2022-10-31 12:12:56 +01:00
Ruben Fiszel
19da8e9774 UX improvements 2022-10-31 11:57:00 +01:00
Ruben Fiszel
b6c09edb35 Merge branch 'main' into rf/tableImprovements 2022-10-31 09:52:23 +01:00
Ruben Fiszel
97d7d934b8 fix account as integer II 2022-10-31 09:34:55 +01:00
Ruben Fiszel
bbffcab111 table 2022-10-31 09:29:48 +01:00
Ruben Fiszel
5793c02f06 UX improvements 2022-10-31 01:28:51 +01:00
Ruben Fiszel
f3e7a37188 UX improvements 2022-10-31 01:26:16 +01:00
Ruben Fiszel
6d965c7693 make-up flow status viewer 2022-10-31 01:14:34 +01:00
Ruben Fiszel
12a1cb9d8c fix get_resource for oauth 2022-10-30 22:56:12 +01:00
Ruben Fiszel
23346fd18c avoid duplicate components in openapi 2022-10-30 21:53:32 +01:00
Ruben Fiszel
ee91ca50cf clearer error message for unable to exchange refresh token 2022-10-30 21:35:22 +01:00
Ruben Fiszel
1f1492f341 chore(main): release 1.42.1 (#830)
* chore(main): release 1.42.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 21:29:00 +01:00
Ruben Fiszel
f4cd0575c6 fix builder for python and go 2022-10-30 21:25:57 +01:00
Ruben Fiszel
b59fac05d4 fix builder for python and go 2022-10-30 21:23:21 +01:00
Ruben Fiszel
3ccc294272 fix builder for python and go 2022-10-30 21:23:21 +01:00
Jakub Kołodziejczak
eef7c7ff94 fix(deno-client): add missing approver encoding to hmac api request (#829)
related to 10e1de8476
2022-10-30 20:39:01 +01:00
Ruben Fiszel
5c4c091e78 chore(main): release 1.42.0 (#810)
* chore(main): release 1.42.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 19:09:13 +01:00
Ruben Fiszel
fe61f23d6a handle errors prior to first step better 2022-10-30 19:03:22 +01:00
Ruben Fiszel
ed1829da4a add flow_input to context of branch predicates and stop early 2022-10-30 18:24:23 +01:00
Ruben Fiszel
e37e07ddb6 fix input transforms for resource and variable 2022-10-30 17:28:59 +01:00
Ruben Fiszel
03e9f10931 sqlx prepare 2022-10-30 17:08:03 +01:00
Ruben Fiszel
12026318b5 fix full hub script 2022-10-30 17:01:12 +01:00
Ruben Fiszel
4bd74ad723 fix(backend): fix error handler progress update 2022-10-30 13:47:28 +01:00
Ruben Fiszel
08320d16be early stop now bubble up to the top 2022-10-30 02:32:35 +02:00
Ruben Fiszel
2e8211d41f revert switching metrics to tiny-http 2022-10-30 01:55:44 +02:00
Ruben Fiszel
e90a8e2ca9 fix failure module 2022-10-29 16:51:45 +02:00
Ruben Fiszel
03505751f5 fix toggle 2022-10-29 16:46:15 +02:00
Ruben Fiszel
76311fa29f flow UX improvements 2022-10-29 16:13:08 +02:00
Ruben Fiszel
b45da3a64c flow UX improvements 2022-10-29 16:11:41 +02:00
Ruben Fiszel
7a3c8c4a0b flow UX improvements 2022-10-29 16:10:10 +02:00
Ruben Fiszel
13cd06f45d flow UX improvements 2022-10-29 16:04:05 +02:00
Ruben Fiszel
f75823f474 handle more error edge cases 2022-10-29 13:59:50 +02:00
Ruben Fiszel
004f4958ef fix default python script 2022-10-29 12:57:25 +02:00
Ruben Fiszel
84a3fbe46b feat(python): type is automatically inferred from default parameters 2022-10-29 12:48:50 +02:00
Ruben Fiszel
b3d8d8e611 ci: use cargo check to cache dockerfile #828 2022-10-29 12:20:16 +02:00
Kai Jellinghaus
0034129a30 restructure the entire backend layout using workspaces (#815) 2022-10-29 11:58:06 +02:00
Ruben Fiszel
c1c4bfc5ce flow ui nits 2022-10-28 16:11:03 +02:00
Ruben Fiszel
38a764841d fix flow node id creation 2022-10-28 15:56:23 +02:00
Ruben Fiszel
ebf8b6b839 schedule + alert nits 2022-10-28 11:38:25 +02:00
Ruben Fiszel
f036af5788 make going to source script/flow easier 2022-10-28 11:20:12 +02:00
Ádám Kovács
17e766aa6e feat(frontend): Update progress bar (#770)
* feat(frontend): Update progress bar component

* feat(frontend): Add progress to flow run (WIP)

* feat(frontend): Add progress to flow run (WIP 2)

* fix(frontend): Fix loop progress loading

* fix(frontend): Rethink progress bar

* fix(frontend): Remove comment

* feat(front): Add error state and instant loading

* fix(frontend): Fix disappearing progress bits

* feat(frontend): Add progress to run page

* fix(frontend): Fix parallel progress loading issue

* progress bar + up to fix

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-10-28 10:33:28 +02:00
Ruben Fiszel
8475e31740 UX flow improvements + fix collecting results for loops in frontend + fix Identity behavior in backend 2022-10-27 18:50:32 +02:00
Faton Ramadani
79e8b1ff75 fix(frontend): Add summary to the script editor (#825) 2022-10-27 11:52:48 +02:00
Faton Ramadani
d995acfee5 remove flowbite-svelte (#823)
* remove flowbite-svelte

* remove package

* Fix badge
2022-10-27 11:36:16 +02:00
Ruben Fiszel
5e34656517 fix codeViewer for non deno scripts 2022-10-27 09:26:52 +02:00
Ruben Fiszel
86efd6ad21 fix loading non deno from hub 2022-10-27 09:08:55 +02:00
Ruben Fiszel
8a486a8a92 update resource spec 2022-10-27 00:59:25 +02:00
Ruben Fiszel
188171126c fix export to tarball 2022-10-27 00:43:51 +02:00
Ruben Fiszel
0199007d46 improve python parsing of imports 2022-10-27 00:19:17 +02:00
Ruben Fiszel
c59ee075af New Script UX refactor 2022-10-26 23:09:10 +02:00
Ruben Fiszel
340add7f4f fix result by id 2022-10-26 08:54:28 +02:00
Ruben Fiszel
6fcf984ea3 feat(frontend): result by id 2022-10-26 08:31:30 +02:00
Ruben Fiszel
e492f71ed9 minimap fixes 2022-10-26 07:35:20 +02:00
Ruben Fiszel
6b353ac4e1 fix migration of old flows 2022-10-26 06:49:48 +02:00
Ruben Fiszel
8a059201c9 fix input transforms 2022-10-26 06:14:42 +02:00
Faton Ramadani
a65c4c3570 fix(frontend): Fix overlay map indicator (#816) 2022-10-25 23:24:27 +02:00
Ruben Fiszel
7c55d1302b fix early stop 2022-10-25 23:05:03 +02:00
Faton Ramadani
b078bde305 fix(frontend): Fix legacy input transforms (#814) 2022-10-25 19:29:55 +02:00
Faton Ramadani
53eede4f02 fix(frontend): Fix input transforms (#813) 2022-10-25 18:41:11 +02:00
Faton Ramadani
054c142882 feat(frontend): Flow editor branches (#727) 2022-10-25 17:26:31 +02:00
Ruben Fiszel
14c5bcf2fe fix schedule on setScheduleEnabled errors 2022-10-25 13:16:33 +02:00
Ruben Fiszel
8df48f2b11 fix schedule on setScheduleEnabled errors 2022-10-25 12:59:22 +02:00
Ruben Fiszel
9a67607b20 feat: payload capture of json to initialize flow input (#655)
* capture table and some endpoints for json pastebin

* only retain user's most recent captures

* merge conflict

* sqlx data

* fix migration

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-10-25 00:54:53 +02:00
Ruben Fiszel
7addf0c6b1 fix input transform form 2022-10-25 00:27:06 +02:00
dependabot[bot]
f0af36c479 chore(deps-dev): bump simple-svelte-autocomplete in /frontend (#799)
Bumps [simple-svelte-autocomplete](https://github.com/pstanoev/simple-svelte-autocomplete) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/pstanoev/simple-svelte-autocomplete/releases)
- [Commits](https://github.com/pstanoev/simple-svelte-autocomplete/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: simple-svelte-autocomplete
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 21:00:23 +00:00
dependabot[bot]
5ef6aec368 chore(deps-dev): bump eslint from 8.25.0 to 8.26.0 in /frontend (#801)
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.25.0...v8.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 22:51:06 +02:00
dependabot[bot]
5591e75727 chore(deps): bump monaco-languageclient from 4.0.0 to 4.0.1 in /frontend (#798)
Bumps [monaco-languageclient](https://github.com/TypeFox/monaco-languageclient/tree/HEAD/packages/client) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/TypeFox/monaco-languageclient/releases)
- [Changelog](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/client/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-languageclient/commits/mlc-4.0.1/packages/client)

---
updated-dependencies:
- dependency-name: monaco-languageclient
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 20:18:15 +00:00
dependabot[bot]
767cc4e943 chore(deps): bump node from 18-alpine to 19-alpine (#797)
Bumps node from 18-alpine to 19-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 22:13:11 +02:00
Jakub Kołodziejczak
10e1de8476 fix(deno-client): automatically encode approver param + refactor: use URL class to format urls (#809) 2022-10-24 22:12:47 +02:00
Ruben Fiszel
b7c01ceddb chore(deps): backend update 2022-10-24 21:28:25 +02:00
Kai Jellinghaus
f548748eaf Add a dockerfile to the benchmarks directory 2022-10-24 17:51:33 +02:00
Ruben Fiszel
7e6f63511b approval flow nit 2022-10-24 17:17:57 +02:00
Ruben Fiszel
45761f8e0c approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel
aadc2a229c add identity job_kind to openapi 2022-10-24 14:51:25 +02:00
Ruben Fiszel
40bfc486c7 add resume_id to job_resume + add identity module 2022-10-24 14:48:28 +02:00
Ruben Fiszel
0f4ffd29dd fix get_suspended_job_flow module finding 2022-10-24 10:37:21 +02:00
Ruben Fiszel
e7d000a6d7 fix get_suspended_job_flow 2022-10-24 10:18:23 +02:00
Ruben Fiszel
f69b4d6a07 only load script content if path change 2022-10-24 10:12:38 +02:00
Ruben Fiszel
ced68f35fa chore(main): release 1.41.0 (#795)
* chore(main): release 1.41.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-24 02:38:12 +02:00
Ruben Fiszel
a45ba528ad better tooltips 2022-10-24 02:32:01 +02:00
Ruben Fiszel
17d9f38d30 fix(deno-client): add approver 2022-10-24 02:24:44 +02:00
Ruben Fiszel
a0b2c9e77d feat: add approver to approval step 2022-10-24 01:50:39 +02:00
Ruben Fiszel
3c91e42b9e fix: approval pages now require no auth 2022-10-23 15:50:36 +02:00
Ruben Fiszel
6acea35f59 chore(main): release 1.40.1 (#794)
* chore(main): release 1.40.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-22 16:21:10 +02:00
Jakub Kołodziejczak
a5dfd865c3 fix(deno-client): fix build.sh to have reproducible builds (#793) 2022-10-22 16:19:31 +02:00
Jakub Kołodziejczak
0b89ec79aa ci(deno-client): fix build.sh to have reproducible builds (#792) 2022-10-22 16:01:50 +02:00
Ruben Fiszel
91015e089b chore(main): release 1.40.0 (#780)
* chore(main): release 1.40.0

* Update CHANGELOG.md

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-22 14:06:23 +02:00
Jakub Kołodziejczak
4ab547bdf4 feat(deno-client): improve docs by extending function signatures (#791)
> as a windmill script developer I want to know what type/data structure is returned from the windmill sdk
2022-10-22 14:04:38 +02:00
Ruben Fiszel
884edd7715 fix: improve approval flow with approval page 2022-10-22 13:55:12 +02:00
Ruben Fiszel
90c7b0c89d fix send tx for kill 2022-10-22 00:34:36 +02:00
Ruben Fiszel
d999b72eb8 nit wording 2022-10-21 23:54:27 +02:00
Ruben Fiszel
cb5ed9b9a1 feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:01:07 +02:00
Ruben Fiszel
e0b86e958f feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:00:52 +02:00
Ruben Fiszel
31e8873e93 clean up the new script page 2022-10-21 21:33:56 +02:00
Ruben Fiszel
63e1dca6b5 nit pickable buttons for flows 2022-10-21 21:20:01 +02:00
Ruben Fiszel
563db922f5 nit pickable buttons for flows 2022-10-21 20:43:09 +02:00
Ruben Fiszel
aab42eaa3a nit do not disable forloop on subsequent steps 2022-10-21 20:34:04 +02:00
Ruben Fiszel
3484f4bc4c nit escape on contentPreview 2022-10-21 20:01:20 +02:00
Ruben Fiszel
9ddfa9a59d fix import script from hub 2022-10-21 19:43:53 +02:00
Ruben Fiszel
8f40d3b117 fix import script from hub 2022-10-21 19:38:33 +02:00
Ruben Fiszel
b111961b95 simplify script picker menu for flows 2022-10-21 19:02:00 +02:00
Ruben Fiszel
6c68f264cb fix(frontend): rework te new script page 2022-10-21 14:25:21 +02:00
Ruben Fiszel
4ce3e0795c fix: only create a schedule after flow change if schedule is enabled 2022-10-21 13:33:44 +02:00
Kai Jellinghaus
ac84b76909 fix(backend): avoid mem leak on interval #786 2022-10-21 12:15:03 +02:00
Ruben Fiszel
57ab699d1d fix z-index of menu 2022-10-21 08:48:24 +02:00
Ruben Fiszel
8ec33c5e16 feat: support running and publishing go, python scripts to the hub (#779) 2022-10-20 20:16:08 +02:00
Ruben Fiszel
1c8a4b3b09 chore(main): release 1.39.0 (#747)
* chore(main): release 1.39.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-20 16:38:34 +02:00
Ruben Fiszel
5117430b16 fix(deno-client): error handling for getInternalState 2022-10-20 16:36:09 +02:00
Kai Jellinghaus
100761a15c Bench improvements (#774)
* Fix trailing / in host URL

* Allow continous run with throughput

* Fix whitespace
2022-10-20 07:41:33 +02:00
Kai Jellinghaus
3fb5ec08b0 Add more tracing (#773) 2022-10-20 07:40:58 +02:00
Kai Jellinghaus
3a7ab9cbe8 Cargo config improvements (#775)
* Move cargo config to correct location

* Add --no-rosegment to build params.
This helps with stack traces, and is necessary for some profilers.
2022-10-20 07:38:49 +02:00
Ruben Fiszel
1a93593529 feat(frontend): publish script of any lang to hub 2022-10-19 23:50:02 +02:00
Kai Jellinghaus
55d3f38b8b More Metrics (#735)
* Expose Worker Tokio Metrics

* Add metrics tracking the job queue

This can be used to (approximate) the queue length
This can be used to (approximate) the running jobs

* Remove testing code

* Rename metrics to exclude TOTAL_

* Sleep in worker metrics loop

* Add jobs_executed

* Add zombie job metrics

* Add uptime metric

* Fix metric naming

* Remove poll stats

* unify worker execution metrics

* Rename jobs_* metrics

* Rename metrics to match exposed name

* Remove leftover import

* Rename variables to match further

* Fix Merge error

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-10-19 10:15:42 +02:00
Ruben Fiszel
2350a39335 remove erronous pull created_by 2022-10-19 04:10:41 +02:00
Ruben Fiszel
c03c3afcb4 make get job more reliable 2022-10-19 03:54:41 +02:00
Ruben Fiszel
bea934489c nits 2022-10-19 03:41:56 +02:00
Ruben Fiszel
f4ff43ec49 nits 2022-10-19 03:41:56 +02:00
Ruben Fiszel
45a6976d52 feat(backend): atomic moving queue -> complete and delete (#771)
* feat(backend): atomic move to queue + delete

* fix

* fix

* fix

* fix
2022-10-19 03:16:15 +02:00
Ruben Fiszel
a34e514e4e migrating benchmark to deno client 1.38.5 2022-10-18 23:16:58 +02:00
Ruben Fiszel
f468d6d870 show options 2022-10-18 22:08:37 +02:00
Ruben Fiszel
1ae7a3c325 fix benchmarks 2022-10-18 21:19:37 +02:00
Ruben Fiszel
614866d694 little benchmark console feedback 2022-10-18 20:42:16 +02:00
Ruben Fiszel
955cc4104a fix(backend): reschedule flow at first step end (#746)
* fix(backend): reschedule flow at first step end

* fix

* fix

* fix

* fix

* sqlx prepare
2022-10-18 17:06:39 +02:00
Ruben Fiszel
57600ab873 feat: add result by id to fetch result from any node (#769)
* feat: add result by id to fetch result from any node

* sqlx prepare

* fix

* fix

* review
2022-10-18 17:04:13 +02:00
Kai Jellinghaus
846462c68b feat(benchmark): Initial Benchmarking Tool (#731)
* Deno setup

* Very basic benchmarking

* Collect metrics into CSV

* Rip out CSV functionality

* export to influxdb

* remove old files

* Move into subfolder in preparation for merge

* Move settings to correct folder

* Cleanup & Fix typing

* Remove unused code

* Add JSON export of specific metrics

* Wait for all jobs to complete & check resutls

* Delete output.json

* Apply some review comments

* Simplify some truthy expressions

* Remove InfluxDB

* Rewrite Stats calculation

* Add CSV output

* Fix stdev calculations

* Add README

* Add maximum-throughput option

* Add flow option

* Remove testing changes

* Revert auto-format

* Track zombie workers
2022-10-18 14:10:04 +02:00
Ruben Fiszel
af9e1f4479 feat: add ids to modules + input_transform lowered to flowmodulevalue (#768)
* feat: add ids to modules + inputTransforms from module to module value

* all

* delete obsolete input transforms
2022-10-17 22:34:12 +02:00
dependabot[bot]
e1e202ad8b chore(deps-dev): bump svelte from 3.51.0 to 3.52.0 in /frontend (#766)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.51.0 to 3.52.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.51.0...v3.52.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 20:06:18 +00:00
dependabot[bot]
43be8362db chore(deps-dev): bump flowbite-svelte from 0.27.6 to 0.27.8 in /frontend (#767)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.27.6 to 0.27.8.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.27.6...v0.27.8)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:52:00 +00:00
dependabot[bot]
475497c3c0 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#764)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.37.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:40:45 +00:00
dependabot[bot]
f4bbf252f0 chore(deps-dev): bump @zerodevx/svelte-toast in /frontend (#761)
Bumps [@zerodevx/svelte-toast](https://github.com/zerodevx/svelte-toast) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/zerodevx/svelte-toast/releases)
- [Commits](https://github.com/zerodevx/svelte-toast/compare/v0.7.2...v0.8.0)

---
updated-dependencies:
- dependency-name: "@zerodevx/svelte-toast"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:39:34 +00:00
dependabot[bot]
21df74e6af chore(deps-dev): bump postcss from 8.4.17 to 8.4.18 in /frontend (#765)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.17...8.4.18)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:28:47 +00:00
dependabot[bot]
a26be3f137 chore(deps): bump magic-crypt from 3.1.10 to 3.1.12 in /backend (#762)
Bumps [magic-crypt](https://github.com/magiclen/rust-magiccrypt) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/magiclen/rust-magiccrypt/releases)
- [Commits](https://github.com/magiclen/rust-magiccrypt/compare/v3.1.10...v3.1.12)

---
updated-dependencies:
- dependency-name: magic-crypt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 19:12:52 +00:00
dependabot[bot]
a413c54b0e chore(deps-dev): bump @typescript-eslint/parser in /frontend (#759)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.40.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 18:55:16 +00:00
dependabot[bot]
49d2fd2cff chore(deps): bump swc_ecma_parser from 0.122.7 to 0.122.13 in /backend (#758)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.122.7 to 0.122.13.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 18:46:00 +00:00
dependabot[bot]
f3eda5023b chore(deps): bump monaco-editor from 0.34.0 to 0.34.1 in /frontend (#757)
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 18:37:02 +00:00
dependabot[bot]
6fdc407cca chore(deps-dev): bump @playwright/test in /frontend (#756)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.27.0 to 1.27.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.27.0...v1.27.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 18:36:44 +00:00
Ruben Fiszel
a5aad947e6 feat(backend): add branch all (#751)
* feat(backend): add branch all

* progress

* all
2022-10-17 17:31:31 +02:00
Ádám Kovács
9edb8a8e1c fix(frontend): Style fix (#755) 2022-10-17 17:22:09 +02:00
Ádám Kovács
582fc9a2ed feat(frontend): Update workspace selector (#754) 2022-10-17 17:17:31 +02:00
Ádám Kovács
99e60b1b74 fix(frontend): Fix text styling (#753) 2022-10-17 16:25:32 +02:00
Ádám Kovács
8a774e0d04 feat(frontend): Update split panes (#741) 2022-10-17 15:43:31 +02:00
Ruben Fiszel
9e0c2d759b feat: InProgress forloop_jobs -> flow_jobs to unify with branchAll 2022-10-16 16:04:24 +02:00
Ruben Fiszel
b1805699c9 feat(backend): rework forloop flow job arg passing + reimplement branchone using flows 2022-10-16 15:56:41 +02:00
Ruben Fiszel
b1a309b81d chore(main): release 1.38.5 (#745)
* chore(main): release 1.38.5

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-15 18:37:41 +02:00
Ruben Fiszel
bb1750fd6d fix(deno-client): use proper base url 2022-10-15 18:34:07 +02:00
Ruben Fiszel
eb589db8c5 chore(main): release 1.38.4 (#744)
* chore(main): release 1.38.4

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-15 18:27:04 +02:00
Ruben Fiszel
350d31fe06 fix: refactor deno client to use another openapi generator #743 2022-10-15 18:25:26 +02:00
Ruben Fiszel
6f629fc320 add rawscript as unique enum type on openflow 2022-10-15 16:37:18 +02:00
Jakub Kołodziejczak
ed108de1b9 chore(backend): allow disabling nsjail for unit tests (#742)
UC: as a developer I want to be able to test code w/o nsjail

bug: flaky test `test_go_job`
```
running 1 test
test worker::tests::test_go_job ... FAILED

failures:

---- worker::tests::test_go_job stdout ----
received killpill for worker 0
thread 'worker::tests::test_go_job' panicked at 'assertion failed: `(left == right)`
  left: `Object {"error": String("Error during execution of the script:\n\ngo: error obtaining buildID for go tool compile: pipe2: too many open files\ngo: error obtaining buildID for go tool compile: pipe2: too many open files\ngo: error obtaining buildID for go tool compile: pipe2: too many open files")}`,
 right: `String("hello world")`', src/worker.rs:2434:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

workaround: disable nsjail
2022-10-15 16:08:05 +02:00
Ruben Fiszel
a2050d3edd chore(main): release 1.38.3 (#740)
* chore(main): release 1.38.3

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-15 11:35:49 +02:00
Ruben Fiszel
8d37e40fce fix(go-client): go-client README 2022-10-15 11:23:10 +02:00
Ruben Fiszel
b27e660365 chore(main): release 1.38.2 (#737) 2022-10-15 11:19:42 +02:00
Ruben Fiszel
fffcb5ec2a fix(go-client): improve go-client variable and resource handling 2022-10-15 11:18:17 +02:00
Ruben Fiszel
1f7ef3006f fix(go-client): return error 2022-10-15 10:29:01 +02:00
Jakub Kołodziejczak
e4cd931ab5 fix(python-client): provide backwards compatibility down to python3.7 (#738) (#739)
this reverts b46d0ff11d introducing
alternative way of avoiding bug described in
https://github.com/windmill-labs/windmill/issues/736#issuecomment-1279679730

the improvement here is that we're able to support more python versions
now
2022-10-15 10:27:07 +02:00
Jakub Kołodziejczak
b46d0ff11d chore(python-client): update minimal python version (#738) 2022-10-15 09:42:19 +02:00
Ruben Fiszel
467ff105db fix(go-client): improve go-client error handling 2022-10-15 09:08:13 +02:00
Ruben Fiszel
8783cfcddf add apache 2.0 to go client 2022-10-15 09:02:34 +02:00
Ruben Fiszel
45484b327a chore(main): release 1.38.1 (#734)
* chore(main): release 1.38.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-15 08:49:34 +02:00
Ruben Fiszel
afefe1603d fix(python-client): not publishinf windmill-api 2022-10-15 08:48:54 +02:00
Ruben Fiszel
9d38d66d2b fix(go-client): pass bearer token to requests 2022-10-14 20:35:19 +02:00
Ruben Fiszel
be0c434349 go client ci deployment 2022-10-14 20:24:22 +02:00
Ruben Fiszel
ef904aa9d0 chore(main): release 1.38.0 (#700)
* chore(main): release 1.38.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-14 20:06:04 +02:00
Ruben Fiszel
d354746e65 go client v0 2022-10-14 19:45:16 +02:00
Ruben Fiszel
c3e705318c go client v0 2022-10-14 17:06:42 +02:00
Ruben Fiszel
64014f1795 remove some frontend warnings 2022-10-14 16:32:15 +02:00
Ruben Fiszel
5707dfe4f1 add go-client mvp + stabilize openapi (#732) 2022-10-14 16:26:51 +02:00
Ruben Fiszel
af8a4216f8 fix(deno): approval endpoints generator (#728) 2022-10-14 09:17:27 +02:00
Ádám Kovács
2e21fb43d5 fix(frontend): Update skeleton animation timings (#730) 2022-10-13 16:09:40 +02:00
Ádám Kovács
2c1cd7eea8 feat(frontend): Typography update (#725)
* feat(frontend): Add new font face

* feat(frontend): Typography update

* fix(frontend): Import Inter font

* fix(frontend): Font fixes

* fix(front): Fix spacing and font inconsistencies

* fix(frontend): Visual changes and fixes

* fix(frontend): Minor visual fixes

* fix(frontend): Remove comment
2022-10-13 14:04:26 +02:00
Ruben Fiszel
444750d594 improve supercache 2022-10-13 03:04:55 +02:00
Ruben Fiszel
db6132ef15 remove spurrious missing editorService alert 2022-10-13 03:02:33 +02:00
Ruben Fiszel
938c153c03 optimize mainargsignature inference 2022-10-13 02:51:05 +02:00
Ruben Fiszel
b7ae6b139a optimize mainargsignature inference 2022-10-13 02:41:24 +02:00
Ruben Fiszel
0cf9f0c8e2 improve supercache 2022-10-13 01:23:08 +02:00
Ruben Fiszel
c1cc60045a improve supercache 2022-10-13 00:47:00 +02:00
Ruben Fiszel
d116218a0e improve supercache 2022-10-13 00:15:21 +02:00
Ruben Fiszel
889965feb3 fix supercache in presence of other deps 2022-10-12 23:28:50 +02:00
Ruben Fiszel
5425a4a7bd fix reload schema before testing 2022-10-12 23:24:20 +02:00
Jakub Kołodziejczak
7e35d9989a feat(backend): supercache for python heavy dependencies in alpha 2022-10-12 23:02:27 +02:00
Ruben Fiszel
2cc0fe7bd7 fix handle shared path not existing because job was resumed on another worker 2022-10-12 20:09:07 +02:00
Ruben Fiszel
1438898617 fix suspend + sleep with same worker 2022-10-12 15:56:15 +02:00
Faton Ramadani
ca991d0fa1 fix(frontend): remove flowbite svelte dependency from shared Badge (#722) 2022-10-12 10:03:48 +02:00
Ruben Fiszel
ff7fb0f6f3 feat: secure suspended resume event + configurable timeout (#721)
* fix suspend count for early message + delete resume_job

* all

* done everything

* done everything
2022-10-11 22:55:14 +02:00
Ádám Kovács
9acee22b1f feat(frontend): Loading placeholder (#707)
* feat(frontend): Add skeleton component

* feat(frontend): Add loading to script page

* fix(frontend): Fix skeleton positioning

* feat(frontend): Remove static content from loading

* feat(frontend): Add loading to the main pages

* fix(frontend): Use skeleton directive on leaf node

* fix(frontend): Skeleton alignment

* fix(front): Replace skeleton directive with class
2022-10-11 15:38:50 +02:00
dependabot[bot]
dc91285aca chore(deps-dev): bump @typescript-eslint/parser in /frontend (#720)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.39.0 to 5.40.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 20:41:26 +00:00
dependabot[bot]
aa30b35bb7 chore(deps-dev): bump flowbite-svelte from 0.27.5 to 0.27.6 in /frontend (#719)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.27.5 to 0.27.6.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.27.5...v0.27.6)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 20:34:21 +00:00
dependabot[bot]
3fcc05eefe chore(deps): bump swc_ecma_parser from 0.122.5 to 0.122.7 in /backend (#718)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.122.5 to 0.122.7.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 20:14:09 +00:00
dependabot[bot]
56322d4863 chore(deps-dev): bump prettier-plugin-svelte in /frontend (#711)
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/commits)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:57:41 +00:00
dependabot[bot]
a75dd232b4 chore(deps-dev): bump svelte2tsx from 0.5.19 to 0.5.20 in /frontend (#717)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.19 to 0.5.20.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.19...svelte2tsx-0.5.20)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:52:51 +00:00
dependabot[bot]
8c3d55f663 chore(deps-dev): bump svelte-check from 2.9.1 to 2.9.2 in /frontend (#713)
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-2.9.1...svelte-check-2.9.2)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:52:27 +00:00
dependabot[bot]
c109bb747d chore(deps): bump serde_json from 1.0.85 to 1.0.86 in /backend (#715)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.86)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:41:52 +00:00
dependabot[bot]
a5303ad9f8 chore(deps): bump swc_common from 0.29.4 to 0.29.5 in /backend (#714)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.29.4 to 0.29.5.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:33:10 +00:00
dependabot[bot]
4fcb11ee4a chore(deps): bump deno_core from 0.153.0 to 0.154.0 in /backend (#712)
Bumps [deno_core](https://github.com/denoland/deno) from 0.153.0 to 0.154.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:24:30 +00:00
dependabot[bot]
e4170f23ab chore(deps): bump tracing from 0.1.36 to 0.1.37 in /backend (#710)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:15:46 +00:00
dependabot[bot]
6b97bf63b1 chore(deps): bump uuid from 1.1.2 to 1.2.1 in /backend (#709)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.1.2 to 1.2.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 19:07:04 +00:00
dependabot[bot]
1c5e6626fc chore(deps-dev): bump svelte from 3.50.1 to 3.51.0 in /frontend (#708)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.50.1 to 3.51.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.50.1...v3.51.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 18:57:41 +00:00
Ruben Fiszel
c7dfd0ebc4 fix suspend count for early message + delete resume_job 2022-10-10 20:17:49 +02:00
Ruben Fiszel
f6e794cc5f add failed_jobs to retrystatus 2022-10-10 13:41:07 +02:00
Ruben Fiszel
e6cad4df7b specify branch_chosen in openflow 2022-10-10 12:59:16 +02:00
Ádám Kovács
8be31d608b fix(frontend): Apply small text size to hljs (#706) 2022-10-10 10:13:19 +02:00
Ruben Fiszel
ea7fb20e70 remove third screenshot 2022-10-10 00:40:08 +02:00
Ruben Fiszel
c356c3f9bc change second screenshot 2022-10-10 00:15:08 +02:00
Ruben Fiszel
88be6eba39 change first screenshot 2022-10-10 00:13:04 +02:00
Ruben Fiszel
9d062d6cfb change README banner 2022-10-10 00:10:30 +02:00
Ruben Fiszel
721bcc84a3 change favicon logo 2022-10-09 23:43:05 +02:00
Ruben Fiszel
cc07a6b7e4 feat(backend): implement new OpenFlow module Branches (#692)
* branches

* iterate

* branches

* progress

* progress

* progress

* done

* adapt frontend

* adapt frontend

* sqlx
2022-10-09 23:12:05 +02:00
Ruben Fiszel
7bdbfec71a feat: support struct in Go as script parameters #705 2022-10-08 20:03:08 +02:00
Ruben Fiszel
c5b66ac26d remove spurrious log 2022-10-08 15:25:17 +02:00
Ruben Fiszel
e840522822 fix(frontend): fix viewscript for go 2022-10-08 15:23:13 +02:00
Ruben Fiszel
e5fdbff8ec fix(frontend): do not alert on non internal nav for unconfirmed saves 2022-10-08 15:19:04 +02:00
Ruben Fiszel
24a2932a7b fix(frontend): do not alert on non internal nav for unconfirmed saves 2022-10-08 15:17:41 +02:00
dependabot[bot]
5d07db8a74 chore(deps-dev): bump eslint from 8.24.0 to 8.25.0 in /frontend (#704)
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 12:38:30 +00:00
Ruben Fiszel
b99cb2e299 improve error messages 2022-10-08 14:36:21 +02:00
dependabot[bot]
06ee6d0fa2 chore(deps-dev): bump @types/vscode from 1.71.0 to 1.72.0 in /frontend (#702)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.71.0 to 1.72.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 12:31:10 +00:00
dependabot[bot]
6414b77e5c chore(deps-dev): bump @playwright/test in /frontend (#701)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 12:30:59 +00:00
Ruben Fiszel
3f8f0eb878 improve error messages 2022-10-08 14:22:34 +02:00
Ruben Fiszel
5327816c50 fix release 2022-10-08 14:05:35 +02:00
Ruben Fiszel
154796cdb6 fix(frontend): go websockets 2022-10-08 13:41:29 +02:00
Ruben Fiszel
7db57d2f17 chore(main): release 1.37.0 (#659)
* chore(main): release 1.37.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-08 13:32:28 +02:00
Ádám Kovács
911e6c32d6 fix(frontend): Change button click propagation (#690)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-10-08 13:31:32 +02:00
github-actions[bot]
e66522d266 sync hub items with community (#698)
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-08 13:29:31 +02:00
Ruben Fiszel
6cb3fbc8b7 feat: add go LSP (#699)
* lsp

* progress

* 1.36.0
2022-10-08 13:28:46 +02:00
Ruben Fiszel
941068e551 1.36.0 2022-10-08 13:26:11 +02:00
Ruben Fiszel
d4dfb4f050 progress 2022-10-08 13:25:26 +02:00
Ruben Fiszel
ac09681d49 lsp 2022-10-08 13:25:07 +02:00
Ruben Fiszel
6ebedfc5fb feat(backend): separate properly logs from result 2022-10-07 19:54:44 +02:00
Ruben Fiszel
22c4a3b375 fix(backend): go lock dependency with no requirements 2022-10-07 16:11:45 +02:00
Faton Ramadani
e424b6b9b9 fix(frontend): Remove legacy tabs (#695) 2022-10-07 11:30:31 +02:00
Faton Ramadani
b59d1f8717 fix(frontend): Align Settings button + add missing suspend shortcut (#694)
* fix(frontend): Align Settings button + add missing suspend shortcut + Disable up to when the error handler is selected
2022-10-07 10:16:15 +02:00
Ruben Fiszel
a08436622b feat: sleep for arbitrary number of seconds statically or with a javascript expression (#691)
* progress

* progress

* fix serde

* fix frontend

* fix frontend
2022-10-07 04:09:32 +02:00
Ruben Fiszel
feb5aadcc3 only stop wait on child on ok changes values 2022-10-06 23:37:10 +02:00
Ruben Fiszel
8accb59a8c fix: get info about kill reason 2022-10-06 23:25:49 +02:00
Ruben Fiszel
b31e72a620 fix: get info about kill reason 2022-10-06 23:15:27 +02:00
Ruben Fiszel
065dcc9196 fix(frontend): clear interval on job run 2022-10-06 22:47:40 +02:00
Ruben Fiszel
2c5b32bdb7 fix(backend): same_worker uses the same folder even within loops 2022-10-06 21:39:07 +02:00
Ruben Fiszel
058658296a fix flowstatusviewer in case jobResult is not defined yet 2022-10-06 17:47:27 +02:00
Ádám Kovács
fcb1c39d96 feat(frontend): Button with popup (#639)
* feat(frontend): Add ButtonPopup component
2022-10-06 14:18:42 +02:00
Ruben Fiszel
1b2994ac8a add GOMEMLIMIT to 2Gb 2022-10-06 05:13:06 +02:00
Ruben Fiszel
f4caa4ffa6 feat: implement same_worker openflow attribute for running flow all in one go + sharing folder /shared (#689)
* init

* progress

* all

* sqlx

* remove unecessary test

* done

* frontend

* frontend
2022-10-06 04:59:09 +02:00
Ruben Fiszel
5d3c9665e0 hotfix button to save variable disappeared 2022-10-05 18:18:20 +02:00
dependabot[bot]
c8c0daffe3 chore(deps-dev): bump autoprefixer from 10.4.11 to 10.4.12 in /frontend (#683)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.11 to 10.4.12.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.11...10.4.12)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 02:33:33 +00:00
dependabot[bot]
36b636c7d1 chore(deps-dev): bump @sveltejs/adapter-static in /frontend (#686)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.43 to 1.0.0-next.44.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@1.0.0-next.44/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 02:28:25 +00:00
dependabot[bot]
64da0f3431 chore(deps-dev): bump @typescript-eslint/parser in /frontend (#682)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.38.0 to 5.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.39.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 02:17:53 +00:00
dependabot[bot]
3086273ab9 chore(deps-dev): bump svelte2tsx from 0.5.18 to 0.5.19 in /frontend (#679)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.18 to 0.5.19.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.18...svelte2tsx-0.5.19)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 02:08:32 +00:00
Ruben Fiszel
1fa6d915f4 chore(deps): backend update 2022-10-05 03:44:33 +02:00
Ádám Kovács
4e472f5a39 feat(frontend): Add action bar to run details (#684)
* feat(frontend): Add action bar to run details
2022-10-04 17:00:24 +02:00
Ruben Fiszel
91ce66e7fe spurrious printlns 2022-10-04 14:44:56 +02:00
Ruben Fiszel
ce0a410823 fix: only display error handler span if toggled on 2022-10-04 14:38:10 +02:00
Ruben Fiszel
b1b418a362 feat(frontend): add input transforms for flow loop 2022-10-04 14:34:55 +02:00
Ruben Fiszel
c207745fa7 feat: individual retry + flow UX refactor 2022-10-04 08:41:21 +02:00
Ruben Fiszel
e385eb54af progress 2022-10-04 08:40:01 +02:00
Ruben Fiszel
6b5002ec5e progress 2022-10-04 08:40:01 +02:00
Ruben Fiszel
33f17b207e progress 2022-10-04 08:40:01 +02:00
Ruben Fiszel
79636e6d86 progress 2022-10-04 08:40:01 +02:00
dependabot[bot]
be0ec3f21b chore(deps-dev): bump postcss from 8.4.16 to 8.4.17 in /frontend (#675)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.17.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.17)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:48:22 +00:00
dependabot[bot]
4d1ca4ec5c chore(deps-dev): bump svelte-check from 2.9.0 to 2.9.1 in /frontend (#678)
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-2.9.0...svelte-check-2.9.1)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:43:05 +00:00
dependabot[bot]
0831135ef5 chore(deps): bump unicode-general-category in /backend (#677)
Bumps [unicode-general-category](https://github.com/yeslogic/unicode-general-category) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/yeslogic/unicode-general-category/releases)
- [Commits](https://github.com/yeslogic/unicode-general-category/compare/0.5.1...0.6.0)

---
updated-dependencies:
- dependency-name: unicode-general-category
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:34:41 +00:00
dependabot[bot]
1068cdbb94 chore(deps): bump deno_core from 0.151.0 to 0.153.0 in /backend (#676)
Bumps [deno_core](https://github.com/denoland/deno) from 0.151.0 to 0.153.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:24:09 +00:00
dependabot[bot]
62ee238d8f chore(deps-dev): bump @playwright/test in /frontend (#674)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.25.2 to 1.26.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.2...v1.26.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:14:18 +00:00
dependabot[bot]
49c5a0d399 chore(deps-dev): bump flowbite-svelte in /frontend (#673)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.26.25 to 0.27.5.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.26.25...v0.27.5)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:08:41 +00:00
dependabot[bot]
f0af9cdec6 chore(deps): bump tokio from 1.21.1 to 1.21.2 in /backend (#672)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.21.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 19:03:53 +00:00
dependabot[bot]
d4cc74b213 chore(deps): bump serde from 1.0.144 to 1.0.145 in /backend (#669)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:54:00 +00:00
dependabot[bot]
2a03d64448 chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 in /frontend (#667)
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:39:16 +00:00
dependabot[bot]
e47a9174ca chore(deps-dev): bump prettier-plugin-svelte in /frontend (#666)
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/commits)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:36:53 +00:00
dependabot[bot]
803b94f36c chore(deps-dev): bump typescript from 4.8.3 to 4.8.4 in /frontend (#665)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.3 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.3...v4.8.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:33:55 +00:00
dependabot[bot]
561d7da1f3 chore(deps): bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 (#664)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.3...v1.3.4)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:31:29 +00:00
Faton Ramadani
0e23d2d604 feat(frontend): Discard changes confirmation modal (#653)
* feat(front): add a confirmation modal to discard unsaved changes

* feat(front):Fix modal content

* feat(front): Revert code + add unsavedconfirmatiomodal to the flow builder

* feat(front): Use a store to store whether the content of an editor needs to be saved before leaving

* feat(front): Add cleanup + only display the warning when navigating elsewhere on the app

* feat(front): set dirty to false when saving

* feat(front): add keyboard binding to cancel or resume

* feat(front): Init dirtyStore to true when creating a flow/script

* feat(front): Explicit store initiliation

* feat(front): initilisation dirty status after loading a script/flow
2022-10-03 14:32:06 +02:00
Ádám Kovács
6a28b68dbf refactor(frontend): Tailwind refactor (#637)
* feat(frontend): Tailwind config migration
2022-10-03 11:27:58 +02:00
Ruben Fiszel
5d46496342 fix(frontend): split early stop + fix highlight code 2022-10-03 04:41:19 +02:00
Ruben Fiszel
e8f2d38f47 fix(frontend): split early stop + fix highlight code 2022-10-03 04:39:34 +02:00
Ruben Fiszel
895fe106f8 fix: add step to running badge in flow viewer 2022-10-03 04:01:55 +02:00
Ruben Fiszel
0a67d3fb87 fix: change command behavior for monacos 2022-10-03 03:54:18 +02:00
Ruben Fiszel
ad0ffb5eb6 feat(frontend): remove step 2 for flows 2022-10-03 02:53:57 +02:00
Ruben Fiszel
e772f0377e feat(frontend): prop picker for stop condition 2022-10-03 02:24:32 +02:00
Ruben Fiszel
0c25d80578 feat(frontend): add prop picker to iterator 2022-10-03 01:53:58 +02:00
Ruben Fiszel
ee15bd9a9d feat(frontend): add prop picker to iterator 2022-10-02 23:17:40 +02:00
Ruben Fiszel
84a6441b9a feat(frontend): add variables and resources to the prop picker 2022-10-02 22:42:11 +02:00
Ruben Fiszel
fa8566ec20 in the editor bar separate variable and contextual variable 2022-10-02 21:49:42 +02:00
Ruben Fiszel
89a27837af minor UI fixes 2022-10-02 21:35:07 +02:00
Ruben Fiszel
612f7272a9 feat(backend): add WM_BASE_URL 2022-10-02 18:53:05 +02:00
Ruben Fiszel
1263450a61 chore(main): release 1.36.0 (#521)
* chore(main): release 1.36.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-02 06:08:39 +02:00
Ruben Fiszel
473a3b6f2b fix go runner 2022-10-02 05:59:01 +02:00
Ruben Fiszel
6fe5b8d6b7 fix(backend): allow for now payload on resume GET 2022-10-02 05:14:36 +02:00
Ruben Fiszel
dca46f764b set code before running runCmdAction 2022-10-02 04:41:22 +02:00
Ruben Fiszel
6f767abec1 frontend use exact time in every case 2022-10-02 02:56:01 +02:00
Ruben Fiszel
945a750c6b fix(go): make lines align with appended code 2022-10-02 01:28:14 +02:00
Ruben Fiszel
eabd835807 fix(go): inner_main is in a separate file rather than wrapped 2022-10-02 01:22:33 +02:00
Ruben Fiszel
b9518d748e fix(frontend): variable editor now acceps including 3000 chars + show length 2022-10-01 23:32:04 +02:00
Ruben Fiszel
08edcb24ca fix(frontend): increase the default size of the log and result panel for the script editor 2022-10-01 23:19:02 +02:00
Ruben Fiszel
2e101a0c3b feat(frontend): rich renderer improvements 2022-10-01 22:59:49 +02:00
Ruben Fiszel
390529a862 minor UI fixes 2022-10-01 09:14:08 +02:00
Ruben Fiszel
d863b1ed90 feat(backend): add WM_FLOW_JOB_ID 2022-10-01 09:02:00 +02:00
github-actions[bot]
15a82748e4 sync hub items with community (#652)
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-01 02:41:19 +02:00
Ruben Fiszel
eee7067074 fix(frontend): rework the error handler script picker 2022-10-01 00:22:41 +02:00
Jakub Kołodziejczak
6b6f1b407f fix(frontend): do only one request if job is completed [related to #649] (#651)
commit 9592c92f70 introduced a fix for an
issue described in #649. After mentioned fix frontend performs 2
requests instead of 1.

This fix can be considered as a vol.2 for #649
2022-09-30 23:39:41 +02:00
Ruben Fiszel
edb97605ad minor UI fixes 2022-09-30 22:59:36 +02:00
Ruben Fiszel
946317eb8d minor UI fixes 2022-09-30 22:53:31 +02:00
Jakub Kołodziejczak
9592c92f70 fix(frontend): don't loop for completed jobs [#649] (#650)
closes #649
2022-09-30 22:46:56 +02:00
Ruben Fiszel
2fda377360 minor UI fixes 2022-09-30 17:15:43 +02:00
Ruben Fiszel
4fd100d9fe minor UI fixes 2022-09-30 16:49:01 +02:00
Faton Ramadani
bbaba142ac feat(front): Confirmation modal when deleting a resource or a variable (#648)
* feat(front): add confirmation modal when deleting a resource or a variable

* feat(front): add shift bypass

* feat(front): clear callbacks

* feat(front): Add alert to inform user can confirmation modals can be bypassed
2022-09-30 15:04:57 +02:00
Christian Paul
2a95576ddc wmill.getInternalState() needs to be awaited (#646) 2022-09-30 05:44:51 +02:00
Ruben Fiszel
e8e2efd9bc fix(frontend): various small fixes 2022-09-30 05:40:29 +02:00
Ruben Fiszel
cb5db64320 fix(frontend): various small fixes 2022-09-30 05:23:30 +02:00
Christian Paul
c813998e91 see result -> see the result (#643) 2022-09-30 00:05:41 +02:00
Ruben Fiszel
d394edf44f fix(frontend): various small fixes 2022-09-29 22:50:18 +02:00
Christian Paul
d8cd950952 No logs is available -> No logs are available (#642) 2022-09-29 19:58:43 +02:00
Mike
a494975e69 feat: add iterator expression tooltip (#638) 2022-09-29 14:51:41 +02:00
Ruben Fiszel
5406a70407 fix: change string default input behavior for input arg 2022-09-28 19:52:31 +02:00
Faton Ramadani
b0ac674f46 feat(front): Rework how summaries are edited in the flow editor (#632)
* feat(front): Rework how summaries are edited in the flow editor

* feat(front): add IconOnly mode, to better handle responsivness

* feat(front): Fix FlowModule summary input width

* feat(front): simplify summary placeholder

* feat(front): Fix minimap resizing issues + fix minimap delete
2022-09-28 19:31:24 +02:00
Ruben Fiszel
537ac2b7a0 simplify script editor code bindings 2022-09-28 19:16:05 +02:00
Faton Ramadani
876dc60610 feat(front): Add a confirmation modal (#634)
* feat(front): Add a confirmation modal

* feat(front): Simplify styles

* feat(front): Remove code duplication

* feat(front): Add shortcut + add Alert component
2022-09-28 16:30:54 +02:00
Ruben Fiszel
6f2b8caa02 hotfix uses index url arg 2022-09-28 10:13:42 +02:00
Faton Ramadani
77ef514029 fix(front): Fix wording issues (#633)
* fix(front): Fix wording issues
2022-09-28 07:26:18 +00:00
Ruben Fiszel
eaadad6143 hotfix trusted host for pip-compile 2022-09-28 09:17:08 +02:00
Ruben Fiszel
ae3f86db11 feat: add private registries pip (#636)
* add private registries pip

* add private registries pip

* fix

* fix

* fix

* echo parameters
2022-09-28 08:47:43 +02:00
Ruben Fiszel
c0a55bfdd4 fix(frontend): workers as the last menu link 2022-09-27 22:52:02 +02:00
Faton Ramadani
deb0b47a5f fix(frontend): Hide the editor panel when we are editing a PathScript (#631)
* fix(frontend): Hide the editor panel when we are editing a PathScript

* feat(front): Remove viewCode action and display the code in the Editor panel
2022-09-27 17:52:02 +02:00
Faton Ramadani
941fe7146e feat(frontend): Landing rework (#630)
* feat(frontend): Use common components on the landing pae

* feat(frontend): Use shared icon
2022-09-27 13:57:08 +02:00
Faton Ramadani
13cfed6d89 feat(frontend): Add contextual actions to insert variables or resources (#629)
* feat(frontend): Add actions to Monaco editor

* feat(frontend): Remove useless icon

* feat(front): Move addActions to editorBar
2022-09-27 13:55:46 +02:00
Ruben Fiszel
4e791b039d fix: prop picker values correspond to test values (#628)
* progress

* progress
2022-09-27 03:29:32 +02:00
Faton Ramadani
d2e5168222 fix(frontend): Fix buttons spacings (#627) 2022-09-26 19:23:39 +02:00
Faton Ramadani
025d31f843 feat(frontend): Add support for failure modules (#612)
* feature(frontend): Failure module

* feature(frontend): Fix wording + Remove advanced tab for failure modules + fix failure module test

* feature(frontend): Fix wording + add toggle in the mini map + stick component at the bottom

* feat(frontend): Add summary to failure module

* feat(frontend): Add support for Failure module in the FlowModuleViewer

* feat(frontend): Add support for FailureModule in the status viewer

* feat(frontend): Fix building issues
2022-09-26 18:36:15 +02:00
Ádám Kovács
b10b1cc90a feat(frontend): Script page action row (#626)
* feat(frontend): Update button component styles

* feat(frontend): Use button component

* fix(frontend): Re-export button types

* feat(frontend): Use action row in script page

* fix(frontend): Center the action row

* fix(frontend): Revert to previous event forwarding

* feature(frontend): Add action row to flow page

* fix(frontend): Restore button red color
2022-09-26 17:18:17 +02:00
Ruben Fiszel
ff9bd2fc63 fix logspanel for flow viewer 2022-09-26 04:59:35 +02:00
Ruben Fiszel
932cef73ee buildcache not on ghcr 2022-09-26 04:19:31 +02:00
Ruben Fiszel
19fd4a6fff try catch around monaco services 2022-09-26 04:14:21 +02:00
Ruben Fiszel
6097c26cdb try catch around monaco services 2022-09-26 04:02:27 +02:00
Ruben Fiszel
428e96ad2d initialize flow store correctly 2022-09-26 03:53:11 +02:00
Ruben Fiszel
b87a498087 do not restart flow as zombie job 2022-09-26 00:45:26 +02:00
Ruben Fiszel
25724e5f89 fix runform 2022-09-25 18:11:00 +02:00
Ruben Fiszel
4044edf8d6 refactor logs panel everywhere applicable (#625)
* init

* init

* progress

* progress

* refactor logs entirely

* fix sqlx
2022-09-25 18:03:51 +02:00
Ruben Fiszel
ba203b8674 fix cancel job 2022-09-25 17:49:11 +02:00
Ruben Fiszel
cf879fcecf fix cancel job 2022-09-25 17:13:03 +02:00
Ruben Fiszel
3a530c8566 fix cancel job 2022-09-25 16:36:32 +02:00
sqwishy
e7a6c1b99f reorganize handle_child (#606)
* reorganize handle_child

There were a couple issues with the current implementation:

1. When reading stdout and stderr from the child, as soon as we hit EOF
   on one we would stop reading from both (line 1420). This could lead
   to the return value not being read from the job program.

2. Lines read from stdout and stderr are put into a channel and read
   elsewhere with `rx.recv()` (line 1497) but that channel isn't read
   until empty.  It is only read in the `while !done.load(...)` (line
   1449) loop and that loop can stop after any `.store(true, ...)`.
   Which happens when the child exits, when the job is cancelled, when
   either stdout or stderr reach EOF...

   This can be verified by putting `dbg!(rx.recv().await)` or a similar
   assertion after the while loop before returning from that function.
   It shows the channel still containing log lines on rare occasions.

I was pretty careful in this to maintain the current behaviour; adding
comments to express intention.

One difference in this is that some regular intervals (cancel check and
ping update) should be more regular?

Before...

> at 00ms wait for 10ms
> at 10ms do things for 3ms
> at 13ms wait again for *10ms*
> at 23ms do things again ...

With change...

> at 00ms wait for 10ms
> at 10ms do things for 3ms
> at 13ms wait again but for *7ms*
> at 20ms do things again ...

Which I'm guessing is preferable but I could be wrong.

* renames; interpolate values in log messages

* do `append_logs()` in tokio::task

* tokio::time::interval & close pipe after limit

* clean up comments
2022-09-24 22:55:52 +02:00
sqwishy
e23e537328 update cron v0.12.0 (#623) 2022-09-24 21:18:36 +02:00
Ruben Fiszel
bcb113682f feat(frontend): merge logs and result tab in script editor (#622) 2022-09-23 16:20:47 +02:00
Ruben Fiszel
40160c03f1 fix(frontend): loading flows with for loops + flowStatusViewer treat single jobs properly 2022-09-23 13:28:02 +02:00
Faton Ramadani
2d0255824c feat(frontend): Extract publish to hub button (#620)
* feature(frontend): Extract publish to hub button

* feat(frontend): Extract Publish to hub button
2022-09-23 12:23:37 +02:00
Faton Ramadani
5146c37baf feat(frontend): Add a split panel in the test tab (#619) 2022-09-23 12:11:05 +02:00
Ádám Kovács
f4c8636209 feat(frontend): Badge component and script page (#617)
* fix(frontend): Consistent tooltip font size

* feature(frontend): Add new badge component

* feature(frontend): Add color type to badge

* feature(frontend): Add copy to clipboard utility

* feature(frontend): Update common badge component

* feature(frontend): Update badge to handle icons

* feature(frontend): Update script page design

* feat(frontend): Add capitalize option to badges

* fix(frontend): Fix shared badge text display
2022-09-23 12:10:15 +02:00
Faton Ramadani
e8e4199c5c feature(frontend): Button component (#616)
* feature(frontend): Button component

* feature(frontend): Ajust style
2022-09-22 13:25:17 +02:00
sqwishy
47fba21256 remove delay between spawning each worker (#614) 2022-09-21 21:05:19 -07:00
Ruben Fiszel
d71bca7443 fix flow UX and flowStateStore (#610)
* fix everything

* fix(frontend): Restore module deletion + restore for loop settings

* fix(frontend): Add missing focus on number inputs

* fix(frontend): Add key wrapper to make sure the editor content is reloaded

* fix(frontend): Fix mini-map spacing + add icon to schedule and retry buttons

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-09-21 11:37:33 +02:00
Ruben Fiszel
3fe1afce29 improve preview results v1 2022-09-21 02:48:30 +02:00
Ruben Fiszel
4224bc42fe fix connect button 2022-09-21 02:00:30 +02:00
Ruben Fiszel
5642e5c734 fix Advanced flow module buttons 2022-09-21 01:38:16 +02:00
Ruben Fiszel
10db37a029 fix focusProp 2022-09-21 00:55:50 +02:00
dependabot[bot]
2947bb3c95 chore(deps): bump anyhow from 1.0.64 to 1.0.65 in /backend (#600)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.64...1.0.65)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:06:10 +00:00
dependabot[bot]
b1513824df chore(deps): bump thiserror from 1.0.34 to 1.0.35 in /backend (#604)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.34...1.0.35)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:03:02 +00:00
Faton Ramadani
0f33c26d54 feature(frontend): Add support for retries for flows (#607)
* feature(frontend): Add support for retries for flows

* feature(frontend): Fix design issues
2022-09-21 00:00:39 +02:00
dependabot[bot]
9045bd647e chore(deps): bump swc_ecma_parser from 0.119.7 to 0.119.12 in /backend (#597)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.119.7 to 0.119.12.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:00:28 +00:00
Faton Ramadani
9ef6663dc5 feature(frontend): Prop picker panel (#605)
* feature(frontend): WIP Prop picker v2

* feature(frontend): add PropPicker context

* feature(frontend): prop picker working

* feature(frontend): restore connect button

* feature(frontend): Fix wording + fix height to avoid content shift

* feature(frontend): Fix upTo preview + adapt style

* feature(frontend): Preview results cleanup

* feature(frontend): Remove test logs

* feature(frontend): Revert wrong changes

* feature(frontend): Restore shared preview args

* feature(frontend): Reduce ObjectViewer font size + remove useless space

* feature(frontend): Wording

* feature(frontend): Fix Split panel scrolling issues
2022-09-20 23:59:48 +02:00
dependabot[bot]
17e480f3be chore(deps): bump swc_common from 0.28.7 to 0.28.8 in /backend (#601)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.28.7 to 0.28.8.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 21:05:54 +00:00
dependabot[bot]
afa24ab100 chore(deps): bump itertools from 0.10.3 to 0.10.4 in /backend (#592)
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/rust-itertools/itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 20:39:40 +00:00
dependabot[bot]
ad29df6ffa chore(deps): bump swc_ecma_ast from 0.91.3 to 0.91.7 in /backend (#599)
Bumps [swc_ecma_ast](https://github.com/swc-project/swc) from 0.91.3 to 0.91.7.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_ast
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 20:27:42 +00:00
dependabot[bot]
44f3b1abab chore(deps-dev): bump @sveltejs/adapter-static in /frontend (#598)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.42 to 1.0.0-next.43.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@1.0.0-next.43/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 20:10:59 +00:00
dependabot[bot]
807d2f70e7 chore(deps-dev): bump autoprefixer from 10.4.9 to 10.4.11 in /frontend (#594)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.9 to 10.4.11.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.9...10.4.11)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 19:53:38 +00:00
dependabot[bot]
b90ff8928e chore(deps): bump swc_common from 0.28.3 to 0.28.7 in /backend (#593)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.28.3 to 0.28.7.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 19:43:11 +00:00
dependabot[bot]
53e81b3cf7 chore(deps-dev): bump flowbite-svelte in /frontend (#591)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.26.18 to 0.26.25.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.26.18...v0.26.25)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 19:27:17 +00:00
dependabot[bot]
7f917fbcde chore(deps): bump deno_core from 0.150.0 to 0.151.0 in /backend (#590)
Bumps [deno_core](https://github.com/denoland/deno) from 0.150.0 to 0.151.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 19:18:05 +00:00
dependabot[bot]
af2e05b5af chore(deps): bump sqlx from 0.6.1 to 0.6.2 in /backend (#589)
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/launchbadge/sqlx/releases)
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 19:06:04 +00:00
dependabot[bot]
b52e032d22 chore(deps-dev): bump svelte2tsx from 0.5.16 to 0.5.18 in /frontend (#588)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.16 to 0.5.18.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.16...svelte2tsx-0.5.18)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 18:53:29 +00:00
dependabot[bot]
cfa4d25716 chore(deps): bump tokio from 1.21.0 to 1.21.1 in /backend (#587)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.0...tokio-1.21.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 18:44:19 +00:00
dependabot[bot]
c46024f64e chore(deps-dev): bump @typescript-eslint/parser in /frontend (#586)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.37.0 to 5.38.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.38.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 18:31:22 +00:00
ex0ns
b78f2d1a91 feat(dev): setup devcontainer (#549)
Co-authored-by: ex0ns <ex0ns@protonmail.ch>
2022-09-19 16:58:22 +02:00
Ruben Fiszel
dfe473d2a0 fix logpanel ml 2022-09-19 08:59:14 +02:00
Ruben Fiszel
e1f54832fa more details on error handling job 2022-09-18 10:11:21 +02:00
Ruben Fiszel
56608f88d6 fix schema required added multiple times 2022-09-18 10:01:50 +02:00
Christian Paul
c8c806d776 Improve issue template: Bug Report (#582) 2022-09-18 09:52:50 +02:00
Faton Ramadani
a85302c1c3 fix(frontend): Support of suspend & stop expression + restore import/export menu (#580)
* feature(frontend): Various UI fix + restore removed features

* feature(frontend): WIP Prop picker panel

* feature(frontend): Advanced flow module tab

* feature(frontend): Add import/export flow menu

* feature(frontend): Remove summary edition + add a enable/disable button for suspend
2022-09-16 14:00:02 +02:00
Faton Ramadani
e2924d581e fix(frontend): Fix flow preview inputs display to avoid hiding results (#581) 2022-09-16 12:49:30 +02:00
Ruben Fiszel
a82f70a1bb fix flow status viewer 2022-09-15 22:24:44 +02:00
Ruben Fiszel
622ffe050c remove tooltip 2022-09-15 22:15:26 +02:00
sqwishy
126dd24c71 feat(backend): flow suspend resume (#522)
Flow observes `suspend` setting and will wait for resume messages sent for the job before continuing to the next step in a flow.

Adds endpoints under workspaces at `/jobs/<cancel|resume>/<job-uuid>` to either cancel or resume the job with a payload. For POST requests to the endpoint, payload is a JSON document. For GET requests to the endpoints, the payload is a base64url encoded JSON document as the value of the payload query parameter.
2022-09-14 11:46:57 -07:00
Ruben Fiszel
0b781f5411 add javascript worker 2022-09-14 12:51:16 +02:00
Faton Ramadani
9fa4d01e3b 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
896a0ec2c5 update README 2022-09-14 01:39:06 +02:00
Ruben Fiszel
a8020b79d3 add golang-go 1.19 2022-09-14 01:07:05 +02:00
Ruben Fiszel
0765ed1767 add golang-go 1.19 2022-09-14 01:01:49 +02:00
Ruben Fiszel
d87c821588 add golang-go 1.19 2022-09-14 00:16:43 +02:00
Ruben Fiszel
39918a9bb1 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
110a25f6f8 fix: iterator input transform is made more generic (#524)
* fix: iterator expr is standardized with regular input transforms

* fix: iterator expr is standardized with regular input transforms

* v2
2022-09-13 20:11:00 +02:00
Ruben Fiszel
98a75b223d chore(deps): update icon deps 2022-09-13 11:24:20 +02:00
Ruben Fiszel
279a2d8994 chore(deps): update backend 2022-09-13 11:12:54 +02:00
dependabot[bot]
b7b17f0bad chore(deps-dev): bump @typescript-eslint/parser in /frontend (#576)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.37.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 07:48:18 +00:00
dependabot[bot]
8b5443cdd6 chore(deps-dev): bump flowbite-svelte in /frontend (#575)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.26.11 to 0.26.18.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.26.11...v0.26.18)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 07:43:20 +00:00
dependabot[bot]
7f4d216b2e chore(deps-dev): bump @playwright/test in /frontend (#574)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.25.1 to 1.25.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.1...v1.25.2)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 07:38:17 +00:00
dependabot[bot]
992397c119 chore(deps): bump monaco-languageclient from 3.0.1 to 4.0.0 in /frontend (#570)
Bumps [monaco-languageclient](https://github.com/TypeFox/monaco-languageclient/tree/HEAD/packages/client) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/TypeFox/monaco-languageclient/releases)
- [Changelog](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/client/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-languageclient/commits/HEAD/packages/client)

---
updated-dependencies:
- dependency-name: monaco-languageclient
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 09:33:02 +02:00
dependabot[bot]
9f06c710d2 chore(deps-dev): bump autoprefixer from 10.4.8 to 10.4.9 in /frontend (#573)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.8 to 10.4.9.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.8...10.4.9)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 07:30:31 +00:00
dependabot[bot]
51d35d58ab chore(deps): bump vscode-ws-jsonrpc from 1.0.2 to 2.0.0 in /frontend (#553)
Bumps [vscode-ws-jsonrpc](https://github.com/TypeFox/monaco-languageclient/tree/HEAD/packages/vscode-ws-jsonrpc) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/TypeFox/monaco-languageclient/releases)
- [Changelog](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/vscode-ws-jsonrpc/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-languageclient/commits/v2.0.0/packages/vscode-ws-jsonrpc)

---
updated-dependencies:
- dependency-name: vscode-ws-jsonrpc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 09:12:23 +02:00
dependabot[bot]
0a7e29d233 chore(deps): bump monaco-editor-workers in /frontend (#569)
Bumps [monaco-editor-workers](https://github.com/TypeFox/monaco-components/tree/HEAD/packages/monaco-editor-workers) from 0.34.1 to 0.34.2.
- [Release notes](https://github.com/TypeFox/monaco-components/releases)
- [Changelog](https://github.com/TypeFox/monaco-components/blob/main/packages/monaco-editor-workers/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-components/commits/workers_0.34.2/packages/monaco-editor-workers)

---
updated-dependencies:
- dependency-name: monaco-editor-workers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:46:14 +00:00
dependabot[bot]
e62daa5a01 chore(deps-dev): bump eslint from 8.23.0 to 8.23.1 in /frontend (#568)
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:27:24 +00:00
dependabot[bot]
7dee33c384 chore(deps-dev): bump svelte from 3.50.0 to 3.50.1 in /frontend (#565)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.50.0 to 3.50.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.50.0...v3.50.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:00:36 +00:00
dependabot[bot]
6d5a923ce7 chore(deps): bump deno_core from 0.149.0 to 0.150.0 in /backend (#560)
Bumps [deno_core](https://github.com/denoland/deno) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:41:19 +00:00
dependabot[bot]
164a454a6e chore(deps-dev): bump typescript from 4.8.2 to 4.8.3 in /frontend (#562)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.2...v4.8.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:23:07 +00:00
dependabot[bot]
30ed6c8218 chore(deps): bump swc_ecma_ast from 0.90.16 to 0.90.20 in /backend (#561)
Bumps [swc_ecma_ast](https://github.com/swc-project/swc) from 0.90.16 to 0.90.20.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_ast
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:17:08 +00:00
dependabot[bot]
851e243d64 chore(deps): bump url from 2.2.2 to 2.3.0 in /backend (#558)
Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:02:33 +00:00
dependabot[bot]
71fbbae7af chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#557)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.37.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:56:23 +00:00
dependabot[bot]
d939019143 chore(deps): bump swc_common from 0.27.13 to 0.27.16 in /backend (#554)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.27.13 to 0.27.16.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:38:24 +00:00
ex0ns
6f09405c2d feat(job): run job by hash (#551)
It was possible to run them using a webhook, but not through an endpoint.
This PR aims to fix that so the user can target a specific version of
the script to run.
2022-09-11 16:39:48 +02:00
Ruben Fiszel
db11d28b31 replaceState on login 2022-09-10 13:25:12 +02:00
Christian Paul
894a4850df Typo: non archived verson -> non-archived version (#548) 2022-09-06 15:12:34 +02:00
dependabot[bot]
90158e0882 chore(deps-dev): bump svelte from 3.49.0 to 3.50.0 in /frontend (#541)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.49.0 to 3.50.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.49.0...v3.50.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 21:02:36 +00:00
dependabot[bot]
1e279464f1 chore(deps-dev): bump @typescript-eslint/parser in /frontend (#547)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:56:38 +00:00
dependabot[bot]
e12f20c591 chore(deps-dev): bump flowbite from 1.5.2 to 1.5.3 in /frontend (#546)
Bumps [flowbite](https://github.com/themesberg/flowbite) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/themesberg/flowbite/releases)
- [Commits](https://github.com/themesberg/flowbite/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: flowbite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:50:31 +00:00
dependabot[bot]
3e44415da6 chore(deps-dev): bump svelte-popperjs from 1.3.1 to 1.3.2 in /frontend (#545)
Bumps [svelte-popperjs](https://github.com/bryanmylee/svelte-popperjs) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bryanmylee/svelte-popperjs/releases)
- [Commits](https://github.com/bryanmylee/svelte-popperjs/compare/v.1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: svelte-popperjs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:44:34 +00:00
dependabot[bot]
02278468f8 chore(deps-dev): bump flowbite-svelte in /frontend (#544)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.26.10 to 0.26.11.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.26.10...v0.26.11)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:38:21 +00:00
dependabot[bot]
a9d5b21811 chore(deps-dev): bump @tailwindcss/forms in /frontend (#538)
Bumps [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-forms/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-forms/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-forms/compare/v0.5.2...v0.5.3)

---
updated-dependencies:
- dependency-name: "@tailwindcss/forms"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:31:56 +00:00
dependabot[bot]
025228a450 chore(deps-dev): bump @types/vscode from 1.70.0 to 1.71.0 in /frontend (#542)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:23:07 +00:00
dependabot[bot]
7d8ed54e44 chore(deps-dev): bump @sveltejs/adapter-static in /frontend (#540)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.39 to 1.0.0-next.42.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@1.0.0-next.42/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 20:08:39 +00:00
dependabot[bot]
759562db93 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#535)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:53:20 +00:00
dependabot[bot]
52d157801a chore(deps): bump swc_ecma_parser from 0.118.3 to 0.118.6 in /backend (#537)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.118.3 to 0.118.6.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:50:26 +00:00
dependabot[bot]
8ce9c398a7 chore(deps): bump anyhow from 1.0.62 to 1.0.64 in /backend (#531)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.62 to 1.0.64.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.62...1.0.64)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:42:55 +00:00
dependabot[bot]
7e9045cadd chore(deps): bump thiserror from 1.0.32 to 1.0.34 in /backend (#536)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.32 to 1.0.34.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.34)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:34:43 +00:00
dependabot[bot]
34e6476e3a chore(deps-dev): bump flowbite-svelte in /frontend (#533)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.25.12 to 0.26.10.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.25.12...v0.26.10)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:25:28 +00:00
dependabot[bot]
d491709e7b chore(deps): bump swc_ecma_ast from 0.90.15 to 0.90.16 in /backend (#532)
Bumps [swc_ecma_ast](https://github.com/swc-project/swc) from 0.90.15 to 0.90.16.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_ast
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:19:53 +00:00
dependabot[bot]
aac1c449ab chore(deps): bump urlencoding from 2.1.0 to 2.1.2 in /backend (#530)
Bumps [urlencoding](https://github.com/kornelski/rust_urlencoding) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/kornelski/rust_urlencoding/releases)
- [Commits](https://github.com/kornelski/rust_urlencoding/commits/v2.1.2)

---
updated-dependencies:
- dependency-name: urlencoding
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:11:16 +00:00
dependabot[bot]
d0c1208022 chore(deps-dev): bump @tailwindcss/typography in /frontend (#529)
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.4 to 0.5.7.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.4...v0.5.7)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:01:50 +00:00
dependabot[bot]
303023dde6 chore(deps): bump headers from 0.3.7 to 0.3.8 in /backend (#528)
Bumps [headers](https://github.com/hyperium/headers) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/hyperium/headers/releases)
- [Commits](https://github.com/hyperium/headers/compare/headers-v0.3.7...headers-v0.3.8)

---
updated-dependencies:
- dependency-name: headers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 18:58:09 +00:00
dependabot[bot]
49cf8c5264 chore(deps): bump deno_core from 0.148.0 to 0.149.0 in /backend (#527)
Bumps [deno_core](https://github.com/denoland/deno) from 0.148.0 to 0.149.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 18:52:23 +00:00
dependabot[bot]
85472fd176 chore(deps-dev): bump svelte2tsx from 0.5.15 to 0.5.16 in /frontend (#526)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.15 to 0.5.16.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.15...svelte2tsx-0.5.16)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 18:42:50 +00:00
Ruben Fiszel
e9abcffdd1 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
Ruben Fiszel
482dc808ae logs around fetching job 2022-09-04 13:30:48 +02:00
Ruben Fiszel
12e2a31776 logs around job execution contain job id 2022-09-04 13:11:43 +02:00
Ruben Fiszel
b6725dceca use local time for timeout 2022-09-04 13:05:39 +02:00
Ruben Fiszel
1bc12179c7 fix: last ping is set when the job is started avoiding erronous restart 2022-09-04 12:51:55 +02:00
Ruben Fiszel
dc11ba837a improve UI long schedule path handling 2022-09-04 00:42:33 +02:00
Ruben Fiszel
62c1f2028e fix audit log can accept username up to 255 2022-09-04 00:25:45 +02:00
Ruben Fiszel
4afde0a593 fix audit log can accept username up to 255 2022-09-04 00:07:55 +02:00
sqwishy
d69d002b82 flow step retry feature (#493)
* flow step retry feature

* comparison constant on right side for clarity

* raise high retry values when starting a flow

also renamed duration to interval to be more specific about the retry
interval/period between tries or attempts

* add flow retry to openflow openapi

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-09-03 20:38:31 +02:00
Ruben Fiszel
e8aec1c93a split editor and simple editor 2022-09-03 15:11:51 +02:00
Ruben Fiszel
0d72ab9306 inline gh icon 2022-09-02 20:30:06 +02:00
Ruben Fiszel
cea602c083 chore(main): release 1.35.0 (#457)
* chore(main): release 1.35.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-09-02 10:38:25 +02:00
Ruben Fiszel
a6ae531f00 update flow viewer 2022-09-02 09:40:06 +02:00
Ruben Fiszel
d9641b36ef skipped_if_stopped -> skip_if_stopped 2022-09-02 09:06:40 +02:00
Ruben Fiszel
cf7209bdb9 feat: clean openflow spec v1 (#491)
* clean api 2

* the rest

* clean tests

* stop_after_if test

* unbox `modules: Vec<FlowModule>` in `ForloopFlow`

* migrate

* initFlow stop_after_if_expr and skip_if_stopped

* s/migrateInitTransform/migrateFlowModule

I didn't read the name before... oops

* sql migration for openflow changes

* fix frontend migration code

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-09-02 01:26:39 +02:00
sqwishy
79b4c18c9a optional ro mount /etc/pki in nsjail (#519)
contents of /etc/ssl symlink to /etc/pki on my system (Fedora) so some
programs (like pip) fail without /etc/pki
2022-08-31 21:48:10 +02:00
Faton Ramadani
0deb31e6b6 fix(frontend): Make sure the schema is infered when the component is mounted (#520) 2022-08-31 21:29:56 +02:00
Faton Ramadani
a2265f7f41 feat(frontend): Script editor (#518)
* feat(frontend): Migrate Tabs

* feat(frontend): Generalise Menu

* feat(frontend): Menu component done

* feat(frontend): Fix placements

* feat(frontend): Rework component splitting

* feat(frontend): Clean unused imports

* feat(frontend): Script editor done

* feat(frontend): Code cleanup

* feat(frontend): Fix linting

* feat(frontend): Add running animation

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-31 18:50:36 +02:00
Faton Ramadani
6bb80b803d feat(frontend): Menu + Tab components (#517)
* feat(frontend): Migrate Tabs

* feat(frontend): Generalise Menu

* feat(frontend): Menu component done

* feat(frontend): Fix placements

* feat(frontend): Clean unused imports

* feat(frontend): Fix linting
2022-08-31 18:41:13 +02:00
dependabot[bot]
eeff85f362 chore(deps-dev): bump @playwright/test in /frontend (#515)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.25.0 to 1.25.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.0...v1.25.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:49:35 +00:00
dependabot[bot]
840d4fe249 chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 in /frontend (#513)
Bumps [eslint](https://github.com/eslint/eslint) from 8.22.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.22.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:43:45 +00:00
dependabot[bot]
fbd0e2d575 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#500)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.34.0 to 5.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.35.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:38:33 +00:00
dependabot[bot]
b3a0dbee4e chore(deps-dev): bump svelte-check from 2.8.1 to 2.9.0 in /frontend (#514)
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 2.8.1 to 2.9.0.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-2.8.1...svelte-check-2.9.0)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:33:24 +00:00
dependabot[bot]
ffef6576a1 chore(deps-dev): bump @typescript-eslint/parser in /frontend (#512)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.34.0 to 5.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.35.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:14:57 +00:00
dependabot[bot]
24c11f3e0b chore(deps): bump monaco-languageclient from 3.0.0 to 3.0.1 in /frontend (#510)
Bumps [monaco-languageclient](https://github.com/TypeFox/monaco-languageclient/tree/HEAD/packages/client) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/TypeFox/monaco-languageclient/releases)
- [Changelog](https://github.com/TypeFox/monaco-languageclient/blob/main/packages/client/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-languageclient/commits/mlc-v3.0.1/packages/client)

---
updated-dependencies:
- dependency-name: monaco-languageclient
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 21:05:27 +00:00
dependabot[bot]
327dc807d0 chore(deps-dev): bump svelte2tsx from 0.5.14 to 0.5.15 in /frontend (#508)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.14...svelte2tsx-0.5.15)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 20:51:48 +00:00
dependabot[bot]
40da7d165c chore(deps-dev): bump svelte-heros from 2.3.3 to 2.3.5 in /frontend (#504)
Bumps [svelte-heros](https://github.com/shinokada/svelte-heros) from 2.3.3 to 2.3.5.
- [Release notes](https://github.com/shinokada/svelte-heros/releases)
- [Changelog](https://github.com/shinokada/svelte-heros/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shinokada/svelte-heros/compare/v2.3.3...v2.3.5)

---
updated-dependencies:
- dependency-name: svelte-heros
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:48:55 +00:00
dependabot[bot]
ca8ac7f182 chore(deps): bump time from 0.3.13 to 0.3.14 in /backend (#503)
Bumps [time](https://github.com/time-rs/time) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.13...v0.3.14)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:39:09 +00:00
dependabot[bot]
b8610c9002 chore(deps-dev): bump svelte-popperjs from 1.2.11 to 1.3.1 in /frontend (#502)
Bumps [svelte-popperjs](https://github.com/bryanmylee/svelte-popperjs) from 1.2.11 to 1.3.1.
- [Release notes](https://github.com/bryanmylee/svelte-popperjs/releases)
- [Commits](https://github.com/bryanmylee/svelte-popperjs/compare/v1.2.11...v.1.3.1)

---
updated-dependencies:
- dependency-name: svelte-popperjs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:20:23 +00:00
dependabot[bot]
686eaadf30 chore(deps): bump futures from 0.3.23 to 0.3.24 in /backend (#501)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.23...0.3.24)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 19:10:34 +00:00
dependabot[bot]
ebad5f927a chore(deps): bump swc_ecma_parser from 0.118.0 to 0.118.3 in /backend (#499)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.118.0 to 0.118.3.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 18:56:00 +00:00
dependabot[bot]
3a59abf7d7 chore(deps): bump deno_core from 0.147.0 to 0.148.0 in /backend (#498)
Bumps [deno_core](https://github.com/denoland/deno) from 0.147.0 to 0.148.0.
- [Release notes](https://github.com/denoland/deno/releases)
- [Changelog](https://github.com/denoland/deno/blob/main/Releases.md)
- [Commits](https://github.com/denoland/deno/commits)

---
updated-dependencies:
- dependency-name: deno_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 18:41:03 +00:00
dependabot[bot]
081a0400f7 chore(deps-dev): bump typescript from 4.7.4 to 4.8.2 in /frontend (#497)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 18:25:43 +00:00
Ruben Fiszel
e203cb7a5c replaceState on logout and loading screen while loading user 2022-08-28 12:17:38 +02:00
Ruben Fiszel
319488d484 only load in audit logs all users if not demo 2022-08-26 18:13:09 +02:00
Faton Ramadani
d783b2f409 Sidebar rework (#490)
* feat(frontend): Add runs to landing page + fix responsive issues

* feat(frontend): Sidebar done

* feat(frontend): Align all pages to the new layout

* feat(frontend): Make scripts and flows box clickable

* feat(frontend): Revert the sidebar color

* feat(frontend): Restore missing workspace menu + fix minor UI issues
2022-08-26 17:15:27 +02:00
github-actions[bot]
5629179490 sync hub items with community (#488)
Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-08-25 16:54:00 +02:00
Ruben Fiszel
76f8165b82 pass language to completed job 2022-08-25 14:55:38 +02:00
Faton Ramadani
9b8f263319 feat(frontend): Add runs to landing page + fix responsive issues (#487) 2022-08-25 12:22:33 +02:00
Ruben Fiszel
3c25a703b5 set homepage as page on workspace selection 2022-08-24 23:41:59 +02:00
Faton Ramadani
5954789abb feat(frontend): App landing page (#486)
* feat(frontend): App landing page

* feat(frontend): Add link to documentation + adapt styles
2022-08-24 23:23:02 +02:00
Mike
0e4f7fb332 typo (#485) 2022-08-24 16:38:19 +02:00
Ruben Fiszel
9e44479d9d text-left on approved flows summary 2022-08-24 14:52:24 +02:00
Faton Ramadani
0ec77f2e6f fix(front): Simplfiy how the job's results are read (#483)
* fix(front): Simplfiy how the job's results are read

* fix(front): Remove useless store and compute flow state directly

* fix(front): Clear timeout + remove useless reactive statements + correctly handle prop changes
2022-08-24 10:31:19 +02:00
Faton Ramadani
4c1cb1d379 fix(front): Set run button state to done when all jobs are loaded (#482) 2022-08-24 00:39:52 +02:00
Ruben Fiszel
ed1d210d35 cancel flow on run 2022-08-23 23:01:26 +02:00
Ruben Fiszel
9da55f7f50 fix multiline arg 2022-08-23 22:55:18 +02:00
Faton Ramadani
538dc8f4c2 fix(front): Fix display (#481) 2022-08-23 22:52:42 +02:00
Faton Ramadani
25a6eec82c Merge branch 'main' of https://github.com/windmill-labs/windmill 2022-08-23 22:51:51 +02:00
Faton Ramadani
96e42dd0fd fix(front): Fix not found error + add timeout (#480) 2022-08-23 22:44:33 +02:00
Faton Ramadani
d8bb9dccff fix(front): Fix not found error + add timeout 2022-08-23 22:42:32 +02:00
Ruben Fiszel
92c67228ac make code injection works with multiline 2022-08-23 22:34:16 +02:00
Ruben Fiszel
2ffe03f6e7 fix click propagation on module header 2022-08-23 22:30:35 +02:00
Faton Ramadani
8a585c084a fix(front): Display all the logs (#479) 2022-08-23 22:21:26 +02:00
Faton Ramadani
ab994e6d42 fix(front): Display all the logs (#478) 2022-08-23 22:13:27 +02:00
Ruben Fiszel
6d25f94127 cancel flow on run 2022-08-23 22:08:52 +02:00
Ruben Fiszel
dba1678857 init args in flowpreviewcontent 2022-08-23 21:56:05 +02:00
Ruben Fiszel
ad723a12c6 fork from frontpage 2022-08-23 21:33:44 +02:00
Ruben Fiszel
74055b7a0f fork from frontpage 2022-08-23 21:26:59 +02:00
Ruben Fiszel
c5c4138983 fork from frontpage 2022-08-23 21:25:38 +02:00
Ruben Fiszel
cbbd41e6e2 fix loading flow 2022-08-23 21:14:39 +02:00
Ruben Fiszel
237c5fd53c fork scripts 2022-08-23 21:05:17 +02:00
Faton Ramadani
2153bbc4d1 Fix inline preview reload (#477)
* fix(front): Fix inline preview

* fix(front): Fix inline preview reload

* fix(front): Fix inline preview reload
2022-08-23 20:24:35 +02:00
Ruben Fiszel
d0c0a5a027 summary on flow modules 2022-08-23 20:23:15 +02:00
Faton Ramadani
cbe9676a1f fix(front): Fix inline preview (#476) 2022-08-23 20:10:08 +02:00
Faton Ramadani
34dd4bef12 fix(front): Fix scroll (#475) 2022-08-23 20:03:24 +02:00
Faton Ramadani
e58a8d5952 Flow preview UI (#474)
* feat(frontend): Rework Flow preview UI

* feat(frontend): Rework Flow done

* feat(frontend): Fix SchemaForm height

* feat(frontend): Clean up
2022-08-23 19:58:03 +02:00
Ruben Fiszel
f41c612288 frontend checks for username at frontend 2022-08-23 19:40:11 +02:00
Ruben Fiszel
cf60241348 fix runs page design 2022-08-23 16:28:24 +02:00
Mike
bd98cad5c7 fix: remove duplicate path (#473) 2022-08-23 15:59:32 +02:00
Ruben Fiszel
b8b1cc83ae list flow steps only on the tab 'all' 2022-08-23 15:18:44 +02:00
Ruben Fiszel
e7b9bace35 first pass on runs refactor 2022-08-23 02:11:01 +02:00
Lucas Lemanowicz
15cf33c217 Update docker-compose.yml (#472) 2022-08-22 23:51:52 +02:00
dependabot[bot]
81a17a2370 chore(deps-dev): bump flowbite-svelte in /frontend (#471)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.24.12 to 0.25.12.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.24.12...v0.25.12)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 20:39:32 +00:00
dependabot[bot]
53b5d58262 chore(deps-dev): bump @typescript-eslint/parser in /frontend (#469)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.33.1 to 5.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.34.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 22:12:08 +02:00
dependabot[bot]
438b35d4ac chore(deps-dev): bump svelte2tsx from 0.5.13 to 0.5.14 in /frontend (#470)
Bumps [svelte2tsx](https://github.com/sveltejs/language-tools) from 0.5.13 to 0.5.14.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte2tsx-0.5.13...svelte2tsx-0.5.14)

---
updated-dependencies:
- dependency-name: svelte2tsx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 22:11:52 +02:00
Ruben Fiszel
40f753ec63 update monaco
rm new files
2022-08-22 22:08:06 +02:00
dependabot[bot]
5cbf626bd4 chore(deps-dev): bump svelte-check from 2.8.0 to 2.8.1 in /frontend (#466)
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-2.8.0...svelte-check-2.8.1)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:59:07 +00:00
dependabot[bot]
9d2f55d4aa chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#464)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.1 to 5.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.34.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:53:15 +00:00
Ruben Fiszel
2257ea47e7 chore(deps): update backend 2022-08-22 21:23:09 +02:00
dependabot[bot]
c2eef9f2eb chore(deps): bump serde from 1.0.143 to 1.0.144 in /backend (#461)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:18:48 +00:00
Ruben Fiszel
354c96373a approved scripts/flows UI nit 2022-08-22 21:14:49 +02:00
dependabot[bot]
82a8e20481 chore(deps): bump swc_common from 0.27.8 to 0.27.9 in /backend (#460)
Bumps [swc_common](https://github.com/swc-project/swc) from 0.27.8 to 0.27.9.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 19:01:37 +00:00
dependabot[bot]
beed0291fb chore(deps): bump monaco-editor-workers in /frontend (#459)
Bumps [monaco-editor-workers](https://github.com/TypeFox/monaco-components/tree/HEAD/packages/monaco-editor-workers) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/TypeFox/monaco-components/releases)
- [Changelog](https://github.com/TypeFox/monaco-components/blob/main/packages/monaco-editor-workers/CHANGELOG.md)
- [Commits](https://github.com/TypeFox/monaco-components/commits/HEAD/packages/monaco-editor-workers)

---
updated-dependencies:
- dependency-name: monaco-editor-workers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 18:48:39 +00:00
dependabot[bot]
5a06a35e6c chore(deps): bump anyhow from 1.0.61 to 1.0.62 in /backend (#458)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.61...1.0.62)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 18:38:44 +00:00
Ruben Fiszel
9498975fee add base_url to DENO_AUTH_TOKENS 2022-08-22 02:47:44 +02:00
Ruben Fiszel
dce87d77d7 fix autowebsocket + update tooltip socket 2022-08-21 23:50:40 +02:00
Ruben Fiszel
35277160a6 feat: pass bearerToken as queryArg 2022-08-21 22:39:19 +02:00
1033 changed files with 115324 additions and 27070 deletions

42
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,42 @@
FROM python:3.10-slim-bullseye as nsjail
WORKDIR /nsjail
RUN apt-get -y update \
&& apt-get install -y \
bison \
flex \
g++ \
gcc \
git \
libprotobuf-dev \
libnl-route-3-dev \
make \
pkg-config \
protobuf-compiler \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN git clone -b master --single-branch https://github.com/google/nsjail.git . \
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800
RUN make
FROM mcr.microsoft.com/vscode/devcontainers/rust:bullseye as rust-deps
RUN cargo install sqlx-cli --no-default-features --features native-tls,postgres
RUN cargo install deno --locked
FROM mcr.microsoft.com/vscode/devcontainers/rust:bullseye
RUN apt update \
&& apt-get install -y \
lld \
python3 \
libprotobuf-dev \
libnl-route-3-dev \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
USER vscode
COPY --from=rust-deps /usr/local/cargo/bin/sqlx /usr/local/cargo/bin/sqlx
COPY --from=rust-deps /usr/local/cargo/bin/deno /usr/local/cargo/bin/deno
COPY --from=nsjail /nsjail/nsjail /bin/nsjail

View File

@@ -0,0 +1,25 @@
version: '3.7'
services:
windmill:
build:
context: .
dockerfile: .devcontainer/Dockerfile
# image: mcr.microsoft.com/vscode/devcontainers/rust:bullseye
environment:
- DENO_PATH=/usr/local/cargo/bin/deno
- PYTHON_PATH=/usr/bin/python3
- NSJAIL_PATH=/bin/nsjail
volumes:
- .:/workspace:cached
- ~/.ssh:/home/vscode/.ssh:ro
command: /bin/sh -c "while sleep 1000; do :; done"
front:
image: mcr.microsoft.com/vscode/devcontainers/typescript-node:16
volumes:
- .:/workspace:cached
- ~/.ssh:/home/node/.ssh:ro
command: /bin/sh -c "while sleep 1000; do :; done"

2
.env
View File

@@ -1,2 +1,2 @@
DB_PASSWORD=changeme
WM_BASE_URL=windmill.localhost
WM_BASE_URL=localhost

View File

@@ -30,18 +30,20 @@ RUN apt-get -y update \
ENV SQLX_OFFLINE=true
COPY ./nsjail /nsjail
RUN mkdir -p /frontend/build
RUN apt-get update \
&& apt-get install -y ca-certificates tzdata libpq5 \
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev \
libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev=3.6.* libnl-route-3-dev=3.4.* \
libv8-dev tesseract-ocr \
libv8-dev tesseract-ocr nodejs npm\
&& rm -rf /var/lib/apt/lists/*
RUN wget https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
ENV TZ=Etc/UTC
ENV PYTHON_VERSION 3.10.4
@@ -59,4 +61,6 @@ COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno
RUN apt-get update \
&& apt-get install -y postgresql-client
&& apt-get install -y postgresql-client --allow-unauthenticated
RUN rustup component add rustfmt

7
.github/DockerfilePypiBuilder vendored Normal file
View File

@@ -0,0 +1,7 @@
FROM nikolaik/python-nodejs:python3.11-nodejs19
RUN python3 -m pip install pipx poetry
RUN python3 -m pipx ensurepath
ENV PATH="/root/.local/bin:${PATH}"
ENV PATH="/usr/local/bin:${PATH}"
RUN pipx install openapi-python-client==0.11.6 --include-deps

View File

@@ -1,27 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: 'bug:'
labels: 'bug'
assignees: 'rubenfiszel'
---
**Describe the bug** A clear and concise description of what the bug is.
**To Reproduce** Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior** A clear and concise description of what you expected to
happen.
**Screenshots** If applicable, add screenshots to help explain your problem.
**Windmill version** Go on the left menu -> <user> -> User Settings and copy the
printed version in "Running windmill version (backend): XXX".
**Additional context** Add any other context about the problem here.

62
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
name: Bug report
description: Create a report to help us improve.
title: 'bug:'
labels: 'bug'
assignees: 'rubenfiszel'
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: To reproduce
description: Steps to reproduce the behavior
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behavior
placeholder: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
placeholder: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: input
id: browser
attributes:
label: Browser information
description: Which browser are you using? Which version?
placeholder: e.g. Chromium Version 92.0.4515.131
validations:
required: false
- type: input
id: version
attributes:
label: Application version
description: 'Go on the left menu -> <user> -> User Settings and copy the printed version in "Running windmill version (backend): XXX".'
placeholder: e.g. windmill version (backend) v1.35.0-63-ga85302c
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the problem here.
validations:
required: false

View File

@@ -4,7 +4,8 @@ VERSION=$1
echo "Updating versions to: $VERSION"
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" backend/Cargo.toml
sed -i -e "/version: /s/: .*/: $VERSION/" backend/openapi.yaml
sed -i -e "/^const VERSION =/s/= .*/= \"v$VERSION\";/" cli/main.ts
sed -i -e "/version: /s/: .*/: $VERSION/" backend/windmill-api/openapi.yaml
sed -i -e "/version: /s/: .*/: $VERSION/" openflow.openapi.yaml
sed -i -e "/\"version\": /s/: .*,/: \"$VERSION\",/" frontend/package.json
sed -i -e "/^version =/s/= .*/= \"$VERSION\"/" python-client/wmill/pyproject.toml

View File

@@ -9,6 +9,6 @@ for item in ${RT[@]}; do
jq -r '.resource_type.schema' <<< "$body" > ./tmp
description=$(jq -r '.resource_type.description' <<< "$body")
description=$(echo -E $description)
echo "{\"workspace_id\": \"starter\", \"name\": \"$name\", \"schema\": $(cat ./tmp), \"description\": \"$description\"} " | jq . > community/resource_types/${name}.json
echo "{\"workspace_id\": \"admins\", \"name\": \"$name\", \"schema\": $(cat ./tmp), \"description\": \"$description\"} " | jq . > community/resource_types/${name}.json
rm ./tmp
done

5
.github/uffizzi/caddy/Caddyfile vendored Normal file
View File

@@ -0,0 +1,5 @@
localhost {
bind 0.0.0.0
reverse_proxy /ws/* http://0.0.0.0:3001
reverse_proxy /* http://0.0.0.0:8000
}

View File

@@ -0,0 +1,53 @@
version: '3.7'
x-uffizzi:
ingress:
service: windmill
port: 8000
services:
db:
image: postgres:14
environment:
POSTGRES_PASSWORD: changeme
POSTGRES_DB: windmill
windmill:
image: '${WINDMILL_IMAGE}'
ports:
- 8000:8000
entrypoint: ['/bin/sh', '-c']
command: 'echo ${OAUTH_JSON_BASE64} | base64 --decode > /usr/src/app/oauth.json && ./windmill'
environment:
- DATABASE_URL=postgres://postgres:changeme@localhost/windmill?sslmode=disable
- BASE_URL=${EXPECTED_URL}
- BASE_INTERNAL_URL=http://localhost:8000
- RUST_LOG=info
- NUM_WORKERS=3
- KEEP_JOB_DIR=false
- DENO_PATH=/usr/bin/deno
- PYTHON_PATH=/usr/local/bin/python3
- METRICS_ADDR=false
- OAUTH_JSON_BASE64=${OAUTH_JSON_BASE64}
volumes:
- worker_dependency_cache:/tmp/windmill/cache
deploy:
resources:
limits:
memory: 250M
lsp:
image: '${LSP_IMAGE}'
ports:
- 3001:3001
# caddy:
# image: caddy:2.5.2-alpine
# restart: unless-stopped
# volumes:
# - ./.github/uffizzi/caddy:/etc/caddy
# environment:
# - BASE_URL=localhost
volumes:
worker_dependency_cache:

View File

@@ -13,7 +13,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.3
uses: dependabot/fetch-metadata@v1.3.6
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs

View File

@@ -35,7 +35,9 @@ jobs:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: backend -> target
workspaces: |
backend
backend -> target
- name: cargo test
timeout-minutes: 5
run: mkdir frontend/build && cd backend && DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill cargo test -- --nocapture
timeout-minutes: 10
run: mkdir frontend/build && cd backend && touch windmill-api/openapi-deref.yaml && DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill DISABLE_NSJAIL=false cargo test --all -- --nocapture

View File

@@ -10,6 +10,12 @@ jobs:
container: node:18
steps:
- uses: actions/checkout@v3
- run: git config --system --add safe.directory /__w/windmill/windmill
- name: Change versions
run: ./.github/change-versions.sh "$(cat version.txt)"
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: update lockfile
run: cd backend && cargo generate-lockfile
- uses: stefanzweifel/git-auto-commit-action@v4

View File

@@ -9,14 +9,13 @@ env:
jobs:
build_deno_and_push_to_repo:
runs-on: ubuntu-latest
container: openapitools/openapi-generator-cli:v6.0.0-beta
steps:
- uses: actions/checkout@v3
- name: generate_deno
run: |
cd deno-client
rm .gitignore
./generate.sh
./build.sh
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@devel

View File

@@ -1,20 +0,0 @@
name: Deploy to windmill.dev
on:
push:
branches: [main]
paths:
- "community/**"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to windmill.dev
uses: windmill-labs/windmill-gh-action-deploy@v2.0.0
with:
dry_run: false
input_dir: community
windmill_workspace: starter
windmill_token: ${{ secrets.WINDMILL_API_TOKEN }}

47
.github/workflows/docker-310.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
name: Build and push windmill with python 3.10 and openbb
on: workflow_dispatch
concurrency:
group: ${{ github.ref }}-openbb
cancel-in-progress: true
permissions:
contents: read
id-token: write
packages: write
jobs:
build_ee:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push publicly ee
uses: depot/build-push-action@v1
with:
context: .
push: true
file: ./docker/DockerfileOpenbb
build-args: |
features=enterprise
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:openbb
labels: |
org.opencontainers.image.licenses=Windmill-Enterprise-License

View File

@@ -0,0 +1,60 @@
# env:
# REGISTRY: ghcr.io
# IMAGE_NAME: ${{ github.repository }}
# name: Build and push arm docker image
# on:
# push:
# branches: [main]
# tags: ["*"]
# concurrency:
# group: ${{ github.ref }}-arm
# cancel-in-progress: true
# permissions:
# contents: read
# id-token: write
# packages: write
# jobs:
# publish_arm:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: depot/setup-action@v1
# - name: Docker meta
# id: meta-slim-public
# uses: docker/metadata-action@v4
# with:
# images: |
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# tags: |
# type=ref,event=branch
# type=ref,event=pr
# type=semver,pattern={{version}}
# type=semver,pattern={{major}}.{{minor}}
# - name: Login to registry
# uses: docker/login-action@v2
# with:
# registry: ${{ env.REGISTRY }}
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and push publicly
# uses: depot/build-push-action@v1
# with:
# context: .
# push: true
# platforms: linux/amd64,linux/arm64
# tags: |
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
# ${{ steps.meta-slim-public.outputs.tags }}
# labels: |
# ${{ steps.meta-slim-public.outputs.labels }}
# org.opencontainers.image.licenses=AGPLv3

View File

@@ -1,6 +1,7 @@
env:
LOCAL_REGISTRY: registry.wimill.xyz
REGISTRY: ghcr.io
ECR_REGISTRY: 976079455550.dkr.ecr.us-east-1.amazonaws.com
IMAGE_NAME: ${{ github.repository }}
name: Build and push docker image
@@ -8,52 +9,78 @@ on:
push:
branches: [main]
tags: ["*"]
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
packages: write
jobs:
build:
runs-on: [self-hosted, new]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker meta local
id: metalocal
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
- uses: depot/setup-action@v1
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta-public
uses: docker/metadata-action@v4
with:
images: ${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push privately
uses: docker/build-push-action@v3
if: github.event_name == 'pull_request'
- name: Build and push publicly
uses: depot/build-push-action@v1
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ steps.metalocal.outputs.tags }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ steps.meta-public.outputs.tags }}
labels: |
${{ steps.meta-public.outputs.labels }}
org.opencontainers.image.licenses=AGPLv3
build_ee:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
labels: ${{ steps.metalocal.outputs.labels }}
cache-from: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
- uses: depot/setup-action@v1
- name: Docker meta
if: github.event_name != 'pull_request'
id: meta
id: meta-ee-public
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee
tags: |
type=ref,event=branch
type=ref,event=pr
@@ -61,51 +88,147 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
- name: Login to registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push publicly
uses: docker/build-push-action@v3
- name: Build and push publicly ee
uses: depot/build-push-action@v1
with:
context: .
push: true
build-args: |
features=enterprise
nsjail=true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-ee:latest
${{ steps.meta-ee-public.outputs.tags }}
labels: |
${{ steps.meta-ee-public.outputs.labels }}
org.opencontainers.image.licenses=Windmill-Enterprise-License
# disabled until we make it 100% reliable and add more meaningful tests
# playwright:
# runs-on: [self-hosted, new]
# needs: [build]
# services:
# postgres:
# image: postgres
# env:
# POSTGRES_DB: windmill
# POSTGRES_USER: admin
# POSTGRES_PASSWORD: changeme
# ports:
# - 5432:5432
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
# steps:
# - uses: actions/checkout@v3
# - name: "Docker"
# run: echo "::set-output name=id::$(docker run --network=host --rm -d -p 8000:8000 --privileged -it -e DATABASE_URL=postgres://admin:changeme@localhost:5432/windmill -e BASE_INTERNAL_URL=http://localhost:8000 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest)"
# id: docker-container
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: "Playwright run"
# timeout-minutes: 2
# run: cd frontend && npm ci @playwright/test && npx playwright install && export BASE_URL=http://localhost:8000 && npm run test
# - name: "Clean up"
# run: docker kill ${{ steps.docker-container.outputs.id }}
# if: always()
publish_privately_heavy:
needs: [build_ee]
runs-on: [self-hosted, new]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: meta-heavy
uses: docker/metadata-action@v4
with:
images: |
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Login to ECR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push privately
uses: docker/build-push-action@v4
if: github.event_name != 'pull_request'
with:
context: .
push: true
file: ./docker/DockerfileHeavy
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ steps.metalocal.outputs.tags }}
${{ steps.meta.outputs.tags }}
labels: ${{ steps.metalocal.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
playwright:
${{ steps.meta-heavy.outputs.tags }}
labels: ${{ steps.meta-heavy.outputs.labels }}
cache-from: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}-heavy:buildcache
cache-to: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}-heavy:buildcache,mode=max
publish_privately_helm:
runs-on: [self-hosted, new]
needs: [build]
services:
postgres:
image: postgres
env:
POSTGRES_DB: windmill
POSTGRES_USER: admin
POSTGRES_PASSWORD: changeme
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
needs: [build_ee]
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
- name: "Docker"
run: echo "::set-output name=id::$(docker run --network=host --rm -d -p 8000:8000 --privileged -it -e DATABASE_URL=postgres://admin:changeme@localhost:5432/windmill -e BASE_INTERNAL_URL=http://localhost:8000 ${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}:latest)"
id: docker-container
- name: "Playwright run"
timeout-minutes: 2
run: cd frontend && npm ci @playwright/test && npx playwright install && npm run test
- name: "Clean up"
run: docker kill ${{ steps.docker-container.outputs.id }}
if: always()
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to ECR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Build and push privately
uses: docker/build-push-action@v4
if: github.event_name != 'pull_request'
with:
context: .
push: true
file: ./docker/DockerfileHelm
tags: |
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}:helm
cache-from: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}-helm:buildcache
cache-to: type=registry,ref=${{ env.LOCAL_REGISTRY }}/${{ env.IMAGE_NAME }}-helm:buildcache,mode=max

17
.github/workflows/frontend-check.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: check frontend build
on:
pull_request:
types: [opened,synchronize,reopened,closed]
paths:
- "frontend/**"
jobs:
npm_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: "npm check"
timeout-minutes: 2
run: cd frontend && npm ci && npm run generate-backend-client && npm run check

53
.github/workflows/go_on_release.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Publish go-client
on:
push:
tags:
- "v*"
workflow_dispatch:
env:
repo: windmill-go-client
jobs:
build_go_and_push_to_repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: generate_go
run: |
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.11.0
cd go-client
rm .gitignore
./build.sh
go build
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@devel
env:
API_TOKEN_GITHUB: ${{ secrets.DENO_PAT }}
with:
source-directory: go-client/
destination-github-username: ${{ github.repository_owner }}
destination-repository-name: ${{ env.repo }}
user-email: ruben@windmill.dev
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: main
tag_repo:
needs: [build_go_and_push_to_repo]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/${{ env.repo }}
token: ${{ secrets.DENO_PAT }}
path: ./client
- name: Push client
run: |
cd ./client
git config --global user.email "ruben@windmill.dev"
git config --global user.name "rubenfiszel[bot]"
git tag -a ${{ github.ref_name }} -m "${{ github.ref_name }}"
git push --tags

View File

@@ -1,20 +0,0 @@
name: Pull Hub Items
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 0 */1 * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
change_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull hub
run: ./.github/pull_hub_items.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: sync hub items with community
commit-message: sync hub items with community

View File

@@ -1,5 +1,6 @@
env:
REGISTRY: ghcr.io
ECR_REGISTRY: 976079455550.dkr.ecr.us-east-1.amazonaws.com
IMAGE_NAME: ${{ github.repository }}-lsp
name: Publish python-client
@@ -11,7 +12,9 @@ on:
jobs:
publish_pypi:
runs-on: [self-hosted, new]
runs-on: ubuntu-latest
container:
image: ghcr.io/windmill-labs/python-client-builder
steps:
- uses: actions/checkout@v3
- name: Upload python client
@@ -19,14 +22,15 @@ jobs:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
cd python-client
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/root/.local/bin
./publish.sh
publish_lsp:
needs: [publish_pypi]
runs-on: [self-hosted, new]
steps:
- name: Sleep for 30 seconds waiting for pypi to update index
run: sleep 30s
shell: bash
- uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -37,7 +41,9 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
@@ -51,15 +57,24 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to ECR
uses: docker/login-action@v2
with:
registry: ${{ env.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Build and push publicly
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:lsp"
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.ECR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ steps.metalocal.outputs.tags }}
${{ steps.meta.outputs.tags }}
registry.uffizzi.com/windmill-lsp:60d
labels: ${{ steps.metalocal.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max

View File

@@ -0,0 +1,93 @@
name: Build PR Image
on:
pull_request:
types: [opened,synchronize,reopened,closed]
paths:
- "backend/**"
- ".github/uffizzi/**"
- ".github/workflows/**"
workflow_dispatch:
jobs:
build-windmill:
name: Build and Push `windmill`
runs-on: ubuntu-latest
if: ${{ (github.event_name != 'pull_request' || github.event.action != 'closed')}}
outputs:
tags: ${{ steps.meta.outputs.tags }}
steps:
- name: Checkout git repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Generate UUID image name
id: uuid
run: echo "UUID_TAG_APP=$(uuidgen)" >> $GITHUB_ENV
- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: registry.uffizzi.com/${{ env.UUID_TAG_APP }}
tags: type=raw,value=60d
- name: Build and Push Image to registry.uffizzi.com ephemeral registry
uses: docker/build-push-action@v4
with:
push: true
context: ./
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
render-compose-file:
name: Render Docker Compose File
# Pass output of this workflow to another triggered by `workflow_run` event.
runs-on: ubuntu-latest
needs:
- build-windmill
outputs:
compose-file-cache-key: ${{ steps.hash.outputs.hash }}
steps:
- name: Checkout git repo
uses: actions/checkout@v3
- name: Render Compose File
run: |
WINDMILL_IMAGE=${{ needs.build-windmill.outputs.tags }}
export WINDMILL_IMAGE
LSP_IMAGE=registry.uffizzi.com/windmill-lsp:60d
export LSP_IMAGE
envsubst '${WINDMILL_IMAGE} ${LSP_IMAGE}' < ./.github/uffizzi/docker-compose.uffizzi.yml > docker-compose.rendered.yml
cat docker-compose.rendered.yml
- name: Upload Rendered Compose File as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: docker-compose.rendered.yml
retention-days: 2
- name: Serialize PR Event to File
run: |
cat << EOF > event.json
${{ toJSON(github.event) }}
EOF
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: event.json
retention-days: 2
delete-preview:
name: Call for Preview Deletion
runs-on: ubuntu-latest
if: ${{ github.event.action == 'closed' }}
steps:
# If this PR is closing, we will not render a compose file nor pass it to the next workflow.
- name: Serialize PR Event to File
run: echo '${{ toJSON(github.event) }}' > event.json
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@v3
with:
name: preview-spec
path: event.json
retention-days: 2

View File

@@ -0,0 +1,115 @@
name: Deploy Uffizzi Preview
on:
workflow_run:
workflows:
- "Build PR Image"
types:
- completed
jobs:
cache-compose-file:
name: Cache Compose File
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
outputs:
compose-file-cache-key: ${{ env.COMPOSE_FILE_HASH }}
pr-number: ${{ env.PR_NUMBER }}
steps:
- name: 'Download artifacts'
# Fetch output (zip archive) from the workflow run that triggered this workflow.
uses: actions/github-script@v6
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id,
});
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name == "preview-spec"
})[0];
if (matchArtifact === undefined) {
throw TypeError('Build Artifact not found!');
}
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/preview-spec.zip`, Buffer.from(download.data));
- name: 'Unzip artifact'
run: unzip preview-spec.zip
- name: Read Event into ENV
run: |
echo 'EVENT_JSON<<EOF' >> $GITHUB_ENV
cat event.json >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Read PR Number From Event Object
id: pr
run: echo "PR_NUMBER=${{ fromJSON(env.EVENT_JSON).number }}" >> $GITHUB_ENV
- name: Predict Deployment URL
id: url
# Replace dots in the repo name with the plus sign
run: |
REPO=$(echo ${{ github.repository }} | sed 's/\./+/g')
echo "EXPECTED_URL=https://app.uffizzi.com/github.com/$REPO/pull/$PR_NUMBER" >> $GITHUB_ENV
- name: Re-Render Compose File
run: |
OAUTH_JSON_BASE64=${{ secrets.OAUTH_JSON_BASE64 }}
export OAUTH_JSON_BASE64
envsubst '${OAUTH_JSON_BASE64} ${EXPECTED_URL}' < docker-compose.rendered.yml > docker-compose.uffizzi.yml
# cat docker-compose.uffizzi.yml
- name: Hash Rendered Compose File
id: hash
# If the previous workflow was triggered by a PR close event, we will not have a compose file artifact.
if: ${{ fromJSON(env.EVENT_JSON).action != 'closed' }}
run: echo "COMPOSE_FILE_HASH=$(md5sum docker-compose.uffizzi.yml | awk '{ print $1 }')" >> $GITHUB_ENV
- name: Cache Rendered Compose File
if: ${{ fromJSON(env.EVENT_JSON).action != 'closed' }}
uses: actions/cache@v3
with:
path: docker-compose.uffizzi.yml
key: ${{ env.COMPOSE_FILE_HASH }}
- name: DEBUG - Print Job Outputs
if: ${{ runner.debug }}
run: |
echo "PR number: ${{ env.PR_NUMBER }}"
echo "Compose file hash: ${{ env.COMPOSE_FILE_HASH }}"
cat event.json
deploy-uffizzi-preview:
name: Use Remote Workflow to Preview on Uffizzi
needs:
- cache-compose-file
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2
with:
# If this workflow was triggered by a PR close event, cache-key will be an empty string
# and this reusable workflow will delete the preview deployment.
compose-file-cache-key: ${{ needs.cache-compose-file.outputs.compose-file-cache-key }}
compose-file-cache-path: docker-compose.uffizzi.yml
server: https://app.uffizzi.com
pr-number: ${{ needs.cache-compose-file.outputs.pr-number }}
permissions:
contents: read
pull-requests: write
id-token: write
playwright:
runs-on: ubuntu-latest
needs:
- deploy-uffizzi-preview
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: "Playwright run"
timeout-minutes: 2
run: cd frontend && npm ci @playwright/test && npx playwright install && export BASE_URL=${{ needs.deploy-uffizzi-preview.outputs.url }} && npm run test

2
.gitignore vendored
View File

@@ -1,5 +1,7 @@
target/
.DS_Store
nohup.out
local/
frontend/src/routes/test.svelte
CaddyfileRemoteMalo
*.swp

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"python.analysis.typeCheckingMode": "basic"
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,15 @@
{$BASE_URL} {
{
auto_https off
}
http://{$BASE_URL} {
bind {$ADDRESS}
reverse_proxy /ws/* http://lsp:3001
reverse_proxy /* http://windmill_server:8000
reverse_proxy /* http://windmill:8000
}
https://{$BASE_URL} {
bind {$ADDRESS}
reverse_proxy /ws/* http://localhost:3001
}
}

View File

@@ -1,8 +1,10 @@
FROM python:3.10-slim-buster as nsjail
FROM debian:buster-slim as nsjail
WORKDIR /nsjail
RUN apt-get -y update \
ARG nsjail=""
RUN if [ "$nsjail" = "true" ]; then apt-get -y update \
&& apt-get install -y \
bison=2:3.3.* \
flex=2.6.* \
@@ -13,13 +15,31 @@ RUN apt-get -y update \
libnl-route-3-dev=3.4.* \
make=4.2.* \
pkg-config=0.29-6 \
protobuf-compiler=3.6.*
protobuf-compiler=3.6.*; fi
RUN git clone -b master --single-branch https://github.com/google/nsjail.git . \
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800
RUN make
FROM node:18-alpine as frontend
RUN if [ "$nsjail" = "true" ]; then git clone -b master --single-branch https://github.com/google/nsjail.git . \
&& git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800; fi
RUN if [ "$nsjail" = "true" ]; then make; else touch nsjail; fi
FROM rust:slim-buster AS rust_base
RUN apt-get update && apt-get install -y git libssl-dev pkg-config npm
RUN apt-get -y update \
&& apt-get install -y \
curl lld nodejs npm
RUN rustup component add rustfmt
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install cargo-chef
WORKDIR /windmill
ENV SQLX_OFFLINE=true
ENV CARGO_INCREMENTAL=1
FROM node:19-alpine as frontend
# install dependencies
WORKDIR /frontend
@@ -29,67 +49,80 @@ RUN npm ci
# Copy all local files into the image.
COPY frontend .
RUN mkdir /backend
COPY /backend/openapi.yaml /backend/openapi.yaml
COPY /backend/windmill-api/openapi.yaml /backend/windmill-api/openapi.yaml
COPY /openflow.openapi.yaml /openflow.openapi.yaml
COPY /backend/windmill-api/build_openapi.sh /backend/windmill-api/build_openapi.sh
RUN cd /backend/windmill-api && . ./build_openapi.sh
RUN npm run generate-backend-client
ENV NODE_OPTIONS "--max-old-space-size=8192"
RUN npm run build
RUN npm run check
FROM rust:slim-buster as builder
RUN apt-get update && apt-get install -y git libssl-dev pkg-config
RUN USER=root cargo new --bin windmill
WORKDIR /windmill
COPY ./backend/Cargo.toml .
COPY ./backend/Cargo.lock .
COPY ./backend/.cargo/ .cargo/
RUN apt-get -y update \
&& apt-get install -y \
curl lld
ENV CARGO_INCREMENTAL=1
RUN cargo build --release
RUN rm src/*.rs
RUN rm ./target/release/deps/windmill*
ENV SQLX_OFFLINE=true
FROM rust_base AS planner
COPY ./openflow.openapi.yaml /openflow.openapi.yaml
COPY ./backend ./
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo chef prepare --recipe-path recipe.json
FROM rust_base AS builder
ARG features=""
COPY --from=planner /windmill/recipe.json recipe.json
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true RUST_BACKTRACE=1 cargo chef cook --release --features "$features" --recipe-path recipe.json
COPY ./openflow.openapi.yaml /openflow.openapi.yaml
COPY ./backend ./
COPY ./nsjail /nsjail
COPY --from=frontend /frontend /frontend
COPY --from=frontend /backend/windmill-api/openapi-deref.yaml ./windmill-api/openapi-deref.yaml
COPY .git/ .git/
RUN cargo build --release
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --features "$features"
FROM debian:buster-slim
FROM python:3.11.2-slim-buster
ARG TARGETPLATFORM
ARG APP=/usr/src/app
RUN apt-get update \
&& apt-get install -y ca-certificates tzdata libpq5 \
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libxml2-dev \
libxmlsec1-dev libffi-dev liblzma-dev mecab-ipadic-utf8 libgdbm-dev libc6-dev git libprotobuf-dev=3.6.* libnl-route-3-dev=3.4.* \
libv8-dev tesseract-ocr \
&& apt-get install -y ca-certificates wget curl git jq libprotobuf-dev libnl-route-3-dev unzip \
&& apt-get install -y ca-certificates wget curl git jq libprotobuf-dev libnl-route-3-dev unzip build-essential \
&& rm -rf /var/lib/apt/lists/*
RUN arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
curl -o rclone.zip "https://downloads.rclone.org/v1.60.1/rclone-v1.60.1-linux-$arch.zip"; \
unzip -p rclone.zip rclone-v1.60.1-linux-$arch/rclone > /usr/bin/rclone; rm rclone.zip; \
chown root:root /usr/bin/rclone; chmod 755 /usr/bin/rclone
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
targz='go1.19.3.linux-amd64.tar.gz'; \
;; \
'arm64') \
targz='go1.19.3.linux-arm64.tar.gz'; \
;; \
'armhf') \
targz='go1.19.3.linux-armv6l.tar.gz'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
wget "https://golang.org/dl/$targz" -nv && tar -C /usr/local -xzf "$targz" && rm "$targz";
ENV PATH="${PATH}:/usr/local/go/bin"
ENV GO_PATH=/usr/local/go/bin/go
ENV TZ=Etc/UTC
ENV PYTHON_VERSION 3.10.4
RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz \
&& tar -xf Python-${PYTHON_VERSION}.tgz && cd Python-${PYTHON_VERSION}/ && ./configure --enable-optimizations \
&& make -j 4 && make install
RUN /usr/local/bin/python3 -m pip install pip-tools
RUN /usr/local/bin/python3 -m pip install nltk
RUN mkdir -p /nsjail_data/python && HOME=/nsjail_data/python /usr/local/bin/python3 -m nltk.downloader vader_lexicon
COPY --from=builder /windmill/target/release/windmill ${APP}/windmill
@@ -97,6 +130,10 @@ COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno
# docker does not support conditional COPY and we want to use the same Dockerfile for both amd64 and arm64 and privilege the official image
COPY --from=lukechannings/deno:latest /usr/bin/deno /usr/bin/deno-arm
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then rm /usr/bin/deno-arm; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then mv /usr/bin/deno-arm /usr/bin/deno; fi
RUN mkdir -p ${APP}
WORKDIR ${APP}

View File

@@ -8,5 +8,9 @@ or belonging to one of the below cases:
The files under backend/ are AGPL Licensed.
The files under frontend/ are AGPL Licensed.
The files under python-client/ are Apache 2.0 Licensed.
The files under community/ are Apache 2.0 Licensed.
The files under python-client/ deno-client/ go-client/ are Apache 2.0 Licensed.
The openapi files, including the OpenFlow spec is Apache 2.0 Licensed.
All third party components incorporated into the Windmill Software are licensed under the
original license provided by the owner of the applicable component.

316
README.md
View File

@@ -1,13 +1,13 @@
<p align="center">
<a href="https://app.windmill.dev"><img src="./imgs/windmill.svg" alt="windmill.dev"></a>
<a href="https://app.windmill.dev"><img src="./imgs/windmill-banner.png" alt="windmill.dev"></a>
</p>
<p align="center">
<em>.</em>
</p>
<p align=center>
Open-source and self-hostable alternative to Airplane, Pipedream, Superblocks and a simplified Temporal with autogenerated UIs to trigger flows and scripts as internal apps. Convert code to no-code modules and, if the auto-generated UI is not sufficient, use it solely as an highly scalable backend layer. Add automation to your product or build your own no-code tool and delegate the core layer to Windmill
.
Open-source developer infrastructure for internal tools. Self-hostable alternative to Airplane, Pipedream, Superblocks and a simplified Temporal with autogenerated UIs to trigger workflows and scripts as internal apps. Scripts are turned into UIs and no-code modules, no-code modules can be composed into very rich flows, and script and flows can be triggered from internal UIs made with a low-code builder. The script languages supported are: Python, Typescript, Go, Bash, SQL.
</p>
<p align="center">
<a href="https://github.com/windmill-labs/windmill/actions/workflows/docker-image.yml" target="_blank">
<img src="https://github.com/windmill-labs/windmill/actions/workflows/docker-image.yml/badge.svg" alt="Docker Image CI">
@@ -20,93 +20,108 @@ Open-source and self-hostable alternative to Airplane, Pipedream, Superblocks an
</a>
</p>
---
**Join the beta (personal workspaces are free forever)**:
<https://app.windmill.dev>
**Documentation**: <https://docs.windmill.dev>
**Discord**: <https://discord.gg/V7PM2YHsPB>
**Hub**: <https://hub.windmill.dev>
**Contributor's guide**: <https://docs.windmill.dev/docs/contributors_guide>
**Roadmap**: <https://github.com/orgs/windmill-labs/projects/2>
**[Self-host instruction](#how-to-self-host)**
You can show your support for the project by starring this repo.
---
Windmill Labs offers commercial licenses and support to convert your existing
automation and help you scale it in production. If interested, contact
ruben@windmill.dev (founder of Windmill).
---
# Windmill
<p align="center">
<b>Disclaimer: </b>Windmill is in <b>BETA</b>. It is secure to run in production but we are still <a href="https://github.com/orgs/windmill-labs/projects/2">improving the product fast<a/>.
<a href="https://app.windmill.dev">Try it</a> - <a href="https://docs.windmill.dev/docs/intro/">Docs</a> - <a href="https://discord.gg/V7PM2YHsPB">Discord</a> - <a href="https://hub.windmill.dev">Hub</a> - <a href="https://docs.windmill.dev/docs/misc/contributing">Contributor's guide</a>
</p>
![Windmill Screenshot](./imgs/windmill.png)
# Windmill - Turn scripts into workflows and UIs that you can share and run at scale
Windmill is <b>fully open-sourced</b>:
Windmill is <b>fully open-sourced (AGPLv3)</b> and Windmill Labs offers dedicated instance and commercial support and licenses.
- `community/`, `python-client/` and `deno-client/` are Apache 2.0
- backend, frontend and everything else under AGPLv3.
![Windmill Diagram](/imgs/stacks.svg)
## What is the general idea behind Windmill
https://user-images.githubusercontent.com/275584/218350457-bc2fdc3b-e667-4da5-a2bd-3bacc1f0ec79.mp4
1. Define a minimal and generic script in Python or Typescript that solve a
specific task. Here sending an email with SMTP. The code can be defined in
the provided Web IDE or synchronized with your own github repo:
![Step 1](./imgs/python-script.png)
- [Windmill - Turn scripts into workflows and UIs that you can share and run at scale](#windmill---turn-scripts-into-workflows-and-uis-that-you-can-share-and-run-at-scale)
- [Main Concepts](#main-concepts)
- [Show me some actual script code](#show-me-some-actual-script-code)
- [CLI](#cli)
- [Running scripts locally](#running-scripts-locally)
- [Stack](#stack)
- [Security](#security)
- [Sandboxing](#sandboxing)
- [Secrets, credentials and sensitive values](#secrets-credentials-and-sensitive-values)
- [Performance](#performance)
- [Architecture](#architecture)
- [How to self-host](#how-to-self-host)
- [Docker compose](#docker-compose)
- [Kubernetes (k8s) and Helm charts](#kubernetes-k8s-and-helm-charts)
- [Postgres without superuser](#postgres-without-superuser)
- [Commercial license](#commercial-license)
- [OAuth for self-hosting](#oauth-for-self-hosting)
- [Resource types](#resource-types)
- [Environment Variables](#environment-variables)
- [Run a local dev setup](#run-a-local-dev-setup)
- [only Frontend](#only-frontend)
- [Backend + Frontend](#backend--frontend)
- [Contributors](#contributors)
- [Copyright](#copyright)
2. Your scripts parameters are automatically parsed and generate a frontend. You
can narrow down the types during task definition to specify regex for string,
an enum or a specific format for objects. Each script correspond to an app by
itself: ![Step 2](./imgs/arguments.png)
## Main Concepts
1. Define a minimal and generic script in Python, Typescript, Go or Bash that
solves a specific task. Here sending an email with SMTP. The code can be
defined in the provided Web IDE or synchronized with your own github repo:
![Step 1](./imgs/windmill-editor.png)
2. Your scripts parameters are automatically parsed and generate a frontend.
![Step 2](./imgs/windmill-run.png) ![Step 3](./imgs/windmill-result.png)
3. Make it flow! You can chain your scripts or scripts made by the community
shared on [WindmillHub](https://hub.windmill.dev). There is tight integration
between Windmill and the hub to make it easy to build flows from a soon-to-be
exhaustive library of generic modules. In flows, one can pipe output to input
using "Dynamic" expressions that are just plain Javascript underneath. Flows
can contain for-loops, branching (coming soon). As such and coupled with
inputs being able to refer to any step's output, they are actual DAG rather
than just linear sequences. They are backed by an open JSON spec we call
[OpenFlow](https://docs.windmill.dev/docs/openflow)
![Step 3](./imgs/flow.png)
shared on [WindmillHub](https://hub.windmill.dev).
![Step 4](./imgs/windmill-flow.png)
Both scripts and flows are not restricted to be triggered by the UI. They can be
triggered by a schedule, watch for changes (using
[internal states](https://docs.windmill.dev/docs/reference#internal-state)) or
triggered through API with either an async or sync webhook. The latter kind of
endpoints make Windmill akin to a self-hostable AWS Lambda. Windmill can be the
central place to host, build and run all of your integrations, automation and
internal apps. We include credentials management and OAuth integration, groups
and much more!
4. Build complex UI on top of your scripts and flows.
![Step 5](./imgs/windmill-builder.png)
## Layout
Scripts and flows can also be triggered by a cron schedule '*/5 * * * *' or
through webhooks.
- `backend/`: The whole Rust backend
- `frontend`: The whole Svelte frontend
- `community/`: Scripts and resource types included in every workspace. It is
useful for Python scripts since the [WindmillHub](https://hub.windmill.dev)
only allow deno scripts and for sharing resource types that will be included
in every workspace.
- `lsp/`: The lsp asssistant for the monaco editor
- `nsjail/`: The nsjail configuration files for sandboxing of the scripts'
execution
- `python-client/`: The wmill python client used within scripts to interact with
the windmill platform
- `deno-client/`: The wmill deno client used within scripts to interact with the
windmill platform
You can build your entire infra on top of Windmill!
## Show me some actual script code
```typescript
import * as wmill from "https://deno.land/x/windmill@v1.62.0/mod.ts"
//import any dependency from npm
import cowsay from 'npm:cowsay@1.5.0'
export async function main(
a: number,
// unions generate enums
b: "my" | "enum",
// default parameters prefill the field
d = "default arg",
// nested objects work c = { nested: "object" },
// permissioned and typed json
db: wmill.Resource<"postgresql">) {
const email = Deno.env.get('WM_EMAIL')
// variables are permissioned and by path
let variable = await wmill.getVariable('f/company-folder/my_secret')
const lastTimeRun = await wmill.getState()
// logs are printed and always inspectable
console.log(cowsay.say({ text: "hello " + email + " " + lastTimeRun }))
await wmill.setState(Date.now())
// return is serialized as JSON
return { foo: d, variable };
}
```
## CLI
We have a powerful CLI to interact with the windmill platform and sync your
scripts from local files, github repos and to run scripts and flows on the instance from local commands. See
[more details](https://github.com/windmill-labs/windmill/tree/main/cli)
![CLI Screencast](./cli/vhs/output/setup.gif)
### Running scripts locally
You can run your script locally easily, you simply need to pass the right environment variables for the `wmill` client library to fetch resource and variables from your instance if necessary. See more: <https://docs.windmill.dev/docs/advanced/local_development/>
## Stack
@@ -125,10 +140,11 @@ and much more!
the [rusty_v8](https://github.com/denoland/rusty_v8) and hence V8 underneath)
- typescript runtime is deno
- python runtime is python3
- golang runtime is 1.19.1
## Security
### Sandboxing and workload isolation
### Sandboxing
Windmill uses [nsjail](https://github.com/google/nsjail) on top of the deno
sandboxing. It is production multi-tenant grade secure. Do not take our word for
@@ -144,44 +160,49 @@ That is what we do at <https://app.windmill.dev>.
## Performance
The performances are great, as long as you do not exceed the parrallelism of the
workers, we are
[worse than AWS Lambda for small workloads but not by that much](https://docs.windmill.dev/docs/benchmark)
Once a job started, there is no overhead compared to running the same script on
the node with its corresponding runner (Deno/Go/Python/Bash). The added latency
from a job being pulled from the queue, started, and then having its result sent
back to the database is ~50ms. A typical lightweight deno job will take around
100ms total.
## Architecture
<p align="center">
### Big-picture Architecture
<img src="./imgs/diagram.svg">
### Technical Architecture
<img src="./imgs/architecture.svg">
</p>
## How to self-host
We only provide docker-compose setup here. For more advanced setups, like
compiling from source or using without a postgres super user, see
[documentation](https://docs.windmill.dev/docs/how-tos/self_host)
[documentation](https://docs.windmill.dev/docs/advanced/self_host)
### Docker compose
`docker compose up` with the following docker-compose is sufficient:
<https://github.com/windmill-labs/windmill/blob/main/docker-compose.yml>
For older kernels < 4.18, set `DISABLE_NUSER=true` as env variable, otherwise
nsjail will not be able to launch the isolated scripts.
Go to http://localhost et voilà :)
To disable nsjail altogether, set `DISABLE_NSJAIL=true`.
The default super-admin user is: admin@windmill.dev / changeme
From there, you can create other users (do not forget to change the password!)
### Kubernetes (k8s) and Helm charts
We publish helm charts at:
<https://github.com/windmill-labs/windmill-helm-charts>
### Postgres without superuser
If you do not want, or cannot (for instance, in AWS Aurora or Cloud sql) use a postgres superuser,
you can run `./init-db-as-superuser.sql` to init the required users for windmill.
### Commercial license
To self-host Windmill, you must respect the terms of the AGPLv3 license which
@@ -192,14 +213,14 @@ comfortable with AGPLv3.
To re-expose any Windmill parts to your users as a feature of your product, or
to build a feature on top of Windmill, to comply with AGPLv3 your product must
be AGPLv3 or you must get a commercial license. Contact us at
<license@windmill.dev> if you have any doubts.
<ruben@windmill.dev> if you have any doubts.
In addition, a commercial license grants you a dedicated engineer to transition
your current infrastructure to Windmill, support with tight SLA, audit logs
export features, SSO, unlimited users creation, advanced permissioning features
such as groups and the ability to create more than one workspace.
export features, SSO, unlimited users creation, advanced permission managing
features such as groups and the ability to create more than one workspace.
### OAuth for self-hosting (very optional)
### OAuth for self-hosting
To get the same oauth integrations as Windmill Cloud, mount `oauth.json` with
the following format:
@@ -208,25 +229,99 @@ the following format:
{
"<client>": {
"id": "<CLIENT_ID>",
"secret": "<CLIENT_SECRET>"
"secret": "<CLIENT_SECRET>",
"allowed_domains": ["windmill.dev"] //restrict a client OAuth login to some domains
}
}
```
and mount it at `/usr/src/app/oauth.json`.
The redirect url for the oauth clients is:
`<instance_url>/user/login_callback/<client>`
[The list of all possible "connect an app" oauth clients](https://github.com/windmill-labs/windmill/blob/main/backend/oauth_connect.json)
To add more "connect an app" OAuth clients to the Windmill project, read the
[Contributor's guide](https://docs.windmill.dev/docs/contributors_guide). We
[Contributor's guide](https://docs.windmill.dev/docs/misc/contributing). We
welcome contributions!
You may also add your own custom OAuth2 IdP and OAuth2 Resource provider:
```json
{
"<client>": {
"id": "<CLIENT_ID>",
"secret": "<CLIENT_SECRET>",
// To add a new OAuth2 IdP
"login_config": {
"auth_url": "<auth_endpoint>",
"token_url": "<token_endpoint>",
"userinfo_url": "<userinfo endpoint>",
"scopes": ["scope1", "scope2"],
"extra_params": "<if_needed>"
},
// To add a new OAuth2 Resource
"connect_config": {
"auth_url": "<auth_endpoint>",
"token_url": "<token_endpoint>",
"scopes": ["scope1", "scope2"],
"extra_params": "<if_needed>"
}
}
}
```
### Resource types
You will also want to import all the approved resource types from
[WindmillHub](https://hub.windmill.dev). There is no automatic way to do this
automatically currently, but it will be possible using a command with the
upcoming CLI tool.
[WindmillHub](https://hub.windmill.dev). A setup script will prompt
you to have it being synced automatically everyday.
## Environment Variables
| Environment Variable name | Default | Description | Api Server/Worker/All |
| ------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| DATABASE_URL | | The Postgres database url. | All |
| DISABLE_NSJAIL | true | Disable Nsjail Sandboxing | Worker |
| SERVER_BIND_ADDR | 0.0.0.0 | IP Address on which to bind listening socket | Server |
| PORT | 8000 | Exposed port | Server | |
| NUM_WORKERS | 3 | The number of worker per Worker instance (set to 1 on Eks to have 1 pod = 1 worker, set to 0 for an API only instance) | Worker |
| DISABLE_SERVER | false | Binary would operate as a worker only instance | Worker |
| METRICS_ADDR | None | The socket addr at which to expose Prometheus metrics at the /metrics path. Set to "true" to expose it on port 8001 | All |
| JSON_FMT | false | Output the logs in json format instead of logfmt | All |
| BASE_URL | http://localhost:8000 | The base url that is exposed publicly to access your instance | Server |
| BASE_INTERNAL_URL | http://localhost:8000 | The base url that is reachable by your workers to talk to the Servers. This help avoiding going through the external load balancer for VPC-internal requests. | Worker |
| TIMEOUT | 300 | The timeout in seconds for the execution of a script | Worker |
| SLEEP_QUEUE | 50 | The number of ms to sleep in between the last check for new jobs in the DB. It is multiplied by NUM_WORKERS such that in average, for one worker instance, there is one pull every SLEEP_QUEUE ms. | Worker |
| MAX_LOG_SIZE | 500000 | The maximum number of characters a job can emit (log + result) | Worker |
| DISABLE_NUSER | false | If Nsjail is enabled, disable the nsjail's `clone_newuser` setting | Worker |
| KEEP_JOB_DIR | false | Keep the job directory after the job is done. Useful for debugging. | Worker |
| LICENSE_KEY (EE only) | None | License key checked at startup for the Enterprise Edition of Windmill | Worker |
| S3_CACHE_BUCKET (EE only) | None | The S3 bucket to sync the cache of the workers to | Worker |
| TAR_CACHE_RATE (EE only) | 100 | The rate at which to tar the cache of the workers. 100 means every 100th job in average (uniformly randomly distributed). | Worker |
| SLACK_SIGNING_SECRET | None | The signing secret of your Slack app. See [Slack documentation](https://api.slack.com/authentication/verifying-requests-from-slack) | Server |
| COOKIE_DOMAIN | None | The domain of the cookie. If not set, the cookie will be set by the browser based on the full origin | Server | |
| DENO_PATH | /usr/bin/deno | The path to the deno binary. | Worker |
| PYTHON_PATH | /usr/local/bin/python3 | The path to the python binary. | Worker |
| GO_PATH | /usr/bin/go | The path to the go binary. | Worker |
| PIP_INDEX_URL | None | The index url to pass for pip. | Worker |
| PIP_EXTRA_INDEX_URL | None | The extra index url to pass to pip. | Worker |
| PIP_TRUSTED_HOST | None | The trusted host to pass to pip. | Worker |
| PATH | None | The path environment variable, usually inherited | Worker |
| HOME | None | The home directory to use for Go and Bash , usually inherited | Worker |
| DATABASE_CONNECTIONS | 50 (Server)/3 (Worker) | The max number of connections in the database connection pool | All |
| SUPERADMIN_SECRET | None | A token that would let the caller act as a virtual superadmin superadmin@windmill.dev | Server |
| TIMEOUT_WAIT_RESULT | 20 | The number of seconds to wait before timeout on the 'run_wait_result' endpoint | Worker |
| QUEUE_LIMIT_WAIT_RESULT | None | The number of max jobs in the queue before rejecting immediately the request in 'run_wait_result' endpoint. Takes precedence on the query arg. If none is specified, there are no limit. | Worker |
| DENO_AUTH_TOKENS | None | Custom DENO_AUTH_TOKENS to pass to worker to allow the use of private modules | Worker |
| DENO_FLAGS | None | Override the flags passed to deno (default --allow-all) to tighten permissions. Minimum permissions needed are "--allow-read=args.json --allow-write=result.json" | Worker |
| PIP_LOCAL_DEPENDENCIES | None | Specify dependencies that are installed locally and do not need to be solved nor installed again | |
| ADDITIONAL_PYTHON_PATHS | None | Specify python paths (separated by a :) to be appended to the PYTHONPATH of the python jobs. To be used with PIP_LOCAL_DEPENDENCIES to use python codebases within Windmill | Worker |
| INCLUDE_HEADERS | None | Whitelist of headers that are passed to jobs as args (separated by a comma) | Server |
| WHITELIST_WORKSPACES | None | Whitelist of workspaces this worker takes job from | Worker |
| BLACKLIST_WORKSPACES | None | Blacklist of workspaces this worker takes job from | Worker |
| NEW_USER_WEBHOOK | None | Webhook to notify of a new user added, signup/invite. Can hook back to windmill to send emails | Server |
## Run a local dev setup
@@ -237,27 +332,32 @@ with hot-code reloading.
1. Install [caddy](https://caddyserver.com)
2. Go to `frontend/`:
1. `npm run install`, `npm run generate-backend-client` then `npm run dev`
1. `npm install`, `npm run generate-backend-client` then `npm run dev`
2. In another shell `sudo caddy run --config CaddyfileRemote`
3. Et voilà, windmill should be available at `http://localhost/`
### Backend + Frontend
See the [./frontend/README_DEV.md](./frontend/README_DEV.md) file for all running options.
See the [./frontend/README_DEV.md](./frontend/README_DEV.md) file for all
running options.
1. Create a Postgres Database for Windmill and create an admin role inside your
Postgres setup.
Postgres setup. The easiest way to get a working postgres is running
`cargo install sqlx-cli && sqlx migrate run`. This will also avoid compile
time issue with sqlx's `query!` macro
2. Install [nsjail](https://github.com/google/nsjail) and have it accessible in
your PATH
3. Install deno and python3, have the bins at `/usr/bin/deno` and
`/usr/local/bin/python3`
4. Install [caddy](https://caddyserver.com)
5. Install the [lld linker](https://lld.llvm.org/)
6. Go to `backend/`:
6. Go to `frontend/`:
1. `npm install`, `npm run generate-backend-client` then `npm run dev`
2. In another shell `npm run build` otherwise the backend will not find the
`frontend/build` folder and will crash
3. In another shell `sudo caddy run --config Caddyfile`
7. Go to `backend/`:
`DATABASE_URL=<DATABASE_URL_TO_YOUR_WINDMILL_DB> RUST_LOG=info cargo run`
7. Go to `frontend/`:
1. `npm run install`, `npm run generate-backend-client` then `npm run dev`
2. In another shell `sudo caddy run --config Caddyfile`
8. Et voilà, windmill should be available at `http://localhost/`
## Contributors
@@ -268,4 +368,4 @@ See the [./frontend/README_DEV.md](./frontend/README_DEV.md) file for all runnin
## Copyright
Windmill Labs, Inc 2022
Windmill Labs, Inc 2023

View File

@@ -1,3 +0,0 @@
[build]
rustflags = ["--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=lld"]
incremental = true

View File

@@ -0,0 +1,10 @@
[build]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-Clink-arg=-Wl,--no-rosegment",
]
incremental = true

View File

@@ -0,0 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/docker-existing-docker-compose
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
{
"name": "Backend Container",
"dockerComposeFile": [
"../docker-compose.yml",
"../.devcontainer/docker-compose.yml"
],
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"yzhang.markdown-all-in-one"
]
}
},
"service": "windmill",
"workspaceFolder": "/workspace",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8000
],
// "postCreateCommand": "sudo apt-get update && sudo apt-get install -y lld python3 && cargo install sqlx-cli --no-default-features --features native-tls,postgres && (cd backend && sqlx migrate run) && cargo install deno --locked && rustup toolchain install nightly-2022-05-23 -c rust-src -c rustc-dev -c llvm-tools-preview",
"postCreateCommand": "cd backend && sqlx migrate run",
"remoteUser": "vscode"
}

1
backend/.gitignore vendored
View File

@@ -1,3 +1,4 @@
target/
.env
oauth.json
windmill-api/openapi-deref.yaml

3
backend/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"python.analysis.typeCheckingMode": "basic"
}

3581
backend/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,76 @@
[package]
name = "windmill"
version = "1.34.0"
version = "1.74.2"
authors.workspace = true
edition.workspace = true
[workspace]
members = [
"./windmill-api",
"./windmill-queue",
"./windmill-worker",
"./windmill-common",
"./windmill-audit",
"./windmill-api-client",
"./parsers/windmill-parser",
"./parsers/windmill-parser-ts",
"./parsers/windmill-parser-go",
"./parsers/windmill-parser-py",
]
[workspace.package]
version = "1.74.2"
authors = ["Ruben Fiszel <ruben@windmill.dev>"]
edition = "2021"
[build-dependencies]
deno_core = "^0"
[[bin]]
name = "windmill"
path = "./src/main.rs"
[features]
enterprise = [
"windmill-worker/enterprise",
"windmill-queue/enterprise",
"windmill-api/enterprise",
]
[dependencies]
anyhow.workspace = true
tokio.workspace = true
dotenv.workspace = true
windmill-common = { workspace = true, features = ["tracing_init"] }
windmill-api.workspace = true
windmill-api-client.workspace = true
windmill-worker.workspace = true
futures.workspace = true
tracing.workspace = true
sqlx.workspace = true
tokio-metrics.workspace = true
rand.workspace = true
chrono.workspace = true
git-version.workspace = true
rsa.workspace = true
base64.workspace = true
sha2.workspace = true
[dev-dependencies]
serde_json.workspace = true
reqwest.workspace = true
windmill-queue.workspace = true
axum.workspace = true
[workspace.dependencies]
windmill-api = { path = "./windmill-api" }
windmill-api-client = { path = "./windmill-api-client" }
windmill-queue = { path = "./windmill-queue" }
windmill-worker = { path = "./windmill-worker" }
windmill-common = { path = "./windmill-common" }
windmill-audit = { path = "./windmill-audit" }
windmill-parser = { path = "./parsers/windmill-parser" }
windmill-parser-ts = { path = "./parsers/windmill-parser-ts" }
windmill-parser-py = { path = "./parsers/windmill-parser-py" }
windmill-parser-go = { path = "./parsers/windmill-parser-go" }
windmill-parser-bash = { path = "./parsers/windmill-parser-bash" }
axum = { version = "^0", features = ["headers"] }
headers = "^0"
hyper = { version = "^0", features = ["full"] }
@@ -20,32 +83,36 @@ serde_json = { version = "^1", features = ["preserve_order"] }
uuid = { version = "^1", features = ["serde", "v4"] }
thiserror = "^1"
anyhow = "^1"
chrono = { version = "^0", features = ["serde"]}
chrono = { version = "^0", features = ["serde"] }
tracing = "^0"
tracing-subscriber = { version = "^0", features = ["env-filter", "json"]}
console-subscriber = "^0"
tracing-subscriber = { version = "^0", features = ["env-filter", "json"] }
prometheus = { version = "^0", default-features = false }
cookie = { version = "0.17.0" }
phf = { version = "0.11", features = ["macros"] }
rust-embed = "^6"
mime_guess = "^2"
hex = "^0"
sql-builder = "^3"
argon2 = "^0"
retainer = "^0"
rand = "^0"
rand = "0.8.5"
rand_core = { version = "^0", features = ["std"] }
magic-crypt = "^3"
git-version = "^0"
rustpython-parser = "^0"
rustpython-parser = { git = "https://github.com/RustPython/RustPython" }
cron = "^0"
lettre = { version = "^0", features = ["rustls-tls", "tokio1", "tokio1-rustls-tls", "builder", "smtp-transport"], default-features = false}
lettre = { version = "^0", features = [
"rustls-tls",
"tokio1",
"tokio1-rustls-tls",
"builder",
"smtp-transport",
], default-features = false }
urlencoding = "^2"
url = "^2"
async-oauth2 = "^0"
reqwest = { version = "^0", features = ["json"] }
time = "^0"
slack-http-verifier = "^0"
time = "0.3.16"
serde_urlencoded = "^0"
tokio-tar = "^0"
tempfile = "^3"
@@ -56,10 +123,33 @@ regex = "^1"
deno_core = "^0"
async-recursion = "^1"
swc_common = "^0"
swc_ecma_parser = "^0"
swc_ecma_ast = "^0"
sqlx = { version = "^0", features = ["macros", "offline", "migrate", "uuid", "json", "chrono", "postgres", "runtime-tokio-rustls"]}
swc_ecma_parser = "0.128.2"
swc_ecma_ast = "0.98.1"
base64 = "0.21.0"
unicode-general-category = "^0"
hmac = "0.12.1"
sha2 = "0.10.6"
sqlx = { version = "^0", features = [
"offline",
"macros",
"migrate",
"uuid",
"json",
"chrono",
"postgres",
"runtime-tokio-rustls",
] }
dotenv = "^0"
ulid = { version = "^1", features = ["uuid"] }
futures = "^0"
tokio-metrics = "0.1.0"
lazy_static = "1.4.0"
serde_derive = "1.0.147"
const_format = { version = "0.2", features = ["rust_1_64", "rust_1_51"] }
dyn-iter = "0.2.0"
rsa = "0.7.2"
async-stripe = { version = "0.14", features = [
"runtime-tokio-hyper",
"checkout",
] }
async_zip = { version = "0.0.11", features = ["full"] }

15
backend/README.md Normal file
View File

@@ -0,0 +1,15 @@
# Windmill Backend
This folder holds all backend components, the [src/](./src/) folder only contains files used to build the "root" binary.
## Components
| name | description |
| --------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [windmill-api](./windmill-api/) | The API server, exposing functionality to other components and the frontend |
| [windmill-api-client](./windmill-api-client/) | An autogenerated Rust API client, used by other components to talk to the API |
| [windmill-audit](./windmill-audit/) | Contains audit functionality, allowing different components to record important actions |
| [windmill-common](./windmill-common/) | Common code shared by all crates |
| [windmill-queue](./windmill-queue/) | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| [windmill-worker](./windmill-worker/) | The worker. Used to process and execute flows & jobs. |
| [parsers](./parsers/) | Contains code to parse signatures in different langauges. |

5
backend/build.rs Normal file
View File

@@ -0,0 +1,5 @@
// generated by `sqlx migrate build-script`
fn main() {
// trigger recompilation when a new migration is added
println!("cargo:rerun-if-changed=migrations");
}

View File

@@ -0,0 +1 @@
DROP TABLE capture;

View File

@@ -0,0 +1,21 @@
CREATE TABLE capture (
workspace_id VARCHAR(50) NOT NULL,
path VARCHAR(255) NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
created_by VARCHAR(50) NOT NULL,
payload JSONB NOT NULL DEFAULT 'null'::jsonb
CHECK (length(payload::text) < 10 * 1024),
PRIMARY KEY (workspace_id, path),
FOREIGN KEY (workspace_id) REFERENCES workspace(id)
);
ALTER TABLE capture ENABLE ROW LEVEL SECURITY;
CREATE POLICY see_own ON capture FOR ALL
USING ( SPLIT_PART(capture.path, '/', 1) = 'u'
AND SPLIT_PART(capture.path, '/', 2) = current_setting('session.user'));
CREATE POLICY see_member ON capture FOR ALL
USING ( SPLIT_PART(capture.path, '/', 1) = 'g'
AND SPLIT_PART(capture.path, '/', 2) = any(regexp_split_to_array(current_setting('session.groups'), ',')::text[]));

View File

@@ -0,0 +1,2 @@
-- The corresponding migrate up isn't really reversible but should be
-- idempotent...

View File

@@ -0,0 +1,56 @@
-- https://github.com/windmill-labs/windmill/pull/491
CREATE FUNCTION migrate_flow(flow jsonb)
RETURNS jsonb
AS $$
DECLARE module jsonb;
i integer := 0;
BEGIN
if flow->'value'?'modules' THEN
flow = JSONB_SET(flow, ARRAY['modules'], flow->'value'->'modules') - 'value';
END IF;
FOR module IN SELECT JSONB_ARRAY_ELEMENTS(flow->'modules') LOOP
flow = JSONB_SET(flow, ARRAY['modules', i::text], migrate_flow_module(module));
i = i + 1;
END LOOP;
RETURN flow;
END;
$$ LANGUAGE plpgsql;
CREATE FUNCTION migrate_flow_module(module jsonb)
RETURNS jsonb
AS $$
BEGIN
IF module?'input_transform' AND module->'input_transform' != 'null'::jsonb THEN
module = JSONB_SET(module, ARRAY['input_transforms'], module->'input_transform')
- 'input_transform';
END IF;
IF module?'stop_after_if_expr' AND module->'stop_after_if_expr' != 'null'::jsonb THEN
IF NOT module?'stop_after_if' THEN
module = JSONB_SET(module, ARRAY['stop_after_if'], '{}'::jsonb);
END IF;
module = JSONB_SET(module, ARRAY['stop_after_if', 'expr'], module->'stop_after_if_expr')
- 'stop_after_if_expr';
END IF;
IF module?'skip_if_stopped' AND module->'skip_if_stopped' != 'null'::jsonb THEN
IF NOT module?'stop_after_if' THEN
module = JSONB_SET(module, ARRAY['stop_after_if'], '{}'::jsonb);
END IF;
module = JSONB_SET(module, ARRAY['stop_after_if', 'skip_if_stopped'], module->'skip_if_stopped')
- 'skip_if_stopped';
END IF;
if module->'value'->>'type' = 'forloopflow' THEN
module = JSONB_SET(module, ARRAY['value'], migrate_flow(module->'value'));
END IF;
RETURN module;
END;
$$ LANGUAGE plpgsql;
UPDATE flow SET value = migrate_flow(value);
DROP FUNCTION migrate_flow_module, migrate_flow;

View File

@@ -0,0 +1,5 @@
DROP TABLE resume_job;
ALTER TABLE queue
DROP COLUMN suspend,
DROP COLUMN suspend_until;

View File

@@ -0,0 +1,16 @@
CREATE TABLE resume_job (
id uuid NOT NULL,
job uuid NOT NULL,
flow uuid NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
value JSONB NOT NULL DEFAULT 'null'::jsonb
CHECK (length(value::text) < 10 * 1024),
is_cancel boolean NOT NULL default false,
PRIMARY KEY (id),
FOREIGN KEY (flow) REFERENCES queue(id) ON DELETE CASCADE
);
ALTER TABLE queue
ADD COLUMN suspend INTEGER NOT NULL DEFAULT 0,
ADD COLUMN suspend_until TIMESTAMPTZ;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,11 @@
-- Add up migration script here
DROP POLICY see_own ON audit;
DROP POLICY schedule ON audit;
ALTER TABLE audit ALTER COLUMN username TYPE varchar(255);
CREATE POLICY see_own ON audit FOR ALL
USING (audit.username = current_setting('session.user'));
CREATE POLICY schedule ON audit FOR INSERT
WITH CHECK (audit.username LIKE 'schedule-%');

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,5 @@
-- Add up migration script here
CREATE TYPE SCRIPT_KIND AS ENUM ('script', 'trigger', 'failure', 'command');
ALTER TABLE script ADD COLUMN kind SCRIPT_KIND NOT NULL DEFAULT 'script';
ALTER TABLE script DROP COLUMN is_trigger;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TYPE SCRIPT_LANG ADD VALUE 'go';

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE queue DROP COLUMN same_worker;

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE queue ADD COLUMN same_worker BOOLEAN DEFAULT FALSE;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TYPE SCRIPT_KIND ADD VALUE 'approval';

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE resume_job DROP COLUMN is_cancel;
ALTER TABLE resume_job ADD COLUMN approver VARCHAR(50);

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE resume_job DROP resume_id;

View File

@@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE resume_job ADD COLUMN resume_id INTEGER NOT NULL DEFAULT 0;
ALTER TYPE JOB_KIND ADD VALUE 'identity';

View File

@@ -0,0 +1,4 @@
-- Add down migration script here
DROP TABLE app;
DROP TABLE app_version;
DROP TYPE EXECUTION_MODE;

View File

@@ -0,0 +1,25 @@
-- Add up migration script here
CREATE TABLE app (
id BIGSERIAL PRIMARY KEY,
workspace_id VARCHAR(50) NOT NULL REFERENCES workspace(id),
path varchar(255) NOT NULL,
summary VARCHAR(1000) NOT NULL DEFAULT '',
policy JSONB NOT NULL,
versions BIGINT[] NOT NULL,
extra_perms JSONB NOT NULL DEFAULT '{}'
);
CREATE TABLE app_version(
id BIGSERIAL PRIMARY KEY,
flow_id BIGINT NOT NULL,
value JSONB NOT NULL,
created_by VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
FOREIGN KEY (flow_id) REFERENCES app(id) ON DELETE CASCADE
);
CREATE POLICY see_own ON app FOR ALL
USING (SPLIT_PART(app.path, '/', 1) = 'u' AND SPLIT_PART(app.path, '/', 2) = current_setting('session.user'));
CREATE POLICY see_member ON app FOR ALL
USING (SPLIT_PART(app.path, '/', 1) = 'g' AND SPLIT_PART(app.path, '/', 2) = any(regexp_split_to_array(current_setting('session.groups'), ',')::text[]));

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE queue DROP raw_lock;

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE queue ADD COLUMN raw_lock TEXT DEFAULT NULL;

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE queue DROP raw_lock;

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE completed_job ADD COLUMN raw_lock TEXT DEFAULT NULL;

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE flow DROP dependency_job;

View File

@@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE flow ADD COLUMN dependency_job UUID DEFAULT NULL;
ALTER TYPE JOB_KIND ADD VALUE IF NOT EXISTS 'flowdependencies';

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,13 @@
-- Add up migration script here
GRANT ALL
ON ALL TABLES IN SCHEMA public
TO windmill_user;
GRANT ALL
ON ALL TABLES IN SCHEMA public
TO windmill_admin;
DELETE FROM workspace_invite WHERE workspace_id = 'demo' AND email = 'ruben@windmill.dev';

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TYPE SCRIPT_LANG ADD VALUE 'bash';

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,8 @@
-- Add up migration script here
GRANT ALL
ON ALL SEQUENCES IN SCHEMA public
TO windmill_user;
GRANT ALL
ON ALL SEQUENCES IN SCHEMA public
TO windmill_admin;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,6 @@
-- Add up migration script here
UPDATE resource_type rt SET name = 'postgresql' WHERE name = 'postgres' AND NOT EXISTS (
SELECT 1 FROM resource_type WHERE name = 'postgresql' AND rt.workspace_id = workspace_id
);
UPDATE resource SET resource_type = 'postgresql' WHERE resource_type = 'postgres';

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE account ADD COLUMN refresh_error TEXT;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE resource DROP COLUMN is_oauth;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,11 @@
-- Add up migration script here
CREATE TYPE FAVORITE_KIND AS ENUM ('app', 'script', 'flow');
CREATE TABLE favorite (
usr VARCHAR(50) NOT NULL,
workspace_id VARCHAR(50) NOT NULL,
path VARCHAR(255) NOT NULL,
favorite_kind FAVORITE_KIND NOT NULL,
PRIMARY KEY (usr, workspace_id, favorite_kind, path)
);

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE app ADD CONSTRAINT unique_path_workspace_id UNIQUE (workspace_id, path);
ALTER TABLE app ENABLE ROW LEVEL SECURITY;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,9 @@
INSERT INTO workspace(id, name, owner) VALUES
('admins', 'Admins', 'admin@windmill.dev');
INSERT INTO workspace_settings (workspace_id) VALUES
('admins');
INSERT INTO workspace_key
(workspace_id, kind, key)
VALUES ('admins', 'cloud', md5(random()::text) || md5(random()::text))

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,20 @@
INSERT INTO script(workspace_id, created_by, content, schema, summary, description, path, hash, language, lock) VALUES (
'admins',
'system',
'import wmill from "https://deno.land/x/wmill@v1.55.0/main.ts";
export async function main() {
await run(
"workspace", "add", "__automation", "starter", Deno.env.get("WM_BASE_URL") + "/", "--token", Deno.env.get("WM_TOKEN"));
await run("hub", "pull");
}
async function run(...cmd: string[]) {
console.log("Running \"" + cmd.join('' '') + "\"");
await wmill.parse(cmd);
}',
'{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"required":[],"type":"object"}',
'Syncronize Hub Resource types with starter workspace',
'Basic administrative script to sync latest resource types from hub. Recommended to run at least once. On a schedule by default.',
'u/admin/hub_sync', -28028598712388162, 'deno', '');

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE queue ADD COLUMN pre_run_error text;

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,2 @@
-- Add up migration script here
ALTER TABLE variable ALTER COLUMN value TYPE VARCHAR(15000);

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,8 @@
-- Add up migration script here
CREATE TABLE usage (
id VARCHAR(50) NOT NULL,
is_workspace BOOLEAN NOT NULL,
month_ INTEGER NOT NULL,
usage INTEGER NOT NULL,
PRIMARY KEY (id, is_workspace, month_)
);

View File

@@ -0,0 +1,5 @@
-- Add down migration script here
ALTER TABLE queue DROP COLUMN email;
ALTER TABLE workspace_settings DROP COLUMN slack_email;
ALTER TABLE schedule DROP COLUMN email;
ALTER TABLE schedule DROP COLUMN error;

View File

@@ -0,0 +1,6 @@
-- Add up migration script here
ALTER TABLE queue ADD COLUMN email VARCHAR(50) NOT NULL DEFAULT 'missing@email.xyz';
ALTER TABLE workspace_settings ADD COLUMN slack_email VARCHAR(50) NOT NULL DEFAULT 'missing@email.xyz';;
ALTER TABLE schedule ADD COLUMN email VARCHAR(50) NOT NULL DEFAULT 'missing@email.xyz';
ALTER TABLE schedule ADD COLUMN error TEXT;

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
ALTER TABLE workspace_settings DROP COLUMN auto_invite_domain;

View File

@@ -0,0 +1,4 @@
-- Add up migration script here
GRANT ALL PRIVILEGES ON TABLE usage TO windmill_admin;
GRANT ALL PRIVILEGES ON TABLE usage TO windmill_user;

View File

@@ -0,0 +1 @@
-- Add down migration script here

Some files were not shown because too many files have changed in this diff Show More