Commit graph

14631 commits

Author SHA1 Message Date
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 cca40b9606 move to interfaces 2022-11-10 15:26:28 +01:00
Milos Kozak 0442a9ae5b LocalInsulin -> autotune 2022-11-10 14:58:53 +01:00
Milos Kozak d0a240b417 IobTotal -> interfaces 2022-11-10 14:54:51 +01:00
Milos Kozak 28d6a73c2f
Merge pull request #2191 from nightscout/dependabot/gradle/dev/com.google.android.gms-play-services-location-21.0.1
chore(deps): bump play-services-location from 20.0.0 to 21.0.1
2022-11-10 14:23:41 +01:00
Milos Kozak 2c13641f66 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-11-10 14:23:21 +01:00
Milos Kozak 821fe884da update rootbeer lib 2022-11-10 14:23:13 +01:00
dependabot[bot] 96a99fc0db
chore(deps): bump play-services-location from 20.0.0 to 21.0.1
Bumps play-services-location from 20.0.0 to 21.0.1.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-location
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 13:05:37 +00:00
Milos Kozak 507f3e72b1
Merge pull request #2181 from nightscout/dependabot/gradle/dev/okhttp3_version-4.10.0
chore(deps): bump okhttp3_version from 4.9.0 to 4.10.0
2022-11-10 14:05:29 +01:00
Milos Kozak 054815ec4c
Merge pull request #2185 from nightscout/dependabot/gradle/dev/nav_version-2.5.3
chore(deps): bump nav_version from 2.4.2 to 2.5.3
2022-11-10 14:04:32 +01:00
Milos Kozak 29f2af0f38
Merge pull request #2187 from nightscout/dependabot/gradle/dev/com.google.crypto.tink-tink-android-1.7.0
chore(deps): bump tink-android from 1.5.0 to 1.7.0
2022-11-10 14:04:12 +01:00
Milos Kozak 224a6418e8
Merge pull request #2190 from nightscout/dependabot/gradle/dev/androidx.fragment-fragment-ktx-1.5.4
chore(deps): bump fragment-ktx from 1.4.1 to 1.5.4
2022-11-10 14:03:48 +01:00
Milos Kozak 85f85e388f move to interfaces 2022-11-10 14:01:14 +01:00
dependabot[bot] 29ecb14449
chore(deps): bump fragment-ktx from 1.4.1 to 1.5.4
Bumps fragment-ktx from 1.4.1 to 1.5.4.

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 11:17:43 +00:00
dependabot[bot] ed973aaefb
chore(deps): bump tink-android from 1.5.0 to 1.7.0
Bumps [tink-android](https://github.com/google/tink) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/google/tink/releases)
- [Commits](https://github.com/google/tink/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: com.google.crypto.tink:tink-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 11:17:13 +00:00
dependabot[bot] 6161a0e5a2
chore(deps): bump okhttp3_version from 4.9.0 to 4.10.0
Bumps `okhttp3_version` from 4.9.0 to 4.10.0.

Updates `okhttp` from 4.9.0 to 4.10.0
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.0...parent-4.10.0)

Updates `logging-interceptor` from 4.9.0 to 4.10.0
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.0...parent-4.10.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:logging-interceptor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 11:16:39 +00:00
dependabot[bot] a57907a236
chore(deps): bump nav_version from 2.4.2 to 2.5.3
Bumps `nav_version` from 2.4.2 to 2.5.3.

Updates `navigation-fragment-ktx` from 2.4.2 to 2.5.3

Updates `navigation-runtime-ktx` from 2.4.2 to 2.5.3

Updates `navigation-ui-ktx` from 2.4.2 to 2.5.3

---
updated-dependencies:
- dependency-name: androidx.navigation:navigation-fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.navigation:navigation-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.navigation:navigation-ui-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 11:16:10 +00:00
Milos Kozak 6f13bef91e
Merge pull request #2188 from nightscout/dependabot/gradle/dev/io.reactivex.rxjava3-rxandroid-3.0.2
chore(deps): bump rxandroid from 3.0.1 to 3.0.2
2022-11-10 12:14:34 +01:00
Milos Kozak 87dd9117be
Merge pull request #2186 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-31.0.2
chore(deps): bump firebase-bom from 30.5.0 to 31.0.2
2022-11-10 12:10:25 +01:00
Milos Kozak ea8ab70b8a
Merge pull request #2192 from nightscout/dependabot/gradle/dev/com.google.android.material-material-1.7.0
chore(deps): bump material from 1.6.1 to 1.7.0
2022-11-10 12:09:44 +01:00
dependabot[bot] 61b0dba465
chore(deps): bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 10:33:43 +00: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
dependabot[bot] 5f0701d7ba
chore(deps): bump rxandroid from 3.0.1 to 3.0.2
Bumps [rxandroid](https://github.com/ReactiveX/RxAndroid) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/ReactiveX/RxAndroid/releases)
- [Changelog](https://github.com/ReactiveX/RxAndroid/blob/3.x/CHANGES.md)
- [Commits](https://github.com/ReactiveX/RxAndroid/compare/3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxandroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:01:51 +00:00
dependabot[bot] 6d2c0ed5aa
chore(deps): bump firebase-bom from 30.5.0 to 31.0.2
Bumps firebase-bom from 30.5.0 to 31.0.2.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-bom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:01:39 +00:00
Milos Kozak 0694cf65fc
Merge pull request #2180 from nightscout/dependabot/gradle/dev/org.jetbrains.kotlin.android-1.7.21
chore(deps): bump org.jetbrains.kotlin.android from 1.7.20 to 1.7.21
2022-11-10 08:54:11 +01:00
Milos Kozak 71dbbd888f
Merge pull request #2182 from nightscout/dependabot/gradle/dev/kotlin_version-1.7.21
chore(deps): bump kotlin_version from 1.7.20 to 1.7.21
2022-11-10 08:53:42 +01:00
Milos Kozak 6a473ff5cd
Merge pull request #2183 from nightscout/dependabot/gradle/dev/io.reactivex.rxjava3-rxandroid-3.0.1
chore(deps): bump rxandroid from 3.0.0 to 3.0.1
2022-11-10 08:52:54 +01:00
dependabot[bot] e49feeb736
chore(deps): bump kotlin_version from 1.7.20 to 1.7.21
Bumps `kotlin_version` from 1.7.20 to 1.7.21.

Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21)

Updates `kotlin-allopen` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21)

Updates `kotlin-serialization` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21)

Updates `kotlin-stdlib-jdk8` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21)

Updates `kotlin-reflect` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-allopen
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-serialization
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 22:30:12 +00: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 2206a516d0 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-11-09 15:57:38 +01:00
Milos Kozak 1041de39c8 core-fabric module 2022-11-09 15:56:59 +01:00
Milos Kozak 62cdbdc41a Update Crowdin configuration file 2022-11-09 14:48:08 +01:00
dependabot[bot] be4dbc6552
chore(deps): bump rxandroid from 3.0.0 to 3.0.1
Bumps [rxandroid](https://github.com/ReactiveX/RxAndroid) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/ReactiveX/RxAndroid/releases)
- [Changelog](https://github.com/ReactiveX/RxAndroid/blob/3.x/CHANGES.md)
- [Commits](https://github.com/ReactiveX/RxAndroid/compare/3.0.0...3.0.1)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxandroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 12:31:58 +00: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 1c95cb107d WeekDayPicker -> automations 2022-11-09 10:48:59 +01:00
dependabot[bot] 14816fca50
chore(deps): bump org.jetbrains.kotlin.android from 1.7.20 to 1.7.21
Bumps org.jetbrains.kotlin.android from 1.7.20 to 1.7.21.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 08:01:33 +00: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 7e7399757a
Merge pull request #2169 from yodax/nsclient_autosens
Show correct icon when AutoSens data is available under AAPSClient
2022-11-08 09:27:56 +01:00
Milos Kozak 7747834a36
Merge pull request #2173 from tim2000s/dynisf_pred_curves
Dynisf pred curves
2022-11-08 09:27:14 +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