Commit graph

3409 commits

Author SHA1 Message Date
0d806eeb6e - Removed setUp method from test_event_parse - let the parent setUp run and properly start the daemon
- More resilient logic in case some entries in the Zeroconf registry are still loading and the info object is still None
2021-02-27 20:51:48 +01:00
36fdcf6963 - The context should be properly expanded also when calling a Python procedure
- Refactored the logic for executing a request and wrapping the response common to procedures, crons and event hook decorators into platypush.common.exec_wrapper

- Added mock getvalue() method to Logger to prevent PyCharm failures in the tests when sys.stdout is redirected to the Logger object
2021-02-27 20:27:36 +01:00
3932fb56c4 test_event_parse must include a config_file, even if it doesn't use it, otherwise the service will fail to start 2021-02-27 17:01:47 +01:00
cde5e4e4f9 Bump version: 0.20.0 → 0.20.1 2021-02-27 15:01:38 +01:00
b4f9472fc5 - Proper expansion of the context variables on functional procedure call
- Expanded and refactored tests framework

- Added test_procedure
2021-02-27 15:01:25 +01:00
9e00428568 Don't fail silently if there were errors in parsing ${} variables or getting the context 2021-02-26 22:43:54 +01:00
b4258faa29 Fixed broken regular expressions after LINT refactor 2021-02-26 22:33:26 +01:00
9e4daacd74 Aligning flex elements to the right with justify-content: right doesn't work on Chromium-based browsers - use flex-end instead 2021-02-26 21:10:45 +01:00
61c5bae527 Bump version: 0.13.9 → 0.20.0 2021-02-24 22:41:16 +01:00
82fcf86900 Added README note on how to run tests 2021-02-24 22:40:39 +01:00
a5f02c6a30 The /hook route should not require token authentication - authentication is up to the hook implementation 2021-02-24 22:21:01 +01:00
076cc6a63e Fixed regex format 2021-02-24 01:34:41 +01:00
d0a579cf4b Fixed old regex sequences to r'' format 2021-02-24 01:28:46 +01:00
33af368940 Removed Gitlab CI - it requires too much set up for now 2021-02-24 01:03:09 +01:00
531be19a66 .context needs to be imported in test_event_parse to make sure that the configuration is properly initialized 2021-02-24 00:35:41 +01:00
ef36c76f10 Added CI pipeline script for Gitlab 2021-02-24 00:31:46 +01:00
571a8ca9d1 Improvements on HTTP integration test. Plus, removed ApplicationStoppedEvent - it's unreliable and it could be delivered when the bus has already been stopped 2021-02-24 00:23:32 +01:00
2800bac3fb Make sure that all hanging threads, backends and services are stopped and their resources cleaned up when the application stops. 2021-02-23 23:09:26 +01:00
d1b7b1768c Improved tests script 2021-02-23 01:09:03 +01:00
1a7d0a3b07 Added sub-section on procedures to README.md 2021-02-23 00:11:16 +01:00
Fabio Manganiello
b27c9ee630 Make sure to always run .quit() on the _player instance on stop/exit event, even if the player is already stopped, otherwise the OMXPlayer session may be hanging in the background and prevent new DBus connections 2021-02-22 14:22:45 +01:00
04a23d555d Updated README (it hadn't been updated for ages) 2021-02-22 02:53:20 +01:00
dae8cf0111 Uncommented some sections of the example config.yaml 2021-02-22 02:08:26 +01:00
67702d3cc8 Rephrased disclaimer for the Google assistant backend 2021-02-22 01:41:54 +01:00
6df336465f Fixed nested list style in backend.http documentation 2021-02-22 01:35:42 +01:00
ffb7a3e5a3 Extended and updated pieces of documentation on the HTTP server, Zigbee2mqtt and mpd. Also added example dashboard template and event hook script. 2021-02-22 01:20:01 +01:00
151d0008ee Removed docs references to removed plugin media.ctrl 2021-02-21 23:34:47 +01:00
10eb0c12aa Don't fail hard if the web app is initialized without access to a configuration file (e.g. from a ReadTheDocs build environment) 2021-02-21 23:30:05 +01:00
aa5cbbce28 pyjwt added to Travis-CI requirements list 2021-02-21 18:57:15 +01:00
53fb254c57 js dependencies updated 2021-02-21 18:47:26 +01:00
727094467d Fixed some UI elements for Chrome on mobile 2021-02-21 18:10:22 +01:00
Fabio Manganiello
6f9428487f Higher priority to gstreamer plugin over omxplayer for tts 2021-02-21 02:44:26 +01:00
3e777bd19f Media buttons should have no background by default 2021-02-21 02:15:27 +01:00
7ab4da6156 Merge branch 'master' into vuejs 2021-02-21 00:47:02 +01:00
7922ae4801 Removed old templates/ and static/ web directories 2021-02-21 00:41:40 +01:00
94c35e210e Migrated /plugin/<pluginName> route 2021-02-21 00:39:06 +01:00
34892e227a The webapp dist/ folder should actually be under the webapp dir 2021-02-20 23:26:25 +01:00
856eb720b0 Migrated execute panel 2021-02-20 23:12:54 +01:00
94ad14f23f Migrated Samsung TV web panel 2021-02-20 01:18:05 +01:00
c8fa61cc4f Fixed navigator scrolling and style 2021-02-19 22:55:31 +01:00
8ab72e8f94 Upgraded axios and bulma 2021-02-19 21:06:58 +01:00
6b5b50d186 Migrated switches plugin 2021-02-19 20:47:29 +01:00
56f8d85feb Migrated switches web panel and refactored switch plugins to expose a more consistent interface 2021-02-19 02:54:12 +01:00
51de11da25 Finalized migration of camera and sound plugins 2021-02-17 01:02:57 +01:00
ca2fd60950 Migrated camera.android.ipcam UI 2021-02-16 23:56:43 +01:00
e508d453ba Set better default scaling for camera.ir.mlx90640 UI 2021-02-16 22:57:09 +01:00
12e1c60f6c Fixed camera.ir.mlx90640 UI panel reference and RSS widget font 2021-02-16 22:42:43 +01:00
8c3ba9f367 Migrated camera.pi and camera.ir.mlx90640 UI panels 2021-02-16 20:14:20 +01:00
41acb02eb0 Migrated camera.cv/camera.ffmpeg/camera.gstreamer UI panels 2021-02-16 01:51:37 +01:00
748609c6f4 Migrated settings panel and logout button 2021-02-15 23:09:27 +01:00