Commit graph

7149 commits

Author SHA1 Message Date
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
Milos Kozak b40428c986
Merge pull request #607 from Philoul/NewUelLog
New UserEntries
2021-09-22 18:20:06 +02:00
Milos Kozak a1a5fbaa4f Display EventType properly 2021-09-21 22:17:06 +02:00
Milos Kozak d33f62b23d remove PowerMockRunner where possible 2021-09-21 21:57:56 +02:00
Andrei Vereha 2a2cf9fa3c Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/merge-dev-6 2021-09-21 21:17:53 +02:00
Milos Kozak d43393e2af unify trend arrow AAPS <-> watch 2021-09-21 16:46:12 +02:00
Milos Kozak ce59c3afd4 lints 2021-09-21 15:35:59 +02:00
Milos Kozak 9e42f91848 finish removing Objective8 2021-09-21 15:16:19 +02:00
Andrei Vereha 09675de3f1 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dash 2021-09-20 18:32:52 +02:00
Milos Kozak 7bb2f446b7 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-09-20 17:20:22 +02:00
Milos Kozak 374e251801 remove @Jvm directives where possible 2021-09-20 17:20:09 +02:00
Milos Kozak 71093db68a prevent IndexOutOfBounds 2021-09-20 17:17:01 +02:00
Milos Kozak f2cc8fb5f5
Merge pull request #678 from Philoul/Fix/ProfileTotalBasal
Fix total basal in Local Profile Fragment
2021-09-20 16:03:00 +02:00
Milos Kozak 72a309a055 reset password procedure 2021-09-20 14:13:56 +02:00
Milos Kozak 4b6d4d287c Ask for old apssword in SetupWizard 2021-09-20 13:04:13 +02:00
Milos Kozak 02b77ae554 Remove Objective8 (9) 2021-09-20 11:10:47 +02:00
Milos Kozak b80e2a7648 Improve COB handling 2021-09-19 09:59:35 +02:00
Philoul 45f576b838 Add getEditProfile function to calculate SumLabel 2021-09-18 21:54:29 +02:00
Milos Kozak fb9f5220d3 Ignore future events for status lights 2021-09-18 18:06:11 +02:00
Philoul bafc8e951a Merge remote-tracking branch 'Nightscout/dev' into Fix/ProfileTotalBasal 2021-09-17 18:10:39 +02:00
Andrei Vereha e31c77a858 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/merge-dev-5 2021-09-16 23:38:55 +02:00
Milos Kozak a448efe09c fix profile editor (ISF limits) 2021-09-16 00:18:02 +02:00
Milos Kozak c611674b3b show only valid data 2021-09-16 00:02:27 +02:00
Milos Kozak 56a0c97e96
Merge pull request #634 from Philoul/Fix_DisableLoop
Fix Overview LoopDialog (Disable Loop)
2021-09-15 23:54:15 +02:00
Milos Kozak 444915ebf7 fix displaying bg data on range change 2021-09-15 23:19:25 +02:00
Andrei Vereha cb86438c27
Revert "Revert "avereha/merge dev 2"" 2021-09-15 18:38:27 +02:00
Andrei Vereha 7fff6fc564
Revert "avereha/merge dev 2" 2021-09-15 00:12:35 +02:00
Andrei Vereha efad748939 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into avereha/merge-dev-2 2021-09-14 23:55:15 +02:00
Milos Kozak 7690419c6c always show basal in NSClient mode 2021-09-13 21:05:01 +02:00
Milos Kozak ba71e0db9b more Profile validity checks 2021-09-13 19:06:32 +02:00
Andrei Vereha d4b0935d6b Merge remote-tracking branch 'upstream/dev' into dash 2021-09-13 18:39:23 +02:00
Philoul fc83e41148 Avoid disconect pump during suspend 2021-09-10 00:34:17 +02:00
Philoul 4420189310 Merge remote-tracking branch 'Nightscout/dev' into Fix_DisableLoop 2021-09-09 00:03:27 +02:00
Milos Kozak d18c05205c Resolve warnings 2021-09-07 12:08:19 +02:00