Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
Sulka Haro 9897926864 Bump version to 0.12.4-dev 2019-07-30 22:17:25 +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
Sulka HaroandGitHub e1f0ac59da Small fix for if-modified-since header parsing (#4827) 2019-07-29 17:19:53 +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
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
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
Sulka Haro 561f42af91 Fix main view button alignment 2019-07-21 11:58:24 +03:00
Sulka HaroandGitHub 5fea10aa27 Merge pull request #4748 from nightscout/dev
Release 0.12.2
2019-07-20 18:29:57 +03:00
Sulka Haro 7d7e57716b Bump version to 0.12.2 2019-07-20 18:27:52 +03:00
Sulka Haro 4626156a2b Add close buttons to all views accessible from the main menu, to prevent users on iOS getting stuck 2019-07-20 18:23:35 +03:00
Sulka Haro 0dd701e7e4 Add small close button to the clock views 2019-07-20 14:29:49 +03:00
Sulka Haro 26f698ac6c Bump version to 0.12.1 2019-07-20 14:00:15 +03:00
Sulka Haro 629e3754f3 Bump version number to 0.12.1 2019-07-20 13:59:44 +03:00
Sulka Haro 41ff79a2e6 Merge branch 'dev' 2019-07-20 13:54:15 +03:00
Sulka Haro f874183959 BUGFIX: Fix the clock to load the javascript bundle from the right place 2019-07-20 13:53:05 +03:00
Sulka HaroandGitHub b627d311ce Merge pull request #4733 from nightscout/dev
Release 0.12.0
2019-07-20 10:06:15 +03:00
Sulka Haro ad1913182e * Bump version to 0.12.0 for release
* update package.json and nvmrc to point to latest 10 series LTS node
* Add my.env.template, referred to in dev docs
2019-07-19 10:13:36 +03:00
Sulka Haro 851b08ff4c Fix issues found with linting in the server code & update module versions based on npm audit 2019-07-19 09:46:40 +03:00
Sulka Haro 938055730c Add eslint ignores to a false positive 2019-07-19 09:16:53 +03:00
Sulka Haro b933da2b97 * Merge branch 'master' into dev
* Update version to 0.11.2-rc3
2019-07-17 15:18:04 +03:00
Sulka HaroandGitHub 8f25a6e7a4 Fix all issues from ESLint (#4730)
* Cherry picks the ES language changes from #4690

* Fix small issues found in linting

* * Fix all but one eslint complaint in the bundled code
* Add eslint and js-beautify rc files into the repo
2019-07-17 15:04:57 +03:00
Sulka HaroandGitHub b04476e1f9 Normalize Treatment, Entry and Device Status object dates to be all in UTC Strings (#4658)
* Normalize Treatment object dates to be all in UTC Strings, as expected by the codebase

* Also normalize the device status data

* Sort the results so results with mixed dates are returned in correct order

* Use MomentJS to correctly parse the offsets & output the offset to objects at all times

* Removing a debug console log message causing excessive logging

* Use UTC date values for queries even if client asks for zoned dates

* Remove extra sorting based on date. Code clarifications

* * Add missing parseZone() call to treatments
* Check isValid() date on entries

* Use isValid() to check date validity for device status data
2019-07-17 09:03:39 +03:00
Sulka HaroandGitHub f9d59c4e3e Packaging / development improvements (#4710)
* * Package reporting plugins separately into another bundle to reduce main bundle size
* Use moment timezone webpack plugin to load less time zone data
* When server is run in development mode, hot reload code changes without restart

* Run code through a linter when in dev mode

* Remove a couple unnecessary logging lines

* Fix tests
2019-07-15 14:38:36 +03:00
Sulka Haro e9576df740 Add documentation 2019-07-15 13:22:01 +03:00
Sulka Haro dfe9d1baef Fix tests 2019-07-14 20:49:03 +03:00
Sulka HaroandGitHub 8959287474 Calculate a has for treatments for deduplication (type + timestamp) (#4724) 2019-07-14 20:40:55 +03:00
Sulka Haro 76d103f399 Remove a couple unnecessary logging lines 2019-07-01 17:55:46 +03:00
Sulka Haro ca04cc2d9a Run code through a linter when in dev mode 2019-07-01 17:54:40 +03:00
Sulka Haro 8653d492f2 * Package reporting plugins separately into another bundle to reduce main bundle size
* Use moment timezone webpack plugin to load less time zone data
* When server is run in development mode, hot reload code changes without restart
2019-06-30 20:58:04 +03:00
Sulka HaroandGitHub a6787b5f8b Clamp treatments & load less data (#4697)
* Reduce the amount of days we load treatments for and load the latest entry of each type we need from last month, to have the site load faster

* Clamp treatments fit to the BG curve at 22
2019-06-20 09:01:26 +03:00
Sulka HaroandGitHub fa28b0cd05 Fix distribution report totals (#4691)
* Distribution totals were miscalculated due to data interpolation. This also adds filtering for non-sgv dexcom entries - we need a new feature so user can define what CGM system she's on and set the lower bound of acceptable CGM values appropriately

* Remove debug logging
2019-06-20 08:59:11 +03:00
Sulka HaroandGitHub 6ed5ee0ec0 feat: clock view code refactor (#4639)
* * Full refactor of the clockface code. Clocks now get their own small javascript bundle that contains the bare minimum client (from /lib/client/clock-client.js)
* Clocks no longer have separate HTML files but each has unique CSS definitions
* Fixed the bug where a finger measurement showed NaN in the clock

* Update shrinkwrap to match package.json

* Revert accidental index.html changes

* Bunch of minor fixes (#4641)

* Add triple arrows

* remove time

* grey arrows on bgclock

* try again on arrow fill

* Update bgclock.css

* fix double-mmol-conversion

* Update clock-client.js

* tabs to spaces everywhere

* Refactors based on Jason's comments

* Remove the clock bundle generation from app.js
2019-06-20 08:55:52 +03:00
Sulka HaroandGitHub 5ac49cda73 Fix BG data wrapping issue with Chrome (#4667) 2019-05-30 22:50:09 +03:00
Sulka HaroandGitHub 2ac89d254e Add try/catch blocks to around plugin calls, which should in most cases prevent a single data error in a single plugin from taking down the entire Nightscout (#4595) 2019-05-19 11:43:01 +03:00
Sulka HaroandGitHub 4efc79965b Allow framing in Helmet, as many users have setups like monitoring two PWDs in a frame-based setup, which was broken by the previous release (#4495) 2019-04-28 22:30:38 +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 HaroandGitHub 98d8ebac9c Wip/ios springboard app fixes (#4543)
* Suspend TimeAgo reports for 15 seconds if the app has been sleeping. Add a BACK link to reports (due to iOS now not resetting springboard web apps, so it's impossible to go back to the main view)

* Move detection to another plugin call

* Fix typoed millsecond multiplier and drop the alarm suspend to 10 seconds
2019-04-20 21:18:54 +03:00
Sulka HaroandGitHub 3e4b45b2de Fix stale data alarms on latest iOS (#4542)
* Suspend TimeAgo reports for 15 seconds if the app has been sleeping. Add a BACK link to reports (due to iOS now not resetting springboard web apps, so it's impossible to go back to the main view)

* Move detection to another plugin call
2019-04-20 20:12:36 +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
Sulka HaroandGitHub 55b11bc38e Add support for rendering Triple Up and Triple Down Direction (#4458)
* Support TripleUp Direction for Medtronic Guardian using a single triple arrow Unicode char
2019-03-14 18:27:08 +02:00
Sulka HaroandGitHub ad338bfdb7 Protein and Fat logging support (#3830)
* Add protein and fat logging to CarePortal, simple sums to day to day reporting, grams in graphs

* Add fat and protein to swagger

* Fix aggregate report sometimes considering logged carbs, protein and fat as a string. Add editing of protein and fat to reports. Show protein and carbs on daily reports
2019-03-03 12:20:05 +02:00
Sulka HaroandGitHub 4f8f428ee2 Merge pull request #4434 from nightscout/wip/travis_test
Point Travis to latest Xenial Linux VMs
2019-03-03 12:18:20 +02:00
Sulka Haro 59e79b1fb0 Make sure NPM is up to date 2019-03-03 12:06:53 +02:00
Sulka Haro 546b0f6ba2 Testing if recent changes have fixed builds in Linux-based Travis instances 2019-03-03 12:01:28 +02:00
Sulka HaroandGitHub 6532dac48e Merge pull request #4371 from nightscout/wip/allow_speech_on_ios
Improvement: causes client to say Ok Ok when the alarm test button is…
2019-02-17 14:53:43 +02:00
Sulka Haro 42feacc734 Improvement: causes client to say Ok Ok when the alarm test button is pressed, needed for speech to work on mobile browsers 2019-02-17 14:52:13 +02:00
Sulka Haro 9abcdd7249 Update dev version to 0.11.1 2019-02-07 23:24:03 +02:00
Sulka Haro dcd9871316 Update release version 2019-02-07 23:21:16 +02:00
Sulka HaroandGitHub 48c0f59088 Merge pull request #4272 from nightscout/release/0.11
Draft release notes for upcoming 0.11 release (currently release candidate phase).

# Changes

Over 360 commits, 89 files changed, +8,428 / −6,569 lines of changes (full list of changes here: 
https://github.com/nightscout/cgm-remote-monitor/pull/4022/commits )

## New features
- Fully secure by default out of the box.  Unsecure access via http is not allowed anymore by default. This might force you to re-authenticate with your `API_SECRET` or token if you were using unsecure access. (@PieterGit )
- No outdated packages with vulnerabilities are being used anymore (@PieterGit ) 
- Add Week to Week report (@jpcunningh, https://github.com/nightscout/cgm-remote-monitor/pull/4123 ) 
- Add Loopalyzer report to analyse looping. Visualize your loop (@lixgbg, https://github.com/nightscout/cgm-remote-monitor/pull/3629 https://github.com/nightscout/cgm-remote-monitor/pull/4235 )
- Add predictions support to Day to Day report (@lixgbg, https://github.com/nightscout/cgm-remote-monitor/pull/3179 )
- Add cgm sensor stop to Careportal (@jpcunningh, https://github.com/nightscout/cgm-remote-monitor/pull/4060)

## Removed features
- remove `mqtt` module, because it had a security issue and was not used
- remove `sgvdata`  module, because it had a security issue, added a lot of complexity and wasn't needed (@PieterGit ). Replacement implementation for CSV and TSV export (@sulkaharo ).

## Improvements
- Fix MongoDB database insert handling. Log error on inserts and don't crash in case the MongoDB disk is full or MongoDB quota is reached (@sulkaharo and @jpcunningh)
- Upgrade packages to recent version, fixing all known security issues with dependencies (@PieterGit)
- Redirect redirect HTTP to HTTPS and implement HSTS (@jweismann, @PieterGit, https://github.com/nightscout/cgm-remote-monitor/pull/4044 and https://github.com/nightscout/cgm-remote-monitor/issues/4010	and https://github.com/nightscout/cgm-remote-monitor/pull/4253 )
- Technical improvement: Migrate from `uglify-js` to `terser-webpack-plugin` (@PieterGit)
- Streamlined Heroku deployment template with more descriptive text and more appropriate defaults for new users (@unsoluble, https://github.com/nightscout/cgm-remote-monitor/pull/4116 )

## Bug fixes
- Fix CGM voltageb battery warning level to match xDrip+ (@jpcunningh, https://github.com/nightscout/cgm-remote-monitor/pull/3954 )
- Fix daylight saving and reloading bug in profile editor, (@DigitalDan1, @Kywalh https://github.com/nightscout/cgm-remote-monitor/pull/4029 and https://github.com/nightscout/cgm-remote-monitor/pull/4074 )
- Reduce the amount of Profile Switch treatments being loaded to fix UI slowdown and Nightscout home screen losing AAPS data from >3 hours ago, (@sulkaharo, @vickster1, https://github.com/nightscout/cgm-remote-monitor/issues/4055 )
- Upgrade to [share2nightscout 0.2.0](https://github.com/nightscout/share2nightscout-bridge/releases/tag/0.2.0). Prevent Nightscout server crashes in case Dexcom server does not respond (@PieterGit, @veryfancy)
- Fix UI so pills are updated immediately after new data is loaded (@sulkaharo)
- Fixes to If-Modified-Since HTTP header handling for BG data (@sulkaharo)

## Documentation and language updates
- Language updates for Danish, Dutch, German, Hebrew, Norwegian, Russian 
- New languages: Japanese, Turkish
- Update Alexa documentation. Note that some Alexa improvements are postponed to Nightscout 0.12 because the Alexa plugin needs refactoring, see https://github.com/nightscout/cgm-remote-monitor/issues/4168#issuecomment-451701994
- Update IFTTT maker-setup.md docs (@Dave9111, @unsoluble, https://github.com/nightscout/cgm-remote-monitor/pull/4206 )
- Updated various docs, including [CONTRIBUTING](https://github.com/nightscout/cgm-remote-monitor/blob/dev/CONTRIBUTING.md) documentation

# Upgrade notes
- We only allow Nightscout to start with a secure Node JS. 
  - Latest Node 8 LTS (8.15.0 or later) and Latest Node 10 LTS (10.15.1 or later) are recommended and supported. 
  - Latest Node version on Azure (currently 10.14.0) is tolerated, but not recommended
  - Other versions will not start 
- The [rawbg](https://github.com/nightscout/cgm-remote-monitor#rawbg-raw-bg) settings are converted to a single setting tri-state variable.
- We improved security and added several new environment variables such as [INSECURE_USE_HTTP and SECURE_HSTS_HEADER](https://github.com/nightscout/cgm-remote-monitor/#predefined-values-for-your-server-settings-optional)
  - Your site redirects to https by default. If you don't want that or use a Nginx or Apache proxy, set `INSECURE_USE_HTTP` to `true`.
  - We enabled [HTTP Strict Transport Security (HSTS)](https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security) headers by default, settings `SECURE_HSTS_HEADER` and `SECURE_HSTS_HEADER_*`

## Upgrade notes for Azure users

We recommend Azure users consider migrating their hosting to Heroku, as we've observed Heroku users have significantly less issues with having their sites work reliably. If you want to continue using Azure, change the following configuration variables in Azure before updating to the latest Nightscout version:
```
WEBSITE_NODE_DEFAULT_VERSION=10.14.1
SCM_COMMAND_IDLE_TIMEOUT=300
```

# Install instructions

Install instructions can be found: https://github.com/nightscout/cgm-remote-monitor/blob/master/README.md#install

# Contributors to this release

The release coordination for this release was done by @PieterGit 
We would like to thank the following people for their contribution (in alphabetical order):
@anderser, @apanasef, @balshor, @bewest, @blocklist_twitter, @CaroGo, @cascer1, @cluckj, @danamlewis, @Dave9111, @diabetlum, @herzogmedia, @janrpn, @jasoncalabrese, @jpcunningh, @jweismann, @kenstack, @Kywalh, @lixgbg, @LuminaryXion, @MilosKozak, @mitrei, @PaperT1D, @PieterGit, @unsoluble, @rarneson, @renegadeandy, @scottleibrand, @sulkaharo, @T-o-b-i-a-s, @tynbendad, @unsoluble, @veryfancy, @viq, @wootmasterslick

(if I forgot somebody, please respond)

# TODO

TODO: Translations, Languages with less than 80% will be removed in a future Nightscout version. Currently the following languages are at risk: 
中文(繁體) (zh_tw), Hrvatski (hr), Ελληνικά (el), 한국어 (ko)
See https://gitter.im/nightscout/public?at=5bef2f34de42d46bba766f66

TODO: Fix Codacy errors, https://app.codacy.com/app/Nightscout/cgm-remote-monitor/issues?bid=2452379&filters=W3siaWQiOiJDYXRlZ29yeSIsInZhbHVlcyI6WyJFcnJvciBQcm9uZSJdfV0=

TODO: test dev after all new features are merged for at least two weeks
2019-02-07 23:12:08 +02:00
Sulka Haro 022a08256d Merge branch 'release/0.11' of github.com:nightscout/cgm-remote-monitor into release/0.11 2019-02-07 22:29:33 +02:00
Sulka HaroandGitHub ee92df243b Merge master to dev (#4273)
Merging changes made to Master since last release into Dev for a release
2019-02-07 22:23:42 +02:00
Sulka Haro 0198bcc687 Merge branch 'master' into release/0.11 2019-02-07 22:20:25 +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
Sulka HaroandGitHub 11c6086678 Update --bug-report.md
Adding auto-labeling of bugs with the bug label
2019-01-15 12:09:55 +02:00
Sulka HaroandGitHub 2da377d4e5 Have the UI fully update immediately after new data update. Debounce the Mongo loading for 5 seconds after data has been updated (#4189) 2019-01-12 11:34:26 +02:00
Sulka HaroandJeremy Cunningham 70e50bf082 Update Makefile
Regenerated the Codacy Token and gave the new token to Travis
2018-12-15 15:39:41 -06:00
Sulka HaroandGitHub 8e29dc713f Update Makefile
Regenerated the Codacy Token and gave the new token to Travis
2018-12-12 14:45:53 +02:00
Sulka HaroandGitHub 6a0e5d91d3 Adds back the support for loading Entries with CSV and TEXT formats (#4114)
* Adds back the support for loading Entries with CSV and TEXT formats

* Add default JSON processing MIME type to request formatting

* Cleanly return a blank string if no entries are found

* Restore TSV output extension, better logging
2018-12-03 23:30:33 +02:00
Sulka HaroandGitHub 0be4244c68 Update CONTRIBUTING.md
Clarified plugins, bug fixing parts
2018-12-02 16:14:52 +02:00
Sulka HaroandGitHub ae44f9b17f Update CONTRIBUTING.md
Added note on README updates
2018-12-02 16:04:51 +02:00
Sulka HaroandGitHub e963af57d3 Update CONTRIBUTING.md
Added notes on expectations on Pull Requests
2018-12-02 16:02:26 +02:00
Sulka Haro a98ed22d4a Wrong keyword in how the limit is applied 2018-11-19 21:45:28 +02:00
Sulka Haro 4857d42836 After discussing with Milos, actually only guarantee 1 duration 0 profile change object in addition to the default 8 days of treatments 2018-11-19 19:18:36 +02:00
Sulka Haro e10944d85a Reduce the amount of Profile Switch treatments being loaded, to fix #4055 2018-11-19 18:19:08 +02:00
Sulka HaroandGitHub 7e311c5e1f Merge pull request #4031 from nightscout/wip/fix-empty-profile
Fixes day to day rendering crashing if data contains a Profile Switch…
2018-10-30 10:28:19 +02:00
Sulka Haro a665acaa79 Previous fix actually appended a blank note, this checks if the data is correct and bails out early if not 2018-10-30 08:49:57 +02:00
Sulka Haro 0e306b8c99 Fixes day to day rendering crashing if data contains a Profile Switch event without a profile 2018-10-29 22:41:41 +02:00