Commit Graph

188 Commits (c0f579ef2c2df03b01c78978d1a0e52e590a5455)

Author SHA1 Message Date
esensar e9ebff8be6 Standardize all responses and requests
* Remove root object from requests
* Add "content" wrapper for all responses
2018-10-08 21:50:34 +02:00
Ensar Sarajcic db2371dcde Merged in bugfix/background-tasks (pull request #3)
Fix celery task runner and task import
2018-10-08 19:09:22 +00:00
esensar 04f3cb3045 Fix celery task runner and task import 2018-10-08 21:08:50 +02:00
Ensar Sarajcic 78128d4282 Merged in improvement/tasks (pull request #2)
Move tasks to owning domains
2018-10-07 19:59:54 +00:00
esensar 6f5374ec22 Move tasks to owning domains 2018-10-07 21:59:14 +02:00
Ensar Sarajcic 27fbe9d886 Merged in improvement/packages-setup (pull request #1)
Improvement/packages setup

Approved-by: Velid Aljic <velid.aljic@gmail.com>
2018-10-06 12:23:40 +00:00
esensar d52adf0f39 Restore server MQTT_CLIENT_ID 2018-10-06 14:22:49 +02:00
esensar 3c0644357b Add list of possible permissions 2018-10-06 14:18:12 +02:00
esensar f63137cb39 Remove code from api __init__.py into separate modules 2018-10-06 14:07:40 +02:00
esensar b83a6cf70e Move code from mqtt __init__.py into separate modules 2018-10-06 13:54:49 +02:00
esensar df874fee6c Move code from devices __init__.py into separate modules 2018-10-06 13:50:53 +02:00
esensar 723d1377a1 Remove code from dashboards __init__.py to separate modules 2018-10-06 13:46:32 +02:00
esensar f3a57cb2cd Remove code from accounts __init__ to separate modules 2018-10-06 13:38:27 +02:00
esensar dfd84644fb Clean up example values for swagger 2018-09-23 18:58:14 +02:00
esensar 8d05ed2a41 Update recording creation swagger doc 2018-09-23 18:44:32 +02:00
esensar 758b12621a Update get recordings swagger doc query parameters 2018-09-23 18:25:09 +02:00
esensar ca329643f1 Fix update_dashboard function 2018-09-23 15:29:15 +02:00
esensar 624f9c2b41 Fix dashboard PUT endpoint 2018-09-23 15:04:02 +02:00
esensar 7d26d9dc5a Fix dashboard creation swagger doc 2018-09-23 14:07:36 +02:00
esensar 6b76520cc7 Fix swagger roles issue 2018-09-23 13:56:41 +02:00
esensar bea29b4e42 Add decorator for role protection 2018-09-23 01:33:31 +02:00
esensar 562e2653c9 Add role management routes 2018-09-23 01:22:19 +02:00
esensar 3b09857dbc Add role update call 2018-09-22 19:01:50 +02:00
esensar 3e0218b0d8 Add optional filters for device recordings 2018-09-22 18:14:45 +02:00
esensar 15ffd04281 Fix swagger request info for create recording 2018-09-21 00:20:31 +02:00
esensar 5d9264cfbb Add create recording http endpoint 2018-09-21 00:16:01 +02:00
esensar 3beae5b0d5 Add celery task for config update 2018-09-20 22:21:50 +02:00
esensar d3a5854454 Fix manage.py 2018-09-20 22:08:44 +02:00
esensar 95c7027239 Add redis and celery support 2018-09-20 22:05:03 +02:00
esensar eea90a606f Protect dashboards from unauthorized access 2018-09-20 15:19:41 +02:00
esensar 6f3826f006 Protect devices from unauthorized access 2018-09-20 15:04:02 +02:00
esensar 6cee752f2b Add dashboards for users 2018-09-20 01:42:37 +02:00
esensar 86c1d6c587 Resolve dependency cycle for device config 2018-09-20 00:54:08 +02:00
esensar 2967e6ad6b Add mqtt notification when configuration changes 2018-09-20 00:50:26 +02:00
esensar 446778e445 Add configuration to device schema 2018-09-20 00:23:22 +02:00
esensar 3077e46dc5 Add device configuration route 2018-09-19 23:31:21 +02:00
esensar c14b3a8bed Add pagination and update swagger 2018-09-19 23:04:49 +02:00
esensar fefa8dbf77 Use SQLAlchemy 404 responses instead of errors 2018-09-19 22:51:57 +02:00
esensar b5170a7c64 Add ability to set device type when creating devices 2018-09-19 22:13:14 +02:00
esensar 7bc0dbb855 Expose device types to API 2018-09-18 00:51:26 +02:00
esensar 6d303e1d99 Add delete device route 2018-09-16 22:50:54 +02:00
esensar f56fb88b45 Fix swagger for get_devices_spec 2018-08-27 15:46:04 +02:00
esensar cb0e61c906 Add device account associations 2018-08-24 14:32:31 +02:00
esensar 1ae5d1a2b8 Wrap recording creation in an all catching wrapper 2018-05-29 18:22:20 +02:00
esensar 8cb0661eb6 Add token validation endpoint 2018-05-22 16:20:14 +02:00
esensar 44d5d67b40 Add simple cors config 2018-05-18 00:39:45 +02:00
esensar a006a6ac5f Separate mqtt client in a different package 2018-05-08 17:13:57 +02:00
esensar b85e90cfb4 Add basic device endpoints 2018-05-08 16:45:09 +02:00
esensar 004bdbd0f3 Add DAO methods for device models and add device_type to device 2018-05-08 12:58:14 +02:00
esensar b9fb4aa708 Add database models for devices 2018-05-08 10:52:49 +02:00