PieterGit
3c516d5baf
support > 0.25% of browerslist, see if we can support iOS 9.3.x as well...
2022-08-16 15:49:49 +02:00
PieterGit
4a64be2aed
remove two critical vulnerabilities in npm packages. Remove codacy-coverage pacakge (see issue #7515 ).
2022-08-16 15:13:04 +02:00
PieterGit
b7ee1bfb5a
upgrade mocha to 8.4.0 and nodemon to 2.0.19 and recreate package-lock.json with node v10.24.1
2022-08-16 13:48:17 +02:00
PieterGit
652baedd3c
update all webpack related plugins to latest version
2022-08-15 23:30:15 +02:00
PieterGit
0a81915c4f
drop Node 18 support for now
2022-08-15 23:02:32 +02:00
PieterGit
fb4d467755
update Node requirements. This is a follow up from https://github.com/nightscout/cgm-remote-monitor/pull/7417 since @bewest already merged his branch to dev
...
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
2022-08-15 17:44:08 +02:00
PieterGit
99e8d6f373
up WEBSITE_NODE_DEFAULT_VERSION to 10.15.2
2019-07-22 07:59:36 +02:00
PieterGit
6e6cd29570
drop Node ^12.6.0 from package.json, because it is not recommended yet (but it works)
2019-07-22 02:00:38 +02:00
PieterGit
8d6e5514d2
allow Azure with Node ^10.15.2 and allow Node 12
2019-07-22 01:50:52 +02:00
PieterGit
6a7f5983dd
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201907_dev
2019-07-22 01:31:32 +02:00
PieterGit
f0b3e1a589
allow Node 12
2019-07-20 13:55:05 +02:00
PieterGit
ab54f09c7a
user correct env
2019-02-03 01:10:02 +01:00
PieterGit
d97fd9701a
npm update and integrate terser-webpack-plugin as minimizer
...
Stick to `terser` version `~3.14.1` instead of `^3.16.0`, because of
```
ERROR in js/bundle.js from Terser
TypeError: Cannot read property 'minify' of undefined
at minify (E:\path\toc\cgm-remote-monitor\node_modules\terser-webpack-plugin\dist\minify.js:175:23)
```
See https://github.com/terser-js/terser/pull/254 for details on that bug
2019-02-03 01:02:33 +01:00
PieterGit
cabace2317
ie8 is not compatible with Terser, so make that explicit
2019-02-03 00:57:43 +01:00
PieterGit
9c5a2e4bc6
remove mqtt leftover
2019-02-03 00:56:59 +01:00
PieterGit
a6b98c3939
fix ident and add extra test to env.test.js
2019-02-03 00:56:20 +01:00
PieterGit
8098cda319
upgrade to minmum of Node 10.15.1
2019-02-03 00:28:08 +01:00
PieterGit
6432298986
add missing env
2019-02-02 23:04:25 +01:00
PieterGit
05d47f8c2c
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201901_profile_save_workaround2
2019-02-02 22:36:52 +01:00
PieterGit
0b7fe9444b
npm update
2019-02-02 22:36:27 +01:00
PieterGit
3104083670
fix readENVTruthy and make INSECURE_USE_HTTP, SECURE_HSTS_HEADER, SECURE_HSTS_HEADER_* and SECURE_CSP work as expected.
...
readENVTruthy never returned defaultValue. if not set to on|off|true|false the default value is returned
2019-02-02 22:29:02 +01:00
PieterGit
04ec3ab92d
make Saving profile translatable
2019-02-02 17:12:41 +01:00
PieterGit
3bd73d75ad
Merge branch 'wip/fix-rawbg-calculations' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2019-01-05 20:04:35 +01:00
PieterGit
9b711de1d5
Merge branch '201901_share2nightscout' of https://github.com/PieterGit/cgm-remote-monitor into 201812_needs_testing
2019-01-05 20:00:35 +01:00
PieterGit
2fded6035b
Merge branch 'weektoweek-report' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2019-01-05 19:59:49 +01:00
PieterGit
896d5e0c8a
add jsdom pinned to 11.11.0 (required for benv unit tests)
2019-01-04 14:53:56 +01:00
PieterGit
6a7ffa5ecb
update to released version of share2nightscout-bridge and update webpck-cli to 3.2.0
2019-01-04 11:03:12 +01:00
PieterGit
e77e3d88e0
upgrade share2nightscout-bridge to ~0.2.0-dev-20190102
...
Use npm released version instead of wip/generalize branch. This version will also make sure Nightscout won't crash if Dexcom servers are down.
2019-01-02 13:38:16 +01:00
PieterGit
e88a417d7b
Merge branch 'api-insert-delete-test' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2019-01-01 11:19:03 +01:00
PieterGit
f61fb9489b
update code comments on Node versions
...
thanks @jpcunningh https://github.com/nightscout/cgm-remote-monitor/pull/4155#discussion_r244617986
2019-01-01 11:16:27 +01:00
PieterGit
6a792f7c1a
Merge branch '201812_node10' of https://github.com/PieterGit/cgm-remote-monitor into 201812_needs_testing
2018-12-31 20:53:31 +01:00
PieterGit
be512a0e95
Upgrade to Node 10 for Azure. Upgrade to version Node 8.15.0 for Node 8 users.
...
According to Darren Lee @balshor Node 10.14.1 is available on Azure, see https://gitter.im/nightscout/public?at=5c2a50c70b7fc97caaca6211 or https://gist.github.com/balshor/f3bbb86ff98eeecefc5dd4bdb4118b1b
2018-12-31 20:52:35 +01:00
PieterGit
bbb5ca9036
Merge branch '201807_python' of https://github.com/PieterGit/cgm-remote-monitor into 201812_needs_testing
2018-12-31 14:22:30 +01:00
PieterGit
89ce188266
PR with several PR's that needs testing
...
Also did update some npm packages and resolved conflicts
2018-12-31 14:07:39 +01:00
PieterGit
ddbbfe2e17
Merge branch 'wip/fix-rawbg-calculations' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2018-12-31 12:39:56 +01:00
PieterGit
e195fcbbb3
Merge branch 'entries-and-treatments-clean-db' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2018-12-31 12:38:13 +01:00
PieterGit
f5df521fa5
Merge branch 'weektoweek-report' of https://github.com/jpcunningh/cgm-remote-monitor into 201812_needs_testing
2018-12-31 12:36:44 +01:00
PieterGit
3355566e73
Merge branch '201812_node10' of https://github.com/PieterGit/cgm-remote-monitor into 201812_needs_testing
2018-12-31 12:35:13 +01:00
PieterGit
89bb3c21fe
allow node ^10.4.2 || ^8.14.1 || ~8.11.1
2018-12-24 14:32:53 +01:00
PieterGit
201aac6b78
Add support for Node 10. Upgrade to node 8.14.x . Don't start on older Node versions (except Node 8.11.1 from Azure)
...
- incorporates https://github.com/nightscout/cgm-remote-monitor/pull/4134 and https://github.com/nightscout/cgm-remote-monitor/pull/4129
2018-12-24 14:23:51 +01:00
PieterGit
5ac35de7d6
fix INSECURE_USE_HTTP
2018-11-29 00:34:44 +01:00
PieterGit
5edf2322af
fix settings.test.js
2018-11-28 23:30:04 +01:00
PieterGit
2b958c9371
npm update, disable Content Security Policy headers for now. Currently Nightscout is not yet compatible with CSP.
2018-11-28 23:25:13 +01:00
PieterGit
5110bc4d86
allow 'unsafe-inline' for stylesSrc and scriptSrc
2018-11-22 00:30:46 +01:00
PieterGit
246ee3c464
test csp
2018-11-22 00:14:31 +01:00
PieterGit
5d4029a4d7
test
2018-11-22 00:09:23 +01:00
PieterGit
90f87e0dc2
redirect by default
2018-11-21 23:53:14 +01:00
PieterGit
f1108e0b57
fix app.json
2018-11-21 23:37:23 +01:00
PieterGit
4575a65f4a
add default for hsts extendsettings
2018-11-21 23:25:49 +01:00
PieterGit
9ab0f3af4c
add default security settings and test
2018-11-21 23:21:51 +01:00
PieterGit
ec6fe2c06b
improve helmet use
2018-11-21 23:04:24 +01:00
PieterGit
292ed122a3
update fontello
...
use fontello-cli --config ./config.json install and move the files to the staic/glyphs directory
2018-11-21 22:16:48 +01:00
PieterGit
266ab63e44
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201811_update
...
# Conflicts:
# npm-shrinkwrap.json
2018-11-21 20:23:46 +01:00
PieterGit
70aa225616
remove sgvdata
2018-11-20 01:44:52 +01:00
PieterGit
0e2ae00320
npm update and remove mqtt
2018-11-20 01:15:51 +01:00
PieterGit
d375386dba
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201811_update
2018-11-20 01:00:52 +01:00
PieterGit
4f9ab0b531
npm update and manual upgrade to newer versions
2018-11-17 00:45:23 +01: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
PieterGit
24b093f5d5
fix for https://github.com/nightscout/cgm-remote-monitor/issues/4050 (Hyperlink to GVI explanations doesn't work anymore)
2018-11-08 01:02:20 +01:00
PieterGit
969ac25b9f
make travis more clear to build for node js 8 and 10
2018-10-22 20:57:07 +02:00
PieterGit
81f5a5f6e2
travis. always build latest lts and latest stable
...
source: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#specifying-nodejs-versions
2018-10-22 20:44:51 +02:00
PieterGit
d86b60db03
mongodb. add newNewUrlParser: true to mongo options
...
resolves (node:24176) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
2018-10-22 11:55:50 +02:00
PieterGit
16248a1836
Leap forward... remove npm 5.x support, upgrade packages and also test Node 10 with Travis
...
- Due to Azure we had several supported npm version 5.6.x, 5.7.x, 5.8.x. Since Node 8.12.0 ships with npm 6.4.x we should stop supporting npm 5.x
- Azure currently does not have Node 8.12.x and probably does not work at this moment. Microsoft should stay current
- upgrades several packages, most notable mongodb
- move file-loader, expose-loader, style-loader to devDependencies
- remove webpack-command because it's not longer maintained and has security issues. Moving to webpack-cli
- upgrade version to 0.11.0-dev-20181022
2018-10-22 11:37:22 +02:00
PieterGit
36ea881120
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201809_npm_node_update
2018-10-22 10:50:28 +02:00
PieterGit
64ee3817ac
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201809_npm_node_update
2018-10-14 10:01:36 +02:00
PieterGit
070f1f162c
npm update "express" from "^4.16.3" => "^4.16.4" and "swagger-ui-dist" from "^3.18.0" => "^3.19.3".
2018-10-13 11:46:35 +02:00
PieterGit
9bf65d81b8
reimplement changes from https://github.com/nightscout/cgm-remote-monitor/pull/3819 with indent=2
...
https://raw.githubusercontent.com/nielsvanvelzen/nightscout/9afd22e208edc7e966c85f1dd0dab4d716b9be2d/webpack.config.js
2018-10-13 11:40:07 +02:00
PieterGit
1994f6089e
reformat indent =2
2018-10-13 11:36:21 +02:00
PieterGit
2f0e834565
upgrade node to 8.12.0, and upgrade to supertest@3.3.0 and webpack@4.20.2 and reimplement #3819 (webpack)
2018-09-29 14:49:56 +02:00
PieterGit
9f4940e129
rename package from Nightscout to nightscout
...
renaming is required to be able to publish it with npm, see https://github.com/npm/npm/issues/15787#issuecomment-280550744
update should from 13.2.2 to 13.2.3 and update webpack from 4.16.3 to 4.16.4
2018-08-05 16:31:59 +02:00
PieterGit
db0a216640
make languages.js clean again
...
change tabs to spaces, remove spaces from the end of lines
2018-07-31 22:04:36 +02:00
PieterGit
2b5c04f258
add hebrew translations
...
merge https://github.com/nightscout/cgm-remote-monitor/pull/3738 and resolve merge conflicts
2018-07-31 21:28:11 +02:00
PieterGit
c9f020c0c3
make tooltip bolder and only show 3 significant digits for remaining insulin
2018-07-29 00:16:23 +02:00
PieterGit
81a16324a2
npm update and require node 8.11.x in package.json
2018-07-28 00:50:07 +02:00
PieterGit
069ea932f9
fix duplicate 'min ago' in languages.js
...
thanks @whooze for the report (source: https://gitter.im/nightscout/public?at=5b5b9ac412f1be71375ea448 )
2018-07-28 00:33:19 +02:00
PieterGit
bc681557aa
update docs for Azure hosting (if anybody really wants it)
2018-07-26 21:07:43 +02:00
PieterGit
2e869c7cd7
increase SCM_COMMAND_IDLE_TIMEOUT (default 60, 1 minute), to 300 seconds / 5 minutes
...
Azure deploy fails with message Thread was being aborted.
This happens when the deploy commands take too long to execute. You can resolve this by setting the
SCM_COMMAND_IDLE_TIMEOUT app setting to 900 (900 seconds, 15 minutes) for your app in the Azure portal.
Thanks https://github.com/kemmis/Panda and https://github.com/projectkudu/kudu/issues/2089#issuecomment-262499421
2018-07-26 20:56:20 +02:00
PieterGit
64496f07de
install yargs for azure
2018-07-26 20:43:34 +02:00
PieterGit
3981558f2c
fix azure problems
...
if use latest nodejs on Azure
if it want yargs, we'll give it
> Nightscout@0.10 .3-dev-20180723 postinstall D:\home\site\wwwroot
> webpack --mode production --config webpack.config.js && npm run-script update-buster
module.js:549
throw err;
^
Error: Cannot find module 'yargs'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\home\site\wwwroot\node_modules\webpack\bin\webpack.js:16:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3
2018-07-26 20:33:37 +02:00
PieterGit
2f829664cc
azure fixes related to webpack
...
move webpack to devDependencies, install webpack-command instead of webpack-cli
2018-07-26 01:38:16 +02:00
PieterGit
d9bb180db8
resolve conflicts and add dutch translations
2018-07-19 23:49:55 +02:00
PieterGit
0a9487a604
Merge branch 'more-clock-options' of https://github.com/unsoluble/cgm-remote-monitor into 201807_clock2
2018-07-19 23:31:32 +02:00
PieterGit
570a152dca
make Dutch translations 100%
2018-07-18 22:03:43 +02:00
PieterGit
1fe4a7d876
upgrades, moment-locales-webpack-plugin integration, easier bundle-analyzer
...
1. webpack 4.16.0 gives problem with report test on Windows
```
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: T00:00:00, _f: undefined, _strict: undefined, _locale: [object Object]
Error
at Function.createFromInputFallback (E:\Git\src\cgm-remote-monitor\tmp\js\bundle.js:1:5989)
```
2. a lot of moment-locales are packacked with webpack. Limit to language that are availble in Nightscout
3. make it possible to use `npm run bundle-analyzer` so that webpack.config.js does not have to be changed
2018-07-18 22:03:20 +02:00
PieterGit
c36f4be172
upgrade minimed-connect-to-nightscout from git://github.com/mddub/minimed-connect-to-nightscout.git to a proper npm released version 1.1.1
...
also run a npmupdate which upgraded webpack, compression and uglify-js
before PR: found 24 vulnerabilities (3 low, 15 moderate, 5 high, 1 critical) in 13366 scanned packages
after PR: found 16 vulnerabilities (2 low, 9 moderate, 4 high, 1 critical) in 13361 scanned packages
2018-07-16 08:46:50 +02:00
PieterGit
b5b05b15e8
temporary disable speechPlugin because it can't be disabled and is enabled by default
2018-07-11 23:30:06 +02:00
PieterGit
dd1a3ea294
remove python and python-software-properties from setup.sh
...
As far as I see in the current codebase there are no references to python. Should be tested with reinstall on clean pi3 install.
2018-07-10 23:31:33 +02:00
PieterGit
ef0a90c6b6
Merge branch 'dev' of https://github.com/nightscout/cgm-remote-monitor into 201807_upgrades
2018-07-10 20:12:19 +02:00
PieterGit
2625b32b1d
prepare coverage shield for next release (need to change it back after the release)
2018-07-09 09:01:21 +02:00
PieterGit
ffba14330d
improve windows instructions
2018-07-09 08:32:44 +02:00
PieterGit
11e92c9611
reverting to mocha 3.5.3 for 0.10.3 release,
...
current Nightscout code is not compatible with mocha: 5.2.0.
note most of the Nightscout 0.10.3 cycle mocha "~3.1.2" was used.
note Nightscout 0.10.2 release also used "~3.1.2"
2018-07-08 23:34:28 +02:00
PieterGit
1e429bb2ed
fix mqtt.test.js because of changed mongodb url
2018-07-08 23:10:32 +02:00
PieterGit
694e49b77f
drop Node 10 (and Node 9) support for the 0.10.3 release in the documenation.
2018-07-08 22:46:52 +02:00
PieterGit
5c35586688
switch back to sgvdata 0.0.2 for Nightscout 0.10.3 release
2018-07-08 22:46:09 +02:00
PieterGit
cab24e131a
add mongodb port number to mqtt.test.js
2018-07-08 22:31:23 +02:00
PieterGit
2122382c3b
Merge branch '201807_supertest' of https://github.com/PieterGit/cgm-remote-monitor into 201807_upgrades
2018-07-08 22:29:55 +02:00
PieterGit
83503ae190
use latest version of Node 8 available
2018-07-08 02:27:30 +02:00