Commit graph

7599 commits

Author SHA1 Message Date
Philoul
3e63d32d60 Add missing function in DatabaseHelper
getExtendedBolusDataFromTime(long from, long to, boolean ascending)
=> I need it for autotune plugin...
2020-05-04 10:40:22 +02:00
Philoul
d44bc87d1b Fix Crash TemporyBasal
Injector missing with extendedbolus
2020-05-04 10:15:21 +02:00
Milos Kozak
2fb0198418 RxBus -> core 2020-05-04 01:36:46 +02:00
Milos Kozak
e1ddde9697 FabricPrivacy -> core 2020-05-04 01:27:47 +02:00
Milos Kozak
5be4a5dd97 AAPSLogger -> core 2020-05-04 00:42:13 +02:00
Milos Kozak
99907ed029 SP -> core 2020-05-04 00:33:27 +02:00
Milos Kozak
7e6f82d068 Lgging cleanup 2020-05-04 00:14:23 +02:00
Milos Kozak
db16434154 build.gradle unify 2020-05-03 22:18:58 +02:00
Milos Kozak
53383461f0 core module 2020-05-03 21:27:42 +02:00
Milos Kozak
591cef11e5
2.6.1.3 2020-05-03 19:48:48 +02:00
TebbeUbben
abb9505122 Insight: Disable vibration on bolus for firmware version 3 2020-05-03 18:52:26 +02:00
Milos Kozak
c17f8d10ad split dependency to IconsProvider 2020-05-03 17:50:33 +02:00
Andy Rozman
02366cad62 - small cosmetic change 2020-05-03 16:02:41 +01:00
Milos Kozak
a5f384f07f forgotten code 2020-05-03 16:10:48 +02:00
Milos Kozak
22d8b6bcff Merge remote-tracking branch 'origin/dev' into rs 2020-05-03 15:37:02 +02:00
Milos Kozak
027bc64f0f Skins 2020-05-03 15:04:08 +02:00
Bart Sopers
57be461fd4 Don't keep next Pod address in AapsOmnipodManager 2020-05-03 13:59:33 +02:00
Bart Sopers
5b96e18234 Don't log full stack trace of ignored Exception in OmnipodCommunicationService.exchangePackets 2020-05-03 13:50:11 +02:00
Bart Sopers
b676638942 Remove next pod address after succesful pairing 2020-05-03 13:43:06 +02:00
Bart Sopers
e01ac6f6be Fix failing Omnipod test cases 2020-05-03 13:37:50 +02:00
Bart Sopers
79d64dff64 Use static Pod address in between pairing retries and remove unused methods from OmnipodUtil 2020-05-03 13:31:19 +02:00
Bart Sopers
a0b4e0c7ce Update PodProgressStatus values to match Omnikit Wiki 2020-05-03 12:59:24 +02:00
Andy Rozman
7df0bdd82c - removed tests, they need to be reworked 2020-05-03 11:59:09 +01:00
Andy Rozman
97ca0a2a2f - fixed test 2020-05-03 11:35:47 +01:00
Andy Rozman
91b3b67104 - fix the test 2020-05-03 11:01:40 +01:00
Milos Kozak
75251e3870 cache more pages in Pager 2020-05-03 01:06:36 +02:00
Milos Kozak
818e7cd6b6 Merge remote-tracking branch 'origin/dev' into layout 2020-05-03 00:32:30 +02:00
Milos Kozak
8fe57c9d7a unify layouts 2020-05-03 00:32:26 +02:00
Andy Rozman
634042b40d - omnipod eros driver and REQUIRED changes 2020-05-02 21:49:15 +01:00
Andy Rozman
0149378b13 - clean up after merge prepare 2020-05-02 21:42:49 +01:00
Milos Kozak
2723e6615d main layout finished 2020-05-02 20:37:37 +02:00
Andy Rozman
037d9e88df Merge branch 'dev' into omnipod_eros_dev_dagger 2020-05-02 15:30:59 +01:00
AdrianLxM
9995e7448b RandomBGPlugin - stay between min and max
The sinus is in interval [-1,1].
If we shift it by one interval it would map it to 0 to 2 times the interval -> divide by two.
2020-05-02 12:30:22 +02:00
Milos Kozak
9ed1a9ba69
Merge pull request #2607 from MilosKozak/AdrianLxM-patch-2
Removed internal function
2020-05-02 12:28:13 +02:00
Milos Kozak
2e50e4196d Merge remote-tracking branch 'origin/dev' into layout 2020-05-02 12:23:22 +02:00
Tim Gunn
5048111d1d
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into LGS 2020-05-02 21:53:59 +12:00
Andy Rozman
ce48bba868 Merge branch 'dev' into omnipod_eros_dev_dagger
Added Module Omnipod
2020-05-02 10:52:52 +01:00
Tim Gunn
40519b92a2
Fix further tests 2020-05-02 21:22:21 +12:00
Milos Kozak
9efbbd3c17 clanup 2020-05-02 10:49:55 +02:00
Tim Gunn
4c2fdef71a
Fix tests 2020-05-02 19:13:16 +12:00
Tim Gunn
0bbdca3b4a
Add test 2020-05-02 14:50:53 +12:00
Milos Kozak
bce3d3b6b9 Verify RSv1 password 2020-05-02 00:17:39 +02:00
Tim Gunn
5c38762178
Format code so its easier to read 2020-05-02 01:55:11 +12:00
Tim Gunn
9e2c3255e2
Remove not needed getter function 2020-05-02 01:54:46 +12:00
Tim Gunn
96757145bf
Use auto getter method 2020-05-02 01:54:08 +12:00
Tim Gunn
560a081c7c
Inherit from HardLimits class 2020-05-02 01:50:35 +12:00
Tim Gunn
b54e1a0af3
Add LGS 2020-05-02 00:07:24 +12:00
Tim Gunn
01e8934f7a
Add deterministic LGS function 2020-05-02 00:05:50 +12:00
Andy Rozman
48572d64fc - fully daggerized omnipod 2020-05-01 10:55:48 +01:00
Milos Kozak
9a929e4bcb aps status 2020-04-30 23:33:13 +02:00
Milos Kozak
25cc09ec26 Merge remote-tracking branch 'origin/dev' into rs 2020-04-30 18:40:28 +02:00
Milos Kozak
585b45fb97 MainApp cleanup 2020-04-30 18:39:52 +02:00
Milos Kozak
ddd58c37a3 move ongoing notification to extra class 2020-04-30 17:56:40 +02:00
Milos Kozak
18820441a4 remove some deprecated calls 2020-04-30 10:55:10 +02:00
Milos Kozak
42cfd87a2b injection cleanup 2020-04-30 00:37:58 +02:00
Milos Kozak
a5108ca4c4 RS injection refactor 2020-04-29 23:27:48 +02:00
Andy Rozman
4d39cbba95 - daggerizing omnipod 2020-04-29 17:35:55 +01:00
Andy Rozman
b1a220499d Merge branch 'dev' into omnipod_eros_dev_dagger
Refcator omnipod to work with Dagger - Phase 2
2020-04-29 16:40:53 +01:00
AdrianLxM
acf9f05928
Removed internal function
TypedArrayUtils is marked as `@RestrictTo(LIBRARY_GROUP_PREFIX)`.
getAttr() will chose between the two parameters, so if both are the same has no functionality anyway.
2020-04-29 00:39:20 +02:00
Bart Sopers
a0e5ec74fa Improve exception handling 2020-04-29 00:10:53 +02:00
Milos Kozak
90f08279d3 Merge remote-tracking branch 'origin/dev' into rs 2020-04-29 00:07:25 +02:00
Bart Sopers
b482f0690f WIP on always retrying 0x07 and 0x03 messages together 2020-04-29 00:01:11 +02:00
Bart Sopers
b515fbae92 Update VersionResponse 2020-04-28 23:11:32 +02:00
Milos Kozak
99f6741f78
Merge pull request #2604 from MilosKozak/mdtrefactor
MDT refactor
2020-04-28 10:23:48 +02:00
Milos Kozak
0aa8a4b270
New Crowdin translations (#2584)
* New translations protection.xml (Czech)

* New translations protection.xml (German)

* New translations validator.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 (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations protection.xml (Portuguese)

* New translations validator.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations protection.xml (Portuguese, Brazilian)

* New translations validator.xml (Portuguese, Brazilian)

* New translations validator.xml (Portuguese, Brazilian)

* New translations validator.xml (Portuguese)

* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese)

* New translations protection.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations protection.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Slovak)

* New translations protection.xml (Slovak)

* New translations strings.xml (Slovak)

* New translations validator.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations protection.xml (Russian)

* New translations validator.xml (Russian)

* New translations objectives.xml (Portuguese)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations objectives.xml (German)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Russian)

* New translations objectives.xml (Russian)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations objectives.xml (Portuguese)

* New translations objectives.xml (Portuguese, Brazilian)

* New translations objectives.xml (Russian)

* New translations objectives.xml (German)

* New translations strings.xml (German)

* New translations objectives.xml (German)

* New translations objectives.xml (Czech)

* New translations objectives.xml (Russian)

* New translations objectives.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Romanian)

* New translations exam.xml (Lithuanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations validator.xml (Swedish)

* New translations protection.xml (Swedish)

* New translations objectives.xml (Swedish)

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

* New translations strings.xml (Lithuanian)

* New translations strings.xml (French)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Czech)

* New translations objectives.xml (Portuguese)

* New translations validator.xml (Italian)

* New translations objectives.xml (Italian)

* New translations objectives.xml (Bulgarian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations objectives.xml (Italian)

* New translations protection.xml (Italian)

* New translations validator.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* New translations objectives.xml (Slovak)

* New translations objectives.xml (Polish)

* New translations protection.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Slovak)

* New translations strings.xml (French)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations protection.xml (French)

* New translations objectives.xml (French)

* New translations validator.xml (French)
2020-04-28 09:43:12 +02:00
Milos Kozak
789d520606 fix preference processing 2020-04-28 09:08:03 +02:00
Milos Kozak
bb39dd994a fix logging 2020-04-28 00:48:43 +02:00
Milos Kozak
a2ebcb5ff0 remove some static dependencies 2020-04-27 23:55:06 +02:00
Milos Kozak
7b773ae800 remove unused test 2020-04-27 23:32:54 +02:00
Andy Rozman
67a41dedc4 - added activities to ActivitiesModule
- fixed RileyLinkBLEScanActivity to work with omnipod
2020-04-27 22:22:19 +01:00
Bart Sopers
5d25e39dd1 Verify the message address before accepting 2020-04-27 23:14:00 +02:00
Milos Kozak
1b21b74878 MDT refactor pass 17 2020-04-27 23:02:12 +02:00
Bart Sopers
b8f2fdc7a8 Small cleanup 2020-04-27 22:55:31 +02:00
Bart Sopers
45ef41d1a3 Accept packets with a packet address of 0xFFFFFFFF to match PDM & Pod 2020-04-27 22:51:44 +02:00
Bart Sopers
ed1efe8944 Properly decode non-nonce error responses and some renaming/cleanup 2020-04-27 22:30:51 +02:00
Milos Kozak
52e0e3ec51 MDT refactor pass 16 2020-04-27 22:19:50 +02:00
Milos Kozak
a3278d53c3 MDT refactor pass 15 2020-04-27 21:41:24 +02:00
Milos Kozak
975f61563c MDT refactor pass 14 2020-04-27 21:14:45 +02:00
Milos Kozak
dbb7570de7 MDT refactor pass 13 2020-04-27 20:22:00 +02:00
Milos Kozak
e21b1e4d3d MDT refactor pass 12 2020-04-27 18:44:41 +02:00
Andy Rozman
f23680cee5 - dagger fixes 2020-04-27 17:21:46 +01:00
Milos Kozak
6add8a8d86 MDT refactor pass 11 2020-04-27 18:14:06 +02:00
Milos Kozak
85558620fc MDT refactor pass 10 2020-04-27 16:23:05 +02:00
Milos Kozak
7e712bd612 MDT refactor pass 9 2020-04-27 15:18:59 +02:00
Milos Kozak
30e7f8ed38 MDT refactor pass 8 2020-04-27 14:30:38 +02:00
Milos Kozak
f686c81115 MDT refactor pass 7 2020-04-27 13:24:35 +02:00
Milos Kozak
7b9247b1a0 MDT refactor pass 6 2020-04-27 12:25:07 +02:00
Milos Kozak
3598e00290 MDT refactor pass 5 2020-04-27 10:33:03 +02:00
Milos Kozak
e2e0de25bc MDT refactor pass 4 2020-04-27 01:12:04 +02:00
Milos Kozak
331c1c3ab5 MDT refactor pass 3 2020-04-26 23:52:29 +02:00
Andy Rozman
0b8168a62f - refactor RileyLinkOmnipodService 2020-04-26 21:50:47 +01:00
Milos Kozak
0d063ca73f MDT refactor pass 2 2020-04-26 22:47:13 +02:00
Bart Sopers
9a5cd3c902 Add some checks and logging in Omnipod packet and message exchange 2020-04-26 21:11:47 +02:00
Andy Rozman
54354fad89 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-26 19:00:49 +01:00
Andy Rozman
c1c29da835 - added Omnipod loader 2020-04-26 18:28:00 +01:00
Milos Kozak
c0f6f1a5e9 remove unused tests 2020-04-26 17:01:31 +02:00
Milos Kozak
2eb0122dd6 Merge remote-tracking branch 'origin/mdtrefactor' into dev 2020-04-26 16:17:19 +02:00
Andy Rozman
a805f5b827 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-26 11:17:15 +01:00
Milos Kozak
777dd9f91d
Merge pull request #2596 from AAPS-Omnipod/dagger_omnipod_common
Dagger omnipod common
2020-04-26 10:51:54 +02:00
Milos Kozak
6e83f9e153 fix tests 2020-04-26 10:24:25 +02:00
Milos Kozak
0bbc44ac08 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-25 22:59:41 +02:00
Milos Kozak
d86c5f1dd2 BatteryLevel -> ChargingStateReceiver 2020-04-25 22:59:22 +02:00
AdrianLxM
3bd4e4d394 plugin as map not set 2020-04-25 22:31:39 +02:00
Andy Rozman
973403e944 - changes from omnipod tree
- changed PumpInterface for TimeDateOrTZChangeReceiver changes, and changes on all the pumps (method name and parameters)
    - some RL changes
    - added something to profile
2020-04-25 21:10:58 +01:00
Milos Kozak
403c609319 migrate to ViewPager2 2020-04-25 21:52:20 +02:00
Andy Rozman
3bb3c39db3 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-25 16:55:50 +01:00
Andy Rozman
387a134795 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-25 16:55:07 +01:00
Milos Kozak
edcc95a5bc Refactor deprecated 2020-04-25 17:20:12 +02:00
Andy Rozman
1c0ba4ae5c - gradle change 2020-04-25 14:26:59 +01:00
Milos Kozak
e8f69fc1c0 pass 1 2020-04-25 09:23:19 +02:00
Milos Kozak
c84e7ec326 fix tests 2020-04-24 23:23:39 +02:00
Milos Kozak
b87155ead4 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-24 23:04:18 +02:00
Milos Kozak
29f71f283d Merge remote-tracking branch 'origin/dev' into rs 2020-04-24 23:03:46 +02:00
Milos Kozak
8db0dbd78d Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-24 22:40:11 +02:00
Milos Kozak
752a49573c ConfigBuilder refactor 2020-04-24 22:39:56 +02:00
AdrianLxM
e7fbbd47d5 add address to EventBTChange 2020-04-24 19:09:42 +02:00
Milos Kozak
e95d6116a8 allow null BT name 2020-04-24 18:36:39 +02:00
Milos Kozak
8f8fe39bfe typo 2020-04-24 16:22:43 +02:00
Milos Kozak
dec419b4c8
Merge pull request #2588 from AAPS-Omnipod/dagger_medtronic
- fix for dagger injection of RileyLinkMedtronicService (removed dupl…
2020-04-24 16:19:02 +02:00
Andy Rozman
fae7e947a5 - fix for dagger injection of RileyLinkMedtronicService (removed duplicate variables), and moved code to different location, because we can use injected variables before onCreate is called 2020-04-24 15:06:17 +01:00
Milos Kozak
daa8fa62be HistoryBrowser refactor 2020-04-24 15:55:06 +02:00
Andy Rozman
f5b43454eb -dd 2020-04-24 12:11:16 +01:00
Andy Rozman
a3b0c8ce3b - changed code to use dagger 2020-04-24 11:00:31 +01:00
Milos Kozak
55ecac882d translatable=false 2020-04-24 10:46:43 +02:00
Milos Kozak
7b4cba14d1 Merge remote-tracking branch 'origin/dev' into rs 2020-04-23 23:54:21 +02:00
Milos Kozak
e068bf4337 StatusLights thresholds adjustable in preferences 2020-04-23 22:54:28 +02:00
Milos Kozak
639dfd3f77 remove unused code 2020-04-23 02:48:38 +02:00
Milos Kozak
9d83ff0cc3 StatusLights cleanup 2020-04-23 02:42:50 +02:00
Bart Sopers
37c1d30ecc Merge branch 'omnipod_eros_dev' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-04-23 01:21:19 +02:00
Andy Rozman
37590338ff Merge branch 'omnipod_eros_dev' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-04-22 12:53:02 +01:00
Andy Rozman
4d408f55b9 - Date change for RL History 2020-04-22 12:52:25 +01:00
Milos Kozak
1481755bc8 tests 2020-04-21 22:33:48 +02:00
Milos Kozak
07e681f35f Merge branch 'dev' into rs 2020-04-21 22:20:27 +02:00
Milos Kozak
92ed678b6e Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-21 22:20:14 +02:00
Milos Kozak
74b7eba450 fix devicestatus upload 2020-04-21 22:19:43 +02:00
Milos Kozak
733370a126 fix NPE in NetworkChangeReceiver 2020-04-21 22:02:38 +02:00
Milos Kozak
ee13848928 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-04-21 21:41:57 +02:00
Milos Kozak
e97aafb143 setDeviceCredentialAllowed disabled 2020-04-21 21:39:11 +02:00
Milos Kozak
1ed2923119
Merge pull request #2586 from xJoe/dev
auto_gate docs + link
2020-04-21 20:10:03 +02:00
Milos Kozak
695ba6826b missing runOnUiThread 2020-04-21 20:08:12 +02:00
Milos Kozak
05433d7b3e Merge remote-tracking branch 'origin/dev' into rs 2020-04-21 19:32:34 +02:00
Milos Kozak
2beb1b1c3d missing SmsReceiver injection 2020-04-21 19:31:11 +02:00
Milos Kozak
d2c9f13932 better password processing, master password to setup wizard 2020-04-21 14:50:28 +02:00
xJoe
365a270ece
auto_gate docs + link
docs instead of wiki + link to wiki page
2020-04-21 11:50:44 +02:00
Milos Kozak
d0ac5502ea Merge branch 'dev' into rs 2020-04-21 11:23:42 +02:00
Milos Kozak
a3322dec1e replace deprecated Firebase constant 2020-04-21 11:09:28 +02:00
Milos Kozak
b3db476533 Merge remote-tracking branch 'origin/dev' into rs 2020-04-21 10:57:04 +02:00
Milos Kozak
8cc51abae9 allow start of objective when all previous are finished 2020-04-21 10:52:40 +02:00
Milos Kozak
3d68b28179 objective 11 automation 2020-04-21 10:32:14 +02:00
Milos Kozak
e526ad4617 model string 2020-04-20 21:28:29 +02:00