Commit graph

661 commits

Author SHA1 Message Date
Milos Kozak be529caed6 kotlin lints 2023-08-26 23:54:26 +02:00
Milos Kozak 2cd5686556 kotlin lints 2023-08-26 23:39:36 +02:00
Milos Kozak ab74947c24 cleanup activities 2023-08-26 22:56:34 +02:00
Milos Kozak 9c2c331ffe
New Crowdin updates (#2696)
* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Norwegian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations objectives.xml (German)

* New translations strings_alarm.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* 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 strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Polish)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings_alarm.xml (German)

* New translations strings_alarm.xml (Polish)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (German)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Dutch)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings_alarm.xml (Polish)

* New translations strings.xml (Polish)

* New translations arrays.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations protection.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)
2023-08-25 16:30:11 +02:00
Milos Kozak 8a284de4d3
New Crowdin updates (#2694)
* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)
2023-08-24 09:15:56 +02:00
Milos Kozak 43cfddf4b4
New Crowdin updates (#2684)
* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)
2023-08-22 09:45:29 +02:00
Milos Kozak 719192e170
Merge pull request #2550 from yp1ripe/fix-medtronic-history-zero-temps-with-cancels
Skipped creation of "dummy cancel temp basal" records for temp basals which are already paired with real cancels
2023-08-21 11:27:44 +02:00
Milos Kozak aa2fb554bd
New Crowdin updates (#2678)
* New translations objectives.xml (Spanish)

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

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

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

* 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 objectives.xml (Czech)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations objectives.xml (French)

* 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 strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)
2023-08-20 19:15:28 +02:00
jbr7rr bedce0c05c Medtrum: Add invalid warning during serial number input 2023-08-19 21:10:40 +02:00
jbr7rr cfc529531f Medtrum: Use change patch for activity title 2023-08-19 20:23:31 +02:00
jbr7rr 9ef3b6fa2d Make sure pumpType is set correctly before connectNewPump() is called,
Move check for untested pump to settings
2023-08-19 20:17:58 +02:00
Milos Kozak 50043a4a18 Madtrum: toolbar 2023-08-19 16:03:13 +02:00
Milos Kozak 8d0bba379a Eopatch2: toolbar, icons 2023-08-19 15:47:30 +02:00
Milos Kozak 502ed6c40a ErosPodHistoryActivity: toolbar 2023-08-19 14:51:12 +02:00
Milos Kozak cf5e7001a5 DashPodHistoryActivity: toolbar 2023-08-19 14:37:41 +02:00
Milos Kozak ca9cbefaa7 DiaconnG8BLEScanActivity: toolbar 2023-08-19 14:29:26 +02:00
Milos Kozak e342df2a2b DiaconnG8UserOptionsActivity: toolbar 2023-08-19 14:16:54 +02:00
Milos Kozak b0d6580f9a DiaconnG8HistoryActivity: toolbar 2023-08-19 14:07:11 +02:00
Milos Kozak f56b25da97 BLEScanActivity: toolbar 2023-08-19 12:22:47 +02:00
Milos Kozak f65c7bb517 ErosPodManagementActivity: toolbar 2023-08-19 12:13:52 +02:00
Milos Kozak ac3015bc86 Omnipod activation, deactivation: toolbar 2023-08-19 12:08:28 +02:00
Milos Kozak 5746f4fe0d DashPodManagementActivity: toolbar 2023-08-19 11:00:31 +02:00
Milos Kozak 7d272cd4d7 DanaUserOptionsActivity: toolbar 2023-08-19 10:52:02 +02:00
Milos Kozak e3ff4f33d6 DanaHistoryActivity: toolbar 2023-08-19 10:48:06 +02:00
Milos Kozak 510e640673 ComboV2PairingActivity: toolbar 2023-08-19 10:41:35 +02:00
Milos Kozak 9c229e7265
Merge pull request #2674 from jbr7rr/medtrum-improvements
Medtrum: Additional checks
2023-08-17 11:24:45 +02:00
Milos Kozak f870fbc618
New Crowdin updates (#2672)
* 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)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (French)
2023-08-17 09:27:42 +02:00
jbr7rr 6a922bf535 Medtrum: Handle turning BLE off during connection 2023-08-17 09:06:25 +02:00
jbr7rr 0c38967c00 Medtrum: Check for bolus in progress 2023-08-16 19:29:47 +02:00
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
Milos Kozak 0153f47c12 compileSdk = 34 2023-08-14 10:23:42 +02:00
Milos Kozak 8f9138c17b
Merge pull request #2653 from dv1/combov2-fixes-001
combov2: Additional checks for edge cases
2023-08-14 08:42:49 +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
Carlos Rafael Giani 7886dc7e14 combov2: Validate length of entered pairing PIN 2023-08-09 19:48:46 +02:00
Carlos Rafael Giani 84f4303895 combov2: Report error and abort driver start if Bluetooth is not supported 2023-08-09 19:48:36 +02:00
Carlos Rafael Giani 0f668472a4 combov2: Use custom Bluetooth strings instead of reusing BLE ones
The Combo does not use Bluetooth Low Energy, but rather Bluetooth Classic,
so don't use BLE strings for notificiations.
2023-08-09 19:47:08 +02:00
Milos Kozak 911c446190 lints 2023-08-09 16:52:10 +02:00
Milos Kozak ac333f6968
Merge pull request #2623 from jbr7rr/medtrum-stage
Medtrum Nano
2023-08-09 13:46:46 +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
Milos Kozak bf97c405d7
Merge pull request #2647 from dv1/combov2-fixes-001
combov2: Set the bolusDelivered value when a bolus delivery is finished
2023-08-04 10:29:53 +02:00
jbr7rr c738b1001f Implement tdd capability 2023-08-03 20:02:13 +02:00
Milos Kozak d2711135db use SecureRamdom() 2023-08-03 16:14:12 +02:00
Milos Kozak 1d6a48d01d DanaR: reset status when CHECK_VALUE not received 2023-08-03 15:34:52 +02:00
Carlos Rafael Giani d85fd9e8fe combov2: Set the bolusDelivered value when a bolus delivery is finished
Fixes https://github.com/nightscout/AndroidAPS/issues/2594
2023-08-03 14:58:13 +02:00
Milos Kozak 870aaa2032 gradle:8.1.0 2023-07-31 10:21:06 +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 f525c62410 Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-07-21 06:39:48 +02:00
Milos Kozak 4ff17a194c Gradle 8 2023-07-19 15:04:25 +02:00
Milos Kozak 8a458954a8 remove jacoco-android plugin in favor of jacoco-core 2023-07-19 13:53:43 +02:00
Milos Kozak 51b754e5b5
New Crowdin updates (#2618)
* New translations strings.xml (French)

* Update source file strings.xml

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

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)
2023-07-18 11:13:07 +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 41f51d26c0 Revert unintended change 2023-07-16 11:11:33 +02:00
jbr7rr 3f88e05898 Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-07-16 11:08:21 +02:00
jbr7rr c0819cda06 get correct serial number in password reset 2023-07-16 10:59:34 +02:00
Milos Kozak 36f15102fe Combov2: fix string 2023-07-15 11:37:23 +02:00
Milos Kozak fc1a471412 lints, cleanup 2023-07-15 11:21:29 +02:00
Milos Kozak e3207405e8 guava_version 2023-07-15 11:17:56 +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
Milos Kozak 37df642c50
New Crowdin updates (#2595)
* New translations strings_alarm.xml (Norwegian)

* New translations strings_alarm.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings.xml (Russian)
2023-07-11 12:05:51 +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
miyeongkim a3577304ba
Merge branch 'nightscout:dev' into dev 2023-07-06 17:48:43 +09:00
miyeongkim 44e878d33b bolus progress changes on pump version 3.52 above.
pump notify progress during bolus
2023-07-06 17:43:56 +09:00
miyeongkim 7e6da9323b tempbasal will be applied without confirm(otp) on pump version 3.52 above 2023-07-05 10:02:33 +09: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 cbc5a51f2c Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-06-16 21:02:26 +02:00
jbr7rr 3a33f46e2f Fix wrong notifications, and error on load 2023-06-15 18:52:55 +02:00
Milos Kozak a5774b6e2e EOPATCH: rollback specialEnableCondition change 2023-06-14 18:13:09 +02:00
Milos Kozak e27c510f75
New Crowdin updates (#2571)
* New translations strings.xml (Korean)

* New translations strings_alarm.xml (Romanian)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (Spanish)

* New translations strings_alarm.xml (Afrikaans)

* New translations strings_alarm.xml (Bulgarian)

* New translations strings_alarm.xml (Catalan)

* New translations strings_alarm.xml (Czech)

* New translations strings_alarm.xml (Danish)

* New translations strings_alarm.xml (German)

* New translations strings_alarm.xml (Greek)

* New translations strings_alarm.xml (Irish)

* New translations strings_alarm.xml (Hebrew)

* New translations strings_alarm.xml (Hungarian)

* New translations strings_alarm.xml (Italian)

* New translations strings_alarm.xml (Japanese)

* New translations strings_alarm.xml (Korean)

* New translations strings_alarm.xml (Lithuanian)

* New translations strings_alarm.xml (Dutch)

* New translations strings_alarm.xml (Norwegian)

* New translations strings_alarm.xml (Polish)

* New translations strings_alarm.xml (Portuguese)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Slovak)

* New translations strings_alarm.xml (Swedish)

* New translations strings_alarm.xml (Turkish)

* New translations strings_alarm.xml (Chinese Simplified)

* New translations strings_alarm.xml (Portuguese, Brazilian)

* New translations strings_alarm.xml (Croatian)

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

* New translations strings_alarm.xml (Spanish)

* New translations strings_alarm.xml (Czech)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (Slovak)

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

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Slovak)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings_alarm.xml (Turkish)

* New translations strings_alarm.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings_alarm.xml (Italian)
2023-06-14 11:47:51 +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
dependabot[bot] 880029713e
chore(deps): bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.0.0-jre to 32.0.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 08:57:12 +00: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
Milos Kozak 306406733c
New Crowdin updates (#2563)
* New translations strings.xml (French)

* New translations objectives.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations protection.xml (Russian)

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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

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

* New translations strings.xml (Italian)

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

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)
2023-06-05 13:07:08 +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
Milos Kozak cd9f5e4723
Merge pull request #2549 from jbr7rr/dash-handle-tbr-out-of-sync
DASH: handle tbr out of sync
2023-06-01 14:32:44 +02:00
Milos Kozak 29410ecb03
Merge pull request #2554 from jbr7rr/dash-fix-race-condition-on-disconnect
DASH: Fix race condition on dash disconnect
2023-06-01 14:31:42 +02:00
jungsomyeonggithub c07a155424 bug fix 2023-06-01 19:23:31 +09: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
dependabot[bot] c9fcdb13b2
chore(deps): bump com.google.guava:guava from 31.1-jre to 32.0.0-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 08:57:53 +00: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 404365aed2 Merge remote-tracking branch 'nightscout/dev' into medtrum-activate-patch2 2023-05-25 15:48:13 +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 d5647ce021 Fix race condition on dash disconnect 2023-05-22 20:06:59 +02:00
Yury Pshenichny a76d2f97e2 Skipped creation of "dummy cancel temp basal" records for temp basals which are already paired with real cancels 2023-05-22 18:09:05 +03:00
jbr7rr 0d8f07ad0a Initial TBR implementation and pumpSync for basals etc 2023-05-20 20:40:55 +02:00
jbr7rr cd3869ea07 Move verifyPumpState to its own function, cleanup 2023-05-19 16:54:32 +02:00
jbr7rr 77feeedf35 Shorten TBR string to cleanup history view 2023-05-19 16:54:20 +02:00
jbr7rr 38728bac01 Handle DASH basal and TBR out of sync 2023-05-19 09:55:13 +02:00
jbr7rr 2826854b7c Add total delivered to dash history 2023-05-19 09:55:01 +02:00
Milos Kozak 7faa34aa50 fix activities translation 2023-05-17 18:36:01 +02:00
Milos Kozak fba804b2cb EOPATCH: disable screen rotation during activation 2023-05-14 10:04:07 +02:00
Milos Kozak 4a1ed1f584
Merge pull request #2531 from jbr7rr/dash-fix-long-0temp
Dash: Workaround for long 0temp
2023-05-09 11:58:19 +02:00
Milos Kozak 62cea47d57
New Crowdin updates (#2499)
* New translations objectives.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Russian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)
2023-05-08 08:13:06 +02:00
jbr7rr b367bdbee8 Dash: Workaround for long 0temp 2023-05-05 08:25:11 +02:00
jbr7rr ccd4d0d550 Stop waitForConnection when disconnected during connecting 2023-04-20 14:52:07 +02:00
jbr7rr 59761364ea Close gatt when BLE is disconnected 2023-04-18 08:04:30 +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
Milos Kozak 2967ff4ef9
New Crowdin updates (#2474)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

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

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

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Czech)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations alert_descriptions.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* Update source file objectives.xml

* New translations objectives.xml (Lithuanian)

* New translations objectives.xml (Romanian)

* New translations objectives.xml (French)

* New translations objectives.xml (Spanish)

* New translations objectives.xml (Afrikaans)

* New translations objectives.xml (Bulgarian)

* New translations objectives.xml (Catalan)

* New translations objectives.xml (Czech)

* New translations objectives.xml (Danish)

* New translations objectives.xml (German)

* New translations objectives.xml (Greek)

* New translations objectives.xml (Hebrew)

* New translations objectives.xml (Italian)

* New translations objectives.xml (Korean)

* New translations objectives.xml (Dutch)

* New translations objectives.xml (Norwegian)

* New translations objectives.xml (Polish)

* New translations objectives.xml (Portuguese)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Slovak)

* New translations objectives.xml (Swedish)

* New translations objectives.xml (Turkish)

* New translations objectives.xml (Chinese Simplified)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations objectives.xml (Hebrew)

* New translations objectives.xml (Slovak)

* New translations objectives.xml (Spanish)

* New translations objectives.xml (Turkish)

* New translations objectives.xml (Czech)
2023-04-11 09:30:49 +02:00
Milos Kozak 173cc754d5 DanaI: fix saving user options 2023-04-10 20:47:19 +02:00
Carlos Rafael Giani 8537c42d0a combov2: Use dedicated variable for keeping track of suspended state
This is necessary to prevent race conditions during connection setup.
isSuspended() was relying on the driverStateUIFlow to determine if the
pump is currently suspended. However, because driverStateUIFlow is updated
in a separate coroutine, there is a chance that the Suspended state is
set shortly _after_ connect() called isSuspended() to determine if the
pump is suspended or not, causing connect() to do the wrong thing and
assume that the pump is currently connected. Since the main screen does
not show the current profile number, this leads to the error message
"profile 1 must be the active profile, not profile 0".
2023-04-03 20:52:48 +02:00
jbr7rr af6445a3dc NotificationPacket 2023-03-28 19:26:58 +02:00
Milos Kozak 003f323d4c
Merge pull request #2464 from dv1/combov2-fixes-001
Fixes to combov2 pairing PIN entry UI, the pairing activity, and TDD history retrieval and activity background
2023-03-25 20:12:38 +01: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
Milos Kozak 1920bc7ce5
New Crowdin updates (#2465)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)
2023-03-23 10:32:05 +01:00
Carlos Rafael Giani a0e65370dc combov2: Ask for Bluetooth permissions before pairing 2023-03-22 09:02:42 +01:00
Carlos Rafael Giani d280a2bec5 comboctl-main: Allow fetching TDDs while the pump is suspended
There is no good reason for disallowing TDD retrieval while the Combo
is suspended - the TDD history screens are accessible, and TDD retrieval
does not cause any insulin delivery to take place.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-22 08:53:21 +01:00
Carlos Rafael Giani 6435b36f7e combov2: Use layout_weight to make PIN field adapt to horizontal space 2023-03-19 17:40:41 +01:00
Milos Kozak 438f384c67 lints 2023-03-16 18:36:47 +01:00
Milos Kozak 53c13684ea EOPATCH2: fix NS carbs sync 2023-03-16 18:29:53 +01:00
Milos Kozak 294f3cb789
Merge pull request #2457 from dv1/combov2-fixes-001
combov2: Fixes for the refresh button, unsafe casts, crashes due to Bluetooth, improved warning screen handling, and additional language support
2023-03-13 22:21:45 +01:00
Carlos Rafael Giani 9979331ef0 comboctl-parser: Fix typo in E2BatteryEmptyErrorScreenParsing test
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-13 21:46:31 +01:00
Milos Kozak 6e223dd5f4
New Crowdin updates (#2456)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations alert_descriptions.xml (Lithuanian)

* New translations exam.xml (Bulgarian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2023-03-13 21:32:18 +01:00
miyeongkim eaa32355cd
Merge branch 'nightscout:dev' into dev 2023-03-13 11:25:58 +09:00
miyeongkim 804ee6e898 fix "ArithmeticException: divide by zero" 2023-03-13 11:24:06 +09:00
Carlos Rafael Giani bec7a4aa97 combov2: Replace unsafe casts 2023-03-12 22:40:54 +01:00
Carlos Rafael Giani cc4cd2dc04 comboctl-parser: Don't try to interpret text in error screens
That text shows contents that are different to that of warning screens.
Instead of extending the interpretation logic to cover such contents as
well, just use a generic ERROR_TEXT AlertScreenState. That text won't
be interpreted by any program logic anyway, since error screens are
never dismissed automatically.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-12 22:40:54 +01:00
Carlos Rafael Giani 377188353a combov2: Show UI notifications and toaster messages when BT is not enabled 2023-03-12 22:40:54 +01:00
Carlos Rafael Giani 6d998c8081 combov2: Catch exceptions thrown when the adapter is disabled / unavailable 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani c1058ad113 comboctl-android: Check that the adapter is available and enabled
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani 13666fd549 combov2: Document and extend runWithPermissionCheck utility function 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani 72819cbc53 comboctl-base: Add exceptions for disabled and missing Bluetooth adapters
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani fe1235dbe1 combov2: Wait for coroutines to finish in onStop() 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani 2cdc4c45ea comboctl-parser: Add Lithuanian support
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani 3f3884e513 comboctl-parser: Handle percent symbol in some TBR percentage screens
Some TBR percentage screens like the Lithuanian one show a % symbol
right after the text. Add an optional symbol parser to handle it.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani dbe72e72da comboctl-parser: Add Slovenian support
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani d2c0aba2b5 comboctl-main: Improve alert screen handling
* Check if the alert screen is the confirm or snooze screen, and press
  the CHECK button once or twice accordingly. This avoids fringe cases
  where the amount of button presses is incorrect.
* In rare cases, more alert screens may show up after dismissing the
  current one. Add code to keep observing remaining alerts and redo
  the dismissing logic after a while if necessary.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani 76dec4aad6 comboctl-parser: Also parse text in alert screens
This helps with distinguishing the "snooze" and "confirm" screens.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-11 19:00:25 +01:00
Carlos Rafael Giani c81578f7ff combov2: Also enable the Refresh button in the Error state 2023-03-11 19:00:25 +01:00
Carlos Rafael Giani b4cb00ab0b combov2: Remove notes from auto-inserted reservoir and battery changes
Unfortunately, even though the notes are informative, they do not fit
well in the treatments fragment. The only solution thus far is to remove
them from the therapy entries.

Fixes https://github.com/nightscout/AndroidAPS/issues/2382
2023-03-11 19:00:20 +01:00
Milos Kozak ab0a16d785
New Crowdin updates (#2445)
* New translations strings.xml (Italian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Bulgarian)
2023-03-10 12:02:20 +01:00
Milos Kozak f651f721e0 DanaRS: do not send another packet if previous failed 2023-03-03 22:20:02 +01:00
Milos Kozak 7f29a0ce7a
New Crowdin updates (#2439)
* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations oh_strings.xml (Bulgarian)

* 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 strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Bulgarian)
2023-03-03 09:13:11 +01:00
Milos Kozak c2fd6e5990 unify kotlinx_serialization 2023-02-27 15:57:27 +01:00
Milos Kozak f9179632f2 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-02-27 15:33:16 +01:00
Milos Kozak 773d8055b8 Simplify call 2023-02-27 15:33:10 +01:00
Milos Kozak 5a6d2e02a8
New Crowdin updates (#2435)
* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2023-02-27 15:21:40 +01:00
Milos Kozak 1fa2cb9370 DanaRS/I: improve recovering from disconnection 2023-02-26 19:09:49 +01:00
Milos Kozak 2863d5c06c
New Crowdin updates (#2431)
* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Italian)

* New translations protection.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations exam.xml (Italian)

* New translations objectives.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 exam.xml (Italian)

* New translations objectives.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 oh_strings.xml (Italian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Norwegian)

* New translations protection.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations validator.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)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations exam.xml (Russian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations exam.xml (Italian)

* New translations objectives.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 objectives.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 objectives.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Italian)

* New translations strings.xml (Italian)
2023-02-26 10:44:12 +01:00
Milos Kozak 909e909525 DanaI 0x0A support 2023-02-24 20:00:07 +01:00
Milos Kozak 2326be8c7a
New Crowdin updates (#2425)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations objectives.xml (Spanish)

* New translations oh_strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations exam.xml (Russian)

* New translations objectives.xml (Russian)

* New translations strings.xml (Russian)

* New translations oh_strings.xml (Russian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations oh_strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations exam.xml (Portuguese, Brazilian)

* New translations strings.xml (Norwegian)
2023-02-21 11:55:06 +01:00
miyeongkim b8a09183da add bluetooth bond state check 2023-02-20 11:33:20 +09:00
Milos Kozak 69117327a4
New Crowdin updates (#2418)
* 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 oh_strings.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations oh_strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Hebrew)

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

* New translations strings.xml (Italian)

* New translations strings.xml (Russian)

* New translations oh_strings.xml (Polish)
2023-02-19 20:49:19 +01:00
Carlos Rafael Giani 02386ae9ca combov2: Don't return true in isBusy() when in the Connecting driver state 2023-02-18 20:18:27 +01:00
Andy Rozman 260729bf6d - added change for remainingInsulin where we get too liitle data in some cases 2023-02-18 17:32:28 +00:00
Milos Kozak d869a343e1
New Crowdin updates (#2417)
* New translations oh_strings.xml (Slovak)

* New translations oh_strings.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations oh_strings.xml (Norwegian)

* New translations exam.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations oh_strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations oh_strings.xml (Lithuanian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations exam.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Bulgarian)

* 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 objectives.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations objectives.xml (Lithuanian)

* New translations protection.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations exam.xml (Dutch)

* New translations exam.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Dutch)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2023-02-18 17:34:45 +01:00
Milos Kozak 009cec2eb1 MDT: fix notificaion call 2023-02-18 17:24:57 +01:00
Milos Kozak 8e1d3106bc
New Crowdin updates (#2415)
* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations protection.xml (Bulgarian)

* New translations protection.xml (Hebrew)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations oh_strings.xml (Romanian)

* New translations oh_strings.xml (French)

* New translations oh_strings.xml (Spanish)

* New translations oh_strings.xml (Afrikaans)

* New translations oh_strings.xml (Bulgarian)

* New translations oh_strings.xml (Catalan)

* New translations oh_strings.xml (Danish)

* New translations oh_strings.xml (Hebrew)

* New translations oh_strings.xml (Hungarian)

* New translations oh_strings.xml (Italian)

* New translations oh_strings.xml (Korean)

* New translations oh_strings.xml (Lithuanian)

* New translations oh_strings.xml (Dutch)

* New translations oh_strings.xml (Norwegian)

* New translations oh_strings.xml (Polish)

* New translations oh_strings.xml (Portuguese)

* New translations oh_strings.xml (Russian)

* New translations oh_strings.xml (Slovak)

* New translations oh_strings.xml (Swedish)

* New translations oh_strings.xml (Turkish)

* New translations oh_strings.xml (Chinese Simplified)

* New translations oh_strings.xml (Portuguese, Brazilian)

* New translations oh_strings.xml (Croatian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations exam.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations exam.xml (Bulgarian)

* New translations objectives.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations oh_strings.xml (Bulgarian)

* New translations oh_strings.xml (Spanish)

* New translations oh_strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations oh_strings.xml (Bulgarian)
2023-02-17 10:24:57 +01:00
Milos Kozak 24456e3c5d lints 2023-02-15 10:18:31 +01:00
Milos Kozak 820f0db035 Dana-I: recognize domestic version 2023-02-15 10:12:05 +01:00
Milos Kozak 388ee3d56c lints & small fixes 2023-02-14 11:37:31 +01:00
Milos Kozak 91590f04ce EROS: uses static Random instance 2023-02-14 11:22:14 +01:00
Milos Kozak 2c71401418
Merge pull request #2364 from nightscout/ns15
NS 15.0.0 support
2023-02-13 14:48:22 +01:00
Milos Kozak fe3be5b9f7
New Crowdin updates (#2392)
* New translations exam.xml (Russian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2023-02-13 12:19:18 +01:00
Milos Kozak 8f9dfe4ddc Merge branch 'dev' into ns15 2023-02-11 16:57:16 +01:00
Milos Kozak 3326225d4f EROS: fix activity background 2023-02-11 16:30:41 +01:00
Milos Kozak c6ec76488e Merge remote-tracking branch 'origin/dev' into ns15 2023-02-10 22:00:49 +01:00
Carlos Rafael Giani 82bdb4df9a comboctl-main: Use the standard bolus' total amount as its immediate amount
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-02-09 18:50:27 +01:00
Milos Kozak 65123fe527 Combov2: prevent NPE 2023-02-04 19:26:04 +01:00
Milos Kozak f6670091ec
New Crowdin updates (#2344)
* New translations strings.xml (Serbian (Latin))

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations exam.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

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

* New translations strings.xml (Hungarian)

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

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Lithuanian)

* New translations protection.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations protection.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations exam.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations protection.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations exam.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

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

* 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 (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 exam.xml (Romanian)

* New translations exam.xml (French)

* New translations exam.xml (Spanish)

* New translations exam.xml (Afrikaans)

* New translations exam.xml (Bulgarian)

* New translations exam.xml (Catalan)

* New translations exam.xml (Czech)

* New translations exam.xml (Danish)

* New translations exam.xml (German)

* New translations exam.xml (Greek)

* New translations exam.xml (Hebrew)

* New translations exam.xml (Italian)

* New translations exam.xml (Korean)

* New translations exam.xml (Lithuanian)

* New translations exam.xml (Dutch)

* New translations exam.xml (Norwegian)

* New translations exam.xml (Polish)

* New translations exam.xml (Portuguese)

* New translations exam.xml (Russian)

* New translations exam.xml (Slovak)

* New translations exam.xml (Swedish)

* New translations exam.xml (Turkish)

* New translations exam.xml (Chinese Simplified)

* New translations exam.xml (Portuguese, Brazilian)

* New translations exam.xml (Croatian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* Update source file strings.xml

* Update source file exam.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations exam.xml (German)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations exam.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations exam.xml (Spanish)

* New translations exam.xml (Czech)

* New translations exam.xml (Polish)

* New translations objectives.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)
2023-01-30 22:13:24 +01:00
Milos Kozak cacf62f20c
Merge pull request #2377 from dv1/check-for-suspend-before-tbr-and-bolus
WIP: combov2: Check if pump is suspended before setting TBR and delivering…
2023-01-30 18:40:14 +01:00
Mark Breen 1c8f8a2459 Group "About Screen" strings in UI strings file inc one from combo strings 2023-01-30 01:36:25 +00:00
Carlos Rafael Giani d505c1a90b combov2: Check if pump is suspended before setting TBR and delivering bolus
This avoids a misleading error state caused by an IllegalStateException
that gets thrown by the Pump.setTbr() and Pump.deliverBolus() when these
get called while the pump is suspended. Instead, first check for this
suspended state, and if the pump is indeed suspended, immediately exit
with the pump enact result set to not have succeeded nor have been enacted.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-28 20:43:29 +01:00
Milos Kozak 13cf19083a ComboV2: move logging to onStart 2023-01-21 16:55:24 +01:00
Milos Kozak c1fca211bf DanaR: ignore history records with invalid date 2023-01-21 14:48:56 +01:00
Milos Kozak fa2b9bddcc EOPATCH2: fix open preferences 2023-01-16 20:21:32 +01:00
Milos Kozak 7728fe24f4
New Crowdin updates (#2334)
* Update source file objectives.xml

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)
2023-01-11 09:45:19 +01:00
Milos Kozak b74e5a520c
New Crowdin updates (#2331)
* Update source file strings.xml

* Update source file exam.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

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

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations exam.xml (French)

* New translations exam.xml (Spanish)

* New translations exam.xml (Czech)

* New translations exam.xml (Norwegian)

* New translations exam.xml (Russian)

* New translations exam.xml (Slovak)

* New translations objectives.xml (Spanish)

* New translations objectives.xml (Czech)

* New translations objectives.xml (Norwegian)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file exam.xml

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations exam.xml (German)

* New translations objectives.xml (Czech)

* New translations objectives.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations exam.xml (Norwegian)

* New translations strings.xml (Norwegian)
2023-01-09 10:11:17 +01:00
Milos Kozak 0fcb9cb4d2 EOPATCH2: jsonStatus 2023-01-04 21:22:33 +01:00
Milos Kozak 688a95746c NSC: fix preferences crash 2023-01-03 16:37:27 +01:00
Milos Kozak 5aacf04038
Merge pull request #2322 from dv1/comboctl-dev
Carry over changes from comboctl ; disable pairing UI when BT permissions are not granted
2023-01-03 15:01:54 +01:00
Carlos Rafael Giani 409852685e comboctl-base: Fix PumpIOTest
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-03 13:35:30 +01:00
Milos Kozak 7ad13882ef NSCv3: improve comm 2023-01-02 22:38:17 +01:00
Carlos Rafael Giani fffe014d4e combov2: Apply changes from comboctl
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 21:42:54 +01:00
Carlos Rafael Giani aff55d2f60 combov2: Add note about differences in AndroidManifest.xml
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani 4bb163a633 comboctl-main: Support extended/multiwave bolus in Pump.deliverBolus()
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani 83dce8bee3 comboctl-base: Handle ext/multiwave bolus in PumpIO.deliverCMDStandardBolus
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani 05674ba552 comboctl-base: Support automatic extended/multiwave boluses in history
When delivering extended and multiwave boluses through the command mode,
the boluses are marked as "automatic" by the Combo, and use different IDs
compared to extended/multiwave boluses that were initiated through the
remote terminal mode. Add support for these IDs, and extend the
CMDHistoryEventDetail subclasses for extended and multiwave boluses with
a field that specifies whether the bolus was manual or automatic.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00