Re-org and start of API #47

Merged
bmartin5692 merged 10 commits from wip_dev into master 2019-06-21 03:26:06 +02:00

10 commits

Author SHA1 Message Date
Brian Martin
2663c46d52 remove a few try
remove a few try
2019-06-20 21:05:36 -04:00
Brian Martin
9be1ba8321 restart_XMPP
restart_XMPPServer
2019-06-20 20:39:45 -04:00
Brian Martin
40d4af3f80 fixing the broken tests
leftover helperbot= in tests causing failures....
2019-06-20 08:59:15 -04:00
Brian Martin
7fc7cb80cb api - restart_{service}
add restart_{service}

- restart_Helperbot
- restart_MQTTServer

- Removed a few outstanding references to threads
2019-06-20 08:48:01 -04:00
Brian Martin
58b3567887 split models and db from init
Move models into their own file
Move db functions into their own file
Update tests
2019-06-19 09:29:45 -04:00
Brian Martin
76528d1500 fix tests during wip
- Comment out test_base until api stablizes
2019-06-19 08:10:11 -04:00
Brian Martin
d541234600 add devicealert as boterror
add devicealert as boterror
2019-06-19 07:52:39 -04:00
Brian Martin
b48905b4e4 catch bot errors in log
Close #10
- New boterror log
- Works for MQTT and XMPP
2019-06-19 07:29:12 -04:00
Brian Martin
4fe7f056f4 test api
testing api pulling from db
2019-06-18 20:21:01 -04:00
Brian Martin
f0c13dc8e2 db with open
switch to using with open
2019-06-18 20:18:54 -04:00