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

Alexa plugin error #5632

Closed
apocsantos opened this issue Apr 24, 2020 · 18 comments
Closed

Alexa plugin error #5632

apocsantos opened this issue Apr 24, 2020 · 18 comments

Comments

@apocsantos
Copy link

Describe the bug
Alexa plugin does not work, it keeps returning "i'm not sure about that"

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'test in alexa skills'
  2. Click on 'type: "ask Nightscout how am I doing" '
  3. returns "i'm not sure about that"

Expected behavior
reply with my current nightscout blood glucose level.

Your setup information

  • What version of Nightscout Updated this week
  • What type of CGM, and how do you get your data there? (miaomiao)

Additional context
Add any other context about the problem here.

@inventor96
Copy link
Contributor

Both Amazon Alexa and Google Assistant don't play well with the name when we use the one-word version "Nightscout". Try separating it, like "night scout" both in your invocation name, as well as in what you type in the testing page.

@apocsantos
Copy link
Author

Hi,
Thank you!

Tried that but no luck it replies: "There was a problem with the requested skill's response" to the question : "ask night scout how am I doing".

Here is my Json Skill Code

{ "interactionModel": { "languageModel": { "invocationName": "night scout", "intents": [ { "name": "NSStatus", "slots": [], "samples": [ "How am I doing" ] }, { "name": "LastLoop", "slots": [], "samples": [ "When was my last loop" ] }, { "name": "MetricNow", "slots": [ { "name": "metric", "type": "LIST_OF_METRICS", "samples": [ "what {pwd} {metric} is", "what my {metric} is", "how {pwd} {metric} is", "how my {metric} is", "how much {metric} does {pwd} have", "how much {metric} I have", "how much {metric}", "{pwd} {metric}", "{metric}", "my {metric}" ] }, { "name": "pwd", "type": "AMAZON.US_FIRST_NAME" } ], "samples": [ "how much {metric} does {pwd} have left", "what's {metric}", "what's my {metric}", "how much {metric} is left", "what's {pwd} {metric}", "how much {metric}", "how is {metric}", "how is my {metric}", "how is {pwd} {metric}", "how my {metric} is", "what is {metric}", "how much {metric} do I have", "how much {metric} does {pwd} have", "how much {metric} I have", "what is my {metric}", "what my {metric} is", "what is {pwd} {metric}" ] }, { "name": "AMAZON.NavigateHomeIntent", "samples": [] }, { "name": "AMAZON.StopIntent", "samples": [] } ], "types": [ { "name": "LIST_OF_METRICS", "values": [ { "name": { "value": "uploader battery", "synonyms": [ "uploader battery remaining", "uploader battery power" ] } }, { "name": { "value": "pump reservoir", "synonyms": [ "remaining insulin", "insulin remaining", "insulin is left", "insulin left", "insulin in my pump", "insulin" ] } }, { "name": { "value": "pump battery", "synonyms": [ "pump battery remaining", "pump battery power" ] } }, { "name": { "value": "bg", "synonyms": [ "number", "blood sugar", "blood glucose" ] } }, { "name": { "value": "iob", "synonyms": [ "insulin on board" ] } }, { "name": { "value": "basal", "synonyms": [ "current basil", "basil", "current basal" ] } }, { "name": { "value": "cob", "synonyms": [ "carbs", "carbs on board", "carboydrates", "carbohydrates on board" ] } }, { "name": { "value": "forecast", "synonyms": [ "ar2 forecast", "loop forecast" ] } }, { "name": { "value": "raw bg", "synonyms": [ "raw number", "raw blood sugar", "raw blood glucose" ] } } ] } ] }, "dialog": { "intents": [ { "name": "MetricNow", "confirmationRequired": false, "prompts": {}, "slots": [ { "name": "metric", "type": "LIST_OF_METRICS", "confirmationRequired": false, "elicitationRequired": true, "prompts": { "elicitation": "Elicit.Slot.1421281086569.34001419564" } }, { "name": "pwd", "type": "AMAZON.US_FIRST_NAME", "confirmationRequired": false, "elicitationRequired": false, "prompts": {} } ] } ], "delegationStrategy": "ALWAYS" }, "prompts": [ { "id": "Elicit.Slot.1421281086569.34001419564", "variations": [ { "type": "PlainText", "value": "What metric are you looking for?" }, { "type": "PlainText", "value": "What value are you looking for?" }, { "type": "PlainText", "value": "What metric do you want to know?" }, { "type": "PlainText", "value": "What value do you want to know?" } ] } ] } }

@inventor96
Copy link
Contributor

There's usually a log or at the response from the server on the right side of the testing page. What info is provided there?

@apocsantos
Copy link
Author

Right-Side

{ "version": "1.0", "session": { "new": false, "sessionId": "amzn1.echo-api.session.c862a795-f830-4b88-b8bc-1ebc5ace3762", "application": { "applicationId": "amzn1.ask.skill.f8470ed3-f091-40cf-bec0-b29e1722555f" }, "user": { "userId": "amzn1.ask.account.AFPUXHL7VNHDU7GJC36TYW6OTREEGO2Y4CEKXWF62HDRXLS5PDXI7V22DT7BN7K7QJ42YSP7BDHLUZ7NTPC3CP5RHH44UKGET76KQFTDYV4LX3CQSB6GCPFAKQJY3N7O6XRQRDNAFFKFASGLKZ4NJC6CO4XIBPUK4CGVEW2FAU2NZYMH5MR4ZF3HZZ5JUAGSWI2MSDHTXSMPBFQ" } }, "context": { "System": { "application": { "applicationId": "amzn1.ask.skill.f8470ed3-f091-40cf-bec0-b29e1722555f" }, "user": { "userId": "amzn1.ask.account.AFPUXHL7VNHDU7GJC36TYW6OTREEGO2Y4CEKXWF62HDRXLS5PDXI7V22DT7BN7K7QJ42YSP7BDHLUZ7NTPC3CP5RHH44UKGET76KQFTDYV4LX3CQSB6GCPFAKQJY3N7O6XRQRDNAFFKFASGLKZ4NJC6CO4XIBPUK4CGVEW2FAU2NZYMH5MR4ZF3HZZ5JUAGSWI2MSDHTXSMPBFQ" }, "device": { "deviceId": "amzn1.ask.device.AHX2L2PI4X6JD4ZGBJK7JHNZVDMYINEYMLN2YFZOSN5WKQFHZROXNLPY635NG5R6EPF7RX2QOZOJ25MK6REONIBKKOTQGD2LGZIPX4IGZCBMY4FZUIETVW7J4EAGSAVNPLOXW6JJMEUWPARBAMN3LP4O3I5ZD6EHUK42SQJERGI4ZODKVHNU4", "supportedInterfaces": {} }, "apiEndpoint": "https://api.amazonalexa.com", "apiAccessToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOiJodHRwczovL2FwaS5hbWF6b25hbGV4YS5jb20iLCJpc3MiOiJBbGV4YVNraWxsS2l0Iiwic3ViIjoiYW16bjEuYXNrLnNraWxsLmY4NDcwZWQzLWYwOTEtNDBjZi1iZWMwLWIyOWUxNzIyNTU1ZiIsImV4cCI6MTU4ODAwODg2MywiaWF0IjoxNTg4MDA4NTYzLCJuYmYiOjE1ODgwMDg1NjMsInByaXZhdGVDbGFpbXMiOnsiY29udGV4dCI6IkFBQUFBQUFBQUFEZFphTmxQZkxaaTNEcFE4a0x3YnRiS2dFQUFBQUFBQUE0Q1hiMy9Hdk5aZk45NGt5RTJSTmhmN255Y1pQUmZwTklYOXpWUG9wMWpYbU5zNXJpWXBwNDhCZFJacVJjd0JTcDc0bnpYQXk1cUlNajNrZGNzQ0JUeDFTQTR3VWErKytRenBCcWVDbkkvOXZKNExWZWhic1lpMzJYT0V1bk1mMUw2SDhPRkJWN2pnQVl1MmdyYS9CUUN1dWVQWnc3NVdEb0M0WHMrV0N5ck1XZ0REcWwyNU9NZTNEL3V4SDZ1K1h5WWlwTTVOd1VQdzhaTWo3UlhFcW9rbDAxQ3dlVXk5ZVhCZDU4eTR1Ui9jc2RoZFFKZEhiYnlGTnRVVEJybXJiTkMrYi9lMDZ4N2FuNkY5UUtyTi9DM043bUFlWmVBNGU2QU9CQWtMUGFJMzdFSjJnVjlTWWRoSm9QWVhIbGgrRmpMR0grMll2Ukp1SDBTdWs4dDV1VDNSUDFJcFVkRFdHZUJuVmljSjJ0WjNTOUdYTWhiSTl5bXNZV3pCdXpTVG8wVUNpUUlMVnRZZkFDIiwiY29uc2VudFRva2VuIjpudWxsLCJkZXZpY2VJZCI6ImFtem4xLmFzay5kZXZpY2UuQUhYMkwyUEk0WDZKRDRaR0JKSzdKSE5aVkRNWUlORVlNTE4yWUZaT1NONVdLUUZIWlJPWE5MUFk2MzVORzVSNkVQRjdSWDJRT1pPSjI1TUs2UkVPTklCS0tPVFFHRDJMR1pJUFg0SUdaQ0JNWTRGWlVJRVRWVzdKNEVBR1NBVk5QTE9YVzZKSk1FVVdQQVJCQU1OM0xQNE8zSTVaRDZFSFVLNDJTUUpFUkdJNFpPREtWSE5VNCIsInVzZXJJZCI6ImFtem4xLmFzay5hY2NvdW50LkFGUFVYSEw3Vk5IRFU3R0pDMzZUWVc2T1RSRUVHTzJZNENFS1hXRjYySERSWExTNVBEWEk3VjIyRFQ3Qk43SzdRSjQyWVNQN0JESExVWjdOVFBDM0NQNVJISDQ0VUtHRVQ3NktRRlREWVY0TFgzQ1FTQjZHQ1BGQUtRSlkzTjdPNlhSUVJETkFGRktGQVNHTEtaNE5KQzZDTzRYSUJQVUs0Q0dWRVcyRkFVMk5aWU1INU1SNFpGM0haWjVKVUFHU1dJMk1TREhUWFNNUEJGUSJ9fQ.cehFjw2OXNgzukRybcBmiSObebaYYHXfQXyoFygccps5x1QLF91tusqaXW3irYmxzhLeLLvU02IZEac-zslan8_FhBcew-FWo1jLdamarUJZVb8ACZRpYdBYyV7LFxn1FlZYNbLai0ixKSokbaZIBiqpPfk4JWIh-tVjEHC2JK3eQ0BbGOSw-Tjyo2cH5qzBGxEInSSj5XGgPZqjVYBOwOzCLTg7ClNw9Mum16dyM5YVEXhreXG0IJAstCje5UxRIj4O91O6dnB8WdCqTK-GX9PRVyKzkNRRZCCGXEBRuPaNupeyd4vPDY0SE3NezTLRaIfEROG9KYgL3490jPjHfA" }, "Viewport": { "experiences": [ { "arcMinuteWidth": 246, "arcMinuteHeight": 144, "canRotate": false, "canResize": false } ], "shape": "RECTANGLE", "pixelWidth": 1024, "pixelHeight": 600, "dpi": 160, "currentPixelWidth": 1024, "currentPixelHeight": 600, "touch": [ "SINGLE" ], "video": { "codecs": [ "H_264_42", "H_264_41" ] } }, "Viewports": [ { "type": "APL", "id": "main", "shape": "RECTANGLE", "dpi": 160, "presentationType": "STANDARD", "canRotate": false, "configuration": { "current": { "video": { "codecs": [ "H_264_42", "H_264_41" ] }, "size": { "type": "DISCRETE", "pixelWidth": 1024, "pixelHeight": 600 } } } } ] }, "request": { "type": "SessionEndedRequest", "requestId": "amzn1.echo-api.request.8decd029-81e4-4f1d-bfde-479156475fe1", "timestamp": "2020-04-27T17:29:24Z", "locale": "en-US", "reason": "ERROR", "error": { "type": "INVALID_RESPONSE", "message": "An exception occurred while dispatching the request to the skill." } } }

Right side, nothing :(

@inventor96
Copy link
Contributor

@apocsantos
Copy link
Author

apocsantos commented Apr 27, 2020

Guess so

Service Endpoint Type: HTTPS

Default Region
(Required)
HTTP://

@inventor96
Copy link
Contributor

We usually try to keep individual URLs private, so feel free to delete your message with your URL.

With that being said, now that I have it via email, are you OK if I try simulating Alexa contacting your Nightscout site to help troubleshoot the issue?

@apocsantos
Copy link
Author

Hi,
Thank you so much!

Sure, feel free to try, I dont mind at all!

@apocsantos
Copy link
Author

Hi!
Any news ?

@inventor96
Copy link
Contributor

inventor96 commented May 6, 2020 via email

@julianhansen
Copy link

A simple solution is to use Sugarmate, I have added an Echo Button so can get a BG update during the night without needing to look at my phone or ask Alexa a question.

@inventor96
Copy link
Contributor

@apocsantos So sorry for the delay in helping you. When manually simulating the request that Alexa makes to Nightscout, I got the error Cannot POST /api/v1/alexa, which usually means that the plugin isn't enabled. Could you check that your "ENABLE" variable in Heroku (or Asure, if that's what you use) includes "alexa" (no quotes, and spaces between each plugin name).

@apocsantos
Copy link
Author

@inventor96 , sorry for the late reply, I've been a bit busy this last week.

Just checked it, it's just like in the image.

Screenshot 2020-06-15 22 40 30

@inventor96
Copy link
Contributor

@apocsantos It's supposed to be the other way around... Like this:
image

You have an ENABLE variable which contains the names of the plugins to enable on your Nightscout site. Each plugin name is separated by a space.

@apocsantos
Copy link
Author

@inventor96 , oh... Sorry! Guess it's correct now.

Can you please check if this is it ?

alexa

@inventor96
Copy link
Contributor

@apocsantos That looks correct. Test your Alexa skill and see what happens!

@apocsantos
Copy link
Author

@inventor96 ,
Tested it, no luck, same as before... :(

@inventor96
Copy link
Contributor

@apocsantos I'm getting a different error now, but it looks like the plugin has been enabled properly. I will need to do some further troubleshooting to figure out where the issue is.

inventor96 added a commit to inventor96/cgm-remote-monitor that referenced this issue Oct 5, 2020
inventor96 added a commit to inventor96/cgm-remote-monitor that referenced this issue Oct 5, 2020
tanja3981 pushed a commit to tanja3981/cgm-remote-monitor that referenced this issue Nov 15, 2020
…6199)

* Fixed nightscout#5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths
tanja3981 pushed a commit to tanja3981/cgm-remote-monitor that referenced this issue Nov 15, 2020
…6199)

* Fixed nightscout#5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths
dm61 pushed a commit to dm61/cgm-remote-monitor that referenced this issue Nov 16, 2020
…6199)

* Fixed nightscout#5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths
aslzo added a commit to aslzo/cgm-remote-monitor that referenced this issue Dec 13, 2020
* mgdl -> mg/dl

* Release ref update v2 (nightscout#5301)

* Updated release name and number

* Added missing version number

* Added missing version number

* Fix auth dialog sizing error (nightscout#5315)

* Fix auth dialog sizing error (nightscout#5314)

* Fix auth dialog sizing error

* Fix Client Init After Auth

(cherry picked from commit 1bf416c)

* update NS minor version

* Bump version to 13.0.2-dev

* fix some random test failures (nightscout#5341)

* fix some random test failures

* use typeof to test for existence

* Added support for asking delta

* Added time reference

* Made delta reading more informative

* Corrected time reference

* Try shortening the response

* Revert attempt

* Updated templates and documentation

* Minor improvement in response when delta is 0

* German translations improved and added (nightscout#5360)

* Fix Alexa Launch and SessionEnded Requests (nightscout#5377)

* Fix Alexa Launch Request

* Allow LaunchRequest to handle intent if set, change shouldEndSession from string to bool

* Fix SessionEndedRequest

* Fix nightscout#5149 - discord link on CONTRIBUTING.md doesn't do anything (nightscout#5380)

* Fix nightscout#5146 - display of treatment with only Fat and Protein set (nightscout#5381)

* Basic report page style fixes and updates (nightscout#5387)

* Add missing Polish translations and improve existing (nightscout#5382)

* Add missing Polish translations and improve existing

* Improve translations

* Addressed virtual assistant usage with Authentication Roles (nightscout#5388)

* Fix nightscout#5347 - Addressed auth roles

* Unification

* Fix timeago alarms (again). The changes to the rendered had an unintended consequence of triggering the timeago detection less frequently, causing the code to think the client has been hibernating, thus suppressing the alarms. The update changes the clock to be updated more frequently (this updating the hibernation detection), fixing the issue

* Remove the server side test

* Fix Graph Display Without Recent Devicestatus (nightscout#5409)

* Update Russian (nightscout#5415)

Corrected major and minor misprints and mistakes - particularly in variables, new translations added

* Add server teardown ability (nightscout#5410)

* adding teardown event to ctx.bus

* adding teardown support for mmconnect and bridge plugins

* Additional German Translations and corrections (nightscout#5405)

* Cleaned up changed translations

* Added Virtual Assistant Translations

* Fix nightscout#5188 - move predictions to bundle and don't render chart on predictions offset change (nightscout#5395)

* Fix nightscout#5188 - move predictions to bundle and don't render chart on predictions offset change

* Fix predictions show for day to day

* Move toolbar and authentication status to partial and include on each page (nightscout#5393)

* Move authentication status to partial and include on each page

* Move toolbar to partial

Co-authored-by: Sulka Haro <[email protected]>

* Virtual assistant code simplification (nightscout#5400)

* Moved duplicate plugin code to single location, and small improvements

* Defined _each()

* Pr/5379 (nightscout#5441)

* Release 13.0.1 (nightscout#5329)

* Release ref update v2 (nightscout#5301)

* Updated release name and number

* Added missing version number

* Added missing version number

* Fix auth dialog sizing error (nightscout#5315)

* Fix auth dialog sizing error (nightscout#5314)

* Fix auth dialog sizing error

* Fix Client Init After Auth

(cherry picked from commit 1bf416c)

* update NS minor version

* Added handlers and translations for CGM info

* Defined translate()

* Fixed sensor state reference

* Improved wording for tx age response

* Improved wording for session duration response

* Updated documentation and templates

* Updated README.md TOC and a reference to it

* Added CGM battery info

* Added unit reference to CGM battery levels

* Added handlers and translations for CGM info

* Defined translate()

* Fixed sensor state reference

* Improved wording for tx age response

* Improved wording for session duration response

* Updated documentation and templates

* Updated README.md TOC and a reference to it

* Added CGM battery info

* Added unit reference to CGM battery levels

* Updated API reference in Google Home template

Co-authored-by: Caleb <[email protected]>

* Volunteer for Polish translations (nightscout#5396)

* Api3 output renderers (nightscout#5425)

* APIv3: adding framework for various output renderers

* APIv3: adding xml output renderer

* APIv3: adding csv output renderer

* APIv3: documenting supported output renderers

* APIv3: testing output renderers

* Restore glucose distribution test (nightscout#5434)

* Increase coverage of tests on units utility and clean up timeago test (nightscout#5435)

* Increase coverage of tests on units utility

* clean up timeago test

* Refactor to encapsulate duplicated settings logic (nightscout#5426)

* Encapsulate duplicate settings checks inside functions

* Simplify settings::isAlarmEventEnabled()

* Send coverage reports to Codacy (nightscout#5444)

* Send coverage reports to Codacy

* Action secrets may not be read from forks :(

* Let's see if this fixes the path & key passing

* Ok one more try for the Actions env

* Run tests and coverage separately

* Try increasing the admintools test runtime for Node 10

* Run tests only once

* Resolve unnecessary uses of eslint-ignore (nightscout#5436)

* Resolve unnecessary disabling of no-undef eslint rule

* Resolve unnecessary disabling of no-prototype-builtins eslint rule

* Resolve unnecessary disabling of no-unused-vars eslint rule

* Resolve unnecessary disabling of no-empty eslint rule

* Fix eslint errors and add npm script for eslint (nightscout#5427)

* re-enable auth check for device status routes

* Resolve eslint errors

* Add npm script for eslint

* Correct regex for express extension middleware and add tests for expected behaviour

* Resolve lint error in virtual assistant base

* Update index.js

* Update index.js

* Remove redundant checks on entry ID (nightscout#5440)

* Run CI Action for Pull Requests

* Update DayToDay report for Loop Overrides (nightscout#5452)

Add Loop override name/reason as text to the grey bar at the top of the graph.

* Fix earlier merge error with predictions having moved to the report bundle

* fix brushing loop (nightscout#5499)

* Update README.md (nightscout#5480)

Clarified that the "bridge" plugin is for Dexcom Share ("Dexcom" didn't appear at all in the read me), fixed a few typos, and added line 444 about the BRIDGE_SERVER variable.

* Added period of days into headline of glucose distribution and percen… (nightscout#5428)

* Added period of days into headline of glucose distribution and percentil chart report

I make screencopies of the glucose distribution and percential chart report for my diabtes consultant and had to manually add the period of days to the report everytime because it was not shown in the report itself.
I added the period of days this with a small number of lines of code and think this is helpful for other too.

* removed comments as requested

removed comments as requested

* Camelcase for new variables reportPlugins, firstDay, lastDay, countDays

* forget to save the change of reportPlugins in percentile.js

* Move app caching to a service worker (nightscout#5504)

* Move app caching to a webworker

* Code cleanup

* Code cleanup

* Make Codacy happy

* More parentheses

* Added indexes to 'entries' and 'treatments' along with other updates (nightscout#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.

* Fix: Round interporlated mg/dL value to an integer

* Plugin to show database size (% of available space or in MiB) (nightscout#5496)

* Database size plugin - pill that displays current mongoDB database size

* Enabled dbsize by default

* Fixed bug with dbsize not shownig when size is (rounded) 0% but real bytes > 0

* Cleanup & update to iconfont generation manual

* Changed how warning/urgent levels are configured - from absolute MiB to percentage of DBSIZE_MAX

* Trying to fix random fail of APIv3 tests (nightscout#5519)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* client - mobile - Axis label font is scaled on small screens (nightscout#5512)

On phones or other small screens, the axis labels (especially x axis)
were previously an unreadable jumble of too-close letters

* Split view (nightscout#5518)

* Adds a 2, 3, 4 and 8 way split view option

* Updated description

* Generate the table on demand, so any number of sites from 1 to 8 generates a sensible layout

* Update readme & don't crash if a name is missing

* Allow flagging specific settings to be not exposed the /properties and /status APIs (nightscout#5525)

* Add more variables to the special list

* [DEV][FIX] Fix dbsize plugin to make it hideable again (nightscout#5529)

* [FIX] Making dbsize plugin default but hideable - removed its forced show state

* Removed unused lodash dependency

* Removed duplicate if statement (nightscout#5531)

Removed the additional if statement checking for the loop specific developer team id. This since the exact same if statement existed just above it.

* Update Dutch translations (nightscout#5532)

* Fix settings test

* Update version to 13.1.0

* Fix topbar collapse on small screens (nightscout#5562)

* Fix top bar collapsing on small screens

* Fix wide button array overflowing the button bar

* Option to switch off bolus amount outputs (nightscout#5522)

* Option to switch off bolus amount outputs (nightscout#5514)

* Fixing issue with carb value not be output when set to "none" (nightscout#5514)

* Adding additional output options (nightscout#5514)

* Adding environment variable option for 'x U and Over' option.

This option is BOLUS_RENDER_OVER with a default value of 1 and the value can be an integer or a float, e.g. 0.3, 1.5, 2, etc...

* Adding change to change the font size depending on the bolus value.

* Merge two "all" options to create an option that displays as SMB had.

* Fix d3 portrait to landscape brush failure (nightscout#5638)

* fix d3 portrait to landscape brush failure

* fix client.renderer.test for highlighBrushPoints function prototype change

* fix highlightBrush

* move brush reset inside check for valid brush

* Sanitize data from manual careportal entries so only fields with actual data are sent to the server (nightscout#5619)

* do not redirect to profile editor by default (nightscout#5671)

In a default configuration, there is no treatment data.  The code to redirect
the UI to the profile editor is buried deep within the chart rendering code for
basals.  This plugin is only supposed to go into action when enabled via
ENABLE=basal.  This commit fixes first-use experience for the default
configuration intended to draw real-time CGM traces and no basal information is
expected.  Since no basal information is expected unless plugin is enabled via
ENABLE=basal, this allows skipping instead of redirecting to the profile editor.

* Fix Issue nightscout#5486 - Device Status Days Feature (nightscout#5651)

* Device Status Days Feature

* Edits per review from @sulkaharo

* Configurable clock views (nightscout#5625)

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Update README.md

* Update README.md

* Configurable clock views

* Add remote bolus/carbs + otp entry for loop (nightscout#5598)

Add a remote bolus entry field for users on Loop, along with support for an OTP field

* Sometimes at the very start no profiles provided. (nightscout#5591)

At the first start the nightscout is crashed if profile not full.

* Fixes nightscout#4991 - Now selects basal profile based day by day (nightscout#5572)

* Test profile settings

* NPM Version change

* Use console log

* Use console log for client

* Use console log for client.sbx

* Use console log for client.ddata

* Use console log for client again

* revert

* Added multi-profile reporting capabilities

Co-authored-by: VIS TFS Admin <[email protected]>

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* hotfix attempt 2 - carelink 2020 sso updates

* hotfix 3 - attempt 3 at carelink 2020 sso updates

* attempt 4 at hotfix for nightscout

Based on more reliable version of minimed-connect-to-nightscout....
This is testing the hotfix.  When it works, we will bump this one more
time with the newly released version.

* hotfix 5 - incorporates latest axios changes

* Fix for boluscalc issue (nightscout#5729)

Boluscalc fix & remove integer validation from BG input field

* npm install --save minimed-connect-to-nightscout@^1.4.0

* Change DISPLAY_UNITS to use readENV's default value and added several tests for DISPLAY_UNITS (nightscout#5708)

readENV() was hard coding the default value of DISPLAY_UNITS, and
ignoring the default value for no particular reason. Fixed that. Also, I
added a full test suite for DISPLAY_UNITS environment settings to make
sure that it works as intended. Finally, I've added the console log for
the DISPLAY_UNITS since there's no particular reason why we log that setting
and not others.

* Fix audit errors, button order (nightscout#5694)

* * Update packages giving npm audit errors
* Fix Mongo test that broke after update (now uses async/await on getting the connection)
* Restore original navigation bar button order

* Disable Node 10 tests

* Fix temporary target cancellation

* Added documentation on the use of Alpha Testing (nightscout#5784)

* Wip/bewest/mmconnect eu (nightscout#5731)

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* hotfix attempt 2 - carelink 2020 sso updates

* hotfix 3 - attempt 3 at carelink 2020 sso updates

* attempt 4 at hotfix for nightscout

Based on more reliable version of minimed-connect-to-nightscout....
This is testing the hotfix.  When it works, we will bump this one more
time with the newly released version.

Co-authored-by: Sulka Haro <[email protected]>

* * Updated several packages to remove issues from NPM audit
* Fix excess logging in settings.js
* Removed heapdump package, which was causing issues for some users

* * Limit the default number of profiles returned by the API to fix issues with users who are syncing a large amount of profiles from an APS.
* Fix profile reporting

* Upgrade Helmet to 4.0.0

* CSP and service worker improvements (nightscout#5856)

* Add connectSrc for Safari compatibiity
* Add new font URL for Google Fonts compatibility
* Reload on re-registering the worker
* Change Mongo version in github to fix builds

* Serve the CSP to everyone

* Split view CSP support (nightscout#5864)

* Parse split view frames into frameAncestors

* Re-enable CSP configuration (nightscout#5867)

* Re-enable CSP configuration

* Bump share2nightscout-bridge plugin

Use latest update from share2nightscout bridge to
make things easier.  It contains an updated
default for OUS users.

* feat Add robots.txt to disallow site crawling

* Fix dbsize for usage with Atlas (nightscout#5962)

* Openaps performance improvement (nightscout#5945)

* improve openaps plugin performance

* more performance improvements

(cherry picked from commit 076a2dd)

* correct setting notEnacted variable

* remove unnecessary debug logging

* Adapt to MongoDB Atlas (nightscout#5893)

* Fix Issue nightscout#5763 - Change $.ajax to /api/v1/profile (nightscout#5704)

* Bug fixes for Service Worker (nightscout#5970)

* Fix service worker refresh for Firefox

* Improve logging for service worker initialisation

* Skip browser cache for service worker precaching

* Prevent `Partial Content` responses in `fetch` by stripping `Range` header

* Prevent calling `filter` on an undefined property when service worker cache is empty

* Bug fixes for Service Worker

*    Fixes nightscout#5920
*    Fixes nightscout#5943

* Update service-worker.js

Removed the MP3 files from the preload to fix issues with webkit-based browsers

Co-authored-by: p5nbTgip0r <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Optimize Nightscout database usage (nightscout#5947)

* On periodic polls, only load delta for CGM data, treatments and device statuses
* Serve basic CGM data API queries from in-memory cache. Increases the Nightscout memory footprint but should significantly reduce the Mongo load
* Serve device status, CGM and treatment records from memory cache
* Support count parameter in /profile

* Bumping version to 14.0.0 given this is a relatively large update and we want people on Atlas to all migrate to this version

* Remove logging statements

* fix brushing recursion

* Normalize treatments to support absolute doses from the amount field

* Add Loop Carbs foodType, absorptionTime to Reports for ISSUE nightscout#5701 (nightscout#5702)

* add carb foodType, absorptionTime to reports

* Update README to point to new docs

* Fix `Treatments` report for `mmol/L` users

Fixed a typo to a client function name

* Bump version to 14.0.1

* Bump dev to 14.0.2

* Serve Last-Modified header for the service worker to help with some browsers misdetecting caching

* Cleaned old appcache references

* * Remove unnecessary logging to help with Papertrail limits
* Load more treatments and entries to fix caching issues (need to add better cache invalidation to really fix this)

* When merging inserts and updates from the database, ensure we always use the new data over the old data

* Bump treatment delta loading to four hours

* One more increase to treatment load time to cover long overrides

* * Bump version to 14.0.3
* Fix a bug in the REST API query for profiles

* Bumped up the number of treatments loaded / day for reporting

* Fix reports unit test

* Bump treatments default limit default to 1000 objects for queries that include other query parameters

* * Require created_at for Treatments on insert
* Refactoring the cache: moved to another file and support flushing from bus events

* Add support for CGM data and device statuses. Refactor dataloader to use the new model and reduce queries back down

* Fix data order for REST API

* * Add cache update events to websocket API
* Remove the validation for created_at in REST API ;(

* Remove excess logging

* Bump version to .4

* Bump version to 14.0.5 and fix nightscout#6050

* Fix Pebble API detecting mmol units from settings

* Make settings parsing whitespace tolerant

* * Fix security test
* Change boot and caching to expose Mongo connection errors

* Don't report an error on every reconnect

* Less intimidating error page on start, which also checks for api_secret

* Add file missing from last commit

* Fix tests

* Remove require statement breaking deploys

* Update --feature-request--.md

* Update --bug-report.md

* Update --individual-troubleshooting-help.md

* Fix memory leak and cache update issues in 14.0.4 (nightscout#6133)

* Fix a memory leak in 14.0.4
* Fix linter error in ddata.js
* Move data retention periods to caching
* Update _id of inserted entries and device status so merging to cache works correctly
* Reset the data in ddata before updating
* Fix typo on entry cache retention period
* Have device status cache retention period follow configuration
* Fix _id injection in treatments

* Add error cat to error page

* Fix MONGODB_URI reference in error message

* Bump version to 14.0.6

* Support uploading device statuses in batches (nightscout#6147)

* Support uploading device statuses in batches
* Correctly report batch insertion results

* Make empty cache detection a bit more aggressive to account for cache flush and data insert happening concurrently

* * Bump version to 14.0.7
* Add onerror handler for pushover

* Update README.md

Explicitly link to the application template in Github

* Fixed nightscout#5852 - Updated Google Home setup steps (nightscout#6195)

* Fix broken swagger for APIv3 (nightscout#6201)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>

* Use lodash.get() in virtual assistant API endpoints (v2) (nightscout#6199)

* Fixed nightscout#5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths

* Corrected setup of `dbsize` for virtual assistants (nightscout#6270)

* Corrected db size config for virtual assistants

* Language fix, improvements, added dbsize to virtAsst config

* Using env

* Added logging

* Debug logging

* Different logging

* More troubleshooting

* Another try

* Reverted stuff, added dbsize to server defaults

* Fixed test

* Fixed another test

* Create config.yml

* Delete --individual-troubleshooting-help.md

* Update config.yml

* Fix batch (nightscout#6248)

* Use the delta plugin data to show the delta in the clock views
* Update Node checks
* Fix disabling the BG alarms for simple alarms
* Load battery and other rare events up to two months back
* Possibly fixes compatibility with ios9 - needs testing
* Unified black and color clock layouts
* Update clock data every 20 seconds
* Update clock time every second
* Fix how CSP policy is set for Helmet, fixes nightscout#6260
* Authorization fix for misformatted URLs
* Added unit test for batch upload of CGM entries
* Improved / removed some logging
* Test if user is in read only mode when Nightscout starts and give an error if so

* Adding Hungarian translation to nightscout (nightscout#6037)


* Finished first round of translation for Hungarian language

* Added hungarian language to the readme file

* Fixes

* WIP

* Typo fixes and changes to translations

* Update language.js

Fixed some mistyped language keys

Co-authored-by: Andy Feher <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Update language.js (nightscout#6193)

Isfjell -> Istapp

Co-authored-by: Sulka Haro <[email protected]>

* nightscout#5991 Typo in translation (nightscout#6217)

Co-authored-by: Sulka Haro <[email protected]>

* add missing translations (nightscout#6346)

Co-authored-by: Sulka Haro <[email protected]>

* Updated Alexa's intents because Amazon required new ones yet again. (nightscout#6457)

* Add runtime state tracking to Nightscout, where client now checks if the server has loaded initial data from Mongo before the user is directed to the UI

* Add file missing from previous commit

* Update app.json

* Fix unit tests

* Fix the read detection to work correctly with MongoDB Atlas

* * Added basal and careportal to default plugins
* Changed report BG target to allow fractional numbers

* Increase load interval to 5 seconds

* Create codeql-analysis.yml

Co-authored-by: AdrianLxM <[email protected]>
Co-authored-by: Caleb <[email protected]>
Co-authored-by: inventor96 <[email protected]>
Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>
Co-authored-by: Tanja <[email protected]>
Co-authored-by: Bartłomiej Szubert <[email protected]>
Co-authored-by: Andrew Dixon <[email protected]>
Co-authored-by: fedor apanasenko <[email protected]>
Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Lukas Herzog <[email protected]>
Co-authored-by: Jakob <[email protected]>
Co-authored-by: jonfawcett <[email protected]>
Co-authored-by: Jonas Hummelstrand <[email protected]>
Co-authored-by: peterleimbach <[email protected]>
Co-authored-by: Adam Harrison <[email protected]>
Co-authored-by: Dominik Dzienia <[email protected]>
Co-authored-by: stephencmorton <[email protected]>
Co-authored-by: Simon Persson <[email protected]>
Co-authored-by: Cas Eliëns <[email protected]>
Co-authored-by: Ben West <[email protected]>
Co-authored-by: Matthew <[email protected]>
Co-authored-by: ireneusz-ptak <[email protected]>
Co-authored-by: josep1972 <[email protected]>
Co-authored-by: Bluefox <[email protected]>
Co-authored-by: fromorbonia <[email protected]>
Co-authored-by: VIS TFS Admin <[email protected]>
Co-authored-by: joracine <[email protected]>
Co-authored-by: Alexandre Viau <[email protected]>
Co-authored-by: Lennart Goedhart <[email protected]>
Co-authored-by: p5nbTgip0r <[email protected]>
Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: kskandispersonal <[email protected]>
Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>
Co-authored-by: Andras Feher <[email protected]>
Co-authored-by: Andy Feher <[email protected]>
Co-authored-by: bjornoleh <[email protected]>
Co-authored-by: Matt Gaide <[email protected]>
Co-authored-by: Lukas Herzog <[email protected]>
skibickipawel added a commit to skibickipawel/cgm-remote-monitor that referenced this issue Dec 25, 2020
* mgdl -> mg/dl

* Release ref update v2 (nightscout#5301)

* Updated release name and number

* Added missing version number

* Added missing version number

* Fix auth dialog sizing error (nightscout#5315)

* Fix auth dialog sizing error (nightscout#5314)

* Fix auth dialog sizing error

* Fix Client Init After Auth

(cherry picked from commit 1bf416c)

* update NS minor version

* Bump version to 13.0.2-dev

* fix some random test failures (nightscout#5341)

* fix some random test failures

* use typeof to test for existence

* Added support for asking delta

* Added time reference

* Made delta reading more informative

* Corrected time reference

* Try shortening the response

* Revert attempt

* Updated templates and documentation

* Minor improvement in response when delta is 0

* German translations improved and added (nightscout#5360)

* Fix Alexa Launch and SessionEnded Requests (nightscout#5377)

* Fix Alexa Launch Request

* Allow LaunchRequest to handle intent if set, change shouldEndSession from string to bool

* Fix SessionEndedRequest

* Fix nightscout#5149 - discord link on CONTRIBUTING.md doesn't do anything (nightscout#5380)

* Fix nightscout#5146 - display of treatment with only Fat and Protein set (nightscout#5381)

* Basic report page style fixes and updates (nightscout#5387)

* Add missing Polish translations and improve existing (nightscout#5382)

* Add missing Polish translations and improve existing

* Improve translations

* Addressed virtual assistant usage with Authentication Roles (nightscout#5388)

* Fix nightscout#5347 - Addressed auth roles

* Unification

* Fix timeago alarms (again). The changes to the rendered had an unintended consequence of triggering the timeago detection less frequently, causing the code to think the client has been hibernating, thus suppressing the alarms. The update changes the clock to be updated more frequently (this updating the hibernation detection), fixing the issue

* Remove the server side test

* Fix Graph Display Without Recent Devicestatus (nightscout#5409)

* Update Russian (nightscout#5415)

Corrected major and minor misprints and mistakes - particularly in variables, new translations added

* Add server teardown ability (nightscout#5410)

* adding teardown event to ctx.bus

* adding teardown support for mmconnect and bridge plugins

* Additional German Translations and corrections (nightscout#5405)

* Cleaned up changed translations

* Added Virtual Assistant Translations

* Fix nightscout#5188 - move predictions to bundle and don't render chart on predictions offset change (nightscout#5395)

* Fix nightscout#5188 - move predictions to bundle and don't render chart on predictions offset change

* Fix predictions show for day to day

* Move toolbar and authentication status to partial and include on each page (nightscout#5393)

* Move authentication status to partial and include on each page

* Move toolbar to partial

Co-authored-by: Sulka Haro <[email protected]>

* Virtual assistant code simplification (nightscout#5400)

* Moved duplicate plugin code to single location, and small improvements

* Defined _each()

* Pr/5379 (nightscout#5441)

* Release 13.0.1 (nightscout#5329)

* Release ref update v2 (nightscout#5301)

* Updated release name and number

* Added missing version number

* Added missing version number

* Fix auth dialog sizing error (nightscout#5315)

* Fix auth dialog sizing error (nightscout#5314)

* Fix auth dialog sizing error

* Fix Client Init After Auth

(cherry picked from commit 1bf416c)

* update NS minor version

* Added handlers and translations for CGM info

* Defined translate()

* Fixed sensor state reference

* Improved wording for tx age response

* Improved wording for session duration response

* Updated documentation and templates

* Updated README.md TOC and a reference to it

* Added CGM battery info

* Added unit reference to CGM battery levels

* Added handlers and translations for CGM info

* Defined translate()

* Fixed sensor state reference

* Improved wording for tx age response

* Improved wording for session duration response

* Updated documentation and templates

* Updated README.md TOC and a reference to it

* Added CGM battery info

* Added unit reference to CGM battery levels

* Updated API reference in Google Home template

Co-authored-by: Caleb <[email protected]>

* Volunteer for Polish translations (nightscout#5396)

* Api3 output renderers (nightscout#5425)

* APIv3: adding framework for various output renderers

* APIv3: adding xml output renderer

* APIv3: adding csv output renderer

* APIv3: documenting supported output renderers

* APIv3: testing output renderers

* Restore glucose distribution test (nightscout#5434)

* Increase coverage of tests on units utility and clean up timeago test (nightscout#5435)

* Increase coverage of tests on units utility

* clean up timeago test

* Refactor to encapsulate duplicated settings logic (nightscout#5426)

* Encapsulate duplicate settings checks inside functions

* Simplify settings::isAlarmEventEnabled()

* Send coverage reports to Codacy (nightscout#5444)

* Send coverage reports to Codacy

* Action secrets may not be read from forks :(

* Let's see if this fixes the path & key passing

* Ok one more try for the Actions env

* Run tests and coverage separately

* Try increasing the admintools test runtime for Node 10

* Run tests only once

* Resolve unnecessary uses of eslint-ignore (nightscout#5436)

* Resolve unnecessary disabling of no-undef eslint rule

* Resolve unnecessary disabling of no-prototype-builtins eslint rule

* Resolve unnecessary disabling of no-unused-vars eslint rule

* Resolve unnecessary disabling of no-empty eslint rule

* Fix eslint errors and add npm script for eslint (nightscout#5427)

* re-enable auth check for device status routes

* Resolve eslint errors

* Add npm script for eslint

* Correct regex for express extension middleware and add tests for expected behaviour

* Resolve lint error in virtual assistant base

* Update index.js

* Update index.js

* Remove redundant checks on entry ID (nightscout#5440)

* Run CI Action for Pull Requests

* Update DayToDay report for Loop Overrides (nightscout#5452)

Add Loop override name/reason as text to the grey bar at the top of the graph.

* Fix earlier merge error with predictions having moved to the report bundle

* fix brushing loop (nightscout#5499)

* Update README.md (nightscout#5480)

Clarified that the "bridge" plugin is for Dexcom Share ("Dexcom" didn't appear at all in the read me), fixed a few typos, and added line 444 about the BRIDGE_SERVER variable.

* Added period of days into headline of glucose distribution and percen… (nightscout#5428)

* Added period of days into headline of glucose distribution and percentil chart report

I make screencopies of the glucose distribution and percential chart report for my diabtes consultant and had to manually add the period of days to the report everytime because it was not shown in the report itself.
I added the period of days this with a small number of lines of code and think this is helpful for other too.

* removed comments as requested

removed comments as requested

* Camelcase for new variables reportPlugins, firstDay, lastDay, countDays

* forget to save the change of reportPlugins in percentile.js

* Move app caching to a service worker (nightscout#5504)

* Move app caching to a webworker

* Code cleanup

* Code cleanup

* Make Codacy happy

* More parentheses

* Added indexes to 'entries' and 'treatments' along with other updates (nightscout#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.

* Fix: Round interporlated mg/dL value to an integer

* Plugin to show database size (% of available space or in MiB) (nightscout#5496)

* Database size plugin - pill that displays current mongoDB database size

* Enabled dbsize by default

* Fixed bug with dbsize not shownig when size is (rounded) 0% but real bytes > 0

* Cleanup & update to iconfont generation manual

* Changed how warning/urgent levels are configured - from absolute MiB to percentage of DBSIZE_MAX

* Trying to fix random fail of APIv3 tests (nightscout#5519)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* client - mobile - Axis label font is scaled on small screens (nightscout#5512)

On phones or other small screens, the axis labels (especially x axis)
were previously an unreadable jumble of too-close letters

* Split view (nightscout#5518)

* Adds a 2, 3, 4 and 8 way split view option

* Updated description

* Generate the table on demand, so any number of sites from 1 to 8 generates a sensible layout

* Update readme & don't crash if a name is missing

* Allow flagging specific settings to be not exposed the /properties and /status APIs (nightscout#5525)

* Add more variables to the special list

* [DEV][FIX] Fix dbsize plugin to make it hideable again (nightscout#5529)

* [FIX] Making dbsize plugin default but hideable - removed its forced show state

* Removed unused lodash dependency

* Removed duplicate if statement (nightscout#5531)

Removed the additional if statement checking for the loop specific developer team id. This since the exact same if statement existed just above it.

* Update Dutch translations (nightscout#5532)

* Fix settings test

* Update version to 13.1.0

* Fix topbar collapse on small screens (nightscout#5562)

* Fix top bar collapsing on small screens

* Fix wide button array overflowing the button bar

* Option to switch off bolus amount outputs (nightscout#5522)

* Option to switch off bolus amount outputs (nightscout#5514)

* Fixing issue with carb value not be output when set to "none" (nightscout#5514)

* Adding additional output options (nightscout#5514)

* Adding environment variable option for 'x U and Over' option.

This option is BOLUS_RENDER_OVER with a default value of 1 and the value can be an integer or a float, e.g. 0.3, 1.5, 2, etc...

* Adding change to change the font size depending on the bolus value.

* Merge two "all" options to create an option that displays as SMB had.

* Fix d3 portrait to landscape brush failure (nightscout#5638)

* fix d3 portrait to landscape brush failure

* fix client.renderer.test for highlighBrushPoints function prototype change

* fix highlightBrush

* move brush reset inside check for valid brush

* Sanitize data from manual careportal entries so only fields with actual data are sent to the server (nightscout#5619)

* do not redirect to profile editor by default (nightscout#5671)

In a default configuration, there is no treatment data.  The code to redirect
the UI to the profile editor is buried deep within the chart rendering code for
basals.  This plugin is only supposed to go into action when enabled via
ENABLE=basal.  This commit fixes first-use experience for the default
configuration intended to draw real-time CGM traces and no basal information is
expected.  Since no basal information is expected unless plugin is enabled via
ENABLE=basal, this allows skipping instead of redirecting to the profile editor.

* Fix Issue nightscout#5486 - Device Status Days Feature (nightscout#5651)

* Device Status Days Feature

* Edits per review from @sulkaharo

* Configurable clock views (nightscout#5625)

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Configurable clock views

* Update README.md

* Update README.md

* Configurable clock views

* Add remote bolus/carbs + otp entry for loop (nightscout#5598)

Add a remote bolus entry field for users on Loop, along with support for an OTP field

* Sometimes at the very start no profiles provided. (nightscout#5591)

At the first start the nightscout is crashed if profile not full.

* Fixes nightscout#4991 - Now selects basal profile based day by day (nightscout#5572)

* Test profile settings

* NPM Version change

* Use console log

* Use console log for client

* Use console log for client.sbx

* Use console log for client.ddata

* Use console log for client again

* revert

* Added multi-profile reporting capabilities

Co-authored-by: VIS TFS Admin <[email protected]>

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* hotfix attempt 2 - carelink 2020 sso updates

* hotfix 3 - attempt 3 at carelink 2020 sso updates

* attempt 4 at hotfix for nightscout

Based on more reliable version of minimed-connect-to-nightscout....
This is testing the hotfix.  When it works, we will bump this one more
time with the newly released version.

* hotfix 5 - incorporates latest axios changes

* Fix for boluscalc issue (nightscout#5729)

Boluscalc fix & remove integer validation from BG input field

* npm install --save minimed-connect-to-nightscout@^1.4.0

* Change DISPLAY_UNITS to use readENV's default value and added several tests for DISPLAY_UNITS (nightscout#5708)

readENV() was hard coding the default value of DISPLAY_UNITS, and
ignoring the default value for no particular reason. Fixed that. Also, I
added a full test suite for DISPLAY_UNITS environment settings to make
sure that it works as intended. Finally, I've added the console log for
the DISPLAY_UNITS since there's no particular reason why we log that setting
and not others.

* Fix audit errors, button order (nightscout#5694)

* * Update packages giving npm audit errors
* Fix Mongo test that broke after update (now uses async/await on getting the connection)
* Restore original navigation bar button order

* Disable Node 10 tests

* Fix temporary target cancellation

* Added documentation on the use of Alpha Testing (nightscout#5784)

* Wip/bewest/mmconnect eu (nightscout#5731)

* prepare hotfix for MMConnect/EU - 2020-06-28

Prepare to handle issue nightscout#5719.  This patch adjusts dependencies to
target a community edition fork of minimed-connect-to-nightscout.  The
new dependency targets information provided to begin addressing
changes to Medtronic Carelink services starting late June 2020.

* bump pointing at right tag

* hotfix attempt 2 - carelink 2020 sso updates

* hotfix 3 - attempt 3 at carelink 2020 sso updates

* attempt 4 at hotfix for nightscout

Based on more reliable version of minimed-connect-to-nightscout....
This is testing the hotfix.  When it works, we will bump this one more
time with the newly released version.

Co-authored-by: Sulka Haro <[email protected]>

* * Updated several packages to remove issues from NPM audit
* Fix excess logging in settings.js
* Removed heapdump package, which was causing issues for some users

* * Limit the default number of profiles returned by the API to fix issues with users who are syncing a large amount of profiles from an APS.
* Fix profile reporting

* Upgrade Helmet to 4.0.0

* CSP and service worker improvements (nightscout#5856)

* Add connectSrc for Safari compatibiity
* Add new font URL for Google Fonts compatibility
* Reload on re-registering the worker
* Change Mongo version in github to fix builds

* Serve the CSP to everyone

* Split view CSP support (nightscout#5864)

* Parse split view frames into frameAncestors

* Re-enable CSP configuration (nightscout#5867)

* Re-enable CSP configuration

* Bump share2nightscout-bridge plugin

Use latest update from share2nightscout bridge to
make things easier.  It contains an updated
default for OUS users.

* feat Add robots.txt to disallow site crawling

* Fix dbsize for usage with Atlas (nightscout#5962)

* Openaps performance improvement (nightscout#5945)

* improve openaps plugin performance

* more performance improvements

(cherry picked from commit 076a2dd)

* correct setting notEnacted variable

* remove unnecessary debug logging

* Adapt to MongoDB Atlas (nightscout#5893)

* Fix Issue nightscout#5763 - Change $.ajax to /api/v1/profile (nightscout#5704)

* Bug fixes for Service Worker (nightscout#5970)

* Fix service worker refresh for Firefox

* Improve logging for service worker initialisation

* Skip browser cache for service worker precaching

* Prevent `Partial Content` responses in `fetch` by stripping `Range` header

* Prevent calling `filter` on an undefined property when service worker cache is empty

* Bug fixes for Service Worker

*    Fixes nightscout#5920
*    Fixes nightscout#5943

* Update service-worker.js

Removed the MP3 files from the preload to fix issues with webkit-based browsers

Co-authored-by: p5nbTgip0r <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Optimize Nightscout database usage (nightscout#5947)

* On periodic polls, only load delta for CGM data, treatments and device statuses
* Serve basic CGM data API queries from in-memory cache. Increases the Nightscout memory footprint but should significantly reduce the Mongo load
* Serve device status, CGM and treatment records from memory cache
* Support count parameter in /profile

* Bumping version to 14.0.0 given this is a relatively large update and we want people on Atlas to all migrate to this version

* Remove logging statements

* fix brushing recursion

* Normalize treatments to support absolute doses from the amount field

* Add Loop Carbs foodType, absorptionTime to Reports for ISSUE nightscout#5701 (nightscout#5702)

* add carb foodType, absorptionTime to reports

* Update README to point to new docs

* Fix `Treatments` report for `mmol/L` users

Fixed a typo to a client function name

* Bump version to 14.0.1

* Bump dev to 14.0.2

* Serve Last-Modified header for the service worker to help with some browsers misdetecting caching

* Cleaned old appcache references

* * Remove unnecessary logging to help with Papertrail limits
* Load more treatments and entries to fix caching issues (need to add better cache invalidation to really fix this)

* When merging inserts and updates from the database, ensure we always use the new data over the old data

* Bump treatment delta loading to four hours

* One more increase to treatment load time to cover long overrides

* * Bump version to 14.0.3
* Fix a bug in the REST API query for profiles

* Bumped up the number of treatments loaded / day for reporting

* Fix reports unit test

* Bump treatments default limit default to 1000 objects for queries that include other query parameters

* * Require created_at for Treatments on insert
* Refactoring the cache: moved to another file and support flushing from bus events

* Add support for CGM data and device statuses. Refactor dataloader to use the new model and reduce queries back down

* Fix data order for REST API

* * Add cache update events to websocket API
* Remove the validation for created_at in REST API ;(

* Remove excess logging

* Bump version to .4

* Bump version to 14.0.5 and fix nightscout#6050

* Fix Pebble API detecting mmol units from settings

* Make settings parsing whitespace tolerant

* * Fix security test
* Change boot and caching to expose Mongo connection errors

* Don't report an error on every reconnect

* Less intimidating error page on start, which also checks for api_secret

* Add file missing from last commit

* Fix tests

* Remove require statement breaking deploys

* Update --feature-request--.md

* Update --bug-report.md

* Update --individual-troubleshooting-help.md

* Fix memory leak and cache update issues in 14.0.4 (nightscout#6133)

* Fix a memory leak in 14.0.4
* Fix linter error in ddata.js
* Move data retention periods to caching
* Update _id of inserted entries and device status so merging to cache works correctly
* Reset the data in ddata before updating
* Fix typo on entry cache retention period
* Have device status cache retention period follow configuration
* Fix _id injection in treatments

* Add error cat to error page

* Fix MONGODB_URI reference in error message

* Bump version to 14.0.6

* Support uploading device statuses in batches (nightscout#6147)

* Support uploading device statuses in batches
* Correctly report batch insertion results

* Make empty cache detection a bit more aggressive to account for cache flush and data insert happening concurrently

* * Bump version to 14.0.7
* Add onerror handler for pushover

* Update README.md

Explicitly link to the application template in Github

* Fixed nightscout#5852 - Updated Google Home setup steps (nightscout#6195)

* Fix broken swagger for APIv3 (nightscout#6201)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>

* Use lodash.get() in virtual assistant API endpoints (v2) (nightscout#6199)

* Fixed nightscout#5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths

* Corrected setup of `dbsize` for virtual assistants (nightscout#6270)

* Corrected db size config for virtual assistants

* Language fix, improvements, added dbsize to virtAsst config

* Using env

* Added logging

* Debug logging

* Different logging

* More troubleshooting

* Another try

* Reverted stuff, added dbsize to server defaults

* Fixed test

* Fixed another test

* Create config.yml

* Delete --individual-troubleshooting-help.md

* Update config.yml

* Fix batch (nightscout#6248)

* Use the delta plugin data to show the delta in the clock views
* Update Node checks
* Fix disabling the BG alarms for simple alarms
* Load battery and other rare events up to two months back
* Possibly fixes compatibility with ios9 - needs testing
* Unified black and color clock layouts
* Update clock data every 20 seconds
* Update clock time every second
* Fix how CSP policy is set for Helmet, fixes nightscout#6260
* Authorization fix for misformatted URLs
* Added unit test for batch upload of CGM entries
* Improved / removed some logging
* Test if user is in read only mode when Nightscout starts and give an error if so

* Adding Hungarian translation to nightscout (nightscout#6037)


* Finished first round of translation for Hungarian language

* Added hungarian language to the readme file

* Fixes

* WIP

* Typo fixes and changes to translations

* Update language.js

Fixed some mistyped language keys

Co-authored-by: Andy Feher <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Update language.js (nightscout#6193)

Isfjell -> Istapp

Co-authored-by: Sulka Haro <[email protected]>

* nightscout#5991 Typo in translation (nightscout#6217)

Co-authored-by: Sulka Haro <[email protected]>

* add missing translations (nightscout#6346)

Co-authored-by: Sulka Haro <[email protected]>

* Updated Alexa's intents because Amazon required new ones yet again. (nightscout#6457)

* Add runtime state tracking to Nightscout, where client now checks if the server has loaded initial data from Mongo before the user is directed to the UI

* Add file missing from previous commit

* Update app.json

* Fix unit tests

* Fix the read detection to work correctly with MongoDB Atlas

* * Added basal and careportal to default plugins
* Changed report BG target to allow fractional numbers

* Increase load interval to 5 seconds

* Create codeql-analysis.yml

Co-authored-by: AdrianLxM <[email protected]>
Co-authored-by: Caleb <[email protected]>
Co-authored-by: inventor96 <[email protected]>
Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>
Co-authored-by: Tanja <[email protected]>
Co-authored-by: Bartłomiej Szubert <[email protected]>
Co-authored-by: Andrew Dixon <[email protected]>
Co-authored-by: fedor apanasenko <[email protected]>
Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Lukas Herzog <[email protected]>
Co-authored-by: Jakob <[email protected]>
Co-authored-by: jonfawcett <[email protected]>
Co-authored-by: Jonas Hummelstrand <[email protected]>
Co-authored-by: peterleimbach <[email protected]>
Co-authored-by: Adam Harrison <[email protected]>
Co-authored-by: Dominik Dzienia <[email protected]>
Co-authored-by: stephencmorton <[email protected]>
Co-authored-by: Simon Persson <[email protected]>
Co-authored-by: Cas Eliëns <[email protected]>
Co-authored-by: Ben West <[email protected]>
Co-authored-by: Matthew <[email protected]>
Co-authored-by: ireneusz-ptak <[email protected]>
Co-authored-by: josep1972 <[email protected]>
Co-authored-by: Bluefox <[email protected]>
Co-authored-by: fromorbonia <[email protected]>
Co-authored-by: VIS TFS Admin <[email protected]>
Co-authored-by: joracine <[email protected]>
Co-authored-by: Alexandre Viau <[email protected]>
Co-authored-by: Lennart Goedhart <[email protected]>
Co-authored-by: p5nbTgip0r <[email protected]>
Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: kskandispersonal <[email protected]>
Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>
Co-authored-by: Andras Feher <[email protected]>
Co-authored-by: Andy Feher <[email protected]>
Co-authored-by: bjornoleh <[email protected]>
Co-authored-by: Matt Gaide <[email protected]>
Co-authored-by: Lukas Herzog <[email protected]>
jozzi05 added a commit to jozzi05/cgm-remote-monitor that referenced this issue Feb 20, 2021
* * Bump version to 14.0.7
* Add onerror handler for pushover

* Fixed #5852 - Updated Google Home setup steps (#6195)

* Fix broken swagger for APIv3 (#6201)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>

* Use lodash.get() in virtual assistant API endpoints (v2) (#6199)

* Fixed #5632 - Improved value resolution

* More value resolution improvements

* Fixed a couple object paths

* Corrected setup of `dbsize` for virtual assistants (#6270)

* Corrected db size config for virtual assistants

* Language fix, improvements, added dbsize to virtAsst config

* Using env

* Added logging

* Debug logging

* Different logging

* More troubleshooting

* Another try

* Reverted stuff, added dbsize to server defaults

* Fixed test

* Fixed another test

* Fix batch (#6248)

* Use the delta plugin data to show the delta in the clock views
* Update Node checks
* Fix disabling the BG alarms for simple alarms
* Load battery and other rare events up to two months back
* Possibly fixes compatibility with ios9 - needs testing
* Unified black and color clock layouts
* Update clock data every 20 seconds
* Update clock time every second
* Fix how CSP policy is set for Helmet, fixes #6260
* Authorization fix for misformatted URLs
* Added unit test for batch upload of CGM entries
* Improved / removed some logging
* Test if user is in read only mode when Nightscout starts and give an error if so

* Adding Hungarian translation to nightscout (#6037)


* Finished first round of translation for Hungarian language

* Added hungarian language to the readme file

* Fixes

* WIP

* Typo fixes and changes to translations

* Update language.js

Fixed some mistyped language keys

Co-authored-by: Andy Feher <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Update language.js (#6193)

Isfjell -> Istapp

Co-authored-by: Sulka Haro <[email protected]>

* #5991 Typo in translation (#6217)

Co-authored-by: Sulka Haro <[email protected]>

* add missing translations (#6346)

Co-authored-by: Sulka Haro <[email protected]>

* Updated Alexa's intents because Amazon required new ones yet again. (#6457)

* Add runtime state tracking to Nightscout, where client now checks if the server has loaded initial data from Mongo before the user is directed to the UI

* Add file missing from previous commit

* Update app.json

* Fix unit tests

* Fix the read detection to work correctly with MongoDB Atlas

* * Added basal and careportal to default plugins
* Changed report BG target to allow fractional numbers

* Increase load interval to 5 seconds

* Bump version to 14.0.8

* Create codeql-analysis.yml

* Revised Norwegian (nb) translations (#6525)

* Revised translation (nb)

Revised translation after a first pass through the Norwegian (nb) translation.

* Added missing translations in Day to day report

Missing translation of 'Bolus average , 'Basal average' and 'Base basal average' from daytoday.js

* Translate (nb) missing translations in Day to day report

* Minor changes Day to day report

* Missing translation from glucosedistributon.js of 

'Out of Range RMS is calculated by squaring the distance out of range for all glucose readings for the examined period, summing them, dividing by the count and taking the square root. This metric is similar to in-range percentage but weights readings far out of range higher. Lower values are better.')

* Translate (nb) Out of range RMS....

'Out of Range RMS is calculated by squaring the distance out of range for all glucose readings for the examined period, summing them, dividing by the count and taking the square root. This metric is similar to in-range percentage but weights readings far out of range higher. Lower values are better.'

* Translate (nb) Reports: Percentile Chart

* Reports - Treatments: Added missing translation of 'Carbs/Food/Time' from 

cgm-remote-monitor\lib\report_plugins\treatments.js

* Transkate (nb) Carbs/Food/Time

* Nitpicking

* Move localisation to Crowdin (#6518)

* Update Crowdin configuration file

* Update Crowdin configuration file

* Add languages for pushing

* Update Crowdin configuration file

* Update source file en.json

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Romanian)

* New translations en.json (Dutch)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Korean)

* New translations en.json (French)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* Remove folders

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Norwegian Bokmal)

* Update Crowdin configuration file

* New translations en.json (Spanish)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Italian)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Norwegian Bokmal)

* Loading all languages now works

* * Fix unit tests
* Have server load localizations

* Adding some more keys

* New Crowdin updates (#6531)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (Japanese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Croatian)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* Remove old translation status tool

* Update CONTRIBUTING

* * Reformat the source language file
* Fix an English key being in Hebrew

* One more tiny formatting fix

* Inzulin -> Insulin in English

* Fix typo in Portugues Brazilian language code

* New Crowdin updates (#6535)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Spanish)

* New translations en.json (German)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Dutch)

* Update source file en.json

* New translations en.json (German)

* New translations en.json (Dutch)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (Russian)

* New translations en.json (Czech)

* New translations en.json (Hungarian)

* New translations en.json (Russian)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Dutch)

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (French)

* New translations en.json (Greek)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Russian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* Update CONTRIBUTING.md (#6540)

regarding translation

Co-authored-by: Sulka Haro <[email protected]>

* Typo correction (#6558)

* Increased the width of the inlinepiechart to fit the Dutch translated legend (#6539)

* Refactor `mongo-storage.js`  (#6589)

* Refactor `mongo-storage.js`

* Use async/await instead of promises
* Fixes a bug in the previous implementation where a promise error was
  not being caught and handled

* Code cleanup

* Fixes the color changes based on BG target preferences in the clock views (#6592)

* Added some boot logging & allow booting using Node 14 LTS

* * Fix a bug with reloading while the server is starting
* Workaround for the plugins being re-executed multiple times in rapid succession during site load, causing timing issues

* Fix timing issue with a test using async, causing tests to randomly fail

* Refactor core auth (#6596)

* Auth resolve now supports async/await
* Read only tokens can be used for authentication and the UI shows privileges for these accounts correctly
* Failed attempt at authenticating an API_SECRET or token delays subsequent auth attempt by 5000 ms

* New Crowdin updates (#6567)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Spanish)

* New translations en.json (German)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Dutch)

* Update source file en.json

* New translations en.json (German)

* New translations en.json (Dutch)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (Russian)

* New translations en.json (Czech)

* New translations en.json (Hungarian)

* New translations en.json (Russian)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Dutch)

* New translations en.json (Romanian)

* New translations en.json (Korean)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Slovenian)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (French)

* New translations en.json (Greek)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Russian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Hebrew)

* New translations en.json (Hebrew)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hebrew)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hebrew)

* New translations en.json (Greek)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Swedish)

* New translations en.json (Swedish)

* New translations en.json (Russian)

* New translations en.json (Russian)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* Bump version to 14.1.0 given changes to auth and localization

* New Crowdin updates (#6640)

* New translations en.json (Hebrew)

* New translations en.json (German)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Russian)

* New translations en.json (Russian)

* Fix applying localizations to plugin names in client preferences

* * Refactor how the levels dependency is loaded, to fix some localization issues
* Moves reporting client to the bundles

* Oops, push the unit test changes as well

* Fix pushover init

* Fix pushover test

* New Crowdin updates (#6652)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* New translations en.json (Greek)

* New translations en.json (Dutch)

* New translations en.json (Finnish)

* Various fixes to localization - #6516 #6523 #6524

* Test new dev version of minimed-connect-to-nightscout

Try out plugin with recent fixes, thanks to @fredmk.

* * More small localization fixes
* Change link to point to github.io docs

* Fix upbat.js levels reference

* Fix authorization renewal

* New Crowdin updates (#6653)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* Update source file en.json

* New translations en.json (Czech)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Swedish)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Czech)

* New translations en.json (Romanian)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Russian)

* Add a missing localization, fix unit tests

* Fix a localization key

* Rename Weekly Success report to Weekly Distribution

* Fix a bug with auth calls that send a false API secret

* upgrade minimed-connect-to-nightscout 1.5.0

Update to version available in npm.

* Replace Travis build with a GitHub Action (#6690)

* Create Docker release workflow for GA
* Remove Travis workflow
* Remove dependency on Makefile
* Update default environment to Node 14
* Use git SHA instead of version for `dev` images

* APIv3: Cache invalidation + refactoring (#6688)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

* APIv3: adding cachedCollection stub of cachedCollection storage implementation

* APIv3: mongo cachedCollection storage implementation

* APIv3: testing and debugging cache updates

* APIv3: more testing on cache updates

* APIv3: fixing bad async functions

* APIv3: finishing cache invalidation tests

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* New Crowdin updates (#6675)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* New translations en.json (Dutch)

* New translations en.json (Greek)

* New translations en.json (Romanian)

* New translations en.json (Finnish)

* Update source file en.json

* New translations en.json (Romanian)

* New translations en.json (Romanian)

* New translations en.json (Finnish)

* New translations en.json (Romanian)

* New translations en.json (Romanian)

* New translations en.json (Turkish)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* New translations en.json (Greek)

* New translations en.json (French)

* New translations en.json (Czech)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Romanian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Russian)

* New translations en.json (Finnish)

* New translations en.json (Czech)

* New translations en.json (Czech)

* Update source file en.json

* german translations template for googlehome integration (#6674)

Co-authored-by: tanja3981 <[email protected]>

* Added support for multiple uploaders in virtual assistant delta calculation (#6559)

* Added support for multiple uploaders in delta calculation

* Moved moment creation

* Moved delta stuff into bgnow plugin

* Typo

* Removed old implementation

* Removed accidental translations

* Added new translation key

* Removed duplicate translation key (#6699)

* New Crowdin updates (#6700)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* Update source file en.json

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Czech)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (German)

* * Additional unit test for the authorization API
* Stop logging the API SECRET

* * Bump version to 14.1.1
* Allow reducing timer length in delays for security tests

* Re-enable partial report test

* Security improvement batch (#6622)

* Adds a new method for the server to push notifies to the client, which require administration privileges from the user. If there are messages in queue but user is not privileged, she is notified of pending messages

* Fix unit tests

* Increase timeouts on tests

* Add translations

* * Aggregate admin messages
* Send admin message on auth fail
* Sending messages over bus
* XSS filtering of objects sent over the REST API

* Warn users if their instance is world readable

* Fix adminnotifies init()

* Fix couple issues from Codacy

* APIv3: wrapping all results in JSON (#6703)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

* APIv3: adding cachedCollection stub of cachedCollection storage implementation

* APIv3: mongo cachedCollection storage implementation

* APIv3: testing and debugging cache updates

* APIv3: more testing on cache updates

* APIv3: fixing bad async functions

* APIv3: finishing cache invalidation tests

* APIv3: wrapping VERSION result

* APIv3: wrapping STATUS result

* APIv3: wrapping DELETE result

* APIv3: wrapping READ result + partially SEARCH and HISTORY

* APIv3: wrapping CREATE result

* APIv3: wrapping UPDATE + PATCH result

* APIv3: wrapping LAST MODIFIED result

* APIv3: updating swagger doc

* APIv3: updating tutorial.md

* APIv3: tuning tests

* APIv3: merge dev

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* * Improved internal API for injecting values into localization keys
* Fix a hard to translate key that was split to two separate values

* Don't run docker push on forks (#6718)

Skip the docker push steps if the repo owner is not 'nightscout'.

* Cherry picking CI flow file so users don't get a CI build fail after merging to latest release

* Support pump status upload display override (#6698)

* Fix admin localization

* Clean statics & bundle more (#6745)

* * Remove unused old version of MFB
* Bundle food, profile editor
* Clean up the static folders

* Fix tests

* feat: disable pump battery alarms at night option (#5359)

* feat: add feature to disable pump battery alarms at night

* add timezone handling for server side

* Update pump.test.js

* Update pump.test.js

* Update pump.test.js

Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Add eslint security plugin (#5450)

Co-authored-by: Jakob Sandberg <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* Allow api3 behind reverse proxy (#5631)

* Allow api3 behind reverse proxy

* fix test

Co-authored-by: Sulka Haro <[email protected]>

* Move to package-lock, as per #5735

* New Crowdin updates (#6713)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (French)

* New translations en.json (Dutch)

* New translations en.json (Greek)

* New translations en.json (Swedish)

* New translations en.json (Czech)

* New translations en.json (Russian)

* New translations en.json (Romanian)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* New translations en.json (Romanian)

* New translations en.json (Hebrew)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Finnish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Croatian)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (Swedish)

* New translations en.json (German)

* New translations en.json (Russian)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Hungarian)

* New translations en.json (Dutch)

* New translations en.json (Hebrew)

* New translations en.json (Russian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Russian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Danish)

* New translations en.json (Portuguese, Brazilian)

* Implemented #6720 - Added es_ES template for Alexa (#6779)

* Added sensor code transmitter ID fields (#6780)

* Copied #5442 - Duplicated @c-robertson's work

* Added tx id and sensor code to tooltip

* Added swagger docs for the new fields

* Added missing language keys

* Added new fields to sage plugin display

Co-authored-by: Sulka Haro <[email protected]>

* #6701 Save report preferences (#6761)

Proof of concept to demonstrate saving report preferences

Co-authored-by: Sulka Haro <[email protected]>

* New Crowdin updates (#6769)

* New translations en.json (Russian)

* New translations en.json (Romanian)

* New translations en.json (Bulgarian)

* New translations en.json (Finnish)

* New translations en.json (Hindi)

* New translations en.json (French)

* New translations en.json (Swedish)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Italian)

* New translations en.json (Slovenian)

* New translations en.json (Slovenian)

* New translations en.json (Arabic)

* New translations en.json (Greek)

* New translations en.json (French)

* New translations en.json (Bulgarian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Bulgarian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (French)

* New translations en.json (Croatian)

* New translations en.json (Italian)

* New translations en.json (French)

* New translations en.json (Italian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (German)

* New translations en.json (Hebrew)

* New translations en.json (Italian)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Arabic)

* Catch error from websocket device status dedupe (#6777)

* Catch error from websocket device status dedupe

* Patch two more locations that don't catch errors correctly

* Changes the bundling so the site works on old Safari versions (#6800)

* Changes the bundling so the site works on old Safari versions

* Fix quotes

* Cache babel output for faster development

* Round insulin value in treatment tooltip (#6776)

* rename toFixedMin to toRoundedStr

* round the insulin value

* Typo correction for translation (#6805)

* #6701 Report storage tests (#6814)

* #6701 Report storage tests

Functional and unit tests

* #6701 Test cleanup

* #6701 js-storage teardown

The first time js-storage is required it evaluates if it's running in the browser or not: https://github.com/julien-maurel/js-storage/blob/master/js.storage.js#L423 and will define the localstorage getters and setters accordingly. This becomes an issue if testing localstorage between UI and non-UI tests. reportstorage.test.js was requiring it before hashauth.test.js causing a conflict.

* #6701 false positive test

The page isn't refreshing

Co-authored-by: Sulka Haro <[email protected]>

* Update mongo-storage.js (#6811)

- use default time outs
- remove MongoDB_URI (including user name and password) from public error message
- fix typos

Co-authored-by: Sulka Haro <[email protected]>

* Unit test teardown improvements (#6821)

* Clear module require()s between tests
Clear profile cache between tests

* Fix authentication for careportal test

* Add logging to see where the careportal test gets to

* Even more logging for headless setup

* Change to use before and after in careportal test

* Add time logging

* Bump headless setup time to a full minute

* More timers to figure out what's slow in GA

* Bump up timeout on failing test

* New Crowdin updates (#6804)

* New translations en.json (Hebrew)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Czech)

* New translations en.json (Hungarian)

* New translations en.json (Croatian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Russian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Bulgarian)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* replace deprecated bodyParser ctor (#6819)

Co-authored-by: Sulka Haro <[email protected]>

* Bolus settings (#6834)

* Add bolus plugin and restructure rendering settings

* Add setting to prevent automated micro boluses from triggering notifications and snoozing alarms

* clean up

* Small change to the bolus-settings branch so it supports flexible configuration that enables the old behavior

* Translations

* Fix settings default

Co-authored-by: Jason Calabrese <[email protected]>

* Added a specific rendering for BG Check events on the Day to Day report. (#6530)

Added an option to hide BG Check and other events on the Day to Day report.

Co-authored-by: Sulka Haro <[email protected]>

* New Crowdin updates (#6833)

* New translations en.json (Portuguese)

* New translations en.json (Spanish)

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* Update source file en.json

* New translations en.json (Finnish)

* New translations en.json (German)

* Refactoring organisation, bundling and security improvements (#6765)

* * Simplified bundling to just one bundle
* Removed cache invalidation token from bundling
* Generate strong persistent random string on deploy to use for JWT signing
* WIP: moving api-secret and JWT signing to a separate centralized security component
* Moved some server components away from project root
* Fix issues reported by linter

* Ignore detect-object-injection everywhere but the client

* Make admin message button red

* Remove alarms for some security alerts on code

* api_secret is now fully contained in the enclave

* Bump version to 14.2.0

* Fix Procfile, Dockerfile

* Revert to old token hash generation method

* Fix admin message localization, timer presentation

* * Fix #6843
* Don't do sync file access on requests to swagger files or service worker
* Adds an API test

* Add unit test for socket.io connect (#6845)

* Add unit test for socket.io connect

* Fix white space

* * Fix hard to understand loopalyzer localization key
* Fix websocket in unauthenticated cases

* Change authentication dialog button label to be more descriptive

* Remove duplicate key

* * Better unit test for admin notifications.
* Localisable API_SECRET warning
* Fix admin message time display when message is recent

* * Add Slovenian and fix Slovakian language code
* Hide Traditional Chinese due to low coverage
* Add Portuguese to the menu

* * Disabling tests that interfere with other tests
* Fix view include syntax
* Change Slovenian name to correct language

* Update webpack to v5 (#6844)

* upgrade webpack info

* cleanup eslint findings

* fix eslint formatter stylish error

* lazy is invalid option for webpack dev middleware

* upgrade webpack to 5.x

* remove unsupported terser option

* fix missing process polyfill dependency

* try alternate proces fix

* fix css image reference

* add statements to import missing css files to index.html

* TerserPlugin no longer required

* add missing css links

* remove terser

Co-authored-by: Jeremy Cunningham <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* New Crowdin updates (#6837)

* New translations en.json (Hebrew)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Spanish)

* New translations en.json (German)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Dutch)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Swedish)

* New translations en.json (Bulgarian)

* New translations en.json (Danish)

* New translations en.json (French)

* New translations en.json (Danish)

* New translations en.json (Greek)

* New translations en.json (Danish)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Russian)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* New translations en.json (Spanish)

* New translations en.json (Greek)

* New translations en.json (Russian)

* New translations en.json (Portuguese)

* New translations en.json (Portuguese)

* New translations en.json (Norwegian Bokmal)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* Update source file en.json

* New translations en.json (Japanese)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Spanish)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* New translations en.json (French)

* New translations en.json (Greek)

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* Update source file en.json

* Update source file en.json

* New translations en.json (Slovenian)

* Update source file en.json

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Portuguese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Slovak)

* Update source file en.json

* New translations en.json (Portuguese)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Greek)

* New translations en.json (French)

* New translations en.json (Portuguese)

* Fix issue reported by CodeQL

* Removes an undocumented feature that has a javascript injection vulnerability

* Fix bug with previous removal

* Reduce the amount of false positives reported

* Cgm delta fix (#6848)

* If CGM value has changed, push it to server

* Fix VScode overeager code add

* Merge updated CGM data into client dataset

* Fix form parsing

* Fix json decoding for some api endpoints

* Remove broken header definition

* Fix Brazilian Portuguese language code

* Use password entropy analysis for determining password strength

* Api3 remove Date header (#6855)

* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)

* removing unused async keyword

* fixing api v3 swagger and moving it to /api3-docs

* APIv3: finishing cache invalidation tests

Co-authored-by: Petr Ondrusek <[email protected]>
Co-authored-by: Petr Ondrůšek <[email protected]>
Co-authored-by: Sulka Haro <[email protected]>

* New Crowdin updates (#6849)

* New translations en.json (Greek)

* New translations en.json (Dutch)

* New translations en.json (Swedish)

* New translations en.json (Russian)

* New translations en.json (Russian)

* New translations en.json (Greek)

* New translations en.json (Portuguese)

* Notify users if they're reusing the API_SECRET for Mongo password

* Fix version number generation

* New Crowdin updates (#6858)

* New translations en.json (Greek)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (Hebrew)

* New translations en.json (Japanese)

* New translations en.json (Portuguese)

* New translations en.json (Arabic)

* New translations en.json (Hindi)

* New translations en.json (Croatian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Slovenian)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (German)

* New translations en.json (Danish)

* New translations en.json (Czech)

* New translations en.json (Bulgarian)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Greek)

* New translations en.json (Slovak)

* Update source file en.json

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Greek)

* New translations en.json (Swedish)

* New translations en.json (Russian)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Czech)

* New translations en.json (Danish)

* New translations en.json (Portuguese)

* New translations en.json (German)

* New translations en.json (Dutch)

* New translations en.json (Polish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Polish)

* New translations en.json (Romanian)

* New translations en.json (Romanian)

* New translations en.json (Greek)

* New translations en.json (Finnish)

…
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

No branches or pull requests

3 participants