Commit graph

12281 commits

Author SHA1 Message Date
Johannes Mockenhaupt ab4f46471b
Add RuffyCommands.readPumpState, cleanup, fix. 2017-10-18 18:29:29 +02:00
Johannes Mockenhaupt e4901f292f
Extract modules ruffy-spi, ruffyscripter. 2017-10-18 14:00:47 +02:00
Johannes Mockenhaupt e5eba342ba
SPI first draft. 2017-10-18 14:00:47 +02:00
Milos Kozak b53970fcd7 Merge pull request #471 from RadoslavR/patch-46
Update strings.xml
2017-10-18 13:58:37 +02:00
Radoslav Radev f0ee2b8bed Update strings.xml 2017-10-18 14:25:34 +03:00
Milos Kozak 8591b6de4d Merge pull request #470 from McHoffi/dev
DE_translations
2017-10-18 11:20:01 +02:00
McHoffi 434f4474b5 DE_translations 2017-10-18 11:11:41 +02:00
Milos Kozak 75e6a1b2e2 Merge pull request #468 from warstar2187/dev
Update Korean
2017-10-18 09:56:34 +02:00
warstar2187 e3d3664ac2 Update strings.xml 2017-10-18 16:39:55 +09:00
warstar2187 a35262840f Update strings.xml 2017-10-18 13:49:17 +09:00
Milos Kozak 6ff3d00f3c Merge remote-tracking branch 'origin/dev' into food 2017-10-17 20:55:55 +02:00
Milos Kozak 13184dcb51 food plugin 2017-10-17 20:55:23 +02:00
Johannes Mockenhaupt 4a91b68ed7
Package refactoring. 2017-10-17 19:45:37 +02:00
Johannes Mockenhaupt f33d55b092
Trim combo prefs. 2017-10-17 19:37:32 +02:00
Johannes Mockenhaupt 64ecf84174
Cleaning up. 2017-10-17 19:08:56 +02:00
Johannes Mockenhaupt 5ab7e4dbd6
Connect to IRuffyService in RuffyScripter, rather than ComboPlugin. 2017-10-17 19:05:55 +02:00
Johannes Mockenhaupt 142f9cf6a3
Extract SPI. 2017-10-17 18:59:41 +02:00
Johannes Mockenhaupt 5131b8b62f
Remove combo hacks outside of combo plugin. 2017-10-17 12:20:48 +02:00
Johannes Mockenhaupt 357c84e2e2
ComboPlugin singletion. 2017-10-17 12:20:12 +02:00
Johannes Mockenhaupt 41ebabe5e7
Merge remote-tracking branch 'origin/dev' into combo-v2
* origin/dev: (126 commits)
  ConfigBuilder: hide disabled plugins by default.
  sum on name for LP
  log to debug not error
  logger reformat
  logging
  rhinoAMA first full run
  rhinoAMA first crashfree call
  rhino some more cleanups
  rhino logging and cleanups
  rhino MA looping
  rhino first real detemine-basal call
  rhino small refactor
  NDK filters to work around j2v8 vs. libBleCommandUtil issue.
  NewTreatmentDialog: sanitize inputs, fixes #417.
  rhino complex parameter passing
  rhino first parameter passing
  rhino function passing
  first rhino
  location permission for BLE scanning
  use customized name only for LocalProfile
  ...
2017-10-17 12:16:43 +02:00
Johannes Mockenhaupt d123e7b7c0
Remove duplicate values in strings.xml. 2017-10-17 11:40:24 +02:00
Johannes Mockenhaupt f0db2f0822
Merge branch 'experimental' into combo-v2
* experimental: (28 commits)
  Refactor, clean out stuff, add RuffyCommands interface.
  ExperimentalBolusCommand: update progress when starting to programm the pump.
  Remove GetReservoirLevelCommand, will be a method in the future.
  Add TODO.
  Make access to RuffyScripter.currentMenu safer.
  Update pref descriptions.
  Disable incomplete parts in ExperimentalBolusCommand.
  Declare RuffyScripter.currentMenu nullable.
  Wait for currentMenu to be != null
  Option to ignore TBR failures: also ignore errors when reading pump state.
  Refactorings and notes.
  A little less broken CancellableBolusCommand.
  Update pref descriptions
  Add pref to disable all pump comm alerts.
  Move RuffyScripter to PumpCombo package.
  Add option to skip small TBR changes, add summaries to prefs.
  Refactor.
  Move confirmAlert method to scripter.
  SetTbrCommand: extract confirrmAlert method.
  Experimental options: for specifc prefs, always check experimental options are turned on.
  ...
2017-10-17 11:39:01 +02:00
Johannes Mockenhaupt 60c9a984b5
Refactor, clean out stuff, add RuffyCommands interface. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 960586b79d
ExperimentalBolusCommand: update progress when starting to programm the pump. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt cb24d13cae
Remove GetReservoirLevelCommand, will be a method in the future. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt f4f91c0b85
Add TODO. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 09f834d990
Make access to RuffyScripter.currentMenu safer. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt dc7dd15571
Update pref descriptions. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 882f400d1e
Disable incomplete parts in ExperimentalBolusCommand. 2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 5d10956900
Declare RuffyScripter.currentMenu nullable.
(cherry picked from commit fb0c829)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 15bac4d386
Wait for currentMenu to be != null
(cherry picked from commit 13b96ec)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt fd7f4ae145
Option to ignore TBR failures: also ignore errors when reading pump state.
(cherry picked from commit 82052e8)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt a33d7db471
Refactorings and notes.
(cherry picked from commit 8c77f0e)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 0fda86dffa
A little less broken CancellableBolusCommand.
(cherry picked from commit 9d56f23)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt add3011e4b
Update pref descriptions
(cherry picked from commit 13e358a)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt a76fbefee8
Add pref to disable all pump comm alerts.
(cherry picked from commit f074a5b)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 516a8c044b
Move RuffyScripter to PumpCombo package.
(cherry picked from commit 7875ac0)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt c8c445c608
Add option to skip small TBR changes, add summaries to prefs.
(cherry picked from commit a76b03a)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 58757735f8
Refactor.
(cherry picked from commit 06a454d)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt c96122cbed
Move confirmAlert method to scripter.
(cherry picked from commit f018d42)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt b1d000eae3
SetTbrCommand: extract confirrmAlert method.
(cherry picked from commit 329ff14)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 9b6cd23cdd
Experimental options: for specifc prefs, always check experimental options are turned on.
While the specific prefs are disabled when disabling experimental options, they can still be turned on.

(cherry picked from commit 6270239)
2017-10-17 11:27:21 +02:00
Johannes Mockenhaupt 81b97b5278
Add option to ignore setting a TBR as long as it does't occur twice in a row.
(cherry picked from commit 238e85c)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 6019323740
Work around curentMenu being null, maybe.
(cherry picked from commit da49be0)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 4aac46f2bc
Cleanup.
(cherry picked from commit e7fe202)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 17dd6df527
Move config options to preferences.
(cherry picked from commit 24657ed)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 21a37c9247
Add experimental option to avoid one vibration after bolusing.
(cherry picked from commit 104777c)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 9649682ae3
Don't raise alerts if loop is disabled.
(cherry picked from commit dc7fd2b)
2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt 9d6ff73b34
SetTbrCommand: extract method refactoring and minor cleanup. 2017-10-17 11:27:20 +02:00
Johannes Mockenhaupt bf9369babc
Move readDuration method to SetTbrCommand. 2017-10-17 11:27:20 +02:00