Commit graph

14750 commits

Author SHA1 Message Date
Andries Smit a974e27ec1 fix: wear digital chart zoom 2022-08-18 10:49:06 +02:00
Andries Smit 302ac77cc0 fix: loop dialog button visibility 2022-08-18 09:10:35 +02:00
Milos Kozak e9da50cefe
Merge pull request #2023 from Philoul/Fix/Fix_Autotune_Crash
Fix Autotune crashed
2022-08-17 14:36:45 +02:00
Philoul b1be726cc3 Autotune Fix Unit tests 2022-08-17 12:24:46 +02:00
Philoul 0af05deae9 Abort Autotune Run if no valid profile on first selected day 2022-08-17 12:24:39 +02:00
Philoul f22c8ca642 Fix ExtendedBolus and EmulatingTempBasal 2022-08-17 12:24:33 +02:00
Milos Kozak 17d7464239 fix PS timeshift NS upload 2022-08-17 10:17:13 +02:00
Milos Kozak d385fc3be0 typo 2022-08-17 10:16:47 +02:00
Milos Kozak fef502c52d update label 2022-08-17 10:16:38 +02:00
Milos Kozak 53e17c363e New Crowdin updates (#1991)
* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Turkish)

* New translations strings.xml (German)

* New translations strings.xml (Romanian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Russian)

* New translations strings.xml (Turkish)
2022-08-17 10:15:59 +02:00
christina 4fac0cc241 Merge remote-tracking branch 'origin/intelligo' into intelligo 2022-08-11 16:54:20 +03:00
christinadamianou 62eac03bbe
Merge pull request #6 from christinadamianou/dev
Dev
2022-08-11 16:54:00 +03:00
christinadamianou f2b8dfe134
Merge branch 'intelligo' into dev 2022-08-11 16:53:42 +03:00
christinadamianou 4b9b514039
Merge pull request #5 from nightscout/dev
Dev
2022-08-11 16:50:12 +03:00
christina f8de9adf77 intelligo 2022-08-11 16:47:50 +03:00
Milos Kozak 353fd727f6 allow DB 22 -> 21 downgrade 2022-08-08 22:36:27 +02:00
Milos Kozak 5e9b2f1cc4 Merge branch 'dev' into fix/carbs-notes 2022-08-08 22:34:39 +02:00
Milos Kozak 764794bdaa
Merge pull request #1994 from Philoul/Fix/FixNPE_Autotune
Fix NPE AutotuneIob
2022-08-08 11:23:00 +02:00
Philoul 38e635a28a Fix NPE AutotuneIob 2022-08-07 18:54:13 +02:00
Milos Kozak aa9543a0d2 DK language 2022-08-06 13:42:34 +02:00
Milos Kozak 5de6f0df11
Merge pull request #1992 from nightscout/dynisf
DynISF: move calc to kotlin, cleanup
2022-08-06 13:09:41 +02:00
Milos Kozak 13b48d1014 DynISF: move calc to kotlin, cleanup 2022-08-06 13:09:01 +02:00
Milos Kozak 1731228c81 3.1.0.3-dev-a 2022-08-05 17:34:55 +02:00
Milos Kozak b0cc056b41 fix HistryBrowser 2022-08-05 17:34:22 +02:00
Milos Kozak 9a8d2f88da fix tests 2022-08-05 14:42:24 +02:00
Milos Kozak 401f2d4290 RL: fix indexoutofbounds 2022-08-05 14:36:33 +02:00
Milos Kozak d39fc1ddf9 OverviewMenus synchronized 2022-08-05 14:20:39 +02:00
Milos Kozak fed18bc969
New Crowdin updates (#1958)
* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Danish)

* New translations exam.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 (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Polish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

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

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese)

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

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

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

* Update source file strings.xml

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Norwegian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* Update source file strings.xml

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations exam.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations exam.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Norwegian)

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Russian)
2022-08-05 14:10:40 +02:00
Milos Kozak c62f089f0e
Merge pull request #1987 from nightscout/dependabot/gradle/dev/com.android.tools.build-gradle-7.2.2
chore(deps): bump gradle from 7.2.1 to 7.2.2
2022-08-04 13:40:09 +02:00
Milos Kozak c5425196f1 fix warning 2022-08-04 10:32:00 +02:00
Milos Kozak 7ae066dde2 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-08-04 10:29:01 +02:00
Milos Kozak b97f1abff3 fix warning 2022-08-04 10:28:53 +02:00
dependabot[bot] e0274f9e7d
chore(deps): bump gradle from 7.2.1 to 7.2.2
Bumps gradle from 7.2.1 to 7.2.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 08:06:59 +00:00
Milos Kozak c8ab464b6e
Merge pull request #1977 from thecubic/omnieros-noactivate
[omnipod-eros] moot basal set before pod basal activation
2022-08-04 10:02:52 +02:00
Dave Carlson 559fc0b589 change to isCompleted for simplicity 2022-08-03 16:50:12 -07:00
Milos Kozak 1bb1467455
Merge pull request #1985 from p5nbTgip0r/fix-alarm-loop
Fix pump unreachable alarm loop
2022-08-03 14:14:17 +02:00
p5nbTgip0r d7ad74056d
fix: don't restart alarm sound service automatically
This sets the alarm sound service to not be sticky. If AAPS is stopped while an alarm is playing, the alarm sound service will be started again by the system but there's no built-in way to stop it after this happens. This commit makes it so the alarm sound service won't be restarted by Android, thereby avoiding the aforementioned issue.
2022-08-01 20:13:48 -07:00
Milos Kozak dfbe0ba0e6 Insight: prevent NPE 2022-08-01 21:10:25 +02:00
Milos Kozak 495a006632 DataLayerListenerServiceMobileHelper 2022-08-01 21:07:48 +02:00
Milos Kozak 9d0de0150b cleanup 2022-08-01 20:15:03 +02:00
Milos Kozak e920b6bc2d Glunovo: catch SecurityException 2022-08-01 16:40:52 +02:00
Milos Kozak 1b3bb6ecdd full clone of AS data 2022-08-01 16:22:04 +02:00
Carlos Rafael Giani 941f3e27a2 Add androidx.lifecycle:lifecycle-viewmodel to android module dependencies
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani d8842340b3 logging: Add functions that accept custom class/method/linenum values
These are meant for integrating other loggers into AAPSLogger.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani 0c486e01cf sharedPreferences: Add utility delegates
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani 6ef9b0c135 interfaces: Extend SP with edit block like androidx.core.content.edit
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani 8a3679a3c7 interfaces: Pump interface documentation improvements
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Carlos Rafael Giani c1bd53c9a9 overview: Use localized insulin unit in StatusLightHandler 2022-08-01 15:37:50 +02:00
Carlos Rafael Giani 9b1b797d09 IDEA/Android Studio: Disallow wildcard imports
Wildcard imports are generally discouraged for these reasons:

(Source: https://jiga.dev/avoiding-wildcard-imports-in-java-kotlin-with-intellij/)

* Explicit imports clearly states what external classes the current class
  is directly using, provided that you don’t leave redundant imports
  in your code.

* If there are two classes with the same name from different packages,
  it can introduce collision when using wildcard imports.

* When multiple people are working in a project, wildcard imports can
  create confusion as to which classes are actually imported.

Also note that ktlint has a rule against wildcard imports.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-08-01 15:37:50 +02:00
Milos Kozak 65719b79d2 catch IllegalStateException 2022-08-01 14:56:04 +02:00