Commit graph

15395 commits

Author SHA1 Message Date
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
jbr7rr 61e873dbcc Deactivation, better connection flow 2023-04-15 15:23:26 +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
jbr7rr fff833dae3 Patch activation flow 2023-04-11 15:43:29 +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
Milos Kozak fd625b1d3e
Merge pull request #2482 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-31.4.0
chore(deps): bump com.google.firebase:firebase-bom from 31.3.0 to 31.4.0
2023-03-29 15:14:26 +02:00
dependabot[bot] 9e857a8cfa
chore(deps): bump com.google.firebase:firebase-bom from 31.3.0 to 31.4.0
Bumps com.google.firebase:firebase-bom from 31.3.0 to 31.4.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-03-29 08:57:30 +00:00
Milos Kozak ec12dd8e91 test wifi SSID with space in automation 2023-03-29 09:50:50 +02:00
Milos Kozak 06ece9747c test wifi SSID with space 2023-03-29 09:43:49 +02:00
jbr7rr af6445a3dc NotificationPacket 2023-03-28 19:26:58 +02:00
Milos Kozak b244d174fa Tidepool: fix calibraton entry 2023-03-28 17:12:28 +02:00
Milos Kozak de7fde3840
Merge pull request #2478 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-31.3.0
chore(deps): bump com.google.firebase:firebase-bom from 31.2.3 to 31.3.0
2023-03-27 13:43:45 +02:00
Milos Kozak fa4672b908
Merge pull request #2480 from nightscout/dependabot/gradle/dev/net.danlew-android.joda-2.12.4
chore(deps): bump net.danlew:android.joda from 2.12.1.1 to 2.12.4
2023-03-27 13:43:28 +02:00
dependabot[bot] 35a560d91b
chore(deps): bump net.danlew:android.joda from 2.12.1.1 to 2.12.4
Bumps [net.danlew:android.joda](https://github.com/dlew/joda-time-android) from 2.12.1.1 to 2.12.4.
- [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.1.1...v2.12.4)

---
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-27 08:58:11 +00:00
dependabot[bot] 89d655d824
chore(deps): bump com.google.firebase:firebase-bom from 31.2.3 to 31.3.0
Bumps com.google.firebase:firebase-bom from 31.2.3 to 31.3.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-03-27 08:57:46 +00:00
Milos Kozak e432d649d4
Merge pull request #2477 from dlvoy/patch-1
Fixing misleading label
2023-03-27 09:14:48 +02:00
Dominik Dzienia b62e59c940
Fixing misleading label
Reported by user - base text sugested it is about current/last profile name, while code checks all of them, so it may happen that recent is OK but some other profile is wrong.

https://github.com/nightscout/AndroidAPS/blob/dev/plugins/main/src/main/java/info/nightscout/plugins/profile/ProfilePlugin.kt#L193
2023-03-27 00:14:03 +02:00
Milos Kozak 5b07afbf94
Merge pull request #2471 from nightscout/dependabot/gradle/dev/androidx.lifecycle-lifecycle-viewmodel-ktx-2.6.1
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.1
2023-03-26 23:12:45 +02:00
Milos Kozak ca8f705ee4
Merge pull request #2472 from nightscout/dependabot/gradle/dev/androidx.activity-activity-ktx-1.7.0
chore(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0
2023-03-26 23:12:34 +02:00
Milos Kozak 003f323d4c
Merge pull request #2464 from dv1/combov2-fixes-001
Fixes to combov2 pairing PIN entry UI, the pairing activity, and TDD history retrieval and activity background
2023-03-25 20:12:38 +01:00
Carlos Rafael Giani 5d877a8379 Fix TDD activity background
Fixes https://github.com/nightscout/AndroidAPS/issues/2473
2023-03-25 17:34:50 +01:00
jbr7rr cafdd6cf8f Implement GetRecordPacket (initial) 2023-03-25 16:55:06 +01:00
jbr7rr db409f5b7f Packet implementation 2023-03-24 19:50:19 +01:00
jbr7rr 90392b2452 Packet classes 2023-03-24 19:50:19 +01:00
jbr7rr 7afa0beb0a Prepare patch step WIP 2023-03-24 19:50:19 +01:00
jbr7rr 8f6dfbdf88 Overview fragment based on eopatch layout 2023-03-24 19:50:19 +01:00
jbr7rr 43515f7b17 Buttons in overview 2023-03-24 19:50:19 +01:00
jbr7rr 485826682e Implemented state to initialize pump connection 2023-03-24 19:50:19 +01:00
jbr7rr 27159d6e47 Review comments 2023-03-24 19:39:23 +01:00
jbr7rr ed100a4eb0 BLEComm: Added callbacks to enable handling of notifications in calling class 2023-03-24 19:39:23 +01:00
jbr7rr f31f6c1649 Proper handling of setCharacteristicNotification 2023-03-24 19:39:23 +01:00
jbr7rr baa4376f68 Added MedtrumService 2023-03-24 19:38:48 +01:00
jbr7rr b635ad26d8 Initial Medtrum BLEComm 2023-03-24 19:38:48 +01:00
jbr7rr 37a6fa9220 Added Medtrum pump type etc 2023-03-24 19:38:48 +01:00