100 Commits
Author SHA1 Message Date
Jason CalabreseandJason Calabrese 6080f67816 more cherry-picking and porting of the profile api/storage from iob-cob 2015-02-25 22:59:42 -08:00
Jason CalabreseandJason Calabrese 7653ef5b20 no POSTs yet 2015-02-25 22:46:54 -08:00
Jason CalabreseandJason Calabrese ea1dbccdb8 forgot to git add some profile api files 2015-02-25 22:45:53 -08:00
Jason Calabrese 55e3451184 support for 3-way raw display: never, always, and only when there is noise (default) 2015-02-01 19:26:58 -08:00
Jason Calabrese 42d1636c37 support for new 3-way raw options; lots of reformatting to match client.js 2015-02-01 19:25:58 -08:00
Jason Calabrese 333125039f use cleaner should.not.exist syntax 2015-01-31 15:11:44 -08:00
Jason Calabrese 30ee5f79f7 more status tests 2015-01-31 11:20:12 -08:00
Jason Calabrese a689039fed tests for the /pebble endpoint 2015-01-31 10:43:03 -08:00
Jason Calabrese 9c1018490a clean up 2015-01-31 10:42:41 -08:00
Jason Calabrese 1c723b364e simple test to make sure the /status.json endpoint handles the enable options correctly 2015-01-31 09:49:47 -08:00
Jason Calabrese 60ef5bd0f0 fixed bg delta bug, and added support for optional count param that can be used to get more data 2015-01-30 18:13:44 -08:00
Jason Calabrese 0828424fa6 refactoring how error codes are sent and displayed 2015-01-30 17:45:35 -08:00
Jason Calabrese f2509cc82b added noise data when rawbg is enabled 2015-01-30 17:44:50 -08:00
Jason Calabrese b267ee86e3 fixed retro error code bug that showed LOW incorrectly 2015-01-29 23:59:31 -08:00
Jason Calabrese 3daa7d9857 inital support for send raw bg data with /pebble 2015-01-29 23:24:53 -08:00
Jason Calabrese 30f56f5cc9 added new enable option to README 2015-01-29 23:04:03 -08:00
Jason Calabrese beba8b0379 fixed typo 2015-01-29 22:59:52 -08:00
Jason Calabrese ccd917aee5 only show raw bg if enabled 2015-01-29 22:56:20 -08:00
Jason Calabrese e7440425ac initial port from iob-cob branch 2015-01-29 21:42:46 -08:00
Jason Calabrese 8a635e7b76 Merge branch 'release/0.6.2' 2015-01-28 09:56:02 -08:00
Jason Calabrese 0eef982f78 version bump 2015-01-27 23:53:50 -08:00
Jason Calabrese 327c302851 fix for nightmode 2015-01-27 22:48:06 -08:00
Jason Calabrese 10ea182315 fixed coverage badge 2015-01-27 20:11:58 -08:00
Jason Calabrese 6fd72049de fixed minor typos 2015-01-26 17:18:54 -08:00
Jason Calabrese 7952bec1ce version bump 2015-01-24 14:02:40 -08:00
Jason Calabrese fa057c8fa3 Merge branch 'dev' into wip/iphone6-portrait 2015-01-24 13:25:47 -08:00
Jason Calabrese 4a6339a54e Merge branch 'dev' into wip/context-mbg-fix 2015-01-24 13:25:21 -08:00
Jason Calabrese 4f92b01476 Merge branch 'dev' into wip/alarm-types-update 2015-01-24 13:25:09 -08:00
Jason Calabrese a98bd14f36 refactoring to remove duplicate setting of attr's 2015-01-22 23:50:33 -08:00
Jason Calabrese 33fa53ab30 fixed bug that caused mbg outlines to collect at the far right of the context area 2015-01-22 23:19:21 -08:00
Jason Calabrese dae7388f6f formatting fix 2015-01-21 18:28:52 -08:00
Jason Calabrese 1aa95e227e only show the alarm threshold value in the alarm setting when simple mode is enabled 2015-01-21 18:23:11 -08:00
Jason Calabrese 7726194fe3 removed tooltip on time ago for now, with consider adding something similar later 2015-01-18 14:45:34 -08:00
Jason Calabrese 10c3a418cf setTimeout was calling the wrong function, that caused the double tooltip bug and much worse broke scolling the first time setTimeout called the wrong function 2015-01-16 00:48:51 -08:00
Jason Calabrese 35ee0200cc update clock clientside only; calculate time ago on each minute; display tooltip with last update/data times 2015-01-15 23:55:56 -08:00
Jason Calabrese 17a5eaf2f0 use a single static tooltip element instead of creating 1 in init
fixes bug where you can get a double/stuck tooltip
2015-01-15 23:53:56 -08:00
Jason Calabrese f3981e5d92 stop emitting 'now' message to clients; log when data isn't being sent since it's not different 2015-01-15 23:52:07 -08:00
Jason Calabrese 649ecba086 Merge branch 'release/0.6.0' 2015-01-13 18:38:12 -08:00
Jason Calabrese 0d44f0a81e adjusted alarms sounds for double up and urgent high 2015-01-12 10:17:33 -08:00
Jason Calabrese 4c1df57d5a Merge branch 'dev' of github.com:nightscout/cgm-remote-monitor into wip/push-notify 2015-01-12 10:12:23 -08:00
Jason Calabrese 874c48ff74 fixed some typo's thanks @jimsiff 2015-01-12 00:01:47 -08:00
Jason Calabrese 841b4f1e03 adjust break point to better support display on iphone6+ in portrait mode 2015-01-11 20:23:44 -08:00
Jason Calabrese 3a27b7fc23 make sure all alarms are cleared
fixes bug where only the first alarm was clear but both urgent and warning were playing
2015-01-11 20:17:50 -08:00
Jason Calabrese 74a2bbe0ed use bullets instead of tables for better display on smaller screens; reordered to required, features/labs, core 2015-01-11 19:54:18 -08:00
Jason Calabrese 6d2c2a11bb moved core env up; fixed some formatting 2015-01-11 15:30:37 -08:00
Jason Calabrese 6f4d6ab3cc fix typo 2015-01-11 14:54:40 -08:00
Jason Calabrese b9af56809b corrected default for MONGO_TREATMENTS_COLLECTION, thanks @jjmason 2015-01-11 14:01:46 -08:00
Jason Calabrese 35768b5736 update readme to include all the env var's that are used to configure the server 2015-01-11 13:50:43 -08:00
Jason Calabrese bf0b852646 removed extra setInterval for emitData that was needlessly doubling that amount of data we send to the client 2015-01-09 22:09:42 -08:00
Jason Calabrese c23982364d only emit clear_alarm when one was already emitted and some logging 2015-01-09 22:07:24 -08:00
Jason Calabrese d5a2998692 auto ack alarms when going back into range or when the a cgm error corrects 2015-01-09 08:17:38 -08:00
Jason Calabrese 75db85921e don't scale treatment BG's for now since
they are entered in the display units, but not converted when posting
2015-01-07 18:10:23 -08:00
Jason Calabrese 8c0c0c8ae2 a little clean up 2015-01-07 17:26:19 -08:00
Jason Calabrese 7158fcb232 Merge branch 'dev' of github.com:nightscout/cgm-remote-monitor into wip/push-notify 2015-01-06 00:22:28 -08:00
Jason Calabrese 764f4d0d58 version bump; assign copyright to The Nightscout Foundation; update/correct links/readme 2015-01-06 00:20:10 -08:00
Jason Calabrese bfcbda86c0 corrected some issues found in code review; improved use of media queries for a couple of edge cases 2015-01-04 22:51:30 -08:00
Jason Calabrese 53d49974fd Nightscout NOT NightScout 2014-12-27 00:06:13 -08:00
Jason Calabrese ac2f6a4cd8 draw non-insulin/carbs treatment circles on the trendline too, if there's glucose make it look similar to a calibration 2014-12-26 23:27:46 -08:00
Jason Calabrese 38f755e82f move the context NOW line when scrolling 2014-12-23 17:07:02 -08:00
Jason Calabrese de7ddfa8b9 added some text-shadow for carb/insulin amount to make them easier to read when overlaping other elements 2014-12-23 10:40:13 -08:00
Jason Calabrese eb3c63fe33 adjust the radius of the focus dots on transistion also (for rotate, etc) 2014-12-23 10:00:18 -08:00
Jason Calabrese ae535ed053 adjust size of focus dots based on screen size 2014-12-22 08:52:52 -08:00
Jason Calabrese 59635348ca added some validation and warnings when BG thresholds aren't stacked the expected way 2014-12-22 08:30:47 -08:00
Jason Calabrese fd9f02cae6 calc BG based on time of treatment, if it's not set; draw outlines for empty carb/insulin hemispheres 2014-12-21 18:47:07 -08:00
Jason Calabrese bf87678bfa now using an updated version of @rnpenguin and @ldesboro treatment rendering 2014-12-21 15:31:29 -08:00
Jason Calabrese e9f1fb1bf4 added tooltip for SGVs and MBGs in the focus area; different color outline for ShugaTrak 2014-12-21 11:44:00 -08:00
Jason Calabrese aacd65eb10 Merge branch 'wip/jingle-bells' of github.com:nightscout/cgm-remote-monitor into wip/push-notify 2014-12-20 11:23:15 -08:00
Jason Calabrese 86f9249a74 move tooltip div declatration up so it can be referenced as before 2014-12-20 11:22:40 -08:00
Jason Calabrese 9c72ae4f5b Merge branch 'wip/jingle-bells' of github.com:nightscout/cgm-remote-monitor into wip/push-notify 2014-12-20 09:22:11 -08:00
Jason Calabrese e66acdd7a5 make an errorCode based alarm count as a low 2014-12-20 09:21:55 -08:00
Jason Calabrese fcfc0176cd use new BG thresholds instead of hardcoded BGs 2014-12-20 09:01:19 -08:00
Jason Calabrese a1a6aef81f Merge branch 'wip/jingle-bells' of github.com:nightscout/cgm-remote-monitor into wip/push-notify 2014-12-20 08:55:38 -08:00
Jason Calabrese f59b2bf8a1 some more display adjustments for short-landscape mode 2014-12-20 01:22:35 -08:00
Jason Calabrese 86c5af7a7c changed default of BG_HIGH to 260 2014-12-20 00:21:48 -08:00
Jason Calabrese 0df8650bb6 draw 2 extra lines for the high/low thresholds; dispay normal alarms as yellow and urgent as red; some clean up 2014-12-20 00:17:00 -08:00
Jason Calabrese da1ab494dd preseve current behavior is new BG_* and ALARM_TYPES ENV isn't set
also some cleanup of the int ENV parsing
2014-12-19 13:19:08 -08:00
Jason Calabrese deb5e81aa0 cleanup 2014-12-19 13:17:24 -08:00
Jason Calabrese 82d70a1fb8 updated BG_HIGH default to 240 2014-12-19 12:40:59 -08:00
Jason Calabrese b38fdabaa6 emit alarms based on ENV ALARM_TYPES (simple and predict) 2014-12-19 12:24:03 -08:00
Jason Calabrese 3e745f99f1 read BG thresholds from api; refactor init so that it happend after we get basic settings from api 2014-12-19 11:49:23 -08:00
Jason Calabrese bd0664688d read BG thresholds and alarm types from ENV and make them available to the server and api 2014-12-19 11:48:33 -08:00
Jason Calabrese bb1e0839bc Merge branch 'dev' of github.com:nightscout/cgm-remote-monitor into wip/short-landscape 2014-12-15 23:53:20 -08:00
Jason Calabrese 8fb337892e less space 2014-12-15 16:57:56 -08:00
Jason Calabrese 119b6b4810 combine pre-bolus carbs with pre-bolus time for the pushover message 2014-12-15 16:47:19 -08:00
Jason Calabrese f91ab38a83 get fonts a little bigger when narrower than 700px 2014-12-14 23:34:09 -08:00
Jason Calabrese 02fad69d30 media query adjustments for a short lanscape display 2014-12-14 23:13:17 -08:00
Jason Calabrese e47f05b7ad set the opacity durring the transistion in addition to the enter/append; use getTime() on dates explicitly 2014-12-14 13:58:04 -08:00
Jason Calabrese 5d6c96337d changed Pre-Bolus label to 'Eating in' to make the behavior more clear, good idea @scottleibrand 2014-12-14 09:31:09 -08:00
Jason Calabrese 845f236073 when an urgent alarm is ack'd also ack regular alarms 2014-12-13 19:35:25 -08:00
Jason Calabrese 74f8ae6b78 prevent default so we don't add # to the url 2014-12-13 19:33:56 -08:00
Jason Calabrese be30be173a adjust push message title for extra information 2014-12-13 11:48:08 -08:00
Jason Calabrese b82a5a6826 cache busting... 2014-12-13 11:30:15 -08:00
Jason Calabrese bd1af6344e add time adjustment time pushover message, if type is note set priority to -1 2014-12-13 11:20:29 -08:00
Jason Calabrese 2567431cef set focus to eventType with drawer opens, remove broken eventTimeValue change listener 2014-12-13 11:19:38 -08:00
Jason Calabrese a8a92e4db2 algin alert field order with form 2014-12-13 10:24:56 -08:00
Jason Calabrese fe6da74e0e moved Entered By and Event Time to the bottom since they both default and it makes selecting the eventType easier 2014-12-13 10:23:32 -08:00
Jason Calabrese 31ec5f61e8 create new object to insert with only the needed fields; some clean up 2014-12-07 18:57:09 -08:00
Jason Calabrese 1354401ae6 a little data cleaning; fix reset of #nowtime 2014-12-06 11:09:49 -08:00
Jason Calabrese 1ebdd2f04f stupid cache busting 2014-12-06 11:09:38 -08:00
Jason Calabrese 38229e55d0 bug fixes - reset form and don't include insulin and glucose in prebolus treatment 2014-12-06 09:47:58 -08:00