Commit graph

14918 commits

Author SHA1 Message Date
Milos Kozak
3bc62e9a01 NSCv3: process ProfileStore 2023-01-08 10:52:28 +01:00
Milos Kozak
9412f88672 Fix progressBar 2023-01-07 23:35:24 +01:00
Milos Kozak
82fb85c9e0 NSC: fix cutting records on ns sync 2023-01-06 15:23:29 +01:00
Milos Kozak
c1c46939ba NSCv3: log upload 2023-01-05 20:51:44 +01:00
Milos Kozak
c25c9cedbf NSCv3: improve scheduling 2023-01-05 20:30:40 +01:00
Milos Kozak
86b8d763e6 NSC: fix ui status 2023-01-05 15:55:53 +01:00
Milos Kozak
0243c56b65 QuickWizard -> ui module 2023-01-05 12:39:49 +01:00
Milos Kozak
83984c8162 NSC: fix devicestatus sync 2023-01-05 07:48:57 +01:00
Milos Kozak
0fcb9cb4d2 EOPATCH2: jsonStatus 2023-01-04 21:22:33 +01:00
Milos Kozak
0873df5f56 NSClientV3PluginTest #2 2023-01-04 17:01:00 +01:00
Milos Kozak
eb1fff54f1 NSClientV3PluginTest 2023-01-04 15:41:04 +01:00
Milos Kozak
d190b53713 NSCv3: process DeviceStatus 2023-01-04 11:51:58 +01:00
Milos Kozak
854acc2992 NSCv3: utcOffset, improve handling 2023-01-03 23:10:04 +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
757544e2b2
Merge pull request #2320 from mushroom-dev/mushroom/trim_sms
Trim leading and trailing whitespaces in incoming SMS messages
2023-01-03 12:24:32 +01:00
Milos Kozak
ba3853aecf
Merge pull request #2321 from Philoul/Fix/typo
Typo
2023-01-03 12:23:23 +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
Carlos Rafael Giani
916b847b21 comboctl-base: Add support for creating extended/multiwave bolus packets
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani
22a144416b comboctl-main: Parse ext bolus main screen instead of throwing exception
To support extended and multiwave boluses in the future, it is necessary
to properly parse the main screen when it shows extended/multiwave
content. This requires some rework. Most notably, the code needs to be
changed to no longer throw ExtendedOrMultiwaveBolusActiveException.

One problem with extended/multiwave content on the main screen is that
it does not show TBR details (percentage & remaining duration). For this
reason, it is necessary to actually navigate to the TBR percentage screen
and read those value there. This means that the setTbr() call is slower
when an extended/multiwave bolus is ongoing, but better to be slower than
to omit post-setTbr checks that may catch rare errors.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani
7f6f63bcf4 comboctl-main: Always move past skipped screens in navigateToRTScreen()
Without this, navigation gets stuck if an unrecognized screen
is encountered.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani
9af5499d70 comboctl-base: Rename CMDBolusType to CMDImmediateBolusType
This name is less confusing, especially if another enum class for the
bolus delivery is about to be introduced.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani
7598ae758c comboctl-parser: Fix battery in ExtendedAndMultiwaveBolusMainScreenParser
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:26 +01:00
Carlos Rafael Giani
8d9e5cc833 comboctl: Apply ktlint based fixes
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:22 +01:00
Carlos Rafael Giani
19871d8f52 combov2: Disable pairing UI and show message when driver is not initialized
Without this check, AAPS crashes, because the code tries to access the
pairing flow, which depends on the pump manager. But that manager does
not exist until the user grants Bluetooth permissions.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-02 19:21:15 +01:00
Milos Kozak
ddba45622c DataSyncWorkerTest 2023-01-02 14:48:31 +01:00
mushroom-dev
a7485385ef Trim leading and trailing whitespaces in incoming SMS messages 2023-01-02 11:01:02 +01:00
Philoul
fba1038f41 Typo 2023-01-02 09:48:55 +01:00
Milos Kozak
ff1d3f1237 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-01-01 17:18:23 +01:00
Milos Kozak
823c26aa64 NSCv3: process GlucoseValue 2023-01-01 17:18:09 +01:00
Milos Kozak
4084d9faa2
Merge pull request #2316 from Philoul/Fix/WikiLinks
Fix Wiki links for Crowdin
2023-01-01 17:03:42 +01:00
Philoul
cba0f55254 Fix wiki links for crowdin
I also replaced `Getting-Started/Screenshots.html#config-builder` by `Configuration/Config-Builder.html`
2022-12-30 22:26:41 +01:00
Milos Kozak
7b8e5ece99
Merge pull request #2314 from Andries-Smit/wear/fixup-simple-ui-outdated
Wear fixup simple UI outdated
2022-12-30 19:07:04 +01:00
Andries Smit
819d0a5ae5 wear: fixup simple ui outdated logic 2022-12-29 23:25:30 +01:00
Milos Kozak
cc605efc93
New Crowdin updates (#2313)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (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 (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 (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

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

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations exam.xml (Romanian)

* New translations objectives.xml (Romanian)

* New translations exam.xml (French)

* New translations objectives.xml (French)

* New translations exam.xml (Spanish)

* New translations objectives.xml (Spanish)

* New translations exam.xml (Afrikaans)

* New translations objectives.xml (Afrikaans)

* New translations exam.xml (Bulgarian)

* New translations objectives.xml (Bulgarian)

* New translations exam.xml (Catalan)

* New translations objectives.xml (Catalan)

* New translations exam.xml (Czech)

* New translations objectives.xml (Czech)

* New translations exam.xml (Danish)

* New translations objectives.xml (Danish)

* New translations exam.xml (German)

* New translations objectives.xml (German)

* New translations exam.xml (Greek)

* New translations objectives.xml (Greek)

* New translations exam.xml (Hebrew)

* New translations objectives.xml (Hebrew)

* New translations exam.xml (Italian)

* New translations objectives.xml (Italian)

* New translations exam.xml (Korean)

* New translations objectives.xml (Korean)

* New translations exam.xml (Lithuanian)

* New translations objectives.xml (Lithuanian)

* New translations exam.xml (Dutch)

* New translations objectives.xml (Dutch)

* New translations exam.xml (Norwegian)

* New translations objectives.xml (Norwegian)

* New translations exam.xml (Polish)

* New translations objectives.xml (Polish)

* New translations exam.xml (Portuguese)

* New translations objectives.xml (Portuguese)

* New translations exam.xml (Russian)

* New translations objectives.xml (Russian)

* New translations exam.xml (Slovak)

* New translations objectives.xml (Slovak)

* New translations exam.xml (Swedish)

* New translations objectives.xml (Swedish)

* New translations exam.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations exam.xml (Chinese Simplified)

* New translations objectives.xml (Chinese Simplified)

* New translations exam.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations exam.xml (Croatian)

* New translations objectives.xml (French)
2022-12-29 22:36:09 +01:00
Milos Kozak
228b2ddaca NSCv3: process ExtendedBolus 2022-12-29 21:33:37 +01:00
Milos Kozak
a2522eed9d UI: show always bucketed data 2022-12-29 18:51:36 +01:00
Milos Kozak
3df237f8e4 NSCv3: process OfflineEvent 2022-12-29 18:46:25 +01:00
Milos Kozak
04689da0e6 typo 2022-12-29 17:29:26 +01:00
Milos Kozak
570c0303f3 typo 2022-12-29 17:24:08 +01:00
Milos Kozak
ff35fe839a typo 2022-12-29 17:20:56 +01:00
Milos Kozak
30840a82b8 typo 2022-12-29 17:18:29 +01:00
Milos Kozak
582c28ef76
Merge pull request #2312 from nightscout/dependabot/gradle/dev/kotlin_version-1.8.0
chore(deps): bump kotlin_version from 1.7.22 to 1.8.0
2022-12-29 09:48:50 +01:00
Milos Kozak
b9486f6b86
Merge pull request #2308 from Andries-Smit/wear/extract-simple-ui
Wear extract simple UI
2022-12-29 09:31:31 +01:00