Commit graph

15044 commits

Author SHA1 Message Date
Milos Kozak
6bc992695a Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-01-12 11:22:43 +01:00
Milos Kozak
75170b7dc6
Update links in Readme 2023-01-12 11:15:44 +01:00
Milos Kozak
4ac5305f7a enable NSClient v3 for public testing 2023-01-12 10:59:50 +01:00
Milos Kozak
86edb3dfae cache last DataStore object for bolus wizard 2023-01-12 10:44:01 +01:00
dependabot[bot]
16afabba04
chore(deps): bump room_version from 2.4.3 to 2.5.0
Bumps `room_version` from 2.4.3 to 2.5.0.

Updates `room-compiler` from 2.4.3 to 2.5.0

Updates `room-ktx` from 2.4.3 to 2.5.0

Updates `room-runtime` from 2.4.3 to 2.5.0

Updates `room-rxjava3` from 2.4.3 to 2.5.0

Updates `room-testing` from 2.4.3 to 2.5.0

---
updated-dependencies:
- dependency-name: androidx.room:room-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-rxjava3
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.room:room-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 08:02:00 +00:00
Milos Kozak
c802e7e4a2 lints 2023-01-12 08:55:34 +01:00
Milos Kozak
57f68d841e
Merge pull request #2337 from nightscout/dependabot/gradle/dev/org.junit.jupiter-junit-jupiter-engine-5.9.2
chore(deps): bump junit-jupiter-engine from 5.9.1 to 5.9.2
2023-01-11 09:45:37 +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
dependabot[bot]
63bc691577
chore(deps): bump junit-jupiter-engine from 5.9.1 to 5.9.2
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.9.1 to 5.9.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 08:03:41 +00:00
Milos Kozak
f32709eaa6 Do not show zero voltage 2023-01-10 18:43:27 +01:00
Milos Kozak
2252858e65 NSCv3: tests 2023-01-10 18:25:53 +01:00
Milos Kozak
9b8632239c fix tests 2023-01-10 13:11:28 +01:00
Milos Kozak
5306e62f91 Use coroutines for Workers 2023-01-10 12:15:04 +01:00
Milos Kozak
b726f149b4 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-01-10 09:26:36 +01:00
Milos Kozak
adbe4e880a NSCv3: react to 304 response 2023-01-09 23:27:46 +01:00
Milos Kozak
7682cbb0a2
Merge pull request #2332 from nightscout/dependabot/gradle/dev/com.google.code.gson-gson-2.10.1
chore(deps): bump gson from 2.10 to 2.10.1
2023-01-09 10:11:58 +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
dependabot[bot]
87961fca30
chore(deps): bump gson from 2.10 to 2.10.1
Bumps [gson](https://github.com/google/gson) from 2.10 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 08:03:38 +00:00
Milos Kozak
65f0d17105 formating 2023-01-08 23:55:27 +01:00
Milos Kozak
70b61f3f5a fix text 2023-01-08 22:52:31 +01:00
Milos Kozak
9fa5017b15 NSCv3: NSDeviceStatus 2023-01-08 22:18:35 +01:00
Milos Kozak
4b6eab6aa4 Fix loading bucketed data 2023-01-08 17:18:23 +01:00
Milos Kozak
86be6719e0 fix hint link 2023-01-08 12:17:33 +01:00
Milos Kozak
971bf87cac TimeListEdit -> kt 2023-01-08 12:11:13 +01:00
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