Commit graph

6104 commits

Author SHA1 Message Date
Milos Kozak
1edef7fb4e prevent stack overflow 2020-07-26 11:11:14 +02:00
Andy Rozman
996417bb47 Merge branch 'dev' into medtronic_modules 2020-07-25 00:44:09 +01:00
Andy Rozman
8e438f05fe - some changes with package fixes 2020-07-25 00:39:56 +01:00
Milos Kozak
bad7a584c6 cleanup nsclient settings 2020-07-24 13:30:19 +02:00
Milos Kozak
7bf9b8d588 better info in nsclient mode 2020-07-24 13:00:11 +02:00
Milos Kozak
80f2467694 remove logging 2020-07-24 12:42:28 +02:00
Milos Kozak
d51a7c9461 scheduleBgHistoryChange 2020-07-24 12:39:18 +02:00
Milos Kozak
6b676a1dfd prevent NPE 2020-07-24 10:18:19 +02:00
Milos Kozak
fc69e851d1
Merge pull request #2849 from dlvoy/fix-prefs-import-crash
Fix preferences import/export related crashes
2020-07-24 10:06:46 +02:00
Milos Kozak
f9806162e1 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-24 07:48:00 +02:00
Milos Kozak
0a6cd80257 fix keepalive 2020-07-24 07:47:54 +02:00
Dominik Dzienia
310c0b9137 Refactor hardcoded error messages to be translatable 2020-07-23 13:42:55 +02:00
Dominik Dzienia
3d0c214f44 Fix crash when user insist on exporting preferences while denying granting storage permission
* Handles IO errors and display toast about FS / permission errors
* Clarify text - storage permissions are needed not only for logs, but for export too
2020-07-23 13:33:15 +02:00
Dominik Dzienia
4068cd72ca Fix crash when preferences import list is opened for the second time (due to buggy implementation of ActivityResult and Contracts in early androidx)
* updated to newest version of fragments where bug is fixed
* catched exception and inform user with Toast
* refactor duplicated code in ImportExportPrefs
2020-07-23 12:59:42 +02:00
Milos Kozak
66a19cce22 remove unneeded variable 2020-07-21 22:24:13 +02:00
Milos Kozak
74ca36bb6e fix NPE 2020-07-21 22:14:46 +02:00
Milos Kozak
05eee2ebb9 fix user message time 2020-07-20 13:28:07 +02:00
Milos Kozak
35a2692d25
Merge pull request #2822 from Philoul/ProfileHelperImprovement
Profile helper UI improvement (color & icon)
2020-07-20 12:57:54 +02:00
Milos Kozak
15586abe52 fix AS calculation 2020-07-20 12:33:35 +02:00
Milos Kozak
3174b8219e
Merge pull request #2821 from Philoul/FixOverviewTBRIcon
Fix TBR icon even with 100% percent set
2020-07-20 08:14:12 +02:00
Andy Rozman
23cd1d9143 - some minor changes on dependency (removed full path)
- removed some logging
- fixed DailyTotalsDTO toString
- changed level of some logging
2020-07-18 15:18:25 +01:00
Philoul
507e04a30b Compare Profile icon and tab2 color
Change tab 2 color (to red) and Profile type label color (to red when tab 2 selected)
2020-07-17 01:09:30 +02:00
Milos Kozak
e3cd61cffc DPV profile 2020-07-16 17:30:04 +02:00
Milos Kozak
39b4eac60f add delay to executing automations 2020-07-15 22:46:59 +02:00
Philoul
61c3391eb5 Fix TBR icon even with TBR 100% set 2020-07-15 21:15:49 +02:00
Milos Kozak
9ff3011514 fix current location button 2020-07-15 20:06:45 +02:00
Milos Kozak
24f60ebc65 profile helper 2020-07-14 16:51:13 +02:00
Andy Rozman
6e50c3651d Merge branch 'dev' into medtronic_modules 2020-07-12 20:21:03 +01:00
Andy Rozman
ea80eb3c9b - created 2 modules: rileylink and medtronic
- refactored some classes
2020-07-12 20:15:11 +01:00
Milos Kozak
639e5b8302 Merge branch 'dev' into profilehelper 2020-07-09 18:59:25 +02:00
Milos Kozak
1d8120d051 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-09 18:58:58 +02:00
Milos Kozak
c2e5470da7 prevent ArrayIndexOutOfBoundsException 2020-07-09 18:52:09 +02:00
Milos Kozak
f39df8e8eb check for input data 2020-07-09 18:48:28 +02:00
Milos Kozak
4b967d237c Merge branch 'dev' into profilehelper 2020-07-09 18:40:48 +02:00
Milos Kozak
112032ab0e fix nullable params 2020-07-09 14:26:19 +02:00
Milos Kozak
9401fd0d80 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-07-09 14:21:58 +02:00
Milos Kozak
950e3a677b
Merge pull request #2804 from Tornado-Tim/greenbox-fix
Fix: Green Glucose Target override
2020-07-08 23:07:31 +02:00
Milos Kozak
45f168d427 fix nsclient layout 2020-07-08 22:29:26 +02:00
Tim Gunn
a93485a3c0
Fix the greenbox 2020-07-09 00:46:10 +12:00
Milos Kozak
2b7cb0d558 prevent kotlin exceptions 2020-07-07 17:16:22 +02:00
Milos Kozak
2c884821e0 ProfileHelper 2020-07-06 21:14:00 +02:00
Milos Kozak
b91f8e668a Profile comparator 2020-07-06 13:52:10 +02:00
AdrianLxM
73cb485607 Warn user of insecure fallback on missing master password and activated fingerprint 2020-07-04 21:57:27 +02:00
Milos Kozak
91bc31ba1b fix tablet mode 2020-07-04 10:22:37 +02:00
Milos Kozak
b02992e46b fix tests 2020-07-03 21:07:20 +02:00
Milos Kozak
888e7f4ab6 keep reference time for cached values 2020-07-03 20:10:47 +02:00
Milos Kozak
9c57e6b9b9 prevent NPE 2020-07-03 10:46:19 +02:00
Milos Kozak
1f71da4346 overview target logging 2020-07-03 10:38:16 +02:00
Milos Kozak
045b79d22f do not run RandomBgPlugin in main thread 2020-07-03 00:24:01 +02:00
Milos Kozak
9361010e46 do not run automation in main thread 2020-07-03 00:19:51 +02:00
Milos Kozak
c2ae713cc4 prevent NPE: 2020-07-02 23:50:38 +02:00
Milos Kozak
e9670dd20a fix displaying cob for nsclient 2020-07-02 23:35:19 +02:00
Milos Kozak
6e88d127e5 fix grabbing SSID info 2020-07-02 22:45:47 +02:00
Milos Kozak
3a2790acc3 remove BgSource from setup wizard 2020-07-02 20:28:42 +02:00
Milos Kozak
b13c39ebc5 set predefined values for nsclient 2020-07-02 16:41:48 +02:00
Milos Kozak
a08c1d5269 fix clash comming from RS history 2020-07-01 20:54:49 +02:00
Milos Kozak
d66d362aa3
Merge pull request #2775 from Philoul/BGDeltaConsistency
BG Deltas consistency enhancement
2020-06-30 23:01:56 +02:00
Tim Gunn
c4a317f515
Dismiss carb notifications automatically if no longer needed, crossfingers fix double wear OS notifications 2020-06-27 01:06:28 +12:00
Tim Gunn
2391ebe399
Remove the amount of carbs required from the main overview if a carb treatment has been made after APS run 2020-06-27 01:03:25 +12:00
Milos Kozak
d04cf567b8
Merge pull request #2776 from Philoul/AutomationTempTargetMmol
Fix mmol units in automation Temp Target Action
2020-06-26 10:59:48 +02:00
Philoul
5f02a1cc84 Fix units in Automation TT Action 2020-06-26 09:28:12 +02:00
Philoul
d28770ac08 Forgotten prediction lines 2020-06-25 21:33:45 +02:00
Philoul
2656e6a12c BG Deltas consistency enhancement
- Delta after minutes and label right aligned in layout (hard coded for label as it was in OverviewFragment)
- Signed delta avg values
2020-06-25 18:16:10 +02:00
Philoul
2606e51eb1 Second Fix, send all raw values sent in mg/dl (BG values, lowline and highline)
It's hard coded in mg/dl in Wear
Minor improvement in Wear code (just increase a little bit highest BG value in graphs, 400 mg/dl is sometimes too low => updated to 450 mg/dl)
2020-06-25 17:02:18 +02:00
Milos Kozak
0b0b4fc637 handle NS announcements properly 2020-06-24 19:15:35 +02:00
Milos Kozak
4d5880f034
Merge pull request #2741 from Philoul/Vector_Icons
Vector icons
2020-06-23 10:31:52 +02:00
Milos Kozak
be6c184061 try to catch startup error 2020-06-22 23:31:13 +02:00
Milos Kozak
3305a5979d fix displaying profile switches 2020-06-22 22:55:50 +02:00
Milos Kozak
6783c78d32 remove TODO 2020-06-22 22:20:11 +02:00
Milos Kozak
6cbdd6b98a Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-06-22 22:19:34 +02:00
Milos Kozak
6a1394b7b9 activate correct profile 2020-06-22 22:19:27 +02:00
Milos Kozak
63bf758636
Merge pull request #2747 from Philoul/Fix_Color_Watch_mmol
Fix "always yellow" in watch even if within range (mmol unit)
2020-06-22 21:06:30 +02:00
Milos Kozak
500de5fa2d fix status lights 2020-06-22 21:01:32 +02:00
Philoul
7f32881e10 Fix "always yellow" in watch 2020-06-20 14:54:54 +02:00
Philoul
d55c9d9ff6 Update Layout and code with new icons 2020-06-19 14:24:31 +02:00
Milos Kozak
c66084d3ab revert RandomBg safety 2020-06-19 11:13:30 +02:00
Dominik Dzienia
7f62450d99 Fix prediction data sent to WearOS by properly reacalculating them into current app unit 2020-06-17 15:53:46 +02:00
Dominik Dzienia
6b7420d0b7 Fix data sent to WearOS by properly reacalculating them into current app unit 2020-06-17 15:10:25 +02:00
Milos Kozak
782b109ebe
Merge pull request #2716 from Philoul/Replace_Png_Icons
Replace some png icons by vector
2020-06-16 22:16:34 +02:00
Philoul
5c2c8b5190 Safe Delete done
Forgotten usage added
2020-06-16 19:46:42 +02:00
Philoul
87f7dc0422 Delta added and clone lightened 2020-06-15 19:15:06 +02:00
Philoul
acfd9621b7 replace 4 LowRes Icons (add, remove, clone and as)
For add, remove and clone I set width and height to 16dp (automatically scaled in Local Profile layout but not in automation)
for as, I replaced low res icon by double arrows of overview fragment (size a little bit increased because in automation icons are very small)
2020-06-15 16:48:35 +02:00
Milos Kozak
0f971ebe29
Merge pull request #2712 from Philoul/Clean_double_string_names
Clean double string names
2020-06-15 12:34:01 +02:00
Milos Kozak
dae39d4379 fix NPE 2020-06-15 11:23:06 +02:00
Milos Kozak
bb5157bcca synchronized updateGui 2020-06-15 11:21:39 +02:00
Philoul
129c3d82d6 Seven loop icons done 2020-06-14 01:57:54 +02:00
Philoul
5ef52ea90f Some new vector icons again 2020-06-13 17:37:52 +02:00
Philoul
d3e98fb09b Create vector icon to replace png 2020-06-12 22:17:15 +02:00
Milos Kozak
dae717d524 try to fix crash 2020-06-11 23:33:29 +02:00
Milos Kozak
b5c72cb4a9
Merge pull request #2614 from Tornado-Tim/carbs-required
Show Carbs required - Updated from #1974
2020-06-11 20:42:43 +02:00
Milos Kozak
b73196a8d1 Merge branch 'dev' into insight-artificial-end-delay 2020-06-11 14:56:58 +02:00
Milos Kozak
6826bed92f Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-06-11 14:56:38 +02:00
Milos Kozak
17d71d218b allow RandomBg upload 2020-06-11 14:55:29 +02:00
Milos Kozak
e09fd75a9b
Merge pull request #2680 from Lexsus/dev_Milos
add PUMP CONNECT and PUMP DISCONNECT commands
2020-06-11 14:14:39 +02:00
Milos Kozak
deb99f236b better automation logging 2020-06-11 12:26:38 +02:00
Milos Kozak
8d2139fb59 history browser x-axis fix 2020-06-11 11:34:33 +02:00
Philoul
ac98f2e144 Rename Exam double Strings 2020-06-10 15:38:26 +02:00
Milos Kozak
8b45464f30 secondary graphs layout improvements 2020-06-04 16:24:53 +02:00
Milos Kozak
064389d066 fix HistoryBrowser crash 2020-06-04 14:34:40 +02:00
Tim Gunn
3b3df40ef5
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into carbs-required 2020-06-03 20:54:29 +12:00
Milos Kozak
15378fb2b8 InMemoryGlucoseValue 2020-06-02 21:59:51 +02:00
Milos Kozak
484f3a2a98 invalidate cache including bg after bg change 2020-06-02 19:28:56 +02:00
Tim Gunn
2c2201129b
Remove oref SMB carbs required preference 2020-06-03 00:17:05 +12:00
Tim Gunn
8142df9487
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into carbs-required 2020-06-02 23:57:15 +12:00
Lexsus
94390ca32f fixed after review. 2020-06-01 19:29:37 +03:00
Milos Kozak
3f97530b02
Merge pull request #2691 from Philoul/AbsCurveBackgroung
ABS Curve in background
2020-06-01 13:28:03 +02:00
Tim Gunn
ec188f1329
revert change 2020-06-01 12:14:45 +12:00
Milos Kozak
4efeb77fdc remove deprecation 2020-06-01 00:06:05 +02:00
Tim Gunn
8fefa0b5aa
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into carbs-required 2020-06-01 02:14:17 +12:00
Milos Kozak
55bccafef5 Large display skin 2020-05-31 12:02:42 +02:00
Milos Kozak
09de329934 libs update & cleanup 2020-05-31 11:27:12 +02:00
Milos Kozak
95e6b02873 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-05-31 10:12:45 +02:00
Milos Kozak
31b3177561 upgrade fabric to firebase 2020-05-31 10:12:36 +02:00
Tim Gunn
f69c11af40
Refractor to use new function 2020-05-31 16:43:32 +12:00
Tim Gunn
8aabf15dfe
snooze carb alerts for 15 min after treatments 2020-05-31 16:43:07 +12:00
Tim Gunn
28f2630a91
Eliminate Double notifications 2020-05-31 16:42:13 +12:00
Tim Gunn
04bd98e0e5
Add Last Carb Time 2020-05-31 16:41:19 +12:00
Philoul
a39b7be520 Order in menu changed too for consistency
So it's necessary to select again curves in secondary graphs...
2020-05-31 00:52:32 +02:00
Philoul
51739c31b7 ABS Curve in background
I didn't change order in selection menu (otherwise selected curves are changed in secondary graphs...)
2020-05-31 00:18:23 +02:00
Milos Kozak
f4293d4183
Merge pull request #2688 from Philoul/Add_Translation_Secondary_Graph_Title
Add translation for secondary graph title
2020-05-30 21:50:02 +02:00
Tebbe Ubben
5395ca4e71
Update LocalInsightPlugin.java 2020-05-29 19:51:13 +02:00
Lexsus
4af06620fb add tests for PUMP DISCONNECT sms command 2020-05-29 19:15:11 +03:00
Tim Gunn
15717f0271
fix duplicate vals 2020-05-29 22:42:54 +12:00
Tim Gunn
0dfdf6c68a
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into carbs-required 2020-05-29 21:51:05 +12:00
Milos Kozak
df0e46f47b remove duplicated files 2020-05-28 22:00:16 +02:00
Milos Kozak
02aff75dff
change delay to 1.5s 2020-05-28 21:33:36 +02:00
Milos Kozak
458efe467f
Merge pull request #2689 from Philoul/FixCOBHistoryBrowser
Fix Missing COB in history browser
2020-05-28 21:21:19 +02:00
Philoul
bef8b38b76 Fix Missing COB in history browser
But more calculation and slower :(
2020-05-28 18:06:32 +02:00
Lexsus
9a1993c5f6 corrections.
add some test for sms commands
2020-05-28 17:33:51 +03:00
Philoul
1a94d3d55e Add Strings for secondary graph title for translation 2020-05-28 16:26:57 +02:00
TebbeUbben
79cafc14f5 Insight: Log end events five seconds earlier 2020-05-28 15:24:53 +02:00
TebbeUbben
fa8e784733 Fix Open Humans Uploader 2020-05-28 15:19:35 +02:00
Milos Kozak
0abfb4c4f3
Merge branch 'dev' into carbs-required 2020-05-27 23:19:24 +02:00
Milos Kozak
49274ac0ef
Merge pull request #2602 from Tornado-Tim/skip-neutral-temps
WIP: Add skip Neutral Temps preference
2020-05-27 23:16:42 +02:00
Milos Kozak
77df5cdc10
Merge pull request #2679 from andyrozman/bug_2654_1
Bug 2654 (2)
2020-05-26 20:16:46 +02:00
Milos Kozak
c5aa12c5ba double SMB fix 2020-05-26 19:58:50 +02:00
Lexsus
11f768636e add PUMP CONNECT and PUMP DISCONNECT commands 2020-05-26 12:48:21 +03:00
TebbeUbben
5533f87bbc Also upload APS data 2020-05-26 01:42:33 +02:00
Andy Rozman
3bbbeed07d - There are few fields hidden between implementations MedtronicCommunicationManager and RileyLinkCommunicationManager. If there is error in packet (if MySentry is configugured on Pump), there is NPE when trying to write to log. 2020-05-25 22:40:55 +01:00
Milos Kozak
ec3ebd17db History activity performance improvement 2020-05-25 13:54:43 +02:00
Tim Gunn
7622d272c3
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into skip-neutral-temps 2020-05-25 21:16:32 +12:00
Milos Kozak
8a731a9187 SMSCommunicator LOOP command auth 2020-05-24 23:40:51 +02:00
Milos Kozak
0a33f4c0db fix TriggerRecurringTime #2 2020-05-24 21:10:44 +02:00
Milos Kozak
1cb648c09a fix TriggerRecurringTime 2020-05-24 20:23:22 +02:00
Milos Kozak
87eb8021de configbuilder fix 2020-05-23 22:49:05 +02:00
Milos Kozak
3d1b500395 fix ProfileSwitch loading 2020-05-23 22:16:55 +02:00
Milos Kozak
8ae817cdda nsalarm notifications fix 2020-05-23 21:54:01 +02:00
Milos Kozak
8e49717794
Merge pull request #2647 from Philoul/Insight_Pref_Vibration
Add vibration in Insight preferences
2020-05-23 18:08:53 +02:00
Milos Kozak
88adf04652
Merge pull request #2663 from Tornado-Tim/show-targets
Show oref internal overridden targets
2020-05-23 18:01:28 +02:00
Philoul
4f41890add Add additionnal setting for automated deliveries and add both in pumpcontrol pref
- previous setting is for manual bolus and extended bolus
- This new setting is for SMB and temp basal with TBR emulation
You can change settings name and summary if you find better...
2020-05-23 16:30:03 +02:00