Commit graph

4202 commits

Author SHA1 Message Date
Milos Kozak 4ae7efc75f Merge branch 'dev' into automation 2019-04-16 21:08:08 +02:00
Milos Kozak 952a6fe509 fix GlucoseStatus calculation 2019-04-16 20:36:18 +02:00
Lee Braiden 78f2da405f Fix potential NPE in AlarmSoundService destructor. 2019-04-15 19:17:44 +01:00
Milos Kozak 76932d6899 EventProfileSwitchChange -> EventProfileNeedsUpdate 2019-04-15 16:48:18 +02:00
Milos Kozak be252c9374 Clear basalDataTable on significant change 2019-04-15 16:47:42 +02:00
Milos Kozak 7e54db64be Glucose logging 2019-04-15 15:19:19 +02:00
AdrianLxM f739980988 testing and SP logic 2019-04-15 08:04:56 +02:00
Milos Kozak d70f2b6f75
Merge pull request #1742 from jotomo/1740
Split up receivers for local BG broadcasts and SMS.
2019-04-15 07:56:26 +02:00
Johannes Mockenhaupt e27f16f5f8
Javadoc. 2019-04-14 17:55:43 +02:00
Milos Kozak 0f6b05206f clear MidnightTime cache 2019-04-13 21:49:15 +02:00
Johannes Mockenhaupt 59d3c79ed5
Split up receivers for local BG broadcasts and SMS.
Receiving local BG values probably fails silently when SMS
permission is not granted (due to SMS plugin not being used).
2019-04-13 14:20:27 +02:00
AdrianLxM 04618156cc restructure and test version checker 2019-04-11 12:43:52 +02:00
Milos Kozak 1286aabb5b log remote 2019-04-11 10:16:52 +02:00
Tebbe Ubben d786a2a898 Insight: Set SQLite Sequence to current time millis on table creation 2019-04-10 16:15:18 +02:00
Johannes Mockenhaupt a33afc99f6
JUST PLAYING AROUND 2019-04-10 14:51:50 +02:00
AdrianLxM c34cf576e5 VersionCheckerPlugin nightly stub 2019-04-10 00:41:48 +02:00
AdrianLxM bd5d31a4a3 check version Java -> Kotlin 2019-04-10 00:36:02 +02:00
Milos Kozak 9ca179ec14
Merge pull request #1725 from Lexsus/fix_big_sms_bg
fix error with big sms text in UTF-8
2019-04-09 15:41:43 +02:00
Milos Kozak 4d8ee19abe check for null 2019-04-09 15:34:02 +02:00
Milos Kozak a75c60f573 fix NPE ActionStringHandler 2019-04-09 12:51:06 +02:00
Milos Kozak 398868f34b fix NPE TreatmentsInterface 2019-04-09 12:46:46 +02:00
Milos Kozak e53047d4bc fix NPE WatchUpdaterService 2019-04-09 12:43:36 +02:00
Lucass b2e70fd801 applied formatting 2019-04-08 22:51:22 +03:00
Milos Kozak eee3bc4838 LINT: WakeLocks 2019-04-08 16:48:19 +02:00
Milos Kozak 190b9408bd fixed package name 2019-04-08 15:38:20 +02:00
Milos Kozak a06c21b585 LINT: locale 2019-04-08 15:34:02 +02:00
Lexsus b9056384f9 fix error with big sms text in UTF-8 2019-04-08 15:23:40 +03:00
Milos Kozak a076b00363 check for NPE 2019-04-07 23:47:53 +02:00
Milos Kozak e8b46e7880
Merge branch 'firebase' into dev 2019-04-07 23:15:09 +02:00
AdrianLxM 6378d0a6bf
Merge branch 'dev' into 221-fix 2019-04-07 18:16:42 +02:00
AdrianLxM 5fbc274c5b Merge branch 'master' of https://github.com/MilosKozak/AndroidAPS into 221-fix 2019-04-07 17:00:36 +02:00
AdrianLxM 5e720f8081 deactivate TT raises/lowers target 2019-04-07 16:57:51 +02:00
Milos Kozak 3636480c61 Answers -> Analytics migration 2019-04-05 00:32:26 +02:00
Milos Kozak f4b2a88862 fix typo 2019-04-03 16:53:34 +02:00
Milos Kozak ec93045d84 fix parsin TT - missing duration 2019-04-03 16:43:56 +02:00
Milos Kozak 64c9196a5c
Merge pull request #1710 from TebbeUbben/insight-fix
Insight: Fix automatic Careportal entries
2019-04-03 16:10:03 +02:00
Tebbe Ubben e3f45aa6be Fix automatic careportal entries 2019-04-03 00:07:20 +02:00
Milos Kozak 78ecb80488
Merge pull request #1703 from rob-andy/wip/libre-delta-fixes
Calculate deltas correctly with 1 minute spaced data
2019-04-02 15:11:28 +02:00
Milos Kozak 1f62c820ca Automation: split recurring and nonrecurring time 2019-04-02 00:05:12 +02:00
Milos Kozak dc0846eab9 ActionStopTempTarget 2019-04-01 22:36:15 +02:00
AdrianLxM 8604d41323
reformat code 2019-04-01 21:37:20 +02:00
AdrianLxM 98a3d64c41
Merge pull request #1704 from TebbeUbben/insight-fix
Insight fix
2019-04-01 09:36:10 +02:00
Milos Kozak 1e1c74f420 Fix SMS CAL command 2019-03-31 23:49:01 +02:00
Milos Kozak 5a555cdfba AutomationPlugin:processActions and some tweaking 2019-03-31 21:54:31 +02:00
Tebbe Ubben 2371034a49 Update basal profile precision handling in Insight driver v3 2019-03-31 20:26:31 +02:00
Tebbe Ubben 67fe402447 Update basal profile precision handling in Insight driver v2 2019-03-31 19:58:59 +02:00
Tebbe Ubben e26f0fef3f Do not overwrite detailedBolusInfo.insulin 2019-03-31 19:38:31 +02:00
Tebbe Ubben 78a3224d05 Update basal profile precision handling in Insight driver 2019-03-31 19:36:58 +02:00
Tebbe Ubben 3894e44cc7 Fix Insight DST pump time update 2019-03-31 03:47:08 +02:00
rob 25950fc6cf Libre/miaomiao delta modifications
* Remove hard limit of processing 9 records.  Processing will now stop
    at first value outside of time range of interest
  * Keep a list of all values within 2.5 minutes.  Average this value to use
    as the now value
  * Don't change the now value date.  Always use the time of the latest value
  * Added new test for data spaced at 1 minute intervals, to mimic libre data from glimp
  * Fix existing test results for average < 2.5 minute data. Deltas are different due to
    not updating the now value time
2019-03-31 11:03:48 +10:00
Tebbe Ubben 4b86a07eac Set result.bolusDelivered in Insight driver 2019-03-31 01:39:08 +01:00
Tebbe Ubben ae60d68719 Fix Insight limits 2019-03-31 01:37:28 +01:00
Tebbe Ubben c12ec4817f Proper rounding for basal rate 2019-03-31 01:23:05 +01:00
Milos Kozak 350e23647e ActionStartTempTargetTest 2019-03-31 00:03:31 +01:00
Milos Kozak bad6edfb8b Action:applyTest 2019-03-30 23:08:25 +01:00
Milos Kozak 77dd32a14f ActionLoopSuspendTest 2019-03-30 22:47:22 +01:00
Milos Kozak 6357dd40d7 fix tests 2019-03-30 17:10:21 +01:00
Milos Kozak cabdb1d2fb Merge branch 'dev' into automation 2019-03-30 15:47:23 +01:00
Milos Kozak 361ffa91c8 revert changes and disable test 2019-03-30 11:11:44 +01:00
Milos Kozak bc23ca30e2 fix test 2 2019-03-30 10:04:22 +01:00
AdrianLxM ebc8303cc6 isSuspended -> is NOT suspended 2019-03-28 22:13:57 +01:00
AdrianLxM d856b87703 rewrite DST logic 2019-03-28 19:38:58 +01:00
Adrian AndroidAPS cdd3c25929 only run DST helper on certain pumps 2019-03-28 17:25:57 +01:00
Nico Schmitz 9b19907388 Replace "lower" with "lesser" 2019-03-27 00:32:10 +01:00
Nico Schmitz 236349a063 Bugfixes. Add remove icon for actions. 2019-03-26 23:28:46 +01:00
Nico Schmitz c6766c972c Fix AutomationEventTest 2019-03-26 22:56:17 +01:00
Nico Schmitz dcb57ac11d Remove clone() for Trigger 2019-03-26 22:42:21 +01:00
Nico Schmitz 7b5c26bbb9 Remove clone() for AutomationEvent and Action 2019-03-26 22:37:19 +01:00
Nico Schmitz e1523ee82d Introduce LayoutBuilder 2019-03-26 22:13:01 +01:00
Nico Schmitz ba0625b03f Update to recent upstream/dev 2019-03-26 00:47:00 +01:00
Nico Schmitz 97a7a75c86 work on automation plugin
- implement clone() methods for actions and triggers
- add AutomationEventTest
- improve ui
2019-03-26 00:06:37 +01:00
Milos Kozak 0ee121d916
Merge pull request #1521 from MilosKozak/smsrefactor
Smsrefactor
2019-03-25 08:41:09 +01:00
Milos Kozak a0bddbdec9
Merge pull request #1690 from jotomo/show-applied-max-iob-constraints
OpenAPSSSMBPlugin: show applied max IOB constraints.
2019-03-24 23:01:57 +01:00
Johannes Mockenhaupt 9dc02e3fa5
OpenAPSSSMBPlugin: show applied max IOB constraints. 2019-03-24 22:01:21 +01:00
Nico Schmitz fc7e65c4d1 Update to recent upstream/dev 2019-03-22 23:08:13 +01:00
Milos Kozak a060af8b0e SmsCommunicator separator 2019-03-22 22:53:16 +01:00
Milos Kozak fdbb76cb92 SmsCommunicator show COB 2019-03-22 22:45:41 +01:00
Milos Kozak ca3c6b4093 SmsCommunicator detect commands 2019-03-22 22:18:51 +01:00
Nico Schmitz f017b7a7a2 Work on automation plugin.
- Remove unused imports
- Add icons for actions and triggers
2019-03-21 23:38:56 +01:00
Milos Kozak b7b9e175eb Merge branch 'dev' into smsrefactor 2019-03-21 22:12:08 +01:00
Milos Kozak fcc4a4edd3 SmsCommunicatorPluginTest 12 2019-03-21 21:54:46 +01:00
Milos Kozak a9992503f6 SmsCommunicatorPluginTest 10 2019-03-21 21:00:42 +01:00
Milos Kozak 751e87ca5e
Merge pull request #1688 from AdrianLxM/dev-wear
Dev wear
2019-03-21 10:52:14 +01:00
Nico Schmitz 6dc87db73e Improve EditEventDialog 2019-03-21 00:38:06 +01:00
Milos Kozak 30bfa1ca1f SmsCommunicatorPluginTest 9 2019-03-20 23:12:07 +01:00
Nico Schmitz 87cf62e8f6 Refactoring. Fixes for screen rotation. 2019-03-20 23:09:46 +01:00
Nico Schmitz c074ec36c4 Implement temp target dialog for automation action 2019-03-20 00:39:00 +01:00
Milos Kozak 381ae67829
Merge pull request #1420 from tanja3981/improvement/#1269
[2.0] Improvement: Allow some objectives to go back.
2019-03-19 23:42:38 +01:00
Nico Schmitz 91e4b01f10 Display actions and merge recent upstream/dev
- Add ActionListAdapter
- Add ChooseActionDialog
- Merge upstream/dev branch
2019-03-19 19:08:46 +01:00
AdrianLxM d4d499587b Merge remote-tracking branch 'andyremote/wear_upgrade' into dev-wear 2019-03-18 23:51:20 +01:00
Milos Kozak db1a6bc71e wait for finished calculations instead of acting on new BG 2019-03-18 20:59:39 +01:00
Milos Kozak 18ba5878d2 Fix1660 2019-03-17 18:51:16 +01:00
Milos Kozak 546f99f471 SmsCommunicatorPluginTest 6 2019-03-13 23:30:41 +01:00
Milos Kozak 74391eefdc SmsCommunicatorPluginTest 5 2019-03-13 21:10:52 +01:00
Milos Kozak 4c0554f61a SmsCommunicatorPluginTest 4 2019-03-13 19:35:48 +01:00
Milos Kozak 11ee9f54c3 Merge branch 'dev' into smsrefactor 2019-03-13 19:22:02 +01:00
Milos Kozak 826497c9f6 Fix superbolus test & allow APS plugin to be constraint 2019-03-13 18:50:37 +01:00
Milos Kozak bb5cec95ea SmsCommunicatorPluginTest 3 2019-03-13 14:33:28 +01:00
Andy Rozman b1baaf48f5 remove wear warning 2019-03-12 23:57:57 +00:00
Andy Rozman f7c4db35b5 Merge branch 'dev' into wear_upgrade 2019-03-12 22:46:38 +00:00