Commit graph

398 commits

Author SHA1 Message Date
Milos Kozak d227013496 SmsCommunicatorPlugin -> kt 2019-11-22 00:12:46 +01:00
Milos Kozak baf77e2e67 fix tests 2019-11-20 21:50:02 +01:00
Milos Kozak 5d768bd368 Move plugin related code from preferences to plugin 2019-11-20 00:20:08 +01:00
fabriziocasellato 2319536adc Cumulative corrections for Milos msgs in 2019, 7 Nov about try/catch and missed 'if null' contition 2019-11-11 09:57:35 +01:00
fabriziocasellato 86d4b755ea 1) Added SMS commands:
- SMS DISABLE/STOP to disable SMS Service;
- TARGET MEAL/ACTIVITY/HYPO to switch to the standard temp targets;
- BOLUS 0.60 MEAL, to do a bolus and set the stadard meal TT (ie 90 mg/dL for 45').

2) Modified the SMS Timeout in a range from 3' to 60'.
This preference is useful for parents that will manage many boluses in a single meal (because often, eaten foods are unpredictable with babies, so parents need to perform many closed boluses).
Due to safety reasons (prevent multiple boluses for stolen phones, cloned SIM, ...):
- Added a further SMS command to disable SMS Services (SMS DISABLE/STOP);
- To modify the default timeout of 15', 2 Phone Numbers are mandatory
In this way, if unwanted/suspicious boluses are notified, the other parent can disable Remote Management (till to re-enable it directly with the AAPS in the master smartphone).
2019-11-07 10:39:17 +01:00
AdrianLxM 7189115c3e
no more singletons - what is heap space if we can have tasty side effects 2019-10-29 22:25:02 +01:00
Milos Kozak f399f8bb1f Brasil language, better working Locale setting 2019-10-25 11:38:23 +02:00
AdrianLxM 2a7a004afd Merge branch 'adrian/glif-objective' into devmerge 2019-10-24 19:46:24 +02:00
Milos Kozak 414695c5e3 preserve show calculation checkbox state, make wizard better translatable" 2019-10-24 11:34:22 +02:00
Milos Kozak c867ae1104 VirtualPumpFragment -> kotlin 2019-10-23 22:55:49 +02:00
Milos Kozak b5a1543b92 Merge branch 'dev' into signature 2019-10-22 15:24:44 +02:00
Milos Kozak ecbfd294a8 send hash to firebase 2019-10-22 15:24:37 +02:00
Milos Kozak 7cd66a6a43 Confirmation on automation task delete 2019-10-21 19:04:55 +02:00
Milos Kozak d2a4aea9e2 remove MainApp::getSpecificPlugin 2019-10-18 13:12:45 +02:00
Milos Kozak 6a7cb2ac7b fix disabling automation 2019-10-17 22:46:00 +02:00
Milos Kozak 3b1f6294a9 fix exception 2019-10-17 10:09:50 +02:00
Milos Kozak 8d5fbeb66d remove Extended bolus from Actions 2019-10-15 18:30:36 +02:00
Milos Kozak c42ef8e5ff Events to RxBus 2019-10-15 13:31:55 +02:00
Milos Kozak 6044335b1d Events to RxBus 2019-10-15 09:52:48 +02:00
Milos Kozak 06f8af82d8 Events to RxBus 2019-10-15 00:54:30 +02:00
Milos Kozak 1aa8771f4d Events to RxBus 2019-10-14 23:49:53 +02:00
Milos Kozak 4ed8f0a1e1 Events to RxBus 2019-10-14 23:35:24 +02:00
Milos Kozak 30cf4f77da Events to RxBus 2019-10-14 23:16:51 +02:00
Milos Kozak 7596775331 clone notification list for viewing 2019-10-14 21:55:40 +02:00
Milos Kozak 0f792dc092 Events to RxBus 2019-10-14 20:26:33 +02:00
Milos Kozak 64f16c5a7b Events to RxBus 2019-10-14 19:50:22 +02:00
Milos Kozak ada6e38f5f Events to RxBus 2019-10-14 17:23:31 +02:00
AdrianLxM fa20af4440 network status before time 2019-10-13 17:58:45 +02:00
Milos Kozak 14dd29befd boluswizard: do not check for correction constraints 2019-10-13 00:01:15 +02:00
Milos Kozak 63aaa38834 do not run automation if loop is suspended 2019-10-11 10:12:58 +02:00
Milos Kozak 1340f60b5a WizardDialog refactor 2019-10-10 23:02:35 +02:00
Roumen Georgiev 3f1f199690 renamed to TriggerPumpLastConnection 2019-10-07 10:45:26 +03:00
Milos Kozak b108f1fa78
Merge branch 'dev' into triggerPumpDisconnected 2019-10-04 19:34:54 +02:00
Milos Kozak 532a7e3741 ActionSendSMS improvement 2019-10-04 19:34:12 +02:00
Roumen Georgiev c8443f1095 TriggerPumpDisconnected: Initial work 2019-10-04 15:16:57 +03:00
Roumen Georgiev e12217ae69 Copy&paste from ActionNotification 2019-10-04 10:55:33 +03:00
Milos Kozak cbb0a4e12b clear SMS numbers before processing new ones 2019-10-02 16:43:20 +02:00
Milos Kozak c44101ce76
Merge pull request #2089 from PoweRGbg/ChangeProfileAction
Automation ActionCahangeProfile
2019-10-02 16:33:58 +02:00
Milos Kozak ac69d1069e
Merge pull request #2017 from PoweRGbg/TriggerTOD
Trigger for time of day
2019-10-02 14:41:24 +02:00
Roumen Georgiev 3c11e87d2d logging condition 2019-10-02 15:21:53 +03:00
Roumen Georgiev 7406577546 better test coverage & some cleanup 2019-10-02 14:37:00 +03:00
Roumen Georgiev 157028c4fd initial work 2019-10-02 10:54:04 +03:00
Milos Kozak e93b05c73e fix EditQuickWizardDialog, -> kotlin 2019-10-01 17:44:05 +02:00
Milos Kozak ee26795d97 QuickWizardListActivity -> kotlin 2019-10-01 15:48:48 +02:00
Milos Kozak c1109a5b41 QuickWizard cleanup, -> kotlin 2019-10-01 15:00:19 +02:00
Milos Kozak 20a2d84a0a Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-10-01 14:56:21 +02:00
Milos Kozak 3ecee09443 Automation layouts improvement 2019-10-01 13:11:10 +02:00
Milos Kozak 4642f0ab5b EventNewNotification, EventDismissNotification -> RxBus 2019-10-01 00:00:22 +02:00
Milos Kozak c6f2eaecdc profile switch duration 7 days 2019-09-30 17:22:07 +02:00
Roumen Georgiev 466bb7dc23 removed extra logging 2019-09-27 12:28:55 +03:00