Commit graph

7286 commits

Author SHA1 Message Date
Milos Kozak d7b822a436 cleanup 2022-01-14 13:08:28 +01:00
Philoul eb5a9aca55 Process Cob Click 2022-01-11 21:20:48 +01:00
Philoul 36cb37d9ac Allow click on new wizard icons 2022-01-11 21:04:43 +01:00
Milos Kozak fb799d8da6 BolusWizard: show icons based on checkbox selection in simple mode 2022-01-09 18:00:16 +01:00
Milos Kozak e6d3141ace Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-01-09 15:47:31 +01:00
Milos Kozak 68220e25a4
Merge pull request #1110 from erobinson/er-food-add-bolus-button
Add calculator shortcut to foods tab
2022-01-09 12:03:35 +01:00
Milos Kozak 4e36911ed8 Duplicated event 2022-01-07 21:48:26 +01:00
Milos Kozak b2bd7a7d21 Do not check for BT perm in NSC mode 2022-01-07 21:44:48 +01:00
Milos Kozak a1bc758596 reorder pumps in ConfigBuilder 2022-01-06 17:45:00 +01:00
Milos Kozak 54257ef6f0 RS,Rv2: warn if carbs are not stored 2022-01-06 17:34:04 +01:00
Milos Kozak 3a30f73aa1 Prevent Failed requirement 2022-01-06 12:11:53 +01:00
Milos Kozak 445b1bb6ae improve Android12 permision handling 2022-01-05 18:12:39 +01:00
Milos Kozak b5b6432b13 NSC: show n/a instead of zero when no queue data available 2022-01-02 15:18:50 +01:00
Milos Kozak faca82f6e8 fix bolus timer 2022-01-02 14:57:39 +01:00
Milos Kozak d2339f88c2 reorder only 2022-01-02 13:58:24 +01:00
Milos Kozak 7243f8fb66 fix setting equal basal profile 2021-12-30 22:50:03 +01:00
Milos Kozak 5d74f71d0a OBJECTIVES: Better detect existing BGs 2021-12-30 19:29:18 +01:00
Milos Kozak c22810736d
Merge pull request #1104 from Philoul/Fix/TreatmentProfileDialog
Fix Profile selected in ProfileDialog from Treatment
2021-12-30 18:54:01 +01:00
Milos Kozak 8eb707a4e3
Merge pull request #1109 from avereha/logging
Dialogs: add more logging
2021-12-30 18:53:45 +01:00
Milos Kozak 80e65824a3 Store key_boluswizard_percentage to RunningConfiguration 2021-12-30 18:46:30 +01:00
Milos Kozak 40864620e0 AUTOMATION: detect pending profile change 2021-12-30 18:03:43 +01:00
Edward Robinson 40e4054235 Adding ability to bolus from food 2021-12-29 12:59:02 -05:00
Andrei Vereha 5be29fde9c add logging 2021-12-29 16:50:32 +01:00
Milos Kozak aee036e200 scheduleReminder in seconds 2021-12-29 10:40:52 +01:00
Philoul 331b0ad340 Fix Profile selected in ProfileDialog from Treatment 2021-12-28 10:52:23 +01:00
Milos Kozak a487fea21e A12 permission 2021-12-15 18:14:13 +01:00
Milos Kozak 31a2a03efb BT: ask for permission at start 2021-12-14 16:45:41 +01:00
Milos Kozak 6fab15c82e Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-12-14 15:26:07 +01:00
Milos Kozak aad1e08c46 ECarbs: Allow remove carbs in the future 2021-12-14 12:03:28 +01:00
Milos Kozak 946081fb0e StringUtils -> kt 2021-12-13 17:31:48 +01:00
Milos Kozak 78c3810226 TimeChangeType -> kt 2021-12-13 16:55:47 +01:00
Milos Kozak 201a04bfbf Unify bluetooth, Android 12 permissions 2021-12-13 01:01:16 +01:00
Milos Kozak 1d31f14833 remove not used code 2021-12-12 10:15:47 +01:00
Milos Kozak acd6863461 new Dexcom package name 2021-12-11 22:38:00 +01:00
Milos Kozak dfb3bb06b1 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-12-11 22:35:35 +01:00
Milos Kozak 87b1a18a1d WizardDialog improvent 2021-12-11 22:15:58 +01:00
Philoul 7c4587f69f replace white by light grey for byoda CGM button 2021-12-11 13:02:38 +01:00
Philoul e6406bbaab Fix build 2021-12-11 09:16:37 +01:00
Philoul 2ae4cc3c03 Merge remote-tracking branch 'Nightscout/dev' into New/AddCorrPercentInWizard
# Conflicts:
#	app/src/main/java/info/nightscout/androidaps/dialogs/WizardDialog.kt
2021-12-11 02:33:41 +01:00
Philoul 17673a8ee3 Merge remote-tracking branch 'Nightscout/dev' into New/AddCorrPercentInWizard 2021-12-11 01:56:17 +01:00
Milos Kozak 17b4d6e7ed Wear: less static more injection 2021-12-10 15:19:19 +01:00
Milos Kozak 29559c0413 move SP to shared module 2021-12-10 12:17:03 +01:00
Milos Kozak 0a25fa3c9a share code between aap and wear 2021-12-10 08:58:23 +01:00
Philoul b05a9b7683 Remove rounding CalculatedCorrection 2021-12-09 23:50:55 +01:00
Milos Kozak fb2eaad1d2 eliminate numOfProfiles in ProfilePlugin 2021-12-09 14:49:10 +01:00
Philoul 88b2a8d0d7 Add selector to allow correction in percentage 2021-12-07 21:38:05 +01:00
Milos Kozak a83eb1c456
Merge pull request #1041 from Philoul/New/CGM_Icon_and_string
Use xDrip+ or Dexcom icon for CGM button (not only xDrip+ icon) + update preference strings
2021-12-07 10:00:31 +01:00
Milos Kozak 36a1fa15aa
Merge pull request #1042 from Philoul/Fix/FixTranslatedLoggingForCommandQueue
Add untranslated status for logging in Command interface
2021-12-07 09:58:39 +01:00
Philoul d6ade59cd3 Add untranslated status for logging in Command interface 2021-12-07 00:40:13 +01:00
Philoul 9145a11563 Simplify code 2021-12-07 00:02:58 +01:00
Philoul 61017e1b54 Set icon and text color in Overview according to MGC plugin 2021-12-06 23:48:40 +01:00
Philoul 7fc215db90 Add byoda icon for CGM button 2021-12-06 23:06:27 +01:00
swissalpine 98f2df943c
Allow/reenable the setting of TempTargets while pump is suspended or disconnected
Unfortunately, it is currently no longer possible to set a TempTarget when the pump is disconnected or suspended (TBR: 0%). This seems logical at first sight (why a TempTarget when the pump is not connected or the loop suspended!), but prevents many useful possibilities, namely when the TempTarget should be set immediately after the disconnection or suspension has expired.
An example of this are f. e. sport activities: To reduce IOB, I set a 0% TBR half an hour before sport for one hour with the function "pump disconnected", so that the associated 0% TBR continues for a while while sport starts. I also set a three hour Activity TempTarget. This continues to be active when the pump loops again with the pump disconnected time expired.
The fix allows/reenables setting a TempTarget even if the pump is suspended or disconnected.
2021-12-05 14:11:51 +01:00
Milos Kozak 2ec9517b02
Merge pull request #1030 from Philoul/Fix/UserEntryUnitsConvertion
User entry Add Glucose Value in TherapyEvents NSClient
2021-12-04 13:35:23 +01:00
Milos Kozak 4a899365db Poctech: fix unit conversion 2021-12-03 19:29:45 +01:00
Milos Kozak d7a4740e7d do not clear disk full message 2021-12-02 21:07:12 +01:00
Milos Kozak 9c09b3c526 better logs 2021-12-02 09:49:31 +01:00
Milos Kozak 6ba6cd6edd mark too close BG records 2021-11-30 22:03:19 +01:00
Philoul 9f6a2fcc4e Add BG value in CarePortal events 2021-11-30 21:55:24 +01:00
Milos Kozak 21818546e7
Merge pull request #1010
Fix user entry units convertion
2021-11-30 21:33:06 +01:00
Milos Kozak babbf8e7c9 hide controls if pump is disconnected 2021-11-30 21:21:30 +01:00
Philoul 98ef5768be Fix Calibration value in uel.log 2021-11-30 20:25:48 +01:00
Milos Kozak 85140a9c2e Loop cleanup 2021-11-30 17:08:31 +01:00
Milos Kozak 102f73fbc9 reset AS on PS instead of EPS 2021-11-29 23:13:52 +01:00
Philoul 009d428e89 Add glucose value for calibration (DexcomPlugin and GlunovoPlugin)
=> To review
2021-11-29 22:56:18 +01:00
Milos Kozak 370b504d74 improve notification dismiss 2021-11-29 22:36:20 +01:00
Milos Kozak ac62217984 allow bolus update in NSC mode 2021-11-29 19:06:04 +01:00
Milos Kozak 7f3f1c6c8b fix RandomBg start interval 2021-11-29 18:06:39 +01:00
Milos Kozak 3ee1a3a9d8 hide insulin plugin in NSClient mode 2021-11-29 17:26:29 +01:00
Milos Kozak 3739db489f Fix EB sync 2021-11-29 08:29:13 +01:00
Milos Kozak 28a6a0a8ab wrong logging tag 2021-11-28 22:40:33 +01:00
Milos Kozak 9ca1ab1f83 allow other kinds of identification 2021-11-28 18:20:52 +01:00
Milos Kozak 7374ff2eb1
Merge pull request #990 from 0pen-dash/avereha/hide-do-not-bolus
hide "do not bolus"
2021-11-27 23:15:13 +01:00
Milos Kozak 6095a29595 unify Handlers 2021-11-25 20:19:27 +01:00
Andrei Vereha 3dae8bfd6f hide the 'do not bolus' box 2021-11-25 19:26:43 +01:00
Milos Kozak 0dbfa6182f DanaRS: improve history sync 2021-11-24 21:31:23 +01:00
Milos Kozak 6c990a4423
Merge pull request #965 from Philoul/Nex/AddMoreStrings
Add strings for Command Queue translation
2021-11-23 23:21:19 +01:00
Milos Kozak 2b6e51cbfd Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-23 23:15:56 +01:00
Milos Kozak 38738018ef AutosensData -> kt 2021-11-23 23:15:51 +01:00
Milos Kozak 090994ab51 DataPointWithLabelInterface -> kt 2021-11-23 22:20:59 +01:00
Milos Kozak e0268a1172 ToastUtils -> kt 2021-11-23 21:34:50 +01:00
Milos Kozak 68793233e8 NumberPicker -> kt 2021-11-23 19:53:45 +01:00
Milos Kozak 95deaf8b98 fix processing automations 2021-11-22 16:26:33 +01:00
Philoul 518f283650 Add string Command Queue 2021-11-21 19:32:52 +01:00
Milos Kozak 2aa85c80a6
Merge pull request #962 from Philoul/New/StringsForReadStatusreason
Add strings for readstatus reason
2021-11-21 10:56:38 +01:00
AdrianLxM f668cc4af3
Update PersistentNotificationPlugin.kt 2021-11-20 22:20:54 +01:00
AdrianLxM e4c3e4c560
Update NotificationHolderImpl.kt 2021-11-20 22:20:08 +01:00
Philoul df3a595ef4 Create strings for ReadStatus reason translation 2021-11-20 20:57:30 +01:00
Milos Kozak 79fc1aad66 update datasync logging tag 2021-11-19 17:50:57 +01:00
Milos Kozak ad7a5cf2db initialize PersistentNotificationPlugin first 2021-11-18 22:56:45 +01:00
Milos Kozak 1de515bf33 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-18 19:57:22 +01:00
Milos Kozak 284dc19bd1 ProfileFragment disable spinner for invalid profile 2021-11-18 19:57:12 +01:00
Milos Kozak 9fb20917c5 unify xDrip broadcasts 2021-11-18 15:47:22 +01:00
Milos Kozak b2c12d233c fix WizardInfoDialog crash 2021-11-17 21:44:08 +01:00
Milos Kozak d9f68bca3f Dana: fix disabling loop 2021-11-16 23:50:28 +01:00
Milos Kozak 5569974714 log service start 2021-11-16 21:45:58 +01:00
Milos Kozak f48dcc77e2 fix double profile 2021-11-16 17:09:47 +01:00
Milos Kozak 17d5fcf07d remove duplicated code 2021-11-16 13:06:23 +01:00
Milos Kozak 3e6aa56e94 remove IOB AS=1 prediction 2021-11-15 23:30:53 +01:00
Milos Kozak 6aaedefbed Profile: fix Save button behavior 2021-11-15 18:45:55 +01:00
Milos Kozak 17630394c7 active insulin in green color 2021-11-15 14:14:51 +01:00
Milos Kozak 54b8d0613c fix build 2021-11-12 16:53:03 +01:00
Milos Kozak 3891fb70c2
Merge pull request #891 from nightscout/glunovo
Glunovo support
2021-11-12 10:30:34 +01:00
Milos Kozak 50861f237d
Merge pull request #906 from 0pen-dash/avereha/connQuality
dash: connection quality
2021-11-12 08:19:09 +01:00
Milos Kozak 8bac468306 IOB: fix calculation for EB 2021-11-11 22:40:52 +01:00
Milos Kozak 579c9dac7c Glunovo rearrange 2021-11-11 20:41:32 +01:00
Milos Kozak 774beb2cb3 Glunovo process calibrations 2021-11-11 20:39:17 +01:00
Andrei Vereha 6ab2a7bb7e display the performed operation 2021-11-11 17:41:19 +01:00
Milos Kozak 51c6237d02 limit logging 2021-11-11 17:26:19 +01:00
Milos Kozak 88a8d08f56 restore xdrip broadcast 2021-11-11 14:23:22 +01:00
Andrei Vereha d5ae4cabf2 call stopConnecting only once 2021-11-10 23:10:26 +01:00
Milos Kozak 3dc2f073fe Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-10 17:10:48 +01:00
Milos Kozak 584e91f8dc prepare XDripBroadcast 2021-11-10 17:10:10 +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
Milos Kozak bb7632aa80 Glunovo change schedule 2021-11-10 12:25:07 +01:00
Milos Kozak 081e8bd684 inject context 2021-11-10 09:15:05 +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
Milos Kozak 56d97861e3 fix glunovo loop 2021-11-09 20:22:33 +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 ffa4120cd5 improve glunovo logic 2021-11-09 18:42:55 +01:00
Milos Kozak 04de964e97 cleanup 2021-11-09 17:57:51 +01:00
Milos Kozak b9a3a72e86 fix BG backfill rule 2021-11-09 17:45:20 +01:00
Milos Kozak 25c048640d Glunovo plugin 2021-11-09 15:26:09 +01:00
Milos Kozak 35c9c4d678 load 36h to BG tab 2021-11-08 15:48:02 +01:00
Milos Kozak 22fced61fe Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-08 13:37:05 +01:00
Milos Kozak 2a2bb4edc6 fix storing carbs 2021-11-08 13:36:54 +01:00
Milos Kozak 21d7f7c13b
Merge pull request #869 from dlvoy/fix/868_anr_in_tdd_profile_helper
Fix ANR in Profile Helper by moving slow TDD calc into separate thread
2021-11-08 09:44:29 +01:00
Milos Kozak 7cf4db5fcc revert subscribe 2021-11-07 23:45:16 +01:00
Dominik Dzienia 4c19b2006e Fix ANR in Profile Helper by moving slow TDD calc into separate thread #868 2021-11-07 23:34:18 +01:00
Milos Kozak 5d3035c09c do not cache TBE and EB for displaying 2021-11-07 23:02:38 +01:00
Milos Kozak 2b20aa3e38 fix EditQuickWizardDialog 2021-11-07 21:57:10 +01:00
Milos Kozak 22eb524556 increase bg validity check red range to 20s 2021-11-07 20:14:44 +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
Milos Kozak f09d967e59 show TBR and EB tab 2021-11-07 11:02:31 +01:00
Milos Kozak 175f008d3b fix screen refresh after unit change 2021-11-06 22:56:34 +01:00
Milos Kozak f9d24a0153 log red state 2021-11-06 19:21:28 +01:00
Milos Kozak 8ccef29dff do not request location permission for nsclient 2021-11-06 17:53:07 +01:00
Milos Kozak 23777330cf make default sync values consistent 2021-11-06 17:46:55 +01:00
Milos Kozak 2b021ffafc BgQualityCheckPlugin 2021-11-05 13:16:23 +01:00
Milos Kozak 6fb83d4949 PfofileSwitchDialog fix 2021-11-05 09:53:59 +01:00
Milos Kozak 0321d4cd07 treat 100% TBR as temp off 2021-11-04 23:21:39 +01:00
Milos Kozak ae399f0bf5 allow slower NS upload 2021-11-04 17:08:15 +01:00
Milos Kozak ebeac72e74 fix storing effective profile 2021-11-04 15:58:57 +01:00
Milos Kozak 756957ed8c resourceHelper -> rh 2021-11-04 10:56:12 +01:00
Milos Kozak 7b07178b93 EventNewHistoryData logging 2021-11-04 10:03:08 +01:00
Milos Kozak d06ae6b0bc resourceHelper -> rh 2021-11-04 09:32:34 +01:00