Commit graph

8092 commits

Author SHA1 Message Date
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
Milos Kozak 9196bdb2ed handle name properly 2019-11-29 00:11:28 +01:00
Milos Kozak 9f9c9fd2bc improve layout 2019-11-28 23:41:22 +01:00
Milos Kozak 2dd7c758f4 Local profile clone support 2019-11-28 23:18:42 +01:00
gregorybel de9d2da68d show Battery info in days instead of percent for Combo 2019-11-28 22:15:56 +01:00
Milos Kozak 8a75d4f6b9 tabs in local profile 2019-11-28 21:58:07 +01:00
Milos Kozak a000611f11 Merge branch 'dev' into localprofile 2019-11-28 19:55:08 +01:00
Milos Kozak ec535b9c61 low_mark, high_mark units dependent 2019-11-28 19:54:59 +01:00
Milos Kozak b8ba94fa30
New Crowdin translations (#2226)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Korean)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations exam.xml (Italian)

* New translations exam.xml (Dutch)

* New translations objectives.xml (Italian)

* New translations objectives.xml (Romanian)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Slovak)

* New translations objectives.xml (Spanish)

* New translations objectives.xml (Swedish)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations objectives.xml (Polish)

* New translations objectives.xml (Lithuanian)

* New translations objectives.xml (Greek)

* New translations objectives.xml (French)

* New translations exam.xml (Swedish)

* New translations exam.xml (Spanish)

* New translations objectives.xml (Portuguese)

* New translations objectives.xml (German)

* New translations objectives.xml (Dutch)

* New translations objectives.xml (Czech)

* New translations objectives.xml (Bulgarian)

* New translations insight_alert_titles.xml (Spanish)
2019-11-28 17:44:46 +01:00
Milos Kozak a050a4c531
Update CONTRIBUTING.md 2019-11-28 11:06:10 +01:00
Milos Kozak 2c8d30ebda
Update CONTRIBUTING.md 2019-11-28 11:05:26 +01:00
Milos Kozak 65bb83406d
Merge pull request #2184 from dlvoy/contributing
Create CONTRIBUTING.md - First draft of contribution guidelines
2019-11-28 11:01:09 +01:00