Commit graph

5726 commits

Author SHA1 Message Date
Milos Kozak
42cfd87a2b injection cleanup 2020-04-30 00:37:58 +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
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
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
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
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
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
Milos Kozak
e8f69fc1c0 pass 1 2020-04-25 09:23:19 +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
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
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
a3b0c8ce3b - changed code to use dagger 2020-04-24 11:00:31 +01:00
Milos Kozak
e068bf4337 StatusLights thresholds adjustable in preferences 2020-04-23 22:54:28 +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
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
e97aafb143 setDeviceCredentialAllowed disabled 2020-04-21 21:39:11 +02:00
Milos Kozak
695ba6826b missing runOnUiThread 2020-04-21 20:08:12 +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
Milos Kozak
a3322dec1e replace deprecated Firebase constant 2020-04-21 11:09:28 +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
ccfe03e177 abs insulin tests 2020-04-20 19:27:54 +02:00
Milos Kozak
2517a10a5c Show Absolute insulin 2020-04-20 14:18:39 +02:00
Milos Kozak
228bd76e78 No protection by default 2020-04-20 01:18:10 +02:00
Bart Sopers
355b833cb2 Rename ConfigurePod* classes to SetupPod* 2020-04-19 23:44:56 +02:00
Milos Kozak
23937a7278
Merge branch 'dev' into dagger3 2020-04-19 14:17:37 +02:00
Bart Sopers
836bc62c65 Fix test and remove some unused classes in Omnipod driver 2020-04-18 19:51:28 +02:00
Johannes Mockenhaupt
e17d10f258
InsightAlertservice: handle nullable intent. 2020-04-15 00:05:26 +02:00
Johannes Mockenhaupt
04b324fd19
Android notification: make longer text readable.
If text is longer than one line, this change allows expanding the notification to make the entire text readable.
2020-04-11 00:24:00 +02:00
Johannes Mockenhaupt
e0ac080583
RuffyScripter: adjust some log levels. 2020-04-11 00:24:00 +02:00
Johannes Mockenhaupt
65ca6cf895
ComboPlugin: fix handling benin warnings.
This change provides usable input to the check* methods. Since a dummy PumpState is returned when a command runs into a warning/alarm on the pump, the checkAndResolveTbrMismatch() reads that no TBR is active and creates a TBR-end record in the DB, which is wrong (and yes, returning a dummy PumpState rather than returning and handling null is a questionable design decision). Effectively this is only a concern when AAPS confirms a low cartridge or low battery alarm, so it's impact is small.
2020-04-11 00:23:59 +02:00
Milos Kozak
695e23c3bd Merge branch 'dagger3' of https://github.com/MilosKozak/AndroidAPS into dagger3 2020-04-08 20:30:08 +02:00
Milos Kozak
4768807a08 fix NPE 2020-04-08 20:24:22 +02:00
Milos Kozak
f1b3471cf4
Merge pull request #2550 from Tornado-Tim/AS0ref
Autosens Upgrade
2020-04-08 17:28:39 +02:00
Milos Kozak
0585ba80fa Cleanup 2020-04-08 14:03:57 +02:00
Milos Kozak
1bed02a030 Forgotten change 2020-04-07 18:23:07 +02:00
Milos Kozak
4644159c82 Use coroutines for graph processing 2020-04-07 14:15:30 +02:00
Milos Kozak
a4e7d1ee1f
Merge branch 'dagger3' into AS0ref 2020-04-07 12:49:21 +02:00
Milos Kozak
4c0601bf46
Merge pull request #2555 from Tornado-Tim/refractor-algo
Refactor Algorithms (MA removal)
2020-04-07 11:59:11 +02:00
Milos Kozak
a10a62fc81 Merge branch 'dagger3' of https://github.com/MilosKozak/AndroidAPS into dagger3 2020-04-07 11:56:15 +02:00
Milos Kozak
93784fc8be Multiple graph support 2020-04-07 11:55:56 +02:00
Dominik Dzienia
9dca938698 Refactored CryptoUtil to make it injectable and more testable
Added checks for vanilla JVM AES 256 issues in tests
2020-04-06 23:48:25 +02:00
Tim Gunn
b009c7bed2
Move the APS logger to its own package 2020-04-06 22:01:15 +12:00
Tim Gunn
bebe9015e8
Remove MA 2020-04-06 22:00:17 +12:00
Milos Kozak
731bd1c8cb
Merge pull request #2228 from Tornado-Tim/update-oref
Update Oref to 0.7.0
2020-04-06 09:45:15 +02:00
Milos Kozak
9f58270f88
Merge pull request #2553 from dlvoy/dagger3-patient-name
Introduced Patient name, refactored SMS OTP and Prefs Export to use it
2020-04-06 09:44:20 +02:00
Milos Kozak
2995999989 Merge remote-tracking branch 'origin/dev' into dagger3 2020-04-06 00:19:12 +02:00
Dominik Dzienia
f1770c093b Introduced Patient name, refactored SMS OTP and Prefs Export to use it 2020-04-05 21:35:19 +02:00
Winfried Kuiper
98af8531f0
Typo in log message (#2547) 2020-04-05 21:11:13 +02:00
Tim Gunn
d960cb038f
Remove options from exam that are no longer available 2020-04-05 22:10:25 +12:00
Tim Gunn
f707c72634
Remove oref0 sensitivity 2020-04-05 22:02:37 +12:00
Milos Kozak
e664ee027d
Merge pull request #2548 from dlvoy/dagger3-otpfix
Fixed crash on pre-26 API due to lack of java.time.Duration in depenent OTP lib
2020-04-05 10:04:59 +02:00
Milos Kozak
312d863e38 OverviewFragment refactor 2020-04-05 10:04:21 +02:00
Tim Gunn
1509fe2dea
merge into dagger 2020-04-05 14:22:19 +12:00
Tim Gunn
0a8d456d01
Merge branch 'update-oref' of github.com:Tornado-Tim/AndroidAPS into AS0ref 2020-04-05 14:21:20 +12:00
Dominik Dzienia
033ca414f7 Fixed crash on pre-26 API due tu lack of java.time.Duration in dependent OTP lib 2020-04-05 01:37:05 +02:00
Andy Rozman
88554ee376 Merge branch 'dev' into omnipod_eros_dev 2020-04-04 20:25:09 +01:00
Andy Rozman
b689ddfc99 - changed PumpType 2020-04-04 17:15:06 +01:00
Tim Gunn
acab0b87be
Merge branch 'dagger3' of github.com:MilosKozak/AndroidAPS into update-oref 2020-04-05 00:45:47 +13:00
Milos Kozak
3a2d486976 Move Overview menus to separate class 2020-04-03 21:47:23 +02:00
Milos Kozak
aeb18e0b7c Fix others flavors 2020-04-03 12:09:57 +02:00
Milos Kozak
ff67c44e8f process passwords in preferences correctly 2020-04-02 19:14:50 +02:00
Milos Kozak
7ab5bea93d allow multiple user notifications 2020-04-02 19:04:22 +02:00
Milos Kozak
dbc199d00c Merge branch 'dagger3' of https://github.com/MilosKozak/AndroidAPS into dagger3 2020-04-02 18:48:49 +02:00
Milos Kozak
615b025600 Merge branch 'pull/2542' into dagger3 2020-04-02 18:48:37 +02:00
Milos Kozak
64ee80b48b
Merge pull request #2545 from dlvoy/dagger3-encprefs
Preferences Encryption
2020-04-01 23:31:29 +02:00
Dominik Dzienia
3565ef9fbc Code cleanup 2020-04-01 22:12:52 +02:00
Milos Kozak
c765654d6a MainActivity -> kt 2020-04-01 21:10:48 +02:00
Dominik Dzienia
f532341ccc Post review fixes 2020-04-01 20:34:05 +02:00
Milos Kozak
3d2d716bae libraries update 2020-04-01 16:13:08 +02:00
Dominik Dzienia
1c97f8a720 Preferences Encryption:
- encrypted JSON format support
 - using master password & password prompt
- refactored alerts
2020-04-01 13:59:10 +02:00
dlvoy
fde84207ab Preferences Encryption - export as JSON 2020-04-01 13:02:09 +02:00
TebbeUbben
f4b7f642c9 Register plugins with Dagger 2020-04-01 09:19:06 +02:00
Milos Kozak
bc5a089c5f GraphData refactor 2020-04-01 09:07:36 +02:00
Milos Kozak
56d0d2850d remove some dependencies 2020-03-31 21:54:49 +02:00
Milos Kozak
6b80645e06 ChargingStateReceiver refactor 2020-03-31 20:22:32 +02:00
Milos Kozak
e5d7ffb53f DismissNotificationService refactor 2020-03-31 16:09:49 +02:00
Milos Kozak
e755ea4662 Remove deprecation warning 2020-03-31 15:55:30 +02:00
Milos Kozak
7e6501bded Logging in tests 2020-03-31 15:49:57 +02:00
Milos Kozak
416f5b7cab AutoStartReceiver refactor 2020-03-31 10:18:53 +02:00
Milos Kozak
533433afd8 DataService refactor 2020-03-31 10:10:48 +02:00
Milos Kozak
51d363d467 TimeDateReceiver cleanup 2020-03-31 09:48:46 +02:00
Milos Kozak
2aea486409 NetworkChangeReceiver refactor 2020-03-31 09:20:58 +02:00
Roumen Georgiev
b95f882956 initial work 2020-03-30 15:53:12 +03:00
Milos Kozak
969f713914 AndroidPermission refactor 2020-03-30 13:14:24 +02:00
Milos Kozak
caae6ab078 typo 2020-03-30 10:13:26 +02:00
Milos Kozak
23946f6c2a Remove deprecation 2020-03-30 10:10:50 +02:00
Milos Kozak
71be72cd03 Logging cleanup 2020-03-30 09:40:04 +02:00
Milos Kozak
ddd9110912 LocaleHelper dependency remove 2020-03-30 00:57:33 +02:00
Milos Kozak
d1ee12fafc replace deprecated calls 2020-03-29 23:52:24 +02:00
Milos Kozak
f25e871a91 improve leap day behavior 2020-03-29 23:38:58 +02:00
Milos Kozak
a5a5f048ea move buttons visibility processing to extra function 2020-03-27 22:30:08 +01:00
Milos Kozak
efbcbaf885 fix displaying overview buttons in pump suspend mode 2020-03-27 22:05:14 +01:00
Milos Kozak
c477649276 Fix wear preferences, expand single preference by default 2020-03-27 21:32:47 +01:00
Milos Kozak
3617885819 Fix WearFragment 2020-03-26 22:43:49 +01:00
Tim Gunn
ced46f6e1d
Final merge 2020-03-26 12:18:02 +13:00
Tim Gunn
d8ccaadc03
Merge branch 'dagger3' of github.com:MilosKozak/AndroidAPS into update-oref 2020-03-26 12:17:08 +13:00
Dominik Dzienia
c58c62d4bc Tost shown when password is set now show when password is not set at end (cancel) or unset 2020-03-25 14:47:28 +01:00