Commit Graph

  • bbb15c2acc Add LICENSE master jody 2025-03-21 18:07:08 -0400
  • ce48972d6d Add demo URL to README jody 2025-03-21 18:01:53 -0400
  • 5fbcaa9f8c Add Dockerfile for reference, it's the same as the alertmonitor project. Jody 2023-10-05 14:13:51 -0400
  • e6d8df43c5 Replace old domain with new sub-domain jkaplon 2021-10-11 15:19:40 -0400
  • f6cb270324 Disable logging and email since Don turned off device (old change, forgot to commit) jkaplon 2021-10-11 15:13:28 -0400
  • d42c016507 Add some quick and dirty styling to button on admin.hbs template so text wraps on mobile browsers. jkaplon 2016-08-24 11:09:17 -0400
  • 5631fb216e Admin template working now to update status. Not sure why I had to resort to SetTimeout in order to refresh page after form submission, but nothing else worked. jkaplon 2016-08-23 19:00:46 -0400
  • 0277ae81ee admin template working; error on handling POST though. jkaplon 2016-08-23 17:08:23 -0400
  • 81bba63e1a Change hard-coded device id for TT location; remove bash script that's no longer used. jkaplon 2016-08-06 11:22:42 -0400
  • b748029383 Start admin template jkaplon 2016-08-06 11:17:45 -0400
  • a709d950c1 Always load banner image from domain root. jkaplon 2016-07-12 18:01:55 -0400
  • 6433d1a69d Login basically working, able to post to correct location's login handler. jkaplon 2016-07-12 11:09:48 -0400
  • abdc4084f6 Add packages and stub out admin page functionality; re-order routes for more predictable express behavior. jkaplon 2016-07-11 10:18:41 -0400
  • 01fdac5338 Add banner background image everywhere, rename index template to location. jkaplon 2016-07-07 08:29:57 -0400
  • 0dfb9b300f Finally remembered how to use Bootstrap grid to make home.hbs look right; use it as landing page for root URL. jkaplon 2016-07-03 11:37:29 -0400
  • 9cb8094694 Some progress on landing page template...I'm exhausted and don't understand Bootstrap layout or CSS at all! jkaplon 2016-07-02 14:47:00 -0400
  • 0245cd9fd1 New landing page template is improving, checking in new static assets and changes for favicon; favicon still not showing in chrome though. jkaplon 2016-07-02 10:00:38 -0400
  • 550ab5605b S#1tty first draft of home page template. jkaplon 2016-06-29 19:05:19 -0400
  • f4052e5bb0 Re-order routes so '/' doesn't take precendence over /home; this bug fix was highly non-obvious to me. jkaplon 2016-06-29 15:37:29 -0400
  • dac79d3562 Move /home route to be first and now it works???...must research this. jkaplon 2016-06-29 08:26:32 -0400
  • 06fcae38ef Try to load /home template for testing, but broken; can't even get a log entry generated for the route/endpoint. jkaplon 2016-06-29 08:16:21 -0400
  • c2c8624baa Add no-cache meta tags to default.hbs template; hoping to avoid issue I spotted where /tt and /tt/status were briefly showing different status values. jkaplon 2016-02-05 12:09:18 -0500
  • 840be38dcf Hard code coreid to device don plans to use at rec center. jkaplon 2016-02-05 10:19:53 -0500
  • 32f1d28eca Add done() calls to post handler so connection is returned to pool. Trying to fix 504 timeout errors from nginx. Initial testing looks good. jkaplon 2016-02-02 08:28:05 -0500
  • 522c83b1db Add content-type header and JSON.stringify to JSON responder. jkaplon 2016-01-13 18:44:33 -0500
  • 566dae354d Minimum functional handlers for /tt/ to return index.hbs and /tt/status/ to return JSON. jkaplon 2016-01-13 14:49:54 -0500
  • 6099fbd24a Remove remaining sqlite code; do all logging thru winston. jkaplon 2015-12-11 10:17:55 -0500
  • fd746d5523 Fix dead-man check, postgres returns a rowCount of 0, unlike sqlite which returns an undefined object if no rows returned. jkaplon 2015-12-10 12:54:47 -0500
  • 92adabcd47 Fix field names on index.hbs; removed rows w/NULL published_at values from DB (showed year=1969 on home page); update email code to be postgres-compliant. jkaplon 2015-12-10 12:37:05 -0500
  • 11b4c05830 Change over to PostgreSQL; I think it's all working, still need to test POST/INSERT. jkaplon 2015-12-09 22:48:31 -0500
  • 610dfd9cd6 Set max size for log files; move logs into folder; ignore logs folder. jkaplon 2015-12-09 13:44:33 -0500
  • 1a6f5d39c4 Correct gmail pw; fix undefined check if dead-man query returns 0 rows. jkaplon 2015-12-07 12:53:35 -0500
  • 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 :(. jkaplon 2015-11-29 22:25:09 -0500
  • e1c49bd4e8 Add winston for logging; ignore log files; setInterval still not working. jkaplon 2015-11-20 11:04:36 -0500
  • 23c269dc79 Add 204 response to POST request. jkaplon 2015-10-19 12:45:08 -0400
  • 5077b1436d Test curl data in format to be sent from cell modem now going into DB. jkaplon 2015-10-18 17:18:03 -0400
  • 31a7cc6517 Enable email setup, even though most email code still commented out; at least server still runs. jkaplon 2015-09-24 18:55:11 -0400
  • 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. jkaplon 2015-09-20 14:39:35 -0400
  • cf8a9cd6b2 Add 15min buffer to avoid false positives, got an alert email when allOk messages were 6hrs9min apart. jkaplon 2015-09-17 11:24:43 -0400
  • fed4ef6624 Clean up bash comments. jkaplon 2015-09-15 11:02:57 -0400
  • 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. jkaplon 2015-09-14 18:16:52 -0400
  • a3990d708f Fix qry for open/closed statuses, allOk msgs ignored, hard-code on 'Open' and 'Closed' apparently sqlite is case-sensitive by default. jkaplon 2015-09-12 12:30:14 -0400
  • df881fa389 Add refresh button to index.hbs, closes #14. jkaplon 2015-09-05 15:22:08 -0400
  • eb679b8898 Add js timer with 1min interval to refresh page, relates to issue #14. jkaplon 2015-09-03 11:34:47 -0400
  • e90141a070 Add visual cues suggested by Don. jkaplon 2015-08-28 13:08:36 -0400
  • 7c8c3c0189 Remove extra server endpoints, closes #13. jkaplon 2015-08-27 13:35:18 -0400
  • 81ed5d154f Remove un-needed templates; add color styles to status messages, closes #12. jkaplon 2015-08-27 13:31:17 -0400
  • ccfdce32b0 Convert UTC dates/times to local times. jkaplon 2015-08-25 17:32:05 -0400
  • f43d6a9d19 Basic GET listener at root in server.js; basic index.hbs template. jkaplon 2015-08-25 14:02:23 -0400
  • 5595dd474f Copied files from alertmon, replaced names where needed; runs but doesn't yet make sense for courtsopen project. jkaplon 2015-08-23 16:55:15 -0400
  • 5363542936 Add some real text to README. jkaplon 2015-08-20 14:47:05 -0400
  • 880f270825 Initial commit, add README. jkaplon 2015-08-20 14:45:16 -0400