708 Commits
Author SHA1 Message Date
Pete Schwamb 2a33b6058b Add units to temp basal, IOB, and COB 2016-08-13 22:45:00 -05:00
Pete Schwamb ebae558c76 Show errors, and new symbol for open-looping 2016-08-13 21:31:42 -05:00
Pete Schwamb c3bc9e1462 Update readme, tests passing 2016-08-13 17:48:38 -05:00
Pete Schwamb 825658ceb5 wip 2016-08-13 16:28:36 -05:00
Ben West c2ff3065fb add slightly more authorized/unauthorized tests
This affects the POST to /entries/preview.
2016-08-08 13:59:47 -07:00
Jason Calabrese 212b27d40b create/check shiroTries for each role independently since combining permissions creates side effects; some more auth status in UI to help with troubleshooting 2016-08-07 16:59:54 -07:00
Jason Calabrese 7346fea8df show edit button if api:treatments:update is allowed too; clean up 2016-08-07 01:21:50 -07:00
Ben West 0a77b90ecf allow UI tests to re-use/share more code
Tighten up the boilerplate a bit.
2016-08-06 16:56:03 -07:00
Ben West 30e9507dae comment out code for codacy 2016-08-06 13:36:14 -07:00
Ben West 46834c811c cleanup ddata tests a bit 2016-08-06 13:32:08 -07:00
Ben West 7ff9f42209 add slightly more tests for ddata
TODO: ensure partition function gets called for better coverage.
2016-08-06 13:30:56 -07:00
Jason Calabrese f306c3ed6a better 2016-08-06 12:25:25 -07:00
Ben West c005b40e69 broken test
For some reason, when I go to add a new test, I can't get should to
work as expected, which is getting me stuck on adding new tests.
2016-08-06 12:20:28 -07:00
Jason Calabrese b44780c000 codacy 2016-08-06 02:09:30 -07:00
Ben West 69e6be52ed increase tests of status api a tad 2016-08-05 13:07:21 -07:00
Ben West 9ab886179c teach tests about readable default role
Allows tests to pass naively.  In future this can be augmented
to more thoroughly test security.
2016-08-04 18:02:17 -07:00
Jason Calabrese d8de68c15e create/list subjects from mongo 2016-08-02 00:21:24 -07:00
Jason Calabrese 3d88bd33a6 replace old wares.verifyAuthorization with ctx.authorization.isPermitted; some refactoring 2016-07-31 20:10:10 -07:00
Jason Calabrese a0544a3c2d fix cage/sage tests 2016-06-09 15:15:44 -07:00
Jason Calabrese dad0e83c6e try an new ddata to prevent tests from stepping on each other 2016-06-08 07:44:20 -07:00
Jason Calabrese e3d1b58fdc fix more tests 2016-06-07 23:14:44 -07:00
Jason Calabrese 5d0e1f8f63 delete broken test 2016-06-07 22:49:18 -07:00
Jason Calabrese 299a958cc3 renamed Sendor Change to Sensor Insert 2016-05-29 16:32:58 -07:00
Jason Calabrese 8148c5fa2c fix/cleanup some things with SAGE/CAGE/IAGE and add a SAGE test 2016-05-29 13:00:00 -07:00
Jason Calabrese 17451208e0 fix bug that caused Reservoir alarm to not trigger when 0 2016-05-28 13:48:34 -07:00
Jason Calabrese d21264db37 Merge branch 'dev' into wip/notify-groups 2016-05-27 17:19:50 -07:00
Jason Calabrese e8074bc067 clean up 2016-05-27 17:12:25 -07:00
Jason Calabrese 4db6050e44 try removing some things to maybe get the build to pass on travis 2016-05-27 17:07:03 -07:00
Jason Calabrese d6dfbed0ea remove debug logging 2016-05-22 10:50:05 -07:00
Jason Calabrese 3d7b813c03 fix/cleanup test 2016-05-21 20:50:14 -07:00
Jason Calabrese d8123b19ab Merge branch 'dev' into wip/notify-groups 2016-05-21 20:28:12 -07:00
Jason Calabrese 59e5efa45c new notification groups for independent notifications/alarms from different plugins 2016-05-17 01:31:48 -07:00
Jason Calabrese fcece77325 fix test data, to match real data 2016-05-16 22:00:15 -07:00
Jason Calabrese 7b155fc3cc Merge pull request #1627 from nightscout/wip/pebble-cob
add cob to /pebble if enabled
2016-04-24 10:47:23 -07:00
MilosKozak 554cd5f7eb profile editor test #2 2016-04-24 19:24:59 +02:00
MilosKozak 60dc546d1a profile editor test 2016-04-24 19:01:57 +02:00
Jason Calabrese e54e83b2ff add cob to /pebble if enabled 2016-04-24 00:47:17 -07:00
Jason Calabrese bffb291d96 env no longer throws an error, it should set env.err but not api_secret 2016-04-23 18:16:27 -07:00
Jason Calabrese f76882a9cf fix some codacy issues 2016-04-16 19:19:02 -07:00
Jason Calabrese 17953101e4 fix tests 2016-04-14 16:32:36 -04:00
ericmarkmartin 5b7d93dbcb Commented out unused variables 2016-04-04 18:09:09 -04:00
ericmarkmartin 67e93a6e69 switched everything to single-quotes 2016-04-01 18:58:26 -04:00
Jason Calabrese a1d2b206c4 added support for muli-rig environments where last devicestatus won't always be best; also support for AMA iob arrays 2016-03-30 19:25:23 -07:00
Mark Wilson d85d97ef53 Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into wip/iob-from-devicestatus 2016-03-30 13:07:55 -07:00
Jason Calabrese c76ae534f5 add fields/retro-fields extended settings to the openaps plugin to be able to further customize the pill data rendering 2016-03-27 13:16:02 -07:00
Mark Wilson b5d7b1b277 Fix mock $.ajax 2016-03-25 14:48:33 -07:00
Mark Wilson c2574dc992 Show 0 IOB on /pebble even when undefined, for backwards compatibility 2016-03-25 12:29:19 -07:00
Mark Wilson 27a1b311fd Handle IOB format from MM Connect 2016-03-25 12:29:19 -07:00
Mark Wilson 227148bc3d Don't assume IOB is 0 in the absence of treatments 2016-03-25 12:29:19 -07:00
Mark Wilson f5d5dfc86d Show IOB from devicestatus when available 2016-03-25 12:29:16 -07:00