Commit graph

15394 commits

Author SHA1 Message Date
jbr7rr
3ae145524c Don't move patchStep when there is no connection 2023-06-08 14:25:25 +02:00
Milos Kozak
f1118e238d
Merge pull request #2574 from nightscout/dependabot/gradle/dev/org.jlleitschuh.gradle.ktlint-11.4.0
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.3.2 to 11.4.0
2023-06-08 14:10:19 +02:00
Milos Kozak
66217260e6
Merge pull request #2576 from nightscout/dependabot/gradle/dev/kotlin_version-1.8.22
chore(deps): bump kotlin_version from 1.8.21 to 1.8.22
2023-06-08 14:10:05 +02:00
Milos Kozak
cab26f18f2
Merge pull request #2577 from nightscout/dependabot/gradle/dev/androidx.navigation-navigation-fragment-ktx-2.6.0
chore(deps): bump androidx.navigation:navigation-fragment-ktx from 2.5.3 to 2.6.0
2023-06-08 14:09:52 +02:00
Milos Kozak
55313267f4
Merge pull request #2578 from nightscout/dependabot/gradle/dev/androidx.fragment-fragment-ktx-1.6.0
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0
2023-06-08 14:09:36 +02:00
jbr7rr
bad4d7a7f4 Improve activation flow 2023-06-08 11:27:55 +02:00
dependabot[bot]
b656da947c
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0
Bumps androidx.fragment:fragment-ktx from 1.5.7 to 1.6.0.

---
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>
2023-06-08 09:17:04 +00:00
dependabot[bot]
00b7920271
chore(deps): bump androidx.navigation:navigation-fragment-ktx
Bumps androidx.navigation:navigation-fragment-ktx from 2.5.3 to 2.6.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 09:16:30 +00:00
dependabot[bot]
09893713c8
chore(deps): bump kotlin_version from 1.8.21 to 1.8.22
Bumps `kotlin_version` from 1.8.21 to 1.8.22.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-allopen` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-serialization` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin.android` from 1.8.21 to 1.8.22

Updates `org.jetbrains.kotlin:kotlin-stdlib-jdk8` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
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.android
  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>
2023-06-08 09:15:55 +00:00
dependabot[bot]
ece1dd6ad4
chore(deps): bump org.jlleitschuh.gradle.ktlint from 11.3.2 to 11.4.0
Bumps org.jlleitschuh.gradle.ktlint from 11.3.2 to 11.4.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-06-07 08:57:40 +00:00
Milos Kozak
306406733c
New Crowdin updates (#2563)
* New translations strings.xml (French)

* New translations objectives.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations protection.xml (Russian)

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Korean)

* 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 (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* 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 (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)
2023-06-05 13:07:08 +02:00
Milos Kozak
231d82f439
EOPATCH: translate error codes 2023-06-05 13:06:29 +02:00
jbr7rr
932f651e57 Workaround for connection timeout alarm not alarming 2023-06-04 19:17:55 +02:00
jbr7rr
6ccfb734d7 Only update lastDataTime on successful readStatus 2023-06-04 17:33:33 +02:00
jbr7rr
9860c7aac3 Improve tbr syncing 2023-06-02 21:27:45 +02:00
Milos Kozak
cd9f5e4723
Merge pull request #2549 from jbr7rr/dash-handle-tbr-out-of-sync
DASH: handle tbr out of sync
2023-06-01 14:32:44 +02:00
Milos Kozak
29410ecb03
Merge pull request #2554 from jbr7rr/dash-fix-race-condition-on-disconnect
DASH: Fix race condition on dash disconnect
2023-06-01 14:31:42 +02:00
Milos Kozak
0c847616cb
Merge pull request #2562 from buessow/stage
Get heart rate from Wear watch and display as graph in Overview
2023-06-01 14:31:25 +02:00
Milos Kozak
1691b680d1
Merge pull request #2565 from jungsomyeonggithub/dev
EOPATCH: bug fix
2023-06-01 14:29:53 +02:00
jungsomyeonggithub
c07a155424 bug fix 2023-06-01 19:23:31 +09:00
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
Milos Kozak
757afdc4aa
Merge pull request #2555 from nightscout/dependabot/gradle/dev/androidx.activity-activity-ktx-1.7.2
chore(deps): bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2
2023-05-30 10:08:56 +02:00
dependabot[bot]
d6383f70f9
chore(deps): bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2
Bumps androidx.activity:activity-ktx from 1.7.1 to 1.7.2.

---
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-05-30 07:08:15 +00:00
Milos Kozak
18af89fb02
Merge pull request #2557 from nightscout/dependabot/gradle/dev/com.google.guava-guava-32.0.0-jre
chore(deps): bump com.google.guava:guava from 31.1-jre to 32.0.0-jre
2023-05-30 09:07:32 +02:00
Milos Kozak
726e33b237
Merge pull request #2558 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-32.1.0
chore(deps): bump com.google.firebase:firebase-bom from 32.0.0 to 32.1.0
2023-05-30 09:07:14 +02:00
jbr7rr
cd65639abb Only update basal from Notification when it has changed 2023-05-29 20:05:21 +02:00
robertbuessow
c4ad9f12aa Request sensor permissions when heart rate sampling is enabled. 2023-05-29 18:22:51 +03:00
jbr7rr
3c8faa6723 Use timeout in connect states, other minor changes 2023-05-29 14:40:08 +02:00
dependabot[bot]
1836b349d2
chore(deps): bump com.google.firebase:firebase-bom from 32.0.0 to 32.1.0
Bumps com.google.firebase:firebase-bom from 32.0.0 to 32.1.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-05-29 08:58:01 +00:00
dependabot[bot]
c9fcdb13b2
chore(deps): bump com.google.guava:guava from 31.1-jre to 32.0.0-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 08:57:53 +00: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
d5647ce021 Fix race condition on dash disconnect 2023-05-22 20:06:59 +02:00
robertbuessow
b82aeb9379 Rewrite HeartRateListener to better handle watches that don't regularely send heart rate events.
Make ActionHeartRate and HeartRate consistent.
2023-05-22 17:35:23 +02:00
jbr7rr
0d8f07ad0a Initial TBR implementation and pumpSync for basals etc 2023-05-20 20:40:55 +02:00
robertbuessow
7f14535852 Store heart rate events from watch in local storage. 2023-05-19 17:05:11 +02:00
Robert Buessow
411ec8bd68 Get heart rate readings from Wear watch sensor and send to phone. 2023-05-19 17:04:51 +02:00
Robert Buessow
7f0c361ca2 Add AppRepository::getHeartRatesFromTimeToTime 2023-05-19 17:02:58 +02:00
Robert Buessow
ecea212c83 Support heart rate in overview graph 2023-05-19 17:01:23 +02:00
jbr7rr
cd3869ea07 Move verifyPumpState to its own function, cleanup 2023-05-19 16:54:32 +02:00
jbr7rr
77feeedf35 Shorten TBR string to cleanup history view 2023-05-19 16:54:20 +02:00
jbr7rr
38728bac01 Handle DASH basal and TBR out of sync 2023-05-19 09:55:13 +02:00
jbr7rr
2826854b7c Add total delivered to dash history 2023-05-19 09:55:01 +02:00
Milos Kozak
7faa34aa50 fix activities translation 2023-05-17 18:36:01 +02:00