Commit graph

15603 commits

Author SHA1 Message Date
Milos Kozak 621d8b9614 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-11 10:52:37 +01:00
Milos Kozak 1f4d958931 MDT: fix import after update 2022-12-11 10:52:27 +01:00
Milos Kozak 080b553778
Merge pull request #2275 from dv1/comboctl-dev
Improvements to reading basal profile; documentation addition; minor fixes
2022-12-10 21:49:03 +01:00
Carlos Rafael Giani 3f4527459a combov2: Add documentation and replace previous small note about comboctl
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-10 20:33:23 +01:00
Carlos Rafael Giani 16a3b74f50 comboctl-main: Fix getBasalProfile() progress report and screen counting
The previous behavior was reading the profile correctly, but the progress
report was off by one factor. Also, blinking screens were considered as
separate ones, causing the short button press based fallback to kick in
unnecessarily often because that blinking screen behavior caused the
main long button press based reading loop to miss the last profile factor.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-10 19:18:30 +01:00
Carlos Rafael Giani e06ecaa7d8 comboctl-android: Remove some obsolete / unnecessary / solved TODOs
* device is unpaired while discovery is ongoing" does not happen because
  discovery only occurs if no device is paired.
* Using the second offered BluetoothDevice works reliably on all tested
  phones so far.
* AndroidBluetoothDevice throws a BluetoothException if all of its
  internal connect attempts fail.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-10 18:49:12 +01:00
Carlos Rafael Giani 6ecc1073df comboctl-main: Finish reading profile by pressing BACK to avoid vibration
When exiting the basal profile screens by pressing CHECK twice, a
vibration happens. This can be avoided by instead pressing BACK until
the main screen is reached.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-10 17:34:53 +01:00
Milos Kozak 3a29e8d4f2 eliminate NSCleintService interface 2022-12-10 00:15:46 +01:00
Milos Kozak 479ceabe9d DanaRS: pairing dialog fix 2022-12-09 23:27:04 +01:00
Milos Kozak 742e02ef3c NSCv3: reading is working 2022-12-09 23:26:15 +01:00
piotrek 4171bc61b6 ApsMode enum - fix failing junit tests 2022-12-09 19:36:32 +01:00
piotrek 12a9102915 Merge remote-tracking branch 'origin/dev' into feature/new-sms-command
# Conflicts:
#	app/src/test/java/info/nightscout/androidaps/interfaces/ConstraintsCheckerTest.kt
2022-12-09 19:11:11 +01:00
piotrek 5ea430ffc5 ApsMode enum - discard usage of lowercase property 2022-12-09 19:03:18 +01:00
Milos Kozak 30e7e5ed77
New Crowdin updates (#2269)
* 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 (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 (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 (Hungarian)

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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

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

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

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

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

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

* New translations protection.xml (Portuguese, Brazilian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

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

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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

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

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

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

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

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

* New translations strings.xml (Serbian (Latin))
2022-12-09 17:50:33 +01:00
Milos Kozak 9c72dced27 Merge branch 'dev' into smoothing 2022-12-09 17:25:22 +01:00
Milos Kozak ae6c55ea00 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-09 17:23:30 +01:00
Milos Kozak cf254c5c72 3.1.0.3-dev-e 2022-12-09 17:23:17 +01:00
Milos Kozak 1c6e9c5646 Merge branch 'smoothing' of https://github.com/nightscout/AndroidAPS into smoothing 2022-12-09 17:17:55 +01:00
Milos Kozak 41f0f8a4ce Merge branch 'dev' into smoothing 2022-12-09 17:16:53 +01:00
Milos Kozak 628e984212
Merge pull request #2270 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-31.1.1
chore(deps): bump firebase-bom from 31.1.0 to 31.1.1
2022-12-09 17:10:30 +01:00
Milos Kozak c8113bf4fc Instantiator 2022-12-09 16:49:33 +01:00
Milos Kozak bc9ec4c9c5 :plugins:source module 2022-12-09 16:20:40 +01:00
Milos Kozak 16bf64129d :pump:virtual 2022-12-09 15:34:11 +01:00
Milos Kozak 0c176102cf
Merge branch 'dev' into smoothing 2022-12-09 15:08:36 +01:00
piotrek 812499ea81 Merge remote-tracking branch 'origin/dev' into feature/new-sms-command
# Conflicts:
#	app/src/test/java/info/nightscout/androidaps/interfaces/ConstraintsCheckerTest.kt
#	plugins/main/src/test/java/info/nightscout/plugins/general/smsCommunicator/SmsCommunicatorPluginTest.kt
2022-12-09 14:31:56 +01:00
Milos Kozak 53e29aaf33 minor cleanup 2022-12-09 14:21:28 +01:00
Milos Kozak 2024956aef :plugins:insulin module 2022-12-09 13:13:21 +01:00
Milos Kozak 8791e93cc9 move out of :core:main 2022-12-09 11:47:57 +01:00
Milos Kozak d34bcbf74f remove :automation dependency 2022-12-09 10:16:38 +01:00
Milos Kozak e2f96fd70d crowdin 2022-12-09 09:21:47 +01:00
dependabot[bot] bc8b4f4a1c
chore(deps): bump firebase-bom from 31.1.0 to 31.1.1
Bumps firebase-bom from 31.1.0 to 31.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>
2022-12-09 08:02:05 +00:00
Milos Kozak f702e9b839 remove :ui dependency 2022-12-08 18:49:22 +01:00
Milos Kozak 6b8bba1699
Merge branch 'dev' into smoothing 2022-12-08 18:42:11 +01:00
Milos Kozak 1a9f6474e5 consolidate constraints plugins 2022-12-08 17:59:29 +01:00
Milos Kozak a1def2a40f Implement smoothing over bucketed data 2022-12-08 11:47:53 +01:00
Milos Kozak 6d255032a8 new plugin category: Smoothing 2022-12-08 11:47:53 +01:00
Milos Kozak ed6858bee7 MDT: fix crash caused by code changes 2022-12-08 11:46:32 +01:00
Milos Kozak be647d8b5b GlucoseStatusProviderImpl 2022-12-08 11:43:03 +01:00
Milos Kozak db0f440bb2 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-08 11:39:02 +01:00
Milos Kozak 621d0f3057 DiaconnG8: pump log sync bug fix 2022-12-08 11:38:50 +01:00
Milos Kozak e9be960c47
Merge pull request #2267 from nightscout/dependabot/gradle/dev/androidx.fragment-fragment-ktx-1.5.5
chore(deps): bump fragment-ktx from 1.5.4 to 1.5.5
2022-12-08 11:31:37 +01:00
dependabot[bot] 1d48e2d809
chore(deps): bump fragment-ktx from 1.5.4 to 1.5.5
Bumps fragment-ktx from 1.5.4 to 1.5.5.

---
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>
2022-12-08 08:02:03 +00:00
Milos Kozak 8b44a24fb7
Merge pull request #2264 from dv1/combov2-fixes-001
combov2: Unit test fixes and TBR improvements
2022-12-07 16:10:45 +01:00
Milos Kozak d261bbad09 NSC: fix duration sync 2022-12-07 15:56:59 +01:00
Carlos Rafael Giani 9fdc89ee72 combov2: Use more specific PumpEnactResult comment after setTbr() finishes
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-07 12:38:59 +01:00
Carlos Rafael Giani ad381e3c26 comboctl: main: Improvements to Pump.setTbr()
* Don't set a fake 100% TBR again if the current fake 100% TBR
  is finished within 15 minutes (reduces number of TBR operations
  and allows the Combo to return to a non-TBR state).
* If the expected TBR percentage was a non-100% one, but not we see
  a non-TBR main screen, check if the expected TBR duration was <= 2
  minutes. This covers the edge case when the TBR ends at the same
  time when we run this check.
* Inform callers about the exact outcome of the setTbr() call. It could
  be that it set the TBR normally. Or, it might have set a fake 100% TBR
  (if the user requested a 100% TBR and force100Percent was set to false),
  and so on.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-07 12:38:59 +01:00
Carlos Rafael Giani 14c39ee05e Fix comboctl unit test integration
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-07 12:38:59 +01:00
Milos Kozak 81a8080942 EOPatch: lineup preferences 2022-12-07 12:26:49 +01:00
Milos Kozak 81cf46b997
Merge pull request #2263 from nightscout/dependabot/gradle/dev/org.junit.jupiter-junit-jupiter-engine-5.9.1
chore(deps): bump junit-jupiter-engine from 5.7.0 to 5.9.1
2022-12-07 10:45:08 +01:00
Milos Kozak 5d3a3f861a improve BgQualityCheckPlugin, fix test 2022-12-07 10:43:52 +01:00