Commit graph

19 commits

Author SHA1 Message Date
Fabio Manganiello
cb0a9f5c63 Fixed logging level setting in pusher 2018-05-29 16:43:16 +00:00
Fabio Manganiello
a476de81a8 Fixed procedure execution code 2018-01-04 16:11:54 +01:00
Fabio Manganiello
20b07fb02f Made an HTTP backend, #27 2018-01-04 02:45:23 +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
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
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
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
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
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
4a04e51da7 Major refactoring #2 2017-12-18 01:10:51 +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
7a58add0ad #5 pusher script moved to its own module and entrypoint 2017-12-11 23:09:45 +01:00