1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 14:32:54 +01:00
Commit Graph

3956 Commits

Author SHA1 Message Date
Molnár Barnabás
d135f0dc83 Translated using Weblate (Hungarian)
Currently translated at 50.5% (337 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-07-11 22:01:43 +02:00
zsolt3991
f6da70f30a Translated using Weblate (Hungarian)
Currently translated at 50.5% (337 of 667 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2019-07-11 22:01:43 +02:00
Andreas Shimokawa
27175cb336 Mi Band 4: Fix DeviceType emum
Reported by @goldfndr in #1536
2019-06-23 22:42:12 +02:00
Andreas Shimokawa
ce0bd27111 remove useless condition 2019-06-22 21:10:19 +02:00
Le Poisson Libre
3a8eac9c5a Translated using Weblate (French)
Currently translated at 99.8% (665 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2019-06-19 22:16:28 +02:00
Lejun
b9de8ce9cb Translated using Weblate (French)
Currently translated at 99.8% (665 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2019-06-19 22:16:28 +02:00
Rafael Fontenelle
ff09127a85 Translated using Weblate (Portuguese (Brazil))
Currently translated at 41.4% (276 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-06-19 22:16:28 +02:00
Andreas Shimokawa
9385c26fae Add missing MIBAND4 to switch 2019-06-19 22:15:42 +02:00
Andreas Shimokawa
8fce521e99 Fix crash when entering Mi Band 1 per-device settings menu
Fixes #1541
2019-06-18 22:07:43 +02:00
Andreas Shimokawa
d48d3cdea3 Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
f959022cad Translated using Weblate (Spanish)
Currently translated at 86.5% (576 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2019-06-06 16:17:40 +02:00
Andreas Shimokawa
f220477c9d update changelog 2019-06-05 23:30:56 +02:00
Andreas Shimokawa
bcf509327e bump version, add changelog 2019-06-05 18:11:55 +02:00
Andreas Shimokawa
0cf0dd0561 add missing icons to per-device settings 2019-06-05 17:52:47 +02:00
Andreas Shimokawa
59482a0bfc fix tests 2019-06-05 16:07:30 +02:00
Andreas Shimokawa
d779310962 Move "activate display on lift wrist" and "rotate wrist to switch info" to per-device settings
"activate display on lift wrist" for Mi Band 2/3, Cor, Bip
"rotate wrist" only for Mi Band 2
2019-06-05 16:00:18 +02:00
Andreas Shimokawa
16090f0e21 Move fake device offset to Mi Band 1 preferences, remove support for other devices
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
170cadda8e add missing file 2019-06-05 12:51:01 +02:00
Andreas Shimokawa
b6a015c18b move low-latency setting for Mi Band to per-device settings (only for Mi Band 1) 2019-06-05 12:48:33 +02:00
Andreas Shimokawa
d2988f987f Mi Band 3: Whitelist FW 2.4.0.12
Closes #1530
2019-06-05 12:29:25 +02:00
ssantos
6c4be39fc6 Translated using Weblate (Portuguese)
Currently translated at 59.9% (399 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-06-05 12:20:19 +02:00
Full Name
1e234c5f2a Translated using Weblate (Czech)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2019-06-05 12:20:19 +02:00
Rafael Fontenelle
98faf3b4f0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 41.1% (274 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2019-06-05 12:20:19 +02:00
Andreas Shimokawa
3aa36324c1 depuplicate code in the same fashion as in ZeTime preferences 2019-06-05 12:16:10 +02:00
Andreas Shimokawa
78dd7ef153 Mi Band 3: Fix setting menu items with 2.4 firmware and add support for the new timer menu 2019-05-29 15:53:44 +02:00
Andreas Shimokawa
12e16ac04a add ignoring calls support to Amazfit Bip (probably Cor also and maybe Mi Band 3) 2019-05-25 22:19:19 +02:00
Andreas Shimokawa
e066e0fae3 Merge remote-tracking branch 'github/pr/1523/ignore_call' 2019-05-25 22:12:58 +02:00
Andreas Böhler
dc22aabb1c Add support for muting an incoming call 2019-05-25 15:56:21 +02:00
Andreas Shimokawa
b2f79f3283 Update robolectric to 4.2.1 2019-05-25 00:07:21 +02:00
Andreas Shimokawa
93f288b936 Move "Do not disturb" settings from Mi Band / Amazfit settings to per-device settings (Mi Band 2 and Mi Band 3 only) 2019-05-24 23:47:57 +02:00
Andreas Shimokawa
5e254baaa1 ZeTime: Do not include all the normal preferences again
This behavious was confusing, you could endlessly access ZeTime preferences from ZeTime prefrences from ZeTime preferences
2019-05-24 22:15:39 +02:00
Andreas Shimokawa
d1ba702e75 add more settings migration for settings that are now per-device 2019-05-23 23:24:49 +02:00
Andreas Shimokawa
e6eba8fbe0 try to make travis green again 2019-05-23 22:17:51 +02:00
Andreas Shimokawa
6c6afaf81a update gradle to 5.1.1 2019-05-23 22:02:25 +02:00
Andreas Shimokawa
3440485a51 Mi Band 2: move settings to per-device settings 2019-05-23 21:33:35 +02:00
Andreas Shimokawa
34e0c4e8bc remove swipe unlock settings from cor (can only be set from the band itself) 2019-05-22 19:04:38 +02:00
Marvin D
530d0ddd7f
added FairEmail as a generic Email notification 2019-05-22 14:19:14 +02:00
Andreas Shimokawa
da456e63e9 Amazfit Cor: Restrict language settings to English, Spanish, Chinese, Russian 2019-05-22 11:00:06 +02:00
Andreas Shimokawa
038f101a12 Migrate more settings to per-device settings
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f Make per-device settings more versatile, move more settings
This allows to construct per-device settings by device type very easily

device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.

@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
     return new int[]{
            R.xml.devicesettings_miband3,
            R.xml.devicesettings_swipeunlock,
            R.xml.devicesettings_pairingkey
    };
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
49667451d7 Mi Band 3: fix setting language (regression after todays refactoring) 2019-05-20 23:27:17 +02:00
Andreas Shimokawa
81b102654a Make travis green again 2019-05-20 21:53:53 +02:00
Andreas Shimokawa
61be82a499 add icons to device specific huami settings 2019-05-20 17:15:55 +02:00
Andreas Shimokawa
08e7d728c2 Huami: Migrate some settings to device specific settings
- Migrate language setting
- Migrate menu items setting
- Migrate lastsync timestamp from prefixed global shared prefercence

All settings should be automatically be converted (e.g. Amazfit Bip settings to all paired Amazfit Bip devices) and then deleted.

Cor Settings aleady completely vanished from the global settings menu.

When migration is done we will have a much cleaner settings menu. Will also remove confusion that some Cor settings have to be done in Bip settings.
2019-05-20 16:36:06 +02:00
Andreas Shimokawa
8f893d6f2b bump version, add changelog 2019-05-19 10:12:43 +02:00
postsorino
fa2fa02afa Translated using Weblate (Greek)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-19 09:45:54 +02:00
Allan Nordhøy
9d3c72151c Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.6% (650 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-19 09:45:54 +02:00
Yaron Shahrabani
d98ed79f11 Translated using Weblate (Hebrew)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-19 09:45:54 +02:00
ssantos
3ebd180051 Translated using Weblate (German)
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
ssantos
10fdbf54a6 Translated using Weblate (German)
Currently translated at 99.4% (662 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
Perflyst
33226523f4 Translated using Weblate (German)
Currently translated at 99.4% (662 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-19 09:45:54 +02:00
陈少举
3206e52137 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (666 of 666 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-05-19 09:45:54 +02:00
Andreas Shimokawa
6b72292812 Recoginze "Xiaomi Band 3" as Mi Band 3
When running newer Firmwares (since 2.2.0.12) it is possible that devics name themselves "Xiaomi Band 3".
After a factory reset? Related to target market?

Closes #1517
2019-05-18 21:03:50 +02:00
DerFetzer
dd067eddd7 Amazfit Bip: Add new latin languages 2019-05-14 20:58:07 +02:00
Andreas Shimokawa
2fd1d7b4d0 fix spelling 2019-05-09 16:03:02 +02:00
Andreas Shimokawa
6031586131 Mi Band 3 NFC: Whitelist FW 1.7.0.4
Closes #1470
2019-05-09 15:43:57 +02:00
Andreas Shimokawa
40acdf7aa9 Add changelogs 2019-05-09 15:01:24 +02:00
Andreas Shimokawa
34b4943918 Also export and import device specific preference files 2019-05-09 14:55:37 +02:00
Andreas Shimokawa
5ecf3cadc8 Database Management Activity: Also remove "Delete Legacy Database" title when there is no legacy database.
The title caused me to press the button below and killing all my data from the last two years
2019-05-09 13:38:14 +02:00
Olexandr Nesterenko
188abe9b6b Translated using Weblate (Ukrainian)
Currently translated at 68.0% (446 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2019-05-09 12:55:58 +02:00
ssantos
d76d41a3d3 Translated using Weblate (Portuguese)
Currently translated at 61.3% (402 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-05-09 12:55:58 +02:00
HenRy
a253be1caa Translated using Weblate (German)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-09 12:55:58 +02:00
rimasx
0ad46c7de1 Translated using Weblate (Estonian)
Currently translated at 38.7% (254 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/et/
2019-05-09 12:55:58 +02:00
陈少举
83e65d1fba Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2019-05-09 12:55:58 +02:00
Francesco Marinucci
529cd6d379 Translated using Weblate (Italian)
Currently translated at 99.8% (655 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-09 12:55:58 +02:00
Allan Nordhøy
a5f0f6fc07 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (644 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-09 12:55:58 +02:00
Yaron Shahrabani
8686a7a425 Translated using Weblate (Hebrew)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-09 12:55:58 +02:00
postsorino
6087c0559d Translated using Weblate (Greek)
Currently translated at 100.0% (656 of 656 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-09 12:55:58 +02:00
Andreas Shimokawa
58dca9a897 Amazit Cor 2: Add device specific warning when installing firmware (untested)
Also remove some Mi Band'ism from strings
2019-05-09 12:54:14 +02:00
Andreas Shimokawa
41e607ce9b Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED** 2019-05-09 12:42:59 +02:00
Andreas Shimokawa
19be1121c9 Merge remote-tracking branch 'github/pr/1492/previous_app_management' 2019-05-09 11:34:56 +02:00
Andreas Shimokawa
2dc228029a Mi Band 3: Whitelist FW 2.3.0.28 2019-05-09 11:28:24 +02:00
Andreas Shimokawa
258a76b10a bump version, draft changelog 2019-05-07 11:19:15 +02:00
Andreas Shimokawa
f7fe3a836f Mi Band 3: Support flashing latest Japanese-Korean font file
This increases the supported file size to 2.0MB.
Somehow it is confusing that the new file is version 1 and the old version 2.
Also according to firmare.json both are version 1....
2019-05-07 11:13:48 +02:00
Andreas Shimokawa
0399bc048c Mi Band 3: Whitelist Firmware 2.3.0.6 2019-05-07 10:43:26 +02:00
Andreas Shimokawa
fadce6eb3c Mi Band 3: Add missing languages
Indonesian
    Thai
    Arabic
    Vietnamese
    Portuguese
    Dutch
    Turkish
    Ukrainian

Closes #1506
2019-05-05 22:47:39 +02:00
Andreas Shimokawa
6d28af1132 Mi Band 2: enable per-device pairing keys
Now enabled for all Huami devices
2019-05-02 22:40:28 +02:00
Andreas Shimokawa
bb161aff59 Amazfit Cor: Also recognize "Amazfit Band 2" as Cor 2019-05-02 22:26:20 +02:00
Andreas Shimokawa
88da30fd53 Merge remote-tracking branch 'github/pr/1441/patch-1' 2019-05-02 22:13:19 +02:00
Nevena Mircheva
04bc98d86f Translated using Weblate (Bulgarian)
Currently translated at 54.1% (353 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/bg/
2019-05-02 22:03:17 +02:00
Olexandr Nesterenko
59bb606fc4 Translated using Weblate (Ukrainian)
Currently translated at 65.6% (428 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2019-05-02 22:03:17 +02:00
Francesco Marinucci
84bcfe9d60 Translated using Weblate (Italian)
Currently translated at 94.0% (613 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-02 22:03:17 +02:00
Francesco Marinucci
9b59bd7b15 Translated using Weblate (Italian)
Currently translated at 91.4% (596 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/it/
2019-05-02 22:03:17 +02:00
M. Hadi
b23b34d146 Translated using Weblate (Persian)
Currently translated at 16.0% (104 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fa/
2019-05-02 22:03:17 +02:00
postsorino
faa6c048e3 Translated using Weblate (Greek)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/el/
2019-05-02 22:03:17 +02:00
Rui Mendes
afbb049c35 Translated using Weblate (Portuguese)
Currently translated at 59.8% (390 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2019-05-02 22:03:17 +02:00
Allan Nordhøy
a1b0add4d6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (640 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nb_NO/
2019-05-02 22:03:17 +02:00
Yaron Shahrabani
b5e8df891a Translated using Weblate (Hebrew)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2019-05-02 22:03:17 +02:00
HenRy
0094f0c5d1 Translated using Weblate (German)
Currently translated at 100.0% (652 of 652 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2019-05-02 22:03:17 +02:00
Andreas Shimokawa
f6095f56ae Merge remote-tracking branch 'github/pr/1503/work_profile' 2019-05-02 21:59:51 +02:00
Andreas Shimokawa
77c76a7bd3 Mi Band 3: enable per-device pairing keys 2019-05-01 21:56:36 +02:00
Andreas Shimokawa
67ac8dd335 Merge remote-tracking branch 'github/pr/1502/device_casio_improve_no_ble_scan' 2019-05-01 21:26:22 +02:00
Andreas Shimokawa
86270c0592 Try to enable Amazfit Cor 2 support but just using Amazfit Cor code.
Related to #1500
2019-05-01 19:51:32 +02:00
Andreas Böhler
aa6b0b7d5f Also check work profile for number lookup 2019-05-01 15:13:08 +02:00
Andreas Böhler
e82ac8dfd7 Make use of GattServer in BtLEQueue, improve initialization sequence, improve pairing sequence and fix a few bugs 2019-05-01 15:04:02 +02:00
Matej Drobnič
580d70e910 add pebblekit extension for reopening last app 2019-04-23 20:12:53 +02:00
Andreas Shimokawa
f01c9414f5 fix a few warnings 2019-04-21 22:08:14 +02:00
Andreas Shimokawa
5837689449 add missing file 2019-04-21 21:28:27 +02:00
Andreas Shimokawa
db48707764 Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.

Fixes #1308
2019-04-21 21:25:33 +02:00
Daniele Gobbetti
2a8fe5c3a0 Fix searching in application name when blacklisting.
The filter pattern is forced to lowercase, so also che application names
should be.

Fixes #1482
2019-04-21 21:21:21 +02:00