54 Commits
Author SHA1 Message Date
Ben WestandCopilot ca22e8d930 docs: fix MongoDB pool default values to match code
Actual defaults in lib/storage/mongo-storage.js:
- MONGO_POOL_SIZE: 5 (not 10)
- MONGO_MIN_POOL_SIZE: 0 (not 1)
- MONGO_MAX_IDLE_TIME_MS: 30000 (not 10000)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-17 14:36:34 -07:00
Ben WestandCopilot abb505b256 docs: add MongoDB pool settings and advanced test scripts
README.md:
- Add MONGO_POOL_SIZE, MONGO_MIN_POOL_SIZE, MONGO_MAX_IDLE_TIME_MS
  to Core section for production tuning

CONTRIBUTING.md:
- Add 'Advanced Test Scripts' section documenting:
  - test:stress for concurrent write testing
  - test:flaky variants for detecting flaky tests
  - test:timing for finding slow tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-17 14:28:02 -07:00
Ben WestandCopilot 551f6dfac6 docs: add test environment variables section to CONTRIBUTING.md
Document MongoDB pool settings and AUTH_FAIL_DELAY for test tuning.
Useful for CI or resource-constrained environments.

Refs: DOC-ENV-002

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-17 13:42:59 -07:00
Ben WestandCopilot 81393a4c1f docs: update Node.js requirements and add test documentation
- README.md: Update from Node 14/16 to Node 20+ (v22, v24 supported)
- README.md: Update MongoDB from 4.2/4.4 to 4.4+ (5.0, 6.0 supported)
- CONTRIBUTING.md: Add 'Running Tests Locally' section
- Document NODE_ENV=test requirement for safety
- Document npm scripts: test:unit, test:integration

Addresses DOC-NODE-001 and DOC-ENV-001 from release-15.0.7-documentation.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-17 13:02:12 -07:00
Ben West 24dfa43aa7 task: tidy example environment template
Move this away from project root and into docs area.
CONTRIBUTING file updated to match.
2021-02-18 10:53:31 -08:00
8367d00405 Update CONTRIBUTING.md (#6540)
regarding translation

Co-authored-by: Sulka Haro <sulka@sulka.net>
2020-11-23 12:13:37 +02:00
Sulka HaroandGitHub 4ace12594e 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
2020-11-17 14:17:17 +02:00
Bartłomiej SzubertandSulka Haro c49ea37db5 Volunteer for Polish translations (#5396) 2020-01-11 12:41:18 +00:00
Bartłomiej SzubertandSulka Haro 031c5beae7 Add missing Polish translations and improve existing (#5382)
* Add missing Polish translations and improve existing

* Improve translations
2020-01-01 11:21:38 +02:00
Bartłomiej SzubertandSulka Haro a4ce06ff68 Fix #5149 - discord link on CONTRIBUTING.md doesn't do anything (#5380) 2020-01-01 11:03:20 +02:00
Sulka HaroandGitHub dc414b72b1 Merge pull request #5213 from jakebloom/hebrew
More hebrew translations
2019-12-06 12:19:46 +02:00
Sulka HaroandGitHub c153a965bc Merge pull request #5137 from inventor96/update-virtual-assistants-v2
Update virtual assistants v2
2019-12-06 12:18:26 +02:00
Jake Bloom 4e48952d78 More hebrew translations 2019-11-16 17:37:14 -08:00
John WestonandSulka Haro 1b8dc27c19 Adding to #5121 (#5126)
* 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).
2019-11-10 21:48:56 +00:00
inventor96 67e6cddc4b Merge branch 'update-virtual-assistants' into update-virtual-assistants-v2 2019-10-21 14:24:58 -07:00
PieterGitandGitHub 36de82bffd Revert "fix/feat: Update Alexa integration and add Google Home support (#4980)" (#5131)
This reverts commit 30b88f6765.
2019-10-21 16:23:32 +02:00
CalebandPieterGit 30b88f6765 fix/feat: Update Alexa integration and add Google Home support (#4980)
* 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
2019-10-21 14:09:49 +02:00
OpossumGitandSulka Haro a9f89aa679 changed gitter shield to discord (#5121)
* 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
2019-10-21 08:54:45 +03:00
Tracey Berg-FultonandSulka Haro 5663dc5a74 Chore: Typo cleanup in CONTRIBUTING.md (#5053) 2019-10-09 23:07:58 +03:00
inventor96 90562a336d Yet another CONTRIBUTING fix 2019-09-07 20:21:28 -06:00
inventor96 ce00c945b0 One more time... 2019-09-07 00:25:29 -06:00
inventor96 3b183a2137 One more fix for CONTRIBUTING.md 2019-09-06 23:53:17 -06:00
inventor96 e36a6f1e16 Updates and fixes to CONTRIBUTING.md 2019-09-06 17:55:08 -06:00
PieterGitandGitHub 20823d3baa upgrade minimed-connect-to-nightscout to fix GuardianConnect for US servers (and update npm dependencies) (#4915)
* upgrade minimed-connect-to-nightscout to 1.30to  fix GuardianConnect for US servers,

see https://github.com/mddub/minimed-connect-to-nightscout/pull/13

* npm update to fix security issue

fixes https://nodesecurity.io/advisories/1118 (Arbitrary Code Execution in eslint-utils

* update to minimed-connect-to-nightscout 1.3.1

* fix typo and make more clear we don't release with insecure dependencies
2019-08-24 18:03:48 +02:00
Sulka HaroandGitHub 65fbaa18a3 Update CONTRIBUTING.md
Added a mention of INSECURE_USE_HTTP for development
2019-07-30 13:43:55 +03:00
Sulka HaroandGitHub 7947e30071 feat: API improvements (#4806)
* Use moment.js to parse dates, with better error messaging for unparseable dates

* Oops fix a bug here

* Add logging for unparseable dates

* Output a better error

* * Re-enabled heap dumps
* Improved API documentation
2019-07-29 17:20:49 +03:00
Sulka Haro e9576df740 Add documentation 2019-07-15 13:22:01 +03:00
Sulka HaroandPieterGit d73958de1b Fix CSP handling (#4449)
* 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.
2019-04-06 17:02:05 +02:00
OpossumGitandPieterGit 654be7b5a0 Croatian translation (#4349)
* Croatian (hr) translations

* typo correction in hr translation

* added myself to translation

* fix incomplete edit

* few Croatian translation enhancements
2019-03-05 20:57:00 +01:00
DiabetlumandPieterGit 219aea1551 @diabetlum added in the list (#4328)
Add @diabetlum as a maintainer for Türkçe / Turkish language
2019-02-24 23:14:44 +01:00
janrpnandPieterGit 3ee22d4221 Added janrpn as maintainer of the Danish language (#4379)
* Update CONTRIBUTING.md

Added myself as maintainer of the Danish language

* Revert "Update CONTRIBUTING.md"

This reverts commit 4864a672dc74444b8368a55e5ded5dec758126ad.

* Added myself as maintainer of the Danish language
2019-02-21 09:15:21 +01:00
Sulka HaroandGitHub ee92df243b Merge master to dev (#4273)
Merging changes made to Master since last release into Dev for a release
2019-02-07 22:23:42 +02:00
PieterGitandGitHub 85e6916dda fix contributors (#4260)
* fix typo in contributors

* fix typo
2019-02-05 01:09:18 +01:00
PieterGitandGitHub 4810819905 set version to release candidate 1: 0.11.0-rc1-20190205 (#4259)
* Tag matafiles with 0.10.3-master-20180805

* Fixes the site for iOS 9 and older

* Name too long, please switch back to BWP

* Create issue templates for NS repo

* Update CONTRIBUTING.md

Added notes on expectations on Pull Requests

* Update CONTRIBUTING.md

Added note on README updates

* Update CONTRIBUTING.md

Clarified plugins, bug fixing parts

* Update --bug-report.md

Adding auto-labeling of bugs with the bug label
2019-02-05 00:54:12 +01:00
PieterGitandGitHub 3ec966420a Merge pull request #4147 from LuminaryXion/patch-2
Add LuminaryXion as Japanese translator
2019-01-12 00:04:54 +01:00
LuminaryXionandGitHub e111b4c034 Added Japanese
Added Japanese and myself to the list of editors. :) Hope I got the details right!
2019-01-04 20:06:56 +09:00
LuminaryXionandGitHub 2c8aa05b72 Japanese!
Adding myself as a Japanese Translator. ^_^
2018-12-18 11:04:50 +09:00
Lukas HerzogandGitHub 39467154ee Adding me to list of translators 2018-11-21 22:49:12 +01:00
herzogmedia c0f43b3dba minor german language changes 2018-11-21 22:40:09 +01:00
Jeremy Cunningham b98084cd62 Add jpcunningh to some plugins in CONTRIBUTING 2018-11-17 21:03:09 -06:00
PieterGit 46dba2978c fix toc 2018-11-16 22:19:39 +01:00
PieterGit 04e932091d last fixes to CONTRIBUTING.md for tonight 2018-11-16 22:18:59 +01:00
PieterGit 779352dcbf make links to github profile 2018-11-16 22:05:47 +01:00
PieterGit 986e2bc8be add contributor table and rerun doctoc 2018-11-16 21:19:06 +01:00
Ryan Arneson 96de78a153 Grammar and typo updates. External links included where necessary. 2018-11-09 11:41:19 -06:00
Jason Calabrese 3d00e8a8ee fix conflicts from master to dev from last hot fix 2016-08-22 23:12:23 -07:00
Jason CalabreseandGitHub 810b0e3d87 Update CONTRIBUTING.md 2016-07-25 10:09:32 -07:00
Eric Martin 582ff889af Update CONTRIBUTING.md
Added a bullet to the style guide to use single quotes.
2016-04-04 21:46:10 -04:00
Jason Calabrese 889a16f1f1 add toc's to docs, some clean/organization 2015-06-30 00:06:19 -07:00
Jason Calabrese 40f9970206 Update CONTRIBUTING.md
corrected markdown
2015-06-21 16:14:25 -07:00