Commit graph

15773 commits

Author SHA1 Message Date
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
Milos Kozak cd7832a6e1 Fix password reset feature 2022-12-07 09:52:52 +01:00
dependabot[bot] f5c2d1a1ff
chore(deps): bump junit-jupiter-engine from 5.7.0 to 5.9.1
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.7.0 to 5.9.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.9.1)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 08:02:20 +00:00
Philoul 51e1d4ad04 Autotune Additional string 2022-12-07 00:10:47 +01:00
Philoul 5f8b337eaa Merge remote-tracking branch 'Nightscout/dev' into Autotune/TuneWeekDaysClean
# Conflicts:
#	core/core-main/src/main/res/values/strings.xml
#	plugins/aps/src/main/java/info/nightscout/plugins/general/autotune/AutotuneFragment.kt
#	plugins/aps/src/main/java/info/nightscout/plugins/general/autotune/AutotunePlugin.kt
#	plugins/automation/src/main/java/info/nightscout/automation/actions/ActionRunAutotune.kt
2022-12-06 23:56:07 +01:00
Milos Kozak 9edb83f656
New Crowdin updates (#2249)
* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

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

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)
2022-12-06 12:53:06 +01:00
Milos Kozak 2fb3e8b9dd
Merge pull request #2260 from nightscout/dependabot/gradle/dev/io.socket-socket.io-client-1.0.2
chore(deps): bump socket.io-client from 1.0.0 to 1.0.2
2022-12-06 12:52:23 +01:00
Milos Kozak 805ff505b7
Merge pull request #2259 from dv1/combov2-fixes-001
combov2: Fixes for UI related crashes, improvements to pump state store imports, and partial unit test integration
2022-12-06 12:51:12 +01:00
dependabot[bot] 4dca03d477
chore(deps): bump socket.io-client from 1.0.0 to 1.0.2
Bumps [socket.io-client](https://github.com/socketio/socket.io-client-java) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/socketio/socket.io-client-java/releases)
- [Changelog](https://github.com/socketio/socket.io-client-java/blob/main/History.md)
- [Commits](https://github.com/socketio/socket.io-client-java/compare/socket.io-client-1.0.0...socket.io-client-1.0.2)

---
updated-dependencies:
- dependency-name: io.socket:socket.io-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 08:01:53 +00:00
Carlos Rafael Giani aa595fefcb combov2: Integrate comboctl unit tests
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-05 20:43:48 +01:00
Carlos Rafael Giani 69f085a83c combov2: Use extra internal SP as the main pump state store
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-05 20:43:48 +01:00
Carlos Rafael Giani a9690dcbc9 combov2: Fix crash in preferences fragment after importing AAPS settings
Use IntSeekBarPreference instead of SeekBarPreference to automatically
convert a string value to an int (which otherwise causes an exception).

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-05 20:43:48 +01:00
Carlos Rafael Giani e97267cdf5 core: ui: Add IntSeekBarPreference
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-05 20:43:48 +01:00
Milos Kozak 6a3f833a82 Eopatch: handle stopped bolus properly 2022-12-05 18:27:05 +01:00
Milos Kozak d5af299692 lift out flat BG check from determinebasal to BgQualityCheckPlugin 2022-12-04 23:46:06 +01:00
piotrek 1c8354a949 merge changes from origin/dev 2022-12-04 22:18:48 +01:00
piotrek db6409bb69 merge changes from origin/dev 2022-12-04 22:03:39 +01:00
piotrek 54f6e7929f Merge remote-tracking branch 'origin/dev' into feature/new-sms-command
# Conflicts:
#	app/src/test/java/info/nightscout/androidaps/interfaces/ConstraintsCheckerTest.kt
#	app/src/test/java/info/nightscout/androidaps/plugins/aps/loop/LoopPluginTest.kt
#	app/src/test/java/info/nightscout/androidaps/plugins/safety/SafetyPluginTest.kt
#	plugins/aps/src/main/java/info/nightscout/plugins/aps/loop/LoopPlugin.kt
#	plugins/main/src/main/java/info/nightscout/plugins/constraints/objectives/objectives/Objective6.kt
#	plugins/main/src/main/java/info/nightscout/plugins/constraints/safety/SafetyPlugin.kt
#	ui/src/main/java/info/nightscout/ui/dialogs/LoopDialog.kt
2022-12-04 21:49:17 +01:00
Milos Kozak 1f1a2eae48 show full activity prediction 2022-12-04 20:20:53 +01:00
Milos Kozak bd35007f44 Log Worker results 2022-12-04 17:49:03 +01:00
Milos Kozak 8dc346e4c8 rename 2022-12-04 17:07:47 +01:00
Milos Kozak 9a35579d66 prolong workflow delay on new data 2022-12-04 16:14:57 +01:00
Milos Kozak b8880c3585 NSBgSource: store raw only if provided 2022-12-04 16:13:14 +01:00
Milos Kozak 180d9327b6 Wizard: fix notes field 2022-12-04 15:22:37 +01:00
Milos Kozak 0c833d087b EOPATCH: fix setting of profile 2022-12-04 12:26:56 +01:00
Milos Kozak b24fcbfb93 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-04 11:36:48 +01:00
Milos Kozak 40bbafe14a DASH: fix activities 2022-12-04 10:37:39 +01:00
Milos Kozak 42f1940abc simplify code 2022-12-02 23:03:30 +01:00
Milos Kozak 04ff578b88 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-12-02 14:29:38 +01:00
Milos Kozak 6172ca8d63
New Crowdin updates (#2248)
* New translations strings.xml (Slovak)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

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

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Irish)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations alert_codes.xml (Catalan)

* New translations alert_descriptions.xml (Catalan)

* New translations alert_descriptions.xml (Afrikaans)

* New translations alert_descriptions.xml (Greek)

* New translations strings.xml (Portuguese, Brazilian)

* New translations alert_titles.xml (Afrikaans)

* New translations alert_titles.xml (Catalan)

* New translations exceptions.xml (Catalan)

* New translations alert_descriptions.xml (Portuguese, Brazilian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Catalan)

* New translations strings.xml (Romanian)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Greek)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

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

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

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

* New translations strings.xml (Dutch)

* New translations strings.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Croatian)

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

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Japanese)

* New translations strings.xml (Irish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Romanian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Irish)

* New translations strings.xml (Danish)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Norwegian)

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

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

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

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

* New translations strings.xml (Croatian)

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

* New translations strings.xml (Slovak)

* 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 (Portuguese, Brazilian)

* New translations exam.xml (Turkish)

* New translations strings.xml (Croatian)

* New translations strings.xml (Turkish)

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

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

* New translations strings.xml (Italian)

* New translations strings.xml (Irish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Croatian)

* New translations strings.xml (Irish)

* New translations strings.xml (Japanese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Irish)

* New translations strings.xml (Croatian)

* New translations strings.xml (Irish)

* New translations strings.xml (Irish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Irish)

* New translations strings.xml (Czech)

* New translations strings.xml (Irish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Turkish)

* New translations strings.xml (Slovak)

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

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Italian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Irish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Russian)

* New translations strings.xml (Korean)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Croatian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Croatian)

* New translations strings.xml (Japanese)

* New translations protection.xml (Turkish)

* New translations validator.xml (Hungarian)

* New translations validator.xml (Irish)

* New translations validator.xml (Japanese)

* New translations validator.xml (Croatian)

* New translations validator.xml (Serbian (Latin))
2022-12-02 14:29:28 +01:00
Milos Kozak a55e25bb32 cleanup 2022-12-02 11:34:41 +01:00