Commit Graph

158 Commits (e8e19d95032279ef47dccedba29f939d460e1dd8)

Author SHA1 Message Date
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
esensar 145ca339c9 Add get account fake endpoint 2018-05-08 10:52:36 +02:00
esensar f506e3dfaa Add token validation logic and protected routes 2018-05-07 17:17:19 +02:00
esensar 6c856965a1 Add swagger documentation 2018-05-07 16:13:07 +02:00
esensar d5d2c4d8c8 Upgrade to Flask 1.0 2018-05-07 14:10:20 +02:00
esensar 55caf167c9 Use marshmallow and webargs for parsing and marshaling 2018-05-07 13:57:53 +02:00
esensar 8d151ba8c3 Restfulify account creation and login 2018-05-06 21:42:21 +02:00
esensar a92549b5a1 Update requirements with crypt 2018-05-04 15:47:34 +02:00
esensar 0a0f18fd66 Add login endpoint 2018-05-04 15:44:17 +02:00
esensar 7558ab4737 Force gunicorn to preload to prevent multiple mqtt subscriptions 2018-05-04 10:21:56 +02:00
esensar 50d67fd521 Make MqttClient a singleton 2018-05-04 08:35:26 +02:00
esensar 4dbba2b44c Encapsulate Mqtt client in a class 2018-05-03 22:30:34 +02:00
esensar 41394f2c2d Leave only upgrade task in release-tasks 2018-05-03 21:03:22 +02:00
esensar 6c7d0a5de6 Add release-tasks script for setting up database 2018-05-03 21:00:48 +02:00
esensar 05f4abea3c Connect to hivemq broker for testing 2018-05-03 20:56:48 +02:00
esensar f4e2ace7b0 Make config loading silent 2018-05-03 20:55:16 +02:00
esensar e7b24a3e75 Add Procfile for heroku 2018-05-03 20:50:51 +02:00
esensar 23303bdb3f Change response to JSON 2018-05-03 17:01:32 +02:00
esensar 2f9fac3540 Add simple registration 2018-05-03 16:58:44 +02:00
esensar 40f5e4f546 Add roles in migration 2018-05-03 16:40:30 +02:00
esensar 066b6a5fd3 Add email field to account 2018-05-03 15:28:57 +02:00
esensar e188141a2a Clean up imports and bad code 2018-05-03 14:23:24 +02:00
esensar 9615a07e49 Add account and role db models 2018-05-03 09:48:24 +02:00
esensar 1dea242bce Connect MQTT client to database and implement basic JSON parsing 2018-05-02 21:05:30 +02:00
esensar d82d46109b Merge branch 'master' of github.com:esensar/university-final-iot-backend 2018-05-02 18:59:13 +02:00
Ensar Sarajčić 693fe141ba
Create README.md 2018-05-02 18:59:01 +02:00
esensar dcddb07e11 Update Recording model to use proper timestamps 2018-04-27 16:06:16 +02:00
esensar eeba793162 Separate mqtt client in a module 2018-04-27 11:15:44 +02:00
esensar d8d06c2a87 Add simple recordings table 2018-04-27 10:47:24 +02:00
esensar 5018fc10e2 Make devices module export a blueprint for better modularity 2018-04-26 16:45:28 +02:00
esensar 45e63255eb Add requirements.txt 2018-04-26 16:11:32 +02:00