Fabio Manganiello
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
Fabio Manganiello
a5f02c6a30
The /hook route should not require token authentication - authentication is up to the hook implementation
2021-02-24 22:21:01 +01:00
Fabio Manganiello
076cc6a63e
Fixed regex format
2021-02-24 01:34:41 +01:00
Fabio Manganiello
d0a579cf4b
Fixed old regex sequences to r'' format
2021-02-24 01:28:46 +01:00
Fabio Manganiello
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
Fabio Manganiello
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
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
Fabio Manganiello
04a23d555d
Updated README (it hadn't been updated for ages)
2021-02-22 02:53:20 +01:00
Fabio Manganiello
67702d3cc8
Rephrased disclaimer for the Google assistant backend
2021-02-22 01:41:54 +01:00
Fabio Manganiello
6df336465f
Fixed nested list style in backend.http documentation
2021-02-22 01:35:42 +01:00
Fabio Manganiello
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
Fabio Manganiello
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
Fabio Manganiello
53fb254c57
js dependencies updated
2021-02-21 18:47:26 +01:00
Fabio Manganiello
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
Fabio Manganiello
3e777bd19f
Media buttons should have no background by default
2021-02-21 02:15:27 +01:00
Fabio Manganiello
7922ae4801
Removed old templates/ and static/ web directories
2021-02-21 00:41:40 +01:00
Fabio Manganiello
94c35e210e
Migrated /plugin/<pluginName> route
2021-02-21 00:39:06 +01:00
Fabio Manganiello
34892e227a
The webapp dist/ folder should actually be under the webapp dir
2021-02-20 23:26:25 +01:00
Fabio Manganiello
856eb720b0
Migrated execute panel
2021-02-20 23:12:54 +01:00
Fabio Manganiello
94ad14f23f
Migrated Samsung TV web panel
2021-02-20 01:18:05 +01:00
Fabio Manganiello
c8fa61cc4f
Fixed navigator scrolling and style
2021-02-19 22:55:31 +01:00
Fabio Manganiello
8ab72e8f94
Upgraded axios and bulma
2021-02-19 21:06:58 +01:00
Fabio Manganiello
6b5b50d186
Migrated switches plugin
2021-02-19 20:47:29 +01:00
Fabio Manganiello
56f8d85feb
Migrated switches web panel and refactored switch plugins to expose a more consistent interface
2021-02-19 02:54:12 +01:00
Fabio Manganiello
51de11da25
Finalized migration of camera and sound plugins
2021-02-17 01:02:57 +01:00
Fabio Manganiello
ca2fd60950
Migrated camera.android.ipcam UI
2021-02-16 23:56:43 +01:00
Fabio Manganiello
e508d453ba
Set better default scaling for camera.ir.mlx90640 UI
2021-02-16 22:57:09 +01:00
Fabio Manganiello
12e1c60f6c
Fixed camera.ir.mlx90640 UI panel reference and RSS widget font
2021-02-16 22:42:43 +01:00
Fabio Manganiello
8c3ba9f367
Migrated camera.pi and camera.ir.mlx90640 UI panels
2021-02-16 20:14:20 +01:00
Fabio Manganiello
41acb02eb0
Migrated camera.cv/camera.ffmpeg/camera.gstreamer UI panels
2021-02-16 01:51:37 +01:00
Fabio Manganiello
748609c6f4
Migrated settings panel and logout button
2021-02-15 23:09:27 +01:00
Fabio Manganiello
201bb5986f
Don't create an MQTT client connection if there are no topics to subscribe.
...
If we open multiple connections from multiple MQTT-based backends to the
same host, with some of them having no topics subscribed, Paho-MQTT can
mess up which client is supposed to receive which message and we may end
up with lost messages on the platypush_bus_mqt/<host> topic.
2021-02-15 22:02:58 +01:00
Fabio Manganiello
51e6d95205
Fixed valueId lookup in Z-Wave filtered values
2021-02-14 22:02:17 +01:00
Fabio Manganiello
c78420749b
More Z-Wave UI fixes [WIP]
2021-02-14 21:43:11 +01:00
Fabio Manganiello
adbde5a681
Z-Wave UI style fixes [WIP]
2021-02-14 21:08:29 +01:00
Fabio Manganiello
80aa9b968d
More Z-Wave UI fixes [WIP]
2021-02-14 19:16:21 +01:00
Fabio Manganiello
b922f29bb8
Moar Z-Wave UI style fixes [WIP]
2021-02-14 18:53:59 +01:00
Fabio Manganiello
4dd5ea71d6
Style fixes for Z-Wave UI migration [WIP]
2021-02-14 18:07:40 +01:00
Fabio Manganiello
297c18e176
Fixed glitches in new Z-Wave panel [WIP]
2021-02-14 16:28:34 +01:00
Fabio Manganiello
a1e2bf9b3a
Fixed font size and ratio on new dashboard
2021-02-14 15:31:24 +01:00
Fabio Manganiello
c2784c400f
Added dist files for z-wave panel migration
2021-02-14 14:46:02 +01:00
Fabio Manganiello
b49865181b
Z-Wave plugin UI migration [WIP]
2021-02-14 02:29:39 +01:00
Fabio Manganiello
add1bd05cb
Keep track of the last state of the Zigbee controller so that new messages on the bridge/state
topic won't trigger new events unless the state has actually changed [see #183 ]
2021-02-13 15:54:21 +01:00
Fabio Manganiello
8168cd3ab3
Don't default on logging.INFO level if another level is set in the configuration, and apply the same logging level also to the web server [ closes #162 ]
2021-02-13 15:13:07 +01:00
Fabio Manganiello
b3c28f6773
Added support for JWT token-based authentication
2021-02-12 22:43:34 +01:00
Fabio Manganiello
06ca5be54b
Still support default host/port fallback on mqtt.publish
2021-02-12 02:19:36 +01:00
Fabio Manganiello
30d5cdcb00
Generated new dist files for the web app
2021-02-11 23:58:36 +01:00
Fabio Manganiello
2427cceb5e
Migration completed for the zigbee.mqtt web panel
2021-02-11 23:53:05 +01:00
Fabio Manganiello
3cf91a3f27
Fixed backend.zigbee.mqtt to work with the new zigbee2mqtt API
2021-02-11 23:50:28 +01:00
Fabio Manganiello
f9598977db
Refactored backend.mqtt to reuse connections whenever possible, as well as programmatically subscribe/unsubscribe topics at runtime
2021-02-10 22:31:33 +01:00
Fabio Manganiello
1a70c6ea0b
Fixed remaining Zigbee groups and binding methods to work with the new zigbee2mqtt API [see #163 ]
2021-02-10 02:00:52 +01:00
Fabio Manganiello
db80240209
zigbee2mqtt web panel migration [WIP]
2021-02-09 02:33:56 +01:00
Fabio Manganiello
1eedcaf2be
Moved more zigbee2mqtt methods to the new API
2021-02-09 02:33:43 +01:00
Fabio Manganiello
86e6ffd18d
Zigbee web panel migration [WIP]
2021-02-08 02:04:59 +01:00
Fabio Manganiello
b8979040da
Fixed device_get and device_rename to use the new zigbee2mqtt API
2021-02-08 01:45:21 +01:00
Fabio Manganiello
816492d3b2
Fixed MQTT over SSL default version spec in case the parameter is not a string
2021-02-08 01:44:26 +01:00
Fabio Manganiello
0bddbb0bca
Merge branch 'master' into vuejs
2021-02-06 14:46:08 +01:00
Fabio Manganiello
314c01ef97
Refactored Zigbee backend and remove unused logic for keeping devices up-to-date
2021-02-06 14:45:50 +01:00
Fabio Manganiello
4c5a52417e
Support for new zigbee2mqtt API and protocol (see #163 )
2021-02-06 02:19:15 +01:00
Fabio Manganiello
23a5cd519a
Merge branch 'master' into vuejs
2021-02-05 23:18:31 +01:00
Fabio Manganiello
b57a241f52
Changed base URL to platypush.tech
2021-02-05 23:18:18 +01:00
Fabio Manganiello
2abfb2964c
Merge branch 'master' into vuejs
2021-02-04 01:57:36 +01:00
Fabio Manganiello
4858dbc060
Back/forward seek changed from 60 to 30
2021-02-04 01:56:28 +01:00
Fabio Manganiello
2834ed2a7c
Refactored and fixed many bugs on the media.omxplayer plugin
2021-02-04 01:44:21 +01:00
Fabio Manganiello
165f85f8dc
Added support for background shell commands
2021-02-04 01:43:51 +01:00
Fabio Manganiello
7f24b82281
Removed deprecated media.ctrl plugin
2021-02-03 22:13:10 +01:00
Fabio Manganiello
7e1d232942
Another fix bites the dust
2021-02-03 17:47:33 +01:00
Fabio Manganiello
31a7ecee03
Quick fix
2021-02-03 17:46:05 +01:00
Fabio Manganiello
346bd9602d
The whole get_plugin/.status() block should be under try/except
2021-02-03 17:44:40 +01:00
Fabio Manganiello
673351db51
Don't fail if a media plugin can't be imported
2021-02-03 17:43:26 +01:00
Fabio Manganiello
86ebc4fae9
Get the plugin name, not the object
2021-02-03 17:42:20 +01:00
Fabio Manganiello
118540db8c
Fixed unreferenced var
2021-02-03 17:41:06 +01:00
Fabio Manganiello
a1d6c4fbe4
Added missing Config import
2021-02-03 17:39:55 +01:00
Fabio Manganiello
2bb07ae191
Fixed base class name
2021-02-03 17:39:16 +01:00
Fabio Manganiello
1920bd80a3
First search among the configured media plugins in media.ctrl plugin
2021-02-03 17:34:33 +01:00
Fabio Manganiello
ef63c3769e
Cast request headers to dict before adding them to the event
2021-01-31 00:16:44 +01:00
Fabio Manganiello
fddf2006e4
Added headers argument to webhook event
2021-01-31 00:01:58 +01:00
Fabio Manganiello
a0bf227573
Fixed trailing column in wss: protocol
2021-01-30 23:21:52 +01:00
Fabio Manganiello
8e2d590e62
Merge branch 'master' into vuejs
2021-01-23 15:06:14 +01:00
Fabio Manganiello
31b110a06c
FIX: zigbee2mqtt applies different logic to /<device_name> and /<device_name>/get
2021-01-22 16:24:43 +01:00
Fabio Manganiello
717ad5d88c
Revert "FIX: zigbee2mqtt /get calls require a property field specified on the message"
...
This reverts commit 7ff08a9587
.
2021-01-22 16:13:18 +01:00
Fabio Manganiello
cc839620cf
FIX: zigbee2mqtt /get calls require a property field specified on the message
2021-01-22 01:03:52 +01:00
Fabio Manganiello
cebd79079b
Merge branch 'master' into vuejs
2021-01-22 01:01:22 +01:00
Fabio Manganiello
7a7e00bea2
Migrated music.snapcast UI
2021-01-22 01:00:49 +01:00
Fabio Manganiello
7ff08a9587
FIX: zigbee2mqtt /get calls require a property field specified on the message
2021-01-22 00:45:52 +01:00
Fabio Manganiello
370a7d4c15
Added frontend support for Plex
2021-01-18 01:28:10 +01:00
Fabio Manganiello
85f56cf98c
New media panel [WIP]
2021-01-14 00:15:35 +01:00
Fabio Manganiello
6ae76f1f38
Migrating media plugins [WIP]
2021-01-05 00:50:24 +01:00
Fabio Manganiello
67d3b40772
Finalized new music.mpd web interface
2021-01-02 14:33:01 +01:00
Fabio Manganiello
d2887b7454
Implemented search in music.mpd
2021-01-01 15:58:56 +01:00
fabio-eiq
d10649e1f1
Support for token over Authorization: Bearer header
2020-12-31 15:36:48 +01:00
Fabio Manganiello
e127f2597c
music.mpd refactor WIP
2020-12-31 01:36:02 +01:00
Fabio Manganiello
1777ebb051
Retry logic in case of Pushbullet listener error
2020-12-30 19:44:30 +01:00
Fabio Manganiello
3eb7f01d38
Updated dist files
2020-12-26 17:43:00 +01:00
Fabio Manganiello
57304e8d7e
Music buttons should have no background
2020-12-26 17:41:12 +01:00
Fabio Manganiello
b4fc734a15
music.mpd panel migration - WIP
2020-12-26 15:03:12 +01:00
Fabio Manganiello
bc3e0b8634
Support for plugin panels embedded into dashboards
2020-12-17 02:09:23 +01:00
Fabio Manganiello
1726cbd96a
Optimized panel size for tablet
2020-12-16 22:31:04 +01:00
Fabio Manganiello
e5c8adfc1b
Fixed and expanded integration tests to deal with HTTP user authentication
2020-12-16 02:10:37 +01:00