Commit graph

151 commits

Author SHA1 Message Date
Bart Sopers b4813ad708 Rename SetupProgress to ActivationProgress 2020-10-17 17:08:47 +02:00
Bart Sopers fb1ed7588a Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_properly_decode_pod_info_02 2020-10-17 12:53:05 +02:00
Bart Sopers b3933e510d Re-introduce SetupProgress in order to be able to correctly handle Activation Time Exceeded errors 2020-10-17 12:50:08 +02:00
Bart Sopers 2fcae4b19a - Rename and refactor PodInfoFaultEvent to PodInfoDetailedStatus
- introduce ActivationTimeExceededException
2020-10-17 10:45:28 +02:00
Sam Spycher 26e0df1182 Return programmed duration and rate when setting TBR, fixes AAPS-Omnipod/AndroidAPS#12 2020-10-08 11:53:15 +02:00
Bart Sopers e1e9d992e9 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_properly_decode_pod_info_02 2020-10-07 19:45:43 +02:00
bartsopers 45f620cb10
Merge pull request #11 from samspycher/implement_tbr_percentage
TBR value as percentages
2020-10-07 17:26:19 +02:00
Sam Spycher 3a6d1f286c throw IllegalArgumentException for zero or negative durations 2020-10-05 13:45:13 +02:00
Sam Spycher badfba2993 Unit test for setting temporary basal rate with percentages 2020-10-05 13:32:22 +02:00
Sam Spycher f1ee6c2757 replace text referring to Medtronic with text referring to Omnipod 2020-10-03 13:59:32 +02:00
Sam Spycher 04f5efca0b Implement setting TBR value as percentages, see AAPS-Omnipod/AndroidAPS#10 2020-10-02 12:17:19 +02:00
Bart Sopers fa84cbd513 Replace Arrays.toString() with ByteUtil.shortHexString() in PodInfo.toString() 2020-10-02 03:00:51 +02:00
Bart Sopers e93a9eb34e Properly decode pod info response type 02 2020-10-02 02:51:16 +02:00
Bart Sopers 6fa01f88e3 Add FIXME 2020-10-02 00:56:54 +02:00
Bart Sopers ef10121737 Add confirmation dialog before starting cannula insertion in Activate Pod wizard 2020-10-01 22:15:05 +02:00
Bart Sopers 31215ea488 Split Change Pod wizard into Activate Pod wizard and Deactivate Pod wizard 2020-10-01 19:32:56 +02:00
Bart Sopers 8af6519687 Finish new Change Pod Wizard (and some other small changes) 2020-09-29 20:53:12 +02:00
Bart Sopers bc817d10f9 More WIP on new Omnipod wizard 2020-09-28 09:56:39 +02:00
Bart Sopers 8563817bae Add navigation in Replace Pod Wizard 2020-09-26 23:34:29 +02:00
Bart Sopers 80e0992faa Add test button 2020-09-26 20:23:32 +02:00
Bart Sopers 779124f8b9 WIP on adding navigation between Omnipod fragments in replace Pod wizard 2020-09-26 20:01:09 +02:00
Bart Sopers ca4d809f41 WIP on adding navigation between Omnipod fragments in replace Pod wizard 2020-09-26 19:29:28 +02:00
Bart Sopers ee9079fdcf Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_wizard 2020-09-26 15:45:44 +02:00
Bart Sopers fc90d3eb43 Move uploading Care Portal events from some UI class to AapsOmnipodManager 2020-09-24 23:23:08 +02:00
Bart Sopers 50c3ec702c Merge branch 'omnipod_eros_dev_upstream_merge' into omnipod_eros_dev 2020-09-24 23:13:46 +02:00
Bart Sopers 3410f3f87a Remove redundant Omnipod TBR notification 2020-09-24 22:54:47 +02:00
Bart Sopers cf7069e64b Omnipod: improve error messages and notifications and reorganize string resources 2020-09-24 22:52:21 +02:00
Milos Kozak 98b812f029
New Crowdin updates (#2976)
* New translations strings.xml (Romanian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Swedish)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Czech)
2020-09-23 15:44:59 +02:00
Bart Sopers 1f5c8aca21 Update basal schedule in PodState after setting basal schedule 2020-09-20 06:50:24 +02:00
Milos Kozak 62a19a4a5c
New Crowdin updates (#2957)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)
2020-09-17 16:25:40 +02:00
Bart Sopers adb26b3ccf Move CustomCommand interface to queue.commands package 2020-09-14 19:59:20 +02:00
Bart Sopers 06c5999807 Minor improvements on previous commit 2020-09-14 19:52:56 +02:00
Bart Sopers feecfc5676 - Add custom queue command mechanism to replace abusing getPumpStatus for this purpose
- Display error and confirmation dialog for commands executed from the Omnipod tab
- Improve Exception logging in AapsOmnipodManager
- A few random improvements and bug fixes
2020-09-14 16:19:09 +02:00
Adrian d33fe6fba1 cleanup and qualify view model injection 2020-09-13 21:35:36 +02:00
Adrian cbe488715a initial dagger setup 2020-09-13 21:00:47 +02:00
Bart Sopers d21a8ed00e Merge branch 'omnipod_eros_dev_upstream_merge' into omnipod_eros_dev 2020-09-13 18:47:10 +02:00
Bart Sopers 6070b117f4 Get Pod status after time change event and add notification when automatic time change fails 2020-09-11 02:25:48 +02:00
Bart Sopers df1731e6b7 Display Pod time in Omnipod tab and add button to manually set time 2020-09-10 20:13:16 +02:00
Bart Sopers b474e72a53 Synchronize modification of list in OmnipodPumpPlugin 2020-09-09 23:31:58 +02:00
Milos Kozak 30b052da9b
New Crowdin updates (#2954)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2020-09-09 22:18:27 +02:00
Bart Sopers 025f25fb27 Attempt to make text in Omnipod wizards readable for all screen sizes 2020-09-09 19:50:31 +02:00
Bart Sopers bb7eed1045 Improve uncertain TBR detection 2020-09-09 19:09:31 +02:00
Milos Kozak 9ab6299f07
New Crowdin updates (#2944)
* New translations strings.xml (Italian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Slovak)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations exam.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Swedish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovenian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Irish)

* New translations strings.xml (Polish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovenian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (German)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Norwegian)

* New translations insight_alert_codes.xml (Norwegian)

* New translations insight_alert_descriptions.xml (Norwegian)

* New translations insight_alert_titles.xml (Norwegian)

* New translations insight_exceptions.xml (Norwegian)

* New translations exam.xml (Norwegian)

* New translations objectives.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Slovak)

* New translations strings.xml (Romanian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)
2020-09-09 18:49:45 +02:00
Bart Sopers 0b75bbf85f Provide clear error messages when no basal profile is active 2020-09-09 18:40:35 +02:00
Bart Sopers e891f26be0 Take Basal into account when calculating bolus duration 2020-09-09 17:04:39 +02:00
Bart Sopers 66062e3ee6 Remove unnecessary method injection 2020-09-06 16:46:22 +02:00
Bart Sopers 5f28740068 Remove unnecessary method injection 2020-09-06 16:44:47 +02:00
Bart Sopers df7d28dc16 Remove unused @ContributesAndroidInjectors in Omnipod module and remove unused Context reference in AapsOmnipodManager 2020-09-06 16:24:32 +02:00
Bart Sopers 7840643ba2 Remove unused @ContributesAndroidInjectors in Omnipod module and remove unused Context reference in AapsOmnipodManager 2020-09-06 16:22:18 +02:00
Bart Sopers efc384f39c Process review findings from upstream merge 2020-09-06 15:31:40 +02:00