Commit graph

63 commits

Author SHA1 Message Date
Fabio Manganiello
eec20ee109 Missed cast to str upon pidfile write 2018-12-19 21:24:39 +01:00
Fabio Manganiello
fb75dc323e Added pidfile option to the main 2018-12-19 21:15:06 +01:00
Fabio Manganiello
01f020c203 Version bump 0.9.2 -> 0.9.3 2018-12-19 02:08:57 +01:00
Fabio Manganiello
13463420d9 Made Redis bus/local bus choice more flexible 2018-12-18 12:21:55 +01:00
Fabio Manganiello
f6dcd00848 Version bump 0.9.1 -> 0.9.2 2018-12-01 19:44:41 +01:00
Fabio Manganiello
475f6d3f6f Version bump 0.9 -> 0.9.1 2018-10-15 22:12:30 +02:00
Fabio Manganiello
948f3dc37d Implemented timestamp mark on messages to trigger message expiration logic in case something stays on the bus for longer than a minute 2018-10-08 10:35:59 +00:00
Fabio Manganiello
d215410a6a More consistent flow for messages received by a backend 2018-09-24 23:13:44 +02:00
Fabio Manganiello
a4f075a4c1 Added support for ApplicationStartedEvent and ApplicationStoppedEvent 2018-09-24 09:18:46 +00:00
Fabio Manganiello
6449504e26 Switched the bus to a Redis bus 2018-09-20 10:49:57 +00:00
Fabio Manganiello
661563d1f1 Added Redis bus 2018-09-20 09:41:27 +02:00
Fabio Manganiello
ec38ecbaf3 More pylint fixes 2018-07-30 23:18:01 +02:00
Fabio Manganiello
81803a364d Fixed some pylint warnings 2018-07-30 22:08:06 +02:00
Fabio Manganiello
a0ac30e9b6 Version bump 0.8 -> 0.9 2018-07-29 14:35:52 +02:00
Fabio Manganiello
81a81312e3 Basic support for token authentication on request level 2018-07-05 09:15:53 +02:00
Fabio Manganiello
4da74b1096 Refactored logging submodule 2018-06-06 20:09:23 +02:00
Fabio Manganiello
0878e5a3d1 Time to give Platypush a version bump 2018-05-13 14:32:25 +02:00
Fabio Manganiello
82200bb150 Better logging management, solves #26 2018-04-14 01:00:00 +02:00
Fabio Manganiello
e007d26896 Version bump 2018-01-29 16:34:52 +01:00
Fabio Manganiello
a87b6cfaf0 Version bump 2018-01-27 04:37:34 +01:00
Fabio Manganiello
d629fc897f Start the cron scheduler only if there are crons configured 2018-01-15 22:53:48 +01:00
Fabio Manganiello
a16d92ae8e Version bump 2018-01-15 22:46:41 +01:00
Fabio Manganiello
14b511034f Support for cron actions, solves #47 2018-01-15 22:37:01 +01:00
Fabio Manganiello
0e6de85b8d Added pylast to the optional dependencies;
Version bump.
2018-01-15 02:41:54 +01:00
Fabio Manganiello
d6807bd85b Version bump 2018-01-08 02:43:46 +01:00
Fabio Manganiello
305dcfe530 Version bump 2018-01-07 02:49:43 +01:00
Fabio Manganiello
ae8ba3fda1 Version bump 2018-01-06 22:53:08 +01:00
Fabio Manganiello
f83aedf0f1 Support for synchronous and asynchronous procedures 2018-01-06 00:21:25 +01:00
Fabio Manganiello
b7854cb5dd Version bump 2018-01-05 20:10:18 +01:00
Fabio Manganiello
a476de81a8 Fixed procedure execution code 2018-01-04 16:11:54 +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
44a64b8cac Version bump 2018-01-02 00:49:38 +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
7d36e9e946 Version bump 2017-12-27 10:22:30 +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
7f3a94dcaf Version bump 2017-12-24 13:21:11 +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
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
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
766f1c62e4 Fixed comparison for none 2017-12-22 09:53:58 +01:00
Fabio Manganiello
6dcec9f9b4 - Version bump
- Only Python 3.6 on Travis
2017-12-22 02:57:44 +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
8ea943ffe1 Version bump 2017-12-18 22:45:55 +01:00