* 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 <jason@cbrese.com>
* 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 <sulka@sulka.net>
* 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
* 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
* 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
* 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 https://github.com/nightscout/cgm-remote-monitor/issues/5920
* Fixes https://github.com/nightscout/cgm-remote-monitor/issues/5943
* Update service-worker.js
Removed the MP3 files from the preload to fix issues with webkit-based browsers
Co-authored-by: p5nbTgip0r <cb3f02c5@opayq.com>
Co-authored-by: Sulka Haro <sulka@sulka.net>
* 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
* Option to switch off bolus amount outputs (#5514)
* Fixing issue with carb value not be output when set to "none" (#5514)
* Adding additional output options (#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.
* Revert "change default back to 3HR"
This reverts commit e60ff3aa9d.
* shorten HR to H to avoid line-wrapping on mobile
* try larger label font: 35 instead of 25 (vs. 40)
* add comma
* deviceInfo.recent null check
* default back to 3, w/ 4 as an option
* re-add H to single-digit hours
* * Don't use cache manifest all all for development
* Add 4 hours option to view and change the labelling to remove language issues
* Have page scale the minor pill widths more gracefully
* (bluefox) add npmignore
* Make it runnable as npm package
* (bluefox) use absolute path for static folder
* Allow start not only from cgm-remote-monitor
* (bluefox) add polling option to make it possible the communication without socket.io
* 0.12.3-2
Allow slow communication without socket.io
* (bluefox) fix errors
* (bluefox) fix clock with authentication
* (bluefox) fix clock
* fix time
* Formatting
* Fix clock if authentication is enabled
Add .npmignore file
* Add time to clock view back
* Formatting
* Fix authentication dialog
Take browser language for auth dialog
* Select browser language for authentication dialog
Make authentication dialog bigger to suit for other languages.
* Update hashauth.js
* Update hashauth.js
* Update hashauth.js
* Update hashauth.js
* (bluefox) fix chart if no latestSGV defined
* Select language from localStorage
And get suitable language for the very first auth dialog (before the settings were read from server or user can select language in the configuration)
* Fix language selection
* Charts were fixed if no latestSGV value found
HTML formatting for "TDD average" and so on
* Remove .npmignore
* Some code formatting. No relevant changes
* Show "-?-" in clock mode if no measured value found.
* Small CSS Formatting
* HIDE_CLOCK_CLOSEBUTTON setting to hide the button altogether (set to TRUE or ON to hide buttons altogether)
* Fix CSS for toolbar positioning in the main view
* Fix documentation on the clock URLs and add mention of the setting
* * Full refactor of the clockface code. Clocks now get their own small javascript bundle that contains the bare minimum client (from /lib/client/clock-client.js)
* Clocks no longer have separate HTML files but each has unique CSS definitions
* Fixed the bug where a finger measurement showed NaN in the clock
* Update shrinkwrap to match package.json
* Revert accidental index.html changes
* Bunch of minor fixes (#4641)
* Add triple arrows
* remove time
* grey arrows on bgclock
* try again on arrow fill
* Update bgclock.css
* fix double-mmol-conversion
* Update clock-client.js
* tabs to spaces everywhere
* Refactors based on Jason's comments
* Remove the clock bundle generation from app.js
* Change incompatible module and fix a memory leak in the process
* Fix fonts, allow websocket
* Oops fix a brainfart with using the hostname
* Don't inlude null hostname
* Update the shrinkwrap
* Instantiate new cache if new instance of profile code is created. Calculate IOB with three digit precision to keep tests happy (and this is roughly the precision we're operating at anyway).
* - implement @jweismann suggestions https://github.com/nightscout/cgm-remote-monitor/pull/4449#issuecomment-469868508
- add frameAncestors, baseUri and formAction protection
* update README and run doctoc
* fix reportOnly
* add objectSrc
* Use modern CSS loading
* Change CSS to use the "official" async loading across the board (which hopefully plays nicer with CSP)
* first release candiate for 0.11.2 with Minimed EU Server and Guardian Connect integration
- integrates https://github.com/mddub/minimed-connect-to-nightscout/pull/11 into Nightscout
* bump node 10 LTS version
* increase logging, fix /swagger.yaml
* fix typo
* set version to rc2, update mongodb to 3.2.2
* add SECURE_CSP_REPORT_ONLY (default false).
* npm update and revert to requiring Node versions without security issues.
* Remove Profile Editor toggle
`profile` isn't an optional plugin anymore; doesn't need this display toggle. (Plus it was erroneously toggling off in the absence of the `basal` plugin — see #4442.)
* Remove profilecontrol class
* Add protein and fat logging to CarePortal, simple sums to day to day reporting, grams in graphs
* Add fat and protein to swagger
* Fix aggregate report sometimes considering logged carbs, protein and fat as a string. Add editing of protein and fat to reports. Show protein and carbs on daily reports
* small doc fix to comments on Node versions
* Update README.md
* * Fixes authentication dialog UI on Mobile Safari
* Improves app cache busting, so after deploy the app is guaranteed to notice it has to reload content
* Small fix to Finnish language related to auth UI
* Fix Warning, Pump Battery Low Alarm cannot be disabled
* fix Clock Views language.js
* see if this will solve the problems with the speech plugin detection at the client
* fix dutch spelling
* translate Clock Views:
* disable again
* Update language.js
Having the regex require integers means that only the numeric keypad
will pop on iOS. This prevents the entry of negative values, which is
pretty critical for temp basals.