Commit graph

760 commits

Author SHA1 Message Date
Milos Kozak 585b45fb97 MainApp cleanup 2020-04-30 18:39:52 +02:00
Milos Kozak 18820441a4 remove some deprecated calls 2020-04-30 10:55:10 +02:00
Milos Kozak a5108ca4c4 RS injection refactor 2020-04-29 23:27:48 +02: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
Milos Kozak 90f08279d3 Merge remote-tracking branch 'origin/dev' into rs 2020-04-29 00:07:25 +02:00
Bart Sopers b515fbae92 Update VersionResponse 2020-04-28 23:11:32 +02:00
Milos Kozak 7b773ae800 remove unused test 2020-04-27 23:32:54 +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 30e7f8ed38 MDT refactor pass 8 2020-04-27 14:30:38 +02:00
Andy Rozman 54354fad89 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-26 19:00:49 +01:00
Milos Kozak c0f6f1a5e9 remove unused tests 2020-04-26 17:01:31 +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
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
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 29f71f283d Merge remote-tracking branch 'origin/dev' into rs 2020-04-24 23:03:46 +02:00
Milos Kozak 752a49573c ConfigBuilder refactor 2020-04-24 22:39:56 +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 7b4cba14d1 Merge remote-tracking branch 'origin/dev' into rs 2020-04-23 23:54:21 +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 164a092857 Merge remote-tracking branch 'origin/dev' into rs 2020-04-20 21:02:47 +02:00
Milos Kozak ccfe03e177 abs insulin tests 2020-04-20 19:27:54 +02:00
Bart Sopers 355b833cb2 Rename ConfigurePod* classes to SetupPod* 2020-04-19 23:44:56 +02:00
Milos Kozak f595560baa RS insulin and canula change logging 2020-04-19 12:57:08 +02:00
Bart Sopers 836bc62c65 Fix test and remove some unused classes in Omnipod driver 2020-04-18 19:51:28 +02:00
Milos Kozak 453a55db7b Merge remote-tracking branch 'origin/dagger3' into rs 2020-04-07 13:15:06 +02:00
Milos Kozak 61acfb8c92 Fix tests 2020-04-07 12:09:12 +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
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 bebe9015e8
Remove MA 2020-04-06 22:00:17 +12:00
Milos Kozak a8d76cef4c fix SmsPluginCommunicatorTest 2020-04-06 10:36:08 +02:00
Milos Kozak 0d89262dfa fix SmsPluginCommunicatorTest 2020-04-06 10:35:00 +02:00
Andy Rozman 88554ee376 Merge branch 'dev' into omnipod_eros_dev 2020-04-04 20:25:09 +01:00
Milos Kozak 013018ac7b Merge remote-tracking branch 'origin/dagger3' into rs 2020-04-02 22:06:17 +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
Dominik Dzienia 1c97f8a720 Preferences Encryption:
- encrypted JSON format support
 - using master password & password prompt
- refactored alerts
2020-04-01 13:59:10 +02:00
Milos Kozak 295ae79d20 Merge remote-tracking branch 'origin/dagger3' into rs 2020-03-31 21:16:37 +02:00
Milos Kozak 5b539fd906 remove unused code 2020-03-31 21:16:18 +02:00
Milos Kozak 6b80645e06 ChargingStateReceiver refactor 2020-03-31 20:22:32 +02:00
Milos Kozak e31d2041e3 Merge remote-tracking branch 'origin/dagger3' into rs 2020-03-31 15:51:02 +02:00
Milos Kozak 7e6501bded Logging in tests 2020-03-31 15:49:57 +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 91a8078954 Merge remote-tracking branch 'origin/dagger3' into rs 2020-03-30 01:01:24 +02:00
Milos Kozak f25e871a91 improve leap day behavior 2020-03-29 23:38:58 +02:00
Milos Kozak 0fa6273725 replace deprecated calls 2020-03-29 21:21:01 +02:00
Milos Kozak df03a8a2c0 DanaRSPlugin, DanaRSService -> kt, allign with R code 2020-03-29 11:40:57 +02:00
Milos Kozak a85ec262d3 Display Dana model 2020-03-28 22:40:56 +01:00
Milos Kozak 5e50ca8793 Improved switching between Dana pumps, code cleanup 2020-03-28 20:55:28 +01:00
Milos Kozak 502eb59089 Merge remote-tracking branch 'origin/dagger3' into rs 2020-03-27 21:49:20 +01:00
Milos Kozak 5ce8b998d9 RS v3 encryption 2020-03-26 20:25:20 +01:00
Dominik Dzienia 6e9ccc593f Support for master password and storing password as hashes (HMAC) instead of plaintext,
additional crypto utils with tests (partialy for in-progress pref export encryption),
changed PasswordCheck to more common UI and to use lambdas (will need given password in lambda callback for prefs enc)
2020-03-25 01:21:20 +01:00
Milos Kozak 7b0bc81c47 Upgrade RS encryption library 2020-03-24 09:01:10 +01:00
Milos Kozak 3dda4f8f9d fix tests 2020-03-21 23:19:21 +01:00
Milos Kozak 5a2821acac XdripCalibration -> dagger 2020-03-21 19:13:24 +01:00
Milos Kozak 1a485f9e11 FabricPrivacy & GraphData dagger 2020-03-21 15:09:14 +01:00
Milos Kozak 4abc53e7b8 kotlin cleanup 2020-03-20 18:13:07 +01:00
Milos Kozak 5c04780de1 Fix test 2020-03-20 17:42:56 +01:00
Milos Kozak 156d71da0a NSClientReceiverDelegateTest 2020-03-19 21:43:41 +01:00
Milos Kozak e8819897f3 ObjectivesPluginTest 2020-03-19 21:37:57 +01:00
Milos Kozak 89d1de9710 ProfileTest 2020-03-19 21:24:48 +01:00
Milos Kozak 2c3313ca54 PumpEnactResultTest 2020-03-19 20:57:56 +01:00
Milos Kozak 7ace6fe3ac QuickWizardTest 2020-03-19 20:38:25 +01:00
Milos Kozak 4f295fec4b More tests 2020-03-19 20:03:44 +01:00
Milos Kozak 451cea156f More tests 2020-03-19 18:02:24 +01:00
Milos Kozak e8af7b5ffc More tests 2020-03-19 08:45:59 +01:00
Milos Kozak c283531348 Dana messages tests 2020-03-18 23:09:51 +01:00
Milos Kozak 50bbe1c481 Dana messages tests 2020-03-18 20:38:51 +01:00
Milos Kozak 18de3f70b5 Dana messages 2020-03-18 16:41:08 +01:00
Milos Kozak 46efb92d3d tests cleanup 2020-03-17 23:45:51 +01:00
Milos Kozak 7e9402b939 remove ProfileFunctions dependency 2020-03-17 22:56:14 +01:00
Milos Kozak 6689f71368 fix test 2020-03-17 20:11:05 +01:00
Milos Kozak 81eeacb02a cleanup 2020-03-17 19:50:20 +01:00
Milos Kozak 21f8a13098 cleanup 2020-03-16 22:49:34 +01:00
Milos Kozak 66bea16bdf PluginStore 2020-03-16 21:40:29 +01:00
Milos Kozak bc0ae1fa68 Dana plugins tests 2020-03-15 18:18:32 +01:00
Milos Kozak 6f2ba7c135 Elements tests 2020-03-15 13:55:55 +01:00
Milos Kozak d7ed61de0c Trigger tests 2020-03-15 13:17:36 +01:00
Milos Kozak 6e9db1f512 More Injections and tests 2020-03-14 16:47:48 +01:00
Milos Kozak cdda4caa07 tests 2020-03-12 22:55:29 +01:00
Milos Kozak bac9de1f66 Tests 2020-03-12 19:47:54 +01:00
Milos Kozak 6e86a32210 Source tests 2020-03-12 00:11:17 +01:00
Milos Kozak 64184f164f Insulin tests 2020-03-11 23:42:16 +01:00
Milos Kozak 2f527169d9 DetailedBolusInfoStorage 2020-03-11 23:33:05 +01:00
Milos Kozak e812dd9437 Trigger tests 2020-03-11 00:03:59 +01:00
Milos Kozak 99aec40534 Merge branch 'dev' into dagger3 2020-03-10 22:39:26 +01:00
Milos Kozak c7c8aea65c fix and add test 2020-03-10 21:33:52 +01:00
Milos Kozak 4195083c05 SmsTest 2020-03-10 19:07:21 +01:00
Milos Kozak 005d8e89ce SmsCommunicatorPluginTest 2020-03-10 18:58:27 +01:00
Milos Kozak 5d745a2d9b AuthRequestTest 2020-03-09 23:49:00 +01:00
Milos Kozak 3da0defcd7 remove converted test 2020-03-09 23:26:12 +01:00
Milos Kozak 04c90302bd Actions tests 2020-03-09 23:24:46 +01:00
Milos Kozak 5cab10f51f More tests 2020-03-09 00:29:46 +01:00
Milos Kozak f19e782c7c ActionLoopDisableTest 2020-03-09 00:28:51 +01:00
Milos Kozak 72ba6815d8 More Injections 2020-03-08 22:42:36 +01:00
Milos Kozak 93820634b5 AbstractSensitivityPluginTest 2020-03-07 00:43:28 +01:00
Milos Kozak 8799c30b8e ActionLoopDisableTest 2020-03-06 23:43:29 +01:00
Bart Sopers 3eea2598f2 Merge tag '2.6.0' into omnipod_eros_dev 2020-03-03 21:33:31 +01:00
AdrianLxM 9c960021b8 test suggestion 2020-03-01 23:58:20 +01:00
Milos Kozak 15ffb5b596 Action tests 2020-03-01 22:59:47 +01:00
Milos Kozak 09176a1b9e DanaRS tests 2020-03-01 22:05:28 +01:00
Milos Kozak 40aa3cc60e DanaRS tests 2020-03-01 17:41:09 +01:00
Milos Kozak 130d5874a8 DanaRS tests 2020-03-01 17:10:13 +01:00
Milos Kozak 394ba420aa DanaRS tests 2020-03-01 16:39:23 +01:00
Milos Kozak 67a5c33f8d DanaRS tests 2020-03-01 16:18:19 +01:00
Milos Kozak 44edc7ce96 DanaRS tests 2020-03-01 12:06:34 +01:00
Milos Kozak 7be6a7b7a6 DanaRS tests 2020-03-01 00:29:03 +01:00
Milos Kozak a694edd170 RS tests 2020-02-29 00:12:13 +01:00
Milos Kozak 1db651055b RS tests 2020-02-28 22:51:12 +01:00
Milos Kozak 2d321d2a5b Merge branch 'dev' into dagger3 2020-02-03 23:15:34 +01:00
Milos Kozak 850e79a068 fix tests 2020-02-03 22:42:13 +01:00
Milos Kozak 3713f772d0 fix test 2020-01-28 11:11:01 +01:00
Bart Sopers 93e7eb518f Use insulinNotDelivered field from StatusResponse to determine units delivered after cancelled bolus or pod fault 2020-01-22 21:14:41 +01:00
Bart Sopers 00eb07914f Add test for safety of future fix for reporting correct insulin delivered amount after cancel bolus 2020-01-20 20:43:40 +01:00
Milos Kozak 344c77ef53 Merge branch 'dev' into dagger3 2020-01-14 13:50:29 +01:00
Milos Kozak 230ef4e988 fix tests 2020-01-14 11:44:28 +01:00
AdrianLxM 1851ab4084 wrap legacy static logger 2020-01-13 19:22:28 +01:00
Milos Kozak 6bc2d9eef5 DanaRv2.comm 2020-01-11 16:26:34 +01:00
Milos Kozak 248ab8bc76 RS packet tests 2020-01-11 15:43:27 +01:00
Milos Kozak cb12967b17 Insulin tests 2020-01-11 15:19:46 +01:00
Milos Kozak 65ec024751 GimpPluginTest 2020-01-11 15:04:26 +01:00
Milos Kozak 1c2036d1a3
Merge branch 'dagger3' into dagger3-0111a 2020-01-11 14:50:52 +01:00
AdrianLxM cde7b44606 test with AndroidInjector 2020-01-11 12:40:11 +01:00
AdrianLxM 6326c3f6f9 some work fixing tests 2020-01-11 12:29:25 +01:00
Milos Kozak 82300ec52f InsulinOrefFreePeakPluginTest 2020-01-11 12:10:47 +01:00
Milos Kozak e192be28d5 VersionCheckerUtilsKtTest 2020-01-11 11:52:33 +01:00
Milos Kozak ccf93d2191 InsulinOrefBasePluginTest 2020-01-11 11:45:41 +01:00
Milos Kozak 925de127a7 Triggers injection 2020-01-05 12:02:32 +01:00
Milos Kozak 4dbf199685 PersistenNotificationPlugin, services 2020-01-02 23:25:29 +01:00
Andy Rozman d58075a93c - fixed problem parsing Bolus
- reworked storing of Profile, instead of Profile we use Profile.ProfileValue[]
2020-01-02 23:22:57 +01:00
Milos Kozak bcc3829915 NSClient rafactor 2020-01-01 23:23:16 +01:00
Andy Rozman 5230a2dda0 - moved PumpHistoryEntryGroup to commons package
- added ProfileUtil with method to show basal profile so that we can display it
- changed PodHistoryActivity to display values (for Bolus, TBR and SetProfile)
2020-01-01 18:45:15 +01:00
Milos Kozak 7518537108 wizard injection 2019-12-31 11:57:58 +01:00
Milos Kozak 1242236821 Source plugins injection 2019-12-30 23:26:48 +01:00
Bart Sopers a79a1c1108 Rename PodInfo*HighFlashLogDump to PodInfo*PulseLog and don't show spaces in hex string when showing the response of these commands (as per suggested by @itsmojo) 2019-12-28 21:56:10 -05:00
Milos Kozak 8b88e2d270 make tests compile 2019-12-27 21:39:34 +01:00
Milos Kozak 7f8abcf591 Constraints, Dialogs daggerize 2019-12-27 19:20:38 +01:00
AdrianLxM ac05390292 Insulin plugins injectable and Prep for SMS plugin and ConfigBuilder 2019-12-27 04:17:49 +01:00
Milos Kozak 3654b0b66f ResourceHelper 2019-12-26 17:50:16 +01:00
Milos Kozak ec2a0212f5 Merge branch 'dev' into dagger3 2019-12-26 15:01:23 +01:00
Milos Kozak f8f1fc54be Merge branch 'dev' into dagger3 2019-12-26 14:41:52 +01:00
AdrianLxM 143a9f8749 dagger testing 2019-12-25 12:19:26 +01:00
Bart Sopers 1e003ad188 Fix PodSessionStateTest 2019-12-24 11:48:09 -05:00
Bart Sopers 91f6539328 Accept ACK responses for ConfigurePodCommand 2019-12-23 17:40:10 +01:00
Bart Sopers 78d789db4e Add time and time change tests for PodSessionState 2019-12-21 00:55:32 +01:00
Bart Sopers 0bcdf30a7e Improve basal schedule validation and add profile to basal schedule mapping tests 2019-12-20 23:07:38 +01:00
Milos Kozak 2ce590a700 BolusProgressDialog refactor 2019-12-20 21:52:37 +01:00
Milos Kozak 19b680039e
Merge pull request #2244 from PoweRGbg/LocationLeft
Location trigger - added option for Going inside/outside of area
2019-12-19 14:53:00 +01:00
Roumen Georgiev b90c02a2cc Removed InputOption 2019-12-19 09:23:09 +02:00
Milos Kozak 8af8d584eb use profile store units as fallback 2019-12-17 18:08:28 +01:00
Bart Sopers 80c1feb1d2 Call podStateChangedHandler when setting fault event, rename FaultEventCode to FaultEventType 2019-12-15 23:42:46 +01:00
Roumen Georgiev c113cc23b2
Merge pull request #89 from MilosKozak/dev
Dev
2019-12-10 14:25:47 +02:00
Roumen Georgiev 5994a75134 Tests working 2019-12-10 13:38:25 +02:00
Roumen Georgiev 55e6246646 some strings and tests broken 2019-12-10 12:34:27 +02:00
Milos Kozak 0e89ced3e1 Merge branch 'dev' into survey 2019-12-08 19:07:35 +01:00
Bart Sopers 680a3922b8 Fix bug in alert configurations 2019-12-08 17:24:31 +01:00
Bart Sopers 52e0b0cf82 - Show active alerts
- Set low reservoir alert in pod
- Add some tests
2019-12-08 15:31:07 +01:00
Roumen Georgiev 6c8a5aee47
Merge pull request #88 from MilosKozak/dev
Dev
2019-12-05 15:06:15 +02:00
Roumen Georgiev 14dc7395e0 Created enum for mode & tests 2019-12-04 16:42:47 +02:00
Milos Kozak 1a71c663ee fix test 2019-12-02 21:21:37 +01:00
Milos Kozak 0b559da27d
Merge pull request #1758 from PoweRGbg/patch-1
try to calculate direction of BG if missing
2019-12-02 19:00:03 +01:00
Bart Sopers 4ce5600434 Fix compilation error in testcase 2019-12-01 02:27:49 +01:00
Bart Sopers b808bc3228 Merge branch 'dev' into omnipod_eros 2019-12-01 02:21:49 +01:00
Milos Kozak fed2839a72 Merge branch 'dev' into localprofile 2019-11-26 16:40:46 +01:00
Milos Kozak 6969dc4873
Merge pull request #2222 from MilosKozak/2186
New SMS commands
2019-11-25 22:40:00 +01:00
Milos Kozak c33e3994b6 some cleanup and kotlin conversion 2019-11-25 18:07:16 +01:00
Milos Kozak fa765708f1 fix test 2019-11-22 16:10:27 +01:00
fabriziocasellato f26e683dbe Removed + control for Phone Numbers, Added Tests for TT, Added TARGET STOP/CANCEL command 2019-11-22 15:58:03 +01:00
Milos Kozak 16038caed8
Merge branch 'sms' into 2186 2019-11-22 14:30:19 +01:00
fabriziocasellato ebc89e7526 New tests for SMS commands: TARGET MEAL/HYPO/ACTIVITY and SMS STOP/DISABLE 2019-11-22 12:31:59 +01:00
Milos Kozak 820b704bfe fix test 2019-11-22 11:40:51 +01:00
Milos Kozak 17ea3843ae SMS HELP command 2019-11-22 11:19:09 +01:00
Milos Kozak e9aa4835ed SBS CARBS command 2019-11-22 10:40:48 +01:00
Milos Kozak a62750c3a3 SmsCommunicatorFragment -> kt 2019-11-22 00:33:13 +01:00
Milos Kozak d227013496 SmsCommunicatorPlugin -> kt 2019-11-22 00:12:46 +01:00
Milos Kozak 9aa77122ba Use on Rx for NetworkChange 2019-11-21 00:07:50 +01:00
fabriziocasellato 1f4f3fb687 Added the new MEAL feature to tests 2019-11-20 16:44:33 +01:00
Milos Kozak 788ff545ca Merge branch 'dev' into localprofile 2019-11-19 23:22:08 +01:00
Milos Kozak c6bbc0fe8b
Merge pull request #2198 from jotomo/log-unhandled-exceptions-again
Log unhandled exceptions again
2019-11-14 22:40:15 +01:00
Johannes Mockenhaupt 94f10a44a5
Rethrow unhandled exceptions in tests as runtime exception. 2019-11-14 18:04:36 +01:00
Johannes Mockenhaupt b9d600edf4
Log unhandled exceptions as errors. 2019-11-14 17:50:32 +01:00
Milos Kozak 232555b407
Merge pull request #2195 from boc-the-git/rounding-changes
Rounding: Use BigDemical for more accurate comparison
2019-11-14 11:07:14 +01:00
Milos Kozak 3c025e97a8 fix some tests 2019-11-12 17:37:44 +01:00
Johannes Mockenhaupt cce3a77a37
Log unhandled exception rather than printing to stdout. 2019-11-12 13:41:36 +01:00
boc-the-git b682432ca0 Change roundTo method to use BigDecimal rather than Double for more accurate comparison. Update tests to introduce more scenarios where without the code change, they'd fail. 2019-11-12 15:39:42 +11:00
Andy Rozman ef50bc5365 Merge branch 'dev' into omnipod_eros_bart 2019-11-09 16:17:43 +00:00
AdrianLxM 3c4b16378b Merge branch 'master' into dev and update version 2019-11-01 00:22:06 +01:00
AdrianLxM d2b059fd6b
Update Tests for new versioning 2019-10-31 08:20:00 +01:00
Milos Kozak 0da6377687 SignatureVerifierPluginTest 2019-10-28 13:45:42 +01:00
Andy Rozman 6bdc01dded - commented out invalid "test" 2019-10-25 11:25:55 +01:00
Andy Rozman 9f8df64f45 Merge branch 'dev' into bug_2111_pump_stopped_when_not 2019-10-24 10:39:35 +01:00
Milos Kozak b5a1543b92 Merge branch 'dev' into signature 2019-10-22 15:24:44 +02:00
Milos Kozak ecbfd294a8 send hash to firebase 2019-10-22 15:24:37 +02:00