Commit graph

2201 commits

Author SHA1 Message Date
Fabio Manganiello
0ae233d092 Added header to the docs index 2018-07-09 22:56:05 +02:00
Fabio Manganiello
b94ec36d0f Added documentation to events 2018-07-09 22:38:08 +02:00
Fabio Manganiello
0288f7ee1b Propagate the token in procedures and event hooks to make sure that the inner requests can be executed 2018-07-09 14:51:20 +00:00
Fabio Manganiello
ab41b9d5f4 Refactored README 2018-07-09 01:18:43 +02:00
Fabio Manganiello
316fb34ec2 README new introduction; Changed wiki URL to https:// instead of git@ to prevent RTD build from failing when cloning submodule 2018-07-09 00:01:28 +02:00
Fabio Manganiello
b8afa7a5d1 Exclude git submodules in Travis configuration 2018-07-08 22:38:09 +02:00
Fabio Manganiello
5ce3203ae3 Added wiki submodule 2018-07-08 22:32:06 +02:00
Fabio Manganiello
c81534875a Get Redis object on each interaction in case the backend wasn't ready before 2018-07-08 22:12:30 +02:00
Fabio Manganiello
e1ead3c25f s/_token/token/ 2018-07-08 22:00:28 +02:00
Fabio Manganiello
2647bd3881 Implemented token verification over HTTP calls.
The token can be provided either:

* GET parameter (``?token=abc``)
* JSON payload request (``{..your_request.., "_token":"abc"})
* HTTP header (``X-Token: abc``)
* Basic HTTP auth (any username works, password: token)
2018-07-08 21:36:58 +02:00
Fabio Manganiello
4ebdda80f9 More robust support for Redis configuration in web socket server 2018-07-08 12:24:33 +02:00
Fabio Manganiello
b3d82bf43e Added Redis backend configuration to the test 2018-07-08 12:20:39 +02:00
Fabio Manganiello
b443df7947 Parametrized the HTTP backend Redis object by using the same configuration used on the Redis backend 2018-07-08 12:13:43 +02:00
Fabio Manganiello
88d9f9d3ac Stability fixes 2018-07-06 03:38:14 +02:00
Fabio Manganiello
85cdd8e5af Removed old Response reference 2018-07-06 03:35:47 +02:00
Fabio Manganiello
6cf0f39a03 Added call to parent constructor in db plugin 2018-07-06 03:03:09 +02:00
Fabio Manganiello
cfda6e019c Don't wrap events in a Response object twice 2018-07-06 02:55:36 +02:00
Fabio Manganiello
b8665b7fbb Added another @action decorator 2018-07-06 02:41:43 +02:00
Fabio Manganiello
c0b1b70e4e Added call to parent constructor in the remaining plugins 2018-07-06 02:37:47 +02:00
Fabio Manganiello
eb229a6fbe Added call to parent constructor in media.ctrl 2018-07-06 02:37:47 +02:00
Fabio Manganiello
d0e7b96ed4 Fixed missed self on some of the new constructors 2018-07-06 02:34:12 +02:00
Fabio Manganiello
a4c7b06e4c Forgot an @action annotation 2018-07-06 02:27:44 +02:00
Fabio Manganiello
b5fb6ecf93 Added call to parent constructor in lastfm plugin 2018-07-06 02:21:38 +02:00
Fabio Manganiello
66d78c8615 [#61] Plugins actions refactoring
- Using `@action` annotation to indicate methods that are allowed to be
executed as actions

- The output and errors of an action are automatically wrapped into a
`Response` object without any response build required on the plugin side
2018-07-06 02:08:38 +02:00
Fabio Manganiello
81a81312e3 Basic support for token authentication on request level 2018-07-05 09:15:53 +02:00
Fabio Manganiello
7ad0724f0e while True loop for recording 2018-07-01 19:35:23 +02:00
Fabio Manganiello
6ba71b52e7 Improved camera.pi logic 2018-06-29 11:25:18 +02:00
Fabio Manganiello
57baa0c64a Try to decode the message event if it's not a Platypush message 2018-06-29 11:09:28 +02:00
Fabio Manganiello
3872276234 Better way to handle plugins->backends communication through Redis 2018-06-29 10:21:19 +02:00
Fabio Manganiello
f3bdeaf418 Fixed Spotify URIs conversion 2018-06-27 08:56:25 +02:00
Fabio Manganiello
b55c070e46 Fixed missed dependencies for RTD build 2018-06-26 23:19:35 +02:00
Fabio Manganiello
d7a69ef6d8 Added switch.tplink plugin documentaiton 2018-06-26 23:04:46 +02:00
Fabio Manganiello
4163a414bf Caching switch.tplink devices and supporting lookup by alias 2018-06-26 22:59:33 +02:00
Fabio Manganiello
65f9610cce Added switch.tplink web widget 2018-06-26 22:14:11 +02:00
Fabio Manganiello
0f3895ad41 Added plugin to control a TP-Link HS100 and similar smart plugs/switches 2018-06-26 19:10:53 +02:00
Fabio Manganiello
a4d74fdeb8 typo 2018-06-26 01:22:02 +02:00
Fabio Manganiello
9158e9ae9e Included docs status badge on README 2018-06-26 01:21:04 +02:00
Fabio Manganiello
9a2176d0af Commented out /etc directory code in setup.py - the global configuration file is now discouraged and it also breaks RTD build 2018-06-26 01:12:16 +02:00
Fabio Manganiello
1179823e0d Commented out also pyscard 2018-06-26 01:08:52 +02:00
Fabio Manganiello
94ffaf2099 Commented out optional requirements that break RTD build 2018-06-26 01:06:23 +02:00
Fabio Manganiello
0e592ed134 Commented python-libtorrent in requirements.txt as it breaks readthedocs build 2018-06-26 01:01:41 +02:00
Fabio Manganiello
a64c0588f6 Added dateutil to required Travis dependencies 2018-06-26 00:59:39 +02:00
Fabio Manganiello
e6fdcaa068 Make sure that the Redis thread gets the stop event propagated when the application terminates 2018-06-26 00:57:26 +02:00
Fabio Manganiello
8e16f31603 fixed regex 2018-06-26 00:46:13 +02:00
Fabio Manganiello
7adebec01d Added readthedocs configuration 2018-06-26 00:44:52 +02:00
Fabio Manganiello
7398107570 Completed documentation for backends 2018-06-26 00:36:01 +02:00
Fabio Manganiello
8a0ca64e4d Merge branch 'master' into docs 2018-06-26 00:17:28 +02:00
Fabio Manganiello
28862d743d Adding backends documentation 2018-06-26 00:16:39 +02:00
Fabio Manganiello
0939cdedf8 Added utility to scan for messages on the ZeroBorg infrared sensor 2018-06-26 00:16:04 +02:00
Fabio Manganiello
85c7faf21b Merge branch 'master' into docs 2018-06-25 20:25:10 +02:00