Commit Graph
34 Commits
Author SHA1 Message Date
Paulus Schoutsen 3641d2ca24 EventBus is now Bus that handles Events and Services 2013-11-19 23:48:08 -08:00
Paulus Schoutsen ead057cb04 Added shutdown event 2013-11-11 14:58:57 -08:00
Paulus Schoutsen 483546a31d Code according to PEP8 standard 2013-11-10 16:46:48 -08:00
Paulus Schoutsen 860812fa19 Cosmetic adjustments 2013-11-10 09:31:34 -08:00
Paulus Schoutsen 2f65751087 Fix: Event types with periods cannot be fired using API 2013-11-09 14:23:50 -08:00
Paulus Schoutsen 94752f663e Added styling to the debug interface 2013-11-07 23:33:04 -08:00
Paulus Schoutsen 5f4e9d33e0 Return of the fire event and change state forms in debug interface 2013-11-04 20:16:27 -05:00
Paulus Schoutsen 3499814f7f Added static file handler and cleaned up API code 2013-11-04 18:18:39 -05:00
Paulus Schoutsen a60f6754aa EventBus can now report overview of events that have listeners. 2013-11-01 12:28:18 -07:00
Paulus Schoutsen 63a1dfc64f HTTP login form goes to original requested page 2013-11-01 11:38:50 -07:00
Paulus Schoutsen 92f0cb20ff Made API more robust 2013-11-01 11:34:43 -07:00
Paulus Schoutsen f9d712d175 API updated to be RESTful 2013-10-29 00:22:38 -07:00
Paulus Schoutsen 102690a770 last_changed value of State is now a string so it can be send over the API 2013-10-28 18:45:35 -07:00
Paulus Schoutsen 83d878810e Events and States will now only use JSON serializable attributes 2013-10-27 17:39:54 -07:00
Paulus Schoutsen 867966234f Added remote EventBus and StateMachine classes 2013-10-25 11:05:58 +01:00
Paulus Schoutsen 66d432d0a2 StateMachine now supports attributes for states 2013-10-24 07:57:08 +01:00
Paulus Schoutsen 00c9d22a58 Added listen_once to eventbus 2013-10-24 00:29:33 +01:00
Paulus Schoutsen 42c7f33567 Cleaned up API statemachine 2013-10-24 00:08:28 +01:00
Paulus Schoutsen 7dfbff31f5 Better formatting of events in debug interface 2013-10-13 09:59:13 -07:00
Paulus Schoutsen 785e17e1e6 Made a few dependencies optional and removed others. 2013-10-13 09:40:38 -07:00
Paulus Schoutsen b9212514bd Converted Timer and HTTP Interface threads to daemons for cleaner shutdown. 2013-10-08 19:00:10 -07:00
Paulus Schoutsen 71bd03ed8c Cleaned up the core. 2013-10-08 18:50:30 -07:00
Paulus Schoutsen 32b357f5e1 PyLint is a lot happier about the code now. 2013-10-07 23:55:19 -07:00
Paulus Schoutsen cb4fce7691 Added title HTML tags to the debug interface 2013-10-05 14:22:46 -07:00
Paulus Schoutsen 5c5fe5051b Now possible to set multiple states through one API call. 2013-10-05 12:28:18 -07:00
Paulus Schoutsen 645513b6ae Changed default API listen port to a less common one. 2013-10-04 21:12:26 -07:00
Paulus Schoutsen 065174db7a Unnecessary check removed from httpinterface 2013-09-30 22:00:49 -07:00
Paulus Schoutsen ef1dbac124 HTTPInterface will catch all Requests exceptions now when shutting down. 2013-09-30 18:32:44 -07:00
Paulus Schoutsen a491df761f Integrated core.py into module-init 2013-09-30 00:20:27 -07:00
Paulus Schoutsen a75f396242 HTTP interface won't check for api password on non existing path's anymore but throw 404. 2013-09-29 23:47:53 -07:00
Paulus Schoutsen c7e36e4fc1 Catching at the wrong timeout exception 2013-09-29 15:54:54 -07:00
Paulus Schoutsen 1988b5ed79 Sometimes the HTTP interface wouldn't manage to shut its threads down. 2013-09-28 14:55:03 -07:00
Paulus Schoutsen 8ac8700154 Added API 2013-09-28 11:09:36 -07:00
Paulus Schoutsen 85f3f080be Rename HttpInterface.py to httpinterface.py 2013-09-24 18:41:02 -07:00