* * 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
* 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
* * 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
* 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.
* 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
* 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
* Fix clock if authentication is enabled
Add .npmignore file
* Add time to clock view back
* Formatting
* 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
* 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)
* remove extra `/ ` from clockview, otherwise bundle will not load and search for domain `bundle`
fixes https://github.com/nightscout/cgm-remote-monitor/pull/4860#pullrequestreview-277209223
* remove .npmignore for now.
should be merged in seperated PR
* small fixes
* 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
* Cherry picks the ES language changes from #4690
* Fix small issues found in linting
* * Fix all but one eslint complaint in the bundled code
* Add eslint and js-beautify rc files into the repo