Commit graph

5277 commits

Author SHA1 Message Date
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
39c49f8794
Merge pull request #1738 from MilosKozak/l10n_dev
New Crowdin translations
2019-04-14 17:50:03 +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
Milos Kozak
64abfa518f New translations strings.xml (Lithuanian) 2019-04-12 11:34:38 +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
Milos Kozak
3adbce1aff
New Crowdin translations (#1729)
* New translations strings.xml (French)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Swedish)

* New translations strings.xml (Greek)
2019-04-10 17:23:40 +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
158724aea1 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-04-09 22:55:17 +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
e95e7922b3 LINT: broadcast SMS permission 2019-04-08 18:14:12 +02:00
Milos Kozak
e7d7a37aeb LINT: input type 2019-04-08 18:13:47 +02:00
Milos Kozak
3b1d96ecc9 LINT: xml 2019-04-08 17:03:18 +02:00
Milos Kozak
989b444c86
New Crowdin translations (#1727)
* New translations strings.xml (Bulgarian)

* New translations strings.xml (Slovak)
2019-04-08 16:48:21 +02:00
Milos Kozak
eee3bc4838 LINT: WakeLocks 2019-04-08 16:48:19 +02:00
Milos Kozak
a339e0cf28 LINT: xml 2019-04-08 16:39:41 +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
Milos Kozak
c3b75c91e9 New translations strings.xml (Swedish) 2019-04-08 15:18:07 +02:00
Milos Kozak
ce7137beb1
New Crowdin translations (#1724)
* New translations strings.xml (Lithuanian)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Italian)

* New translations strings.xml (Greek)

* New translations strings.xml (Korean)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)
2019-04-08 15:06:14 +02:00
Lexsus
b9056384f9 fix error with big sms text in UTF-8 2019-04-08 15:23:40 +03:00
Milos Kozak
a1d93b0d68 LINT: fix errors in strings 2019-04-08 12:06:34 +02: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
Milos Kozak
dd81582bd7
New Crowdin translations (#1714)
* New translations strings.xml (Lithuanian)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)
2019-04-07 19:10:04 +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
4def8e7871
New Crowdin translations (#1707)
* New translations strings.xml (Afrikaans)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (Czech)

* New translations insight_alert_titles.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations insight_alert_codes.xml (Greek)

* New translations strings.xml (Slovak)

* New translations strings.xml (Lithuanian)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations insight_alert_codes.xml (Lithuanian)

* New translations insight_alert_descriptions.xml (Lithuanian)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations strings.xml (Portuguese)

* New translations insight_alert_titles.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations insight_exceptions.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Bulgarian)
2019-04-05 14:08:24 +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
aa3f910ae9
New Crowdin translations (#1705)
* New translations strings.xml (Slovak)

* New translations strings.xml (Slovak)
2019-04-01 09:34:48 +02:00
Milos Kozak
5481c99d56 Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev 2019-03-31 23:49:08 +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
Milos Kozak
ec05f1da3d
New Crowdin translations (#1697)
* New translations strings.xml (German)

* New translations strings.xml (Afrikaans)

* New translations insight_alert_titles.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Slovak)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)
2019-03-31 16:55:56 +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
ad13139117 fix manifest 2019-03-30 21:48:56 +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
Milos Kozak
ede3a4f0f4 typo 2019-03-29 08:32:54 +01:00
AdrianLxM
3d3b770248
New Crowdin translations (#1691) (#1694)
* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)
2019-03-28 22:56:54 +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
1fe529db85
New Crowdin translations (#1667)
* New translations strings.xml (Dutch)

* New translations strings.xml (Bulgarian)

* New translations insight_alert_titles.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations insight_exceptions.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese)

* New translations insight_alert_titles.xml (Portuguese)

* New translations insight_exceptions.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Portuguese)

* New translations insight_alert_codes.xml (Portuguese)

* New translations insight_alert_descriptions.xml (Portuguese)

* New translations insight_alert_titles.xml (Portuguese)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Afrikaans)

* New translations insight_alert_codes.xml (Afrikaans)

* New translations insight_alert_descriptions.xml (Afrikaans)

* New translations insight_alert_titles.xml (Afrikaans)

* New translations insight_exceptions.xml (Afrikaans)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations insight_alert_codes.xml (French)

* New translations insight_alert_descriptions.xml (French)

* New translations insight_alert_titles.xml (French)

* New translations strings.xml (French)

* New translations insight_alert_titles.xml (French)

* New translations insight_exceptions.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations insight_exceptions.xml (French)

* New translations strings.xml (French)

* New translations insight_alert_titles.xml (French)

* New translations insight_alert_titles.xml (Portuguese, Brazilian)

* New translations insight_alert_descriptions.xml (Portuguese, Brazilian)

* New translations insight_alert_codes.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations insight_exceptions.xml (Portuguese, Brazilian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Bulgarian)

* New translations insight_exceptions.xml (Portuguese)

* New translations strings.xml (Portuguese)

* New translations insight_alert_titles.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese)

* New translations insight_alert_titles.xml (Portuguese)

* New translations insight_exceptions.xml (Portuguese)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Polish)

* New translations strings.xml (Korean)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Italian)

* New translations insight_alert_codes.xml (Portuguese)

* New translations insight_alert_descriptions.xml (Portuguese, Brazilian)

* New translations strings.xml (Greek)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Turkish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Slovak)

* New translations strings.xml (Russian)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)
2019-03-25 20:31:00 +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
52482d112d typo 2019-03-21 22:31:44 +01:00