311 Commits
Author SHA1 Message Date
Pete SchwambandSulka Haro d729b0eb00 Remote Loop overrides (#5043)
* skeleton code

* publishing

* Activating remote override

* Fix event types refresh, and fix custom duration

* Don't create treatment record; loop will

* Additional override details for treatment tooltip

* Pass client from careportal

* attempt at moving endpoint to api/v2

* Add bodyParser to v2/notifications

* Remove notifications api from v1

* Remove unused var

* Better error handling and reporting

* Add documentation for new loop plugin vars

* Handle indefinite duration overrides

* Move label of indeterminate duration override to now line when start is offscreen

* test

* Use separate representation for indefinite duration treatments

* fix display for finite duration treatments

* Fix re-use of elements when treatment ordering changes

* Handle more rect transition() updates

* Add check for LOOP_DEVELOPER_TEAM_ID

* Support configuration of aps-environment via environment variable.

* Fix expiration date math; was essentially preventing retries
2019-10-16 12:35:22 +03:00
p5nbTgip0randSulka Haro adb138525d Fix black OpenAPS COB forecast dots (#5057)
* Removed alpha from COB hex colors

* Updated README for default COB/ACOB hex values

* Added link to W3C CSS color specifications
2019-10-09 23:02:16 +03:00
John WestonandSulka Haro 7a0204842a Add BrowserStack badge to the Readme (#5001)
* Create robots.txt

* Update robots.txt

* Delete robots.txt

* add browserstack logo image

* add BrowserStack badge/link to readme

* add resized BrowserStack logo

* Delete browserstack-logo-600x315.png
2019-10-09 22:56:54 +03:00
Sulka Haro 3c99ba7122 Updated the browser requirements in README 2019-09-18 22:03:37 +03:00
Alexandre ViauandSulka Haro 1ddc641ae9 mongolab -> mLab (#4926) 2019-09-15 19:03:43 +03:00
Alexandre ViauandSulka Haro 380f0e3eb3 api-docs.html -> /api-docs/ (#4942)
`/api-docs/` seems to be the correct path for the swagger UI.

- change `/api-docs.html` reference to `/api-docs/`
- also change `/api-docs` to `/api-docs/` as it is more exact
2019-09-15 19:02:35 +03:00
inventor96 202402fbc4 Copied work done by mdomox 2019-09-06 17:40:46 -06:00
Sulka Haro 3a8f199dd4 One more clock change - the SHOW_CLOCK_CLOSEBUTTON setting can now be used to disable the X from appearing in the clocks at any time. The default is to show it when the GET parameter is set, allowing bookmarking a clock without the X, but retaining it when navigating to the page 2019-07-30 14:15:05 +03:00
Sulka HaroandGitHub c2c534acf9 Update README.md
Updated README to reflect all changes from the release
2019-07-30 13:41:27 +03:00
Sulka Haro 6499480c27 Merge branch 'dev' into plugin_pref_ui 2019-07-26 12:49:59 +03:00
Sulka Haro 298a3f5e1f Add the new setting to README 2019-07-26 11:23:03 +03:00
Sulka Haro 7503512bbe Merge branch 'dev' into less_obtrusive_clock_close 2019-07-24 21:33:34 +03:00
Sulka HaroandGitHub 9919d1e9b7 Merge pull request #4788 from unsoluble/patch-3
Update clock view notes
2019-07-24 21:30:27 +03:00
Erin879andPieterGit 3a3f41d806 feat: Add support for different color prediction lines (#4792)
* add support for different color prediction lines

* changed quotation marks to better fit guidelines

* corrected and standardized variable names

* added support for colored ACOB prediction and changed default prediction line colors

* added default colour for 'Values' prediction
2019-07-24 19:22:39 +02:00
Sulka Haro c7674ae0ff Renamed the config variable and inverted the boolean logic 2019-07-24 12:27:51 +03:00
Sulka Haro 3373c27bef * Close button color is much dimmer and changes color appropriately in the color view
* HIDE_CLOCK_CLOSEBUTTON setting to hide the button altogether (set to TRUE or ON to hide buttons altogether)
* Fix CSS for toolbar positioning in the main view
* Fix documentation on the clock URLs and add mention of the setting
2019-07-24 10:57:36 +03:00
John WestonandGitHub 866b5710fd Update clock view notes 2019-07-23 09:18:33 -07:00
Sulka HaroandGitHub c9b7e5c37a Merge pull request #4769 from PieterGit/201907_dev
feat: Allow Node 12 and Node 10.15.2 for Azure
2019-07-23 15:01:55 +03:00
Sulka HaroandGitHub ae2e8c9801 Merge pull request #4782 from nightscout/master
Merge documentation change back to dev
2019-07-23 15:00:30 +03:00
Benedikt BauerandGitHub 2fed98a1fa Only set INSECURE_USE_HTTP as last resort
I've changed the explanation for the `INSECURE_USE_HTTP` environment variable.
The old first line describing this setting in just one sentence was wrong and the next line basically suggested turning this security feature off in situations where it's not needed.
In the nightscout code you check if either the connection is secure by itself or if the X-Forwarded-Proto header is set (which it should be by default in all major reverse proxy applications).
It should be unnecessary to change that setting even in a reverse proxy environment.
2019-07-22 22:13:45 +02:00
John WestonandGitHub 1c940788e4 Update browser requirements 2019-07-22 09:58:03 -07:00
PieterGit 99e8d6f373 up WEBSITE_NODE_DEFAULT_VERSION to 10.15.2 2019-07-22 07:59:36 +02:00
PieterGit 8d6e5514d2 allow Azure with Node ^10.15.2 and allow Node 12 2019-07-22 01:50:52 +02:00
PieterGit f0b3e1a589 allow Node 12 2019-07-20 13:55:05 +02:00
Sulka Haro e9576df740 Add documentation 2019-07-15 13:22:01 +03:00
Jason Calabrese a4f9b52850 update readme to include the override plugin and resole TODO 2019-05-08 19:20:30 -07:00
TanjaandSulka Haro 2574f90fbd Fixed alexa doc link. (#4423) 2019-04-28 22:31:06 +03:00
Sulka Haro bbcd3c55a8 Moved to braces module, which is maintained and doesn't have vulnerable dependencies. Added a mention of EU minimed servers to README. 2019-04-23 16:09:05 +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
PieterGitandGitHub d7185bce3d release candiate for 0.11.2 with Minimed EU Server and Guardian Connecti integration (#4487)
* 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
2019-03-20 09:41:19 +01:00
PieterGitandSulka Haro d437b56488 Node and npm update (#4412)
* npmupdate, update webpack, webpack-bundle-analyzer, swagger-ui-dist, jsonwebtoken, helmet, flot

* update to version 0.11.2-dev-20190224

* also test on latest Node (currently 11), but don't fail Travis build if it fails.

implement cclauss suggestion on https://github.com/openaps/oref0/pull/1203#issuecomment-464522954

* fix travis

* Node minor security upgrade

Node.js 8.15.1 (LTS "Carbon")
Node.js 10.15.2 (LTS "Dubnium")
Node.js 11.10.1 (Current)

https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/

* fix typo

* npm update

* update npm-shrinkwrap.json
2019-03-05 09:28:04 +02:00
Sulka HaroandGitHub 3acd7c8445 Fix auth button ui & update cache busting for App Cache (#4270)
* small doc fix to comments on Node versions

* Update README.md

* * Fixes authentication dialog UI on Mobile Safari
* Improves app cache busting, so after deploy the app is guaranteed to notice it has to reload content
* Small fix to Finnish language related to auth UI
2019-02-07 22:14:34 +02:00
Dave ColeandPieterGit 7df3d32ce6 Update IFTTT maker-setup.md docs (#4206)
* Create test.md

Create folder maker-setup-images

* Add files via upload

Added images to maker-setup-images

* Delete test.md

Delete temp file

* Update maker-setup.md

* Update README.md

Altered the IFTTT section
2019-02-03 15:15:30 +01:00
PieterGit cabace2317 ie8 is not compatible with Terser, so make that explicit 2019-02-03 00:57:43 +01:00
PieterGit 8098cda319 upgrade to minmum of Node 10.15.1 2019-02-03 00:28:08 +01:00
renegadeandyandGitHub 8caf1bd8a8 Update README.md
Feedback from @unsoluble
2019-01-22 17:55:40 -06:00
renegadeandyandGitHub fc37fbc835 Update README.md
Added clarity to ssl config details, and specifics for the use of letsencrypt
2019-01-22 17:46:08 -06: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
Jeremy Cunningham 5679266feb Updated rawbg settings to use a single setting tri-state variable. 2019-01-01 15:50:29 -06: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 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 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 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 ec6fe2c06b improve helmet use 2018-11-21 23:04:24 +01:00
PieterGitandGitHub 57874827fb Merge pull request #4044 from jweismann/dev
redirect HTTP to HTTPS unless explicitly instructed not to do this
2018-11-21 20:17:48 +01:00
PieterGit 986e2bc8be add contributor table and rerun doctoc 2018-11-16 21:19:06 +01:00
jweismann 372efcac58 add support for HSTS and other security related HTTP headers via helmet 2018-11-05 16:48:16 +01:00
jweismann e180f8fe6e redirect HTTP to HTTPS unless explicitly instructed not to do this redirection 2018-11-04 01:08:59 +01:00