Commit graph

4743 commits

Author SHA1 Message Date
Fabio Manganiello 14b25ac891
[Automatic] Updated UI files
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-03 19:24:39 +00:00
Fabio Manganiello e16247529e
[UI] 🐛 Moved ProcedureEditor component out of the v-else branch.
All checks were successful
continuous-integration/drone/push Build is passing
Otherwise adding new procedures through the floating add button won't
work unless some procedures are already present.
2024-10-03 21:21:27 +02:00
Fabio Manganiello 9ebe251d46
Several Docker image improvements.
All checks were successful
continuous-integration/drone/push Build is passing
- Reduced size of the Ubuntu image by removing some unneeded packages
  (docutils, manpages, babel, fonts, python-pil etc.) that take a lot of
  space.

- Better self-documented docker-compose.yml.

- Added reference to the registry.platypush.tech/platypush image in
  docker-compose.yml (README reference will follow).

- Fixed grep condition in the Docker prepare script.

- Pass `--no-deps` to `pip install platypush`. The dependencies of the
  application, now that `marshmallow_dataclasses` has been removed, are
  all available in the package managers of the supported images (with
  the exception for croniter in Alpine Linux for now), so they can all
  be installed via system package manager rather than pip. This also
  prevents Ubuntu builds from breaking because system-installed packages
  are being overwritten with pip-installed copies.
2024-10-03 20:35:01 +02:00
Fabio Manganiello 2308c4e927
Deeper cleanup of cache and tmp files in Dockerfile.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-30 22:23:15 +02:00
Fabio Manganiello 9e6ae42660
[Automatic] Updated UI files
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 22:03:28 +00:00
Fabio Manganiello c88a6aa3e6
[#414] [UI] Added support for generic Jellyfin media collections.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-29 00:01:16 +02:00
Fabio Manganiello 9e78a9a297
[Automatic] Updated UI files
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-28 21:54:26 +00:00
Fabio Manganiello 1a53c59382
[#414] Added ability to sort Jellyin results.
All checks were successful
continuous-integration/drone/push Build is passing
This also adds a new `FloatingDropdownButton` component.
2024-09-28 23:52:18 +02:00
Fabio Manganiello bf82ad9bf0
[WIP] [#414] [UI] Initial implementation of the Jellyfin UI. 2024-09-28 23:52:13 +02:00
Fabio Manganiello 841516d9de
[Automatic] Updated components cache
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-25 23:53:57 +00:00
Fabio Manganiello c134f29c72
Bump version: 1.3.0 → 1.3.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-09-26 01:52:09 +02:00
Fabio Manganiello dc104a9c8e
[linode] A more robust way to deal both with dict and object results. 2024-09-26 01:50:52 +02:00
Fabio Manganiello afdacc90d6
Added missing RST file
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-26 01:43:27 +02:00
Fabio Manganiello 117d3f07d9
Added docs for new procedures plugin
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-09-26 01:43:08 +02:00
Fabio Manganiello b44d21d31f
Updated CHANGELOG 2024-09-26 01:43:07 +02:00
Fabio Manganiello f13e00f22e
[Automatic] Updated components cache
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-25 23:39:06 +00:00
Fabio Manganiello 54e3703462
[#344] Removed remaining references of marshmallow_dataclass.
All checks were successful
continuous-integration/drone/push Build is passing
Closes: #344
2024-09-26 01:36:51 +02:00
Fabio Manganiello a7f03a1af9
[#344] Removed marshmallow_dataclass dependency from system plugin. 2024-09-25 23:55:32 +02:00
Fabio Manganiello 63d9c1e348
[Automatic] Updated components cache
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 10:04:41 +00:00
Fabio Manganiello 9244eedc49 tts.openai.say doesn't need a language parameter - and its presence breaks playback
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-24 12:03:24 +02:00
Fabio Manganiello bc01cddee0
Bump version: 1.2.3 → 1.3.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-09-23 21:38:00 +02:00
Fabio Manganiello f81c0dad4c
[Automatic] Updated UI files
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 01:52:22 +00:00
Fabio Manganiello f42ed34f75 Merge pull request '[UI] Expose procedures as entities' (#428) from 341/procedure-entities-ui into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #428
2024-09-23 03:50:14 +02:00
Fabio Manganiello 54a4c21882 Merge branch 'master' into 341/procedure-entities-ui
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:48:51 +02:00
Fabio Manganiello c48efe07bd
[Automatic] Updated components cache
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 01:46:43 +00:00
Fabio Manganiello e1547da794
Merge branch 'master' into 341/procedure-entities-ui
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:46:15 +02:00
Fabio Manganiello 62737b5a95 Merge pull request '[Backend] Expose procedures as entities' (#426) from 341/procedure-entities into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #426
2024-09-23 03:45:30 +02:00
Fabio Manganiello 8d8e1878bb
Updated CHANGELOG
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:44:05 +02:00
Fabio Manganiello 393493550c
Merge branch '341/procedure-entities' into 341/procedure-entities-ui
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:21:34 +02:00
Fabio Manganiello 38c1ebb90c
[alarm] Don't fail if no audio file is provided.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:20:55 +02:00
Fabio Manganiello 419c227ff8
[UI] Don't propagate click events in FileBrowser.
All checks were successful
continuous-integration/drone/push Build is passing
That could otherwise close the parent component when `FileBrowser` is
running in a `Modal`.
2024-09-23 03:19:23 +02:00
Fabio Manganiello d1da4803cf
[#341] Adapted alarm UI to the changes to the ProcedureEditor component.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-23 03:17:20 +02:00
Fabio Manganiello b6c0029208
[UI] Better color schemes for highlighed text.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-22 03:44:36 +02:00
Fabio Manganiello 8b621cbf30
[UI] Propagate dragend events from Tile components. 2024-09-22 03:43:46 +02:00
Fabio Manganiello e5a2127ecb
[UI] s/stackoverflow-dark/monokai-sublime/ in extensions config page.
The dark blue YAML style used by `stackoverflow-dark` isn't very
readable on black background.
2024-09-22 02:49:14 +02:00
Fabio Manganiello 91c66cdd48
[UI] Fixed deprecated usage of the hljs.highlight API. 2024-09-22 02:36:43 +02:00
Fabio Manganiello f6b3d34eff
[UI] Better handling of nested modals on the entities page.
All checks were successful
continuous-integration/drone/push Build is passing
If a modal was spawned from within an entity in a group, then the whole
group needs to get its zIndex bumped.

Otherwise, the modal component will be "caged" within the scope of the
parent and other entity groups will be rendered above it.
2024-09-22 01:43:25 +02:00
Fabio Manganiello 839948e4e6
[UI] Emit one and only one open/close modal event. 2024-09-22 01:41:52 +02:00
Fabio Manganiello 0d0665ca7c
[UI] Keep track of the number of stack modals. 2024-09-22 01:40:52 +02:00
Fabio Manganiello 6dd1d481d5
[#341] Added support for dynamic context in procedure editor components. 2024-09-21 20:45:50 +02:00
Fabio Manganiello 0e40d77bc7
Merge branch '341/procedure-entities' into 341/procedure-entities-ui 2024-09-16 03:20:03 +02:00
Fabio Manganiello be8140ddb5
[procedure] Several improvements to the procedure engine.
All checks were successful
continuous-integration/drone/push Build is passing
- Add `set` statement, which can be used to set context variables within
  YAML procedures. Example:

```yaml
procedure.test:
  - set:
      foo: bar

  - action: logger.info
    args:
      msg: ${bar}
```

- More reliable flow control for nested break/continue/return.

- Propagate changes to context variables also to upstream procedures.
2024-09-16 03:16:53 +02:00
Fabio Manganiello e7e76087c0
[#341] Added support for setting variables in procedure editor.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-16 03:08:46 +02:00
Fabio Manganiello dfbbea93fd
[#341] Added UI for while loops in procedure editor. 2024-09-15 02:06:23 +02:00
Fabio Manganiello ab07fc0fa3
Merge branch '341/procedure-entities' into 341/procedure-entities-ui 2024-09-13 18:22:18 +02:00
Fabio Manganiello 771e32e368
[#341] procedure._serialize_action should also support strings.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-13 18:21:27 +02:00
Fabio Manganiello 156a6379d0
[#341] Added for for/break/continue statements in procedure editor.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-13 18:19:02 +02:00
Fabio Manganiello c4610254f8
Merge branch '341/procedure-entities' into 341/procedure-entities-ui 2024-09-12 02:16:32 +02:00
Fabio Manganiello 853fce2521
[procedures] Fixed if queue flushing logic.
All checks were successful
continuous-integration/drone/push Build is passing
Any pending `if`s in the parsing queue of a procedure should also be
cleared if the current statement in the procedure is a
break/continue/return.

In such case we should terminate the current branch, and that involves
ensuring that any `if`s branches that are still being parsed are
inserted before the branch-terminating statement.
2024-09-12 02:14:40 +02:00
Fabio Manganiello b337bf7a53
[#341] Added return block to ProcedureEditor.
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-12 02:02:27 +02:00