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

Update Nightscout #1

merged 642 commits into from Mar 28, 2019


None yet
Copy link

jpsfs commented Mar 28, 2019

No description provided.

PieterGit and others added some commits Oct 22, 2018

Merge pull request nightscout#4004 from jpcunningh/wip/devicestatus_i…

Fix Database Insert Error Handling
Merge pull request nightscout#3954 from jpcunningh/cgm_voltage_b_fix
Fix CGM voltageb battery warning level to match xDrip+
Merge pull request nightscout#3953 from PieterGit/201809_npm_node_update
upgrade node to 8.12.0, upgrade npm packages (express, supertest, webpack, swagger-ui-dist) and fix memory problem
Add note about using mmol/L
fix daylight saving bug in profile editor
where From time select lists are showing duplicate/missing entries
Merge pull request nightscout#4029 from DigitalDan1/dev
Fix daylight saving bug in profile editor
Update Russian
this one looks ok --- there was a typo in my previous pr -- nightscout#3795
Merge pull request nightscout#4031 from nightscout/wip/fix-empty-profile
Fixes day to day rendering crashing if data contains a Profile Switch…
Merge pull request nightscout#4052 from PieterGit/201811_healthline
Fix for GVI and PGS info in glucose distribution report
Merge pull request nightscout#4062 from rarneson/contributing-docs-up…

chore(docs): grammar and typo updates to the Contributing docs

unsoluble-test and others added some commits Feb 2, 2019

…URE_HSTS_HEADER_* and SECURE_CSP work as expected.

readENVTruthy never returned defaultValue. if not set to on|off|true|false the default value is returned
npm update and integrate terser-webpack-plugin as minimizer
Stick to `terser` version `~3.14.1` instead of `^3.16.0`, because of
ERROR in js/bundle.js from Terser
TypeError: Cannot read property 'minify' of undefined
    at minify (E:\path\toc\cgm-remote-monitor\node_modules\terser-webpack-plugin\dist\minify.js:175:23)

See terser-js/terser#254 for details on that bug
Merge pull request nightscout#4253 from PieterGit/201901_profile_save…

Various fixes in one PR
Update IFTTT docs (nightscout#4206)
* Create

Create folder maker-setup-images

* Add files via upload

Added images to maker-setup-images

* Delete

Delete temp file

* Update

* Update

Altered the IFTTT section
Loopalyzer enhanced (nightscout#4215)
* Added table with profiles

First attempt

* Prettified profiles table, ensured last profile displayed

* 1st attempt add showing active profile

* Finalized support for displaying multiple profiles

* Improved deduplication of profiles

* Restored formatting

* Made profiles table a selectable option

* Tolerant in case profile is missing data

* More tolerant on bad profiles

* Refactored the deduplication

Note - needs to be thoroughly tested

* Fixed the profiles table and deduplication of profiles

* Fixed enable/disable of time shift checkbox

* Added explanation of time shift feature

* Added timeshift explanation

Need to run through a last verification before merging to NS,
but my NS currently won't build b/c of npm issues.

* Final Loopalyzer-enhanced

Profiles table works, information on time shift feature added, time shift disabled when only single day.
Maker docs copyedit & cleanup (nightscout#4256)
* copyedit-and-cleanup

* fix filename typo
Reimplement Predictions support to Reports (nightscout#4254)
* reimplement nightscout#3179 (Predictions support to Reports)

* add predictions.js
set version to release candidate 1: 0.11.0-rc1-20190205 (nightscout#4259

* Tag matafiles with 0.10.3-master-20180805

* Fixes the site for iOS 9 and older

* Name too long, please switch back to BWP

* Create issue templates for NS repo

* Update

Added notes on expectations on Pull Requests

* Update

Added note on README updates

* Update

Clarified plugins, bug fixing parts

* Update

Adding auto-labeling of bugs with the bug label
fix contributors (nightscout#4260)
* fix typo in contributors

* fix typo
Fix auth button ui & update cache busting for App Cache (nightscout#4270

* small doc fix to comments on Node versions

* Update

* * Fixes authentication dialog UI on Mobile Safari
* Improves app cache busting, so after deploy the app is guaranteed to notice it has to reload content
* Small fix to Finnish language related to auth UI
Merge master to dev (nightscout#4273)
Merging changes made to Master since last release into Dev for a release
Merge pull request nightscout#4272 from nightscout/release/0.11
Draft release notes for upcoming 0.11 release (currently release candidate phase).

# Changes

Over 360 commits, 89 files changed, +8,428 / −6,569 lines of changes (full list of changes here: )

## New features
- Fully secure by default out of the box.  Unsecure access via http is not allowed anymore by default. This might force you to re-authenticate with your `API_SECRET` or token if you were using unsecure access. (@PieterGit )
- No outdated packages with vulnerabilities are being used anymore (@PieterGit ) 
- Add Week to Week report (@jpcunningh, nightscout#4123 ) 
- Add Loopalyzer report to analyse looping. Visualize your loop (@lixgbg, nightscout#3629 nightscout#4235 )
- Add predictions support to Day to Day report (@lixgbg, nightscout#3179 )
- Add cgm sensor stop to Careportal (@jpcunningh, nightscout#4060)

## Removed features
- remove `mqtt` module, because it had a security issue and was not used
- remove `sgvdata`  module, because it had a security issue, added a lot of complexity and wasn't needed (@PieterGit ). Replacement implementation for CSV and TSV export (@sulkaharo ).

## Improvements
- Fix MongoDB database insert handling. Log error on inserts and don't crash in case the MongoDB disk is full or MongoDB quota is reached (@sulkaharo and @jpcunningh)
- Upgrade packages to recent version, fixing all known security issues with dependencies (@PieterGit)
- Redirect redirect HTTP to HTTPS and implement HSTS (@jweismann, @PieterGit, nightscout#4044 and nightscout#4010	and nightscout#4253 )
- Technical improvement: Migrate from `uglify-js` to `terser-webpack-plugin` (@PieterGit)
- Streamlined Heroku deployment template with more descriptive text and more appropriate defaults for new users (@unsoluble, nightscout#4116 )

## Bug fixes
- Fix CGM voltageb battery warning level to match xDrip+ (@jpcunningh, nightscout#3954 )
- Fix daylight saving and reloading bug in profile editor, (@DigitalDan1, @Kywalh nightscout#4029 and nightscout#4074 )
- Reduce the amount of Profile Switch treatments being loaded to fix UI slowdown and Nightscout home screen losing AAPS data from >3 hours ago, (@sulkaharo, @vickster1, nightscout#4055 )
- Upgrade to [share2nightscout 0.2.0]( Prevent Nightscout server crashes in case Dexcom server does not respond (@PieterGit, @veryfancy)
- Fix UI so pills are updated immediately after new data is loaded (@sulkaharo)
- Fixes to If-Modified-Since HTTP header handling for BG data (@sulkaharo)

## Documentation and language updates
- Language updates for Danish, Dutch, German, Hebrew, Norwegian, Russian 
- New languages: Japanese, Turkish
- Update Alexa documentation. Note that some Alexa improvements are postponed to Nightscout 0.12 because the Alexa plugin needs refactoring, see nightscout#4168 (comment)
- Update IFTTT docs (@Dave9111, @unsoluble, nightscout#4206 )
- Updated various docs, including [CONTRIBUTING]( documentation

# Upgrade notes
- We only allow Nightscout to start with a secure Node JS. 
  - Latest Node 8 LTS (8.15.0 or later) and Latest Node 10 LTS (10.15.1 or later) are recommended and supported. 
  - Latest Node version on Azure (currently 10.14.0) is tolerated, but not recommended
  - Other versions will not start 
- The [rawbg]( settings are converted to a single setting tri-state variable.
- We improved security and added several new environment variables such as [INSECURE_USE_HTTP and SECURE_HSTS_HEADER](
  - Your site redirects to https by default. If you don't want that or use a Nginx or Apache proxy, set `INSECURE_USE_HTTP` to `true`.
  - We enabled [HTTP Strict Transport Security (HSTS)]( headers by default, settings `SECURE_HSTS_HEADER` and `SECURE_HSTS_HEADER_*`

## Upgrade notes for Azure users

We recommend Azure users consider migrating their hosting to Heroku, as we've observed Heroku users have significantly less issues with having their sites work reliably. If you want to continue using Azure, change the following configuration variables in Azure before updating to the latest Nightscout version:

# Install instructions

Install instructions can be found:

# Contributors to this release

The release coordination for this release was done by @PieterGit 
We would like to thank the following people for their contribution (in alphabetical order):
@anderser, @apanasef, @balshor, @bewest, @blocklist_twitter, @CaroGo, @cascer1, @cluckj, @danamlewis, @Dave9111, @diabetlum, @herzogmedia, @janrpn, @jasoncalabrese, @jpcunningh, @jweismann, @kenstack, @Kywalh, @lixgbg, @LuminaryXion, @MilosKozak, @mitrei, @PaperT1D, @PieterGit, @unsoluble, @rarneson, @renegadeandy, @scottleibrand, @sulkaharo, @T-o-b-i-a-s, @tynbendad, @unsoluble, @veryfancy, @viq, @wootmasterslick

(if I forgot somebody, please respond)


TODO: Translations, Languages with less than 80% will be removed in a future Nightscout version. Currently the following languages are at risk: 
中文(繁體) (zh_tw), Hrvatski (hr), Ελληνικά (el), 한국어 (ko)

TODO: Fix Codacy errors,

TODO: test dev after all new features are merged for at least two weeks
release 0.11.1 (nightscout#4279)
* Update dev version to 0.11.1

* remove + from version, make way for 0.11.1, upgrade webpack (nightscout#4277)

@jpsfs jpsfs merged commit 94b74ac into jpsfs:master Mar 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.