172 Commits
Author SHA1 Message Date
Ruben Fiszel 893ee941d7 fix: migrate to new style radio button 2022-08-02 17:30:12 +02:00
Ruben Fiszel 9daff2a228 feat: add primitive sql format (#320) 2022-08-02 16:55:20 +02:00
Mike 9e84b458b1 fix: typos (#301) 2022-08-01 17:17:19 +02:00
Faton RamadaniandRuben Fiszel f384ea98ab Fix EditorBar in the script editor (#299)
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-01 16:53:01 +02:00
Faton RamadaniandRuben Fiszel 6b30969ae5 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 e2788a2003 fix loading flow from blank state 2022-08-01 13:36:09 +02:00
Ruben Fiszel 8a6d977a95 perPage = 300 for scripts page 2022-08-01 12:51:18 +02:00
Ruben Fiszel 9415dbf1dd change details page style 2022-08-01 02:45:23 +02:00
Ruben Fiszel ff1a6be628 edited at x days ago -> edited x days ago 2022-08-01 02:37:30 +02:00
Ruben Fiszel 1bd026924b 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 c86abe6ae0 fix: refresh jobs result when hopping from flow to flow 2022-07-31 19:40:56 +02:00
Ruben Fiszel 6b61227481 fix: encoding state now supports unicode including emojis 2022-07-31 16:17:43 +02:00
Ruben Fiszel 19d15cf453 clean further the openapi InputTransform 2022-07-31 11:23:21 +02:00
Ruben Fiszel 85b67f1aea urgent fix for frontend: flow -> newFlow 2022-07-31 10:22:30 +02:00
Ruben Fiszel d6305e8c6b change openflow encoding for more proper oneOf + fix all from svelte:check 2022-07-31 01:20:52 +02:00
Ruben Fiszel 9cff49af6f privilege having a parent than a schedule 2022-07-30 01:17:12 +02:00
Ruben Fiszel 9afc38e610 job can be triggered by a schedule and from a flow 2022-07-30 01:14:41 +02:00
Ruben Fiszel ee08b2b352 more errors 2022-07-30 01:10:01 +02:00
sqwishy e1d16860e4 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 93a18b2c4d autoscroll + status viewer auto update 2022-07-30 00:02:03 +02:00
Ruben Fiszel d1a3f7162f fix init of static step inputs 2022-07-29 17:52:45 +02:00
Ruben Fiszel 32f8132b39 fix list rendering + (s) 2022-07-29 17:39:31 +02:00
Ruben Fiszel 4e3a02a8e4 fix: small bar mode and editor nits 2022-07-29 16:58:03 +02:00
Ruben Fiszel 22cb810913 no more infer button 2022-07-29 16:47:29 +02:00
Ruben Fiszel 50902366e5 connect an app under resource picker 2022-07-29 16:27:05 +02:00
Ruben Fiszel dd4618b8bb nit on connect an app under resources picker 2022-07-29 15:53:56 +02:00
Ruben Fiszel 9ee60fd86c prop picker improvements 2022-07-29 15:40:42 +02:00
Ruben Fiszel 01bb107a0f feat: resource type picker in schema modal + proper initialization of raw javascript editor when applicable 2022-07-29 14:13:44 +02:00
Ruben Fiszel 2cb6e6e702 feat: base64 support in schema editor 2022-07-29 11:40:28 +02:00
Ruben Fiszel 0faabdbc40 fix: update variable and resources now return error if nothing was updated 2022-07-29 11:07:59 +02:00
Ruben Fiszel fa2af935f8 monaco-lsp fixes 2022-07-29 01:45:53 +02:00
Ruben Fiszel 1249ca1420 monaco-lsp fixes 2022-07-29 01:41:13 +02:00
Ruben Fiszel 5a0fc96f7b editor fixes 2022-07-28 23:13:03 +02:00
Ruben Fiszel a1d1c1bed7 small ui fix 2022-07-28 21:10:11 +02:00
Ruben Fiszel 9d131e6622 add publish to hub buttons 2022-07-28 20:11:55 +02:00
Ruben Fiszel f0b76f2600 fix deno on javascript input transforms 2022-07-27 22:26:34 +02:00
Ruben Fiszel f255cc253f fix: monaco editor fixes 2022-07-27 21:07:38 +02:00
Ruben Fiszelandsqwishy de3fe69908 feat: skip failures loop (#258)
* wip: forloop skip failures -- very first pass

* last iteration fix + barebone UI integration

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-07-27 12:40:08 +02:00
Ruben Fiszel caecbfd0d9 feat: add schedule settable from pull flows 2022-07-27 12:18:02 +02:00
Ruben Fiszel e85c60ffa3 fix checkboxes 2022-07-26 19:42:11 +02:00
Ruben Fiszel 3b31aec36d convert from dynamic expr to raw 2022-07-26 19:34:59 +02:00
Ruben Fiszel 6027b7e687 align language on OpenFlow 2022-07-26 19:15:34 +02:00
Ruben Fiszel 88dd7b0abb fix: import from JSON load schemas 2022-07-26 19:13:20 +02:00
Ruben Fiszel ca4bed34a6 fix: audit logs 2022-07-26 18:49:27 +02:00
Ruben Fiszel a334029787 fix: multiple UI fixes 2022-07-26 18:25:34 +02:00
Ruben Fiszel 904f0f3e69 fix: multiple UI fixes 2022-07-26 17:28:36 +02:00
Ruben Fiszel 85b8399fe5 primary schedule in flow UI wip 2022-07-26 16:21:41 +02:00
Ruben Fiszel 010acfe7e3 feat: prop picker functional for pull flows 2022-07-26 12:45:00 +02:00
Faton RamadaniandRuben Fiszel 6fbeeae84a feat: Add flow input and current step in the prop picker (#236)
* Add flow input and current step in the prop picker

* Fix step + correctly bind pickableProperties

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

* styling

* Remove debugger

* Simplify how search works by removing one store

* preview

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-26 11:51:45 +02:00
Ruben Fiszel 2c02442b39 monaco-lsp downgrade + google-refresh fix + backend update 2022-07-25 22:53:08 +02:00