Commit Graph
5294 Commits
Author SHA1 Message Date
Sulka HaroandGitHub 698c68ed35 Merge pull request #4927 from nightscout/dev
Release Nightscout 0.12.4
0.12.4
2019-09-18 22:40:08 +03:00
Sulka HaroandGitHub 146f09a3d3 Merge branch 'master' into dev 2019-09-18 22:05:56 +03:00
Sulka Haro 3c99ba7122 Updated the browser requirements in README 2019-09-18 22:03:37 +03:00
Sulka Haro fdfb2249f9 Bump version to 0.12.4 for release 2019-09-18 21:23:11 +03:00
Sulka Haro 18788337a8 Change a let to var in clock views to allow running on old devices 2019-09-18 09:49:03 +03:00
BluefoxandSulka Haro 196bcd65bd Fixed error if latestSGV not filled (#4919)
* (bluefox) add npmignore

* Make it runnable as npm package

* (bluefox) use absolute path for static folder

* Allow start not only from cgm-remote-monitor

* (bluefox) add polling option to make it possible the communication without socket.io

* 0.12.3-2
Allow slow communication without socket.io

* (bluefox) fix errors

* (bluefox) fix clock with authentication

* (bluefox) fix clock

* fix time

* Formatting

* Fix clock if authentication is enabled
Add .npmignore file

* Add time to clock view back

* Formatting

* Fix authentication dialog
Take browser language for auth dialog

* Select browser language for authentication dialog
Make authentication dialog bigger to suit for other languages.

* Update hashauth.js

* Update hashauth.js

* Update hashauth.js

* Update hashauth.js

* (bluefox) fix chart if no latestSGV defined

* Select language from localStorage

And get suitable language for the very first auth dialog (before the settings were read from server or user can select language in the configuration)

* Fix language selection

* Charts were fixed if no latestSGV value found
HTML formatting for "TDD average" and so on

* Remove .npmignore

* Some code formatting. No relevant changes

* Show "-?-" in clock mode if no measured value found.

* Small CSS Formatting
2019-09-17 20:47:30 +03:00
fedor apanasenkoandSulka Haro 0898ec12ae Russian translation proofreading minor corrections, up to line 8000 (#4950) 2019-09-17 20:45:23 +03:00
John WestonandSulka Haro e06e3723b9 Rewording the "store hash" label (#4930)
* Rewording the "store hash" label

(Nobody in the public knows what a "hash" is; this setting is constantly misunderstood.)

* Update languge.js to match
2019-09-17 20:42:36 +03:00
Sulka HaroandGitHub 8ce6e24348 Use Babel to transpile the client bundle to be compatible with old browsers (tested with iOS 9) (#4932) 2019-09-17 20:38:42 +03:00
Erin879andSulka Haro db6520fb95 fixed unit conversion in basal pill, openaps pill, temporary targets, and treatments (#4923) 2019-09-15 19:06:16 +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
Sulka HaroandGitHub 7c0a00537b Wip/clock hide state management (#4944)
* Add tap-to-show close buttons

* oops, small typos

* remove unused class

* Add state management to the clock close button hiding
2019-09-15 19:01:29 +03: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
Lukas HerzogandPieterGit 3b5430db6f German language updates (#4895)
* Updated german Languague for #4851

* added new translations
2019-08-23 16:03:09 +02:00
PieterGitandGitHub d0e14de83d Fix clock if authentication is enabled (#4914)
* Fix clock if authentication is enabled
Add .npmignore file

* Add time to clock view back

* Formatting

* Select browser language for authentication dialog
Make authentication dialog bigger to suit for other languages.

* Update hashauth.js

* Update hashauth.js

* Update hashauth.js

* Update hashauth.js

* Select language from localStorage

And get suitable language for the very first auth dialog (before the settings were read from server or user can select language in the configuration)

* remove extra `/ ` from clockview, otherwise bundle will not load and search for domain `bundle`

fixes https://github.com/nightscout/cgm-remote-monitor/pull/4860#pullrequestreview-277209223

* remove .npmignore for now.

should be merged in seperated PR

* small fixes
2019-08-22 20:50:51 +02:00
Sulka HaroandGitHub 23ac70a4d1 Merge pull request #4838 from unsoluble/patch-7
Rewording of the "wrong profile" dialog
2019-08-11 14:58:28 +03:00
Sulka HaroandGitHub 46070c9aea Merge pull request #4851 from unsoluble/patch-1
Update language.js per #4837 and #4838
2019-08-11 14:58:02 +03:00
Sulka HaroandGitHub 0f7c03d121 Merge pull request #4861 from Erin879/dev
Fixed issue with incorrect temporary target validation
2019-08-11 14:57:04 +03:00
Erin879 cf89f37d50 fixed issue with incorrect target validation 2019-08-06 23:28:29 +01:00
Erin879andGitHub 5be345be48 Merge pull request #1 from nightscout/dev
Dev
2019-08-05 22:23:19 +01:00
John WestonandGitHub f2b05508aa Update language.js per #4837 and #4838 2019-08-04 08:17:19 -07:00
Sulka HaroandGitHub 98c22d9f1e Merge pull request #4837 from unsoluble/patch-6
Remove profile conversion warning
2019-08-04 17:43:18 +03:00
Sulka HaroandGitHub d47fd21869 Merge pull request #4833 from bassettb/daytoday-carbs-dont-need-IC-calc
Don't show calculated insulin next to carbs
2019-08-04 17:42:12 +03:00
Sulka HaroandGitHub eacc560811 Merge pull request #4831 from ireneusz-ptak/patch-1
staleTime div is missing in the clockview
2019-08-04 17:37:21 +03:00
Sulka HaroandGitHub 503a029f8a Merge pull request #4846 from GermanBluefox/patch-1
Allow start nightscout from other directories but cgm-remote-monitor
2019-08-04 17:34:33 +03:00
Sulka HaroandGitHub f7dc1f8013 Merge pull request #4848 from Erin879/dev
Fixed plugin settings being displayed in other settings pages
2019-08-04 17:25:16 +03:00
BluefoxandGitHub 1c9d5b1409 Use not only from cgm-remote-monitor 2019-08-03 21:22:14 +02:00
BluefoxandGitHub 5e883886ee Formatting 2019-08-03 21:18:54 +02:00
BluefoxandGitHub 54ae531528 Allow start nightscout from other directories but cgm-remote-monitor
If I start nightscout from other path, e.g. from `/opt` and nightscout is in `/opt/cgm-remote-monitor`, it tries to find `/opt/tmp` what does not exist.
2019-08-03 21:06:25 +02:00
Erin879 8c9d51fd0a Fixed plugin settings being displayed in other settings pages 2019-08-03 15:09:43 +01:00
John WestonandGitHub 23e9db90c7 Rewording of the "wrong profile" dialog 2019-07-31 11:21:38 -07:00
John WestonandGitHub 1a26b2a3e8 Remove profile conversion warning
This modal dialog about converting the profile to a format that 0.9.0 or earlier won't support is still popping on fresh installs, shouldn't be required at this point.
2019-07-31 11:16:02 -07:00
Sulka Haro 9897926864 Bump version to 0.12.4-dev 2019-07-30 22:17:25 +03:00
ireneusz-ptakandGitHub 4638db55cc staleTime div is missing in the clockview 2019-07-30 17:07:34 +02:00
Sulka HaroandGitHub f81298fb28 Release 0.12.3
This is a bug fix / improvement point release of Nightscout Jellybean

**New features**

* Adds option to colorize the OpenAPS prediction lines, along with a new mechanism for plugins to expose their extended settings to the client UI, so this setting can be switched on and off in the client
* CarePortal now validates Temporary Target values and prevents saving entries with broken data

**Changes**

* Lowers the Node version requirement to allow Azure deploys. Azure deploys are still likely to fail on free Azure tiers due to running out of hosting resources to run the site. Microsoft is looking into this and hoping to provide us a solution to hosting Nightscout in Azure, but for now if you want to upgrade to this release, you will need to use a paid Azure tier or an alternate hosting solution like Heroku (instructions on how to migrate to Heroku are to be found at nightscout.info)
* Updated documentation regarding Azure and above mentioned configuration
* **OpenAPS 0.6 users** OpenAPS 0.6 has issues with date comparison that cause the Nightscout treatment synchronization to fail for users in time zones with the relative time earlier to UTC (UTC minus something). This release adds a workaround to the system that converts dates back to the originating form in the REST API, causing the OpenAPS date comparison logic to work as expected. You can enable this workaround by setting  DE_NORMALIZE_DATES=true in Heroku / Azure.* Fixes the button positioning the toolbar
* The clock view close X button is now controlled by a parameter in the URL. If you want to bookmark a clock view without the X, open the clock view from Nightscout navigation and remove the `showClockClosebutton=true` parameter from the page address before adding the bookmark
* Latest Stop Sensor event from last 32 days is now loaded to fix some plugin issues for users who have a sensor that was started and stopped recently but more than 2 days ago

**Developers**

* Allow Node 12 in the node version checks
* Swagger REST API documentation how works over /api-docs and developer docs in CONTRIBUTING.md have been updated
0.12.3
2019-07-30 14:30:01 +03: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 Haro 1ada478145 Bump version to 0.12.3 2019-07-30 13:49:04 +03: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 c2c534acf9 Update README.md
Updated README to reflect all changes from the release
2019-07-30 13:41:27 +03:00
bassettb 6c5bc21650 Don't show calculated insulin from carbs 2019-07-29 11:32:20 -04:00
Sulka HaroandGitHub 35c7dc42ce * Allow users to set DE_NORMALIZE_DATES=false to have the REST API denormalize UTC dates to zoned ISO dates in the API (#4826) 2019-07-29 17:21:05 +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
bassettbandSulka Haro c13d847bc4 New utils.toFixed() for cleaner labels (#4822)
* Updated utils.toFixed

* tabs to spaces

* Rename the new function toFixedMin

* fix tests

* Simpler, more robust check

See https://stackoverflow.com/questions/6003884/how-do-i-check-for-null-values-in-javascript
2019-07-29 17:20:27 +03:00
Sulka HaroandGitHub e1f0ac59da Small fix for if-modified-since header parsing (#4827) 2019-07-29 17:19:53 +03:00
John WestonandSulka Haro 5bf903efa5 Clock-color arrow wasn't reverting from its stale state (#4821) 2019-07-29 16:30:45 +03:00
Sulka HaroandGitHub cdc7669abb Changed logic for the Clock Close button: 1) The show now defaults to false. When enabled, the close X always appears, 2) The views also accept this parameter from a GET parameter, which is set when navigating to the view from the menu, so users can bookmark the page without the parameter (#4824) 2019-07-29 16:30:16 +03:00
Sulka HaroandGitHub fcca5125d6 feat: validate temp target in Careportal (#4812)
* Adds data validation function to the careportal
* Validate temporary targets define both low and high target and sanitize the values for obvious issues
* Removes unused logging from openaps pill
* Fixes a bug with undefined setting
2019-07-27 17:27:36 +03:00
Sulka HaroandGitHub 7fe9fefff1 Assume any string in DISPLAY_UNITS that contains "mmol" indicates mmo… (#4810)
* Assume any string in DISPLAY_UNITS that contains "mmol" indicates mmol and ensure mg/dl is right if the setting is not mmol

* Add startup logging for the value
2019-07-27 11:50:07 +03:00
Sulka HaroandGitHub c9db3e3d15 Merge pull request #4799 from nightscout/plugin_pref_ui
feat: browser setting for openaps color lines
2019-07-26 15:47:03 +03:00