Fabio Manganiello
0288f7ee1b
Propagate the token in procedures and event hooks to make sure that the inner requests can be executed
2018-07-09 14:51:20 +00:00
Fabio Manganiello
2647bd3881
Implemented token verification over HTTP calls.
...
The token can be provided either:
* GET parameter (``?token=abc``)
* JSON payload request (``{..your_request.., "_token":"abc"})
* HTTP header (``X-Token: abc``)
* Basic HTTP auth (any username works, password: token)
2018-07-08 21:36:58 +02:00
Fabio Manganiello
66d78c8615
[ #61 ] Plugins actions refactoring
...
- Using `@action` annotation to indicate methods that are allowed to be
executed as actions
- The output and errors of an action are automatically wrapped into a
`Response` object without any response build required on the plugin side
2018-07-06 02:08:38 +02:00
Fabio Manganiello
4da74b1096
Refactored logging submodule
2018-06-06 20:09:23 +02:00
Fabio Manganiello
72af7adb46
#51 first web panel iteration
2018-01-29 13:47:21 +01:00
Fabio Manganiello
ac15e581ce
Added last.fm scrobbler plugin, solves #21
2018-01-15 02:40:22 +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
dfee3f5004
Recursively expand the context of a request over the nested arguments
2018-01-06 12:40:22 +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
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
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
96f2d9f496
Removed old processor module
2017-12-24 20:41:38 +01:00
Fabio Manganiello
6928e440bc
Support for Flic button events
2017-12-24 13:15:37 +01:00
Fabio Manganiello
7b97a5b229
- #30 Implemented Google Assistant backend
...
- #21 Implemented events management
2017-12-24 01:10:48 +01:00