Commit graph

6225 commits

Author SHA1 Message Date
Matthew Gray
865264fc3c Group RC2. 2020-11-17 14:14:29 +00:00
Bart Sopers
728b666834 Merge branch 'dev' into omnipod_eros_dev_upstream_merge 2020-11-13 14:50:55 +01:00
Milos Kozak
edd5dd7980 fix Stats 2020-11-12 22:56:03 +01:00
Bart Sopers
642a7c8e3b Revert "Prepare Omnipod for upstream merge"
This reverts commit 787fa0b305.
2020-11-12 17:29:17 +01:00
Milos Kozak
d1009e5321 better handle storage permission on import 2020-11-12 15:27:45 +01:00
Milos Kozak
4986ddef46
Merge pull request #65 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Latest Omnipod updates
2020-11-12 11:25:21 +01:00
Bart Sopers
5e8cb2e1ed Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-11-11 21:09:33 +01:00
Bart Sopers
cdf059a0ba Revert hiding disconnect buttons in overview for Omnipod 2020-11-11 20:31:05 +01:00
Bart Sopers
c16fc3a946 Show disconnected icon in overview for Omnipod when Pod is suspended and hide disconnect buttons in overview for Omnipod 2020-11-11 20:12:57 +01:00
Milos Kozak
e9d0cb3d5c
Merge pull request #55 from twain47/pregnancy_age
Add 'pregnant' age option to allow for higher insulin requirements during pregnancy
2020-11-08 18:01:01 +01:00
Milos Kozak
6b629a1dda
Merge pull request #41 from Philoul/Action_CarePortalInfo
Level informations added in Action>Careportal
2020-11-08 17:47:14 +01:00
Brian Quinion
e89eb67236 Update hard limits based on looping in pregnancy group feedback 2020-11-08 16:31:10 +00:00
Brian Quinion
aa53ac11f2 Move PREGNANT to a correct key/value pair 2020-11-08 00:45:49 +00:00
Matthew Gray
9546d9adef Group RC1. 2020-11-03 13:37:31 +00:00
Matthew Gray
4e914d213b 2nd build fixes. 2020-11-03 13:29:45 +00:00
Matthew Gray
d0037886ba 1st build fixes. 2020-11-03 12:08:32 +00:00
Matthew Gray
c5ee40b393 1st build fixes. 2020-11-03 11:47:25 +00:00
Matthew Gray
c42464da06 SpIdentifiers done. 2020-11-03 10:26:16 +00:00
Matthew Gray
159a465ff8 All questions done.
Check SpIdentifier.
2020-11-01 14:22:08 +00:00
Matthew Gray
cb71f550b9 more tidying 2020-10-30 15:15:35 +00:00
Matthew Gray
ed2a73339e more tidying 2020-10-30 14:56:03 +00:00
Matthew Gray
ca343e7b2d more tidying 2020-10-30 14:51:41 +00:00
Matthew Gray
5b1cf6cd0c Questions in. 2020-10-30 14:06:50 +00:00
Matthew Gray
b608d25599 Can't remember if I did a commit when I stopped work yesterday.
Doing one before I start.
2020-10-29 14:00:02 +00:00
Matthew Gray
b2b59968ca Can't remember if I did a commit when I stopped work yesterday.
Doing one before I start.
2020-10-29 13:49:52 +00:00
Brian Quinion
21b1117655 Add 'pregnant' age option to allow for higher insulin requirements during pregnancy 2020-10-29 12:53:01 +00:00
Matthew Gray
584869094f 2nd few changes so I can build this as a test. 2020-10-28 14:05:35 +00:00
Bart Sopers
da8c231743 Disable Omnipod plugin for upstream
This reverts commit aa8e71e0f8.
2020-10-28 14:54:55 +01:00
Matthew Gray
0f5bfd1b08 1st few changes 2020-10-28 11:37:38 +00:00
Philoul
fb95eb4f2f Add LowRes Layout for action tab and additional function in Skininterface 2020-10-26 22:55:22 +01:00
Bart Sopers
aa8e71e0f8 Revert "Disable Omnipod plugin for upstream"
This reverts commit 00a54b48c7.
2020-10-26 15:26:16 +01:00
Milos Kozak
13a55eeb42 fix importing settings 2020-10-26 14:34:55 +01:00
Milos Kozak
79d24dfeca updateGui in onResume for BGSource fragment 2020-10-26 12:27:59 +01:00
Milos Kozak
6c19edbf1c Improve NSClient preferences in NSC mode 2020-10-26 10:37:55 +01:00
Milos Kozak
ab41ffa83e Allow BT watchdog setting for all pumps 2020-10-26 09:58:11 +01:00
Milos Kozak
b4ff088974 Allow configuring pump type in NSClient 2020-10-25 23:10:09 +01:00
Milos Kozak
3442e29e5c Allow flat BGs for DexcomPlugin 2020-10-25 22:28:21 +01:00
Dominik Dzienia
0f4a428c00 Prevent duplicate numbers in SMS communicator config 2020-10-22 23:49:36 +02:00
Dominik Dzienia
b2bd2cafec Allow exporting OTP authenticator secred, for manual provisioning or use in hardware OTP token burning apps 2020-10-22 23:18:52 +02:00
Dominik Dzienia
0df3aaccae Secure authenticator QRCode against screen grabers 2020-10-22 22:27:49 +02:00
Bart Sopers
6d51224089 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-10-21 14:45:44 +02:00
Philoul
405a5526ab Little more compact Low Res layout 2020-10-20 21:22:50 +02:00
Philoul
85c2c9bb50 Replace dedicated setting by Low Res Skin
Just a copy of Classic skin for initialization
2020-10-20 21:17:28 +02:00
Milos Kozak
4f5533ad9b
Merge pull request #39 from saydo-co/dev
Validate durationStep from tbrSettings in Pumptype when setting TBR v…
2020-10-19 23:27:46 +02:00
Milos Kozak
7ac74f5a9e firebase libs update 2020-10-19 22:42:26 +02:00
Philoul
ee79588449 Add setting for shorten label on very low res 2020-10-19 22:14:28 +02:00
Philoul
6fe1a4ab1f Replace override function by default in BGSourceInterface 2020-10-19 21:03:10 +02:00
Milos Kozak
fe5cc3d334 layouts -> AppCompat 2020-10-19 19:24:33 +02:00
Milos Kozak
154d2af774 activity -> FragmentActivity 2020-10-19 18:40:17 +02:00
Milos Kozak
0a207cbecc lint recommendation 2020-10-19 17:54:41 +02:00
Sam Spycher
2025e1bdae Remove unnecessary import 2020-10-19 14:13:21 +02:00
Sam Spycher
31bbb69c02 Remove String.format usage 2020-10-19 13:59:03 +02:00
Milos Kozak
00c5f140a9
Merge pull request #37 from dlvoy/fix-import-legacy-preferences
Fixes import of legacy preferences
2020-10-19 11:32:28 +02:00
Philoul
4dc042a772 Remove addition Layout and update to remove Level in NsClient Version 2020-10-18 16:52:05 +02:00
Philoul
b5c77522ab Patch of xDripPlugin and Eversens plugin to disable Sensor battery level in Action tab
- xDrip disabled because of an issue in xDrip today (Phone battery level sent and not Sensor battery level)
- Eversens disabled because I'm not sure of data sent (String, Int ?) to avoid error or crash
2020-10-17 22:26:03 +02:00
Philoul
961ee4ccf4 Add Sensor Battery Level information
It works with xDrip and Miaomiao2, but today there is a bug in xDrip (xDrip sends Phone battery level and not Sensor Battery level...)
2020-10-17 22:22:09 +02:00
Philoul
3f4b3149db Add new interface for BgSource to get SensorBatteryLevel
Note, for xDrip, an Int is sent but I don't know what type of value is sent for Eversens that has a sensor battery level too...
2020-10-17 20:12:58 +02:00
Bart Sopers
f64cc66298 Improve Setup Wizard for Omnipod 2020-10-17 19:47:39 +02:00
Philoul
bd3cba8a1a First version of Layout and interface 2020-10-17 11:00:38 +02:00
Sam Spycher
b355511f33 Validate durationStep from tbrSettings in Pumptype when setting TBR via SMS
Fixes nightscout/AndroidAPS#38
2020-10-16 18:27:04 +02:00
Dominik Dzienia
926e9099bb Fixes import of legacy preferences 2020-10-15 20:29:58 +02:00
Philoul
c0ebb8f206 Remove BG decimal if mg/dl unit in Calculator 2020-10-11 20:41:37 +02:00
Milos Kozak
cbdee2b81b
Merge pull request #7 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Latest Omnipod updates + custom queue commands
2020-10-02 09:40:45 +02:00
Bart Sopers
b4bd05dc32 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-10-01 21:06:14 +02:00
Bart Sopers
2e0161edf0 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_upstream_merge 2020-10-01 19:43:34 +02:00
Bart Sopers
31215ea488 Split Change Pod wizard into Activate Pod wizard and Deactivate Pod wizard 2020-10-01 19:32:56 +02:00
Milos Kozak
6bc1549a91 catch NPE 2020-10-01 19:10:37 +02:00
Milos Kozak
05125af9e7 Lyumjev 2020-10-01 18:48:32 +02:00
Milos Kozak
04f2b0aa15
Merge pull request #15 from osodebailar/import_export_fix_for_very_small_displays
fix for small displays that  cannot import settings due to scroll and…
2020-10-01 18:03:54 +02:00
osodebailar
42e37710f2 fix bottom button and change layout again to fit better 2020-09-30 20:15:07 +02:00
osodebailar
8d93ab6e79 format changes 2020-09-30 09:06:49 +02:00
osodebailar
7b7a0e0d5e fix for small displays that cannot import settings due to scroll and display too large texts problem like Jelley 2020-09-30 08:58:03 +02:00
Bart Sopers
8af6519687 Finish new Change Pod Wizard (and some other small changes) 2020-09-29 20:53:12 +02:00
Milos Kozak
c2d54c33fd
Merge pull request #12 from dlvoy/hotfix/fix-enginering-mode
[FIX] Make enginering mode enabled only when turned on
2020-09-29 11:12:08 +02:00
Milos Kozak
c2c1fc15e6 fix passing key_smbinterval 2020-09-29 11:08:48 +02:00
Dominik Dzienia
252063d822 Make enginering mode enabled only when turned on 2020-09-28 22:36:20 +02:00
Bart Sopers
787fa0b305 Prepare Omnipod for upstream merge 2020-09-25 16:33:10 +02:00
Bart Sopers
50c3ec702c Merge branch 'omnipod_eros_dev_upstream_merge' into omnipod_eros_dev 2020-09-24 23:13:46 +02:00
Milos Kozak
fea6dff294 update paths 2020-09-23 15:53:38 +02:00
Milos Kozak
5c0c84ae2d Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-09-23 15:44:22 +02:00
Milos Kozak
8ad9c05c90 default automation event 2020-09-23 15:44:00 +02:00
Bart Sopers
adb26b3ccf Move CustomCommand interface to queue.commands package 2020-09-14 19:59:20 +02:00
Bart Sopers
feecfc5676 - Add custom queue command mechanism to replace abusing getPumpStatus for this purpose
- Display error and confirmation dialog for commands executed from the Omnipod tab
- Improve Exception logging in AapsOmnipodManager
- A few random improvements and bug fixes
2020-09-14 16:19:09 +02:00
Bart Sopers
c7687aa6c7 Revert "Prepare Omnipod branch for upstream merge"
This reverts commit 02583c2612.
2020-09-13 18:51:10 +02:00
Bart Sopers
d21a8ed00e Merge branch 'omnipod_eros_dev_upstream_merge' into omnipod_eros_dev 2020-09-13 18:47:10 +02:00
AdrianLxM
8a57ed6559
Update OpenHumansUploader.kt 2020-09-10 20:31:57 +02:00
Milos Kozak
5a14c4d48d disable option for skipping objectives 2020-09-10 16:05:01 +02:00
Milos Kozak
a87a69be38
Merge pull request #2945 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
More Omnipod updates & cleanup
2020-09-08 16:20:24 +02:00
Bart Sopers
efc384f39c Process review findings from upstream merge 2020-09-06 15:31:40 +02:00
Bart Sopers
b944c51372 Process review findings from upstream merge 2020-09-06 15:25:56 +02:00
AdrianLxM
54be27e76a
Merge pull request #2950 from MilosKozak/feature/oh-uploader-2_7
Open Humans Uploader for v2.7
2020-09-05 21:31:43 +02:00
Tebbe Ubben
1d88d16545
Set maxProgress to correct value 2020-09-05 11:55:38 +02:00
Bart Sopers
503fc9dbf9 Allow to continue in Setup Wizard when Omnipod has been selected and a RL connection has been established 2020-09-05 04:26:22 +02:00
TebbeUbben
f3d8690f5c Change term 2020-09-04 23:24:20 +02:00
TebbeUbben
3745525489 Remove debugging call 2020-09-04 23:18:14 +02:00
TebbeUbben
45fd5264b0 Fix queue size view 2020-09-04 23:11:27 +02:00
TebbeUbben
71b13917c4 Segmental upload 2020-09-04 23:11:11 +02:00
Geoffrey Hansen
354e77e733 indeterminate progress bar OH uploader 2020-09-04 21:19:00 +02:00
Geoffrey Hansen
e6f8da32cc correct text on worker foreground 2020-09-04 21:14:38 +02:00
Geoffrey Hansen
f24e69dfc8 correct text on worker foreground 2020-09-04 21:13:40 +02:00
Dominik Dzienia
651c3fc426 Add additional prompt for old master password
Prompt for old master password (used to encrypt exported preferences) if current master password is different and cannot decrypt file.
2020-09-04 03:55:02 +02:00
Bart Sopers
02583c2612 Prepare Omnipod branch for upstream merge 2020-09-04 00:07:37 +02:00
Bart Sopers
cd5bc21b17 Add BatteryReplaceable PumpCapability and hide Battery change button in Actions tab for pumps without this capability (Omnipod); create battery change and insulin change careportal event after activating new Pod 2020-09-03 23:35:03 +02:00
Geoffrey Hansen
25164eab01 remove artificial delay for testing 2020-09-03 22:16:02 +02:00
Geoffrey Hansen
02f85398d7 cleanup 2020-09-03 21:22:33 +02:00
Geoffrey Hansen
ae980e12f4 oh foreground worker and some edgecases 2020-09-03 19:39:43 +02:00
Geoffrey Hansen
8a6a3d2283 OH uploader enqueue Treatments and don_t load historical values 2020-09-03 18:01:42 +02:00
Geoffrey Hansen
e69966ad47 exclude OH uploader on NSClient flavor 2020-09-02 15:48:17 +02:00
Geoffrey Hansen
2c2e01dee6 Merge remote-tracking branch 'origin/openhumans_old_db' into HEAD 2020-09-02 15:32:11 +02:00
Bart Sopers
898100a0e1 Move RileyLink dagger module class to RileyLink gradle module 2020-09-02 02:22:18 +02:00
Bart Sopers
d994f2a184 Move Omnipod dagger module class to Omnipod gradle module 2020-09-02 02:04:31 +02:00
Bart Sopers
fead64aa16 Revert "Prepare Omnipod for upstream merge"
This reverts commit 7c82dbdf93.
2020-09-01 22:19:08 +02:00
Bart Sopers
5bd623e322 Remove unresolved Omnipod import after merge 2020-09-01 22:05:59 +02:00
Bart Sopers
b0d0ea3476 Merge remote-tracking branch 'upstream/2.7.0-rc5' into omnipod_eros_dev_upstream_merge 2020-09-01 21:57:40 +02:00
Milos Kozak
3457f8f511 remove language setting from wizard 2020-09-01 10:02:35 +02:00
Milos Kozak
7c7d115612 ns_upload_only true everywhere 2020-09-01 09:53:24 +02:00
Bart Sopers
01c4d34df8 Display last connection in Omnipod tab in either red or white based on local alerts settings 2020-08-29 01:44:31 +02:00
Bart Sopers
aa7e57512a Move Omnipod RileyLink classes into subpackages 2020-08-28 01:22:50 +02:00
Bart Sopers
d26cd9f069 Create fake 0 TBR when Pod is not running 2020-08-28 01:18:32 +02:00
Milos Kozak
134b79dd8a show tir range 2020-08-27 10:38:53 +02:00
Milos Kozak
d7817792ca show correct constraint in loop plugin 2020-08-26 18:12:03 +02:00
Bart Sopers
5a7c14fb2e Fix dependency injection in RLHistoryItemOmnipod 2020-08-26 14:30:36 +02:00
Bart Sopers
2fdbbd9057 Check in files forgotten in previous commit 2020-08-25 14:00:04 +02:00
Milos Kozak
f2d89ac428 lint recommendations 2020-08-24 21:54:53 +02:00
Milos Kozak
20e7020b07
Merge pull request #2917 from GermanBluefox/patch-3
Show time string instead of ms in JSON structures
2020-08-24 21:51:27 +02:00
Milos Kozak
cc8b22aa31
Merge pull request #2919 from Philoul/AddCalibrationInTreatmentTab
Add Manual BG or Calibration in CarePortal Tab of Treatment
2020-08-24 21:45:56 +02:00
Bart Sopers
ddd9687425 Reorganized packages and removed a few unused classes 2020-08-23 19:21:01 +02:00
Bart Sopers
4a10a04f79 Remove OmnipodUiComm and OmnipodUiTask 2020-08-23 16:15:35 +02:00
Philoul
0d3d83806b Add Calibration in Translator.kt
Replace strings by Constants defined in CareportalEvent (most of them already defined)
8 Constants added in CareportalEvent file (3 types used in CareDialog.kt and Translator.kt, 5 only used in translator.kt)
=> I don't know if these types still exists now without CarePortal Plugin...
2020-08-22 18:33:13 +02:00
Bluefox
f224cb1af1
Show time string instead of ms in JSON structures 2020-08-22 17:17:43 +02:00
Bart Sopers
7c82dbdf93 Prepare Omnipod for upstream merge 2020-08-22 11:06:33 +02:00
Bart Sopers
1f3e8a4102 Merge remote-tracking branch 'upstream/2.7.0-rc4' into omnipod_eros_dev 2020-08-21 15:34:47 +02:00
Milos Kozak
e7627f4f6c try to fix IllegalStateException 2020-08-21 13:41:48 +02:00
Milos Kozak
8c987c8be9 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2020-08-21 10:30:41 +02:00
Milos Kozak
7282f460fc better synchronize graph rendering 2020-08-21 10:29:23 +02:00
Bart Sopers
c22119bb85 Store LastRun SMB data in their dedicated fields instead of overwriting TBR fields 2020-08-20 18:39:16 +02:00
Bart Sopers
7d63671d7b fix import 2020-08-20 02:30:15 +02:00
Bart Sopers
0e9adda3a4 Make sure that after restart, bolus treatment is added when the app is killed during a bolus 2020-08-20 02:20:05 +02:00
Milos Kozak
09e5c82d4d unify units spacing 2020-08-19 21:24:01 +02:00
Milos Kozak
9ca20f425f BG input in wizard improvement 2020-08-19 10:58:45 +02:00
bartsopers
6c3e7a8f43
Merge pull request #143 from smuething/move-protection-to-core
Move protection to core
2020-08-18 20:00:57 +02:00
Steffen Müthing
d0cbaeeb32 Move protection infrastructure to core
The protection infrastructure is useful for other modules like pump drivers,
so it should be in core.
2020-08-18 19:33:50 +02:00
Steffen Müthing
75cbc87b4a Move SingleClickButton to core
SingleClickButton is a utility used in a number of modules and such should be
in core. While the app seems to built with the button in app, this wrong
structure should be fixed.

As the button is a UI element, the patch also moves the class to the package
info.nightscout.androidaps.utils.ui.
2020-08-18 15:09:14 +02:00
bartsopers
228441f54c
Merge pull request #139 from smuething/more-daggerization
More daggerization
2020-08-18 12:44:21 +02:00
Steffen Müthing
80f1ed52b3 Move CryptoUtil to core
CryptoUtil is a dependency of ProtectionCheck, so it needs to move to core.
2020-08-18 12:36:25 +02:00
Bart Sopers
48ad85ae6a Move Omnipod tab closer to Overview tab 2020-08-18 12:33:26 +02:00
Steffen Müthing
3646ef083e Simplify provisioning of PodStateManager
PodStateManager can be provided by AapsPodStateManager, that's much easier than
getting the constructor signature right in the dependency injection module.
2020-08-18 00:25:14 +02:00
Steffen Müthing
7d52228e15 Move RileyLink components to a separate dependency injection module
Having them in the Medtronic module will only create confusion later on.
2020-08-18 00:22:24 +02:00
Bart Sopers
5c4b9846e6 WIP on moving Omnipod into a separate module 2020-08-17 19:53:43 +02:00
Bart Sopers
2a55c6413c Remove redundant DeviceCommandExecutor interface 2020-08-17 00:07:56 +02:00