Commit graph

6558 commits

Author SHA1 Message Date
AdrianLxM
c7e261d0e6 weekday picker working without view 2021-02-13 18:30:35 +01:00
AdrianLxM
ab9c533ff3
Fix crash of charts if no bg data exists in mg/dl 2021-02-13 01:38:43 +01:00
Milos Kozak
7acaf8a7e6 accept NSProfile as bundle 2021-02-11 23:42:40 +01:00
Milos Kozak
5a4a662ec1 Merge branch 'dev' into newdb 2021-02-11 21:55:47 +01:00
Milos Kozak
341bfdcdfa test libs update 2021-02-11 20:52:57 +01:00
Milos Kozak
7506c7e2ab remove findbug 2021-02-11 18:10:14 +01:00
Milos Kozak
30d77e845b
Merge pull request #304 from bartsopers/dash
Prepare for Dash development
2021-02-11 12:39:48 +01:00
Milos Kozak
e374cdfa98 Merge branch 'dev' into newdb 2021-02-11 12:01:12 +01:00
Milos Kozak
6e4effae55
Merge pull request #276 from Philoul/Graph_Scale
Secondary graphs : replace Activity by -BGI and align curves scales if same units
2021-02-11 11:48:01 +01:00
Bart Sopers
c05dcbd8db Minor Eros stuff 2021-02-11 00:51:20 +01:00
Bart Sopers
9489cbf9a7 Rename OmnipodPumpPlugin to OmnipodErosPumpPlugin 2021-02-09 21:05:40 +01:00
Bart Sopers
4456aaa015 Move omnipod package to omnipod.eros and fix some tests 2021-02-09 19:44:26 +01:00
Milos Kozak
9cade8f422 Merge remote-tracking branch 'ns/dev' into newdb 2021-02-09 18:12:10 +01:00
Milos Kozak
7b4a30865a UserEntry logging 2021-02-09 17:57:28 +01:00
AdrianLxM
922e6c5e9e data receiver fixes 2021-02-09 12:32:21 +01:00
Milos Kozak
6b9f62fbd5 plusAssign unify 2021-02-08 18:30:11 +01:00
Milos Kozak
3cb18b7d4e fix NPE 2021-02-08 16:17:24 +01:00
Milos Kozak
290ff23ddc add logging 2021-02-08 15:29:13 +01:00
Milos Kozak
420c5584cd reset databases in CompositeDisposable 2021-02-08 15:15:42 +01:00
Milos Kozak
cdac8d9d99 reset databases in thread 2021-02-08 14:51:57 +01:00
Milos Kozak
145765e611 improve BG sync 2021-02-08 13:40:09 +01:00
Milos Kozak
887819edf4 eliminate BgReading::class in favor of GlucoseValue::class 2021-02-08 10:05:21 +01:00
Milos Kozak
d93865997c update NS values from patched Dexcom app smoothing 2021-02-07 11:14:32 +01:00
Philoul
4f52358516 Change color for BGI curve
I choose light blue because calculated from insulin but it could be anything else...
2021-02-06 14:51:38 +01:00
Milos Kozak
7763a96d6a migrate BG code 2021-02-06 00:30:27 +01:00
Milos Kozak
cfe23cef96 AapsSchedulers 2021-02-04 20:54:09 +01:00
Milos Kozak
230cc943af
Merge pull request #280 from nightscout/dataservice
Dataservice
2021-02-04 18:03:19 +01:00
Milos Kozak
136c7fbe6f cleanup 2021-02-04 13:19:58 +01:00
Milos Kozak
e16d661183 OverviewFragment -> jetpack 2021-02-04 12:03:34 +01:00
Milos Kozak
f5eba51d5a ActionsFragment -> jetpack 2021-02-04 10:06:19 +01:00
Milos Kozak
ff28f26bda ActionsFragment binding 2021-02-04 00:19:34 +01:00
Milos Kozak
0054fce4d9 treatments UI cleanup 2021-02-03 22:40:13 +01:00
Milos Kozak
a6b7beb2d7 TreatmentsTemporaryBasalsFragment -> jetpack 2021-02-03 20:22:03 +01:00
Milos Kozak
327f1ca63b TreatmentsProfileSwitchFragment -> jetpack 2021-02-03 20:08:53 +01:00
Milos Kozak
8a15fe12ba TreatmentsBolusFragment -> jetpack 2021-02-03 16:04:09 +01:00
Milos Kozak
74ae51a9e0 TreatmentsFragment -> jetpack 2021-02-03 15:52:43 +01:00
Milos Kozak
fab3c870d7 BGSourceFragment -> jetpack 2021-02-03 15:43:47 +01:00
Milos Kozak
4476d0e0db TreatmentsCareportalFragmentBinding -> jetpack 2021-02-03 15:30:05 +01:00
Milos Kozak
dbb2234236 check for invalid actions 2021-02-03 12:57:33 +01:00
Milos Kozak
c353da5767 fix tests 2021-02-02 23:30:11 +01:00
Milos Kozak
61871a924b LocalProfileFragment -> jetpack 2021-02-02 21:53:57 +01:00
Milos Kozak
29e33a68c2 TreatmentsExtendedBolusesFragment -> jetpack 2021-02-02 21:38:22 +01:00
Milos Kozak
609c1dfad3 InsulinFragment -> jetpack 2021-02-02 21:11:40 +01:00
Milos Kozak
026d6039dc SmsCommunicatorOtpActivity -> jetpack 2021-02-02 21:04:44 +01:00
Milos Kozak
2e58bfc829 SmsCommunicatorOtpActivity -> jetpack 2021-02-02 20:48:03 +01:00
Milos Kozak
2078962057 SmsCommunicatorOtpActivity -> jetpack 2021-02-02 20:32:07 +01:00
Milos Kozak
e7d58a8f84 EditQuickWizardDialog -> jetpack #2 2021-02-02 20:25:15 +01:00
Milos Kozak
97ddba4941 Merge branch 'dev' into dataservice 2021-02-02 18:18:13 +01:00
Milos Kozak
31924ce6d1 BundleStore 2021-02-02 17:48:39 +01:00
Milos Kozak
99185f3d1f EditQuickWizardDialog -> jetpack 2021-02-01 20:36:58 +01:00
Milos Kozak
acf3b23bf7 cleanup 2021-02-01 15:24:48 +01:00
Milos Kozak
920cba5219 DataService refactor 2021-01-30 22:34:05 +01:00
Philoul
71af958fca Replace Activity by -BGI in secondary graphs
Align scales (IOB / Absolute) and (deviation / -BGI) if selected in the same graph
2021-01-30 21:27:22 +01:00
Milos Kozak
f2e5ef76aa OverviewFragment simplify 2021-01-26 15:44:56 +01:00
Milos Kozak
a15522fd50 VirtualPumpFragment -> jetpack 2021-01-26 15:44:14 +01:00
Milos Kozak
7f924deb7f
Merge pull request #260 from nightscout/fix/include-treatments-in-chartheight
include treatments in chart height
2021-01-25 13:30:51 +01:00
Milos Kozak
4e9b8ed78e Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-01-25 13:28:35 +01:00
Milos Kozak
d568b83169
Merge pull request #263 from nightscout/feature/open-app-on-notification
open app on notification press
2021-01-25 13:27:52 +01:00
Milos Kozak
f33c7f0b79 SetupWizardActivity -> jetpack 2021-01-25 12:09:22 +01:00
Milos Kozak
aeec33eb9e FoodFragment -> jetpack 2021-01-25 11:35:36 +01:00
Milos Kozak
c3878de916 QuickWizardListActivity -> jetpack 2021-01-25 10:36:05 +01:00
Milos Kozak
7e0be475f8 ObjectivesExamDialog -> jetpack 2021-01-24 22:12:03 +01:00
AdrianLxM
df655a234e include treatments in chart height 2021-01-24 20:56:31 +01:00
Milos Kozak
55da01d4a9 ObjectivesFragment -> jetpack 2021-01-24 16:16:07 +01:00
Milos Kozak
fcf67cd014 ConfigBuilderFragment -> jetpack 2021-01-24 15:20:12 +01:00
Milos Kozak
c4eb6eae91 OpenAPSSMBFragment -> jetpack 2021-01-24 14:55:38 +01:00
Milos Kozak
95e97edc74 OpenAPSAMAFragment -> jetpack 2021-01-24 14:50:21 +01:00
Milos Kozak
21095233dc HistoryBrowseActivity -> jetpack 2021-01-24 14:44:11 +01:00
Milos Kozak
1294642feb LoopFragment -> jetpack 2021-01-24 14:19:25 +01:00
Milos Kozak
ec281c24d2
Merge pull request #256 from swissalpine/patch-4
CareDialog.kt: exercises - enable note field
2021-01-24 13:59:44 +01:00
Milos Kozak
4911fe0165 MaintenanceFragment -> jetpack 2021-01-23 22:45:14 +01:00
Milos Kozak
4e3506007f WearFragment, SkinInterface -> jetpack 2021-01-23 22:42:13 +01:00
AdrianLxM
9da8f188b7 open app on notification press 2021-01-23 22:26:18 +01:00
Milos Kozak
724b52e929 AutomationPlugin synchronized 2021-01-23 21:51:59 +01:00
swissalpine
d66ed2459d
CareDialog.kt: Enable notes when saving activities
Allows notes (e.g. type of sport, intensity, etc.) when logging activities.
2021-01-23 14:12:12 +01:00
swissalpine
451dd59c2b
Fix: Seperate cartridge change from canula change 2021-01-22 20:08:33 +01:00
Milos Kozak
36d3182b1b LogSettingActivity -> jetpack 2021-01-22 14:34:13 +01:00
Milos Kozak
a6449a7578 SurveyActivity -> jetpack 2021-01-22 14:23:49 +01:00
Milos Kozak
9409193935 -> jetpack 2021-01-22 14:20:56 +01:00
Milos Kozak
b9477eef16 ProfileHelperActivity -> jetpack 2021-01-22 14:16:59 +01:00
Milos Kozak
3022214105 PreferencesActivity -> jetpack 2021-01-22 14:04:32 +01:00
Milos Kozak
3f229dfa9b MainActivity -> jetpack 2021-01-22 11:34:28 +01:00
Milos Kozak
407a7700a5 fix DialogFragmentWithDate 2021-01-22 10:26:34 +01:00
Milos Kozak
39c3a1404d fix AutoStartReceiver injection 2021-01-22 09:45:21 +01:00
Milos Kozak
0c6cd4aa82 WizardInfoDialog -> jetpack 2021-01-21 20:54:13 +01:00
Milos Kozak
63d328b940 TreatmentDialog -> jetpack 2021-01-21 20:46:21 +01:00
Milos Kozak
4a2213d11e TempTargetDialog -> jetpack 2021-01-21 20:41:29 +01:00
Milos Kozak
19b82f2246 TempBasalDialog -> jetpack 2021-01-21 20:35:14 +01:00
Milos Kozak
b09a909d74 InsulinDialog -> jetpack 2021-01-21 20:31:20 +01:00
Milos Kozak
83c709e2bc FillDialog -> jetpack 2021-01-21 20:21:25 +01:00
Milos Kozak
f1f0703a88 ExtendedBolusDialog -> jetpack 2021-01-21 20:16:13 +01:00
Milos Kozak
d376ee2229 CareDialog -> jetpack 2021-01-21 17:21:29 +01:00
Milos Kozak
bcc573202c CarbsDialog -> jetpack 2021-01-21 17:03:05 +01:00
Milos Kozak
24eec08a35 CalibrationDialog -> jetpack 2021-01-21 16:45:54 +01:00
Milos Kozak
157642649e ProfileSwitchDialog -> jetpack 2021-01-21 16:38:42 +01:00
Milos Kozak
99bf1567e2 NSProfileFragment -> jetpack 2021-01-21 12:48:30 +01:00
Milos Kozak
c6438f5df9 prevent NPE 2021-01-21 09:37:04 +01:00
Milos Kozak
8801c28176 fix bolus advisor for nsclient 2021-01-20 21:03:45 +01:00
Milos Kozak
7aa689d331 fix AutoStartReceiver 2021-01-20 15:56:46 +01:00
Milos Kozak
d2517f0beb fix NPE and Target fragment must implement TargetFragment interface issue 2021-01-20 15:07:01 +01:00
AdrianLxM
d665fdd0f7
First plugin / Overview should register for preference name 2021-01-20 09:51:31 +01:00
Milos Kozak
6239f8e289 higher default TT values 2021-01-19 10:59:46 +01:00
Milos Kozak
e26ae1af7d asking for permissions refactor 2021-01-18 22:47:55 +01:00
Milos Kozak
65a39d91be refactor import/export to create DaggerAppCompatActivityWithResult 2021-01-18 17:36:18 +01:00
Milos Kozak
270b6623ea prevent IndexOutOfBoundsException 2021-01-18 11:06:37 +01:00
Milos Kozak
3f561943dc avoid ConcurrentModificationException 2021-01-17 17:01:13 +01:00
Milos Kozak
68faba8951 DummyServiceHelper 2021-01-17 13:23:59 +01:00
Milos Kozak
d40559d444 LocationServiceHelper 2021-01-16 18:36:57 +01:00
Milos Kozak
22f9ccab32 simplify code 2021-01-16 18:29:18 +01:00
Milos Kozak
5f3fdca063 lint 2021-01-16 18:13:59 +01:00
Milos Kozak
d300a95e39 prevent NPE 2021-01-15 13:37:30 +01:00
Milos Kozak
534b27cb71 prevent NPE 2021-01-15 13:34:05 +01:00
Milos Kozak
4c9052b29a prevent NPE 2021-01-14 18:45:51 +01:00
Milos Kozak
90f6908b22 HistoryBrowser: synchronize access to graph 2021-01-14 18:39:23 +01:00
Milos Kozak
10bd1d2df0 fix button visibility logic 2021-01-12 18:45:46 +01:00
Milos Kozak
9f0ff6d872 fix NPE 2021-01-12 14:46:28 +01:00
Milos Kozak
76f1407d2c fix import from wizard 2021-01-12 11:32:54 +01:00
Milos Kozak
80c12a2c21 engineering__mode 2021-01-12 11:07:26 +01:00
Milos Kozak
ba282f098e allow NS_UPLOAD_ONLY in engineering mode only 2021-01-12 10:55:20 +01:00
Milos Kozak
1fd8257953
Merge pull request #209 from nightscout/app/crash-on-unattached-fragment
only handl callback if fragment is attached to activity
2021-01-10 19:52:46 +01:00
Milos Kozak
a843bb8b84
Merge pull request #210 from nightscout/fix/concurrent-button-press-crash
Fix/concurrent button press crash
2021-01-10 19:52:04 +01:00
AdrianLxM
301c44627f fix menu crash and make graph label translatable 2021-01-10 04:10:21 +01:00
AdrianLxM
b509d13073 avoid concurrent button press crash in TimeListEdit - now for real 2021-01-10 03:54:51 +01:00
AdrianLxM
4c25272969 avoid concurrent button press crash in TimeListEdit 2021-01-10 03:41:54 +01:00
AdrianLxM
e8a0a1fcaf only handl callback if fragment is attached to activity 2021-01-10 03:27:47 +01:00
Milos Kozak
48084ff7bf add keys to crash report 2021-01-08 18:55:01 +01:00
Milos Kozak
2ab27f5eb9
Merge pull request #197 from AAPS-Omnipod/rl_battery_level_medtronic
Show RL battery level for Medtronic & add setting to enable battery change logging for Omnipod
2021-01-08 13:39:19 +01:00
Bart Sopers
5c0545cd99 Add setting for showing RL battery level for Medtronic and add setting for enabling battery change logging for Omnipod 2021-01-07 23:38:00 +01:00
Milos Kozak
83324c97a7 prevent ArrayIndexOutOfBoundsException 2021-01-07 11:16:41 +01:00
Bart Sopers
8034c7411d Only automatically update Omnipod time for DST and TZ changes 2021-01-07 03:56:54 +01:00
Stephen Brown II
151fb270df Remove extra minus sign from Bolus Wizard timeshift result 2021-01-04 16:22:21 -07:00
Milos Kozak
eb84f5e6a7 LoopDialog protection 2021-01-03 17:26:37 +01:00
Milos Kozak
34435d4684 fix CGM data is unchanged 2021-01-03 16:26:57 +01:00
Milos Kozak
d6f00e5b0d fix editing automation event name 2021-01-03 16:02:29 +01:00
Philoul
6f8faae8de Improve Dialog Refresh 2021-01-01 16:44:25 +01:00
Milos Kozak
21c92d41c8 fix passing context 2021-01-01 11:37:24 +01:00
AdrianLxM
aedc2cb352 prepare graphs with settings size used for ui updates 2020-12-29 13:30:46 +01:00
AdrianLxM
d0b6e09250 reduce access to setting in OverviewMenus 2020-12-29 13:14:03 +01:00
Milos Kozak
6ed733f8cf Objectives correction 2020-12-28 22:59:45 +01:00
Milos Kozak
52c6d762f5 Merge branch 'dev' into objectives 2020-12-28 18:40:10 +01:00
Milos Kozak
e59fa702ec Merge branch 'wizard' into dev 2020-12-28 16:42:43 +01:00
Milos Kozak
c8f7dae2c8 Bolus advisor 2020-12-28 16:42:00 +01:00
Milos Kozak
b2047b7810 code style 2020-12-28 12:21:31 +01:00
Milos Kozak
ce8fbc5580 fix typo in LocalAlertUtils 2020-12-27 21:46:13 +01:00
Philoul
01062c4755 Use Jetpack instead of Kotlin 2020-12-27 16:20:32 +01:00
Philoul
08ab436d90 Add Closed / LGS / Open switching in Loop paragraph 2020-12-27 15:32:12 +01:00
Philoul
b4710b4936 Merge remote-tracking branch 'Nightscout/dev' into LoopDialog 2020-12-27 13:18:04 +01:00
Philoul
f74ca3b424 Remove old code 2020-12-26 22:54:14 +01:00
Philoul
329e5af94f Update "Loop header" 2020-12-26 18:26:46 +01:00
Philoul
cefdaa471d Replace Loop Menu by Loop Dialog 2020-12-26 17:40:16 +01:00