Commit graph

7487 commits

Author SHA1 Message Date
Milos Kozak bd61e53bc8 SMS: fix crash on Android<12 2022-02-25 09:16:51 +01:00
Milos Kozak dd83fbe9e8
Merge branch 'dev' into rxjava3 2022-02-24 21:59:48 +01:00
Milos Kozak 21a3069a40 libs update 2022-02-24 21:25:06 +01:00
Milos Kozak 10c5b79938 lint 2022-02-24 20:56:22 +01:00
Milos Kozak 06d3c86c62
Merge pull request #1372 from Andries-Smit/fix/time-shift-reuse
fix: profile time shift use hours
2022-02-24 20:27:21 +01:00
Milos Kozak 692c05b5ea
Merge pull request #1254 from erobinson/add-percentage-increase-increment-preference
Wizard Dialog -> default percentage increment is 5% rather than 1%
2022-02-24 15:35:10 +01:00
Andries Smit 6c3c19baa6 fix: profile timeshift use hours 2022-02-24 15:26:54 +01:00
Milos Kozak 7908823b8d Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-02-23 19:15:22 +01:00
Milos Kozak c0dbe41899
Merge pull request #1362 from Andries-Smit/feat/toolbar-treatment
Feature toolbar with options menu in Treatments
2022-02-23 19:10:08 +01:00
Milos Kozak e924c28542 Material style for app 2022-02-23 19:05:55 +01:00
Andries Smit 0307789996 Fix hide super bolus calculation when not used 2022-02-23 14:30:23 +01:00
Andries Smit cb3bb58319 fix: treatments persist selection on scrolling 2022-02-23 10:11:14 +01:00
Andries Smit 967d8bb9d3 chore: treatments menu code cleanup 2022-02-23 08:51:10 +01:00
Andries Smit 67e5fb8dc7 Add history treatments option menu 2022-02-22 21:11:15 +01:00
Milos Kozak 01dc4d21a7
Merge pull request #1354 from Philoul/Fix/NewShortNameDynISF
New Short Name for Dynamic ISF Plugin
2022-02-21 09:15:11 +01:00
Milos Kozak 7459adbcc6 DynamicISF: prevent crash with no TDD 2022-02-20 21:48:47 +01:00
Milos Kozak ad8c2297a0 Combo: cleanup code 2022-02-20 19:27:01 +01:00
Milos Kozak c81ff64777
Merge pull request #1337 from Philoul/New/WizardIcons
Wizard Dialog Add TT Icon + Iob icon/checkbox always enabled
2022-02-20 18:29:19 +01:00
Milos Kozak 44279f78a8
Merge pull request #1351 from tim2000s/dev
Dev
2022-02-20 18:27:14 +01:00
Milos Kozak 723e3e9b01
Merge pull request #1352 from swissalpine/patch-1
Fix for DynamicISF safety limiter bug
2022-02-20 18:25:59 +01:00
swissalpine 6a961eb4d8
Fix for DynamicISF safety limiter bug
https://github.com/nightscout/AndroidAPS/issues/1349
https://github.com/nightscout/AndroidAPS/issues/1346
2022-02-20 17:24:36 +01:00
t_j_s 035e9742af Use of calculation step reverted back to value / 60 * 5, as calculation step method was producing incorrect, very large numbers. 2022-02-20 15:58:06 +00:00
t_j_s b2e3399597 UPdated code to include rolling 24 hour TDD in TDD calculator; incuding updating the calculation steps code.
DYnamic ISF now based off rolling 24 hour TDD instead of estimated daily TDD in midnight to midnight period.
2022-02-20 15:43:45 +00:00
Philoul c216e41e1c New shortname for Dynamic ISF plugin 2022-02-20 11:53:06 +01:00
Edward Robinson 2eb5a4dc27 Making it so that the percentage increments by 5% each time rather than 1% 2022-02-18 11:35:11 -05:00
Philoul dc1706fde7 Add TT Icon + Improve IOB/COB 2022-02-17 22:26:12 +01:00
Milos Kozak 72d9dd398e Merge branch 'rxjava3' of https://github.com/nightscout/AndroidAPS into rxjava3 2022-02-17 21:48:47 +01:00
Milos Kozak e27bb2d04c Merge branch 'dev' into rxjava3 2022-02-17 21:45:20 +01:00
Milos Kozak dc5846daf9 AutoISF -> DynamicISF 2022-02-17 21:08:50 +01:00
Milos Kozak cf7773bda4 DynamicISF: show on overview 2022-02-17 20:28:28 +01:00
Milos Kozak 69a610b0e5 remove lastBolusNormalTime 2022-02-16 13:01:49 +01:00
Milos Kozak 842fea6ac2 proper use of calculationStep 2022-02-16 13:00:18 +01:00
Milos Kozak 8a19267a39 AutoISF -> separate plugin 2022-02-16 00:03:21 +01:00
Milos Kozak e32515a369 Merge branch 'dev' into DynamicISF 2022-02-15 20:25:30 +01:00
Milos Kozak 99a1253019
Merge branch 'dev' into rxjava3 2022-02-13 18:47:13 +01:00
Milos Kozak 286cf83215
Merge pull request #1306 from Philoul/Fix/WizardInfoMmol
Add forgotten units
2022-02-13 18:45:30 +01:00
Milos Kozak 07f530aa12
Merge pull request #1310 from Andries-Smit/a11y/apply-labels-numberpicker
A11y/apply labels number picker
2022-02-13 18:43:31 +01:00
t_j_s da0eef1a42 Fixed a typo in TDDAIMI7 2022-02-12 19:57:53 +00:00
t_j_s f98175755e Modified Master to replace profile sens with Chris Wilson's Dynamic ISF in OpenAPSSMB.
The rule of 277700 ISF using current BG is used for all predictions, while for dosing, if delta is =0 r positive, current bg is used, however, if delta is -ve, future bg is used.
2022-02-12 19:57:53 +00:00
Andries Smit 606a7d6c27 Add percentage in quickwizard 2022-02-12 09:30:55 +01:00
Andries Smit eda1c097a9 Wear: add pref sync maxCarbs maxBolus 2022-02-12 09:30:55 +01:00
Andries Smit 2013332d70 Wear: add explain message quickwizard 2022-02-12 09:30:55 +01:00
Andries Smit 0233db8226 Wear: ad quick wizard tile 2022-02-12 09:30:55 +01:00
Andries Smit baf0784df8 Wear: send units wiz % preference to watch 2022-02-12 09:30:54 +01:00
Andries Smit 6321758634 Wear: support tt presets 2022-02-12 09:30:51 +01:00
Andries Smit ad43f57f7f Wear: add tile tt and action with config 2022-02-12 09:30:50 +01:00
Andries Smit 2e5827f27f a11y: apply screenreaders labels for numberpickers 2022-02-12 08:26:07 +01:00
Philoul a3cae139c7 Add forgotten unit 2022-02-11 14:33:38 +01:00
Milos Kozak 34c4dc2a98 prevent NPE 2022-02-11 13:39:15 +01:00
Milos Kozak 22670943be
Merge pull request #1200 from Andries-Smit/a11y/overview
a11y overview screen reader accessibility
2022-02-11 12:14:00 +01:00
Andries Smit ebf943dd1e fix state enabled checkbox wizard 2022-02-11 10:58:23 +01:00
Andries Smit 0dce111e4e chore: fix merge conficts 2022-02-11 10:15:37 +01:00
Milos Kozak 738f30b1e6
Merge pull request #1301 from Philoul/Fix/WizardInfoMmol
Fix WizardInfoDialogMmol
2022-02-11 09:50:17 +01:00
Andries Smit 22a1a68e95 a11y add bg outdated state to description 2022-02-11 09:08:22 +01:00
Andries Smit e1e7b4a7a8 Improve screenreader accesibility 2022-02-11 09:06:35 +01:00
Milos Kozak 6499fe053f
Merge pull request #1253 from Andries-Smit/a11y/treatment-dialog
Improve a11y wizard dialog
2022-02-11 08:41:28 +01:00
Philoul c5d13147f3 Fix WizardInfoDialogMmol 2022-02-11 00:37:41 +01:00
Milos Kozak fa2029b9ca
Merge pull request #1264 from Andries-Smit/feat/status-light-icon
feat: show patch pump icon instead of cannula
2022-02-10 22:35:41 +01:00
Milos Kozak 064642339e
Merge pull request #1292 from Andries-Smit/new-profile-editor
profile editor add DIA and Target Chart
2022-02-10 22:25:24 +01:00
Milos Kozak 87c01a4ab4
Merge pull request #1300 from Andries-Smit/feat/list-group-by-date
Group lists treatments and BG by date
2022-02-10 22:19:13 +01:00
Andries Smit e71bf3f69b chore: use long label for profile configuration 2022-02-10 21:17:33 +01:00
Andries Smit d9ad3e35d9 chore: rewrite to use not function 2022-02-10 20:21:22 +01:00
Andries Smit a0fbf9ec96 Group list treatments and BG by date 2022-02-10 19:21:42 +01:00
Milos Kozak 0a39388f81 rxjava2 -> 3 2022-02-10 19:11:58 +01:00
Andries Smit f51df08c1f Add isPatchPump to pump description for Omnipod 2022-02-09 09:06:31 +01:00
Andries Smit 7410333177 Add profile chart trarget and dia 2022-02-08 20:14:44 +01:00
Andries Smit b6e2eaf0ef Moved area graph to core 2022-02-08 20:14:05 +01:00
Milos Kozak 3a1ca9e061
Merge pull request #1285 from BernhardRo/master
Fixes for issue [3.0.0] CGM Eversense integration does not work #1257
2022-02-07 15:53:22 +01:00
Milos Kozak 24a647d9a0
Merge pull request #1268 from Andries-Smit/fix/spacing-smb-script
fix strip duplicate spacing from smb debug script
2022-02-07 15:02:15 +01:00
Andries Smit 55927df935 chore: convert if to kotlin let 2022-02-06 19:50:39 +01:00
Andries Smit 6d9a6eb29f Bolus wizard show no action dialog 2022-02-06 19:50:39 +01:00
Andries Smit 43619b32f3 a11y improve wizard dialog 2022-02-06 19:50:39 +01:00
Bernhard 92d50ea9e5 Fixed Eversense reading
Integration of Eversense CGM was broken in AAPS 3.0.0. This fixes it.
2022-02-06 18:44:11 +01:00
Andries Smit bdf4df4bc3 Fix register carbs only treatment dialog 2022-02-03 21:33:56 +01:00
Andries Smit 36b6a6aee6 fix strip duplicate spacing from smb debug script 2022-02-03 13:01:14 +01:00
Andries Smit 58f418cd6c feat: show pod icon instead of cannula 2022-02-03 08:54:48 +01:00
Milos Kozak 479bfc4103 NSClient: enable sync controls without engineering mode #2 2022-02-01 21:55:55 +01:00
Milos Kozak b3e08c5096
Merge pull request #1260 from Andries-Smit/omnipod/hide-insulin-age-status
Feat: hide insulin age for omnipod
2022-02-01 21:04:55 +01:00
Andries Smit ebc0c5b836 Feat: hide insulin age for omnipod 2022-02-01 19:45:57 +01:00
Milos Kozak da9caa2b04 NSClient: enable sync controls without engineering mode 2022-02-01 18:48:31 +01:00
Milos Kozak cfe8c29f58 engineering_mode 2022-01-31 20:51:12 +01:00
Milos Kozak 8c28dd0f52 G6: ignore too old values 2022-01-30 19:59:44 +01:00
Milos Kozak 65eb96a580
Merge pull request #1235 from Andries-Smit/fix/carbs-event-time
Fix carbs event time
2022-01-30 19:52:17 +01:00
Milos Kozak f3c83ef582 fix local profile validation 2022-01-30 19:43:44 +01:00
Andries Smit c3e3444b07 Make back button close menu and return to home 2022-01-28 10:41:39 +01:00
Andries Smit 2705f3004a carbs dialog event time allign with time offset 2022-01-27 21:57:59 +01:00
Milos Kozak 900c5db0dc G6: calibration fix 2022-01-27 21:35:12 +01:00
Milos Kozak 74daf2e784 disable BOYDA calibration button 2022-01-25 17:58:02 +01:00
Milos Kozak 1aa4f7452c G6 calibration workaround 2022-01-24 22:32:03 +01:00
Milos Kozak 890cae381b Show IC and ISF graphs too 2022-01-24 17:04:14 +01:00
Milos Kozak 36030683be fix loop plugin TBR cancel 2022-01-17 12:54:10 +01:00
Milos Kozak 4fb1704912 Ignore exception without permission 2022-01-17 09:21:14 +01:00
Milos Kozak 686bd350c3 BgQuality: RED state from last 50 min, LGS only 2022-01-16 22:02:19 +01:00
Milos Kozak 57a6e6f119 Loop: fix canceling TBR 2022-01-16 16:01:17 +01:00
Milos Kozak 0603e741be G5: Fix double BG value after calibration 2022-01-14 18:19:05 +01:00
Milos Kozak f309f8136f Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2022-01-14 13:09:08 +01:00
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
Milos Kozak b592054c18 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-11-04 09:32:16 +01:00
Milos Kozak d07a935314 fix transferring units setting 2021-11-04 09:15:28 +01:00
Milos Kozak e715167254 hack for PL language 2021-11-02 15:11:08 +01:00
Milos Kozak 2ad7d9f4d2 pre-sort data for rendering 2021-11-02 14:36:09 +01:00
Milos Kozak ff1a9b24db Do not use bus for dismissing notification from UI 2021-11-02 13:14:01 +01:00
Milos Kozak b4dec7195c more profile tweaking 2021-11-02 12:45:34 +01:00
Milos Kozak ca39802e6d fix profile validity check 2021-11-02 10:39:13 +01:00
Milos Kozak bb2fced905 fix NaN in statistics 2021-11-02 09:53:16 +01:00
Milos Kozak 760261e258 exclude invalid profiles from ProfileSwitchDialog 2021-11-02 09:19:56 +01:00
Milos Kozak d53071297e fix showing Save button 2021-11-01 22:54:55 +01:00
Milos Kozak fa23f30ab1 lints 2021-11-01 22:51:13 +01:00
Milos Kozak 7442774ab7 notify about wrong profiles from NS 2021-11-01 22:29:02 +01:00
Milos Kozak f700c22966 prevent Missing BG notification on start 2021-11-01 18:43:07 +01:00
Milos Kozak ba9a5dc97b better handle wrong profile 2021-10-31 17:44:04 +01:00
Milos Kozak 2b71bfdeb0 hide button without active profile 2021-10-31 17:24:15 +01:00
Milos Kozak 42daad43f4 EROS: so not run commands on UI thread 2021-10-30 19:44:54 +02:00
Milos Kozak c4765b42f0 enable logging of EVENTS again 2021-10-30 18:29:00 +02:00
Milos Kozak 1dd64b5958 relocate default profile 2021-10-30 14:14:37 +02:00
Milos Kozak 6663b9db4f better handle missed bg readings 2021-10-30 13:43:22 +02:00
Milos Kozak 8fe7e7ce2b report AAPS version to NSClient log 2021-10-29 18:41:25 +02:00
Milos Kozak 51dcfd9a29
Merge pull request #786 from Philoul/New/RemoveReminder
Remove EatReminder/BolusReminder if Carbs/Insulin entered before remind
2021-10-28 20:25:36 +02:00
Milos Kozak a56bdcc7c8 AUTO: user actions & new layout 2021-10-28 20:22:13 +02:00
Philoul 4616d11c5d Remove EatReminder/BolusReminder if Carbs/Bolus entered before remind 2021-10-26 22:39:52 +02:00
Milos Kozak 04a104a9b0
Merge pull request #780 from Philoul/New/BolusReminder
New function : Bolus reminder
2021-10-26 19:24:03 +02:00
Milos Kozak c1290ce766 stop alarm service on terminate app 2021-10-26 13:41:48 +02:00
Milos Kozak c727b745a5 simplify NSC setting 2021-10-26 13:34:30 +02:00
Milos Kozak da52daeefe carbs info in engineering mode 2021-10-26 12:58:16 +02:00
Milos Kozak 15c166586f NSC: hide virtual pump 2021-10-26 12:54:51 +02:00
Milos Kozak 8efa66f23d fix TriggerProfilePercent and ProfileDialog 2021-10-25 18:09:53 +02:00
Milos Kozak 3d94f3f840 NSClient: missing initial profile workaround 2021-10-25 14:32:21 +02:00
Milos Kozak 60c14cda21 NS: Sync BolusCalculatorResult 2021-10-25 14:17:06 +02:00
Philoul c3ef4af700 Fix delta 2021-10-25 10:09:32 +02:00
Milos Kozak 22cad1a761 prevent NPE 2021-10-24 00:58:17 +02:00
Milos Kozak 5e3db95297 do not show Treatments menu without profile 2021-10-24 00:42:58 +02:00
Milos Kozak 3b30f73209 fix NS profile sync 2021-10-24 00:20:07 +02:00
Milos Kozak d9fcf61b0a Log app start optional 2021-10-23 21:08:31 +02:00
Philoul 2ace719e2a Add Bolus Reminder to CarbsDialog 2021-10-22 16:15:26 +02:00
Milos Kozak 6ada88b1f8 set min graph vertical labels 2021-10-21 16:33:37 +02:00
Milos Kozak 30af551cbd Toast for error in profile 2021-10-21 09:45:34 +02:00
Milos Kozak aee569e9a9 set Rx error handler 2021-10-20 22:54:32 +02:00
Milos Kozak c966dfda13 do not throw exception if profile doesn't exist 2021-10-20 15:57:07 +02:00
Milos Kozak 29da63d264 remove ClassicPrefsFormat 2021-10-19 23:20:50 +02:00
Milos Kozak 674909fdd0 synchronize on cache object 2021-10-19 21:27:44 +02:00
Milos Kozak 2e0c7e48ba do not create default profile at app start 2021-10-19 13:01:54 +02:00
Milos Kozak 8631ab12de Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-10-19 12:06:04 +02:00
Milos Kozak f7f7ba3a2b fix carbs limit 2021-10-19 12:05:52 +02:00
Milos Kozak c2f7be77ad
Merge pull request #755 from Philoul/Fix/TT_From_Watch_mmol
Fix TT From Watch (mmol) double convertion
2021-10-19 00:02:37 +02:00
Milos Kozak 67c53b412d fix safety carbs sync 2021-10-18 21:55:09 +02:00
Philoul f10080686b It's better to make convertion in generateTempTarget for uel.log
Sorry

This reverts commit 9db58726
2021-10-18 21:07:06 +02:00
Philoul 9db587269a Remove second one finally to be consistent with master 2.8.2 2021-10-18 20:17:52 +02:00
Milos Kozak 3f8e56d50e Fix Objectives processing 2021-10-18 20:10:18 +02:00
Philoul e68d2d080d Fix #746 2021-10-18 19:59:24 +02:00
Milos Kozak 50e31a4b2b
Merge pull request #745 from Philoul/Fix/AddWorkerCsvExport
Add Worker to launch exportUserEntriesCsv in Background
2021-10-18 15:01:12 +02:00
Philoul c723058628 Create a new worker for export 2021-10-18 09:59:26 +02:00
Sam Spycher 289ec5668d feat(eros-database): add history module 2021-10-18 00:06:45 +02:00
Philoul 26c702c7c0 Add Worker to launch exportUserEntriesCsv in Background 2021-10-17 20:26:35 +02:00
Milos Kozak a0bc179aea clear large profile cache 2021-10-17 18:03:55 +02:00
Milos Kozak e01f6f6cb0 SpinnerHelper update 2021-10-17 17:47:41 +02:00
Milos Kozak 516630215c Worker DB pruning 2021-10-17 12:07:23 +02:00
Milos Kozak 3093a84d65
Merge pull request #735 from Philoul/Fix/FixCrashExportCSV
Fix crash during csv export
2021-10-17 10:32:41 +02:00
Andrei Vereha e536c29351 another tailCall 2021-10-16 23:20:48 +02:00
Andrei Vereha 310ab3e3ae Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/tailrec 2021-10-16 23:17:48 +02:00
Milos Kozak 8656f19e81 Optimize NS full sync 2021-10-16 21:24:03 +02:00
Andrei Vereha b330e7af00 make processChangedGlucoseValuesCompat tailrec 2021-10-16 21:14:01 +02:00
Milos Kozak 6ed9024769 fix text 2021-10-16 20:19:51 +02:00
Philoul 6e318cfaa0 Limit csv export to 90 days 2021-10-16 18:06:18 +02:00
Milos Kozak 6ad50d2979 do not full_sync DeviceStatus 2021-10-16 16:10:09 +02:00
Milos Kozak dabf4bf33c Application expired check 2021-10-16 13:02:31 +02:00
Milos Kozak 1f65ee38c7 RxBusWrapper -> RxBus 2021-10-15 14:56:22 +02:00
Milos Kozak a963f140c6 lints 2021-10-15 13:24:22 +02:00
Milos Kozak db83bf4653 catch InterruptedException 2021-10-14 23:25:18 +02:00
Milos Kozak c4ac42f738 @Synchronized access to cache 2021-10-14 23:14:03 +02:00
Milos Kozak 5906c5f0fa SpinnerHelper -> kt 2021-10-14 22:43:23 +02:00
Milos Kozak d5892a81f9 Optimize NSClient sync 2021-10-12 23:54:04 +02:00
Milos Kozak 252cc685a4
Merge pull request #723 from nightscout/rxDogtag
Rx dogtag
2021-10-11 13:58:29 +02:00
Milos Kozak 036b64d018 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-10-10 23:28:14 +02:00
Milos Kozak e8d2d03c16 Better EffectiveProfileSwitch handling 2021-10-10 23:26:50 +02:00
AdrianLxM 78001e7f99
Hook in RxDogtag 2021-10-10 18:05:55 +02:00
Milos Kozak 7169c78225
Merge pull request #722 from 0pen-dash/dash
Dash updates
2021-10-10 16:16:17 +02:00
Milos Kozak df700da045 cleanup 2021-10-08 10:19:09 +02:00
Milos Kozak bdffe22803 fix duration sync to NSClient 2021-10-07 22:53:46 +02:00
Andrei Vereha 4a3cff1688 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/merge-dev-11 2021-10-05 22:56:41 +02:00
Milos Kozak a4aae47b8b pass safety values to NSClient 2021-10-04 23:47:47 +02:00
Milos Kozak 1b45d4fe31 allow start activity TT from profile switch 2021-10-04 22:40:02 +02:00
Andrei Vereha 01c88b0de3 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/warnings 2021-10-04 17:55:05 +02:00
Milos Kozak f802cc488e Pump status line refactor 2021-10-04 17:35:17 +02:00
Andrei Vereha d5619dc469 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/warnings 2021-10-03 23:32:18 +02:00
Philoul 9a1de97564 Add shortname for NSClient BG plugin 2021-10-03 21:48:02 +02:00
Andrei Vereha a4a6f45372 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/warnings 2021-10-03 21:01:50 +02:00
Milos Kozak 214078b477 fix displaying profile status 2021-10-03 19:01:03 +02:00
Andrei Vereha b4cdd4e7b3 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/warnings 2021-10-03 12:33:40 +02:00
Milos Kozak 13330aef1e fix wrong scheduler 2021-10-03 12:16:47 +02:00
Milos Kozak c8f5f4a116 optimize history browser 2021-10-03 12:04:03 +02:00
Milos Kozak 29acc3d17f optimize query if TBR is not faked by EB 2021-10-03 11:37:23 +02:00
Andrei Vereha 0eb103c199 Revert "disable dash for now"
Enable dash.
This reverts commit f5c6367495.
2021-10-02 10:38:33 +02:00
Milos Kozak 2c89dc1807 suppress warnings 2021-10-01 23:17:24 +02:00
Milos Kozak 8050fedaf6 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-10-01 16:55:40 +02:00
Milos Kozak defdb28f93 code cleanup 2021-10-01 11:07:16 +02:00
Milos Kozak 9f1a87110d NSCLIENT mode: do not create local profile switch 2021-09-30 19:08:38 +02:00
Milos Kozak 45b58719a6 Merge branch 'epssync' into dev 2021-09-30 17:46:18 +02:00
Andrei Vereha f5c6367495 disable dash for now 2021-09-25 19:05:49 +02:00
Andrei Vereha 0cd9beb2cf merge with dev 2021-09-25 13:55:57 +02:00
Milos Kozak 8d07a697c3 EffectiveProfileSwitch sync 2021-09-24 14:58:17 +02:00
Milos Kozak b2c45d0a26 remove PowerMock from all modules except wear 2021-09-23 17:35:55 +02:00