1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-09 19:49:30 +01:00
Commit Graph

3702 Commits

Author SHA1 Message Date
Sebastian Obrusiewicz
2843fa242f Translated using Weblate (Polish)
Currently translated at 83.0% (480 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-11-08 07:01:53 +01:00
Moarc
b9433744d3 Translated using Weblate (Polish)
Currently translated at 80.4% (465 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-11-08 07:01:53 +01:00
Sebastian Obrusiewicz
cdffb4f3b7 Translated using Weblate (Polish)
Currently translated at 80.4% (465 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-11-08 07:01:53 +01:00
Yaron Shahrabani
082bf81933 Translated using Weblate (Hebrew)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-11-08 07:01:53 +01:00
Andreas Shimokawa
78addcb75c Pebble: try to prevent crash when no canned replies have been set 2018-11-07 22:02:58 +01:00
cpfeiffer
5644ae5925 Display measured hr value in Debug activity + cleanup
Fixes #1320
2018-11-05 23:27:29 +01:00
Andreas Shimokawa
d65eb1eed2 add fastlane and xml changelog 2018-11-04 10:01:47 +01:00
cpfeiffer
7cfe7d900a Comment out excessive logging #1311 2018-11-03 23:26:58 +01:00
Andreas Shimokawa
17a82f09f2 Pebble: Temporarily disable broken autoremove notification feature 2018-11-03 20:49:49 +01:00
Andreas Shimokawa
61872b7bbd Mi Band 3/Amazfit Bip/Amazfit Cor: Send Fahrenheit if units are set to imperial
Closes #1315
2018-11-03 20:44:30 +01:00
Andreas Shimokawa
7108cd53b1 Add changelog for 0.31.0 (WIP) , bump version 2018-11-03 00:27:23 +01:00
Andreas Shimokawa
fcfcc5cb0b Pebble: unify code for 2.x and >= 3.x notification encoding
Not very clean but deduplicated a lot of code which was no longer maintainable twice
2018-11-02 21:10:31 +01:00
Daniele Gobbetti
206b718155 Revert "declare geposition variable"
the variable scope cannot be local, otherwise some watchfaces/watchapps
may break

This reverts commit 7ddd2a0
2018-11-02 11:24:59 +01:00
cpfeiffer
6cc29f041c fixed lgtm recommendation 2018-11-02 00:10:52 +01:00
cpfeiffer
effffddd8d fixed lgtm warnings 2018-11-02 00:09:30 +01:00
cpfeiffer
7ddd2a045a declare geposition variable 2018-11-02 00:09:30 +01:00
José Rebelo
ca32a2b5ac Start new activity with FLAG_ACTIVITY_NEW_TASK (fixes #1306) 2018-11-01 22:49:02 +01:00
cpfeiffer
7e9a9ca875 Added a TODO 2018-11-01 22:05:38 +01:00
cpfeiffer
435898ebc9 Move MiBand3-ism to MiBand3Support 2018-11-01 22:05:38 +01:00
Daniele Gobbetti
549dfce2e7 Pebble: generalize handling of incoming actions (from watch)
Also add missing casts back to int in NotificationListener
2018-11-01 19:40:26 +01:00
Andreas Shimokawa
7c0c50e960 Pebble: fix non-working SMS reply regression 2018-11-01 19:12:43 +01:00
Andreas Shimokawa
5fc2a704a3 Pebble: Always allow reply action even if untested features are turned off 2018-11-01 17:02:33 +01:00
Andreas Shimokawa
e54f1eaccc SMS: add reply action in generic code (no longer explicitly handled in PebbleProtocol) 2018-11-01 16:58:20 +01:00
Andreas Shimokawa
f05cc83848 Pebble: set MIN_ACTION_LENGTH = 6, which is correct 2018-11-01 16:02:29 +01:00
Andreas Shimokawa
22de76620d Debug: Add button to send a PebbleKit notification 2018-11-01 15:04:16 +01:00
Andreas Shimokawa
f3e16c5b1d Pebble: Fix regression causing "Open on Phone" and "Dismiss" to appear on Pebble notification with no corresponding Android notification (i.e. PebbleKit notifications) 2018-11-01 14:55:14 +01:00
Daniele Gobbetti
eede85a9c9 Various improvements and bugfixes to notification handling
Prevent duplicate notifications with a dedicated data structure (not reusing
the anti-burst one) #1062, #657
Pebble: Forward the actions attached to notifications (not only reply)
inspired by the work of dnastase #705
2018-10-31 21:47:12 +01:00
Daniele Gobbetti
b9999edf2a Ignore notifications that are older than the last forwarded one for the
same source.

This reuses the data structure populated to prevent overflow, but avoids
to forward notifications that are older than the reference.
2018-10-29 18:39:38 +01:00
Andreas Shimokawa
6b136210a1 bump android gradle plugin and build tools version 2018-10-28 21:31:09 +01:00
Daniele Gobbetti
29dc806fb1 Ignore notifications that are older than 1 second
In case of grouped notifications, we get multiple notifications
also if the android device shows only one.

This means that with this change the most recently updated chat
will get through, but others will not.

This should help with #1062 and #657
2018-10-28 18:03:01 +01:00
Andreas Shimokawa
dde8a5044f Mi Band 3: Whitelist FW 1.8.0.0 2018-10-28 15:32:57 +01:00
WaldiS
6e731885fd
Translated using Weblate (Polish)
Currently translated at 53.4% (309 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-10-21 15:34:24 +02:00
Bożydar
cc3271ad14
Translated using Weblate (Polish)
Currently translated at 51.3% (297 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-10-20 14:59:00 +02:00
WaldiS
24afaa8b44
Translated using Weblate (Polish)
Currently translated at 51.3% (297 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2018-10-20 14:59:00 +02:00
Full Name
cbf3d7c2b3
Translated using Weblate (Czech)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-10-17 11:25:57 +02:00
Hirnchirurg
06d3d45874
Translated using Weblate (German)
Currently translated at 92.5% (535 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-10-09 23:29:10 +02:00
postsorino
93b12c2f6e
Translated using Weblate (Greek)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-10-09 21:29:05 +02:00
hr-sales
099389a7f9
Translated using Weblate (Portuguese (Brazil))
Currently translated at 45.1% (261 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2018-10-04 18:34:13 +02:00
Allan Nordhøy
f513dad014 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-10-01 23:04:57 +02:00
Allan Nordhøy
f59f972f2b Translated using Weblate (English)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-10-01 23:04:57 +02:00
Dreamwalker
0b2009dbc3 Translated using Weblate (Korean)
Currently translated at 88.9% (514 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ko/
2018-10-01 23:04:57 +02:00
youzhiran
027a7a4476 Translated using Weblate (Chinese (Simplified))
Currently translated at 74.7% (432 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2018-10-01 23:04:57 +02:00
Full Name
81ed44a707 Translated using Weblate (Czech)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-10-01 23:04:57 +02:00
Gilles Émilien MOREL
2c0615e0dc Translated using Weblate (French)
Currently translated at 95.3% (551 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-10-01 23:04:57 +02:00
postsorino
a399b4be45 Translated using Weblate (Greek)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-10-01 23:04:57 +02:00
উৎসব রায়(Utsob Roy)
e66d0a2d10 Enhancement and Fixes for Bengali Transliteration. (#1263)
* Added various fixes and enhancment for Bengali transliteration.

* various fixes and enhancment for Bengali transliteration

* fixed a coding typo [master]

* Boolean lowercase and added .project in .gitignore

* Boolean lowercase and added .project in .gitignore

* typo fix [master]

* fixed negative index error [master]

* fixed negative index error [master]

* unprinted character fix [master]

* enhanced transliteration [master]

* lowercased boolean and replaced Integer with int [master]

* removed .setting, .classpath and .project and added them to .gitignore too.

* bug fix and multilingual testcase [master]
2018-10-01 23:04:51 +02:00
cpfeiffer
56477efcdf Specify new path to classes for findbugs after gradle update 2018-09-29 21:49:13 +02:00
cpfeiffer
045c0840e3 Update build-tools to 28.0.2 2018-09-29 00:04:23 +02:00
José Rebelo
e62fe36391 Roidmi 3: Fix and enable support 2018-09-28 16:35:09 +01:00
mesnevi
659316a402 Translated using Weblate (Russian)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-09-23 12:02:56 +02:00
Andreas Shimokawa
b1b318a18b Amazfit Bip: Allow flashing latest gps firmware from Mi Fit 3.5.1.1 (Mili_dth.gps)
This file seems to be for the Bip2, but firmwares.json also refereces this for the Bip.
And it seems to work.
2018-09-23 12:02:34 +02:00
Louis-Marie Croisez
ee1fa190d6 Translated using Weblate (French)
Currently translated at 94.4% (546 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2018-09-23 12:02:34 +02:00
Allan Nordhøy
c7e2c16247 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.1% (573 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-09-23 12:02:34 +02:00
Yaron Shahrabani
0ff52f8e7a Translated using Weblate (Hebrew)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-23 12:02:34 +02:00
postsorino
aba21647f5 Translated using Weblate (Greek)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-09-23 12:02:34 +02:00
Full Name
4602e7a1db Translated using Weblate (Czech)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-09-23 12:02:34 +02:00
Full Name
c168f24c2d Translated using Weblate (Czech)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2018-09-23 12:02:34 +02:00
Allan Nordhøy
73f0309c84 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.1% (573 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2018-09-23 12:02:34 +02:00
Yaron Shahrabani
ab748eb5b1 Translated using Weblate (Hebrew)
Currently translated at 100.0% (578 of 578 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-23 12:02:34 +02:00
cpfeiffer
60397c88c0 Avoid possible NPE 2018-09-23 11:27:35 +02:00
Carsten Pfeiffer
0b1190bc02
Merge pull request #1270 from comradekingu/patch-4
News strings reworked
2018-09-19 23:51:44 +02:00
cpfeiffer
b1e122cbda Bump version 2018-09-17 23:09:35 +02:00
cpfeiffer
6ea9cc29bd Updated changelog for 0.30.0 release 2018-09-17 23:06:04 +02:00
cpfeiffer
6d4d92fd88 Live Activity: don't enable notifications every second
This caused the BLE queue to fill up more and more.
2018-09-17 23:02:18 +02:00
cpfeiffer
d3fd203c6c Avoid possible NPE 2018-09-17 23:02:18 +02:00
cpfeiffer
cfddba0e4d Remove unused field and redundant casts 2018-09-17 23:02:18 +02:00
Newline Bot
a55c3d7220 Replace CRLF with LF (no content changes) 2018-09-17 18:28:56 +02:00
Allan Nordhøy
46aec12aa6
News strings reworked 2018-09-17 01:15:18 +02:00
postsorino
1fe8842743 Translated using Weblate (Greek)
Currently translated at 97.2% (561 of 577 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-09-16 20:50:04 +02:00
Yaron Shahrabani
87c09b038b Translated using Weblate (Hebrew)
Currently translated at 100.0% (577 of 577 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-16 20:50:04 +02:00
cpfeiffer
934f36f45a Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
Carsten Pfeiffer
226ae54ae6
Merge pull request #1265 from elagin/live_activity_2
Enhancement LiveActivityFragment (2)
2018-09-16 20:43:59 +02:00
Pavel
62e080d5ac
Update LiveActivityFragment.java
I'm sorry, I wanted to add entry if > min HR
2018-09-16 20:35:28 +03:00
cpfeiffer
8c1a1861e4 Fix some static analysis warnings 2018-09-16 13:59:16 +02:00
cpfeiffer
c1de677448 Remove redundant null checks 2018-09-16 13:58:01 +02:00
cpfeiffer
100ed9f50c Use \n as line endings 2018-09-16 13:55:57 +02:00
cpfeiffer
5028458fe8 Fix some static analysis warnings 2018-09-16 13:54:56 +02:00
cpfeiffer
08dfa2a47d Log the stacktrace as well 2018-09-16 00:12:52 +02:00
cpfeiffer
f142003f09 Avoid boxing 2018-09-16 00:12:40 +02:00
cpfeiffer
ce2f984e9f Fix some file closing issues 2018-09-15 23:54:51 +02:00
cpfeiffer
8aad6cd620 Avoid autoboxing, remove redundant cast 2018-09-15 23:51:51 +02:00
cpfeiffer
898165ce0b Avoid lots of false static analysis warnings 2018-09-15 23:30:39 +02:00
cpfeiffer
08595f4e3d Avoid autoboxing 2018-09-15 22:52:30 +02:00
cpfeiffer
87bee53ef3 Add a tiny bit of javadoc 2018-09-15 22:43:45 +02:00
cpfeiffer
f9e600d369 Deduplicate code 2018-09-15 22:38:20 +02:00
cpfeiffer
d6f5e36e12 Huami devices: Fix seldom fetch failures (better support for app level ble feedback)
Fixes #1264
2018-09-15 22:24:27 +02:00
Pavel Elagin
e85257b545 Show current / max heart rate. Ignore heart rate < user settings. Invisible button bar into LiveActivity. Auto scale totalStepsChart. Fix time x axis history chart. Draw total and per minute steps. Set limit on per minute chart by user settings. 2018-09-13 12:51:52 +03:00
cpfeiffer
b6d68207cb Don't store the live step values in the db 2018-09-11 23:26:51 +02:00
cpfeiffer
add9be5ff6 Another place to handle possible negative steps values 2018-09-11 23:24:27 +02:00
cpfeiffer
aee0e54d05 Handle possible negative steps values 2018-09-11 23:08:29 +02:00
cpfeiffer
fbcd2840ca No need to call method twice 2018-09-11 23:04:18 +02:00
Andreas Shimokawa
59ddedcf9a Mi Band 3: Whitelist FW 1.6.0.16 2018-09-11 21:35:30 +02:00
Andreas Shimokawa
6644ad0bb0 Mi Band 3: Allow enabling the "Workout" menu item
(This is called "Activity" in Gadgetbridge, since we have that on the Bip, we should probably rename that to Workout also for consistency with the menus)
2018-09-11 21:32:13 +02:00
Yaron Shahrabani
8b8202a96e Translated using Weblate (Hebrew)
Currently translated at 100.0% (572 of 572 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-10 23:41:37 +02:00
cpfeiffer
88ad6cf0e0 Improve balance handling 2018-09-10 23:41:01 +02:00
Pavel Elagin
4592d35cc6 Calculation and display of weekly balance by steps and time of sleep. 2018-09-10 23:41:01 +02:00
Yaron Shahrabani
bf80474b71 Translated using Weblate (Hebrew)
Currently translated at 100.0% (571 of 571 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-08 13:17:44 +02:00
רועי גרינברג
1fc3e82b06 Translated using Weblate (Hebrew)
Currently translated at 99.1% (566 of 571 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-08 13:17:22 +02:00
mesnevi
2b70acd60e Translated using Weblate (Russian)
Currently translated at 100.0% (564 of 564 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2018-09-08 13:17:10 +02:00
Yaron Shahrabani
370369fae5 Translated using Weblate (Hebrew)
Currently translated at 100.0% (564 of 564 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2018-09-08 13:16:16 +02:00
Hüseyin Aslan
41be5218d7 Translated using Weblate (Turkish)
Currently translated at 23.9% (134 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2018-09-08 13:16:06 +02:00
postsorino
1d3ecc847f Translated using Weblate (Greek)
Currently translated at 100.0% (559 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2018-09-08 13:15:56 +02:00
Ranved Sticon
ba6fa314b6 Translated using Weblate (Croatian)
Currently translated at 1.2% (7 of 559 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hr/
2018-09-08 13:15:20 +02:00
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