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

#11 #11

Merged
merged 466 commits into from
Feb 19, 2022
Merged

#11 #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
466 commits
Select commit Hold shift + click to select a range
7c3ab00
Fix pushover init
sulkaharo Dec 14, 2020
d81e342
Fix pushover test
sulkaharo Dec 14, 2020
9e3d9a6
New Crowdin updates (#6652)
sulkaharo Dec 14, 2020
0a2fee8
Various fixes to localization - #6516 #6523 #6524
sulkaharo Dec 15, 2020
b09e463
Test new dev version of minimed-connect-to-nightscout
bewest Dec 16, 2020
8c59de8
* More small localization fixes
sulkaharo Dec 17, 2020
2eb9cf8
Merge branch 'dev' into wip/bewest/mmconnect
bewest Dec 18, 2020
4bdd271
Fix upbat.js levels reference
sulkaharo Dec 21, 2020
edfcf6e
Fix authorization renewal
sulkaharo Dec 21, 2020
0a15938
New Crowdin updates (#6653)
sulkaharo Dec 21, 2020
2c30b64
Add a missing localization, fix unit tests
sulkaharo Dec 21, 2020
92cc12e
Fix a localization key
sulkaharo Dec 22, 2020
4b98d35
Merge branch 'dev' into wip/bewest/mmconnect
bewest Dec 22, 2020
186e978
Rename Weekly Success report to Weekly Distribution
sulkaharo Dec 24, 2020
f36048d
Fix a bug with auth calls that send a false API secret
sulkaharo Dec 27, 2020
fc9fd34
upgrade minimed-connect-to-nightscout 1.5.0
bewest Dec 30, 2020
e3784ea
Merge branch 'dev' into wip/bewest/mmconnect
bewest Dec 30, 2020
76f198a
Merge branch 'wip/bewest/mmconnect' of github.com:nightscout/cgm-remo…
bewest Dec 30, 2020
411463e
Replace Travis build with a GitHub Action (#6690)
pazaan Jan 1, 2021
6b28a14
APIv3: Cache invalidation + refactoring (#6688)
PetrOndrusek Jan 1, 2021
923cdad
New Crowdin updates (#6675)
sulkaharo Jan 1, 2021
405eb0d
german translations template for googlehome integration (#6674)
tanja3981 Jan 1, 2021
773f89e
Added support for multiple uploaders in virtual assistant delta calc…
inventor96 Jan 2, 2021
3c61266
Removed duplicate translation key (#6699)
inventor96 Jan 2, 2021
82a9e18
New Crowdin updates (#6700)
sulkaharo Jan 4, 2021
46e4d17
* Additional unit test for the authorization API
sulkaharo Jan 4, 2021
3eeacc3
Merge pull request #6650 from nightscout/dev
sulkaharo Jan 6, 2021
b078394
* Bump version to 14.1.1
sulkaharo Jan 7, 2021
df6d9aa
Re-enable partial report test
sulkaharo Jan 7, 2021
914ba78
Security improvement batch (#6622)
sulkaharo Jan 7, 2021
cfdbaa8
APIv3: wrapping all results in JSON (#6703)
PetrOndrusek Jan 7, 2021
1351d35
* Improved internal API for injecting values into localization keys
sulkaharo Jan 8, 2021
22c0071
Don't run docker push on forks (#6718)
StephenBrown2 Jan 9, 2021
e893d73
Cherry picking CI flow file so users don't get a CI build fail after …
sulkaharo Jan 12, 2021
44c544a
Support pump status upload display override (#6698)
sulkaharo Jan 12, 2021
c0b96a7
Fix admin localization
sulkaharo Jan 14, 2021
647ed20
Clean statics & bundle more (#6745)
sulkaharo Jan 17, 2021
3ee90d6
feat: disable pump battery alarms at night option (#5359)
jpcunningh Jan 17, 2021
ccd591d
Add eslint security plugin (#5450)
jakobsandberg Jan 17, 2021
f6f7e18
Allow api3 behind reverse proxy (#5631)
MilosKozak Jan 17, 2021
1487269
Move to package-lock, as per #5735
sulkaharo Jan 17, 2021
175e21c
Merge branch 'master' into dev
sulkaharo Jan 17, 2021
8500a1b
New Crowdin updates (#6713)
sulkaharo Jan 17, 2021
5aa98ee
Implemented #6720 - Added es_ES template for Alexa (#6779)
inventor96 Jan 21, 2021
85aea0f
Added sensor code transmitter ID fields (#6780)
inventor96 Jan 26, 2021
d51a674
#6701 Save report preferences (#6761)
mg80 Jan 26, 2021
c1dce74
New Crowdin updates (#6769)
sulkaharo Jan 26, 2021
1372d0c
Catch error from websocket device status dedupe (#6777)
sulkaharo Jan 26, 2021
034eea9
Changes the bundling so the site works on old Safari versions (#6800)
sulkaharo Jan 26, 2021
c91ec78
Round insulin value in treatment tooltip (#6776)
bassettb Jan 26, 2021
cc873d8
Typo correction for translation (#6805)
inventor96 Jan 29, 2021
b188a2a
#6701 Report storage tests (#6814)
mg80 Jan 31, 2021
31e2010
Update mongo-storage.js (#6811)
philipgo Feb 1, 2021
04ca7b2
Unit test teardown improvements (#6821)
sulkaharo Feb 1, 2021
6587293
New Crowdin updates (#6804)
sulkaharo Feb 1, 2021
84ac8f7
replace deprecated bodyParser ctor (#6819)
bassettb Feb 1, 2021
d762694
Bolus settings (#6834)
sulkaharo Feb 2, 2021
6643eb9
Added a specific rendering for BG Check events on the Day to Day repo…
yodax Feb 2, 2021
3ab718c
New Crowdin updates (#6833)
sulkaharo Feb 2, 2021
d7e011d
Refactoring organisation, bundling and security improvements (#6765)
sulkaharo Feb 2, 2021
b3ccaf3
Bump version to 14.2.0
sulkaharo Feb 2, 2021
1c5a7e6
Fix Procfile, Dockerfile
sulkaharo Feb 2, 2021
2d6585d
Revert to old token hash generation method
sulkaharo Feb 3, 2021
f314707
Fix admin message localization, timer presentation
sulkaharo Feb 4, 2021
c65916c
* Fix #6843
sulkaharo Feb 4, 2021
5bc694d
Add unit test for socket.io connect (#6845)
sulkaharo Feb 4, 2021
8ac5c5a
* Fix hard to understand loopalyzer localization key
sulkaharo Feb 5, 2021
36dcf42
Change authentication dialog button label to be more descriptive
sulkaharo Feb 6, 2021
3230e59
Remove duplicate key
sulkaharo Feb 6, 2021
5bf4d51
* Better unit test for admin notifications.
sulkaharo Feb 6, 2021
157eddf
* Add Slovenian and fix Slovakian language code
sulkaharo Feb 6, 2021
bc188d9
* Disabling tests that interfere with other tests
sulkaharo Feb 6, 2021
1c34952
Update webpack to v5 (#6844)
jpcunningh Feb 7, 2021
ba8286f
New Crowdin updates (#6837)
sulkaharo Feb 7, 2021
4a9f492
Fix issue reported by CodeQL
sulkaharo Feb 8, 2021
ed4a9cb
Removes an undocumented feature that has a javascript injection vulne…
sulkaharo Feb 8, 2021
4cfe045
Fix bug with previous removal
sulkaharo Feb 8, 2021
3103af7
Reduce the amount of false positives reported
sulkaharo Feb 8, 2021
6a04452
Cgm delta fix (#6848)
sulkaharo Feb 8, 2021
4d4b7b8
Fix form parsing
sulkaharo Feb 8, 2021
ebb5814
Fix json decoding for some api endpoints
sulkaharo Feb 9, 2021
0653c1e
Remove broken header definition
sulkaharo Feb 9, 2021
b128002
Fix Brazilian Portuguese language code
sulkaharo Feb 9, 2021
271c7ad
Use password entropy analysis for determining password strength
sulkaharo Feb 10, 2021
a9ec65a
Api3 remove Date header (#6855)
PetrOndrusek Feb 10, 2021
83d7fb2
New Crowdin updates (#6849)
sulkaharo Feb 10, 2021
c24d0f9
Notify users if they're reusing the API_SECRET for Mongo password
sulkaharo Feb 11, 2021
9d2f9d4
Fix version number generation
sulkaharo Feb 11, 2021
3cd149f
New Crowdin updates (#6858)
sulkaharo Feb 14, 2021
3d3a8ff
* Only run CodeQL in NS repo (#6873)
sulkaharo Feb 15, 2021
37c7bf8
New translations en.json (Romanian) (#6869)
sulkaharo Feb 15, 2021
f9c5a7c
New Crowdin updates (#6874)
sulkaharo Feb 16, 2021
5936954
Merge pull request #6836 from nightscout/dev
sulkaharo Feb 16, 2021
9890770
* Bump version to 14.2.1
sulkaharo Feb 16, 2021
d42ef4b
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 16, 2021
02aabba
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 16, 2021
f086d36
Merge pull request #6878 from nightscout/crowdin_incoming
sulkaharo Feb 17, 2021
cbfae75
Merge pull request #6877 from nightscout/dev
sulkaharo Feb 17, 2021
067ebee
New translations en.json (Greek)
sulkaharo Feb 17, 2021
c06cf21
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 18, 2021
2f0f8ab
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 18, 2021
3200af6
* Bump dev to 14.2.2
sulkaharo Feb 18, 2021
d73de56
Fix adminnotifies test
sulkaharo Feb 18, 2021
22f4336
re-install server.js at root
bewest Feb 18, 2021
be183f5
include standard header for server.js at root.
bewest Feb 18, 2021
a42408b
task: clean repo root
bewest Feb 18, 2021
3bb4f6b
move script for repo maintenance aside
bewest Feb 18, 2021
5ae162c
task: clean project root
bewest Feb 18, 2021
5953f08
remove empty file from project root
bewest Feb 18, 2021
3149bf8
task: clean project root
bewest Feb 18, 2021
52cca32
task: tidy project root
bewest Feb 18, 2021
aa4dca7
task: tidy project root: webpack
bewest Feb 18, 2021
24dfa43
task: tidy example environment template
bewest Feb 18, 2021
f45e7b8
task: tidy ci test env away from project root
bewest Feb 18, 2021
8adda71
Merge pull request #6896 from nightscout/wip/bewest/dev
bewest Feb 18, 2021
8e553ea
New translations en.json (Hungarian)
sulkaharo Feb 18, 2021
37ca721
New translations en.json (Hungarian)
sulkaharo Feb 18, 2021
8f2d9cd
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
c340d7b
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
ad3fc3c
* Fix running the site in dev mode
sulkaharo Feb 19, 2021
fd26c77
New translations en.json (Hebrew)
sulkaharo Feb 19, 2021
79dbe7f
New translations en.json (Japanese)
sulkaharo Feb 19, 2021
6a60440
New translations en.json (Portuguese)
sulkaharo Feb 19, 2021
ebf64e9
New translations en.json (Arabic)
sulkaharo Feb 19, 2021
b6fea42
New translations en.json (Hindi)
sulkaharo Feb 19, 2021
7028d3a
New translations en.json (Croatian)
sulkaharo Feb 19, 2021
be592da
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 19, 2021
02034de
New translations en.json (Chinese Traditional)
sulkaharo Feb 19, 2021
b9fc189
New translations en.json (Chinese Simplified)
sulkaharo Feb 19, 2021
1991c2c
New translations en.json (Turkish)
sulkaharo Feb 19, 2021
0c9cacb
New translations en.json (Slovenian)
sulkaharo Feb 19, 2021
9b921c3
New translations en.json (Polish)
sulkaharo Feb 19, 2021
c51ce39
New translations en.json (Dutch)
sulkaharo Feb 19, 2021
941870e
New translations en.json (Korean)
sulkaharo Feb 19, 2021
5b0a87c
New translations en.json (Italian)
sulkaharo Feb 19, 2021
4f7ec46
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 19, 2021
84ee8f2
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
8acc5e5
New translations en.json (Finnish)
sulkaharo Feb 19, 2021
dc13d2d
New translations en.json (German)
sulkaharo Feb 19, 2021
850a9b4
New translations en.json (Danish)
sulkaharo Feb 19, 2021
6722805
New translations en.json (Czech)
sulkaharo Feb 19, 2021
93c4841
New translations en.json (Bulgarian)
sulkaharo Feb 19, 2021
ba6c17c
New translations en.json (Spanish)
sulkaharo Feb 19, 2021
d029726
New translations en.json (French)
sulkaharo Feb 19, 2021
46c3a83
New translations en.json (Romanian)
sulkaharo Feb 19, 2021
2efb59b
New translations en.json (Russian)
sulkaharo Feb 19, 2021
d07cd16
New translations en.json (Swedish)
sulkaharo Feb 19, 2021
b27c8c0
New translations en.json (Greek)
sulkaharo Feb 19, 2021
f4c4f29
New translations en.json (Slovak)
sulkaharo Feb 19, 2021
f8bd9fd
Update source file en.json
sulkaharo Feb 19, 2021
98dd02a
New translations en.json (Portuguese)
sulkaharo Feb 19, 2021
47213e2
New translations en.json (Dutch)
sulkaharo Feb 19, 2021
82716d5
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 19, 2021
18eced7
New translations en.json (Finnish)
sulkaharo Feb 19, 2021
c036829
New translations en.json (German)
sulkaharo Feb 19, 2021
ea85560
New translations en.json (Danish)
sulkaharo Feb 19, 2021
1223e6d
New translations en.json (Czech)
sulkaharo Feb 19, 2021
253433d
New translations en.json (Spanish)
sulkaharo Feb 19, 2021
3a6f5f2
New translations en.json (Swedish)
sulkaharo Feb 19, 2021
6d4982e
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
ddd11f8
Merge pull request #6889 from nightscout/crowdin_incoming
sulkaharo Feb 20, 2021
d263a04
New translations en.json (Hungarian) (#6907)
sulkaharo Feb 20, 2021
50b2192
Merge branch 'master' into dev
sulkaharo Feb 20, 2021
8516fe9
New translations en.json (Hungarian) (#6908)
sulkaharo Feb 22, 2021
46418c7
Merge pull request #6905 from nightscout/dev
sulkaharo Feb 22, 2021
2189bea
* Bump version to 14.2.3
sulkaharo Feb 23, 2021
562364a
Add `docker-compose` support (#6903)
pazaan Mar 11, 2021
ccfa07e
New Crowdin updates (#6917)
sulkaharo Apr 29, 2021
8d75200
Fixing a bad URL that sends the user to docs if they have an open sit…
shanselman Apr 29, 2021
76adc81
New translations en.json (German)
sulkaharo Jun 12, 2021
e82697a
New translations en.json (Polish)
sulkaharo Jun 13, 2021
2e39bbe
New translations en.json (Polish)
sulkaharo Jun 13, 2021
495179c
New translations en.json (Polish)
sulkaharo Jun 16, 2021
3cabb5a
New translations en.json (Polish)
sulkaharo Jun 16, 2021
1ac44da
New translations en.json (Greek)
sulkaharo Aug 19, 2021
f1322cf
New translations en.json (Greek)
sulkaharo Aug 19, 2021
ef19f60
New translations en.json (Greek)
sulkaharo Aug 19, 2021
8b93cca
bump share2nightscout-bridge version
bewest Sep 30, 2021
310da5d
New translations en.json (Hebrew)
sulkaharo Oct 4, 2021
88071b5
Merge pull request #7123 from nightscout/wip/bewest/share2nightscout-…
bewest Oct 7, 2021
1da75b6
New translations en.json (Arabic)
sulkaharo Oct 9, 2021
38b2b78
New translations en.json (Arabic)
sulkaharo Oct 9, 2021
776a01d
New translations en.json (Arabic)
sulkaharo Oct 9, 2021
72129d5
New translations en.json (Arabic)
sulkaharo Oct 10, 2021
606e5b3
New translations en.json (Arabic)
sulkaharo Oct 10, 2021
b2fb9b3
New translations en.json (Arabic)
sulkaharo Oct 12, 2021
bc44960
New translations en.json (Arabic)
sulkaharo Oct 12, 2021
41fdb8e
respect per route body-parser configuration
bewest Oct 13, 2021
633c23a
New translations en.json (Arabic)
sulkaharo Oct 13, 2021
0ddcede
New translations en.json (Arabic)
sulkaharo Oct 13, 2021
bb6a7a5
New translations en.json (Arabic)
sulkaharo Oct 13, 2021
bc8e319
Merge pull request #7131 from nightscout/wip/bewest/request-body-limit
bewest Oct 18, 2021
6250612
sanitize x-forwarded-for header (#7122)
bewest Oct 24, 2021
f5e8dca
Merge branch 'master' into dev
sulkaharo Oct 24, 2021
027bf5e
Prep next release - 14.2.4
bewest Oct 24, 2021
76cecc5
Add wares to v2 to support request parsing
sulkaharo Oct 25, 2021
87ff945
Move wares to ctx
sulkaharo Oct 25, 2021
a4e8466
Merge pull request #7144 from nightscout/add_wares_to_v2
bewest Oct 25, 2021
0b99060
npm install diffs make package-lock.json match
bewest Oct 25, 2021
6cc9a95
new dev branch starting post 14.2.4 release
bewest Oct 25, 2021
8e476b3
Fix api-secret header name in swagger configuration.
MJDSys Oct 31, 2021
1f747cd
New translations en.json (Turkish)
sulkaharo Nov 3, 2021
811249f
New translations en.json (Turkish)
sulkaharo Nov 3, 2021
753550f
New translations en.json (Turkish)
sulkaharo Nov 4, 2021
a08d2ae
New translations en.json (Turkish)
sulkaharo Nov 5, 2021
cf55034
New translations en.json (Turkish)
sulkaharo Nov 5, 2021
93f5c0b
New translations en.json (Turkish)
sulkaharo Nov 5, 2021
534c117
New translations en.json (Turkish)
sulkaharo Nov 7, 2021
473912c
New translations en.json (Turkish)
sulkaharo Nov 7, 2021
07559b6
New translations en.json (Turkish)
sulkaharo Nov 7, 2021
1b61122
New translations en.json (Turkish)
sulkaharo Nov 7, 2021
fb33420
New translations en.json (Turkish)
sulkaharo Nov 8, 2021
ca7ae17
New translations en.json (Turkish)
sulkaharo Nov 9, 2021
a4fde71
New translations en.json (Polish)
sulkaharo Nov 10, 2021
69aa5ee
New translations en.json (Polish)
sulkaharo Nov 10, 2021
cf92d4d
New translations en.json (Polish)
sulkaharo Nov 11, 2021
f8aa686
New translations en.json (Polish)
sulkaharo Nov 12, 2021
3da5b92
New translations en.json (Polish)
sulkaharo Nov 12, 2021
c65230f
New translations en.json (Polish)
sulkaharo Nov 13, 2021
321592f
New translations en.json (Polish)
sulkaharo Nov 13, 2021
1b780cb
New translations en.json (Polish)
sulkaharo Nov 13, 2021
4e0d8fd
New translations en.json (Portuguese, Brazilian)
sulkaharo Nov 19, 2021
780e5b0
New translations en.json (Portuguese, Brazilian)
sulkaharo Nov 19, 2021
e9b50e7
New translations en.json (Polish)
sulkaharo Nov 22, 2021
39cba5c
New translations en.json (Polish)
sulkaharo Nov 22, 2021
27dd88e
New translations en.json (Turkish)
sulkaharo Nov 27, 2021
8b17eb7
New translations en.json (Turkish)
sulkaharo Nov 27, 2021
c0a566d
New translations en.json (Turkish)
sulkaharo Nov 30, 2021
327051e
New translations en.json (Hebrew)
sulkaharo Nov 30, 2021
55e14fe
update minimum version of share2nightscout-bridge
bewest Dec 2, 2021
513d155
update minimed-connect-to-nightscout updates
bewest Dec 2, 2021
0bd983c
Increase accuracy of mg/dl to mmol/l ratio
cpitchford Dec 2, 2021
44d6cb9
Merge branch 'dev' into wip/cpitchford/increase_mmoll_accuracy
cpitchford Dec 2, 2021
8d83617
Support Dexcom HIGH/LOW when device is share2
cpitchford Dec 2, 2021
4b58cf7
Revert "update minimed-connect-to-nightscout updates"
bewest Dec 3, 2021
b00df3d
use newer version of minimed-connect-to-nightscout
bewest Dec 3, 2021
3def3a4
Merge branch 'dev' into wip/cpitchford/support_high_low_share2_device
bewest Dec 3, 2021
ededfc8
Merge branch 'wip/cpitchford/increase_mmoll_accuracy' of github.com:c…
bewest Dec 3, 2021
1477c79
Merge branch 'fix-swagger-auth' of github.com:mjdsys/cgm-remote-monit…
bewest Dec 3, 2021
cdc18b9
New translations en.json (Chinese Simplified)
sulkaharo Dec 6, 2021
5e0e592
Fixes broken Docker image build
pazaan Dec 6, 2021
0df986f
New translations en.json (Chinese Simplified)
sulkaharo Dec 6, 2021
bf3d90d
Merge branch 'crowdin_incoming' of github.com:nightscout/cgm-remote-m…
bewest Dec 6, 2021
cc392c8
Merge branch 'pazaan/fix-docker-image-build' of git://github.com/paza…
bewest Dec 6, 2021
df4acfa
Generating codacy coverage should not fail build
bewest Dec 6, 2021
a34a58b
Synchronise the dexcom collection times to reduce refresh lag
cpitchford Dec 9, 2021
a19a023
Merge branch 'dev' into wip/cpitchford/synchronize_dexcom_fetch_times
cpitchford Dec 9, 2021
7b9e07b
Merge branch 'dev' into wip/cpitchford/synchronize_dexcom_fetch_times
cpitchford Dec 10, 2021
dc312a8
Update test for new default interval
cpitchford Dec 10, 2021
4750f13
Merge pull request #7231 from cpitchford/wip/cpitchford/synchronize_d…
bewest Dec 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .deployment
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[config]
command = bash deploy.sh
command = bash bin/azure-deploy.sh
44 changes: 28 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
module.exports = {
"plugins": [ ],
"extends": [
"eslint:recommended"
'plugins': [
'security'
],
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"mocha": true,
"jquery": true
'extends': [
'eslint:recommended',
'plugin:security/recommended'
],
'parser': 'babel-eslint',
'env': {
'browser': true,
'commonjs': true,
'es6': true,
'node': true,
'mocha': true,
'jquery': true
},
"rules": {
"no-unused-vars": [
"error",
'rules': {
'security/detect-object-injection' : 0,
'no-unused-vars': [
'error',
{
"varsIgnorePattern": "should|expect"
'varsIgnorePattern': 'should|expect'
}
]
}
},
'overrides': [
{
'files': ['lib/client/*.js'],
'rules': {
'security/detect-object-injection': 0
}
}
],
};
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/--bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ label: bug

---

**If you need support for Nightscout, PLEASE DO NOT FILE A TICKET HERE**
For support, please post a question to the "CGM in The Cloud" group in Facebook
(https://www.facebook.com/groups/cgminthecloud) or visit the WeAreNotWaiting Discord at https://discord.gg/zg7CvCQ

**Describe the bug**
A clear and concise description of what the bug is.

Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/--feature-request--.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ about: Suggest an idea for this project

---

**If you need support for Nightscout, PLEASE DO NOT FILE A TICKET HERE**
For support, please post a question to the "CGM in The Cloud" group in Facebook
(https://www.facebook.com/groups/cgminthecloud) or visit the WeAreNotWaiting Discord at https://discord.gg/zg7CvCQ

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Expand Down
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/--individual-troubleshooting-help.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Troubleshooting Documentation
url: http://nightscout.github.io/troubleshoot/troublehoot/
about: Having trouble with Nightscout? Please check our step by step troubleshooting instructions.
- name: Nightscout Community Support in Facebook
url: https://www.facebook.com/groups/cgminthecloud
about: If you're a Nightscout user and have trouble with your site, please post questions here. We don't have the resources to answer support questions posted here as tickets.
- name: Nightscout Community Support in Discord
url: https://discord.gg/zg7CvCQ
about: If you're a Nightscout user and have trouble with your site, please post questions here. We don't have the resources to answer support questions posted here as tickets.
69 changes: 69 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
# ******** NOTE ********

name: "CodeQL"

on:
push:
branches: [ dev ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '43 23 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout'

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
111 changes: 86 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,93 @@
name: CI test
name: CI test and publish Docker image

on: [push]
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
build:

runs-on: ubuntu-16.04

test:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [12.x, 14.x]
mongodb-version: [4.2, 4.4]

steps:
- name: Git Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}

- name: Install dependencies
run: npm install
- name: Run Tests
run: npm run-script test-ci
- name: Send Coverage
run: npm run-script coverage

publish_dev:
name: Publish dev branch to Docker Hub
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout'
env:
DOCKER_IMAGE: nightscout/cgm-remote-monitor
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Clean git Checkout
if: success()
uses: actions/checkout@v2
- name: Build, tag and push the dev Docker image
if: success()
run: |
docker build --no-cache=true -t ${{ env.DOCKER_IMAGE }}:dev_${{ github.sha }} .
docker image push ${{ env.DOCKER_IMAGE }}:dev_${{ github.sha }}
docker tag ${{ env.DOCKER_IMAGE }}:dev_${{ github.sha }} ${{ env.DOCKER_IMAGE }}:latest_dev
docker image push ${{ env.DOCKER_IMAGE }}:latest_dev

publish_master:
name: Publish master branch to Docker Hub
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.repository_owner == 'nightscout'
env:
DOCKER_IMAGE: nightscout/cgm-remote-monitor
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Install MongoDB
run: |
wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo apt-get install -y --allow-downgrades mongodb-org=3.6.14 mongodb-org-server=3.6.14 mongodb-org-shell=3.6.14 mongodb-org-mongos=3.6.14 mongodb-org-tools=3.6.14
- name: Start MongoDB
run: sudo systemctl start mongod
- name: Run tests
run: npm run-script test-ci
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Clean git Checkout
if: success()
uses: actions/checkout@v2
- name: get-npm-version
if: success()
id: package-version
uses: martinbeentjes/npm-get-version-action@master
- name: Build, tag and push the master Docker image
if: success()
run: |
docker build --no-cache=true -t ${{ env.DOCKER_IMAGE }}:${{ steps.package-version.outputs.current-version }} .
docker image push ${{ env.DOCKER_IMAGE }}:${{ steps.package-version.outputs.current-version }}
docker tag ${{ env.DOCKER_IMAGE }}:${{ steps.package-version.outputs.current-version }} ${{ env.DOCKER_IMAGE }}:latest
docker image push ${{ env.DOCKER_IMAGE }}:latest
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bundle/bundle.out.js
*.iml
my.env
my.*.env
*.pem

static/bower_components/
.*.sw?
Expand All @@ -28,5 +29,8 @@ npm-debug.log
/cgm-remote-monitor.njsproj
/cgm-remote-monitor.sln
/obj/Debug
/bin
/*.bat

# directories created by docker-compose.yml
mongo-data/
letsencrypt/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.16.0
14.15.3
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Loading