Commit graph

15886 commits

Author SHA1 Message Date
Ryan Haining c5c9aea6d3 Rewrites SPImplementationTest with matchers
Issue #2745
2023-09-18 23:30:17 -07:00
Ryan Haining b75b22e187 Rewrites LImplTest with matchers
Issue #2745
2023-09-18 23:15:29 -07:00
Milos Kozak 8acb13ee37 fix tests 2023-09-18 16:13:34 +02:00
Milos Kozak 79135e6262 simplify :core:interfaces 2023-09-18 16:07:53 +02:00
Milos Kozak 739ba4902b merge :pump:pump-core and :pump:pump-common 2023-09-18 15:16:42 +02:00
Milos Kozak 98fc8290f2 fix test 2023-09-18 15:13:47 +02:00
Milos Kozak e9e10ffec5 simplify :core:interfaces 2023-09-18 14:44:15 +02:00
Milos Kozak 2b1d60218d Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-09-18 14:23:20 +02:00
Milos Kozak 46c2abdc5b simplify :core:interfaces 2023-09-18 14:23:00 +02:00
Milos Kozak 54efe8c655
Merge pull request #2794 from nightscout/dependabot/gradle/dev/com.google.firebase-firebase-bom-32.3.1
chore(deps): bump com.google.firebase:firebase-bom from 32.2.3 to 32.3.1
2023-09-18 12:42:58 +02:00
Milos Kozak 91d19b51dc
New Crowdin updates (#2789)
* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations objectives.xml (Russian)

* New translations arrays.xml (Russian)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations objectives.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations protection.xml (Danish)

* 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 (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 (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 (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 (Serbian (Latin))

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Croatian)

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

* New translations strings.xml (Croatian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Czech)

* Update source file strings.xml

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

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Croatian)

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

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Croatian)

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

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (Greek)

* New translations strings.xml (Turkish)

* New translations strings.xml (Greek)

* New translations strings.xml (Turkish)

* New translations objectives.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Turkish)

* New translations strings.xml (Danish)

* New translations strings.xml (Turkish)
2023-09-18 10:29:12 +02:00
dependabot[bot] 005b7686af
chore(deps): bump com.google.firebase:firebase-bom from 32.2.3 to 32.3.1
Bumps com.google.firebase:firebase-bom from 32.2.3 to 32.3.1.

---
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-09-18 08:24:02 +00:00
Milos Kozak fb8b1a56c7 fix tests 2023-09-18 07:51:56 +02:00
Milos Kozak caad075310 simply interfaces module 2023-09-18 01:06:16 +02:00
Milos Kozak af8f2d8124 break interfaces -> ns-sdk dependency 2023-09-18 00:41:34 +02:00
Milos Kozak 688090fdcc remove unneeded dependency 2023-09-17 23:51:42 +02:00
Milos Kozak cf0e821b3a
Merge pull request #2793 from jbr7rr/medtrum-fixes
Medtrum: Fixes, tests and lints
2023-09-17 23:45:27 +02:00
Milos Kozak bedccac4e3 break aps -> automation dependency 2023-09-17 23:22:28 +02:00
jbr7rr ae5c4ddeeb Medtrum: Lints 2023-09-17 20:22:13 +02:00
jbr7rr 5074195315 Medtrum: Add more tests to GetRecordPacketTest 2023-09-17 20:19:35 +02:00
jbr7rr 7627fcce7d Medtrum: Allow reset of all suspended states 2023-09-17 20:19:35 +02:00
jbr7rr 9dee913977 Medtrum: Fix Suspended not syncing, fix duration in extended bolus 2023-09-17 20:19:35 +02:00
Milos Kozak f717d7a0b2 fix typo 2023-09-16 21:18:42 +02:00
Milos Kozak dec3b1ca2f unify aaps and wear wizard 2023-09-16 20:57:43 +02:00
Milos Kozak c44374c6dd Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-09-16 20:52:36 +02:00
Milos Kozak 275e52a546 Show PH values properly 2023-09-16 20:52:16 +02:00
Milos Kozak 24c7647d09
Merge pull request #2784 from Philoul/wear/new_custom_watchface
Wear CWF Add Week Number field and custom background image for text fields
2023-09-16 16:28:05 +02:00
Milos Kozak c4f4b2484b
Merge pull request #2785 from nightscout/dependabot/gradle/dev/com.google.gms-google-services-4.4.0
chore(deps): bump com.google.gms:google-services from 4.3.15 to 4.4.0
2023-09-16 16:27:29 +02:00
Milos Kozak d374acbde1
Merge pull request #2787 from ryanhaining/wear_util_test
Updates WearUtil for easier mocking
2023-09-16 16:25:47 +02:00
Milos Kozak 7bed95f131
Merge pull request #2788 from jbr7rr/medtrum-fixes
Medtrum: Move Initializers to onStart()
2023-09-16 16:24:49 +02:00
Ryan Haining 86b259e244 Uses injected clock rather than System for time
This is better for mocking
2023-09-15 08:35:49 -07:00
Ryan Haining 1bed0251d2 Provides kotlinx.datetime.Clock in wear 2023-09-15 08:33:49 -07:00
dependabot[bot] a7dabcf983
chore(deps): bump com.google.gms:google-services from 4.3.15 to 4.4.0
Bumps com.google.gms:google-services from 4.3.15 to 4.4.0.

---
updated-dependencies:
- dependency-name: com.google.gms:google-services
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 08:27:27 +00:00
Philoul ed4910d786 Merge remote-tracking branch 'Nightscout/dev' into wear/new_custom_watchface 2023-09-15 08:45:31 +02:00
Philoul 4ba7ab7e09 Wear CWF Add Week number field and include it within BaseWatchFace 2023-09-15 08:41:04 +02:00
Ryan Haining 0c1224faf6 Updates visibility and openness of attributes and methods
More mock-friendly, better access visibility
2023-09-14 22:02:56 -07:00
Milos Kozak c6f0da396f merge :core:graph to :core:main to speedup build 2023-09-14 23:12:46 +02:00
Philoul 130391eb99 Wear CWF Allow custom image in textView background 2023-09-14 21:32:10 +02:00
jbr7rr ac50149563 Medtrum: Move Initializers to onStart() 2023-09-14 21:14:09 +02:00
Milos Kozak 471ed28a04 NSC: improve profile sync 2023-09-14 20:20:08 +02:00
Milos Kozak d2247dc9bc NSC: improve sync 2023-09-14 20:07:26 +02:00
Milos Kozak 081f9ab463
Merge pull request #2779 from jbr7rr/medtrum-fixes
Medtrum: Refactor setBolus(), Improve connection lost and app restart handling
2023-09-14 18:23:09 +02:00
Milos Kozak d302e6eb55 NSC: fix sync of recordonly boluses 2023-09-14 18:16:58 +02:00
jbr7rr 18893dfe63 Medtrum: Refactor setBolus()
Reconnect when connection is lost during bolus.
After crash/restart of AAPS during bolus wait for bolus progress and show Bolus is running.
2023-09-14 17:42:07 +02:00
Milos Kozak de3f24a8fb
New Crowdin updates (#2766)
* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations exam.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Korean)

* New translations strings.xml (Russian)

* New translations strings.xml (Korean)

* New translations strings.xml (Greek)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations protection.xml (Korean)

* New translations strings.xml (Korean)

* New translations exam.xml (Korean)

* New translations objectives.xml (Korean)

* New translations exam.xml (Portuguese, Brazilian)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations oh_strings.xml (Korean)

* New translations strings_alarm.xml (Korean)

* New translations arrays.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Polish)

* New translations exam.xml (Russian)

* New translations exam.xml (Russian)

* New translations strings.xml (Norwegian)

* New translations exam.xml (Greek)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations exam.xml (Greek)

* New translations objectives.xml (Greek)

* New translations strings.xml (Greek)

* New translations oh_strings.xml (Greek)

* New translations strings.xml (Dutch)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Polish)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings_alarm.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)
2023-09-14 17:29:35 +02:00
Milos Kozak d379b769d3 NSCv3: resolve loading issues 2023-09-13 13:15:58 +02:00
Philoul 752202a280 Wear CWF remove optional final poitn in short day name or month name (according to library translation) 2023-09-13 13:00:28 +02:00
Milos Kozak 608130c7ea
Merge pull request #2772 from jbr7rr/medtrum-fixes
Medtrum: Fix and Unit tests
2023-09-12 23:30:20 +02:00
jbr7rr 5b550229d4 Medtrum: Add additional unit tests for pump sync in MedtrumPump() 2023-09-12 22:00:20 +02:00
jbr7rr 67805382df Medtrum: resetPatchParameters() on deactivation and new SN 2023-09-12 13:56:17 +02:00