Commit graph

16493 commits

Author SHA1 Message Date
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
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