Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nightscout #4

Merged
merged 1,244 commits into from
Jul 22, 2019
Merged

nightscout #4

merged 1,244 commits into from
Jul 22, 2019

Conversation

miheladiana
Copy link
Owner

No description provided.

sulkaharo and others added 29 commits May 19, 2019 11:43
…es prevent a single data error in a single plugin from taking down the entire Nightscout (#4595)
* * Full refactor of the clockface code. Clocks now get their own small javascript bundle that contains the bare minimum client (from /lib/client/clock-client.js)
* Clocks no longer have separate HTML files but each has unique CSS definitions
* Fixed the bug where a finger measurement showed NaN in the clock

* Update shrinkwrap to match package.json

* Revert accidental index.html changes

* Bunch of minor fixes (#4641)

* Add triple arrows

* remove time

* grey arrows on bgclock

* try again on arrow fill

* Update bgclock.css

* fix double-mmol-conversion

* Update clock-client.js

* tabs to spaces everywhere

* Refactors based on Jason's comments

* Remove the clock bundle generation from app.js
* Distribution totals were miscalculated due to data interpolation. This also adds filtering for non-sgv dexcom entries - we need a new feature so user can define what CGM system she's on and set the lower bound of acceptable CGM values appropriately

* Remove debug logging
* Reduce the amount of days we load treatments for and load the latest entry of each type we need from last month, to have the site load faster

* Clamp treatments fit to the BG curve at 22
…main bundle size

* Use moment timezone webpack plugin to load less time zone data
* When server is run in development mode, hot reload code changes without restart
* * Package reporting plugins separately into another bundle to reduce main bundle size
* Use moment timezone webpack plugin to load less time zone data
* When server is run in development mode, hot reload code changes without restart

* Run code through a linter when in dev mode

* Remove a couple unnecessary logging lines

* Fix tests
…n UTC Strings (#4658)

* Normalize Treatment object dates to be all in UTC Strings, as expected by the codebase

* Also normalize the device status data

* Sort the results so results with mixed dates are returned in correct order

* Use MomentJS to correctly parse the offsets & output the offset to objects at all times

* Removing a debug console log message causing excessive logging

* Use UTC date values for queries even if client asks for zoned dates

* Remove extra sorting based on date. Code clarifications

* * Add missing parseZone() call to treatments
* Check isValid() date on entries

* Use isValid() to check date validity for device status data
* Cherry picks the ES language changes from #4690

* Fix small issues found in linting

* * Fix all but one eslint complaint in the bundled code
* Add eslint and js-beautify rc files into the repo
* Update version to 0.11.2-rc3
* update package.json and nvmrc to point to latest 10 series LTS node
* Add my.env.template, referred to in dev docs
@miheladiana miheladiana merged commit 946182b into miheladiana:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.