Skip to content

Commit

Permalink
Merge pull request nightscout#5113 from nightscout/dev
Browse files Browse the repository at this point in the history
Nightscout Release 13.0.0
  • Loading branch information
sulkaharo authored Dec 17, 2019
2 parents ddbf1fc + 07b528c commit 41ac93f
Show file tree
Hide file tree
Showing 159 changed files with 12,188 additions and 2,109 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
8 changes: 7 additions & 1 deletion .gitignore
2 changes: 1 addition & 1 deletion .travis.yml
62 changes: 25 additions & 37 deletions CONTRIBUTING.md
4 changes: 2 additions & 2 deletions Makefile
128 changes: 68 additions & 60 deletions README.md
19 changes: 18 additions & 1 deletion app.js
10 changes: 5 additions & 5 deletions app.json
7 changes: 7 additions & 0 deletions ci.test.env
62 changes: 62 additions & 0 deletions docs/plugins/add-virtual-assistant-support-to-plugin.md
330 changes: 68 additions & 262 deletions docs/plugins/alexa-plugin.md
222 changes: 222 additions & 0 deletions docs/plugins/alexa-templates/en-us.json
Binary file added docs/plugins/google-home-templates/en-us.zip
Binary file not shown.
140 changes: 140 additions & 0 deletions docs/plugins/googlehome-plugin.md
67 changes: 67 additions & 0 deletions docs/plugins/interacting-with-virtual-assistants.md
18 changes: 8 additions & 10 deletions env.js
300 changes: 160 additions & 140 deletions lib/api/alexa/index.js
4 changes: 4 additions & 0 deletions lib/api/const.json
6 changes: 3 additions & 3 deletions lib/api/entries/index.js
123 changes: 123 additions & 0 deletions lib/api/googlehome/index.js
6 changes: 5 additions & 1 deletion lib/api/index.js
8 changes: 5 additions & 3 deletions lib/api/notifications-api.js
23 changes: 23 additions & 0 deletions lib/api/notifications-v2.js
23 changes: 23 additions & 0 deletions lib/api/root.js
5 changes: 4 additions & 1 deletion lib/api/status.js
9 changes: 6 additions & 3 deletions lib/api/verifyauth.js
53 changes: 53 additions & 0 deletions lib/api3/const.json
48 changes: 48 additions & 0 deletions lib/api3/doc/security.md
142 changes: 142 additions & 0 deletions lib/api3/doc/socket.md
329 changes: 329 additions & 0 deletions lib/api3/doc/tutorial.md
193 changes: 193 additions & 0 deletions lib/api3/generic/collection.js
45 changes: 45 additions & 0 deletions lib/api3/generic/create/insert.js
63 changes: 63 additions & 0 deletions lib/api3/generic/create/operation.js
26 changes: 26 additions & 0 deletions lib/api3/generic/create/validate.js
122 changes: 122 additions & 0 deletions lib/api3/generic/delete/operation.js
151 changes: 151 additions & 0 deletions lib/api3/generic/history/operation.js
118 changes: 118 additions & 0 deletions lib/api3/generic/patch/operation.js
19 changes: 19 additions & 0 deletions lib/api3/generic/patch/validate.js
75 changes: 75 additions & 0 deletions lib/api3/generic/read/operation.js
140 changes: 140 additions & 0 deletions lib/api3/generic/search/input.js
77 changes: 77 additions & 0 deletions lib/api3/generic/search/operation.js
103 changes: 103 additions & 0 deletions lib/api3/generic/setup.js
86 changes: 86 additions & 0 deletions lib/api3/generic/update/operation.js
52 changes: 52 additions & 0 deletions lib/api3/generic/update/replace.js
48 changes: 48 additions & 0 deletions lib/api3/generic/update/validate.js
107 changes: 107 additions & 0 deletions lib/api3/index.js
122 changes: 122 additions & 0 deletions lib/api3/security.js
78 changes: 78 additions & 0 deletions lib/api3/shared/dateTools.js
82 changes: 82 additions & 0 deletions lib/api3/shared/fieldsProjector.js
111 changes: 111 additions & 0 deletions lib/api3/shared/operationTools.js
63 changes: 63 additions & 0 deletions lib/api3/shared/storageTools.js
28 changes: 28 additions & 0 deletions lib/api3/shared/stringTools.js
101 changes: 101 additions & 0 deletions lib/api3/specific/lastModified.js
71 changes: 71 additions & 0 deletions lib/api3/specific/status.js
28 changes: 28 additions & 0 deletions lib/api3/specific/version.js
93 changes: 93 additions & 0 deletions lib/api3/storage/mongoCollection/find.js
90 changes: 90 additions & 0 deletions lib/api3/storage/mongoCollection/index.js
123 changes: 123 additions & 0 deletions lib/api3/storage/mongoCollection/modify.js
178 changes: 178 additions & 0 deletions lib/api3/storage/mongoCollection/utils.js
145 changes: 145 additions & 0 deletions lib/api3/storageSocket.js
41 changes: 41 additions & 0 deletions lib/api3/swagger.js
1,614 changes: 1,614 additions & 0 deletions lib/api3/swagger.yaml
50 changes: 44 additions & 6 deletions lib/authorization/index.js
22 changes: 20 additions & 2 deletions lib/authorization/storage.js
17 changes: 17 additions & 0 deletions lib/client/browser-settings.js
86 changes: 61 additions & 25 deletions lib/client/careportal.js
547 changes: 346 additions & 201 deletions lib/client/chart.js
74 changes: 46 additions & 28 deletions lib/client/clock-client.js
160 changes: 122 additions & 38 deletions lib/client/index.js
500 changes: 296 additions & 204 deletions lib/client/renderer.js
3 changes: 2 additions & 1 deletion lib/constants.json
62 changes: 16 additions & 46 deletions lib/data/ddata.js
3 changes: 2 additions & 1 deletion lib/data/treatmenttocurve.js
53 changes: 38 additions & 15 deletions lib/hashauth.js
1,260 changes: 876 additions & 384 deletions lib/language.js
69 changes: 33 additions & 36 deletions lib/plugins/alexa.js
32 changes: 24 additions & 8 deletions lib/plugins/ar2.js
36 changes: 18 additions & 18 deletions lib/plugins/basalprofile.js
10 changes: 9 additions & 1 deletion lib/plugins/bridge.js
45 changes: 28 additions & 17 deletions lib/plugins/cob.js
4 changes: 2 additions & 2 deletions lib/plugins/direction.js
97 changes: 97 additions & 0 deletions lib/plugins/googlehome.js
4 changes: 2 additions & 2 deletions lib/plugins/index.js
25 changes: 11 additions & 14 deletions lib/plugins/iob.js
131 changes: 112 additions & 19 deletions lib/plugins/loop.js
48 changes: 28 additions & 20 deletions lib/plugins/openaps.js
12 changes: 5 additions & 7 deletions lib/plugins/pluginbase.js
54 changes: 37 additions & 17 deletions lib/plugins/pump.js
21 changes: 14 additions & 7 deletions lib/plugins/rawbg.js
22 changes: 16 additions & 6 deletions lib/plugins/timeago.js
35 changes: 26 additions & 9 deletions lib/plugins/upbat.js
16 changes: 8 additions & 8 deletions lib/plugins/xdrip-js.js → lib/plugins/xdripjs.js
66 changes: 42 additions & 24 deletions lib/profilefunctions.js
14 changes: 5 additions & 9 deletions lib/report_plugins/calibrations.js
92 changes: 48 additions & 44 deletions lib/report_plugins/daytoday.js
24 changes: 17 additions & 7 deletions lib/report_plugins/glucosedistribution.js
4 changes: 3 additions & 1 deletion lib/report_plugins/utils.js
24 changes: 8 additions & 16 deletions lib/report_plugins/weektoweek.js
4 changes: 3 additions & 1 deletion lib/sandbox.js
15 changes: 10 additions & 5 deletions lib/server/bootevent.js
109 changes: 109 additions & 0 deletions lib/server/loop.js
2 changes: 1 addition & 1 deletion lib/server/pushnotify.js
26 changes: 12 additions & 14 deletions lib/server/websocket.js
26 changes: 23 additions & 3 deletions lib/settings.js
6 changes: 4 additions & 2 deletions lib/units.js
3 changes: 2 additions & 1 deletion lib/utils.js
422 changes: 381 additions & 41 deletions npm-shrinkwrap.json
14 changes: 10 additions & 4 deletions package.json
4 changes: 2 additions & 2 deletions static/css/main.css
Binary file added static/images/browserstack-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions static/robots.txt
2 changes: 1 addition & 1 deletion swagger.json
2 changes: 1 addition & 1 deletion swagger.yaml
6 changes: 4 additions & 2 deletions tests/admintools.test.js
1 change: 1 addition & 0 deletions tests/api.devicestatus.test.js
42 changes: 42 additions & 0 deletions tests/api.root.test.js
4 changes: 2 additions & 2 deletions tests/api.verifyauth.test.js
49 changes: 49 additions & 0 deletions tests/api3.basic.test.js
487 changes: 487 additions & 0 deletions tests/api3.create.test.js
53 changes: 53 additions & 0 deletions tests/api3.delete.test.js
295 changes: 295 additions & 0 deletions tests/api3.generic.workflow.test.js
219 changes: 219 additions & 0 deletions tests/api3.patch.test.js
180 changes: 180 additions & 0 deletions tests/api3.read.test.js
261 changes: 261 additions & 0 deletions tests/api3.search.test.js
189 changes: 189 additions & 0 deletions tests/api3.security.test.js
178 changes: 178 additions & 0 deletions tests/api3.socket.test.js
289 changes: 289 additions & 0 deletions tests/api3.update.test.js
8 changes: 4 additions & 4 deletions tests/ar2.test.js
10 changes: 5 additions & 5 deletions tests/basalprofileplugin.test.js
1 change: 1 addition & 0 deletions tests/bgnow.test.js
41 changes: 41 additions & 0 deletions tests/bridge.test.js
2 changes: 1 addition & 1 deletion tests/careportal.test.js
4 changes: 4 additions & 0 deletions tests/client.renderer.test.js
6 changes: 3 additions & 3 deletions tests/cob.test.js
13 changes: 0 additions & 13 deletions tests/ddata.test.js
14 changes: 14 additions & 0 deletions tests/fail.test.js
98 changes: 98 additions & 0 deletions tests/fixtures/api/instance.js
94 changes: 94 additions & 0 deletions tests/fixtures/api3/authSubject.js
138 changes: 138 additions & 0 deletions tests/fixtures/api3/const.json
163 changes: 163 additions & 0 deletions tests/fixtures/api3/instance.js
18 changes: 18 additions & 0 deletions tests/fixtures/api3/localhost.crt
27 changes: 27 additions & 0 deletions tests/fixtures/api3/localhost.key
21 changes: 21 additions & 0 deletions tests/fixtures/api3/utils.js
11 changes: 6 additions & 5 deletions tests/iob.test.js
11 changes: 6 additions & 5 deletions tests/loop.test.js
13 changes: 7 additions & 6 deletions tests/openaps.test.js
6 changes: 4 additions & 2 deletions tests/profile.test.js
27 changes: 20 additions & 7 deletions tests/pump.test.js
6 changes: 3 additions & 3 deletions tests/rawbg.test.js
8 changes: 5 additions & 3 deletions tests/reports.test.js
30 changes: 30 additions & 0 deletions tests/timeago.test.js
18 changes: 12 additions & 6 deletions tests/upbat.test.js
53 changes: 1 addition & 52 deletions views/clockviews/bgclock.css
72 changes: 12 additions & 60 deletions views/clockviews/clock-color.css
76 changes: 76 additions & 0 deletions views/clockviews/clock-shared.css
66 changes: 0 additions & 66 deletions views/clockviews/clock.css
9 changes: 6 additions & 3 deletions views/clockviews/shared.html
27 changes: 17 additions & 10 deletions views/index.html

0 comments on commit 41ac93f

Please sign in to comment.