Commit Graph

1748 Commits

Author SHA1 Message Date
Ruben Fiszel
323fd30a00 rework default python script 2022-08-05 20:21:13 +02:00
Ruben Fiszel
02fd242bb7 feat: _value, _index => iter.value, iter.index 2022-08-05 20:11:25 +02:00
Ruben Fiszel
f6b8df732b fix: surface new _iterator value 2022-08-05 19:57:18 +02:00
Ruben Fiszel
449fb27a53 feat: remove res1 wrapping 2022-08-05 19:47:00 +02:00
Faton Ramadani
c43ad1fb6e Fix flow preview + correct stylee (#346) 2022-08-05 19:02:14 +02:00
Ruben Fiszel
83fbd0755e fix: improve flow viewer with retrieving hub script 2022-08-05 17:13:05 +02:00
Ruben Fiszel
07b725f0a3 client not running improved error 2022-08-05 15:47:49 +02:00
Faton Ramadani
598e432c45 Fix breadcrumb (#344)
* Add Toggl connect

* Fix Schedule args

* Fix breadcrumb
2022-08-05 14:19:00 +02:00
Faton Ramadani
bdc10b6c83 fix(frontend): schedule args in flow (#343)
* Add Toggl connect

* Fix Schedule args
2022-08-05 13:16:49 +02:00
Faton Ramadani
7bbd048e9e fix(frontend): add toggl connect (#341) 2022-08-05 11:54:15 +02:00
Faton Ramadani
46ae4b00dc Check whether flow is defined before rendering the preview button (#337) 2022-08-05 09:11:55 +02:00
Ruben Fiszel
3fdfac02ef fix flowstatusviewer and updating to in_progress much sooner 2022-08-05 01:38:33 +02:00
Ruben Fiszel
5cc1ae2c05 fix flowstatusviewer and updating to in_progress much sooner 2022-08-05 00:46:10 +02:00
Ruben Fiszel
d14237b532 gif support + _value preview in object viewer 2022-08-04 23:45:27 +02:00
Faton Ramadani
3e940ca5d0 Bug fix for whole flow preview (#335)
* Fix connect a ressource + preview on pull mode

* Remove code duplication
2022-08-04 21:31:07 +02:00
Faton Ramadani
eefdfab1a6 Fix previous results in Flow preview (#332) 2022-08-04 20:14:32 +02:00
Ruben Fiszel
07b1fd9690 fix no app integration for in connect app 2022-08-04 18:54:19 +02:00
Ruben Fiszel
764bc2d3af tooltip for why python not supported for trigger scripts 2022-08-04 18:44:00 +02:00
Ruben Fiszel
c5ccb00dbf fix(api): add discord webhook manual instructions 2022-08-04 17:49:13 +02:00
Faton Ramadani
ced2b960f2 feat(frontend): global flow preview (#329)
* Added flow preview

* Fix blue

* Disable preview button is not inputs are valid

* Fix layout top margin
2022-08-04 17:46:40 +02:00
Ruben Fiszel
fe81c17d2f fix(backend): generalize oauth clients to take in extra params 2022-08-04 14:32:04 +02:00
Ruben Fiszel
a075a49426 fix(frontend): loading template pick the language as well 2022-08-04 10:50:44 +02:00
Faton Ramadani
c7b366828c fix(frontend): Use the bracket notation when an identifier is not a valid JS expression (#327) 2022-08-04 10:13:03 +02:00
Ruben Fiszel
1414585141 fix(frontend): add jpeg support 2022-08-04 01:22:48 +02:00
Faton Ramadani
486387d0ec Flow fix property picker (#326)
* Fix property picker

* Fix property picker
2022-08-04 00:28:46 +02:00
Faton Ramadani
72a6004380 Flow: Input connect (#325)
* Fix EditorBar in the script editor

* Rework ArgInput

* Add a button to link a property

* Adapt style

* Clean up

* Clean up Toggle

* Clean up Toggleclear

* Fix editor

* Fix login test

* Fix login test

* Done

* Fix toggling issues
2022-08-03 19:51:58 +02:00
Ruben Fiszel
e2127723cd fix: migrate to new style radio button 2022-08-02 17:30:12 +02:00
Ruben Fiszel
5e14b6dfb3 feat: add primitive sql format (#320) 2022-08-02 16:55:20 +02:00
Mike
51d05c8f5d fix: typos (#301) 2022-08-01 17:17:19 +02:00
Faton Ramadani
5db447de02 Fix EditorBar in the script editor (#299)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-01 16:53:01 +02:00
Faton Ramadani
080860fad8 improve Flow UI (#297)
* Improve flow ui

* Finish reworking

* Fix formating

* Fix naviation

* Fix navigaion + adjust icon sizes

* Remove duplicate code

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-01 15:07:29 +02:00
Ruben Fiszel
47c9d45922 fix loading flow from blank state 2022-08-01 13:36:09 +02:00
Ruben Fiszel
5578fc30ea perPage = 300 for scripts page 2022-08-01 12:51:18 +02:00
Ruben Fiszel
2fa7cf8e36 change details page style 2022-08-01 02:45:23 +02:00
Ruben Fiszel
d64045edaa edited at x days ago -> edited x days ago 2022-08-01 02:37:30 +02:00
Ruben Fiszel
d119797a34 fix: displaying which group you are a member of that gave you access to item 2022-08-01 02:30:07 +02:00
Ruben Fiszel
88c49eb286 fix: refresh jobs result when hopping from flow to flow 2022-07-31 19:40:56 +02:00
Ruben Fiszel
fcae2817eb fix: encoding state now supports unicode including emojis 2022-07-31 16:17:43 +02:00
Ruben Fiszel
f8171af6f0 clean further the openapi InputTransform 2022-07-31 11:23:21 +02:00
Ruben Fiszel
c846128fbb urgent fix for frontend: flow -> newFlow 2022-07-31 10:22:30 +02:00
Ruben Fiszel
2a0d70dcbc change openflow encoding for more proper oneOf + fix all from svelte:check 2022-07-31 01:20:52 +02:00
Ruben Fiszel
b914ccab1f privilege having a parent than a schedule 2022-07-30 01:17:12 +02:00
Ruben Fiszel
2eeacc6f57 job can be triggered by a schedule and from a flow 2022-07-30 01:14:41 +02:00
Ruben Fiszel
ae2aa7b8f8 more errors 2022-07-30 01:10:01 +02:00
sqwishy
9a632befdd job duration to ms & added to /api/w/*/users/list (#261)
* add jobs_duration to /api/w/*/users/list

A few improvements on this might be considered.

- Adding the duration to /whoami and /whois
- Optionally fetching duration conditional on a query parameter.
- Using the query parameter value to select how far back to look,
  `created_at > now() - $2 * '1 day'::interval`.

Subquery might not be optimal, but performance is a bit weird to test
right now as I haven't done much with my development database to get it
to resemble a typical (production) database.  And there aren't many
indexes currently either.

And I think my rust rustfmt doesn't run because unstable options in the
rustfmt.toml or something so the formatting might be a bit wonky.

* duration -> duration_ms for completed_job

sqlx reordered keys in sqlx-data.json so the diff is quite noisy. I'm
not sure if I did it wrong or if this tool is obnoxious that way.

* don't double count job duration in flows

* job_duration_ms to Usage duration_ms jobs flows

rustfmt got carried away sorry
2022-07-30 00:02:51 +02:00
Ruben Fiszel
f83fb6355d autoscroll + status viewer auto update 2022-07-30 00:02:03 +02:00
Ruben Fiszel
ec09257bfe fix init of static step inputs 2022-07-29 17:52:45 +02:00
Ruben Fiszel
f825712ca8 fix list rendering + (s) 2022-07-29 17:39:31 +02:00
Ruben Fiszel
e898d56b89 fix: small bar mode and editor nits 2022-07-29 16:58:03 +02:00
Ruben Fiszel
f80af22241 no more infer button 2022-07-29 16:47:29 +02:00