Commit Graph

2372 Commits

Author SHA1 Message Date
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
Fabio Manganiello d727b28acf Syntax error 2017-12-27 12:02:47 +01:00
Fabio Manganiello aa506b20e2 Should import logging 2017-12-27 11:29:33 +01:00
Fabio Manganiello ec6f1b1457 Prevent player loops in case of dbus errors 2017-12-27 11:27:06 +01:00
Fabio Manganiello 7c55848651 Forgot a couple of selfs 2017-12-27 11:01:07 +01:00
Fabio Manganiello c184356f67 Added __init__.py 2017-12-27 10:37:15 +01:00
Fabio Manganiello eff046f1d1 Added __init__.py 2017-12-27 10:30:33 +01:00
Fabio Manganiello 7d36e9e946 Version bump 2017-12-27 10:22:30 +01:00
Fabio Manganiello 92b691041e Added more general media control plugin, #10 2017-12-27 10:19:35 +01:00
Fabio Manganiello f59a69d86e Updated dependencies 2017-12-27 00:39:09 +01:00
Fabio Manganiello c201d725b7 Google Assistant plugin to programmatically start/stop conversation 2017-12-26 15:06:59 +01:00
Fabio Manganiello 720ab38673 Version bump 2017-12-25 17:27:08 +01:00
Fabio Manganiello 617c0f8a07 Added code for handling procedures - solves #1 2017-12-25 17:23:12 +01:00
Fabio Manganiello 6e019865bc Placed a sleep to let all the messages be received before stopping everything (TODO: make sure that all the threads are synchronized on receive_msg and stop 2017-12-25 17:23:12 +01:00
Fabio Manganiello 96f2d9f496 Removed old processor module 2017-12-24 20:41:38 +01:00
Fabio Manganiello 7f3a94dcaf Version bump 2017-12-24 13:21:11 +01:00
Fabio Manganiello 75410ead2d Added __init__.py 2017-12-24 13:20:00 +01:00
Fabio Manganiello 6928e440bc Support for Flic button events 2017-12-24 13:15:37 +01:00
Fabio Manganiello 18830232a4 Don't trigger the default Assistant response if the phrase matched an internal rule. Also, backends should be easily accessible through a context module (more context variables will be added there) 2017-12-24 02:35:49 +01:00
Fabio Manganiello 939744314e Updated sample config 2017-12-24 01:33:06 +01:00
Fabio Manganiello 7b97a5b229 - #30 Implemented Google Assistant backend
- #21 Implemented events management
2017-12-24 01:10:48 +01:00
Fabio Manganiello 16dabd7575 Pass n_tries to Request.execute 2017-12-22 18:11:42 +01:00
Fabio Manganiello f04d0bd24f Don't send responses in case of errors within the retry mechanism 2017-12-22 18:09:11 +01:00
Fabio Manganiello ac3dad5fd9 Changed design for run_request - it should be a method of Request, not a member of Daemon 2017-12-22 18:04:18 +01:00
Fabio Manganiello 1ea8badd59 Assistant v.0.1 2017-12-22 10:43:43 +01:00
Fabio Manganiello 3a9afd1fed import error 2017-12-22 10:21:31 +01:00
Fabio Manganiello 017c53fb50 Added Google Assistant draft backend 2017-12-22 10:18:04 +01:00
Fabio Manganiello 766f1c62e4 Fixed comparison for none 2017-12-22 09:53:58 +01:00