Ruben Fiszel
99594ff968
remove zendesk
2022-08-16 23:45:58 +02:00
Ruben Fiszel
e606118943
fix(backend): collecting result when for loop is not the last step #422
...
* wip: step after forloop results
Adding a failing test so I don't forget out about it.
In the last step, `items` is `4`, the last item in iteration, rather
than the collected list. My guess is this is because the results aren't
collected unless the flow quits early or the forloop module is the last
module so that `last_step` is true.
* test
Co-authored-by: sqwishy <somebody@froghat.ca >
2022-08-16 23:03:55 +02:00
Ruben Fiszel
824e91bbc7
pass path as env variable
2022-08-15 13:51:16 +02:00
Ruben Fiszel
064ae59338
make executable paths configurable
2022-08-15 13:32:51 +02:00
Ruben Fiszel
1275f5f7fb
fix: set secure only for https
2022-08-15 10:40:01 +02:00
Ruben Fiszel
92d1a3a441
remove hardcoded paths when nsjail is disabled
2022-08-15 10:08:40 +02:00
Ruben Fiszel
1b377f8f02
set local authorization -> set role
2022-08-14 23:33:09 +02:00
Ruben Fiszel
1c40f01e5d
feat: db users: admin -> windmill_admin, app -> windmill_user ( #404 )
...
* feat: db users: admin -> windmill_admin, app -> windmill_user
* clean up
* backend tests
* backend tests
* backend tests
* lock roles in first migration
* check if user is superuser too
* add init-db
* add init-db
2022-08-14 18:20:27 +02:00
Ruben Fiszel
c8dca072dd
remove println
2022-08-13 21:20:50 +02:00
Ruben Fiszel
845de82062
feat: add literal object type support ( #401 )
2022-08-13 21:18:54 +02:00
Ruben Fiszel
0384727a56
feat: support union type will null | undefined ( #400 )
2022-08-13 19:35:52 +02:00
Ruben Fiszel
e68ea1b8fc
feat: support union types ( #398 )
2022-08-13 17:25:16 +02:00
Ruben Fiszel
cb43802c69
full backend ci tests
...
* attempt ci in container
* attempt ci in container
* psql
* psql
* psql
* psql
* privileged
* cache
2022-08-12 11:21:19 +02:00
sqwishy
91bc88b574
make initialize_tracing sync and infallable ( #395 )
...
also remove tiny bit of raceyness from worker tests, there's a bit of
sync around Once but it's short so it should be fine
2022-08-12 10:44:41 +02:00
sqwishy
08d1a35009
pass broadcast::Receiver instead of Sender ( #396 )
...
I think this was just added a couple months ago. If all Senders drop
the Receivers close. This change helps avoid creating Senders that you
never send on that are just held in scope and prevent the channel from
closing.
2022-08-12 10:43:06 +02:00
sqwishy
65e275556d
remove unused mutex parameter for run_worker ( #394 )
2022-08-12 10:42:46 +02:00
Ruben Fiszel
359d3899a2
fix schedule bug
2022-08-12 04:03:39 +02:00
Ruben Fiszel
9e371fcff0
disable nsjail for test
2022-08-12 03:31:50 +02:00
Ruben Fiszel
42c20c4527
fix test_eval_timeout
2022-08-12 02:05:59 +02:00
sqwishy
b462a5a733
backend tests for python job and deno flow ( #389 )
2022-08-12 01:50:31 +02:00
Ruben Fiszel
464a594e37
update backend + 404 on non found assets
2022-08-11 21:00:53 +02:00
sqwishy
881cea41dd
ping hub.windmill.dev/getip for external ip without using only reqwest ( #384 )
2022-08-11 01:01:24 +02:00
sqwishy
56e082b17c
correct query param number in delete_token ( #380 )
2022-08-09 17:57:03 +02:00
Ruben Fiszel
7dfce17e1d
fix replacement
2022-08-09 15:57:56 +02:00
Ruben Fiszel
0bd882c4fb
fix replacement
2022-08-09 15:48:28 +02:00
Ruben Fiszel
42cb8e9afe
psycopg2 => binary
2022-08-09 15:17:01 +02:00
sqwishy
6b2ff5a87f
DATABASE_CONNECTIONS sets Pool max_connections ( #376 )
...
If unspecified, defaults to the current value of 100
2022-08-09 09:47:48 +02:00
Ruben Fiszel
785d3ea4e7
raise limit to 200000 chars
2022-08-08 13:57:39 +02:00
Ruben Fiszel
a613b45f8b
surface better the transform_json_value step errors
2022-08-08 11:54:01 +02:00
Ruben Fiszel
cdf2d2f7df
increase limit to 900s over the last 1200s
2022-08-07 14:39:57 +02:00
Ruben Fiszel
8153718166
do rate limit based on as_permissioned_as
2022-08-07 14:04:17 +02:00
Ruben Fiszel
c69621fa7a
fix: update logs even if last new log was < 500ms
2022-08-07 13:48:37 +02:00
Ruben Fiszel
b647f59c82
rewrite kill wait
2022-08-07 12:55:21 +02:00
Ruben Fiszel
79af9abb92
prevent log spam abuse
2022-08-07 12:50:28 +02:00
Ruben Fiszel
56a3a9c4f5
more logging around command executions
2022-08-07 12:25:45 +02:00
Ruben Fiszel
2c6f1c3b82
more logging around command executions
2022-08-07 12:00:41 +02:00
Ruben Fiszel
dfb4339c5e
audit logs for all execute case
2022-08-07 11:14:00 +02:00
Ruben Fiszel
fbe878407c
add summary field for modules
2022-08-06 23:37:17 +02:00
Ruben Fiszel
bd8bcb36a1
rework input transform for the forloop module
2022-08-06 14:02:39 +02:00
Ruben Fiszel
33962c4466
fix(python): not filled field with default <function_call> now call the default function
2022-08-06 12:51:14 +02:00
Ruben Fiszel
da630b5add
display inputs in flow viewer too
2022-08-06 09:30:10 +02:00
Ruben Fiszel
bc35a81bec
improve error message for parsing
2022-08-06 08:45:37 +02:00
Ruben Fiszel
0346d955f9
rework default python script
2022-08-05 20:21:13 +02:00
Ruben Fiszel
07f4a217d0
feat: _value, _index => iter.value, iter.index
2022-08-05 20:11:25 +02:00
Ruben Fiszel
8b68a87c52
fix: do not skip undefined values
2022-08-05 19:53:28 +02:00
Ruben Fiszel
e76a9816ee
feat: remove res1 wrapping
2022-08-05 19:47:00 +02:00
Ruben Fiszel
4c98cf4b66
do not cache html, cache everything else for a long time
2022-08-05 11:00:41 +02:00
Ruben Fiszel
6b129b213b
fix flowstatusviewer and updating to in_progress much sooner
2022-08-05 00:46:10 +02:00
Ruben Fiszel
6332910dd2
fix(backend): generalize oauth clients to take in extra params
2022-08-04 14:32:04 +02:00
Ruben Fiszel
3bcd542130
fix(backend): handle better some flow edge-cases
2022-08-04 01:50:47 +02:00