Fabio Manganiello
9ad6188b5d
New js file for camera.pi plugin
2020-09-27 02:52:20 +02:00
Fabio Manganiello
31f2c5152c
New template file for camera.pi
2020-09-27 02:47:38 +02:00
Fabio Manganiello
c269c62fe6
Refactored logging names
2020-09-27 01:33:38 +02:00
Fabio Manganiello
6e6092e4b2
Do proper decapsulation for PiCamera wrapped object when reinitialized
2020-09-25 18:25:33 +02:00
Fabio Manganiello
ac42f7eba4
Make sure that the PiCamera session is properly closed and re-opened on each stream request
2020-09-25 18:06:27 +02:00
Fabio Manganiello
258a9b57ce
release_device should not fail hard if stop_recording or close fail on ConnectionError
2020-09-25 17:42:21 +02:00
Fabio Manganiello
28409b8688
The device should be released after each streaming session
2020-09-25 17:34:53 +02:00
Fabio Manganiello
c12e7bab90
The streaming thread shouldn't fail and exit if it fails closing a client socket
2020-09-25 17:28:25 +02:00
Fabio Manganiello
09f9e974b1
Camera plugins refactor
2020-09-25 17:19:43 +02:00
Fabio Manganiello
c0f7cc0782
Added NextCloud integration [ closes #149 ]
2020-09-10 11:10:26 +02:00
Fabio Manganiello
0af326fa11
Refactored inotify backend
2020-09-09 02:16:13 +02:00
Fabio Manganiello
beeb7dca7c
Removed unneeded import
2020-09-09 02:15:52 +02:00
Fabio Manganiello
1e972ded99
More robust logic on the bus in case the message failed to parse (prevents the application from crashing)
2020-09-09 02:15:35 +02:00
Fabio Manganiello
a650840429
Refactored variable plugin
2020-09-09 02:14:59 +02:00
Fabio Manganiello
4d0d467292
PIL JPEG format name typo fix
2020-09-08 18:14:49 +02:00
Fabio Manganiello
83122becdb
Applied degrees -> PIL rotation ID conversion to the output image
2020-09-08 18:03:18 +02:00
Fabio Manganiello
9623752e19
Fixed module name typo
2020-09-08 17:57:18 +02:00
Fabio Manganiello
53ddbad7ce
Refactored MLX90640 plugin and HTTP route to work with direct BytesIO - it improves performance over using temporary files or base64-encoded responses
2020-09-08 17:51:46 +02:00
Fabio Manganiello
ac02becba8
Switched RSS HTML digests style to inline CSS for better client cross-compatibility and added docstring to RssUpdates
2020-09-05 16:54:08 +02:00
Fabio Manganiello
13642cc42e
Possibility to customize the CSS in the generated RSS digests
2020-09-05 01:48:28 +02:00
Fabio Manganiello
d6f653d834
Using named arguments for formatting the parsed content of a feed
2020-09-05 01:43:33 +02:00
Fabio Manganiello
dc254d6474
Also include the link in an RSS feed digest
2020-09-05 01:39:16 +02:00
Fabio Manganiello
8a1f49a906
Open the source file in read non-binary mode in case of MIMEText
2020-09-05 01:29:43 +02:00
Fabio Manganiello
6dce4c59f6
(Forgot to pass the new arguments to the MIME constructor)
2020-09-05 01:27:08 +02:00
Fabio Manganiello
ce42f5aada
MIMEText doesn't accept the Name parameter
2020-09-05 01:25:12 +02:00
Fabio Manganiello
e9d4ed3911
Added more source fields to the RSS NewFeedEvent
2020-09-05 00:50:04 +02:00
Fabio Manganiello
2ceb3511b3
More robust websocket retry handler for Todoist
2020-09-04 22:59:23 +02:00
Fabio Manganiello
d27b23ec5a
Bump version: 0.13.4 → 0.13.5
2020-09-03 17:17:47 +02:00
Fabio Manganiello
9402e4f65f
Removed trailing column
2020-09-03 17:16:35 +02:00
Fabio Manganiello
a4c6028dc4
Fixed wrong code-block syntax
2020-09-03 14:32:51 +02:00
Fabio Manganiello
907bc0f75b
Added rtorrent integration [ closes #120 ]
2020-09-03 13:08:42 +02:00
Fabio Manganiello
d7806757c5
Polished mail integration
2020-09-02 01:34:18 +02:00
Fabio Manganiello
ca168828de
Added events on IMAP flagged/starred messages and extended IMAP plugin with remaining methods [ closes #146 ]
2020-09-02 00:07:08 +02:00
Fabio Manganiello
6c24783df7
Log full exceptions in case of failures in a procedure
2020-09-01 10:33:56 +02:00
Fabio Manganiello
681e9f1703
Added SMTP plugin [links to #146 ]
2020-09-01 01:52:22 +02:00
Fabio Manganiello
737c135996
More robust logic to pass procedures to the index.html template
2020-08-31 21:32:00 +02:00
Fabio Manganiello
edd2235cbc
Removed old reference to __plugins__ in kodi.js - using inspect.get_config
endpoint instead.
2020-08-31 18:31:15 +02:00
Fabio Manganiello
dc1b54961f
Added inspect.get_config()
method to get the configuration programmatically
2020-08-31 18:26:08 +02:00
Fabio Manganiello
3c3ee09d90
Fixed auto-generated docs indentation and code blocks
2020-08-31 17:39:42 +02:00
Fabio Manganiello
1681f80728
Added IMAP plugin and generic mail check backend [links to #146 ]
2020-08-31 15:33:03 +02:00
Fabio Manganiello
f1ab923bfe
Option to reuse the MQTT configuration of the plugin if not provided on the backend
2020-08-27 17:39:22 +02:00
Fabio Manganiello
d7c3ad64f5
Use default MQTT settings for MQTT listeners if not provided
2020-08-27 17:16:33 +02:00
Fabio Manganiello
ca0c4e3089
Don't overwrite the client variable within the same scope
2020-08-27 16:59:35 +02:00
Fabio Manganiello
beceb39b0c
Added client_id in MQTT integrations
2020-08-27 16:41:51 +02:00
Fabio Manganiello
9f1128e2c0
typo fix
2020-08-27 16:30:18 +02:00
Fabio Manganiello
e77e5bb3d8
Only expand paths if set
2020-08-27 16:29:21 +02:00
Fabio Manganiello
0d182820e8
expanduser for TLS files in MQTT listeners
2020-08-27 16:25:52 +02:00
Fabio Manganiello
f7df1d2f6e
typo fix
2020-08-27 16:01:51 +02:00
Fabio Manganiello
cd8732dc8f
Added tls_insecure flag to MQTT
2020-08-27 15:56:43 +02:00
Fabio Manganiello
b8917de52f
TLS version in MQTT configuration parsed from string
2020-08-27 12:44:00 +02:00
Fabio Manganiello
aa631deb88
Fixed docs typo
2020-08-24 01:24:24 +02:00
Fabio Manganiello
2e6388f6f4
ReadTheDocs fixes
2020-08-24 01:14:40 +02:00
Fabio Manganiello
5d2e74eb97
LINT fixes for LCD plugins
2020-08-24 00:42:34 +02:00
Fabio Manganiello
af614480b8
Added LCD display integration ( closes #145 )
2020-08-23 20:00:08 +01:00
Fabio Manganiello
7a7c065754
Added missing docs
2020-08-23 00:49:51 +02:00
Fabio Manganiello
6bed284e8b
Added DHT temperature/humidity sensor integration [ closes #113 ]
2020-08-22 23:46:21 +01:00
Fabio Manganiello
289eebd6a0
Moved definition of workdir inside the constructor, otherwise readthedocs will fail for missing configuration file
2020-08-22 15:33:44 +02:00
Fabio Manganiello
43ef4bccdf
LINT fixes
2020-08-22 14:31:00 +02:00
Fabio Manganiello
fa0a5805be
LINT fixes
2020-08-22 14:25:31 +02:00
Fabio Manganiello
bf92d66be1
Bump version: 0.13.3 → 0.13.4
2020-08-22 14:08:14 +02:00
Fabio Manganiello
a9509fc959
Pass the repo reference to the Github event
2020-08-22 12:25:55 +02:00
Fabio Manganiello
2dc8fe9437
Added Github backend [ closes #95 ]
2020-08-22 12:09:24 +02:00
Fabio Manganiello
a0d97c0f18
service_type and service_name are actually needed even if empty
2020-08-20 00:48:01 +02:00
Fabio Manganiello
d8f7b15111
Post ZeroconfServiceRemovedEvent also if the zeroconf_info object has already been deallocated
2020-08-20 00:40:02 +02:00
Fabio Manganiello
ddedcd647c
The Zeroconf object might already be closed after unregister_service
2020-08-20 00:37:39 +02:00
Fabio Manganiello
63ad4bfdce
Doc fixes
2020-08-20 00:35:06 +02:00
Fabio Manganiello
019bcbf90a
Replaced values.unset in Twilio methods signature with None for JSON compatibility
2020-08-20 00:08:10 +02:00
Fabio Manganiello
403076e6ab
Fixed method name
2020-08-19 23:56:23 +02:00
Fabio Manganiello
988601b10e
Added Twilio integration [ closes #132 ]
2020-08-19 23:30:26 +02:00
Fabio Manganiello
cbae8132ed
Python 3.5 compatibility
2020-08-19 22:20:00 +02:00
Fabio Manganiello
5302d3143e
Better reconnection logic for mopidy backend
2020-08-19 20:23:33 +02:00
Fabio Manganiello
4b86b8ef54
Fixed ndef submodules import
2020-08-17 17:16:53 +02:00
Fabio Manganiello
62e5d03931
Matching new ndef naming conventions
2020-08-17 17:10:28 +02:00
Fabio Manganiello
9c52d96c08
Bump version: 0.13.2 → 0.13.3
2020-08-16 02:01:41 +02:00
Fabio Manganiello
0659996c48
Added DBus integration [ closes #141 ]
2020-08-16 01:57:30 +02:00
Fabio Manganiello
af2dbf899d
Importing Zeroconf inside of the method to prevent Travic-CI from breaking because of module not found
2020-08-14 20:53:20 +02:00
Fabio Manganiello
20b095232d
Support for extended information in zeroconf.discover_service
2020-08-14 15:52:24 +02:00
Fabio Manganiello
f35bacaae5
Bump version: 0.13.1 → 0.13.2
2020-08-14 02:02:29 +02:00
Fabio Manganiello
c057cd13fd
python-zeroconf has introduced too many breaking changes - giving up.
2020-08-14 02:01:31 +02:00
Fabio Manganiello
b79fd4e25d
Bump version: 0.13.0 → 0.13.1
2020-08-14 00:37:39 +02:00
Fabio Manganiello
7e8bef40cd
Added Zeroconf integration [ closes #105 ]
2020-08-14 00:36:39 +02:00
Fabio Manganiello
dc5afebd27
Bump version: 0.12.10 → 0.13.0
2020-08-12 00:59:04 +02:00
Fabio Manganiello
6b43a5e592
Added luma.oled display support
2020-08-11 14:48:14 +02:00
Fabio Manganiello
d3e52ba944
Backends should be started with daemon=True
2020-08-01 17:20:46 +02:00
Fabio Manganiello
65bac0ccc5
Fix for pychromecast.get_chromecasts new return type.
...
On newer versions of pychromecast get_chromecasts returns
a tuple (devices, browser_service) instead of a list. The
software should be robust enough with both older and newer
versions of pychromecast.
2020-07-25 01:35:06 +02:00
Fabio Manganiello
20e67ffc93
Bump version: 0.12.9 → 0.12.10
2020-07-20 00:20:19 +02:00
Fabio Manganiello
a6730d5252
Added generated CSS folder (prevents pyScss dependencies for binary builds)
2020-07-19 22:41:37 +02:00
Fabio Manganiello
590d416682
Google Translate API supports a maximum of 2000 characters per API call.
...
Therefore it's a good idea to split the input text/html.
2020-07-05 21:04:54 +02:00
Fabio Manganiello
adc94349c7
Missing commas
2020-07-04 00:31:24 +02:00
Fabio Manganiello
b716b1a0c1
More robust URL query for YouTube
2020-07-04 00:25:49 +02:00
Fabio Manganiello
93ac6c8af9
Regex format fix
2020-07-04 00:18:45 +02:00
Fabio Manganiello
03dc524f80
Fixed response type
2020-07-04 00:15:44 +02:00
Fabio Manganiello
c943acb9c2
Smarter logic for parsing YouTube URLs in Kodi
2020-07-04 00:12:16 +02:00
Fabio Manganiello
a4824a4e95
Google Cloud Translate API works through GOOGLE_APPLICATION_CREDENTIALS env variable
2020-07-02 02:24:54 +02:00
Fabio Manganiello
46515020cf
Added Google Translate plugin
2020-07-02 02:07:57 +02:00
Fabio Manganiello
1e15bb5606
Changed favicon
2020-07-01 01:08:31 +02:00
Fabio Manganiello
b32232b46e
Prevent a tight loop in HttpPoll if one of the requests fails
2020-07-01 00:53:23 +02:00
Fabio Manganiello
3174db5776
Always convert content to string before writing it to a file
2020-06-30 11:41:38 +02:00
Fabio Manganiello
11709641d7
Extended file plugin with more util methods
2020-06-29 23:53:11 +02:00
Fabio Manganiello
d560823887
Replaced deprecated options in PiCamera module
2020-06-27 13:55:18 +02:00
Fabio Manganiello
96716dc872
Support for pre-fetched HTML/Markdown content.
...
HTML output can be too large for the process called over the command
line. HTML data exchange now happens through an intermediate temporary
file.
2020-06-25 01:37:59 +02:00
Fabio Manganiello
f50ad767e0
Support for more arguments passed to the Mercury parser
2020-06-23 01:54:35 +02:00
Fabio Manganiello
a1c20a52da
Defined get_procedures() method on inspect plugin
2020-06-17 22:31:07 +02:00
Fabio Manganiello
fb58c89911
More robust node_to_dict code in case of race conditions where some of the attributes required to generate id_on_network are not available
2020-06-11 14:50:41 +02:00
Fabio Manganiello
a18002dea0
The command class of a Z-Wave value can also be null: prevent the plugin from breaking in such case
2020-06-09 16:14:02 +02:00
Fabio Manganiello
9d6375f381
More robust logic in case of Tplink device not available
2020-06-08 19:43:08 +02:00
Fabio Manganiello
526bca847b
Bump version: 0.12.8 → 0.12.9
2020-06-08 00:38:04 +02:00
Fabio Manganiello
0ced46058a
Always set check_same_thread=False in case of SQLite engines.
...
Platypush is heavily multi-threaded, and it can happen that some
transactions are handled in different threads - and consistency
is managed by the application itself.
2020-06-08 00:27:41 +02:00
Fabio Manganiello
6ba92e7fdd
Added missing doc line
2020-05-23 23:12:45 +02:00
Fabio Manganiello
82a9aa1232
Added clipboard backend
2020-05-23 23:11:42 +02:00
Fabio Manganiello
b5f0e2b4df
Bump version: 0.12.7 → 0.12.8
2020-05-23 21:39:26 +02:00
Fabio Manganiello
3cdd9e8474
Added SSH plugin [ closes #136 ]
2020-05-23 21:38:22 +02:00
Fabio Manganiello
f20cb4df5b
No need to override background-color in main for dashboard
2020-05-23 12:26:45 +02:00
Fabio Manganiello
97343e97de
background-image for dashboard CSS
2020-05-23 12:22:56 +02:00
Fabio Manganiello
1b47615100
More robust attribute checking before conversion, as the object can actually be either a ZWaveNode or a ZWaveController
2020-05-22 12:08:17 +02:00
Fabio Manganiello
98ced4b4e4
Don't push a ZwaveNetworkStoppedEvent directly to the event_queue - the object type is incompatible
2020-05-22 11:54:19 +02:00
Fabio Manganiello
d6b509e98a
Replaced fullscreen auto logic with button toggle
2020-05-20 16:15:08 +02:00
Fabio Manganiello
82162c3c5e
Apply fullscreen to document.documentElement instead of getting the body
2020-05-20 15:58:28 +02:00
Fabio Manganiello
7e0a91d839
Portable implementation of fullscreen JS methods
2020-05-20 15:47:17 +02:00
Fabio Manganiello
e44dfbc169
Added fullscreen support in webpanel and dashboard
2020-05-20 15:29:49 +02:00
Fabio Manganiello
d595688d55
Use the /total/country/<cc> endpoint instead of /total/dayone/country/<cc>
2020-05-17 16:52:37 +02:00
Fabio Manganiello
0c10825d2e
Bump version: 0.12.6 → 0.12.7
2020-05-17 12:56:36 +02:00
Fabio Manganiello
51f99026ac
The network object isn't always available on a ZWave event
2020-05-17 12:56:01 +02:00
Fabio Manganiello
aa66b81b7b
Fixed webhook event management
2020-05-09 01:47:12 +02:00
Fabio Manganiello
80d5a6ad19
Support for multiple torrent sessions
2020-05-07 23:34:56 +02:00
Fabio Manganiello
26f6feebb7
Implemented retry+sleep mechanism in Switchbot plugin in case of errors
...
This should prevent race conditions in case of command timeout+quick
disconnection and retry that can result in race conditions and double
free corruptions.
2020-05-06 00:25:19 +02:00
Fabio Manganiello
99fee9ce20
Parse countries from the official country list
2020-05-04 13:15:17 +00:00
Fabio Manganiello
07299e49e7
Bump version: 0.12.5 → 0.12.6
2020-05-03 18:10:25 +02:00
Fabio Manganiello
d0ccd65214
Added Samsung smart TV web plugin
2020-05-03 17:21:16 +02:00
Fabio Manganiello
2f57ccf412
Added Samsung smart TV plugin
2020-05-03 00:57:13 +02:00
Fabio Manganiello
1cf93199d0
Adaptive dashboard widget height
2020-05-01 15:03:13 +02:00
Fabio Manganiello
1d24c878e6
Use both country and country_code on the event
2020-05-01 00:03:55 +02:00
Fabio Manganiello
a387b84623
Don't swallow the exception if something goes wrong in a Python hook
2020-04-30 23:55:28 +02:00
Fabio Manganiello
9d0f43707a
Support for list of countries
2020-04-30 22:45:04 +02:00
Fabio Manganiello
77e302cd4b
Using session.merge instead of session.add to handle insert/update logic
2020-04-30 00:59:33 +02:00
Fabio Manganiello
3bb4c4434c
Added Covid-19 country stats plugin and backend/monitor
2020-04-30 00:44:34 +02:00
Fabio Manganiello
3c209a800b
New popcorn time API URLs
2020-04-28 13:49:31 +02:00
Fabio Manganiello
42d29ca1f6
LINT fixes
2020-04-23 18:33:57 +02:00
Fabio Manganiello
8440320031
Don't swallow the stack trace in backend.http.request if a request fails
2020-04-22 23:46:05 +00:00
Fabio Manganiello
01ce9284a1
Bump version: 0.12.4 → 0.12.5
2020-04-12 22:56:33 +02:00
Fabio Manganiello
f7d644c32d
get_procedures() can now return Python function objects as well.
...
This means that the JSON encoder must act accordingly and parse
the function object into an encodable string.
2020-04-12 22:56:12 +02:00
Fabio Manganiello
124269776d
Support for procedure imports from scripts base module
2020-04-10 20:59:32 +02:00
Fabio Manganiello
25ea0ea77c
Included scripts_dir parent dir on sys.path so scripts can import members through the "scripts" package
2020-04-10 00:40:46 +02:00
Fabio Manganiello
0cd28f7499
If the response contains errors in run() then raise a RuntimeError, otherwise return the output instead of the Response object
2020-04-10 00:06:36 +02:00
Fabio Manganiello
7b79e4b669
Support for multiple positional arguments on utils.run()
2020-04-09 23:50:08 +02:00
Fabio Manganiello
ca718d0748
Bump version: 0.12.3 → 0.12.4
2020-04-09 00:15:08 +02:00
Fabio Manganiello
d46385687f
Support for event filter on functional hook
2020-04-09 00:09:36 +02:00
Fabio Manganiello
0dae03551f
Implemented interface for custom Python scripts, procedures and hooks [ closes #131 ]
2020-04-08 23:22:54 +02:00
Fabio Manganiello
b490344632
Fixed missing static_folder issue on settings page and JS document race condition
2020-03-29 13:47:22 +02:00
Fabio Manganiello
13c25f94d5
Better fix for the calendar widget font size
2020-03-24 17:23:48 +01:00