Commit graph

3899 commits

Author SHA1 Message Date
Fabio Manganiello
b074e03d45 - Support for workdir
- Prepared draft for HttpPoll backend
2018-01-09 01:27:19 +01:00
Fabio Manganiello
411874c6a7 Fixed dependencies 2018-01-08 13:29:16 +01:00
Fabio Manganiello
ed28a2c3ec Include should occur only once in the file 2018-01-08 10:20:32 +01:00
Fabio Manganiello
7963b5e11f Support for include directive in config.yaml, #32 2018-01-08 10:08:55 +01:00
Fabio Manganiello
d6807bd85b Version bump 2018-01-08 02:43:46 +01:00
Fabio Manganiello
d4ef2bf59e Implemented for loops support in procedures, #44 2018-01-08 02:41:24 +01:00
Fabio Manganiello
252f503e4d Better management of the context and support for proper expression expansion from the context in the action execution through eval 2018-01-07 23:31:19 +01:00
Fabio Manganiello
2871583c75 Fixed events being triggered as priority even if they had no preset priority 2018-01-07 17:10:59 +01:00
Fabio Manganiello
bad5ff339f Latest push received in the last 5 seconds instead of 2 2018-01-07 13:18:01 +01:00
Fabio Manganiello
305dcfe530 Version bump 2018-01-07 02:49:43 +01:00
Fabio Manganiello
3c13625e63 Better logic for db inserts 2018-01-07 01:35:27 +00:00
Fabio Manganiello
694d7ca62d Support for PushBullet events on notifications, #36 2018-01-07 00:58:03 +01:00
Fabio Manganiello
1611fd878c For some reason extras_require does not like git links 2018-01-06 22:56:46 +01:00
Fabio Manganiello
ae8ba3fda1 Version bump 2018-01-06 22:53:08 +01:00
Fabio Manganiello
32dcb0c829 Added database plugin, #43 2018-01-06 22:52:24 +01:00
Fabio Manganiello
dfee3f5004 Recursively expand the context of a request over the nested arguments 2018-01-06 12:40:22 +01:00
Fabio Manganiello
6b31ed3b1a Added __init__.py 2018-01-06 11:10:55 +01:00
Fabio Manganiello
f83aedf0f1 Support for synchronous and asynchronous procedures 2018-01-06 00:21:25 +01:00
Fabio Manganiello
b98fe01352 Implemented sequential execution of tasks in procedures, response context parsing and procedure response returned on the bus as well, #37 2018-01-05 23:20:39 +01:00
Fabio Manganiello
b7854cb5dd Version bump 2018-01-05 20:10:18 +01:00
Fabio Manganiello
1df10bc97e Added HTTP requests plugin, #42 2018-01-05 20:00:15 +01:00
Fabio Manganiello
109805fd8d Don't stop the conversation on hook match if the hook match was a priority one 2018-01-05 10:09:02 +01:00
Fabio Manganiello
5461bf532c Copy the arguments before creating the action and re-create the action every time to make sure that the context is not polluted by previous executions 2018-01-04 23:10:53 +01:00
Fabio Manganiello
fa34b05c6c Priority-based algorithm for hooks, solves #41 2018-01-04 19:19:56 +01:00
Fabio Manganiello
325193e027 Flask is required by the tests too 2018-01-04 18:34:37 +01:00
Fabio Manganiello
caf78f4750 requests moved from setup.py to .travis.requirements 2018-01-04 18:32:50 +01:00
Fabio Manganiello
a27e6a4d57 requests is a required dependency for the tests 2018-01-04 18:30:28 +01:00
Fabio Manganiello
301c356c33 Replaced the local fifo test with a test for the HTTP backend 2018-01-04 18:29:03 +01:00
Fabio Manganiello
1581685f62 use_reloader=False on Flask to prevent the platypush daemon to be spawned twice 2018-01-04 17:34:25 +01:00
Fabio Manganiello
39f986a88d Fixed HTTP backend 2018-01-04 17:20:35 +01:00
Fabio Manganiello
a476de81a8 Fixed procedure execution code 2018-01-04 16:11:54 +01:00
Fabio Manganiello
6b58c96ebe Added __init__ in tests 2018-01-04 10:42:32 +01:00
Fabio Manganiello
679a53b620 Version bump 2018-01-04 02:46:23 +01:00
Fabio Manganiello
20b07fb02f Made an HTTP backend, #27 2018-01-04 02:45:23 +01:00
Fabio Manganiello
2743d46b1c s/all_requirements/requirements/ 2018-01-03 20:20:41 +01:00
Fabio Manganiello
c75348ea7e Made the README shorter after moving the most detailed parts to the Wiki as of #39 2018-01-03 15:20:54 +01:00
Fabio Manganiello
ee971ebace Updated README 2018-01-03 03:06:12 +01:00
Fabio Manganiello
4c62133378 Updated README 2018-01-03 02:23:25 +01:00
Fabio Manganiello
691a9c8593 Added test for the event/condition matching and parsing logic 2018-01-03 00:16:01 +01:00
Fabio Manganiello
2a192dacc1 References to Config static getters moved from the constructor declaration to the constructor body to prevent the default Config object to be initialized before the time and any config override to be ignored. This should also fix the tests, #33 2018-01-02 19:44:58 +01:00
Fabio Manganiello
9220b23471 Removed two unneeded rows 2018-01-02 19:34:41 +01:00
Fabio Manganiello
4a6accf483 s/push/send_request/g 2018-01-02 19:33:33 +01:00
Fabio Manganiello
f2e5ba1eef Fixed corner case on event match in case the named argument is the last token 2018-01-02 01:37:30 +01:00
Fabio Manganiello
44a64b8cac Version bump 2018-01-02 00:49:38 +01:00
Fabio Manganiello
760782f427 Added new files 2018-01-02 00:48:41 +01:00
Fabio Manganiello
5a92c0ac3b - Proper support for event arguments
- Better algorithm for event matching
- Added send_event support to pusher
2018-01-02 00:35:55 +01:00
Fabio Manganiello
08189653bb s/playlistload/load/ 2017-12-29 12:48:14 +01:00
Fabio Manganiello
b6733b3e6a Also start playback when adding a playlist 2017-12-29 12:44:49 +01:00
Fabio Manganiello
26c3afee68 Implemented play_or_stop in mpd 2017-12-28 13:13:09 +01:00
Fabio Manganiello
c830988e09 Added __init__ 2017-12-27 12:09:59 +01:00