Commit graph

15450 commits

Author SHA1 Message Date
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
Milos Kozak c8f3085853
Merge pull request #2597 from nightscout/dependabot/gradle/dev/room_version-2.5.2
chore(deps): bump room_version from 2.5.1 to 2.5.2
2023-06-22 13:29:52 +02:00
Milos Kozak a415615e53
Merge pull request #2598 from nightscout/dependabot/gradle/dev/commons-codec-commons-codec-1.16.0
chore(deps): bump commons-codec:commons-codec from 1.15 to 1.16.0
2023-06-22 13:28:59 +02:00
dependabot[bot] eb4e8fee84
chore(deps): bump commons-codec:commons-codec from 1.15 to 1.16.0
Bumps [commons-codec:commons-codec](https://github.com/apache/commons-codec) from 1.15 to 1.16.0.
- [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-codec/compare/rel/commons-codec-1.15...rel/commons-codec-1.16.0)

---
updated-dependencies:
- dependency-name: commons-codec:commons-codec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 08:57:25 +00:00
dependabot[bot] 1256466c73
chore(deps): bump room_version from 2.5.1 to 2.5.2
Bumps `room_version` from 2.5.1 to 2.5.2.

Updates `androidx.room:room-compiler` from 2.5.1 to 2.5.2

Updates `androidx.room:room-ktx` from 2.5.1 to 2.5.2

Updates `androidx.room:room-runtime` from 2.5.1 to 2.5.2

Updates `androidx.room:room-rxjava3` from 2.5.1 to 2.5.2

Updates `androidx.room:room-testing` from 2.5.1 to 2.5.2

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 08:57:16 +00:00
dependabot[bot] 2f72e8cd04
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.4.0 to 11.4.1
Bumps org.jlleitschuh.gradle.ktlint from 11.4.0 to 11.4.1.

---
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-22 08:57:07 +00:00
jbr7rr bc8876b6dd BLEComm: Synchronize read and writes better 2023-06-20 12:00:04 +02:00
jbr7rr 2302711cdf Additional Notifications, handling sync of percentage TBR 2023-06-20 09:30:41 +02:00
jbr7rr 057b2e386e Add alarm states, show active alarms in overview 2023-06-18 20:36:44 +02:00
jbr7rr 996ef8e5ef Implement getJSONStatus() and shortStatus() 2023-06-17 15:29:35 +02:00
jbr7rr 082b365520 Added more info to overview 2023-06-17 08:44:04 +02:00
jbr7rr c0138ffad8 Add lastConnection and expiry to overview 2023-06-16 21:12:33 +02:00
jbr7rr 7b53630947 Add Clear alarms, new overview layout 2023-06-16 21:12:33 +02:00
jbr7rr cbc5a51f2c Merge remote-tracking branch 'nightscout/dev' into medtrum-test1 2023-06-16 21:02:26 +02:00
Milos Kozak a69fbf0635
Merge pull request #2589 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-32.1.1
chore(deps): bump com.google.firebase:firebase-bom from 32.1.0 to 32.1.1
2023-06-16 14:35:07 +02:00
Milos Kozak e3b92fc15e
Merge pull request #2590 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-crashlytics-gradle-2.9.6
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle from 2.9.5 to 2.9.6
2023-06-16 14:34:53 +02:00
dependabot[bot] 512ad161e0
chore(deps): bump com.google.firebase:firebase-crashlytics-gradle
Bumps com.google.firebase:firebase-crashlytics-gradle from 2.9.5 to 2.9.6.

---
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-06-16 08:57:51 +00:00
dependabot[bot] 8e091f3d0a
chore(deps): bump com.google.firebase:firebase-bom from 32.1.0 to 32.1.1
Bumps com.google.firebase:firebase-bom from 32.1.0 to 32.1.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 08:57:14 +00:00
jbr7rr 3a33f46e2f Fix wrong notifications, and error on load 2023-06-15 18:52:55 +02:00
Milos Kozak a108158909 Loop: check for empty queue sooner 2023-06-15 16:34:26 +02:00
Milos Kozak a5774b6e2e EOPATCH: rollback specialEnableCondition change 2023-06-14 18:13:09 +02:00
Milos Kozak e27c510f75
New Crowdin updates (#2571)
* New translations strings.xml (Korean)

* New translations strings_alarm.xml (Romanian)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (Spanish)

* New translations strings_alarm.xml (Afrikaans)

* New translations strings_alarm.xml (Bulgarian)

* New translations strings_alarm.xml (Catalan)

* New translations strings_alarm.xml (Czech)

* New translations strings_alarm.xml (Danish)

* New translations strings_alarm.xml (German)

* New translations strings_alarm.xml (Greek)

* New translations strings_alarm.xml (Irish)

* New translations strings_alarm.xml (Hebrew)

* New translations strings_alarm.xml (Hungarian)

* New translations strings_alarm.xml (Italian)

* New translations strings_alarm.xml (Japanese)

* New translations strings_alarm.xml (Korean)

* New translations strings_alarm.xml (Lithuanian)

* New translations strings_alarm.xml (Dutch)

* New translations strings_alarm.xml (Norwegian)

* New translations strings_alarm.xml (Polish)

* New translations strings_alarm.xml (Portuguese)

* New translations strings_alarm.xml (Russian)

* New translations strings_alarm.xml (Slovak)

* New translations strings_alarm.xml (Swedish)

* New translations strings_alarm.xml (Turkish)

* New translations strings_alarm.xml (Chinese Simplified)

* New translations strings_alarm.xml (Portuguese, Brazilian)

* New translations strings_alarm.xml (Croatian)

* New translations strings_alarm.xml (Serbian (Latin))

* New translations strings_alarm.xml (Spanish)

* New translations strings_alarm.xml (Czech)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (French)

* New translations strings_alarm.xml (Slovak)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Slovak)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings_alarm.xml (Turkish)

* New translations strings_alarm.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings_alarm.xml (Italian)
2023-06-14 11:47:51 +02:00
Milos Kozak 2ce901186e
Merge pull request #2579 from nightscout/dependabot/gradle/dev/com.google.guava-guava-32.0.1-jre
chore(deps): bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre
2023-06-14 11:47:10 +02:00
jbr7rr 49de6a9c32 Add settings, and setting sync with pump 2023-06-13 21:42:05 +02:00
jbr7rr 419def7f6b Notifications and fake TBR on state changes 2023-06-13 13:35:08 +02:00