Commit Graph

22 Commits

Author SHA1 Message Date
610dfd9cd6 Set max size for log files; move logs into folder; ignore logs folder. 2015-12-09 13:44:33 -05:00
1a6f5d39c4 Correct gmail pw; fix undefined check if dead-man query returns 0 rows. 2015-12-07 12:53:35 -05:00
a277177fb5 Fix setInterval timer function to send email if no messages received from device for given time threshold; this was really a bug with switching to the winston logging package; winston was needed since console.log not available outside of docker container; I was naively logging to the debug level which is below the level logged by winston by default :(. 2015-11-29 22:25:09 -05:00
e1c49bd4e8 Add winston for logging; ignore log files; setInterval still not working. 2015-11-20 11:04:36 -05:00
23c269dc79 Add 204 response to POST request. 2015-10-19 12:45:08 -04:00
5077b1436d Test curl data in format to be sent from cell modem now going into DB. 2015-10-18 17:18:03 -04:00
31a7cc6517 Enable email setup, even though most email code still commented out; at least server still runs. 2015-09-24 18:55:11 -04:00
17a701ea5f Fix Check Again button in Firefox (but found by Don); apparently window.history.go(0) doesn't behave the same in chrome and FF. 2015-09-20 14:39:35 -04:00
cf8a9cd6b2 Add 15min buffer to avoid false positives, got an alert email when allOk messages were 6hrs9min apart. 2015-09-17 11:24:43 -04:00
fed4ef6624 Clean up bash comments. 2015-09-15 11:02:57 -04:00
a160499506 Add bash script to be called by cron to send alert when it's been more than 6hrs since last POST from device. Still need comments in script, and to figure out how to get cron sending external emails. 2015-09-14 18:16:52 -04:00
a3990d708f Fix qry for open/closed statuses, allOk msgs ignored, hard-code on 'Open' and 'Closed' apparently sqlite is case-sensitive by default. 2015-09-12 12:30:14 -04:00
df881fa389 Add refresh button to index.hbs, closes #14. 2015-09-05 15:22:08 -04:00
eb679b8898 Add js timer with 1min interval to refresh page, relates to issue #14. 2015-09-03 11:34:47 -04:00
e90141a070 Add visual cues suggested by Don. 2015-08-28 13:08:36 -04:00
7c8c3c0189 Remove extra server endpoints, closes #13. 2015-08-27 13:35:18 -04:00
81ed5d154f Remove un-needed templates; add color styles to status messages, closes #12. 2015-08-27 13:31:17 -04:00
ccfdce32b0 Convert UTC dates/times to local times. 2015-08-25 17:32:05 -04:00
f43d6a9d19 Basic GET listener at root in server.js; basic index.hbs template. 2015-08-25 14:02:23 -04:00
5595dd474f Copied files from alertmon, replaced names where needed; runs but doesn't yet make sense for courtsopen project. 2015-08-23 16:55:15 -04:00
5363542936 Add some real text to README. 2015-08-20 14:47:05 -04:00
880f270825 Initial commit, add README. 2015-08-20 14:45:16 -04:00