Commit graph

10127 commits

Author SHA1 Message Date
Milos Kozak 1a71c663ee fix test 2019-12-02 21:21:37 +01:00
Milos Kozak 9512b153c2
Merge pull request #2216 from 2flea/dev_auto_loop
Deactivate Automation if Loop is disabled, not only if it is suspended
2019-12-02 21:12:27 +01:00
Milos Kozak c76f8d76c8 lint 2019-12-02 21:08:20 +01:00
Milos Kozak bbc364e8fe
Merge pull request #2182 from dlvoy/feature/1806_remove_whitebar_wearos
[#1806] Making white bar from Wear OS face match watchface background
2019-12-02 19:12:04 +01:00
Milos Kozak 0b559da27d
Merge pull request #1758 from PoweRGbg/patch-1
try to calculate direction of BG if missing
2019-12-02 19:00:03 +01:00
Roumen Georgiev 2fa3805030
Merge pull request #87 from anbraten/automation-location-left-trigger
Automation location left trigger
2019-12-02 11:22:44 +02:00
Milos Kozak 8496f7dc18
Merge pull request #2172 from gregorybel/feature/expand-status-light
Add possibility to show Battery info in days instead of percent
2019-12-02 08:35:15 +01:00
Milos Kozak a15f985794
Merge pull request #2225 from MilosKozak/localprofile
Localprofile improvement, global units
2019-12-02 08:13:07 +01:00
Milos Kozak 87d3c43a33 low_mark, high_mark to setup wizard 2019-12-02 00:07:08 +01:00
Philoul 2eff26062b Last commit to delete original lines...
With little modification of String.format_bg_isf it's all good...
2019-12-01 22:23:09 +01:00
Milos Kozak 36b009d56c move processing of unit dependent preferences to extra function 2019-12-01 22:03:17 +01:00
Milos Kozak c0ad125934 warn if profile is not uploadable to NS 2019-12-01 21:59:12 +01:00
Philoul 62cc365dc4 I tried to replace hard coded units for ISF, IC and U by formated text from strings (translated in WizardDialog.kt but not in WizardInfoDialog.kt)
=> It's not perfect but I don't know how to do it better so I pull this proposal:
    - for BG I think we could replace DecimalFormatter.to1Decimal by DecimalFormatter.to0Decimal but it also doesn't work (in french comma is replaced by point for bg but not for ISF i.e. "83,0 ISF: 50,0" => "83.0 SI: 50,0")
    but if we change default String format : format_bg_isf="%1$s ISF: %2$.1f" by "%1$.0f ISF: %2$.1f" I think it's good
2019-12-01 21:44:05 +01:00
Philoul 0caf0d5f28 I tried to replace hard coded units for ISF, IC and U by formated text from strings (translated in WizardDialog.kt but not in WizardInfoDialog.kt)
=> It's not perfect but I don't know how to do it better so I pull this proposal:
    - For Carbs and COB, adding DecimalFormatter.to0Decimal doesn't work (AAPS freeze when I tried to add DecimalFormatter ???) so values has 1 decimal ( I think it's better to have 1 decimal for COB but not for carbs )
    - for BG I think we could replace DecimalFormatter.to1Decimal by DecimalFormatter.to0Decimal but it also doesn't work (in french comma is replaced by point for bg but not for ISF i.e. "83,0 ISF: 50,0" => "83.0 SI: 50,0")
2019-12-01 21:18:26 +01:00
Milos Kozak d7b1c3837c
New Crowdin translations (#2230)
* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Swedish)

* New translations objectives.xml (Swedish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)
2019-12-01 21:06:28 +01:00
Milos Kozak 702e1f0675 allow clone from existing switch 2019-12-01 20:42:23 +01:00
Bart Sopers 71e87aca0e Synchronize all methods that execute commands in OmnipodManager 2019-12-01 17:06:54 +01:00
Bart Sopers 0ade438e95 Add TODO's for setting Omnipod device driver busy state 2019-12-01 16:58:44 +01:00
Bart Sopers efcd1cdfe1 Fix string parameter in Omnipod string resource 2019-12-01 16:16:12 +01:00
Andy Rozman b5b68f6cda Merge branch 'omnipod_eros' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros 2019-12-01 14:38:16 +00:00
Bart Sopers 5c1728489a Fix floating point parameter in Omnipod string resource 2019-12-01 15:23:38 +01:00
Bart Sopers 951a23af28 Update version as per requested by @MilosKozak 2019-12-01 15:06:17 +01:00
Bart Sopers 9c4982becd Remove redundant sending of EventOmnipodPumpValuesChanged 2019-12-01 15:05:28 +01:00
Andy Rozman ab7e87fa02 Extended Ack Alerts functionality:
- added own event (so we don't refresh whole page),
- added ackAcknowledgeText variable
- changed refresh (own method, own event listener)
- added log for Status change (to monitor what PodState information is displayed on Tab)
2019-12-01 12:43:33 +00:00
Bart Sopers 4ce5600434 Fix compilation error in testcase 2019-12-01 02:27:49 +01:00
Bart Sopers b808bc3228 Merge branch 'dev' into omnipod_eros 2019-12-01 02:21:49 +01:00
Bart Sopers ee6bdfe5f8 Added TODO for updating active alerts in UI 2019-12-01 01:21:02 +01:00
Bart Sopers 932533ace7 Add PodStateChangedHandler 2019-12-01 01:11:28 +01:00
Bart Sopers 40487ffb06 Add pod expiration date and expose calculateBolusDuration method in OmnipodManager 2019-12-01 00:34:16 +01:00
Bart Sopers 27cf316dc7 Add verification mechanism for Omnipod bolus 2019-11-30 22:51:49 +01:00
Milos Kozak 0fdc789e1f Merge branch 'dev' into localprofile 2019-11-30 22:43:15 +01:00
Milos Kozak a3b8caded4 Merge branch 'temp' into dev 2019-11-30 22:15:33 +01:00
Milos Kozak c23794fa6e allow revert objective 2019-11-30 22:15:15 +01:00
Bart Sopers 8dcadd7a35 add failure certainty to OmnipodException 2019-11-30 20:12:26 +01:00
Milos Kozak d52b15ff61 kotlin 1.3.61 2019-11-30 19:33:09 +01:00
Bart Sopers 0e8baedc8b Omnipod: add more user-friendly error messages by using string resources; add exception logging 2019-11-30 18:49:44 +01:00
Milos Kozak 4c23b5e323 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-11-30 18:39:20 +01:00
Bart Sopers 71db5e541e Move exception handling and PumpEnactResult creation from OmnipodManager to AapsOmnipodManager 2019-11-30 17:06:05 +01:00
Bart Sopers f2e439a485 Calculate bolus durations and add bolus completion handler in OmnipodManager 2019-11-30 15:16:53 +01:00
Andy Rozman f84149afa4 Merge branch 'omnipod_eros' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros 2019-11-30 12:17:39 +00:00
Andy Rozman e955331259 see previous commit corrent 2019-11-30 12:17:02 +00:00
Andy Rozman a2ad20f616 - Fixed RemovePod to NOT forcebully remove the Pod if failed (Cancel)
- CHanged InitPodFragment, to respond onli to that call, and NOT to PumpResultEvent
2019-11-30 12:15:25 +00:00
Milos Kozak 034c16690f temp 2019-11-30 10:16:38 +01:00
Bart Sopers 24cd0c7712 Refactor exceptions in Omnipod driver to prepare for adding failure certainty 2019-11-29 23:10:39 +01:00
gregorybel db2c675024 fix page -> bage 2019-11-29 21:48:35 +01:00
Milos Kozak eba66da4a4 allow go back with objectives 2019-11-29 12:38:07 +01:00
Milos Kozak f82c610d16 allow objective skip only when NS is connected and in RW mode 2019-11-29 12:19:32 +01:00
Tim Gunn 0a5bd7f935 Hack determine_basal so a date string could be converted to date object 2019-11-29 21:24:05 +13:00
Tim Gunn 8eeb91a0a8 Add New preferences for oref 0.7.0 2019-11-29 21:23:12 +13:00
Tim Gunn 243b7a12a5 Add new preferences in and the ability to ingest noise 2019-11-29 21:22:26 +13:00