Commit graph

780 commits

Author SHA1 Message Date
Andy Rozman 7c382f735b Merge branch 'dev' into bug798_meal_tbr 2021-11-10 23:41:37 +00:00
Milos Kozak 12f3e92698
Merge pull request #898 from nightscout/AdrianLxM/test-profile
make test profiles valid again
2021-11-10 15:42:13 +01:00
Milos Kozak 7b39fb1e69
Merge pull request #887 from dlvoy/fix/882_optimize_tdd_calculation
Speed up TDD statistics calculation
2021-11-10 15:40:21 +01:00
AdrianLxM b1bcc6428f
Update TestBaseWithProfile.kt 2021-11-10 14:09:49 +01:00
Milos Kozak f942e9a3c3 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-09 23:06:36 +01:00
Milos Kozak 5ae83c47c0 optimize screen refreshing 2021-11-09 23:06:24 +01:00
Dominik Dzienia c2c6bb810a Fixes #882 by aggregating DAO query for temporary basals and moving it outside loop 2021-11-09 19:51:22 +01:00
Milos Kozak aa58b37643 call connectNewPump() in NSClient mode 2021-11-09 18:13:41 +01:00
Milos Kozak 04de964e97 cleanup 2021-11-09 17:57:51 +01:00
Milos Kozak a5955b86f9 catch NPE 2021-11-08 16:38:07 +01:00
Milos Kozak 7cd136bf23 Prevent NPE 2021-11-08 16:27:47 +01:00
Milos Kozak 225797f430 fix units conversion 2021-11-08 15:05:27 +01:00
Milos Kozak 8f3f9a7a65 always upload TBR absolute 2021-11-07 22:50:34 +01:00
Milos Kozak cb4b4b5e21 add missing pump types, hide buttons in Action tab, fix configuration sync 2021-11-07 19:54:15 +01:00
Milos Kozak dcf3c9cc57 try to fix closed BolusProggressDialog and storing carbs if bolus was canceled 2021-11-07 18:15:15 +01:00
Milos Kozak 0db34981d4 rename CommandQueue 2021-11-07 17:19:06 +01:00
Milos Kozak e14fc44957 better sync TBR 2021-11-07 16:55:34 +01:00
Andy Rozman 0d0c5e116f - reverted PumpSync changes and database changes
- MedtronicPumpPlugin: added Synchronized to all pump commands
- fixing problem with Zero TBRs
- refactoring of TBRs a little: TempBasalProcessDTO
2021-11-06 16:03:07 +00:00
Milos Kozak 1cd2b33b3e
New Crowdin updates (#833)
* Update source file strings.xml

* New translations strings.xml (Hebrew)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations alert_descriptions.xml (Turkish)

* New translations alert_titles.xml (Turkish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations exam.xml (Turkish)

* New translations objectives.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations exam.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations validator.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Czech)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations exceptions.xml (Hungarian)

* New translations alert_titles.xml (Hungarian)

* New translations alert_descriptions.xml (Hungarian)

* New translations alert_codes.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations validator.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations objectives.xml (Hungarian)

* New translations exam.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations validator.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations exam.xml (Catalan)

* Update source file strings.xml

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations exam.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* New translations strings.xml (Bulgarian)

* New translations exam.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations alert_descriptions.xml (Bulgarian)

* New translations alert_titles.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations exam.xml (Catalan)

* New translations exam.xml (Catalan)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)
2021-11-05 23:24:39 +01:00
Milos Kozak 2b021ffafc BgQualityCheckPlugin 2021-11-05 13:16:23 +01:00
Milos Kozak ae2558deef expire after specified date 2021-11-04 13:50:14 +01:00
Milos Kozak 35c6ee38e5 allow profilestore units as a fallback 2021-11-04 13:30:31 +01:00
Milos Kozak 756957ed8c resourceHelper -> rh 2021-11-04 10:56:12 +01:00
Milos Kozak d06ae6b0bc resourceHelper -> rh 2021-11-04 09:32:34 +01:00
Milos Kozak bc14496cbd do not show notification for old TDD data 2021-11-02 13:41:55 +01:00
Milos Kozak 2582240556 fix TDD layout 2021-11-02 13:33:51 +01:00
Milos Kozak b4dec7195c more profile tweaking 2021-11-02 12:45:34 +01:00
Milos Kozak bb2fced905 fix NaN in statistics 2021-11-02 09:53:16 +01:00
Milos Kozak 7442774ab7 notify about wrong profiles from NS 2021-11-01 22:29:02 +01:00
Milos Kozak 561f88e4ff
New Crowdin updates (#800)
* New translations strings.xml (Romanian)

* New translations strings.xml (Tamil)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovenian)

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

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (German)

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (Irish)

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

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Russian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2021-11-01 17:17:28 +01:00
Milos Kozak ba9a5dc97b better handle wrong profile 2021-10-31 17:44:04 +01:00
Andy Rozman 63ddf99913 - TBR problem fix: when TBR is cancelled, if there is TBR with TemporalId waiting, we update duration on that item
- Bolus/SMB problem: extended pumpSync to add ignoreBolusTypeOnUpdate to both methods: syncBolusWithTempId, syncBolusWithPumpId
2021-10-31 12:39:23 +00:00
Milos Kozak c4765b42f0 enable logging of EVENTS again 2021-10-30 18:29:00 +02:00
Milos Kozak 8fe7e7ce2b report AAPS version to NSClient log 2021-10-29 18:41:25 +02:00
Milos Kozak 9842f5cd2f
New Crowdin updates (#799)
* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations exam.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations exam.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations exam.xml (Bulgarian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations validator.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations alert_descriptions.xml (Spanish)

* New translations alert_titles.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

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

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)
2021-10-28 21:03:55 +02:00
Milos Kozak a56bdcc7c8 AUTO: user actions & new layout 2021-10-28 20:22:13 +02:00
Milos Kozak 10078f1711 call biometricPrompt on UI 2021-10-26 14:15:28 +02:00
Milos Kozak 60c14cda21 NS: Sync BolusCalculatorResult 2021-10-25 14:17:06 +02:00
Milos Kozak 3b30f73209 fix NS profile sync 2021-10-24 00:20:07 +02:00
Milos Kozak 29da63d264 remove ClassicPrefsFormat 2021-10-19 23:20:50 +02:00
Milos Kozak 391cbb575c Eros: prevent DB access from UI thread 2021-10-19 21:19:25 +02:00
Milos Kozak 2e0c7e48ba do not create default profile at app start 2021-10-19 13:01:54 +02:00
Sam Spycher b5962ab07a Fix: prevent DB access on main thread for PumpSyncImplementation.expectedPumpState() 2021-10-18 22:02:57 +02:00
Milos Kozak 9c9d7e0ee8
New Crowdin updates (#741)
* New translations strings.xml (Swedish)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Swedish)

* New translations strings.xml (German)

* New translations strings.xml (Polish)
2021-10-17 18:50:12 +02:00
Milos Kozak d6849fc410
New Crowdin updates (#729)
* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations exam.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations validator.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations alert_descriptions.xml (Dutch)

* New translations alert_titles.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations exam.xml (Polish)

* New translations strings.xml (Polish)

* New translations exam.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations validator.xml (Polish)

* New translations strings.xml (Polish)

* New translations alert_descriptions.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Dutch)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Hebrew)

* New translations strings.xml (Slovak)

* Update source file strings.xml

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)
2021-10-17 12:55:45 +02:00
Milos Kozak 3093a84d65
Merge pull request #735 from Philoul/Fix/FixCrashExportCSV
Fix crash during csv export
2021-10-17 10:32:41 +02:00
Andrei Vereha b330e7af00 make processChangedGlucoseValuesCompat tailrec 2021-10-16 21:14:01 +02:00
Philoul 6e318cfaa0 Limit csv export to 90 days 2021-10-16 18:06:18 +02:00
Milos Kozak dabf4bf33c Application expired check 2021-10-16 13:02:31 +02:00
Philoul 58a6cd3c02 Avoid Crash in csv Export
Fix Translator if null objects sent
Add again @SerializedName removed in Temporaytarget and TherapyEvent
2021-10-16 12:35:47 +02:00