Commit graph

3105 commits

Author SHA1 Message Date
Johannes Mockenhaupt b8ad44ba43
Fix ReadHistoryCommand to not ignore TDD requests. 2017-12-09 19:46:28 +01:00
Johannes Mockenhaupt 8699d9a384
Add missing listener registration. 2017-12-09 19:46:28 +01:00
Johannes Mockenhaupt 27e9cfda6f
Overhaul Combo tab buttons and dialogs. 2017-12-09 19:46:28 +01:00
Johannes Mockenhaupt 063a5ba6b9
Only read Tdd and Alerts through buttons on Combo tab, not treatment history. 2017-12-09 19:45:58 +01:00
Johannes Mockenhaupt 279d322c53
Merge branch 're-add-pump-time-check' into combo-scripter-v2
* re-add-pump-time-check:
  Shorten/make clearer message on pump clock being off.
  Pump time warning: urgency level based on how much the time is off.
  Check pump time not last connection time
  Re-add warning if pump time is off (needed for basal rates).
  RuffyScripter: read/infer pump time from menu.
2017-12-09 19:45:30 +01:00
Johannes Mockenhaupt b164793f42
Shorten/make clearer message on pump clock being off. 2017-12-09 19:44:28 +01:00
Johannes Mockenhaupt a7f07b26f9
Pump time warning: urgency level based on how much the time is off. 2017-12-09 19:43:53 +01:00
AdrianLxM 4d356096cf
Check pump time not last connection time 2017-12-09 19:43:53 +01:00
Johannes Mockenhaupt d2f2266a2b
Re-add warning if pump time is off (needed for basal rates). 2017-12-09 19:43:53 +01:00
Johannes Mockenhaupt e286b9e3c2
RuffyScripter: read/infer pump time from menu. 2017-12-09 19:43:24 +01:00
Johannes Mockenhaupt cf142a4538
Merge pull request #4 from jotomo/verify-record-date-after-bolus-cancel
Verify and return delivered bolus amount in BolusCommand
2017-12-09 19:41:16 +01:00
Johannes Mockenhaupt b409b737e5
On connect, take over TBR CANCELLED warning and raise message. Fixes #9. 2017-12-09 17:33:11 +01:00
Johannes Mockenhaupt d3926f64c8
Make CommandResult.delivered the primitive it always should've been. 2017-12-09 16:33:43 +01:00
Johannes Mockenhaupt 8bba8c4d5a
SetTbrCommand: handle edge case where TBR expires while a new one is being programmed. 2017-12-09 16:21:40 +01:00
Johannes Mockenhaupt d18fdc4974
Bolus used to determine last bolus must be within last/next 10min. 2017-12-09 00:37:38 +01:00
Johannes Mockenhaupt 197c116c0b
Document corner-cases when bolusing fails. 2017-12-09 00:34:08 +01:00
Johannes Mockenhaupt 6db58a4e93
Testing-Combo: add entry on experimenting with menu timeouts. 2017-12-08 23:49:33 +01:00
Johannes Mockenhaupt 2c8c25c082
Another NPE fix when ruffy isn't available. 2017-12-08 13:10:54 +01:00
Johannes Mockenhaupt f09464e5d6
Move detection of partial bolus delivery to BolusCommand.
Have BolusCommand verify delivered bolus if needed and return the
actually delivered bolus amount. This makes more sense now,
given history is only read if unavoidable.
2017-12-08 12:56:15 +01:00
Johannes Mockenhaupt e5a68608a0
Fix NPE when there's no pump. 2017-12-08 12:55:05 +01:00
Johannes Mockenhaupt 6e5f848c6b
Updating Testing-Combo.md to reflect removed history functionality. 2017-12-07 23:23:37 +01:00
Johannes Mockenhaupt a38afe7a2a
Merge pull request #2 from AdrianLxM/ghostbusters
bend translations
2017-12-07 22:04:15 +01:00
AdrianLxM 795292d891 bend translations 2017-12-07 20:51:17 +01:00
Johannes Mockenhaupt 81bde2cbde
Set version to 1.56-combo-csv2-test 2017-12-07 18:20:11 +01:00
Johannes Mockenhaupt 87ab6432c6
Revert "Custom: Disable Crashlytics."
This reverts commit 015a852ab5.
2017-12-07 18:19:27 +01:00
Johannes Mockenhaupt 9e03e078b6
Merge remote-tracking branch 'origin/dev' into combo-scripter-v2
* origin/dev:
  Add missing synchronized so guard works properly.
  Log full class name (not just filename), so logs can be filtered by package name.
2017-12-06 20:32:50 +01:00
Johannes Mockenhaupt dc3aa000f4
Update docs. 2017-12-06 20:27:36 +01:00
Johannes Mockenhaupt 8009b32b16
Fix reading history when bolus was attempted to cancel but bolus finished before pump accepted request. 2017-12-06 20:06:56 +01:00
Johannes Mockenhaupt 60d6f305b5
Debug code. 2017-12-06 19:31:51 +01:00
Johannes Mockenhaupt 865fc63bd4
RuffyScripter: consider pump connected when BT connection is there AND menu updates are being received. 2017-12-06 17:14:30 +01:00
Johannes Mockenhaupt de06c54f1d
Minor cleanups in ComboPlugin. 2017-12-06 17:14:30 +01:00
Johannes Mockenhaupt b0d55b09d4
Minor cleanups around the Command queue. 2017-12-06 17:14:30 +01:00
Johannes Mockenhaupt 86b63cb27d
Combo tab: show command queue if non-empty. 2017-12-06 17:14:30 +01:00
Johannes Mockenhaupt 1cbfefffb8
RuffyScripter: wait for command thread to finish up. 2017-12-06 16:06:16 +01:00
Milos Kozak 648b918e3a
Merge pull request #528 from jotomo/log-packages
Log full class name (not just filename), so logs can be filtered by p…
2017-12-06 14:16:20 +01:00
Milos Kozak 6f172bf084
Merge pull request #529 from jotomo/synchronize-for-guard
Add missing synchronized so guard works properly.
2017-12-06 14:16:03 +01:00
Johannes Mockenhaupt 51b51c159c
Clean up earlier merge blunder. 2017-12-06 12:12:25 +01:00
Johannes Mockenhaupt d58bb75d01
Add missing synchronized so guard works properly. 2017-12-06 12:01:59 +01:00
Johannes Mockenhaupt 7d07982181
Log full class name (not just filename), so logs can be filtered by package name. 2017-12-06 11:53:51 +01:00
Johannes Mockenhaupt b548d092d1
Remove unneeded dependencies. 2017-12-06 11:50:44 +01:00
Johannes Mockenhaupt 32b7df39f9
Merge remote-tracking branch 'origin/dev' into combo-scripter-v2
* origin/dev:
  Update strings.xml
  Update strings.xml
2017-12-06 11:34:32 +01:00
Johannes Mockenhaupt 77bd3b51fa
Update docs. 2017-12-06 11:33:30 +01:00
AdrianLxM 525adddc5e
Merge pull request #527 from osodebailar/dev
Dev
2017-12-06 10:18:43 +01:00
Johannes Mockenhaupt 5caec45760
Fix add bolus record from pump history when bolus was cancelled. 2017-12-05 23:41:22 +01:00
Johannes Mockenhaupt 0f034dd662
Merge remote-tracking branch 'origin/dev' into combo-scripter-v2
* origin/dev:
  check for duration in json
  untranslatable strings
  greek language
  check for null
  queue logging
2017-12-05 23:19:05 +01:00
Johannes Mockenhaupt db46d3be9b
Update docs. 2017-12-05 23:17:05 +01:00
Johannes Mockenhaupt 960cb92789
Remove idle-disconnect-monitor and let the command queue take care of that. 2017-12-05 23:17:05 +01:00
Milos Kozak 7be5c041cc
Merge pull request #526 from MilosKozak/untranslatable
untranslatable strings greek
2017-12-05 22:37:34 +01:00
Milos Kozak 455383cfd5 check for duration in json 2017-12-05 22:08:37 +01:00
AdrianLxM 50cbff6fa4 untranslatable strings 2017-12-05 22:08:14 +01:00