Commit graph

305 commits

Author SHA1 Message Date
Bart Sopers
a2de14a44a Prevent 0x31 Pod faults and improve recovery from uncertain delivery statuses 2020-11-19 18:14:38 +01:00
Milos Kozak
351d4ea4df
New Crowdin updates (#66)
* New translations strings.xml (Norwegian)

* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations exam.xml (Swedish)

* New translations strings.xml (Swedish)

* 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 (Portuguese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations exam.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Italian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)
2020-11-17 19:10:04 +01:00
Bart Sopers
d66ccfc041 Minor code improvements & formatting 2020-11-16 20:45:15 +01:00
Bart Sopers
f6a234abc5 Fix test 2020-11-14 11:25:18 +01:00
Bart Sopers
f6a82e01d7 Always create NS announcements for Pod faults & some cleanup 2020-11-14 10:58:02 +01:00
Bart Sopers
7e8b395ca7 Remove bogus translation 2020-11-13 17:54:50 +01:00
Bart Sopers
e774ad94a5 Fix NPE 2020-11-13 16:32:17 +01:00
Bart Sopers
c9aa8b8bba Small cleanup 2020-11-13 14:50:03 +01:00
Bart Sopers
824b89adca Reorder translation 2020-11-13 13:17:39 +01:00
Bart Sopers
93a4f7ec58 Update translation 2020-11-13 13:16:58 +01:00
Bart Sopers
f5fac5862d Pod alert improvements: always show notification and always upload to NS 2020-11-13 13:16:19 +01:00
Bart Sopers
a6f5bcdfa6 Hide ack alerts button when automatic acknowledgement is enabled 2020-11-13 12:26:20 +01:00
Bart Sopers
103333dee1 Add extra check 2020-11-12 20:29:52 +01:00
Bart Sopers
d97a30d195 Add check 2020-11-12 20:13:06 +01:00
Bart Sopers
96117bf2da Fix typo in translation 2020-11-12 20:09:17 +01:00
Bart Sopers
41d3447b5f Fix typo and formatting 2020-11-12 19:00:02 +01:00
Bart Sopers
003d507cf8 Add optional to automatically acknowledge Pod alerts and show a notification instead 2020-11-12 18:56:32 +01:00
Milos Kozak
4d8793745e
New Crowdin updates (#62)
* New translations strings.xml (Russian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations exam.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Hebrew)

* New translations exam.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Lithuanian)

* 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 (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Russian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)
2020-11-12 14:48:01 +01:00
Milos Kozak
4986ddef46
Merge pull request #65 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Latest Omnipod updates
2020-11-12 11:25:21 +01:00
Bart Sopers
a425d710a3 Rename translation key 2020-11-11 21:35:45 +01:00
Bart Sopers
a72ec5a0df Don't add duplicate failure for TBR 2020-11-11 21:01:42 +01:00
Bart Sopers
85086bceed Remove delivery status verification in favor of nonce verification 2020-11-11 19:50:06 +01:00
Bart Sopers
a875a9c437 Show deactivate button instead of retry button in case of Pod faults in activation wizard 2020-11-10 20:15:48 +01:00
Bart Sopers
9eda130df2 Small Omnipod pairing bug fix 2020-11-10 20:10:52 +01:00
Milos Kozak
d94eaffa63
New Crowdin updates (#61)
* New translations exam.xml (Romanian)

* New translations exam.xml (French)

* New translations exam.xml (Korean)

* New translations exam.xml (Russian)

* New translations exam.xml (Portuguese)

* New translations exam.xml (Polish)

* New translations exam.xml (Norwegian)

* New translations exam.xml (Dutch)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Greek)

* New translations exam.xml (Czech)

* New translations exam.xml (Spanish)

* New translations exam.xml (Slovak)

* New translations exam.xml (Swedish)

* New translations exam.xml (Portuguese, Brazilian)

* New translations strings.xml (Dutch)

* 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 (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations exam.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Hebrew)

* New translations insight_exceptions.xml (Hebrew)

* New translations insight_alert_descriptions.xml (Hebrew)

* New translations insight_alert_titles.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (German)

* New translations insight_alert_codes.xml (Hebrew)

* New translations strings.xml (Norwegian)

* 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 (Swedish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations exam.xml (Czech)

* New translations exam.xml (Russian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations exam.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations exam.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)
2020-11-09 13:33:55 +01:00
Bart Sopers
cc55649eba Add translation for Omnipod exception 2020-10-29 20:47:12 +01:00
Bart Sopers
a0da0fe0ea Add translation for Omnipod exception 2020-10-29 20:45:49 +01:00
Bart Sopers
3cd0fd22e4 Add test 2020-10-26 21:53:56 +01:00
Bart Sopers
6c879d6bba Attempt to fix Omnipod DST issues 2020-10-26 21:24:07 +01:00
Milos Kozak
78ad381684
New Crowdin updates (#43)
* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovenian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (Croatian)

* New translations strings.xml (Romanian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* 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 (German)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)
2020-10-26 18:13:27 +01:00
Bart Sopers
95ea81a869 Nit: Omnipod translations 2020-10-25 12:51:50 +01:00
Bart Sopers
2587460cfc Make sounds for Omnipod uncertain SMB & TBR notifications configurable 2020-10-25 11:14:26 +01:00
Bart Sopers
4a27d20e03 Use configured low reservoir alert units for determining color of reservoir level in Omnipod tab 2020-10-23 17:26:37 +02:00
Sam Spycher
a3180e13be Undo translations 2020-10-21 18:55:33 +02:00
Sam Spycher
c27c324358 fix testSetTempBasalPercent for input validation 2020-10-21 16:52:13 +02:00
Sam Spycher
71b8ef176f Merge branch 'omnipod_eros_dev' into tbr_duration_validation
# Conflicts:
#	omnipod/src/main/res/values-de-rDE/strings.xml
2020-10-21 16:11:32 +02:00
Bart Sopers
6d51224089 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-10-21 14:45:44 +02:00
Bart Sopers
3aec6465be Improve Omnipod translation 2020-10-21 14:43:57 +02:00
Milos Kozak
7ac74f5a9e firebase libs update 2020-10-19 22:42:26 +02:00
Milos Kozak
955844f319 libs update 2020-10-19 21:51:13 +02:00
Milos Kozak
fe5cc3d334 layouts -> AppCompat 2020-10-19 19:24:33 +02:00
Milos Kozak
154d2af774 activity -> FragmentActivity 2020-10-19 18:40:17 +02:00
Milos Kozak
0a207cbecc lint recommendation 2020-10-19 17:54:41 +02:00
Milos Kozak
5cd6a56954
New Crowdin updates (#23)
* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)
2020-10-19 11:31:05 +02:00
Bart Sopers
eb5fb334c9 Small fixes 2020-10-17 20:20:48 +02:00
Bart Sopers
e58fa0aff6 Decrease action verification tries to 1 2020-10-17 18:32:58 +02:00
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
Sam Spycher
e903e10671 Add translation for TBR validation failure response 2020-10-08 11:35:57 +02:00
Sam Spycher
90bb4c0a26 Merge branch 'omnipod_eros_dev' into tbr_duration_validation 2020-10-08 11:05:34 +02:00
Sam Spycher
8b3a32bb57 Validate basal duration, fixes AAPS-Omnipod / AndroidAPS#13
Basal rate durations must be non-zero, and in the case of the Omnipod Pump or multiple of 30 minutes.

- Introduce OmnipodConstants.BASAL_STEP_DURATION
- throw IllegalArgumentException on validation failure in RateEntry.createEntries
- return failed PumpEnactResult and explanatory comments on validation failure in OmnipodPumpPlugin.setTempBasalAbsolute
2020-10-07 22:02:28 +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
Milos Kozak
cbdee2b81b
Merge pull request #7 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Latest Omnipod updates + custom queue commands
2020-10-02 09:40:45 +02:00
Milos Kozak
3e1e1711bf
New Crowdin updates (#22)
* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations insight_alert_descriptions.xml (Norwegian)

* New translations insight_alert_codes.xml (Norwegian)

* New translations insight_alert_titles.xml (Norwegian)

* New translations insight_exceptions.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations exam.xml (Norwegian)

* New translations objectives.xml (Norwegian)

* New translations strings.xml (Russian)
2020-10-02 09:37:42 +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
6b030aaf59 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-10-01 22:16:00 +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
79241dcee9 Revert changes to string resources in other languages 2020-10-01 21:19:11 +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
Milos Kozak
4b04b66d02
New Crowdin updates (#5)
* New translations strings.xml (Afrikaans)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* 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 (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 (Norwegian)

* New translations strings.xml (Norwegian)
2020-10-01 18:05:23 +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
Bart Sopers
b944c51372 Process review findings from upstream merge 2020-09-06 15:25:56 +02:00
Bart Sopers
503fc9dbf9 Allow to continue in Setup Wizard when Omnipod has been selected and a RL connection has been established 2020-09-05 04:26:22 +02:00
Bart Sopers
1d3f4d3591 Implement workaround for bolus with timeshift carbs, improve registering implicitly cancelled TBRs and remove some redundant code 2020-09-04 19:25:02 +02:00
Adi Barilan
2b7a0064b1
Fix Pulse Log option enabling both buttons
Previously, enable Pulse Log button showed both it and Suspend Delivery, while the Suspend Delivery option did nothing.
2020-09-04 17:15:11 +03:00
Bart Sopers
cd5bc21b17 Add BatteryReplaceable PumpCapability and hide Battery change button in Actions tab for pumps without this capability (Omnipod); create battery change and insulin change careportal event after activating new Pod 2020-09-03 23:35:03 +02:00
Bart Sopers
4f6e31a784 - Make Low Reservoir Alert & Expiration Advisory Alert optional and configurable
- Organize Omnipod settings
- Various small improvements
2020-09-03 22:04:01 +02:00
Bart Sopers
0a68e8111f Add PumpHistoryEntryGroup to Omnipod fake TBR history entries 2020-09-02 22:52:42 +02:00
Bart Sopers
591a939616 Minor Omnipod improvement 2020-09-02 22:49:26 +02:00
Bart Sopers
4e32761d48 More small Omnipod improvements 2020-09-02 22:10:44 +02:00
Bart Sopers
9b953d1bed Small Omnipod improvements 2020-09-02 21:40:06 +02:00
Bart Sopers
b1abc55def - Improve Pod state accuracy for basal profile & TBR
- Add certainty info about last bolus and temp basal to Pod state and display in OmnipodFragment
- Improve user notifications of delivery errors# Please enter the commit message for your changes. Lines starting
2020-09-02 20:48:56 +02:00
Bart Sopers
363b9242b9 Don't automatically cancel a fake suspended TBR from pod state changes 2020-09-02 02:09:03 +02:00
Bart Sopers
d994f2a184 Move Omnipod dagger module class to Omnipod gradle module 2020-09-02 02:04:31 +02:00
Bart Sopers
9c29a0643e Treat Pod Fault responses as successful communication 2020-09-02 01:37:20 +02:00
Bart Sopers
68ff228426 Fix automatically updating from PodInfoFaultEvent and improve detecting cancelled TBRs 2020-09-02 01:26:36 +02:00
Bart Sopers
d1074ac3eb Fix typo 2020-09-01 20:27:05 +02:00
Bart Sopers
01c4d34df8 Display last connection in Omnipod tab in either red or white based on local alerts settings 2020-08-29 01:44:31 +02:00
Bart Sopers
75fa81f945 Read TBR in Omnipod tab from PodStateManager instead of TreatmentsPlugin, fix crash and some small improvements 2020-08-28 09:55:14 +02:00
Bart Sopers
0dac395b1a Fix wrong condition for determining whether or not Pod was suspended before setting basal schedule 2020-08-28 01:29:25 +02:00
Bart Sopers
aa7e57512a Move Omnipod RileyLink classes into subpackages 2020-08-28 01:22:50 +02:00
Bart Sopers
d26cd9f069 Create fake 0 TBR when Pod is not running 2020-08-28 01:18:32 +02:00
Bart Sopers
ede70fdf6c Fix reporting implicitly cancelled TBRs 2020-08-27 22:20:42 +02:00
Bart Sopers
77b359fa74 Try to verify delivery status in case of failures in commands that change delivery status 2020-08-27 22:18:23 +02:00
Bart Sopers
923294ed1f Add ticksDelivered to PodInfoFaultEventTest 2020-08-27 20:35:15 +02:00
Bart Sopers
ff72b0d474 Automatically update pod state from PodInfoFaultEvent 2020-08-26 21:58:54 +02:00
Bart Sopers
908c666d5f Show Suspend & resume button in the same place and don't show suspend button when the Pod is suspended 2020-08-26 14:57:40 +02:00
Bart Sopers
0dba553ebe Remove redundant null checks 2020-08-26 13:50:17 +02:00
Bart Sopers
14652ab917 Add optional Suspend delivery button; fix bug where AAPS tries to set bolus before Pod activation is completed; cleanup preferences & several enums; use String resources for RL History items 2020-08-26 13:45:32 +02:00
Bart Sopers
28df570a6a - Improve logging levels in Omnipod and RileyLink module
- Code improvements
- Minor translation improvements
- Add some TODOs
2020-08-25 22:45:24 +02:00
Bart Sopers
dc7ed96657 - Add alerts when pump is suspended & add button to resume delivery
- Improve status check loop in OmnipodPumpPlugin
2020-08-25 10:14:03 +02:00
Bart Sopers
6b6b4eb759 Restore command queue in Pod status, properly update it and disable buttons when queue is not empty 2020-08-25 02:07:59 +02:00
Bart Sopers
ae4b25af89 Decrease I/O load and number of events during command exchange; remove queue status from Omnipod tab and switch reservoir & units delivered; small bug fixes 2020-08-24 23:30:26 +02:00
Bart Sopers
c84798e368 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_remove_omnipod_pump_state 2020-08-24 00:37:03 +02:00
Bart Sopers
ac922316a9 Improve fix for #149 by not trying to serialize non-serializable fields 2020-08-24 00:18:20 +02:00
Bart Sopers
78725ec013 Fix button state in Omnipod tab 2020-08-23 23:40:22 +02:00
Bart Sopers
15b0701d06 Add null check for total insulin delivered in Omnipod tab 2020-08-23 22:40:32 +02:00
Bart Sopers
8911bcd508 Small improvements and import order 2020-08-23 21:48:25 +02:00
Steffen Müthing
85048c9a02 Simplify total delivered insulin display as suggested by Bart 2020-08-23 19:27:34 +02:00
Bart Sopers
ddd9687425 Reorganized packages and removed a few unused classes 2020-08-23 19:21:01 +02:00
Steffen Müthing
633767ad3d Subtract setup units from displayed total insulin delivered 2020-08-23 18:28:51 +02:00
Steffen Müthing
f3a7a5a393 Add constant POD_SETUP_UNITS for the total number of units delivered during pod setup 2020-08-23 18:28:51 +02:00
Steffen Müthing
9ccee886c6 Add tests for getTicksDelivered() 2020-08-23 18:28:51 +02:00
Steffen Müthing
e66033ab1e Show total dose delivered by pod in OmnipodFragment
This includes the units delivered during priming and cannula insertion, but it
gives a nice approximation of the remaining insulin if you remember what you
injected.
2020-08-23 18:28:51 +02:00
Steffen Müthing
61d6c638b7 Provide total insulin delivered from Pod available in PodStateManager 2020-08-23 18:28:51 +02:00
Steffen Müthing
00b9379b8c Make delivered ticks available in status response 2020-08-23 18:28:51 +02:00
Bart Sopers
aede5648a9 Add/remove/update comments and TODOs in OmnipodPumpPlugin and rename a method 2020-08-23 17:35:12 +02:00