Commit graph

164 commits

Author SHA1 Message Date
Milos Kozak
681fe52d80 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-11-25 14:21:44 +01:00
Milos Kozak
dcd86e26a4 Combo: remove core dependency 2022-11-25 14:06:48 +01:00
dependabot[bot]
b088c73ef5
chore(deps): bump rxandroidble from 1.17.0 to 1.17.2
Bumps [rxandroidble](https://github.com/dariuszseweryn/RxAndroidBle) from 1.17.0 to 1.17.2.
- [Release notes](https://github.com/dariuszseweryn/RxAndroidBle/releases)
- [Changelog](https://github.com/dariuszseweryn/RxAndroidBle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dariuszseweryn/RxAndroidBle/commits)

---
updated-dependencies:
- dependency-name: com.polidea.rxandroidble3:rxandroidble
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 08:02:20 +00:00
Carlos Rafael Giani
1131ad1195 comboctl-main: Refine waiting periods during long RT button press
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-25 00:26:32 +01:00
Carlos Rafael Giani
1e6b560199 combov2: Refer to correct comboctl source subdirectory in gradle script
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-25 00:26:30 +01:00
Carlos Rafael Giani
ede5ad1cda comboctl-main: Rename variables such that currentQuantity is not shadowed
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-25 00:26:21 +01:00
Milos Kozak
80f6050d04 suppress deprecation 2022-11-24 11:07:18 +01:00
Milos Kozak
a451c64a84 move ProfileStore 2022-11-23 20:43:15 +01:00
Milos Kozak
32bf2e592a move DialogAppCompatActivity 2022-11-23 16:13:39 +01:00
Milos Kozak
d444979603 DetailedBolusInfoStorage interface 2022-11-23 16:02:54 +01:00
Milos Kozak
37f9a942b2 TemporaryBasalStorage interface 2022-11-23 15:53:57 +01:00
Milos Kozak
8e8fbf1b6f UserEntryLogger interface 2022-11-23 15:32:06 +01:00
Milos Kozak
79f8ae11fb cleanup core 2022-11-23 14:36:06 +01:00
Milos Kozak
58a96ab6ce
New Crowdin updates (#2212)
* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Irish)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

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

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Greek)

* New translations strings.xml (Korean)

* New translations strings.xml (Irish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

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

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Lithuanian)

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

* New translations strings.xml (Czech)

* New translations protection.xml (Czech)

* New translations exam.xml (Slovak)

* New translations protection.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Catalan)

* New translations strings.xml (Bulgarian)

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

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Danish)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (German)

* New translations strings.xml (Irish)

* New translations strings.xml (Greek)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Bulgarian)

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

* New translations strings.xml (Croatian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

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

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Swedish)

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

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

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

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (Japanese)

* New translations strings.xml (Greek)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Catalan)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Irish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

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

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Korean)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese)

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

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

* New translations strings.xml (Czech)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Serbian (Latin))
2022-11-22 23:24:08 +01:00
Milos Kozak
a1c073a74c fix build 2022-11-22 22:13:37 +01:00
Milos Kozak
e0ea0ca56d
Merge pull request #2167 from dv1/comboctl-dev
Combo v2 : new Combo driver, written from scratch in Kotlin, does not need or use Ruffy
2022-11-22 22:06:29 +01:00
Milos Kozak
fda8498c8e :core:graph 2022-11-22 21:39:19 +01:00
Milos Kozak
94b1d0ce74 migrate BolusProgressDialog 2022-11-22 11:54:27 +01:00
Milos Kozak
9f5af9b80c protection interfaces 2022-11-22 10:16:07 +01:00
Milos Kozak
4513ae6947 move more code 2022-11-21 22:43:34 +01:00
Milos Kozak
33dcf6479d Sensitivity module 2022-11-21 20:26:06 +01:00
Carlos Rafael Giani
5745e95244 Update combov2 code to match recent changes in dev branch
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-21 19:58:29 +01:00
Carlos Rafael Giani
4ea6b48047 Merge branch 'dev' into comboctl-dev 2022-11-21 19:58:10 +01:00
Milos Kozak
6fa7877048 merge Config & BuildHelper 2022-11-21 13:51:47 +01:00
Milos Kozak
1cbfae2dc1 di cleanup 2022-11-21 10:46:56 +01:00
Milos Kozak
c2fb7811dd
New Crowdin updates (#2206)
* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (French)

* New translations protection.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations validator.xml (Japanese)

* New translations objectives.xml (Japanese)

* New translations exam.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations exceptions.xml (Japanese)

* New translations alert_titles.xml (Japanese)

* New translations alert_descriptions.xml (Japanese)

* New translations alert_codes.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Romanian)

* New translations strings.xml (Danish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

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

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

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

* New translations strings.xml (Japanese)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations protection.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations protection.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations exam.xml (Spanish)
2022-11-21 10:13:59 +01:00
Carlos Rafael Giani
61519e43f2 combov2: Disable internal Pump.connect() connection attempt limiter
QueueThread already has a timeout; the limiter is redundant.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 23:05:24 +01:00
Carlos Rafael Giani
90480ab1d9 comboctl-main: Add more argument checks to Pump.connect()
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 23:04:30 +01:00
Carlos Rafael Giani
605fe04d74 comboctl-main: Check for unchanging screen type in navigateToRTScreen()
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 21:58:50 +01:00
Carlos Rafael Giani
5aeb401cc0 combov2: Autodetect reservoir and battery changes and insert them as events
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 21:04:53 +01:00
Carlos Rafael Giani
8bef914eac combov2: Store battery and reservoir levels as plain properties
This fixes https://github.com/dv1/AndroidAPS/issues/2

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 19:55:04 +01:00
Carlos Rafael Giani
2bde0f154d comboctl-main: Add and fix unit tests
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:59:21 +01:00
Carlos Rafael Giani
96c8145dc3 comboctl-main: During corrective short button presses check screens
After a long button press, short button presses may be necessary to
fix "overshoots". An alert screen may appear during those short button
presses, so look at the screens to make sure alerts are not missed.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:59:17 +01:00
Carlos Rafael Giani
8b2666ff74 comboctl-main: Only receive frames if long RT button press was skipped
The code in adjustQuantityOnScreen() needs an current quantity. This is
determined during the long button press. If no such long button press
happens, get the quantity by explicitly receiving parsed frames. But
don't read those parsed frames if a long button press happened; this
is redundant and just slows down the function.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:59:12 +01:00
Carlos Rafael Giani
03a32f09cf comboctl-main: Catch getParsedDisplayFrame() exceptions and rethrow later
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:59:08 +01:00
Carlos Rafael Giani
8d6171db49 comboctl-parser: Support main screens with ext/multiwave and TBR symbols
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:58:51 +01:00
Carlos Rafael Giani
e9294c59a0 comboctl-parser: Parse remaining duration in TBR percentage screen
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-20 18:58:47 +01:00
Carlos Rafael Giani
cc26eb8ed8 combov2: Also limit TBR percentage when AAPS sets absolute TBR
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-19 23:47:49 +01:00
Carlos Rafael Giani
d50feec302 comboctl-main: Correctly handle alerts after bolus was delivered
In particular, if a bolus brings the reservoir level below the low
threshold, a W1 warning shows up on the pump itself during bolus delivery.
Once delivery is done, the W1 shows up in the RT mode as well. Bolus
delivery is special in that the deliverBolus() function has to manually
switch back to RT mode to get the reservoir level post-bolus to update
the reservoirLevel value. When that is done, the aforementioned alert
screen can show up. Add code to handle alert screen handling to that
special post-bolus check.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-19 13:56:01 +01:00
Carlos Rafael Giani
20d4a0c692 comboctl-main: Fix computeShortRTButtonPress() cyclic quantity bug
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-19 11:22:10 +01:00
Milos Kozak
72505b6093 remove dependencies from setup wizard 2022-11-18 23:22:00 +01:00
Milos Kozak
232b44b153 move Intents 2022-11-18 19:03:26 +01:00
Milos Kozak
cfe9875b68 fix tests 2022-11-18 17:28:13 +01:00
Milos Kozak
bd860f4a52 optimize dependencies 2022-11-17 20:37:51 +01:00
Milos Kozak
1b08e78809 make ktlint global, remove detekt 2022-11-16 10:29:20 +01:00
Milos Kozak
2bfe8c272d
New Crowdin updates (#2203)
* New translations validator.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations exam.xml (Czech)

* New translations validator.xml (Afrikaans)

* New translations objectives.xml (Afrikaans)

* New translations objectives.xml (Romanian)

* New translations protection.xml (Romanian)

* New translations validator.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations exam.xml (French)

* New translations objectives.xml (French)

* New translations protection.xml (French)

* New translations validator.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (Afrikaans)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (Spanish)

* New translations objectives.xml (Spanish)

* New translations protection.xml (Spanish)

* New translations validator.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations objectives.xml (Czech)

* New translations protection.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations validator.xml (Czech)

* New translations exam.xml (Hebrew)

* New translations objectives.xml (Irish)

* New translations strings.xml (Irish)

* New translations strings.xml (Irish)

* New translations strings.xml (Irish)

* New translations validator.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations protection.xml (Hebrew)

* New translations strings.xml (Greek)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Greek)

* New translations validator.xml (Greek)

* New translations strings.xml (Greek)

* New translations exam.xml (German)

* New translations exam.xml (Danish)

* New translations objectives.xml (Danish)

* New translations validator.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations objectives.xml (German)

* New translations protection.xml (German)

* New translations validator.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations exam.xml (Greek)

* New translations objectives.xml (Greek)

* New translations protection.xml (Greek)

* New translations objectives.xml (Norwegian)

* New translations exam.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations protection.xml (Dutch)

* New translations validator.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations exam.xml (Norwegian)

* New translations strings.xml (Lithuanian)

* New translations validator.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations exam.xml (Polish)

* New translations objectives.xml (Polish)

* New translations protection.xml (Polish)

* New translations validator.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Hungarian)

* New translations exam.xml (Korean)

* New translations strings.xml (Hungarian)

* New translations exam.xml (Italian)

* New translations objectives.xml (Italian)

* New translations protection.xml (Italian)

* New translations validator.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations objectives.xml (Korean)

* New translations protection.xml (Korean)

* New translations validator.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations exam.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations protection.xml (Lithuanian)

* New translations validator.xml (Lithuanian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations validator.xml (Portuguese)

* New translations protection.xml (Portuguese)

* New translations objectives.xml (Portuguese)

* New translations exam.xml (Portuguese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations exam.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations protection.xml (Turkish)

* New translations validator.xml (Turkish)

* New translations protection.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations exam.xml (Chinese Simplified)

* New translations objectives.xml (Chinese Simplified)

* New translations validator.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations validator.xml (Swedish)

* New translations strings.xml (Russian)

* New translations exam.xml (Russian)

* New translations objectives.xml (Russian)

* New translations protection.xml (Russian)

* New translations validator.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations exam.xml (Slovak)

* New translations protection.xml (Swedish)

* New translations objectives.xml (Slovak)

* New translations protection.xml (Slovak)

* New translations validator.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations exam.xml (Swedish)

* New translations objectives.xml (Swedish)

* New translations strings.xml (Chinese Simplified)

* New translations exam.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Croatian)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations objectives.xml (Croatian)

* New translations exam.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations validator.xml (Portuguese, Brazilian)

* New translations protection.xml (Portuguese, Brazilian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Hebrew)

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

* New translations strings.xml (Czech)

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

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

* New translations strings.xml (French)

* New translations strings.xml (Hungarian)

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

* New translations strings.xml (Croatian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations exam.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Portuguese, Brazilian)

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

* New translations strings.xml (Russian)

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)
2022-11-15 19:29:03 +01:00
Milos Kozak
ae3650793f optimize SetupWizard 2022-11-15 19:28:21 +01:00
Milos Kozak
07f1168270 move UserEntryMapper 2022-11-14 14:22:41 +01:00
Milos Kozak
d50d1bf9c9 NumberPicker -> :core:ui 2022-11-14 13:53:25 +01:00
Milos Kozak
a2f048adc4 ToastUtils -> :core:ui 2022-11-14 13:25:09 +01:00
Milos Kozak
d8bfcad7e9 classes -> :core:ui 2022-11-14 12:39:38 +01:00
Milos Kozak
b6b3600410 elements -> :core:ui 2022-11-14 11:18:33 +01:00
Milos Kozak
359b3f41b5 Dialogs -> :core:ui 2022-11-14 10:58:59 +01:00
Milos Kozak
f141d003a4 PumpEnactResult 2022-11-14 08:30:50 +01:00
Milos Kozak
c9164e6274 break more dependencies 2022-11-13 18:14:37 +01:00
Milos Kozak
fcd75c35d6 fix build 2022-11-12 09:07:37 +01:00
Milos Kozak
6fab5a9b8d move to interfaces 2022-11-11 23:17:09 +01:00
Milos Kozak
4e939e0c8c simplify dependency 2022-11-11 20:22:12 +01:00
Milos Kozak
8c44879150 move to interfaces 2022-11-11 18:54:30 +01:00
Carlos Rafael Giani
3f265c855c combov2: Fix last bolus field in combov2 UI fragment
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-11 18:05:31 +01:00
Milos Kozak
d108755814 move to plugins module 2022-11-11 17:46:09 +01:00
Milos Kozak
3305672ade rename 2022-11-11 09:43:07 +01:00
Milos Kozak
e4ccc78a7d ProfileViewerDialog -> ui 2022-11-11 09:38:36 +01:00
Milos Kozak
88899417a9 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-11-11 08:31:32 +01:00
Milos Kozak
9d14db71c7 Eopatch: fix pairing 2022-11-11 08:31:19 +01:00
Carlos Rafael Giani
03d226e725 combov2: Show dedicated message when hitting unexpected TBR % limit
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-10 23:41:45 +01:00
Milos Kozak
73f876a45d move to interfaces 2022-11-10 19:27:04 +01:00
Carlos Rafael Giani
ced93e4a53 comboctl-main: Check if RT quantity adjustment hits an unexpected limit
This is important for example if the Combo is not properly configured
and the user tries to set a TBR percentage beyond the configured limit.
The RT UI will then clamp the percentage to that limit, and the quantity
won't increase anymore. Without this new check, this causes the code
to be stuck in an endless loop.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-10 19:21:02 +01:00
Carlos Rafael Giani
c3c894cccb comboctl-main: Rework longPressRTButtonUntil() implementation
The new implementation overshoots less often, runs generally faster,
and correctly forwards exceptions thrown by the checkScreen callback.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-10 19:21:02 +01:00
Milos Kozak
c31bfc7c23 move profiles to interfaces 2022-11-10 16:55:18 +01:00
Milos Kozak
85f85e388f move to interfaces 2022-11-10 14:01:14 +01:00
Milos Kozak
59e885110b fix tests 2022-11-10 11:30:33 +01:00
Milos Kozak
886dc6d0a4 DetailedBolusInfo -> interfaces 2022-11-10 09:40:49 +01:00
Milos Kozak
253601980d :database:entities 2022-11-09 23:28:48 +01:00
Milos Kozak
f870a74796 :database:impl 2022-11-09 16:49:36 +01:00
Milos Kozak
1041de39c8 core-fabric module 2022-11-09 15:56:59 +01:00
Milos Kozak
6cc67e52a4 core -> core-main 2022-11-09 13:30:48 +01:00
Milos Kozak
efd4d43a50 build.gradle optimization 2022-11-09 12:20:03 +01:00
Milos Kozak
f43e090296 move more to interfaces module 2022-11-08 21:17:46 +01:00
Milos Kozak
34320ad8ca sync -> plugins module 2022-11-08 17:34:47 +01:00
Milos Kozak
936192b0de resolve rireylink -> pump-common dependency 2022-11-08 12:17:53 +01:00
Milos Kozak
ed91df6341 add interfaces -> shared dependency (ResourceHelper) 2022-11-08 11:08:14 +01:00
Milos Kozak
821c77cdec
New Crowdin updates (#2166)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* 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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Greek)

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

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Irish)

* New translations strings.xml (Romanian)

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

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

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

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Danish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Danish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

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

* New translations strings.xml (Dutch)

* New translations exam.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)
2022-11-08 09:29:04 +01:00
Milos Kozak
a0bf9d2104
Merge pull request #2175 from nightscout/dependabot/gradle/dev/com.polidea.rxandroidble3-rxandroidble-1.17.0
chore(deps): bump rxandroidble from 1.16.0 to 1.17.0
2022-11-08 09:24:39 +01:00
Milos Kozak
774ed51e1b
NSClient v3 initial work, NS v1 improvements
* NSCv3 initial work

* Allow only 1 NSC

* read sgv

* NSv3: Read Bolus, Carbs

* NSCv3: more work

* fix build

* loading working

* work on TT

* TT working

* TBR processing

* EPS working

* PS Sync

* Process entries at once. Share code v1,v3

* BolusCalculatorWizard working

* TherapyEvent working

* process bg at once

* improve sync

* sdk -> ns-sdk

* handle status per version

* OffileEvents working

* EB working

* RemoteDeviceStatus

* fix build

* cleanup
2022-11-08 09:23:46 +01:00
dependabot[bot]
16ada310f0
chore(deps): bump rxandroidble from 1.16.0 to 1.17.0
Bumps [rxandroidble](https://github.com/dariuszseweryn/RxAndroidBle) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/dariuszseweryn/RxAndroidBle/releases)
- [Changelog](https://github.com/dariuszseweryn/RxAndroidBle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dariuszseweryn/RxAndroidBle/commits)

---
updated-dependencies:
- dependency-name: com.polidea.rxandroidble3:rxandroidble
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 08:03:14 +00:00
Milos Kozak
7ae9ad1105 EOPatch2: log insulin change on activation 2022-11-07 09:52:16 +01:00
Milos Kozak
8641273d7c move to interfaces 2022-11-06 23:58:05 +01:00
Milos Kozak
430a2656d0 move interfaces 2022-11-06 23:10:04 +01:00
Milos Kozak
39ec5be45b move interfaces 2022-11-06 21:35:34 +01:00
Milos Kozak
e17ca2be0a PumpEnactResultImpl 2022-11-06 20:55:48 +01:00
Milos Kozak
b30fb687db move interfaces 2022-11-06 18:21:10 +01:00
Milos Kozak
6b298a0344 interfaces module 2022-11-06 17:48:42 +01:00
Carlos Rafael Giani
c535e96ec7 combov2: Reset states associated with pump when unpairing
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 16:30:34 +01:00
Carlos Rafael Giani
cdfb197c54 combov2: Minor cleanup to reduce some code smell
* Kotlin code convention specifies that ignored exceptions must be named
  "_", not "ignored."
* Add explanation about empty overridden method implementations.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 16:30:06 +01:00
Carlos Rafael Giani
8fda1ab0b8 combov2: More adjustments to pairing activity text
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 14:40:08 +01:00
Carlos Rafael Giani
c996c39b54 combov2: Add note about pairing confirmation to pairing activity text
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 13:50:08 +01:00
Carlos Rafael Giani
c447df3599 combov2: Restrict contents of "status" label in JSON pump status
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 13:48:02 +01:00
Milos Kozak
4643b12414 Rx module 2022-11-06 12:28:35 +01:00
Carlos Rafael Giani
01560f45be comboctl-main: Fix missing entry #1 in TDD history
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-11-06 00:13:43 +01:00