Commit graph

442 commits

Author SHA1 Message Date
Roumen Georgiev 7889e3755d Adding GOING_IN & GOING_OUT modes 2019-12-06 15:03:17 +02:00
Roumen Georgiev 6c8a5aee47
Merge pull request #88 from MilosKozak/dev
Dev
2019-12-05 15:06:15 +02:00
Roumen Georgiev 14dc7395e0 Created enum for mode & tests 2019-12-04 16:42:47 +02:00
Milos Kozak a66b3f7090 allow sorting of automation tasks 2019-12-03 21:07:31 +01:00
Milos Kozak 95d3551931 Make switching language working again 2019-12-03 18:12:37 +01:00
Roumen Georgiev aae2e21bef trigger works 2019-12-03 16:49:08 +02:00
Milos Kozak e4a5616298 wizard & SP improvements 2019-12-03 15:29:14 +01:00
Milos Kozak 7f6eb40b66 WeekdaysPicker set starting day 2019-12-02 23:18:55 +01:00
Milos Kozak 42401453c6 okhttp3, retrofit2 update 2019-12-02 22:35:16 +01:00
Milos Kozak 7cca9892dc materialdatetimepicker update 2019-12-02 22:16:20 +01:00
Milos Kozak 9512b153c2
Merge pull request #2216 from 2flea/dev_auto_loop
Deactivate Automation if Loop is disabled, not only if it is suspended
2019-12-02 21:12:27 +01:00
Roumen Georgiev 2fa3805030
Merge pull request #87 from anbraten/automation-location-left-trigger
Automation location left trigger
2019-12-02 11:22:44 +02:00
Milos Kozak 8496f7dc18
Merge pull request #2172 from gregorybel/feature/expand-status-light
Add possibility to show Battery info in days instead of percent
2019-12-02 08:35:15 +01:00
gregorybel db2c675024 fix page -> bage 2019-11-29 21:48:35 +01:00
gregorybel de9d2da68d show Battery info in days instead of percent for Combo 2019-11-28 22:15:56 +01:00
Milos Kozak ec535b9c61 low_mark, high_mark units dependent 2019-11-28 19:54:59 +01:00
Milos Kozak 599261081b upload local profile to NS 2019-11-28 00:30:22 +01:00
Milos Kozak 3ee9836e66 handle default TT valuses in current units 2019-11-27 23:26:29 +01:00
Milos Kozak 0f631b1d47 fix 2019-11-26 16:59:40 +01:00
Milos Kozak fed2839a72 Merge branch 'dev' into localprofile 2019-11-26 16:40:46 +01:00
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
andreas 63808ad553 Also deactivate Automation if Loop is disabled, not only if it is suspended. 2019-11-22 18:30:22 +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 788ff545ca Merge branch 'dev' into localprofile 2019-11-19 23:22:08 +01:00
Milos Kozak 363d6d48be ProfileStore -> kt 2019-11-19 23:17:14 +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
Anton Bracke 7e712a5fc4 added default location trigger mode value 2019-11-14 15:12:40 +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
Anton Bracke d122b3e329 Added mode (entered / left) to location trigger 2019-11-12 21:48:07 +01:00
Johannes Mockenhaupt cce3a77a37
Log unhandled exception rather than printing to stdout. 2019-11-12 13:41:36 +01:00
Milos Kozak 02891a14fc use global units setting 2019-11-12 00:01:58 +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