Commit graph

416 commits

Author SHA1 Message Date
Milos Kozak 6969dc4873
Merge pull request #2222 from MilosKozak/2186
New SMS commands
2019-11-25 22:40:00 +01:00
Milos Kozak c33e3994b6 some cleanup and kotlin conversion 2019-11-25 18:07:16 +01:00
Milos Kozak 1ea25b68a8 fix NPE 2019-11-25 17:06:08 +01:00
fabriziocasellato 46270d87e2 Removed + control for Phone Numbers, Added Tests for TT, Added TARGET STOP/CANCEL command 2019-11-22 16:41:09 +01:00
fabriziocasellato f26e683dbe Removed + control for Phone Numbers, Added Tests for TT, Added TARGET STOP/CANCEL command 2019-11-22 15:58:03 +01:00
Milos Kozak 16038caed8
Merge branch 'sms' into 2186 2019-11-22 14:30:19 +01:00
fabriziocasellato ebc89e7526 New tests for SMS commands: TARGET MEAL/HYPO/ACTIVITY and SMS STOP/DISABLE 2019-11-22 12:31:59 +01:00
Milos Kozak 17ea3843ae SMS HELP command 2019-11-22 11:19:09 +01:00
Milos Kozak e9aa4835ed SBS CARBS command 2019-11-22 10:40:48 +01:00
Milos Kozak a62750c3a3 SmsCommunicatorFragment -> kt 2019-11-22 00:33:13 +01:00
Milos Kozak d227013496 SmsCommunicatorPlugin -> kt 2019-11-22 00:12:46 +01:00
Milos Kozak 9aa77122ba Use on Rx for NetworkChange 2019-11-21 00:07:50 +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
Milos Kozak c6bbc0fe8b
Merge pull request #2198 from jotomo/log-unhandled-exceptions-again
Log unhandled exceptions again
2019-11-14 22:40:15 +01:00
Johannes Mockenhaupt b9d600edf4
Log unhandled exceptions as errors. 2019-11-14 17:50:32 +01:00
Milos Kozak 3e5206b4cd
Merge pull request #2178 from 2flea/dev
Countdown time for temporary PS in overview
2019-11-14 11:39:01 +01:00
Johannes Mockenhaupt cce3a77a37
Log unhandled exception rather than printing to stdout. 2019-11-12 13:41:36 +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
Brian Quinion 1467361d54 re-run calculateInsulin when OK is pressed to ensure changes to notes fields are used 2019-11-07 11:46:55 +00: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
andreas 2044fe6860 Instead of computing name in overview fragment add function
ProfileFunctions.getInstance().getProfileNameWithDuration()

to be called
2019-11-05 15:43:11 +01:00
Andreas 70172bf8e4 Add temporary PS remaining time in profile name 2019-11-03 16:20:20 +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