Commit graph

509 commits

Author SHA1 Message Date
Milos Kozak 42daad43f4 EROS: so not run commands on UI thread 2021-10-30 19:44:54 +02:00
Milos Kozak 414e57cc63 lints 2021-10-29 18:16:49 +02:00
Milos Kozak 35a33a3384 Merge branch 'dash-history' of https://github.com/0pen-dash/AndroidAPS into 0pen-dash-dash-history 2021-10-28 21:07: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
Andrei Vereha 7849f45b73 count the number of pod activations 2021-10-27 09:18:07 +02:00
Andrei Vereha 784f76ca30 use the original date for history, not the resolved date 2021-10-27 09:11:07 +02:00
Andrei Vereha abc051d64e fix alerts. fix display for basal rates 2021-10-26 22:53:20 +02:00
Andrei Vereha 45fb0a5a21 history updates: auto resolve history entried for activation. update history on deactivation. use the right history name for set_time 2021-10-26 22:53:20 +02:00
Andrei Vereha a51c49f81c create history records on pod activation. save basal profiles to history 2021-10-26 22:53:20 +02:00
Andrei Vereha 75f51b1408 ktlintFormat 2021-10-26 22:53:20 +02:00
Andrei Vereha 64682d01fc kotlin 2021-10-26 22:53:20 +02:00
Andrei Vereha 7a608c8146 display history 2021-10-26 22:53:20 +02:00
Andrei Vereha 6cd06edd29 display the correct time. display type 2021-10-26 22:53:20 +02:00
Andrei Vereha abfd71a4b8 ktlintFormat 2021-10-26 22:53:20 +02:00
Andrei Vereha 89a6a2d2ab kotlin 2021-10-26 22:53:20 +02:00
Andrei Vereha 80de823bfa kotlin 2021-10-26 22:53:20 +02:00
Andrei Vereha d1b2fa207c kotlin fixes 2021-10-26 22:53:20 +02:00
Andrei Vereha 269e94a8b5 get history 2021-10-26 22:53:20 +02:00
Andrei Vereha fdcf75c1d9 move to Kotlin 2021-10-26 22:53:20 +02:00
Philoul e161ef6bb9 Draft for Dash History 2021-10-26 22:53:20 +02:00
Andrei Vereha 15dfbe55e5 report 50 if reservoir level is >50 2021-10-26 18:45:02 +02:00
Sam Spycher 85f0ff4f67 fix: inverse comparator in dash history DAO for allSince & add AAPSLoggerTest 2021-10-18 01:15:14 +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 fd2dff6b52
Merge pull request #733 from 0pen-dash/avereha/set-time
handle timezone changes
2021-10-15 22:38:34 +02:00
Milos Kozak 857d75c0e6
Merge pull request #731 from 0pen-dash/avereha/fix-low-reservoir-alert
dash small fixes
2021-10-15 22:38:23 +02:00
Andrei Vereha 72f819b80d implement setTime. handle timezone changes 2021-10-15 18:09:31 +02:00
Milos Kozak 1f65ee38c7 RxBusWrapper -> RxBus 2021-10-15 14:56:22 +02:00
Andrei Vereha f48956fd0d fix warning 2021-10-14 22:10:50 +02:00
Andrei Vereha 883c2322d2 nicer 2021-10-14 22:09:13 +02:00
Andrei Vereha 60beb0f5b6 fixes: updateLowReservoirAlertSettings, call updateExpirationAlertSettings 2021-10-14 22:07:52 +02:00
Andrei Vereha 61c137b22b don't crash when bluetooth is not available 2021-10-14 21:28:31 +02:00
Milos Kozak 66e35ac83b
New Crowdin updates (#718)
* New translations strings.xml (Hebrew)

* Update source file strings.xml

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (German)

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

* New translations strings.xml (Czech)

* Update source file strings.xml

* New translations strings.xml (Romanian)

* New translations strings.xml (Dutch)

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

* New translations strings.xml (Portuguese)

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

* New translations strings.xml (Greek)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Spanish)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Korean)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Romanian)

* New translations strings.xml (Greek)

* New translations strings.xml (Italian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations validator.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Hebrew)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Hebrew)
2021-10-13 18:46:31 +02:00
Milos Kozak 7169c78225
Merge pull request #722 from 0pen-dash/dash
Dash updates
2021-10-10 16:16:17 +02:00
Andrei Vereha 5f1293ff96 Implement ShortStatus 2021-10-09 15:17:14 +02:00
Andrei Vereha 058ed9d79f getJSONstatus. format 2021-10-09 14:55:36 +02:00
Andrei Vereha 00de96cba3
Merge pull request #142 from 0pen-dash/avereha/fixes
Fixes
2021-10-09 13:07:25 +02:00
Andrei Vereha 9071068bad
Merge pull request #139 from vanelsberg/fixes-3refactored
Fixes-3 refactoring
2021-10-09 13:07:14 +02:00
Andrei Vereha 0853e98de6 check that deliveredBolus amount is positive 2021-10-09 13:02:06 +02:00
Andrei Vereha 3a2ac68a6f bugfix: bolusPulsesRemaining 2021-10-09 12:56:49 +02:00
Milos Kozak 59ecd1818d
New Crowdin updates (#714)
* Update source file strings.xml

* New translations strings.xml (German)

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

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Norwegian)

* Update source file strings.xml

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Swedish)

* New translations exam.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Romanian)

* New translations strings.xml (Swedish)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Irish)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations validator.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)
2021-10-07 23:30:16 +02:00
Theo van Elsberg 875cd893e2 Refactoring Pod constants:
- Const values now defined in "hours"
- Use TimeUnit().HOURS.toMinutes() method to convert
2021-10-06 23:41:16 +02:00
Theo van Elsberg 99ae6b4b84 PodConstants:
- Fixed type
- PRIMING/CANULLA/PULSE are the same, move to one single const
2021-10-06 11:33:47 +02:00
Andrei Vereha 03b051eb8c fix remaning units 2021-10-05 22:54:35 +02:00
Theo van Elsberg 30342f2e23 Move fixed values for expiration alerts to PodConstants 2021-10-05 00:07:09 +02:00
Theo van Elsberg 5ffe61d6c4 Move fixed values to PodConstants 2021-10-04 22:38:37 +02:00
Theo van Elsberg 0546976cbb Prevent connection quality to exceed 100% 2021-10-04 22:36:38 +02:00
Andrei Vereha 51c8c65222 ktlintFormat 2021-10-04 18:01:05 +02:00
Andrei Vereha 9ebb7cd82d Merge branch 'dash' of github.com:0pen-dash/AndroidAPS into avereha/fake-tbr 2021-10-04 17:56:25 +02:00
Milos Kozak 7a0dc362c4
New Crowdin updates (#703)
* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* Update source file strings.xml

* Update source file strings.xml

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* Update source file strings.xml

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (German)
2021-10-04 14:55:23 +02:00