Commit graph

15168 commits

Author SHA1 Message Date
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
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
dependabot[bot] 992afc1ecb
chore(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0
Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 09:32:08 +00:00
Milos Kozak 1920bc7ce5
New Crowdin updates (#2465)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)
2023-03-23 10:32:05 +01:00
dependabot[bot] a48f01ca34
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx
Bumps androidx.lifecycle:lifecycle-viewmodel-ktx from 2.5.1 to 2.6.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 09:31:57 +00:00
Milos Kozak 6df6e978a9
Merge pull request #2470 from nightscout/dependabot/gradle/dev/androidx.fragment-fragment-ktx-1.5.6
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6
2023-03-23 10:31:26 +01:00
Milos Kozak 35fe73f08c
Merge pull request #2468 from nightscout/dependabot/gradle/dev/work_version-2.8.1
chore(deps): bump work_version from 2.8.0 to 2.8.1
2023-03-23 10:31:02 +01:00
Milos Kozak 3fd6657ea8
Merge pull request #2469 from nightscout/dependabot/gradle/dev/room_version-2.5.1
chore(deps): bump room_version from 2.5.0 to 2.5.1
2023-03-23 10:30:48 +01:00
dependabot[bot] 5388db068d
chore(deps): bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6
Bumps androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 08:58:04 +00:00
dependabot[bot] 0e24624cf6
chore(deps): bump room_version from 2.5.0 to 2.5.1
Bumps `room_version` from 2.5.0 to 2.5.1.

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

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

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

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

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

---
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-03-23 08:57:40 +00:00
dependabot[bot] 16a5b27414
chore(deps): bump work_version from 2.8.0 to 2.8.1
Bumps `work_version` from 2.8.0 to 2.8.1.

Updates `androidx.work:work-runtime-ktx` from 2.8.0 to 2.8.1

Updates `androidx.work:work-testing` from 2.8.0 to 2.8.1

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 08:57:29 +00:00
Milos Kozak 8ce12d61c0 Xdrip: prevent NPE 2023-03-22 22:09:43 +01:00
Carlos Rafael Giani a0e65370dc combov2: Ask for Bluetooth permissions before pairing 2023-03-22 09:02:42 +01:00
Carlos Rafael Giani d280a2bec5 comboctl-main: Allow fetching TDDs while the pump is suspended
There is no good reason for disallowing TDD retrieval while the Combo
is suspended - the TDD history screens are accessible, and TDD retrieval
does not cause any insulin delivery to take place.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-22 08:53:21 +01:00
Milos Kozak 75d34955b7 fix displaying in non default languages 2023-03-21 18:38:49 +01:00
Milos Kozak cf69dcf423 NSCv3: get missing data upon WS connection 2023-03-21 17:02:02 +01:00
Milos Kozak f5d2f739a9 NSCv3: allow missing eventType 2023-03-21 15:18:54 +01:00
Carlos Rafael Giani 6435b36f7e combov2: Use layout_weight to make PIN field adapt to horizontal space 2023-03-19 17:40:41 +01:00
Milos Kozak 438f384c67 lints 2023-03-16 18:36:47 +01:00
Milos Kozak 53c13684ea EOPATCH2: fix NS carbs sync 2023-03-16 18:29:53 +01:00
Milos Kozak 294f3cb789
Merge pull request #2457 from dv1/combov2-fixes-001
combov2: Fixes for the refresh button, unsafe casts, crashes due to Bluetooth, improved warning screen handling, and additional language support
2023-03-13 22:21:45 +01:00
Carlos Rafael Giani 9979331ef0 comboctl-parser: Fix typo in E2BatteryEmptyErrorScreenParsing test
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-13 21:46:31 +01:00
Milos Kozak 6e223dd5f4
New Crowdin updates (#2456)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations alert_descriptions.xml (Lithuanian)

* New translations exam.xml (Bulgarian)

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

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations objectives.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 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 strings.xml (Lithuanian)
2023-03-13 21:32:18 +01:00
Milos Kozak 89b5e9851c
Merge pull request #2458 from miyeongkim/dev
fix divide by zero
2023-03-13 21:29:55 +01:00
miyeongkim eaa32355cd
Merge branch 'nightscout:dev' into dev 2023-03-13 11:25:58 +09:00
miyeongkim 804ee6e898 fix "ArithmeticException: divide by zero" 2023-03-13 11:24:06 +09:00
Carlos Rafael Giani bec7a4aa97 combov2: Replace unsafe casts 2023-03-12 22:40:54 +01:00
Carlos Rafael Giani cc4cd2dc04 comboctl-parser: Don't try to interpret text in error screens
That text shows contents that are different to that of warning screens.
Instead of extending the interpretation logic to cover such contents as
well, just use a generic ERROR_TEXT AlertScreenState. That text won't
be interpreted by any program logic anyway, since error screens are
never dismissed automatically.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-03-12 22:40:54 +01:00