Commit graph

6389 commits

Author SHA1 Message Date
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
Bart Sopers fcd3276e47 Rework RileyLink scan and add option to remove RileyLink 2020-12-25 18:43:51 +01:00
Philoul 47fe4d83be First draft 2020-12-25 16:47:42 +01:00
Milos Kozak 03c59d6e19 SMS: report pump unreachable 2020-12-25 12:06:54 +01:00
Philoul 124b8c07b1 Switch Short and long click functions
Short Click View Profile
Long Click Profile Switch Dialog
2020-12-24 18:03:18 +01:00
Philoul 2ae77ed66a Replace Profile Menu by Short / Long Click
Short Click => Profile Switch dialog
Long Click => View Current Profile
2020-12-24 09:25:28 +01:00
Philoul ae2c29a98d Improve TT Long Click 2020-12-23 22:03:39 +01:00
Philoul f76c6a4910 Remove unused code 2020-12-23 21:46:15 +01:00
Philoul 4a368c554e Show TT dialog on short click 2020-12-23 21:31:27 +01:00
Philoul 75e8eb9633 Merge remote-tracking branch 'Nightscout/dev' into ShortClick 2020-12-23 21:13:14 +01:00
Milos Kozak 3be91d83f6
Merge pull request #129 from Philoul/TempTargetButtons
TT Dialog Add 5 buttons for quick selection of TempTarget's type
2020-12-23 20:55:34 +01:00
Philoul c6e8f277c0 Manual button hidden, Cancel only if TT running, Spinner added
Long Click removed for Cancel and Spinner don't update values
2020-12-23 19:28:50 +01:00
Philoul ef1fa6b7d1 Long Click to fill parameters
Not sure code is optimum but it works...
2020-12-22 11:15:31 +01:00
Milos Kozak 87c21f0d02
Merge pull request #131 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Prevent crashes in Omnipod driver during/before setup
2020-12-22 01:27:18 +01:00
Bart Sopers 029a7e27fb Prevent crash on startup 2020-12-21 22:26:41 +01:00
Philoul ffb5a7cd4a Spinner removed and Confirm dialog if click on Cancel to Hypo buttons 2020-12-21 21:03:30 +01:00
Milos Kozak 07763f7c7d
Merge pull request #126 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Omnipod improvements
2020-12-21 20:45:06 +01:00
Philoul 1d1359dfd4 TT Dialog Add 5 buttons for quick selection of TempTarget 2020-12-20 19:54:54 +01:00
Bart Sopers 849e333cf4 i18n for Omnipod short status and hide battery level in overview and sms response when Use RL battery level setting is disabled 2020-12-19 15:57:20 +01:00
Bart Sopers d7cd8ea0ba Don't show battery age in overview for pumps without a replaceable battery 2020-12-19 02:53:26 +01:00
Bart Sopers ba0bd0fca3 Add comment 2020-12-19 02:16:20 +01:00
Bart Sopers 488b5427b0 Display Omnipod reservoir as 50+ units instead of fixed placeholder value 2020-12-19 02:12:41 +01:00
Milos Kozak f6dbb9e0e3
Merge pull request #121 from osodebailar/configbuilder_icons
Configbuilder icons for all plugins and further minor GUI changes
2020-12-18 23:46:03 +01:00
Milos Kozak 92d8fd8920
Merge pull request #124 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Omnipod updates
2020-12-18 21:30:49 +01:00
osodebailar 32f37c6b00 change string concetenate with standard coding 2020-12-18 09:05:41 +01:00
Bart Sopers 078eec82eb Acknowledge getPumpStatus request in Omnipod plugin when explicitly requested with SMS 2020-12-18 01:43:29 +01:00
osodebailar 00145520ff change name: pluginpreference with <plugin name> preference 2020-12-17 15:49:47 +01:00
osodebailar df8616e60b new nav header with plugin icons and extend colors for black and white transparence for future extensions 2020-12-17 13:59:06 +01:00
osodebailar 39355a4b6f add configbuilder icons for all plugins. rearrange view 2020-12-17 12:07:34 +01:00
Philoul f514f58c6a Merge remote-tracking branch 'Nightscout/dev' into ShortClick 2020-12-17 08:33:09 +01:00
Milos Kozak 756c76f591
Merge pull request #120 from nightscout/adrian/graph-update
refactor update graph and prevent crash if view is no longer available.
2020-12-16 00:06:33 +01:00
AdrianLxM b3418ef29c remove no longer needed compatibility function in WearUpdaterService 2020-12-15 23:04:59 +01:00
AdrianLxM 953887562c refactor update graph and prevent crash if view is no longer available. 2020-12-15 22:25:09 +01:00
Philoul 7f9f6d3f03 Remove Redundant Context menu 2020-12-14 22:12:40 +01:00
Philoul 28fa373d83 Replace Context menu by long click menu 2020-12-14 22:04:23 +01:00
Matthew Gray 5dcbd051ff Merge remote-tracking branch 'origin/master' 2020-12-14 13:23:51 +00:00
Matthew Gray fa7cab9365 Open topics:
1) Typo in Hypo Temp Target - FIXED.
2) Profile switching I:C answer (negate text or expected answer) - FIXED.
3) Douplicated copy in wrongcarbs - FIXED.
4) Possible other strategy in insulin delivery/entry errors. - FIXED.
2020-12-14 13:15:04 +00:00
Milos Kozak f5f4c655c5 ActionAlarm 2020-12-14 13:52:47 +01:00
Milos Kozak 4d02587bb7 AutomationEvent new options, automation jetpack bindings 2020-12-14 12:46:38 +01:00
Milos Kozak 7ed013d44c
Merge branch 'dev' into master 2020-12-11 21:46:00 +01:00
Milos Kozak 2c43bc75c0
Merge pull request #113 from Philoul/ProfileSwitch_Dialog
ProfileSwitch dialog Improvements
2020-12-11 21:35:29 +01:00
Milos Kozak 24034b46b8
Merge pull request #112 from Philoul/Overview_Info_Layout
Move Ago below Arrow
2020-12-11 21:15:58 +01:00
Philoul 7c3d85d3fd I propose to change ProfileSwitch steps to a fixed value of 5% (no additional settings) 2020-12-11 18:55:59 +01:00
Milos Kozak 989976f1e6
Merge pull request #105 from Philoul/TempTarget_Icons
New TempTarget icons
2020-12-11 14:20:40 +01:00
Philoul ef21a068a9 Improve vertical position of apsmode icon
apsmode_text TextView visible only if necessary
2020-12-11 14:06:59 +01:00
Philoul 5f7108317f Move Ago below Arrow 2020-12-11 10:23:04 +01:00
Philoul b889ef3612 Remove Patch for Sensor Battery level 2020-12-10 22:37:16 +01:00
Philoul 7a87cfc7ee Delete Automation rule with button
onItemDismiss left but could be simplified
2020-12-09 21:58:55 +01:00
Philoul 096aa008bc New TempTarget icons
Refactor to delete redundant icons
2020-12-09 20:59:43 +01:00
Brian Quinion 66a651a062 Use TextInputEditText instead of TextView to preference filter 2020-12-08 23:29:20 +00:00
Milos Kozak 3175fbef31 fix NSClient mode 2020-12-08 18:21:52 +01:00
Milos Kozak bf0dc1cb9b revert change 2020-12-08 08:50:21 +01:00
Milos Kozak e100e5abae large bg delta in tablet mode 2020-12-07 22:42:04 +01:00
Milos Kozak a5d9d25564
Merge pull request #98 from Rig22/pump_icons
SVG Icons for pumps fragment tab
2020-12-07 21:20:11 +01:00
osodebailar 634efad48f extend Plugin with icon resource for menue and config builder. Integrate plugin icon for pump selection into config builder 2020-12-07 18:51:16 +01:00
Milos Kozak 51fae5fa36 suppress warning 2020-12-06 17:43:41 +01:00
Milos Kozak 370c54a20b Merge remote-tracking branch 'ns/adrian/single-click-kotlin' into dev 2020-12-06 16:48:09 +01:00
Milos Kozak 5f3aaf6b54 code cleanup 2020-12-06 15:09:32 +01:00
Milos Kozak f370def798 improve SetupWizard 2020-12-06 13:19:53 +01:00
AdrianLxM cb0c0f47af SingleClickButton kotlin with Handler 2020-12-04 23:10:46 +01:00
Matthew Gray 8c4b2f20a1 Removed question numbers. Added noise and bread units questions. 2020-12-04 17:29:07 +00:00
Milos Kozak 30624053e3 transfer overview configuration to NSClient 2020-12-04 17:55:35 +01:00
AdrianLxM 8e95296bf7 fix logging lambda 2020-11-29 21:06:12 +01:00
AdrianLxM 5024db6748 fix two compiler warnings 2020-11-29 21:04:26 +01:00
AdrianLxM ea57e9b6cb use new permission system and fix a few compiler warnings 2020-11-29 20:44:57 +01:00
Milos Kozak 5c9a8d2f60
Merge pull request #86 from nightscout/adrian/recycler-adapter
BGSourceFragment UI tweaks and recognize history change
2020-11-29 19:41:51 +01:00
swissalpine a9bcb0ee76
Don't ignore the decision for low skin display
The decision made in the settings, that low skin should be displayed, should be respected - and not overwritten by display properties.
2020-11-29 15:31:45 +01:00
Milos Kozak 7a96c90ecf
Merge branch 'dev' into bugfix_clone_invalid_profile_causes_fatal_error 2020-11-29 13:29:44 +01:00
Milos Kozak 0ce368e6e1
Merge pull request #85 from nightscout/adrian/dkma
about dialog cleanup and dkma
2020-11-29 13:27:24 +01:00
Milos Kozak 6aa1b0c9e1
Merge pull request #87 from nightscout/adrian/coroutine-scoping
coroutines on lifecycle scope of view they are in
2020-11-29 13:26:24 +01:00
Brian Quinion 559a07fa6d Fix clone local profile to test that profile is valid before adding it (causes a fatal error) 2020-11-29 12:19:03 +00:00
Milos Kozak 85104c3c9d fix tests 2020-11-29 11:56:24 +01:00
AdrianLxM f3065c3268 coroutines on lifecycle scope of view they are in 2020-11-29 01:28:37 +01:00
AdrianLxM fe53b733d0 BGSourceFragment UI tweaks and recognize history change 2020-11-28 23:42:59 +01:00
AdrianLxM 124d61577d about dialog cleanup and dkma 2020-11-28 17:26:03 +01:00