Commit graph

15209 commits

Author SHA1 Message Date
dependabot[bot] a574d06d61
chore(deps): bump androidx.core:core-ktx from 1.10.0 to 1.10.1
Bumps androidx.core:core-ktx from 1.10.0 to 1.10.1.

---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:57:50 +00:00
Milos Kozak c29782e0f4
Merge pull request #2506 from buessow/dev
Add local storage of heart rate values.
2023-05-10 09:55:16 +02:00
Milos Kozak e22a4f681e
Merge pull request #2533 from nightscout/dependabot/gradle/dev/coroutines_version-1.7.0
chore(deps): bump coroutines_version from 1.6.4 to 1.7.0
2023-05-10 08:57:47 +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 7d307b267c catch android.os.DeadSystemException 2023-05-09 11:56:39 +02:00
dependabot[bot] d0f6c09d4a
chore(deps): bump coroutines_version from 1.6.4 to 1.7.0
Bumps `coroutines_version` from 1.6.4 to 1.7.0.

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-guava` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-play-services` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-rx3` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.6.4 to 1.7.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-play-services
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-rx3
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 08:57:59 +00: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
Milos Kozak ce6838fa52
Merge pull request #2532 from nightscout/dependabot/gradle/dev/com.google.android.material-material-1.9.0
chore(deps): bump com.google.android.material:material from 1.8.0 to 1.9.0
2023-05-07 20:00:19 +02:00
dependabot[bot] 0218638425
chore(deps): bump com.google.android.material:material
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.8.0...1.9.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>
2023-05-05 08:57:41 +00:00
jbr7rr b367bdbee8 Dash: Workaround for long 0temp 2023-05-05 08:25:11 +02:00
Milos Kozak 288ae70503
Merge pull request #2527 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-32.0.0
chore(deps): bump com.google.firebase:firebase-bom from 31.5.0 to 32.0.0
2023-05-02 11:52:29 +02:00
dependabot[bot] b5e3891301
chore(deps): bump com.google.firebase:firebase-bom from 31.5.0 to 32.0.0
Bumps com.google.firebase:firebase-bom from 31.5.0 to 32.0.0.

---
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>
2023-05-02 08:57:25 +00:00
Milos Kozak 3e28f19528
Merge pull request #2521 from nightscout/dependabot/gradle/dev/org.jlleitschuh.gradle.ktlint-11.3.2
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.3.1 to 11.3.2
2023-04-27 09:31:35 +02:00
Milos Kozak bf4288903f
Merge pull request #2522 from nightscout/dependabot/gradle/dev/org.junit.jupiter-junit-jupiter-engine-5.9.3
chore(deps): bump org.junit.jupiter:junit-jupiter-engine from 5.9.2 to 5.9.3
2023-04-27 09:31:20 +02:00
dependabot[bot] cc42192f94
chore(deps): bump org.junit.jupiter:junit-jupiter-engine
Bumps [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3)

---
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-04-26 08:57:15 +00:00
dependabot[bot] 727fa3cbd9
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.3.1 to 11.3.2
Bumps org.jlleitschuh.gradle.ktlint from 11.3.1 to 11.3.2.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 08:57:06 +00:00
Milos Kozak 4c28de0b64 NSCv3: fix case when NS is donw 2023-04-25 23:23:08 +02:00
Milos Kozak c28c56d778 kotlin 1.8.21 2023-04-25 16:22:42 +02:00
Milos Kozak b2fce356c2
Merge pull request #2519 from nightscout/dependabot/gradle/dev/okhttp3_version-4.11.0
chore(deps): bump okhttp3_version from 4.10.0 to 4.11.0
2023-04-25 11:21:30 +02:00
dependabot[bot] 842fd1eab0
chore(deps): bump okhttp3_version from 4.10.0 to 4.11.0
Bumps `okhttp3_version` from 4.10.0 to 4.11.0.

Updates `com.squareup.okhttp3:okhttp` from 4.10.0 to 4.11.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.10.0...parent-4.11.0)

Updates `com.squareup.okhttp3:logging-interceptor` from 4.10.0 to 4.11.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.10.0...parent-4.11.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>
2023-04-24 08:57:57 +00:00
Milos Kozak 6cfd5b0c16
Merge pull request #2516 from nightscout/dependabot/gradle/dev/com.google.crypto.tink-tink-android-1.9.0
chore(deps): bump com.google.crypto.tink:tink-android from 1.8.0 to 1.9.0
2023-04-22 10:58:27 +02:00
Milos Kozak 9c902fb141
Merge pull request #2514 from jbr7rr/dash-improve-disconnect-handling
Dash connecting improvements
2023-04-22 10:58:08 +02:00
dependabot[bot] ee0d465a99
chore(deps): bump com.google.crypto.tink:tink-android
Bumps [com.google.crypto.tink:tink-android](https://github.com/tink-crypto/tink-java) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/tink-crypto/tink-java/releases)
- [Commits](https://github.com/tink-crypto/tink-java/compare/v1.8.0...v1.9.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>
2023-04-21 08:57:26 +00:00
Milos Kozak 242ddb2fe2
Merge pull request #2510 from nightscout/dependabot/gradle/dev/androidx.fragment-fragment-ktx-1.5.7
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7
2023-04-20 22:49:24 +02:00
dependabot[bot] 0c93bd45cd
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7
Bumps androidx.fragment:fragment-ktx from 1.5.6 to 1.5.7.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 19:41:11 +00:00
Milos Kozak 7093bcc99d
Merge pull request #2511 from nightscout/dependabot/gradle/dev/androidx.activity-activity-ktx-1.7.1
chore(deps): bump androidx.activity:activity-ktx from 1.7.0 to 1.7.1
2023-04-20 21:40:28 +02:00
jbr7rr ccd4d0d550 Stop waitForConnection when disconnected during connecting 2023-04-20 14:52:07 +02:00
dependabot[bot] d2961ccbbe
chore(deps): bump androidx.activity:activity-ktx from 1.7.0 to 1.7.1
Bumps androidx.activity:activity-ktx from 1.7.0 to 1.7.1.

---
updated-dependencies:
- dependency-name: androidx.activity:activity-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 08:57:41 +00:00
Milos Kozak 640d1d1626
Update codecov version 2023-04-20 10:30:42 +02:00
Milos Kozak 5e2614f9f6
Merge pull request #2507 from jbr7rr/dash-close-gatt-on-disconnected
Dash close gatt on disconnected, Improving connection times
2023-04-19 10:38:12 +02:00
jbr7rr 59761364ea Close gatt when BLE is disconnected 2023-04-18 08:04:30 +02:00
Robert Buessow 424b20e89e
Merge pull request #1 from buessow/mine/dev
Add local storage of heart rate values.
2023-04-17 22:36:28 +02:00
Robert Buessow 4dd5bf2d03 Add local storage of heart rate values.
- Create HeartRate entity, DAO, and InsertOrUpdateTransaction
- Add DB migration to version 24
- Add support to AppRepository
2023-04-17 22:19:03 +02:00
Milos Kozak f896304af6
Merge pull request #2503 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-31.5.0
chore(deps): bump com.google.firebase:firebase-bom from 31.4.0 to 31.5.0
2023-04-16 12:54:50 +02:00
Milos Kozak 39dd25af07
Merge pull request #2501 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-crashlytics-gradle-2.9.5
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle from 2.9.4 to 2.9.5
2023-04-14 11:47:43 +02:00
dependabot[bot] d522288bae
chore(deps): bump com.google.firebase:firebase-bom from 31.4.0 to 31.5.0
Bumps com.google.firebase:firebase-bom from 31.4.0 to 31.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 08:58:06 +00:00
dependabot[bot] 0ebc90ad49
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle
Bumps com.google.firebase:firebase-crashlytics-gradle from 2.9.4 to 2.9.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 08:57:09 +00:00
Milos Kozak 18f5d9f09c fix path in xml 2023-04-11 16:22:52 +02:00
Milos Kozak 68e80b82cd NSCv3: update status on connection/disconnection 2023-04-11 16:01:52 +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
Milos Kozak 04675332bf
Merge pull request #2492 from asavageiv/alan/fix-typo
Fix typo in objectives_smb_gate
2023-04-06 15:09:54 +02:00
Milos Kozak 8fad62ebe2
Merge pull request #2493 from nightscout/dependabot/gradle/dev/androidx.core-core-ktx-1.10.0
chore(deps): bump androidx.core:core-ktx from 1.9.0 to 1.10.0
2023-04-06 15:06:26 +02:00
dependabot[bot] 144cbe728f
chore(deps): bump androidx.core:core-ktx from 1.9.0 to 1.10.0
Bumps androidx.core:core-ktx from 1.9.0 to 1.10.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 08:58:01 +00:00
Alan Savage 57fdf891d7 Fix typo in objectives_smb_gate 2023-04-05 18:47:40 -07:00
Milos Kozak f8f5b74e46 lib update 2023-04-04 12:14:44 +02:00
Milos Kozak 5b60b8ab90
Merge pull request #2489 from dv1/combov2-fixes-001
combov2: Use dedicated variable for keeping track of suspended state
2023-04-04 08:59:28 +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
Milos Kozak 05c2a42ba4
Merge pull request #2485 from nightscout/dependabot/gradle/dev/net.danlew-android.joda-2.12.5
chore(deps): bump net.danlew:android.joda from 2.12.4 to 2.12.5
2023-03-31 12:44:45 +02:00
dependabot[bot] 7d1704b220
chore(deps): bump net.danlew:android.joda from 2.12.4 to 2.12.5
Bumps [net.danlew:android.joda](https://github.com/dlew/joda-time-android) from 2.12.4 to 2.12.5.
- [Release notes](https://github.com/dlew/joda-time-android/releases)
- [Changelog](https://github.com/dlew/joda-time-android/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dlew/joda-time-android/compare/v2.12.4...v2.12.5)

---
updated-dependencies:
- dependency-name: net.danlew:android.joda
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 08:57:22 +00:00