Commit Graph

2490 Commits

Author SHA1 Message Date
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
Fabio Manganiello 7a0295675c #20 Added TTS plugin 2017-12-22 03:14:19 +01:00
Fabio Manganiello 2ec7a0bbda Added travis-ci status to README.md 2017-12-22 03:00:05 +01:00
Fabio Manganiello 6dcec9f9b4 - Version bump
- Only Python 3.6 on Travis
2017-12-22 02:57:44 +01:00
Fabio Manganiello 97adb1a191 * Better documentation for the local backend
* Remove the fifos at the beginning of the test
2017-12-22 02:52:56 +01:00
Fabio Manganiello bdf964531f - Documented the test
- Removed Python 3.4 support in Travis
2017-12-22 02:40:06 +01:00
Fabio Manganiello a26466a4bf Added config.yaml for tests 2017-12-22 02:20:28 +01:00
Fabio Manganiello b4ae3de7bd Script name change 2017-12-22 02:18:12 +01:00
Fabio Manganiello 8f64c0b8d4 Added travis-ci files 2017-12-22 02:14:45 +01:00
Fabio Manganiello 3dfcf0ec97 Added tests 2017-12-22 02:11:56 +01:00
Fabio Manganiello 4b819d5460 Another major refactoring. Among the other things, reintroduced local backend, made requests and responses working in every case, and properly handling stop events 2017-12-22 00:49:03 +01:00
Fabio Manganiello 7e79fa0418 Support for custom message handlers on the listener 2017-12-20 22:12:32 +01:00
Fabio Manganiello bd5c80175f - Major refactoring.
- More consistent naming for many methods, plus added a more extensive doc.

- Refactored the entry points for the daemon and the pusher into two
  classes, easier to encapsulate and wrap into tests.

- Removed the local backend - managing the concurrency of two processes
  reading and writing on the same socket at the same time was too much,
  and its utility outside of the tests (which can have mock backends as
  well) is quite modest.

- Managing stop events on the bus. Still some work to do tho.

- Fixed several bugs.
2017-12-20 20:25:08 +01:00
Fabio Manganiello 84e36a13e9 Force exit on pusher response timeout 2017-12-18 22:58:31 +01:00
Fabio Manganiello 8ea943ffe1 Version bump 2017-12-18 22:45:55 +01:00
Fabio Manganiello 86f339cbee Printing response on pusher 2017-12-18 22:45:03 +01:00
Fabio Manganiello 21381e7c0f [#23] Request/Response ID chaining fixes
[#17] Response wait and response timeout implementation on pusher side
2017-12-18 22:40:56 +01:00
Fabio Manganiello 08f7fce028 exit all the threads on termination 2017-12-18 03:23:18 +01:00
Fabio Manganiello 18a5902ac4 Locking requests and responses with ids 2017-12-18 03:09:38 +01:00
Fabio Manganiello 97b6fab376 Updated README 2017-12-18 01:53:32 +01:00
Fabio Manganiello 93be9e3912 Fixed plugin name 2017-12-18 01:25:30 +01:00
Fabio Manganiello 4a04e51da7 Major refactoring #2 2017-12-18 01:10:51 +01:00
Fabio Manganiello 546ea1b9b9 Removed unneeded imports 2017-12-17 16:52:22 +01:00
Fabio Manganiello 1a6d726b19 Passing arguments to the plugin 2017-12-17 16:41:52 +01:00
Fabio Manganiello 339e7b73a5 Major refactoring.
Solves, among the others, #2, #18 and #22
2017-12-17 16:15:44 +01:00
Fabio Manganiello cb423dab03 Removed short circuit on the response 2017-12-16 07:01:25 +01:00
Fabio Manganiello 6c7c08f7aa Version bump 2017-12-16 05:00:29 +01:00
Fabio Manganiello 8c89a10710 Simplified backend interface, fixed some bugs with response management 2017-12-16 04:56:43 +01:00
Fabio Manganiello 97f2733308 Fixed mpd package name 2017-12-16 02:27:51 +01:00
Fabio Manganiello ea3eef379a No reference to self in static method 2017-12-14 01:58:42 +01:00
Fabio Manganiello ee5b8e21a0 * If we get a push tickle on PushBullet, get that latest push
* Fixed device_id attribute name clash
2017-12-13 23:55:38 +01:00
Fabio Manganiello dfb4620e0a Added __init__.py 2017-12-13 04:24:59 +01:00
Fabio Manganiello 33c4d9fb52 s/platypush.response/platypush.message.response/g 2017-12-13 04:21:26 +01:00