Commit Graph
5274 Commits
Author SHA1 Message Date
inventor96 b3a47b36e0 Simplified route handling 2019-09-07 23:39:17 -06:00
inventor96 223806701c Migrated standalone intents to MetricNow intent 2019-09-07 21:55:42 -06:00
inventor96 855b64dac0 Removed extra google stuff 2019-09-07 20:30:52 -06:00
inventor96 90562a336d Yet another CONTRIBUTING fix 2019-09-07 20:21:28 -06:00
inventor96 8a200151e0 Fixed parameter referencing in googlehome 2019-09-07 20:10:27 -06:00
inventor96 b39eb8f672 Changed order of operations 2019-09-07 19:49:32 -06:00
inventor96 58162c2183 Updated googlehome plugin to mimic the alexa plugin 2019-09-07 19:30:35 -06:00
inventor96 51c8d2cdda Corrected missed translate() text 2019-09-07 18:39:55 -06:00
inventor96 efa35c4616 Renamed Alexa stuff to virtAsst for generic-ness 2019-09-07 17:51:31 -06:00
inventor96 ce00c945b0 One more time... 2019-09-07 00:25:29 -06:00
inventor96 a7bf320042 Minor code formatting improvements 2019-09-07 00:06:32 -06:00
inventor96 3b183a2137 One more fix for CONTRIBUTING.md 2019-09-06 23:53:17 -06:00
inventor96 93f8eb9d65 Spacing unification 2019-09-06 18:10:47 -06:00
inventor96 e36a6f1e16 Updates and fixes to CONTRIBUTING.md 2019-09-06 17:55:08 -06:00
inventor96 202402fbc4 Copied work done by mdomox 2019-09-06 17:40:46 -06:00
CalebandGitHub d7671027cd Merge pull request #1 from nightscout/master
Update 2019-05-08
2019-07-30 16:46:50 -06: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
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
Sulka Haro 6499480c27 Merge branch 'dev' into plugin_pref_ui 2019-07-26 12:49:59 +03:00
Sulka Haro 99ac3a6857 Remove debug logging 2019-07-26 12:04:08 +03:00
Sulka HaroandGitHub 71981de7c6 Merge pull request #4793 from nightscout/less_obtrusive_clock_close
feat: Less obtrusive clock close button
2019-07-26 11:59:55 +03:00
Sulka Haro 6c01edbfb6 Only show plugin settings in in client if the plugin is visible 2019-07-26 11:31:19 +03:00
Sulka Haro 298a3f5e1f Add the new setting to README 2019-07-26 11:23:03 +03:00
Sulka Haro 2b0b19d6df Adds a new feature for plugins, where plugin extended settings can be changed in the client. Needs expanding on later - currently only supports booleans as checkboxes. 2019-07-25 21:33:42 +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
John WestonandPieterGit a39b245baa fix: Temp basal input fix for browsers that don't follow standards (Samsung phones, Kindle Fire) 2019-07-24 19:37:53 +02: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 HaroandGitHub d2f21a5911 Merge pull request #4794 from nightscout/load_sensor_stop
Load the latest 'Sensor Stop' event from last 32 days
2019-07-24 11:05:13 +03:00
Sulka Haro 9acd999633 Load the latest 'Sensor Stop' event in case user has a Start and Stop event that are both outside the 2-day full data load window 2019-07-24 11:03:56 +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
Sulka HaroandGitHub 0dd7347eae Merge pull request #4775 from unsoluble/patch-1
Update browser requirements
2019-07-23 14:59:33 +03:00
Sulka HaroandGitHub eb3e4c804a Merge pull request #4779 from mastacheata/patch-1
Only set INSECURE_USE_HTTP as last resort
2019-07-23 14:57:24 +03:00
Sulka HaroandGitHub 3d5fc8df72 Merge pull request #4778 from mastacheata/patch-2
Perform HTTP to HTTPS redirect using 307 status
2019-07-23 14:56:05 +03:00