Fabio Manganiello
ca030c9b25
Websocket notifications delivery should be thread-safe.
...
If multiple threads process events and notify the websocket
clients at the same time then we may end up with inconsistent
messages delivered on the websocket (and websockets is not
designed to handle such cases). Protecting the send call with
a per-socket lock makes sure that we only write one message
at the time for a certain client.
2020-02-06 01:04:36 +01:00
Fabio Manganiello
8caa170676
Don't consider the trailing / in pre-select tab mode
2020-02-01 00:17:11 +01:00
Fabio Manganiello
b02b30656c
Using /#[plugin.name] as a URL hint for selecting a tab on load.
...
Closes #83
2020-01-31 20:29:47 +01:00
Fabio Manganiello
eff21c0720
Added /plugin/<plugin_name> route for single plugin view (see #83 )
2020-01-23 00:27:36 +01:00
Fabio Manganiello
f3b50d0de1
Using the Github link for the flag-icon.css instead of cloning the whole submodule
2020-01-20 22:38:13 +01:00
Fabio Manganiello
c44de5e2d7
Grouped common CSS and JS includes into separate templates
2020-01-19 14:47:51 +01:00
Fabio Manganiello
4e45c1d0bc
Removed font-awesome full submodule clone. Use the CDN-provided all.css file instead.
...
It won't work if the webapp runs on a device not connected to the internet,
but it saves a lot of installation space.
2020-01-18 19:59:02 +01:00
Fabio Manganiello
3e2a9c0401
Skip torrent status responses with no url.
2020-01-07 09:59:45 +01:00
Fabio Manganiello
9134a231b3
success=true will always be in the response: deal with it
2020-01-07 09:46:26 +01:00
Fabio Manganiello
49a7ee643e
- Added Buienradar integration
...
- Refactored weather plugin/backend as Darksky plugin/backend
2019-12-31 08:51:19 +01:00
Fabio Manganiello
931ab9d673
Removed debug print
2019-12-29 16:55:50 +01:00
Fabio Manganiello
ba6c890a42
Refactored and improved camera plugin
2019-12-29 16:28:07 +01:00
Fabio Manganiello
7ecb27463c
Added missing '@'
2019-12-24 14:04:23 +01:00
Fabio Manganiello
ba31d4f4c9
Fixed parameter access
2019-12-24 14:00:06 +01:00
Fabio Manganiello
2edb3f0944
Added button for refreshing available cameras
2019-12-24 13:52:14 +01:00
Fabio Manganiello
ef58cc9e32
Support for username/password in camera URLs if authentication is required
2019-12-24 13:52:14 +01:00
Fabio Manganiello
a23f5446da
Added GPIO web panel
2019-12-22 18:10:30 +01:00
Fabio Manganiello
93a3c72d4e
Added camera.android.ipcam web panel
2019-12-18 01:00:56 +01:00
Fabio Manganiello
416c9ceb93
Fixed picamera mjpeg stream
2019-12-17 22:44:15 +01:00
Fabio Manganiello
634aeec58d
Refactored camera.pi endpoints
2019-12-17 21:51:55 +01:00
Fabio Manganiello
17af488b32
Using an io memory buffer to write the streamed images instead of a
...
physical file to improve streaming performance
2019-12-17 21:32:56 +01:00
Fabio Manganiello
60d5e7a0f6
Response cast fix
2019-12-17 20:00:08 +01:00
Fabio Manganiello
fb744dbc74
Added picamera streaming route and web panel tab
2019-12-17 19:54:38 +01:00
Fabio Manganiello
8c41110145
Added bluetooth plugin (see #89 )
2019-12-11 18:05:17 +01:00
Fabio Manganiello
a6488e15fe
Don't treat the execute tab as a special tab in the web panel,
...
otherwise configurations with enabled_plugins/disabled_plugins
won't work with it
2019-12-08 17:33:21 +01:00
Fabio Manganiello
be5c5d365c
Added execute tab to webpanel
2019-12-08 16:25:03 +01:00
Fabio Manganiello
d38746d278
Moved imports for extra dependencies inside the methods where they are actually used
2019-12-01 23:35:05 +01:00
Fabio Manganiello
f281411b2e
Set the light property before the any_on/all_on check on the group
2019-12-01 16:33:48 +01:00
Fabio Manganiello
3bbb6cf053
Include dev version of vue.js if available in the HTTP static/js
...
folder, otherwise include the minified version
2019-12-01 16:33:48 +01:00
Fabio Manganiello
f98a440200
Support for explicit enabled_plugins/disabled_plugins on webpanel index
2019-11-22 00:00:14 +01:00
Fabio Manganiello
9914d4ef0b
Handling CSS and fonts properly in RSSUpdates digests
2019-10-13 12:43:18 +02:00
Fabio Manganiello
4c72646759
typo
2019-10-08 10:24:48 +00:00
Fabio Manganiello
ca41f6b8cf
Torrent download from web panel should be asynchronous
2019-10-08 10:14:45 +00:00
Fabio Manganiello
313a195831
Support for torrent direct download through magnet link in web panel
2019-09-29 17:48:30 +02:00
Fabio Manganiello
a17dba3ec6
LINT warnings fix
2019-09-26 19:23:38 +02:00
Fabio Manganiello
168b1b0e5a
Finalized camera.ir.mlx90640 web interface
2019-09-26 18:33:44 +02:00
Fabio Manganiello
d7dc74beed
Added web plugin for mlx90640 infrared camera
2019-09-26 11:15:18 +02:00
Fabio Manganiello
8bfe875483
We don't need to fail hard in backend.http if the backend is configured
...
to run the web server externally but without spawning uswgi directly
(e.g. if nginx takes care of spawning and wrapping the uwsgi instance)
2019-08-14 20:02:13 +02:00
Fabio Manganiello
1ca7feb506
Small fix for the font size on mobile
2019-07-28 23:32:52 +02:00
Fabio Manganiello
1f2f293778
Redirect mercury-parser.js stderr to stdout. Moreover, if an error occurs while parsing a link from an RSS feed we should report the link that raised the error, not the URL of the parent feed
2019-07-25 16:34:00 +00:00
Fabio Manganiello
44e27e6c62
Log the link we are trying to parse (useful for debugging parsing issues)
2019-07-25 18:23:28 +02:00
Fabio Manganiello
34433a363b
Call sound.stop_recording upon audio stream stop so we won't have hanging streams with no clients connected
2019-07-25 14:01:09 +02:00
Fabio Manganiello
6aaa2fa1ea
extract_content is supposed to be a boolean
2019-07-25 01:09:16 +02:00
Fabio Manganiello
5293f5b203
#73 : Implemented wrapper plugin for the new Node.js mercury-parser.
...
As the Mercury reader web API is deprecated, and the only available
implementation is the open source mercury-parser, node, npm and
@postlight/mercury-parser have to be added as dependencies for the
http.webpage plugin (or at least for the `simplify` action).
2019-07-24 19:02:53 +02:00
Fabio Manganiello
43ca3a6f94
Added support for streaming audio from an input source over HTTP
2019-07-23 18:22:00 +02:00
Fabio Manganiello
426f064459
"Remember me" options on session should leave the cookie for a longer
...
time (e.g. one year), it should be browser-session-only otherwise
2019-07-23 00:31:17 +02:00
Fabio Manganiello
a16fc65d37
Try to load the dev version of vue.js if available
2019-07-19 20:00:39 +02:00
Fabio Manganiello
57712b3693
Be more robust in case of Mercury API failures while parsing RSS feeds. TODO: the Mercury API has now been retired and replaced by a library, that however is only available for Node.js. Figure out how to wrap the new library in Python 3
2019-07-19 15:00:06 +00:00
Fabio Manganiello
f12c6db34f
Added camera web panel
2019-07-19 15:20:48 +02:00
Fabio Manganiello
f86e2eb5a7
Implemented settings page and finalized multi-user support
2019-07-19 00:50:52 +02:00