70 Commits

Author SHA1 Message Date
2503756c60 fix: errorHandler handles internal errors and limit data
Only show data in development
2018-12-11 17:03:44 -08:00
68e828e2e5 Restructured tsconfig files 2018-12-11 17:03:44 -08:00
e6c3904701 Use prettier on everything 2018-12-11 17:03:44 -08:00
f1a9d11dcf Don't use through2 in prettyPrint 2018-12-11 17:03:44 -08:00
1b736b1446 Allow configuring log level from env 2018-12-11 17:03:44 -08:00
6895ee5d42 Use typescript project references 2018-12-11 17:03:44 -08:00
457a124874 Refactored out jwt token stuff 2018-12-11 17:02:58 -08:00
9296226036 Properly subscribe to and unsubscribe from devices 2018-12-11 17:02:58 -08:00
dbb314aaad Made mosquitto auth work 2018-12-11 17:02:58 -08:00
4f7a6202a4 Added support for registering devices 2018-12-11 17:02:58 -08:00
5267f77e8a Started adding mosquitto routes 2018-08-27 23:09:45 -06:00
942fded9d6 Fixed prettyPrint to pass through non-json lines 2018-08-25 12:22:10 -06:00
939540cd0e Updated dependencies; made own pretty formatter module 2018-08-19 19:53:30 -06:00
c8dd1df615 Use build in pino.pretty definitions 2018-08-19 19:31:36 -06:00
26e9b49499 Use npm @types/module-alias 2018-08-19 19:28:38 -06:00
a6876b54d8 Fixed lint and remaining compilation issues 2018-08-17 14:41:18 -06:00
f8a1dd0a8c Better handling of expired access tokens 2018-08-17 13:48:34 -06:00
e35f9bf0d9 Implemented a working devices list 2018-08-12 11:55:15 +03:00
187172e9e7 Token type improvement 2018-08-11 20:35:34 +03:00
b59fbb456b Fixed authentication and checking device authorization 2018-08-11 19:28:19 +03:00
ab0756d01e Nice refactoring and verification of api endpoints 2018-08-11 17:00:53 +03:00
4dd28098bf Cleanup and refactoring of authentication and server api 2018-08-10 16:09:23 +03:00
dd39980c74 Moved /app to /client 2018-08-07 21:21:26 +03:00
9be28477ed Added docker-compose support 2018-07-25 12:53:33 -06:00
120c719623 Many ui improvements; saving program updates works 2018-07-23 19:20:41 -06:00
411b2ff045 Migrated to using typeorm+postgres for database 2018-07-20 00:03:11 -06:00
7f7051658b Upped tsconfig target for server (becuase node 10 is good) 2018-07-13 00:49:14 -06:00
9aadf8e023 Started adding some device stuff for database 2018-07-13 00:04:59 -06:00
7ed3096b6f Improved error handling, and error display in login form 2018-07-08 14:02:05 -06:00
466cad7893 Improvements to error handling and authentication 2018-07-08 06:57:03 -06:00
853770a9e8 Actually comparing the password when granting a token is important 2018-07-02 15:25:35 -06:00
2baca5fdd0 Added login page and lots of related improvments 2018-07-02 15:22:59 -06:00
41ece40a84 added http api on client side for token grants 2018-07-01 02:00:17 -06:00
1acd60435f Better rpc error handling 2018-06-30 23:26:48 -06:00
a179d69241 Vastly cleaned up websocket data format, made it a lot more like json rpc 2018-06-30 21:18:41 -06:00
d6590c551d fixed warnings 2018-06-30 14:49:13 -06:00
a259f419fe cleaned stuffs up 2018-06-29 21:30:55 -06:00
63689e14ff Better connection state stuff 2018-06-29 18:16:06 -06:00
ad6306ad6e Added framework support for multiple devices 2018-06-29 14:48:42 -06:00
dbb5c37efe Some great token routes and stuff 2018-06-28 17:25:08 -06:00
94724879b6 Started experimenting with some auth stuff 2018-06-27 14:46:03 -06:00
321738a517 Added wildcard route for react router 2018-06-27 12:12:14 -06:00
d4164b9050 garbage 2018-06-27 00:59:58 -06:00
1a9c1f5cbc Improved error handling 2018-06-25 17:37:36 -06:00
d5b65d7a99 Refactored out websocket api and state stuff 2018-06-25 02:20:44 -06:00
7a46e9d8a3 Improved connection status display 2018-06-16 23:54:03 -06:00
fd7ccd596e Cleanup of server side state 2018-05-24 10:36:16 -06:00
a5979b2774 Updated dependencies 2018-04-12 17:27:42 -06:00
7846653297 Started UI improvements 2017-10-10 18:00:01 -06:00
8ea82950fa Made requests a lot better to match grinklers 2017-10-10 16:25:21 -06:00