Commit Graph
16 Commits
Author SHA1 Message Date
Adam HarrisonandGitHub b1ec21cd3f Added indexes to 'entries' and 'treatments' along with other updates (#5463)
* Added compound indexes for treatments and entries collections. Updated ensureIndex to createIndex in mongo-strage.js as ensureIndex has been deprecated. Finally, updated testing/populate.js to be compatible with more recent versions of the node driver, as well as fixing a path issue.

* Fixed missing end quote in lib/server/treatments.js. Changed all newly added double quotes to single quote to match style guide.

* Removed indexes that referenced key600.
2020-02-05 08:27:56 +02:00
Jason Calabrese 6e48e629a4 more refactoring and renaming to make storage generic 2016-10-16 12:00:44 -07:00
Jason Calabrese 519e9e0288 replace the all the scattered time contants with a little module 2015-07-29 00:24:13 -07:00
Jason Calabrese 376f3f5ea9 don't replicate bad date format for tests 2015-07-26 21:11:55 -07:00
Jason Calabrese 87893bf6dc more == vs === and other issues reported by codacy 2015-07-01 17:59:48 -07:00
Jason Calabrese 320565b0cb more easy cleanup 2015-07-01 00:30:39 -07:00
Jason Calabrese fd585720b8 fix lots of little issues reported by codacy 2015-06-30 23:34:59 -07:00
Fokko Driesprong d018e9d3f2 Oops, forgot to pull the dev-branch. 2015-06-20 20:14:45 +02:00
Fokko Driesprong 735a6f1abd Added a file which enables to test the REST api by inserting data based on the sine (just like populate.js but using the REST api). 2015-06-20 20:09:32 +02:00
Jason Calabrese 0404905e53 Revert "Revert to c1b2988eb0 (Merge branch 'hotfix/0.3.5')"
This reverts commit 1cc9c6127c.
2014-08-31 00:04:11 -07:00
Jason Calabrese 1cc9c6127c Revert to c1b2988eb0 (Merge branch 'hotfix/0.3.5') 2014-08-24 22:22:55 -07:00
Jason Calabrese 8c246d84e0 drop the 'Given' suffix on insulin and carbs treatment fields; clean up form posting (no more page reload); store enteredBy in borwserStorage 2014-08-24 01:45:08 -07:00
Brian Hanifin 8892d3f1e8 Added populate.js test data generator.
Thanks to John A. [euclidjda](https://github.com/euclidjda) for creating this for us!
Source: https://gist.github.com/euclidjda/7c70c35d8ffc61c932cb
2014-07-31 11:02:25 -07:00
rnpenguin 140161785a Made context data with in brush have larger opacity within the brush, extended height of brush to focus chart, and blackout x-axis portion of focus chart that is highlighted within the context chart. 2013-11-10 23:41:15 -08:00
rnpenguin 8f3a23c960 Updated testing file to be dynamic. 2013-11-09 22:46:36 -08:00
rnpenguin 56fe9b8c6d Adding function to simulate high sgv values. 2013-10-11 19:53:02 -07:00