Commit graph

196 commits

Author SHA1 Message Date
Milos Kozak
eb99dbb362
New Crowdin updates (#2669)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

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

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

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

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* New translations arrays.xml (French)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Norwegian)
2023-08-16 09:53:36 +02:00
Milos Kozak
c368859df9
New Crowdin updates (#2633)
* 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 (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

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

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

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

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Serbian (Latin))

* New translations arrays.xml (Romanian)

* New translations arrays.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Afrikaans)

* New translations arrays.xml (Bulgarian)

* New translations arrays.xml (Catalan)

* New translations arrays.xml (Czech)

* New translations arrays.xml (Danish)

* New translations arrays.xml (German)

* New translations arrays.xml (Greek)

* New translations arrays.xml (Irish)

* New translations arrays.xml (Hebrew)

* New translations arrays.xml (Hungarian)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Japanese)

* New translations arrays.xml (Korean)

* New translations arrays.xml (Lithuanian)

* New translations arrays.xml (Dutch)

* New translations arrays.xml (Norwegian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Portuguese)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Slovak)

* New translations arrays.xml (Swedish)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Croatian)

* New translations arrays.xml (Serbian (Latin))

* Update source file strings.xml

* Update source file strings.xml

* Update source file arrays.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations arrays.xml (French)

* New translations arrays.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations arrays.xml (Italian)

* New translations arrays.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Czech)

* New translations arrays.xml (Italian)

* Update source file arrays.xml

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)
2023-08-15 11:23:44 +02:00
jbr7rr
7662f3cc45 Medtrum: Fix unit tests, more lints 2023-08-15 08:42:20 +02:00
jbr7rr
56832e8ff0 Medtrum: handle on back pressed properly 2023-08-14 21:12:23 +02:00
jbr7rr
275a7e39d8 Medtrum: Remove unused, typo's and other lints 2023-08-14 21:10:04 +02:00
Milos Kozak
968c9fb4c1 Resolve onBackPressed deprecation 2023-08-14 16:28:29 +02:00
jbr7rr
b7890d9b5a more uniform strings in alarmSettings array 2023-08-12 16:31:37 +02:00
jbr7rr
b6272cfea7 Improve retry activation 2023-08-12 15:25:50 +02:00
jbr7rr
3b0ac0b1cb Remove unsupported options (nano), saner defaults 2023-08-12 15:18:23 +02:00
jbr7rr
d72444bfc5 Add delay after packet response 2023-08-11 18:36:27 +02:00
Milos Kozak
911c446190 lints 2023-08-09 16:52:10 +02:00
jbr7rr
9c34e15076 Revert "Overview model: RequireActivity instead of fragment"
This reverts commit d93cc51819.
2023-08-08 18:16:25 +02:00
jbr7rr
8647db878c Fix bolusStop(), some refactoring 2023-08-08 16:16:27 +02:00
jbr7rr
30c1c16cd0 disconnect on force deactivation when pump in error state 2023-08-06 14:21:21 +02:00
jbr7rr
826b0f3d8c Use medtrum icon 2023-08-05 15:58:10 +02:00
jbr7rr
fe9be2bbfa Only do connectNewPump() on sn change, only allow sn change when no patch is activated 2023-08-04 10:47:52 +02:00
jbr7rr
c738b1001f Implement tdd capability 2023-08-03 20:02:13 +02:00
jbr7rr
75f225fba2 Show toast when profile is not set 2023-07-21 08:54:30 +02:00
jbr7rr
1d58d85a71 Make incoming packets more readable in logs 2023-07-21 08:39:58 +02:00
jbr7rr
c0f1fcda0f Loosen time diff allowance 2023-07-21 06:42:56 +02:00
jbr7rr
3ce566ca7c Fix build 2023-07-21 06:42:15 +02:00
jbr7rr
da1319e7bf Add settings protection for change patch 2023-07-18 08:03:25 +02:00
jbr7rr
850f72924b Fix data comes from another pump after activation 2023-07-17 20:34:27 +02:00
jbr7rr
6a6af81ef7 Insert Announcement on pump alarm 2023-07-17 19:10:09 +02:00
jbr7rr
966939a9de Fix unit test, cleanup 2023-07-16 11:59:36 +02:00
jbr7rr
c0819cda06 get correct serial number in password reset 2023-07-16 10:59:34 +02:00
jbr7rr
f66afc8c02 Confirmation dialog for activation/deactivation cancel 2023-07-13 09:35:40 +02:00
jbr7rr
d93cc51819 Overview model: RequireActivity instead of fragment 2023-07-13 08:30:28 +02:00
jbr7rr
f24c872415 Set expiry to 72 hours 2023-07-11 15:37:18 +02:00
jbr7rr
2d8288d8d9 Add disconnecting state to make sure we don't get commands during disconnect 2023-07-11 15:32:26 +02:00
jbr7rr
a7d7f373de Fix bolus not properly updating for short bolus 2023-07-11 14:54:40 +02:00
jbr7rr
dda7fa6086 Use correct message for patch start time and patch age 2023-07-10 19:58:34 +02:00
jbr7rr
fb62b0d90c Removed unused code 2023-07-10 19:09:14 +02:00
jbr7rr
b3a83a720d Only show reset alarms when it's needed 2023-07-09 16:47:23 +02:00
jbr7rr
592a45612c Fix calling syncStopTemporaryBasalWithPumpId() twice 2023-07-09 09:47:58 +02:00
jbr7rr
c941926a7e Workaround for 0 duration TBR end not syncing 2023-07-02 21:00:27 +02:00
jbr7rr
09aa78f1d1 Recovery option when patch activation process is interrupted 2023-07-01 20:46:29 +02:00
jbr7rr
af7e38a6db Buttons with Icons in overview 2023-07-01 17:35:43 +02:00
jbr7rr
f52726128a Minor fixes;
Allow set of fake TBR when 0 temp is already running,
Automatically force deactivation when patch is in error state
2023-07-01 12:28:01 +02:00
jbr7rr
93dee4eb3c Only update time when diff 2023-06-27 20:19:49 +02:00
jbr7rr
345ae0f9b2 Early return on setBolus failure 2023-06-27 13:27:21 +02:00
jbr7rr
94e6189ab3 Add sendMessage retry counter, cleanup old comments 2023-06-27 12:56:54 +02:00
jbr7rr
ef2cc13dd8 Fix unit tests, small improvements 2023-06-26 20:44:14 +02:00
jbr7rr
19b9ca1da4 Automatic timeZone and DST handling 2023-06-25 21:52:01 +02:00
jbr7rr
201fb5768a Cleanup 2023-06-25 12:29:49 +02:00
jbr7rr
ac8b5b4a05 Confirmation dialog before activation 2023-06-25 10:51:12 +02:00
jbr7rr
895cf54a17 Implemented proper activation and deactivation screens 2023-06-25 10:21:47 +02:00
jbr7rr
3ffb78a7e8 Fix ANR, optimize write delay 2023-06-23 11:42:45 +02:00
jbr7rr
e9964604a1 Sync bolus initially when bolus command is accepted by pump 2023-06-22 18:55:58 +02:00
jbr7rr
17aecd912a Remove SynchronizePacket from some operations to improve stability 2023-06-22 16:02:19 +02:00
jbr7rr
bc8876b6dd BLEComm: Synchronize read and writes better 2023-06-20 12:00:04 +02:00
jbr7rr
2302711cdf Additional Notifications, handling sync of percentage TBR 2023-06-20 09:30:41 +02:00
jbr7rr
057b2e386e Add alarm states, show active alarms in overview 2023-06-18 20:36:44 +02:00
jbr7rr
996ef8e5ef Implement getJSONStatus() and shortStatus() 2023-06-17 15:29:35 +02:00
jbr7rr
082b365520 Added more info to overview 2023-06-17 08:44:04 +02:00
jbr7rr
c0138ffad8 Add lastConnection and expiry to overview 2023-06-16 21:12:33 +02:00
jbr7rr
7b53630947 Add Clear alarms, new overview layout 2023-06-16 21:12:33 +02:00
jbr7rr
3a33f46e2f Fix wrong notifications, and error on load 2023-06-15 18:52:55 +02:00
jbr7rr
49de6a9c32 Add settings, and setting sync with pump 2023-06-13 21:42:05 +02:00
jbr7rr
419def7f6b Notifications and fake TBR on state changes 2023-06-13 13:35:08 +02:00
jbr7rr
8caeb4a3e0 add loadEvents(), small improvements 2023-06-11 13:37:59 +02:00
jbr7rr
e568ab399f Force always to go to prepare patch on activation 2023-06-10 08:10:07 +02:00
jbr7rr
0ce25c1190 Make sure patch can be primed when already filled before activation 2023-06-08 22:22:42 +02:00
jbr7rr
ecb2c977ec Alarm on pump suspended states 2023-06-08 15:48:32 +02:00
jbr7rr
3ae145524c Don't move patchStep when there is no connection 2023-06-08 14:25:25 +02:00
jbr7rr
bad4d7a7f4 Improve activation flow 2023-06-08 11:27:55 +02:00
jbr7rr
6ccfb734d7 Only update lastDataTime on successful readStatus 2023-06-04 17:33:33 +02:00
jbr7rr
9860c7aac3 Improve tbr syncing 2023-06-02 21:27:45 +02:00
jbr7rr
4a1eded8e5 Added extra checks and logging 2023-06-01 08:54:40 +02:00
jbr7rr
aadf40b6fb Fix time in getHourlyBasalFromMedtrumProfileArray() 2023-05-30 13:05:32 +02:00
jbr7rr
cd65639abb Only update basal from Notification when it has changed 2023-05-29 20:05:21 +02:00
jbr7rr
3c8faa6723 Use timeout in connect states, other minor changes 2023-05-29 14:40:08 +02:00
jbr7rr
37a6a4f271 Update unit tests, cleanup 2023-05-28 19:50:00 +02:00
jbr7rr
d8427c6d56 Rescan when connection is lost during connecting 2023-05-28 10:27:13 +02:00
jbr7rr
5a6d5b41d4 Added some stuff to the overview 2023-05-25 20:14:51 +02:00
jbr7rr
c2e1017d73 Moved sequence counter to BLEComm 2023-05-25 14:53:53 +02:00
jbr7rr
3027c2ffa5 Initial bolus implementation, further connection improvements 2023-05-25 13:32:24 +02:00
jbr7rr
a9ebdcfe68 Connection improvements, TBR sync improved 2023-05-23 10:20:22 +02:00
jbr7rr
0d8f07ad0a Initial TBR implementation and pumpSync for basals etc 2023-05-20 20:40:55 +02:00
jbr7rr
61e873dbcc Deactivation, better connection flow 2023-04-15 15:23:26 +02:00
jbr7rr
fff833dae3 Patch activation flow 2023-04-11 15:43:29 +02:00
jbr7rr
af6445a3dc NotificationPacket 2023-03-28 19:26:58 +02:00
jbr7rr
cafdd6cf8f Implement GetRecordPacket (initial) 2023-03-25 16:55:06 +01:00
jbr7rr
db409f5b7f Packet implementation 2023-03-24 19:50:19 +01:00
jbr7rr
90392b2452 Packet classes 2023-03-24 19:50:19 +01:00
jbr7rr
7afa0beb0a Prepare patch step WIP 2023-03-24 19:50:19 +01:00
jbr7rr
8f6dfbdf88 Overview fragment based on eopatch layout 2023-03-24 19:50:19 +01:00
jbr7rr
43515f7b17 Buttons in overview 2023-03-24 19:50:19 +01:00
jbr7rr
485826682e Implemented state to initialize pump connection 2023-03-24 19:50:19 +01:00
jbr7rr
27159d6e47 Review comments 2023-03-24 19:39:23 +01:00
jbr7rr
ed100a4eb0 BLEComm: Added callbacks to enable handling of notifications in calling class 2023-03-24 19:39:23 +01:00
jbr7rr
f31f6c1649 Proper handling of setCharacteristicNotification 2023-03-24 19:39:23 +01:00
jbr7rr
baa4376f68 Added MedtrumService 2023-03-24 19:38:48 +01:00
jbr7rr
b635ad26d8 Initial Medtrum BLEComm 2023-03-24 19:38:48 +01:00
jbr7rr
37a6fa9220 Added Medtrum pump type etc 2023-03-24 19:38:48 +01:00
jbr7rr
18be54f489 Empty plugin 2023-03-24 19:38:48 +01:00