Commit graph

15374 commits

Author SHA1 Message Date
jbr7rr 3f88e05898 Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-07-16 11:08:21 +02:00
jbr7rr c0819cda06 get correct serial number in password reset 2023-07-16 10:59:34 +02:00
Milos Kozak e9971b5ec9 ExistingPeriodicWorkPolicy.UPDATE 2023-07-15 13:20:55 +02:00
Milos Kozak 36f15102fe Combov2: fix string 2023-07-15 11:37:23 +02:00
Milos Kozak fc1a471412 lints, cleanup 2023-07-15 11:21:29 +02:00
Milos Kozak e3207405e8 guava_version 2023-07-15 11:17:56 +02:00
Milos Kozak 3c455577f3
Merge pull request #2606 from buessow/dev2
Add an automation heart rate trigger.
2023-07-15 10:52:19 +02:00
Milos Kozak 6e24492f13
Merge pull request #2622 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-32.2.0
chore(deps): bump com.google.firebase:firebase-bom from 32.1.1 to 32.2.0
2023-07-15 10:45:43 +02:00
Milos Kozak 9fe59f737e
Merge pull request #2620 from nightscout/dependabot/gradle/dev/dagger_version-2.47
chore(deps): bump dagger_version from 2.46.1 to 2.47
2023-07-15 10:45:22 +02:00
Milos Kozak 0a790f9c75
Merge pull request #2621 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-crashlytics-gradle-2.9.7
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle from 2.9.6 to 2.9.7
2023-07-15 10:45:02 +02:00
dependabot[bot] c2f3ee5cec
chore(deps): bump com.google.firebase:firebase-bom from 32.1.1 to 32.2.0
Bumps com.google.firebase:firebase-bom from 32.1.1 to 32.2.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-07-14 08:26:29 +00:00
dependabot[bot] 73e0f6d08e
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle
Bumps com.google.firebase:firebase-crashlytics-gradle from 2.9.6 to 2.9.7.

---
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-07-14 08:26:16 +00:00
dependabot[bot] 6a62f9ccfd
chore(deps): bump dagger_version from 2.46.1 to 2.47
Bumps `dagger_version` from 2.46.1 to 2.47.

Updates `com.google.dagger:dagger-android-processor` from 2.46.1 to 2.47
- [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.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-compiler` from 2.46.1 to 2.47
- [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.46.1...dagger-2.47)

Updates `com.google.dagger:dagger` from 2.46.1 to 2.47
- [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.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-android` from 2.46.1 to 2.47
- [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.46.1...dagger-2.47)

Updates `com.google.dagger:dagger-android-support` from 2.46.1 to 2.47
- [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.46.1...dagger-2.47)

---
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-07-14 08:25:24 +00:00
jbr7rr f66afc8c02 Confirmation dialog for activation/deactivation cancel 2023-07-13 09:35:40 +02:00
jbr7rr d93cc51819 Overview model: RequireActivity instead of fragment 2023-07-13 08:30:28 +02:00
jbr7rr f24c872415 Set expiry to 72 hours 2023-07-11 15:37:18 +02:00
jbr7rr 2d8288d8d9 Add disconnecting state to make sure we don't get commands during disconnect 2023-07-11 15:32:26 +02:00
jbr7rr a7d7f373de Fix bolus not properly updating for short bolus 2023-07-11 14:54:40 +02:00
Milos Kozak 37df642c50
New Crowdin updates (#2595)
* New translations strings_alarm.xml (Norwegian)

* New translations strings_alarm.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Russian)

* New translations strings.xml (Russian)
2023-07-11 12:05:51 +02:00
Milos Kozak 802c63cbc3
Merge pull request #2604 from nightscout/dependabot/gradle/dev/coroutines_version-1.7.2
chore(deps): bump coroutines_version from 1.7.1 to 1.7.2
2023-07-11 12:05:22 +02:00
Milos Kozak 314bcf585a
Merge pull request #2611 from nightscout/dependabot/gradle/dev/org.jlleitschuh.gradle.ktlint-11.5.0
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.2 to 11.5.0
2023-07-11 12:04:56 +02:00
Milos Kozak 047ed9d3ba
Merge pull request #2614 from miyeongkim/dev
Added changes from 3.53 version above
2023-07-11 12:04:21 +02:00
jbr7rr dda7fa6086 Use correct message for patch start time and patch age 2023-07-10 19:58:34 +02:00
jbr7rr fb62b0d90c Removed unused code 2023-07-10 19:09:14 +02:00
jbr7rr b3a83a720d Only show reset alarms when it's needed 2023-07-09 16:47:23 +02:00
jbr7rr 592a45612c Fix calling syncStopTemporaryBasalWithPumpId() twice 2023-07-09 09:47:58 +02:00
miyeongkim a3577304ba
Merge branch 'nightscout:dev' into dev 2023-07-06 17:48:43 +09:00
miyeongkim 44e878d33b bolus progress changes on pump version 3.52 above.
pump notify progress during bolus
2023-07-06 17:43:56 +09:00
miyeongkim 7e6da9323b tempbasal will be applied without confirm(otp) on pump version 3.52 above 2023-07-05 10:02:33 +09:00
dependabot[bot] 4d4b71c601
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.2 to 11.5.0
Bumps org.jlleitschuh.gradle.ktlint from 11.4.2 to 11.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 08:14:25 +00:00
jbr7rr c941926a7e Workaround for 0 duration TBR end not syncing 2023-07-02 21:00:27 +02:00
jbr7rr 09aa78f1d1 Recovery option when patch activation process is interrupted 2023-07-01 20:46:29 +02:00
jbr7rr af7e38a6db Buttons with Icons in overview 2023-07-01 17:35:43 +02:00
jbr7rr f52726128a Minor fixes;
Allow set of fake TBR when 0 temp is already running,
Automatically force deactivation when patch is in error state
2023-07-01 12:28:01 +02:00
robertbuessow b9efaaf073 Add an automation heart rate trigger. 2023-06-30 11:33:33 +02:00
dependabot[bot] e11d7798da
chore(deps): bump coroutines_version from 1.7.1 to 1.7.2
Bumps `coroutines_version` from 1.7.1 to 1.7.2.

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

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

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

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

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

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

---
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-06-30 08:43:41 +00:00
jbr7rr 93dee4eb3c Only update time when diff 2023-06-27 20:19:49 +02:00
jbr7rr 345ae0f9b2 Early return on setBolus failure 2023-06-27 13:27:21 +02:00
jbr7rr 94e6189ab3 Add sendMessage retry counter, cleanup old comments 2023-06-27 12:56:54 +02:00
jbr7rr ef2cc13dd8 Fix unit tests, small improvements 2023-06-26 20:44:14 +02:00
jbr7rr 19b9ca1da4 Automatic timeZone and DST handling 2023-06-25 21:52:01 +02:00
jbr7rr 201fb5768a Cleanup 2023-06-25 12:29:49 +02:00
jbr7rr ac8b5b4a05 Confirmation dialog before activation 2023-06-25 10:51:12 +02:00
jbr7rr 895cf54a17 Implemented proper activation and deactivation screens 2023-06-25 10:21:47 +02:00
Milos Kozak 38cbaba621
Merge pull request #2601 from nightscout/dependabot/gradle/dev/org.jlleitschuh.gradle.ktlint-11.4.2
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.1 to 11.4.2
2023-06-23 11:51:29 +02:00
jbr7rr 3ffb78a7e8 Fix ANR, optimize write delay 2023-06-23 11:42:45 +02:00
dependabot[bot] 1013e449b0
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.1 to 11.4.2
Bumps org.jlleitschuh.gradle.ktlint from 11.4.1 to 11.4.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-06-23 08:57:34 +00:00
jbr7rr e9964604a1 Sync bolus initially when bolus command is accepted by pump 2023-06-22 18:55:58 +02:00
jbr7rr 17aecd912a Remove SynchronizePacket from some operations to improve stability 2023-06-22 16:02:19 +02:00
Milos Kozak 99b913b0c7
Merge pull request #2596 from nightscout/dependabot/gradle/dev/org.jlleitschuh.gradle.ktlint-11.4.1
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.0 to 11.4.1
2023-06-22 13:30:07 +02:00