1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 03:16:51 +01:00
Commit Graph

5278 Commits

Author SHA1 Message Date
Taavi E
68b864d9e9 Translated using Weblate (Russian)
Currently translated at 98.2% (852 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-07 23:16:09 +02:00
Asbesbopispa
9d000f3ef4 Translated using Weblate (Italian)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
a7257f1b61 Translated using Weblate (Hebrew)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Michael
83b3033dfb Translated using Weblate (German)
Currently translated at 99.8% (866 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-07 23:16:09 +02:00
Rafael Fontenelle
c11767a9c7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
8d01ffd143 Translated using Weblate (Hebrew)
Currently translated at 100.0% (867 of 867 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Yaron Shahrabani
6a3d2e2d05 Translated using Weblate (Hebrew)
Currently translated at 99.8% (862 of 863 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-07 23:16:09 +02:00
Andreas Shimokawa
94afcba363 Add text column to BaseActivityData for storing unstructured data to be displayed later
As a test first test, this currently only stores the average heart rate.
2020-08-07 23:12:29 +02:00
Andreas Shimokawa
9b8f4d329e Experiment with Pinetime-JF 2020-08-04 22:38:11 +02:00
Andreas Shimokawa
66f2eb8479 Amazfit Bip S: whitelist firmware 2.1.1.26 and 2.1.1.36 2020-08-03 22:42:07 +02:00
Andreas Shimokawa
6cc9843461 add changelogs 2020-08-02 23:13:31 +02:00
TaaviE
fb70a07f64 Tried fixing a LineageOS quirk with regular BT scans 2020-08-02 23:59:42 +03:00
TaaviE
749cf91f63 Handled the potential case of the same scan finishing twice and canceling a running scan being displayed 2020-08-02 23:43:00 +03:00
TaaviE
83f3b8565e Removed duplicate UI updates 2020-08-02 22:06:18 +03:00
TaaviE
d7ce49a2f3 Improved UX when Bluetooth is disabled mid-scan 2020-08-02 21:55:16 +03:00
TaaviE
9627360fac Fixed an UI error when Bluetooth discovery starting fails 2020-08-02 21:23:14 +03:00
TaaviE
61c74e9b15 Made the scans time out nicely 2020-08-02 21:07:14 +03:00
TaaviE
498c0d42e2 Made sure to check if location permission has been given by the user for scanning 2020-08-02 21:07:14 +03:00
TaaviE
aa9abd4b61 Added a log message that might help with debugging in some cases 2020-08-02 21:07:14 +03:00
TaaviE
f526bbe632 Added an API version guard to the new type of BLE scanning 2020-08-02 21:07:14 +03:00
TaaviE
e3664a5926 Undid the Pebble content provider removal 2020-08-02 21:07:14 +03:00
TaaviE
b76a8267b8 Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI. 2020-08-02 21:07:14 +03:00
TaaviE
1b43468b9e Improved the ITag coordinator class a bit 2020-08-02 21:07:14 +03:00
Andreas Shimokawa
eab10a80dd Merge remote-tracking branch 'weblate/master' 2020-08-02 19:45:08 +02:00
Andreas Shimokawa
a619fdb168 Huami: Prevent setting an MTU of < 23, which is either a special value or a parsing error of Gadgetbridge
This fixes a problem where writeToChunked algorithm results in out of bounds writes or an endless loop.

Closes #1936
2020-08-02 13:11:41 +02:00
TaaviE
f9dc625c5c Printed a few rather fatal exceptions in case they happen for easier debugging (#1946)
Removed a few more occurrences of double logging

Removed double logging

Printed a few rather fatal exceptions in case they happen for easier debugging and a few other small cleanups

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1946
2020-08-02 10:55:06 +02:00
TaaviE
2ba6b88ff9 Made scan results a bit more detailed by displaying special cases 2020-08-02 03:33:08 +03:00
Cristian Alfano
637a7d5d07 Adding support for Mi Band 5's new FW and res versions and new languages supported: italian, french and german. 2020-08-01 23:03:21 +02:00
TaaviE
da529579f4 Made it possible to disable asking for a few permissions. 2020-08-01 17:27:26 +03:00
TaaviE
1ceaf48ba7 Only request ANSWER_PHONE_CALL above API 26 2020-08-01 17:27:15 +03:00
TaaviE
bb1b31bcb4 Made sure to check notification listener access even after first launch because not having it can cause issues 2020-08-01 17:27:15 +03:00
TaaviE
d2a6353e8d Added the strings about bonded device un-ignoring settings option 2020-08-01 15:49:54 +02:00
TaaviE
8da7a7aced Added a checkbox to un-ignore bonded devices 2020-08-01 15:49:54 +02:00
陈少举
a9e4c02be2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-01 15:49:32 +02:00
FransM
de7acfd24d Translated using Weblate (Dutch)
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
c75daae042 Translated using Weblate (Turkish)
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Rafael Fontenelle
08bc772b4b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (854 of 854 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
4920f00c66 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.7% (800 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
6d493dfbb6 Translated using Weblate (English)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
6bed8a853c Translated using Weblate (Turkish)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Alex
b62ce28bda Translated using Weblate (Russian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-01 15:49:32 +02:00
Retew
f396be1605 Translated using Weblate (Russian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
849e4acda1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.6% (799 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2020-08-01 15:49:32 +02:00
陈少举
fc2ec6d2c4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-08-01 15:49:32 +02:00
FransM
e61e0d899c Translated using Weblate (Dutch)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-08-01 15:49:32 +02:00
Allan Nordhøy
6473ec808a Translated using Weblate (English)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2020-08-01 15:49:32 +02:00
Oğuz Ersen
bc55c906e3 Translated using Weblate (Turkish)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-08-01 15:49:32 +02:00
Rafael Fontenelle
ba448f8d8e Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (852 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-08-01 15:49:32 +02:00
Asbesbopispa
5afe24a916 Translated using Weblate (Italian)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-01 15:49:32 +02:00
Yaron Shahrabani
944e2ab0c1 Translated using Weblate (Hebrew)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-01 15:49:32 +02:00
Michael
2dcd415007 Translated using Weblate (German)
Currently translated at 100.0% (853 of 853 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-08-01 15:49:32 +02:00
Asbesbopispa
69ba991d92 Translated using Weblate (Italian)
Currently translated at 100.0% (848 of 848 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2020-08-01 15:49:28 +02:00
Yaron Shahrabani
3fc0ee8d45 Translated using Weblate (Hebrew)
Currently translated at 100.0% (848 of 848 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-08-01 15:49:28 +02:00
TaaviE
8795acd0fd Improved ProGuard rules (for DB migrations and logback) 2020-08-01 04:03:15 +03:00
Andreas Shimokawa
c735dd0dd4 fix compilation 2020-07-31 14:05:45 +02:00
115ek
58711ff2d2 TLW64: Add basic settings
* inactivity warnings
* activate display on lift
* timeformat
* TODO: screen timeout, find-my-device,...
2020-07-30 15:00:34 +02:00
115ek
81956143de TLW64: Revert "Switch to dynamic battery detection"
This reverts commit 8c7800534f78258b9f817ac3a524d985ed6aa84e.

* Battery Service doesn't notify so the charge gets only updated on initializeDevice()
2020-07-30 12:36:02 +02:00
115ek
7a2cb1ca68 TLW64: Fix fetching progress bar
* Fetching progress bar wasn't made invisible again
2020-07-30 12:36:02 +02:00
115ek
943728c35c TLW64: Support fetching activity data (steps + sleep) 2020-07-30 12:35:43 +02:00
115ek
95da81dfcf TLW64: Increase vibration amount on call state
* 5 vibrations are too less if someone calls 
* 30 vibrations last about 30 seconds (if call state doesn't change)
* duration parameter behaves strange: higher value means shorter vibration?! 
-> let's go back to default duration of 1
2020-07-30 12:15:12 +02:00
115ek
4f5e2d0730 TLW64: Beautify code 2020-07-30 12:15:12 +02:00
115ek
8a3174dabd TLW64: Support further device settings
* inactivity alarm
* others are unclear
2020-07-30 12:15:12 +02:00
115ek
5c40e71355 TLW64: Support alarms 2020-07-30 12:15:12 +02:00
115ek
098120ea56 TLW64: Switch to dynamic battery detection
* Battery Service 0x180F is supported so let's make use of it
2020-07-30 12:15:12 +02:00
115ek
92d2fbc997 TLW64: Support battery level and firmware version detection
* firmware is missing some characters compared to the value reported by the original app
* https://play.google.com/store/apps/details?id=com.yc.pedometer&hl=en_US
* need to investigate that
2020-07-30 12:15:12 +02:00
115ek
4cb481fba3 TLW64: Wiretap operation
* let's log some packets to make sure we send the right things
2020-07-30 12:15:12 +02:00
115ek
1e6146f4aa TLW64: Support factory reset 2020-07-30 12:15:12 +02:00
115ek
654019e2c0 TLW64: Support notifications 2020-07-30 12:15:12 +02:00
115ek
fc2a7c6f8d TLW64: Support setting userdata 2020-07-30 12:15:12 +02:00
115ek
56dc5211e7 TLW64: Support setting displaysettings
* 24h/12h clock
* metric/imperial units
2020-07-30 12:15:12 +02:00
115ek
0ed7c385fb TLW64: Support setting date 2020-07-30 12:15:12 +02:00
115ek
7c5a2d0e58 TLW64: Support find device 2020-07-30 12:15:12 +02:00
115ek
dfd2eb0e10 TLW64: Initial support 2020-07-30 12:15:12 +02:00
TaaviE
629a3bcf63 Improved when and how the toast to grant permissions is displayed, won't request permissions that have been permanently disabled or denied by the system. No way to actually ask if the permission has been denied by the user. 2020-07-30 00:04:36 +02:00
Andreas Shimokawa
18a39678c4 Bump version, draft changelog 2020-07-28 18:31:19 +02:00
odavo32nof
d3a51a1078 Adding Mi Band 5 initial support (#1930)
Merge branch 'master' into master

Merge branch 'master' into master

Added available languages for Mi Band 5.

This one's for fixing the step counter but the daily count is always a little bit different compared to what's shown on the smartband.

Extending Mi Band 5 support! Every display item can be showed on the smartband now.

Cleanup

FW related test code

FW related test code

FW related test code

FW related test code

Adding Mi Band 5 test support

Co-authored-by: cristian <c.alfano@outlook.it>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1930
2020-07-28 18:16:56 +02:00
Oğuz Ersen
e639744334 Translated using Weblate (Turkish)
Currently translated at 100.0% (845 of 845 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-07-28 16:55:27 +02:00
Rafael Fontenelle
36a88ec395 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (845 of 845 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2020-07-28 16:55:27 +02:00
Yaron Shahrabani
64f5a3c4dd Translated using Weblate (Hebrew)
Currently translated at 100.0% (845 of 845 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-07-28 16:55:27 +02:00
Michael
df11d4901d Translated using Weblate (German)
Currently translated at 100.0% (845 of 845 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-07-28 16:55:27 +02:00
vanous
a768fe0c2d Translated using Weblate (Czech)
Currently translated at 100.0% (845 of 845 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2020-07-28 16:55:27 +02:00
陈少举
8fe3cffca4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (844 of 844 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-07-28 16:55:27 +02:00
Yaron Shahrabani
e6e44a0dc7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (844 of 844 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2020-07-28 16:55:27 +02:00
TaaviE
22256030b5 Made items in the media receivers list more differentiable 2020-07-28 16:55:25 +02:00
TaaviE
701039e673 Instead of crashing, display a notification that the service couldn't be started 2020-07-28 11:57:13 +03:00
TaaviE
97f4b275f7 These logback classes are required for an optimized build to work properly 2020-07-28 08:12:27 +02:00
TaaviE
3ad1412a1d Delegated error handling properly to the function that creates FetchActivityOperation 2020-07-28 08:11:50 +02:00
TaaviE
bcac8e0d7f Minor changes and a fix to a NPE when mBtGatt is null 2020-07-28 08:10:39 +02:00
TaaviE
443658bf9e Caught an illegal argument instead of crashing and made it clear that continuing is ill-advised 2020-07-28 08:08:16 +02:00
TaaviE
709fb0a82b Made UriHelper a bit more failure resistant 2020-07-28 01:16:17 +03:00
TaaviE
1c2cd99efd Made sure to request the permission to change ringer mode to silent 2020-07-27 21:21:19 +03:00
TaaviE
18afddac29 Made the version string generation use a specific locale for generation, trying to avoid potential localization issues 2020-07-27 20:11:37 +02:00
TaaviE
71fdb8b85e Fixed a broken string a translation 2020-07-27 20:08:44 +02:00
postsorino
0d42c16131 Translated using Weblate (Greek)
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2020-07-27 20:05:51 +02:00
Michael
6c42d0b1e8 Translated using Weblate (German)
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2020-07-27 20:05:51 +02:00
Full Name
53a10dc0e5 Translated using Weblate (Czech)
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2020-07-27 20:05:51 +02:00
FransM
476959f607 Translated using Weblate (Dutch)
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2020-07-27 20:05:51 +02:00
ssantos
22a8ebc176 Translated using Weblate (Portuguese)
Currently translated at 87.1% (735 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2020-07-27 20:05:51 +02:00
陈少举
3189991a3e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2020-07-27 20:05:51 +02:00
Oğuz Ersen
cc9ff973d6 Translated using Weblate (Turkish)
Currently translated at 100.0% (843 of 843 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2020-07-27 20:05:51 +02:00