1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-30 08:46:16 +02:00
Commit Graph

3599 Commits

Author SHA1 Message Date
Ranved Sticon
49948967f5 Added translation using Weblate (Croatian) 2018-09-08 13:15:09 +02:00
Carsten Pfeiffer
d899e1aaef
Merge pull request #1257 from elagin/language_settings_group
Group language settings.
2018-09-07 19:08:06 +02:00
cpfeiffer
a2bd8212f6 Attempt to fix connection problems on Samsung devices 2018-09-06 18:25:41 +02:00
Pavel Elagin
04789f841b Group language settings. 2018-09-06 16:45:31 +03:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
a35b96ad39 fix missing import 2018-09-05 23:33:16 +03:00
Roi
b3e8e92441 fix long word bug in Rtl support 2018-09-05 23:21:18 +03:00
Roi
3e6ddcc714 fix long word bug in Rtl support 2018-09-05 23:19:35 +03:00
Roi
5a1733f5ec Add Farsi contextual form 2018-09-05 22:44:40 +03:00
Carsten Pfeiffer
449184c591
Merge pull request #1253 from skweee/android9callerid
Fix caller ID for incoming calls on Android 9
2018-09-05 21:37:24 +02:00
cpfeiffer
4f7e5b256a Use constants for "rtl" and "contextualArabic" preferences 2018-09-05 21:32:06 +02:00
cpfeiffer
bd162f6319 Fix small copy&paste issue in test cases 2018-09-05 20:49:15 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
Adding RTL support
2018-09-05 20:48:15 +02:00
Johannes Tysiak
d4ea5dfd44 Fix caller ID for incoming calls on Android 9
Fixes #1252
2018-09-05 20:41:01 +02:00
M. Hadi
ddecab7d25 Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations. 2018-09-05 10:08:10 +02:00
Roi Greenberg
84fa1b011a Add Unittest for Rtl + some small fixes 2018-09-05 01:51:13 +03:00
Roi Greenberg
761d8327f9 Add Unittest for Rtl + some small fixes 2018-09-05 01:39:01 +03:00
cpfeiffer
19ee3a14d4 Handle batter state LOW without a level
Fixes #1197
2018-09-04 22:31:12 +02:00
Carsten Pfeiffer
5e4ecd774b
Merge pull request #1181 from Dikay900/remove_invalid_hr_data
remove incorrect HR data <10 from the graphs
2018-09-04 21:08:21 +02:00
Roi
f233ad79fa move fixRtl to Rtlutils 2018-09-04 02:00:14 +03:00
Roi
e35240c91e fix bugs.
Use getDirectionality instead of serchinf areas
2018-09-04 01:10:54 +03:00
Dikay900
a844db7927 do not use synchonized singleton for HeartRateUtils 2018-09-02 12:59:38 +02:00
Dikay900
64da085942 make heart rate values configurable and use singleton for heartrateutils
to listen for preference changes
2018-09-02 12:57:52 +02:00
Roi
5503c562a3 test 2018-09-02 05:04:32 +03:00
Allan Nordhøy
1badb25402 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.2% (555 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-09-01 19:46:31 +02:00
mesnevi
31651f05b2 Translated using Weblate (Russian)
Currently translated at 100.0% (559 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-09-01 19:46:31 +02:00
Yaron Shahrabani
d8c44ca43e Translated using Weblate (Hebrew)
Currently translated at 100.0% (559 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-01 19:46:31 +02:00
apre
47f9c53b28 Translated using Weblate (French)
Currently translated at 88.9% (490 of 551 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/

fix typo in french "Mi Band 3 settings" translation
2018-09-01 19:46:31 +02:00
Allan Nordhøy
21daeb3fe0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.2% (547 of 551 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-09-01 19:46:31 +02:00
Yaron Shahrabani
54fd002b37 Translated using Weblate (Hebrew)
Currently translated at 100.0% (551 of 551 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-01 19:46:30 +02:00
mesnevi
de462e7861 Translated using Weblate (Russian)
Currently translated at 100.0% (551 of 551 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-09-01 19:46:30 +02:00
Dikay900
71447d0a8f remove incorrect data <10 from the graphs 2018-09-01 19:28:20 +02:00
José Rebelo
c973c2f4c6 Roidmi: fix duplicated DeviceType key 2018-09-01 13:20:38 +01:00
Carsten Pfeiffer
ece0f094eb
Merge pull request #1236 from uroybd/master
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Utsob Roy
91ddb2c3dd Removed unnecessary containsKey check. 2018-09-01 08:59:57 +06:00
Utsob Roy
8e8fa24652 A missing semicolon added. 2018-09-01 00:46:02 +06:00
Utsob Roy
6a293bd40a Done the recommended edits, added more testcases, and fixed a bug. 2018-09-01 00:38:15 +06:00
José Rebelo
2fe4b84a10 Roidmi: Initial Support
Roidmi 3 support is disabled for now, since it is not working.
2018-08-31 14:03:47 +01:00
José Rebelo
cc6c57bd4c Add support for LED Color, FM Frequency 2018-08-31 14:03:39 +01:00
Daniele Gobbetti
3e989cd89a Amazfit Cor: Whitelist FW 1.2.5.00 and RES 2018-08-29 21:33:38 +02:00
License Bot
696653eabf Update contributors list and license headers. 2018-08-29 21:30:23 +02:00
M. Hadi
5460de37d2
Improved Persian transliteration
Persian (Farsi) transliteration was incomplete and most of the characters were proposed according to Arabic transliteration which would be confusing for Persians. I changed some of them and added new ones like question mark, etc.. Please note that Persian has several "z" and "s" since the language alphabet share a lot of similarity with Arabic. However, these are all pronounced the same way in Persian and it makes more sense to have the same character for all in each group.
2018-08-29 16:45:15 +02:00
Allan Nordhøy
d053547ca9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.4% (544 of 547 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-08-28 22:28:44 +02:00
mesnevi
a8499b36ca Translated using Weblate (Russian)
Currently translated at 100.0% (547 of 547 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-28 22:28:44 +02:00
Yaron Shahrabani
1b38c700bd Translated using Weblate (Hebrew)
Currently translated at 100.0% (547 of 547 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-28 22:28:06 +02:00
petronovak
9b4eff9f4a Translated using Weblate (Ukrainian)
Currently translated at 47.2% (257 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2018-08-28 22:28:06 +02:00
Grzegorz Dznsk
0260a7d6de Translated using Weblate (Polish)
Currently translated at 52.9% (288 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-08-28 22:28:06 +02:00
Andreas Shimokawa
b8c7bb2c2e Amazfit Bip: whitelist firmware 1.1.2.05 2018-08-28 22:19:53 +02:00
Andreas Shimokawa
13ff40c7a5 Mi Band 3: Whitelist some firmware version I tested 2018-08-28 22:10:58 +02:00
Roi Greenberg
280a2f56e9
Merge branch 'master' into master 2018-08-28 23:10:51 +03:00
Pavel Elagin
6904a62d41 Add share log file. Issue #1146 2018-08-28 21:50:12 +02:00
Andreas Shimokawa
4d1ce2b72c Mi Band 3: temporarily disable sunset/sunrise night mode setting
Will revert after we support setting sunrise/sunset
2018-08-27 22:58:30 +02:00
José Rebelo
9fda67b297 Mi Band 3: Night Mode 2018-08-27 22:54:37 +02:00
kalaee
915ad99886 Added Scandinavian characters 2018-08-27 21:58:23 +02:00
Roi
1ece83374b Add some docstring 2018-08-26 02:09:50 +03:00
Roi Greenberg
6b57809646 Fix missing space 2018-08-26 02:06:45 +03:00
Roi Greenberg
deee908fb0 Convert Arabic to contextual form 2018-08-25 22:31:14 +03:00
Roi
5a9e47cec4 remove debug logs and add documentation 2018-08-25 22:31:13 +03:00
Roi
5697ebc8ea Add rtl support 2018-08-25 22:31:12 +03:00
petronovak
7a1c3ab4fc Translated using Weblate (Ukrainian)
Currently translated at 45.4% (247 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2018-08-25 09:51:59 +02:00
Molnár Barnabás
278d1eb9e4 Translated using Weblate (Hungarian)
Currently translated at 47.0% (256 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2018-08-25 09:51:59 +02:00
TaaviE
b842c38c2c Translated using Weblate (Estonian)
Currently translated at 26.6% (145 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-08-25 09:51:59 +02:00
postsorino
647dada60b Translated using Weblate (Greek)
Currently translated at 100.0% (544 of 544 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-08-25 09:51:59 +02:00
Mike van Rossum
8044aabbfb Translated using Weblate (Dutch)
Currently translated at 93.2% (498 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2018-08-25 09:51:59 +02:00
Utsob Roy
98e747c5f5 Various Fixes
1. Updated test.
2. Fixed a composite letter issue.
3. Moved some redundant codes to a function.
2018-08-24 22:33:25 +06:00
Utsob Roy
8f12f10bfe added some comments. [master] 2018-08-24 20:57:38 +06:00
Utsob Roy
8ca1b6e864 better bengali transliteration. [master] 2018-08-24 14:42:27 +06:00
Carsten Pfeiffer
52b6b8db73
Merge pull request #1222 from joserebelo/notifications-timeout
Support minimum time between notifications
2018-08-20 22:45:18 +02:00
Andreas Shimokawa
3d65911440 fix typos in changelog 2018-08-19 23:28:00 +02:00
José Rebelo
c400b64d66 Translated using Weblate (Portuguese)
Currently translated at 67.6% (361 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2018-08-19 22:31:32 +02:00
Andreas Shimokawa
7d4df50c69 add fastlase and xml changelog for 0.29.1 2018-08-19 22:30:58 +02:00
Andreas Shimokawa
4895c1733d bump version, add changelog 2018-08-19 21:40:57 +02:00
José Rebelo
fa1e9b8938
Support minimum time between notifications 2018-08-19 11:07:58 +01:00
mesnevi
8edbe787af
Translated using Weblate (Russian)
Currently translated at 100.0% (534 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-19 08:13:43 +02:00
Yaron Shahrabani
6372f32a14 Translated using Weblate (Hebrew)
Currently translated at 100.0% (534 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-19 00:52:03 +02:00
Andreas Shimokawa
ffc6bd5a73 Mi Band 3: Also fix diplay of SMS and EMAIL
We have to send a fake app source that is never displayed to make the text appear... :P
2018-08-19 00:51:04 +02:00
Andreas Shimokawa
3d70314e8c Mi Band 3: Fix messages not being displayed (send app source with notifications and use chunked characteristics where available)
This also sends the app name for Bip and Cor, which is actually displayed when there is no icon (unknown app for the device)

Fixes #1203
2018-08-19 00:35:50 +02:00
Yaron Shahrabani
eb9264c3d3 Translated using Weblate (Hebrew)
Currently translated at 96.8% (517 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-18 23:03:47 +02:00
Andreas Shimokawa
1e877c63c9 Translated using Weblate (German)
Currently translated at 93.0% (497 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-08-18 23:03:47 +02:00
Andreas Shimokawa
c81965b88d Mi Band 3: Raise limit of RES files to 150000 bytes
Fixes #1223
2018-08-18 23:02:36 +02:00
Thomas
66796d23fb Translated using Weblate (Lithuanian)
Currently translated at 11.2% (60 of 531 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/lt/
2018-08-18 22:45:26 +02:00
TaaviE
f09d6ea4af Translated using Weblate (Estonian)
Currently translated at 25.9% (138 of 531 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2018-08-18 22:45:11 +02:00
postsorino
6f43bf2b32 Translated using Weblate (Greek)
Currently translated at 100.0% (531 of 531 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-08-18 22:42:14 +02:00
Yaron Shahrabani
c32a0db603 Translated using Weblate (Hebrew)
Currently translated at 100.0% (531 of 531 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-18 22:42:04 +02:00
mesnevi
24e4202bce Translated using Weblate (Russian)
Currently translated at 100.0% (531 of 531 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-18 22:40:16 +02:00
cpfeiffer
f89f0d7f77 Remove duplicate entry 2018-08-18 13:34:40 +02:00
Pavel Elagin
8475f21cce Enable multiline title for CheckBoxPreference 2018-08-18 13:31:40 +02:00
Carsten Pfeiffer
fabe9834e9
Merge branch 'master' into patch-2 2018-08-18 13:16:47 +02:00
Carsten Pfeiffer
c4411a9c48
Merge pull request #1206 from UncleInf/transliterate_lithuanian
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
Aniruddha Adhikary
b942db166e add Bengali Transliteration 2018-08-18 13:05:15 +02:00
cpfeiffer
d93799e72a Improve Teclast H1 and H3 device matching #1207 2018-08-18 12:57:21 +02:00
cpfeiffer
50295864f5 Use a custom IntentListener callback instead of LocalBroadcastManager for ble profiles
The issue here is the following:

- we used intents in the generic BleProfile classes to notify about the results of e.g. certain read requests
- we used to send these results asynchronously via LocalBroadcastManager.sendBroadcast(), which always used the main thread for sending
- however, we noticed that reconnecting to devices sometimes failed because the results arrived too late and the next action in the BLE queue lacked the necessary information
- the fix was to use LocalBroadcastManager.setBroadcastSync(), so that the results arrive in time
- this unfortunately meant that they were not sent in the main thread anymore, and especially, this would send all pending intents that were previously queued via sendBroadcast() also in the "wrong" thread (in order to keep the order of events)

The fix is to use a custom IntentListener callback interface for synchronous notifications of ble profile results
*without* also causing other, previously queued intents to be sent.

Fixes #1218
2018-08-18 00:39:14 +02:00
cpfeiffer
98cd54657a Avoid unnecessary boxing 2018-08-17 00:28:00 +02:00
cpfeiffer
c6bfd296a6 Avoid another potential NPE 2018-08-17 00:22:52 +02:00
cpfeiffer
f96b10cca0 Avoid potential NPE 2018-08-17 00:19:10 +02:00
cpfeiffer
0b63fa1c59 Remove some (now) unnecessary casts 2018-08-17 00:13:38 +02:00
cpfeiffer
0145013597 Add some @Nullable 2018-08-17 00:13:38 +02:00
Carsten Pfeiffer
26fcb3cbbb
Merge pull request #1212 from elagin/legend_wordwrap_center
Enable word wrap and set center horizontal alignment for legend into …
2018-08-16 23:58:00 +02:00
Carsten Pfeiffer
73f699c602
Merge pull request #1207 from Dougal19/master
Support added for H3 watch strap
2018-08-16 23:54:33 +02:00
Pavel Elagin
354ab79285 Display start and end sleep. #164 2018-08-16 17:59:56 +03:00
Pavel Elagin
65d36d2c81 Enable word wrap and set center horizontal alignment for legend into ActivitySleepChart and WeekSleepChart 2018-08-15 18:03:32 +03:00
Dougal19
e520cf57eb
Test add support for H3 watch strap 2018-08-13 17:49:38 +01:00
Andreas Shimokawa
74f47c8e2e Mi Band 3: Support setting language to German, Italian, French, Polish, Japanese, Korean
NOTE:
- Needs latest firmware
- Setting to Japanese or Korean leads to empty menus on the device. When
  reconnecting you, will get a sceen which telling you to update. I highly
  suspect it requires flashing Mili_wuhan.ft.kj (kj=korean,japanese)
2018-08-13 00:00:46 +02:00
Thomas
93dcb2be0d Adding Lithuanian transliteration 2018-08-12 11:31:35 +03:00
Andreas Shimokawa
3af7b1dd3a fix version code 2018-08-12 10:02:45 +02:00
Andreas Shimokawa
5b683e10c1 update readme, add changelog 2018-08-12 09:40:13 +02:00
Andreas Shimokawa
3bb75a62be Mi Band 3: whitelist tested firmwares 2018-08-12 00:28:27 +02:00
Yaron Shahrabani
7625c88393 Translated using Weblate (Hebrew)
Currently translated at 100.0% (525 of 525 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-12 00:17:52 +02:00
mesnevi
3fc3baa471 Translated using Weblate (Russian)
Currently translated at 100.0% (525 of 525 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-12 00:17:52 +02:00
Yaron Shahrabani
6da8abf0d4 Translated using Weblate (Hebrew)
Currently translated at 100.0% (525 of 525 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-12 00:17:52 +02:00
Andreas Shimokawa
b48b52b175 Mi Band 3: Make order of menu items on screen deterministic again
(This partly reverts the logic of the previous commit)
2018-08-12 00:16:56 +02:00
José Rebelo
470efa3e51 Mi Band 3: Change display items 2018-08-12 00:00:38 +02:00
Daniele Gobbetti
9517fa211e Intercept alarm actions of the google clock application
Implemented blindly based on the information provided in #1199
Fixes #1199
2018-08-10 18:36:29 +02:00
Pavel Elagin
76d704cb04 Misprints 2018-08-10 00:00:12 +02:00
Yaron Shahrabani
9a447fbb2c Translated using Weblate (Hebrew)
Currently translated at 100.0% (523 of 523 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-09 23:47:52 +02:00
mesnevi
c48f14f295 Translated using Weblate (Russian)
Currently translated at 100.0% (523 of 523 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-09 23:47:52 +02:00
Vincèn PUJOL
a3b864b75d Translated using Weblate (French)
Currently translated at 100.0% (513 of 513 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-08-09 23:47:52 +02:00
Marcel pl (m4rcel)
dff3df3e27 Translated using Weblate (Polish)
Currently translated at 54.9% (282 of 513 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-08-09 23:47:52 +02:00
Yaron Shahrabani
8f616c680a Translated using Weblate (Hebrew)
Currently translated at 100.0% (513 of 513 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-09 23:47:52 +02:00
José Rebelo
338251597b Mi Band 3: Band screen unlock 2018-08-09 23:41:25 +02:00
José Rebelo
b671289a49 Mi Band 2/3: New icon 2018-08-09 23:41:25 +02:00
Carsten Pfeiffer
4a07c63381
Merge pull request #1194 from elagin/string_toString
Redundant String.toString()
2018-08-08 21:34:45 +02:00
Carsten Pfeiffer
95e39cabba
Merge pull request #1190 from maxirnilian/watch9
Watch 9: Initial support
2018-08-08 21:16:59 +02:00
Daniele Gobbetti
797a671ccd Amazfit Cor: only send music information when needed 2018-08-08 17:48:23 +02:00
Pavel Elagin
723b5af50f Redundant String.toString() 2018-08-08 12:55:25 +03:00
Andreas Shimokawa
da58e22afe Only start MusicPlaybackReceiver if device supports music info
Also block sending music info in HuamiSupport if device does not support it
2018-08-07 12:44:00 +02:00
Andreas Shimokawa
774797ea09 add changelog, bump version 2018-08-06 23:46:25 +02:00
cpfeiffer
e15afaab2f Probe connected devices first for firmware installation 2018-08-06 23:13:59 +02:00
cpfeiffer
22e7569587 Add a small testcase for logging 2018-08-06 23:13:59 +02:00
Daniele Gobbetti
3fac021ff2 Amazfit Cor: implement basic music controls
Play/pause and skip to previous/next song work. The currently playing song
name is shown on the Cor. The track length and progress are now shown as
we don't know how to send these yet.
2018-08-06 23:11:40 +02:00
cpfeiffer
cc3c70b161 Send results of AbstractBleProfile synchronously
This should fix issues like a ConditionalWriteAction failing with an NPE when GBDevice.getFirmwareVersion() returns null even though the DeviceInfoProfile had already received the firmware version (but the intent notification has not been received yet).
2018-08-06 20:51:28 +02:00
cpfeiffer
ec0d62f67b If firmwareRevision is null, use softwareRevision 2018-08-06 20:26:39 +02:00
cpfeiffer
92bd3122f3 Improve logging 2018-08-06 20:22:10 +02:00
cpfeiffer
f7c9828cc1 Avoid potential NPE 2018-08-06 20:22:10 +02:00
maxirnilian
4ff04870ca Watch 9: Initial support 2018-08-06 18:30:38 +02:00
Andreas Shimokawa
88714ece4d Amazfit Bip: fix current weather not being displayed with latest firmware 2018-08-05 15:27:28 +02:00
protomors
fd68700b9a NO1 F1: Set time during initialization. 2018-08-05 00:09:43 +02:00
protomors
343239ff9e NO1 F1: Fixed typo. 2018-08-05 00:09:43 +02:00
cpfeiffer
fe438f2354 More detailed changelog for ZeTime for 0.28
(taken from 8af6515df8)
2018-08-05 00:01:48 +02:00
mesnevi
810af68854 Translated using Weblate (Russian)
Currently translated at 100.0% (513 of 513 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-04 23:10:25 +02:00
Yaron Shahrabani
f474816e42 Translated using Weblate (Hebrew)
Currently translated at 100.0% (512 of 512 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-04 23:10:25 +02:00
mesnevi
69c2c0c149 Translated using Weblate (Russian)
Currently translated at 100.0% (512 of 512 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-04 23:10:25 +02:00
Yaron Shahrabani
ee855af46f Translated using Weblate (Hebrew)
Currently translated at 100.0% (512 of 512 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-04 23:10:25 +02:00
mesnevi
1ae1aaa90c Translated using Weblate (Russian)
Currently translated at 100.0% (509 of 509 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-04 23:10:25 +02:00
mesnevi
3a0bf06896 Translated using Weblate (Russian)
Currently translated at 100.0% (507 of 507 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-04 23:10:25 +02:00
mesnevi
f9b9c34042 Translated using Weblate (Russian)
Currently translated at 100.0% (507 of 507 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-08-04 23:10:25 +02:00
Yaron Shahrabani
84f903cd8b Translated using Weblate (Hebrew)
Currently translated at 100.0% (507 of 507 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-08-04 23:10:25 +02:00
cpfeiffer
5bca05caac Fix loop condition! 2018-08-04 23:10:11 +02:00
Andreas Shimokawa
fe401bdcf5 Amazfit Cor: allow music control 2018-08-02 22:35:02 +02:00
Andreas Shimokawa
66391e10c9 Amazfit Cor: Allow to enable music menu on device 2018-08-02 22:29:52 +02:00
cpfeiffer
664ffdd629 Adjust testcases for samples with calculated timestamps 2018-08-02 22:02:52 +02:00
José Rebelo
d9f990b3fa Vertically align device icon
(cherry picked from commit ca9229c)
2018-08-02 21:00:51 +02:00
Andreas Shimokawa
cc7f6d7263 More Huami refactoring
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa
f464604b27 Amazfit Cor: Fix notification menu not being enabled 2018-08-01 23:13:36 +02:00
Andreas Shimokawa
c247efc720 add missing file 2018-08-01 22:58:41 +02:00
Andreas Shimokawa
486d7bdca6 Amazfit Cor: Allow setting menu items
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
Daniele Gobbetti
c708bc6e52 Use a vector resource instead of the raster background image
Create a specific splash file for android version <21 without the drawable
2018-08-01 21:52:35 +02:00
José Rebelo
a356c1f7bd Splash screen
(cherry picked from commit 076f818)
2018-08-01 21:40:41 +02:00
cpfeiffer
16fb1a584d Errors during activity track timestamp fixup should be non-fatal
So just log them. #1134
2018-08-01 19:49:09 +02:00
cpfeiffer
df84927954 Fix filename generation and add testcasce
Fixes #1169
2018-08-01 19:33:33 +02:00
cpfeiffer
7f1c0521ea Small fixes to activity point timestamp fixup 2018-08-01 19:33:33 +02:00
szilardx
14a086c1f3 Add missing ActivityPoints and timestamp 2018-08-01 19:33:33 +02:00
Vadim Kaushan
e3408197f2 Merge remote-tracking branch 'upstream/master' 2018-07-31 09:18:50 +03:00
cpfeiffer
163b547395 Remove level_list_device.xml, just use the DeviceType icon 2018-07-30 22:49:00 +02:00
Vadim Kaushan
9a13d5ea4a ID115: code cleanup 2018-07-30 23:24:20 +03:00
Vadim Kaushan
fd7a0cb124 ID115: fetching activity data 2018-07-30 23:23:13 +03:00
Vadim Kaushan
caabe0ed0a ID115: use SendNotificationOperation for message and call notifications 2018-07-29 21:30:31 +03:00
Vadim Kaushan
14dc3ad9c5 ID115: add supportsFindDevice() function 2018-07-29 19:34:34 +03:00
Vadim Kaushan
458a363f11 Merge remote-tracking branch 'upstream/master' 2018-07-29 19:31:40 +03:00
José Rebelo
18b13b7772
Add missing break 2018-07-27 14:39:01 +01:00
José Rebelo
a43934651a
Allow devices to not support being found 2018-07-27 14:38:33 +01:00
Daniele Gobbetti
2147ab4948 Revert "Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate""
This reverts commit 63231ec49a.

Please note that the comment of the reverted commit was inaccurate, as the Mi Band HRX was left untouched by it
and is left untouched byt this commit.
2018-07-27 15:13:21 +02:00
cpfeiffer
63231ec49a Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate"
This reverts commit 495ba81edc.

See discussion in https://github.com/Freeyourgadget/Gadgetbridge/issues/1165
2018-07-27 13:15:10 +02:00
dakhnod
63cb70ac9a Fix missing sourceAppID field 2018-07-23 02:50:05 +02:00
Andreas Shimokawa
872a91b0b5 Fix "Amazfit Bit" typo 2018-07-22 16:39:37 +02:00
Andreas Shimokawa
8b445bab20 Bump version, add changelog 2018-07-22 16:31:38 +02:00
Daniele Gobbetti
2da6749a40 Add activity kind (if known) to gpx filename
Fixes #1161
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
67a1191a3c Use UTC timezone in GPX points
Fixes #1152
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
a5dd88df53 Fix discovery on devices with Android version < Lollipop
also reduce the amount of lines logged in discovery activity.
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
290c6c53fb Fix wrong mapping yahoo weather conditions to openweathermap. 2018-07-22 16:14:36 +02:00
Denis
8141076e25 Translated using Weblate (Russian)
Currently translated at 96.6% (485 of 502 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-07-21 17:18:41 +02:00
K0L0B0G
86a15a7c7b Translated using Weblate (Russian)
Currently translated at 96.6% (485 of 502 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-07-21 17:18:41 +02:00
Andreas Shimokawa
e96dcc69ab Amazfit Bip: try to support weather in newer firmwares 2018-07-21 17:18:08 +02:00
Andreas Shimokawa
d1253348dc Mi Band 3: whitelist tested firmware, res and font 2018-07-19 12:00:17 +02:00
K0L0B0G
cdad2ba67d Translated using Weblate (Russian)
Currently translated at 93.8% (471 of 502 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-07-17 16:12:41 +02:00
Denis
7fb0ad0dfd Translated using Weblate (Russian)
Currently translated at 93.8% (471 of 502 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-07-17 16:12:41 +02:00
Yaron Shahrabani
2468ad9d7f Translated using Weblate (Hebrew)
Currently translated at 100.0% (502 of 502 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-07-17 16:12:40 +02:00
Andreas Shimokawa
c7125f78cf no comment 2018-07-17 16:12:15 +02:00
Andreas Shimokawa
1f6850a4b3 update changelogs 2018-07-17 16:01:41 +02:00
Andreas Shimokawa
eef38d4680 Only use 0x00 as auth flags on Mi Band 3 - to not disturb other devices 2018-07-17 00:29:36 +02:00
Andreas Shimokawa
aa143577f8 Amazfit Cor: Support language switching on newer firmwares
I shamelessly assumed the firmware version (chose the version that was included in the same Mi Fit version when bip started to support the new command)
2018-07-16 15:18:46 +02:00
Vadim Kaushan
b6bd100f28 ID115: remove useless debug messages 2018-07-16 15:50:29 +03:00
Yaron Shahrabani
7cad1fe2d3 Translated using Weblate (Hebrew)
Currently translated at 100.0% (501 of 501 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-07-16 14:50:21 +02:00
Vadim Kaushan
65fbb4da5b ID115: wrist setting 2018-07-16 15:48:37 +03:00
Andreas Shimokawa
f2aa71e32c Amazfit Bip: Support Russian language.
Closes #1145
2018-07-16 14:36:52 +02:00
Andreas Shimokawa
46f3686764 Mi Band 3: Also send AQI for weather to make current temperature appear 2018-07-16 14:19:02 +02:00
Andreas Shimokawa
dc1e831630 Mi Band 3: Fix Pairing, this MIGHT break pairing for other devices (Bip/Cor/Mi Band 2) 2018-07-16 13:38:51 +02:00
Vadim Kaushan
e03d80b8e4 ID115: set device icon for the main screen 2018-07-15 10:17:01 +03:00
Marius Cornescu
2fe0b0e6e6 Translated using Weblate (Romanian)
Currently translated at 17.0% (85 of 500 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ro/
2018-07-15 03:05:10 +02:00
Marius Cornescu
f95ff16767 Translated using Weblate (Romanian)
Currently translated at 10.6% (53 of 500 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ro/
2018-07-15 03:05:10 +02:00