Commit graph

15257 commits

Author SHA1 Message Date
jbr7rr 4a1eded8e5 Added extra checks and logging 2023-06-01 08:54:40 +02:00
jbr7rr aadf40b6fb Fix time in getHourlyBasalFromMedtrumProfileArray() 2023-05-30 13:05:32 +02:00
jbr7rr cd65639abb Only update basal from Notification when it has changed 2023-05-29 20:05:21 +02:00
jbr7rr 3c8faa6723 Use timeout in connect states, other minor changes 2023-05-29 14:40:08 +02:00
jbr7rr 37a6a4f271 Update unit tests, cleanup 2023-05-28 19:50:00 +02:00
jbr7rr d8427c6d56 Rescan when connection is lost during connecting 2023-05-28 10:27:13 +02:00
jbr7rr 5a6d5b41d4 Added some stuff to the overview 2023-05-25 20:14:51 +02:00
jbr7rr 404365aed2 Merge remote-tracking branch 'nightscout/dev' into medtrum-activate-patch2 2023-05-25 15:48:13 +02:00
jbr7rr c2e1017d73 Moved sequence counter to BLEComm 2023-05-25 14:53:53 +02:00
jbr7rr 3027c2ffa5 Initial bolus implementation, further connection improvements 2023-05-25 13:32:24 +02:00
jbr7rr a9ebdcfe68 Connection improvements, TBR sync improved 2023-05-23 10:20:22 +02:00
jbr7rr 0d8f07ad0a Initial TBR implementation and pumpSync for basals etc 2023-05-20 20:40:55 +02:00
Milos Kozak 7faa34aa50 fix activities translation 2023-05-17 18:36:01 +02:00
Milos Kozak 111093f7cd SW: accept MGDL values correctly 2023-05-17 17:26:39 +02:00
Milos Kozak 0a63a59bb6
Merge pull request #2542 from nightscout/dependabot/gradle/dev/coroutines_version-1.7.1
chore(deps): bump coroutines_version from 1.7.0 to 1.7.1
2023-05-16 09:57:59 +02:00
dependabot[bot] 6d4e02f9eb
chore(deps): bump coroutines_version from 1.7.0 to 1.7.1
Bumps `coroutines_version` from 1.7.0 to 1.7.1.

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-guava` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-play-services` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-rx3` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.7.0 to 1.7.1
- [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.7.0...1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 07:19:16 +00:00
Milos Kozak 6f46564100
Merge pull request #2541 from nightscout/dependabot/gradle/dev/dagger_version-2.46.1
chore(deps): bump dagger_version from 2.45 to 2.46.1
2023-05-16 09:18:24 +02:00
dependabot[bot] b8708aa383
chore(deps): bump dagger_version from 2.45 to 2.46.1
Bumps `dagger_version` from 2.45 to 2.46.1.

Updates `com.google.dagger:dagger-android-processor` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-compiler` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-android` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

Updates `com.google.dagger:dagger-android-support` from 2.45 to 2.46.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.45...dagger-2.46.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 14:06:44 +00:00
Milos Kozak 12c79bcf56 fix tests 2023-05-15 11:29:33 +02:00
Milos Kozak 6f22c5122f actions: do not show labels in low-res landscape mode 2023-05-15 11:13:36 +02:00
Milos Kozak c86edb94fd improve statuslights layout 2023-05-14 12:50:34 +02:00
Milos Kozak fba804b2cb EOPATCH: disable screen rotation during activation 2023-05-14 10:04:07 +02:00
Milos Kozak 0dad5ca499 profile: fix redundant EPS 2023-05-14 09:57:48 +02:00
Milos Kozak 01bb554651 fix overlapping profile switches of the same value, fix storing profiles from NS 2023-05-13 23:18:06 +02:00
Milos Kozak 016cf9dada lint 2023-05-13 19:36:09 +02:00
Milos Kozak 129869b720 3.2.0-dev-j 2023-05-13 19:12:11 +02:00
Milos Kozak c96e0d596f
Merge pull request #2537 from nightscout/dependabot/gradle/dev/kotlinx_serialization_version-1.5.1
chore(deps): bump kotlinx_serialization_version from 1.5.0 to 1.5.1
2023-05-13 18:51:06 +02:00
dependabot[bot] 19f4e0000c
chore(deps): bump kotlinx_serialization_version from 1.5.0 to 1.5.1
Bumps `kotlinx_serialization_version` from 1.5.0 to 1.5.1.

Updates `org.jetbrains.kotlinx:kotlinx-serialization-json` from 1.5.0 to 1.5.1
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.5.0...v1.5.1)

Updates `org.jetbrains.kotlinx:kotlinx-serialization-core` from 1.5.0 to 1.5.1
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 08:57:35 +00:00
Milos Kozak ea19edaba9
Merge pull request #2535 from nightscout/dependabot/gradle/dev/androidx.core-core-ktx-1.10.1
chore(deps): bump androidx.core:core-ktx from 1.10.0 to 1.10.1
2023-05-12 07:49:54 +02:00
Milos Kozak e91a74b430
Merge pull request #2536 from LoriLori/use_MenuCompat_setGroupDividerEnabled
use MenuCompat for setGroupDividerEnabled
2023-05-12 07:49:38 +02:00
Lorelai L 04f82332a7 use MenuCompat 2023-05-11 23:46:34 +02:00
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