The feature only handles the specific case where a UUID is sent as
the _id field itself. It does NOT affect:
- AAPS (uses 'identifier' field)
- xDrip+ (uses 'uuid' field)
- Loop carbs/doses (uses 'syncIdentifier' field)
Only affects:
- Loop overrides (_id: syncIdentifier.uuidString)
- Trio CGM entries (_id: UUID)
See docs/10-domain/client-id-handling-deep-dive.md for full analysis.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid implying all AID clients use the same pattern or that any
specific implementation is incorrect. Different clients have
divergent sync patterns - the feature accommodates this variety.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update default from false to true to enable AID client compatibility
out of the box:
- lib/server/env.js: readENVTruthy('UUID_HANDLING', true)
- README.md: Document UUID_HANDLING in Features section
- docs/example-template.env: Update comments, show true as default
Rationale:
- Loop, Trio, AAPS, xDrip+ use UUID sync patterns by default
- Before MongoDB 5.x, UUID _id didn't crash (just didn't CRUD properly)
- ObjectID users completely unaffected (quirk only triggers on UUID)
- Can set UUID_HANDLING=false for strict mode if needed
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
add NodeJS 16.x support.
drop NodeJS 12.x support.It reached End-of-Life status on 30 April 2022
allow NodeJS 18.x support to run for CI
upgrade webpack and webpack-cli
update browserlist and browser documentation, config is now at .browserslistrc
update README.md for browsers and Node versions
fix typos in comments in lib/client/hashauth.js and webpack/webpack.config from https://github.com/nightscout/cgm-remote-monitor/pull/7440
setup.sh appears to be a developer utility to assist in bootstrapping a debian
based system. It is intended to help install the dependencies needed to run
node, and not used in any automated deploy pipeline.
Instructions have been updated to suite this change which simply moves the
developer tool out of the project repo and into the bin subdirectory.
This change seeks to continue tidying up the repo.
* The database_configuration.json file is not used and has not been used since
the project was published on github. We remove the ability to look at files
inside the source tree for database credentials.
* Move example-profiles.md to the relevant documentation for plugins area and
update the link to match.
* 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>
* 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 <jpcunningh@gmail.com>
Co-authored-by: Sulka Haro <sulka@sulka.net>
* 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 <andras.feher@smildonis.com>
Co-authored-by: Sulka Haro <sulka@sulka.net>
* 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
* 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
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.
* Release 13.0.1 (#5329)
* Release ref update v2 (#5301)
* Updated release name and number
* Added missing version number
* Added missing version number
* Fix auth dialog sizing error (#5315)
* Fix auth dialog sizing error (#5314)
* Fix auth dialog sizing error
* Fix Client Init After Auth
(cherry picked from commit 1bf416c3bb964ed555850c3fc55977d69980b8e5)
* 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 <inventor96@users.noreply.github.com>
* Read BG targets in using mmol when server is in mmol mode
* Change the Heroku template to match the new logic
* Deal with mmol targets being set using commas
* rename xdrip-js to xdripjs
* update readme for xdrip-js name change
* update from CGM to XDRIPJS label
* change label from all caps to mixed case for xDripJS
* change pill label back to CGM
* mmol/L wording tweak in Readme
* Various wording & clarity tweaks in the Readme
* Heroku template update to reflect mmol allowance tweak
* Update README.md
* Update minimum device requirements
Ran some proper browser test suites, determined actual minimum specs for the main site.
* changed gitter shield to discord
* changed discord shield text to discord chat instead of just chat
* changed gitter shield to discord
* need to fix my md error
* Update CONTRIBUTING.md
Few more tweaks
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
* Update README.md
Change Discord URL to be an invite link instead of a direct link to the channel (which doesn't work if you're not already in it).
* Copied work done by mdomox
* Updates and fixes to CONTRIBUTING.md
* Spacing unification
* One more fix for CONTRIBUTING.md
* Minor code formatting improvements
* One more time...
* Renamed Alexa stuff to virtAsst for generic-ness
* Corrected missed translate() text
* Updated googlehome plugin to mimic the alexa plugin
* Changed order of operations
* Fixed parameter referencing in googlehome
* Yet another CONTRIBUTING fix
* Removed extra google stuff
* Migrated standalone intents to MetricNow intent
* Simplified route handling
* Added logging
* Added forgotten path selector
* Separated instructions for adding virtual assistant support in a plugin
* A few typo fixes
* Improved logging
* Updated Google Home plugin instructions
* Attempt to trigger download of template file
* Small wording tweaks
* Updated Alexa plugin documentation
* Updated test files
* Re-added handler count tests so devs are prompted to write tests for new handlers
* Updated Alexa documentation
* Small typo fix
* Clarification
* Further clarifications and typos
* Added language info to Google Home plugin doc
* URL correction
* URL fix v2
* Wording clarification
* Ugh...
* Minor instruction fix
* Sub steps fix
* Fixed Alexa references in Google Home
* Added a couple steps for improved user experience
* One more forgotten step
* Updated pump reservoir handler to handle undefined values
* Updated titles and unknown-value responses
* Modified forecast responses to use translate()
* Updated tests
* Improved training phrases
* Wording improvements
* Google Home setup instruction corrections
* Corrected how metric selection is found
* changed gitter shield to discord
* changed discord shield text to discord chat instead of just chat
* changed gitter shield to discord
* need to fix my md error