Commit graph

14709 commits

Author SHA1 Message Date
Milos Kozak
114710b292 NSC: simplify db interface 2022-12-12 10:54:55 +01:00
Milos Kozak
63215c778a NSCv3: updateTreatment 2022-12-12 08:57:14 +01:00
Milos Kozak
0da75f1d69 Dana: cleanup 2022-12-11 21:36:30 +01:00
Milos Kozak
3bb7c331d7 lints 2022-12-11 21:17:59 +01:00
Milos Kozak
cf8a92bec4 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-11 21:17:29 +01:00
Milos Kozak
62d1d27244
Merge pull request #2281 from LoriLori/danaRSv2/bug/historyFetch
lastEventTimeLoaded is never updated
2022-12-11 21:17:11 +01:00
Milos Kozak
97330bcb42
Merge pull request #2280 from LoriLori/danaRSv2/bug/cancelTempBasal
cancelTempBasal does not set success flag to true
2022-12-11 20:55:20 +01:00
Milos Kozak
856f35dae6
New Crowdin updates (#2279)
* New translations strings.xml (Afrikaans)

* New translations strings.xml (Russian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)
2022-12-11 20:54:01 +01:00
Lorelai L
97c11bc3e1 lastEventTimeLoaded is never updated - causes full fetch on each communication attempt 2022-12-11 19:31:10 +01:00
Lorelai L
1d1c47db1b cancelTempBasal does not set success flag to true 2022-12-11 18:39:42 +01:00
Milos Kozak
e1cc42635c NSTreatment -> RemoteTreatment conversion 2022-12-11 17:52:29 +01:00
Milos Kozak
d7a8323bc8 lints 2022-12-11 14:33:30 +01:00
Milos Kozak
02c1bd1e52 lints 2022-12-11 12:57:19 +01:00
Milos Kozak
80dd3b094b
New Crowdin updates (#2273)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations exam.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations exam.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations strings.xml (French)

* New translations exam.xml (Spanish)

* New translations strings.xml (French)

* New translations exam.xml (Spanish)

* New translations exam.xml (Spanish)
2022-12-11 11:20:47 +01:00
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
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
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
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
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
1a9f6474e5 consolidate constraints plugins 2022-12-08 17:59:29 +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