1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-19 23:27:48 +01:00
Commit Graph

7462 Commits

Author SHA1 Message Date
José Rebelo
106ec98f1c Identify Play Store OpenTracks as fitness app 2022-08-08 22:36:16 +02:00
José Rebelo
5d82030d49 Refactor file logging logic 2022-08-07 23:24:16 +01:00
Hasan Ammar
c2054c4a8b Hybrid HR: Add support for Hybrid HR 38mm watches 2022-08-07 20:32:54 +02:00
José Rebelo
6d947a9008 Check the mount state of all external storage directories 2022-08-06 22:27:55 +01:00
José Rebelo
efdc4c434a Correctly disable file logging if initialization fails
If logging initialization failed, the file logger would not be removed
correctly, and it would log to a GB_LOGFILES_DIR_IS_UNDEFINED directory.

Remove the file logger from the root appender, regardless of it being
null or not.

The issue can be easily reproduced before the fix by throwing an
exception in FileUtils#getExternalFilesDir. Before the fix, it would
still log to the aforementioned directory.

Aditionally, update the Settings screen to reflect that writing log
files is not available in such cases.
2022-08-06 00:34:47 +01:00
José Rebelo
7892b8be6a Fix tests after DeviceService changes 2022-08-05 21:36:16 +01:00
vanous
65e054a747 Add another safeguard to prevent unintended slf4j setup 2022-08-05 21:35:24 +02:00
José Rebelo
f7ecb5a867 Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
Andreas Shimokawa
0fe88274e0 Fix regression with active auto connect sice multi-device got merged
1) The AutoConnectIntervalReceiver was completely disabled when a device went into WAITING_FOR_RECONNECT state
2) The logic inside AutoConnectIntervalReceiver was broken, so that a timer never got started
2022-08-05 15:22:21 +02:00
vanous
5f36d2130b Add toolTip texts to device_itemv2 icons 2022-08-03 20:38:00 +02:00
vanous
fa2d537ca7 Add share icon to Step Streaks 2022-08-02 22:53:14 +02:00
Arjan Schrijver
5f4d3f441f Fossil Hybrid HR: Add toggling of backlight with physical button event 2022-08-01 17:21:55 +02:00
Arjan Schrijver
44c087b666 Fossil Hybrid HR: Fix watchface background fuzziness due to resizing 2022-07-31 22:53:32 +02:00
Arjan Schrijver
305078f253 Fossil Hybrid HR: Use embedded background image from .wapp file for editor 2022-07-31 22:51:24 +02:00
Arjan Schrijver
75dd5f1863 Fossil Hybrid HR: Use embedded preview image from .wapp file during import 2022-07-31 20:31:16 +02:00
vanous
c490b4050d Eliminate small visual data refresh issue during calculation of steps streaks 2022-07-31 20:07:53 +02:00
vanous
85e8ffb7c3 Steps streaks: retain data during screen rotation 2022-07-31 16:59:53 +02:00
vanous
03fecd7aa7 Indicate that more items are available in Sleep sessions list in Sleep charts 2022-07-31 10:59:05 +02:00
ozkanpakdil
46f0187634 fix #2631 2022-07-31 10:59:05 +02:00
vanous
152c3c8d62 Adjust strings for better centering (Weblate handles this better then thought) 2022-07-30 22:18:41 +02:00
vanous
863b3a5465 Add missing imports 2022-07-30 22:17:06 +02:00
vanous
8f3ef9cd7f Add alert to Log Sharing if logging has not been enabled yet 2022-07-30 21:40:37 +02:00
NekoBox
c2f5fd3215 Fix Amazfit Neo daily steps goal and notification, fixes #2773 (#2780)
The notification, once enabled, can only be triggerd once per day, mind that when testing.

Packet structure:

```
00:c2:00:3a:01:00:00:00:01:88:13:00:00
00:c2:00: - chunked transfer type 2
3a: - command set goals/notificatrions
01: - 01 - set steps goal, 02 - set calories goal, 03 - both
00:00:00: - delimiter
01: - enable steps goal notification
88:13: - set steps goal (5000)
00:00 - delimiter
```

This is sent when goal notification switch is enabled in Zepp app:
```
00:c2:00:3a:03:00:00:00:01:40:1f:00:00:01:2c:01:00:00
00:c2:00: - chunked transfer type 2
3a: - command set goals/notificatrions
03: - 01 - set steps goal, 02 - set calories goal, 03 - both
00:00:00: - delimiter
01: - enable steps goal notification
40:1f: - steps goal (8000)
00:00: - delimiter
01: - enable calories goal notification (seems to be not used in Neo)
2c:01: - set calories goal (300)
00:00 - delimiter
```

And when disabled:
`00:c2:00:3a:03:00:00:00:00:40:1f:00:00:00:2c:01:00:00`

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2780
Co-authored-by: NekoBox <nekobox@noreply.codeberg.org>
Co-committed-by: NekoBox <nekobox@noreply.codeberg.org>
2022-07-30 21:37:21 +02:00
vanous
c6104f5332 Add Steps streaks screen 2022-07-30 10:07:26 +02:00
vanous
4dc4a4f988 Remove duplicated Auth key from the settings for Huami. Add Override where missing 2022-07-29 09:47:26 +02:00
Arjan Schrijver
e2f38704ea Fossil Hybrid HR: Bump watchface version 2022-07-28 22:11:58 +02:00
Arjan Schrijver
0b6c2db606 Fossil Hybrid HR: Add toggling of widgets with physical button event 2022-07-28 22:08:13 +02:00
José Rebelo
03db850b3e Fix crash when device has no device specific settings 2022-07-28 11:17:58 +02:00
Andreas Shimokawa
b138c54b52 Mi Band 4: Enable sending GPS coordinates to band during workout and start fitness tracking on phone when workout starts on band setting 2022-07-27 16:22:13 +02:00
Gordon Williams
2e4fa6d699 Tweak for potential null pointer exception seen after play store release 2022-07-25 14:52:30 +01:00
Gordon Williams
1e4fb7ee87 Bangle.js - make 'text as bitmaps' have transparent background, and allow font size to be specified - fixes https://github.com/espruino/BangleApps/issues/2057 2022-07-25 14:34:34 +01:00
Arjan Schrijver
6d92af5794 App manager: refresh list when returning from watchface editor 2022-07-25 14:34:41 +02:00
Arjan Schrijver
7d5fe20b55 Fossil Hybrid HR: Add optional circle backgrounds to widgets 2022-07-25 14:34:41 +02:00
Arjan Schrijver
c946a045ef Fossil Hybrid HR: Use preferencescreen for widget configuration 2022-07-25 14:34:41 +02:00
José Rebelo
3e6d2bd40e Use device alias on battery info activity 2022-07-24 22:10:10 +01:00
Andreas Shimokawa
04236a3f86 Mi Band 6: Enable start fitness tracking on phone when workout starts on band setting 2022-07-22 16:33:40 +02:00
Andreas Shimokawa
5271fb6a84 Mi Band 6: Enable sending GPS coordinates to band during workout 2022-07-22 16:26:59 +02:00
Andreas Shimokawa
35db14af84 Mi Band 6: Enable password support
Fixes #2603
2022-07-22 16:18:12 +02:00
Andreas Shimokawa
8546254539 update all changelogs 2022-07-22 12:38:00 +02:00
Andreas Shimokawa
e77149f7e1 bump version update changelog 2022-07-22 12:22:08 +02:00
arjan-s
d0cdfb2132
Translated using Weblate (Dutch)
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-07-22 11:57:20 +02:00
vanous
1a5333ccde
Translated using Weblate (Czech)
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2022-07-22 11:57:20 +02:00
Gabriele Monaco
d9daa16bf8 Added calendar blacklist setting to banglejs 2022-07-21 10:58:15 +02:00
Gabriele Monaco
85758d8369 Forcing calendar sync on set time, improved deletion
Disabled huami-like calendar sync (all together) function is still there
2022-07-21 10:58:15 +02:00
Gabriele Monaco
538264e01b Added different implementation of calendar sync (pebble and huami)
Also implemented a `force_calendar_sync` command for the pebble-like
implementation to cope with out of sync databases (calling the receiver
doesn't work as of now)
2022-07-21 10:58:15 +02:00
Gabriele Monaco
ceaf520824 Added picture for banglejs and fixed strings 2022-07-21 10:58:15 +02:00
glemco
f4e6d953ff Enabling calendar sync for bangle 2022-07-21 10:58:15 +02:00
陈少举
1dd22da1b2
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-20 17:33:10 +02:00
Ihor Hordiichuk
93a86fe9d6
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-07-20 17:33:10 +02:00
Oğuz Ersen
48cb13dfdf
Translated using Weblate (Turkish)
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-07-20 17:33:10 +02:00
Yaron Shahrabani
439d2a20b0
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1651 of 1651 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-07-20 17:33:10 +02:00
d
e4fc05d208
Translated using Weblate (Catalan)
Currently translated at 81.6% (1347 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2022-07-20 17:33:10 +02:00
nautilusx
b4fdea55eb
Translated using Weblate (German)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-07-20 17:33:10 +02:00
arjan-s
4d92d06049
Translated using Weblate (Dutch)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-07-20 17:33:10 +02:00
陈少举
9c921f434c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-20 17:33:10 +02:00
Ihor Hordiichuk
bbd453f41b
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-07-20 17:33:10 +02:00
Oğuz Ersen
7b11fe4da0
Translated using Weblate (Turkish)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-07-20 17:33:10 +02:00
Vincèn PUJOL
cd3555fa8d
Translated using Weblate (French)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-07-20 17:33:10 +02:00
陈少举
7d00ac8977
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1649 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-20 17:33:09 +02:00
Ihor Hordiichuk
8027130141
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1649 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-07-20 17:33:09 +02:00
Oğuz Ersen
fe8fe8c126
Translated using Weblate (Turkish)
Currently translated at 100.0% (1649 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-07-20 17:33:09 +02:00
Егор Ермаков
e04294012b
Translated using Weblate (Russian)
Currently translated at 80.0% (1320 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2022-07-20 17:33:09 +02:00
Yaron Shahrabani
6d69f8f8fa
Translated using Weblate (Hebrew)
Currently translated at 99.8% (1646 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-07-20 17:33:09 +02:00
Vincèn PUJOL
e03b867bf0
Translated using Weblate (French)
Currently translated at 100.0% (1649 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-07-20 17:33:09 +02:00
nautilusx
31de812a24
Translated using Weblate (German)
Currently translated at 100.0% (1649 of 1649 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-07-20 17:33:09 +02:00
MASVA
3debd5893f
Translated using Weblate (Croatian)
Currently translated at 89.6% (1469 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hr/
2022-07-20 17:33:09 +02:00
Vincèn PUJOL
3beffaf94a
Translated using Weblate (French)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-07-20 17:33:09 +02:00
arjan-s
c7d439c304
Translated using Weblate (Dutch)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-07-20 17:33:09 +02:00
Oğuz Ersen
1dc0ff8868
Translated using Weblate (Turkish)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-07-20 17:33:09 +02:00
nautilusx
7821f97b7b
Translated using Weblate (German)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-07-20 17:33:09 +02:00
陈少举
c3fdafc8db
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-20 17:33:09 +02:00
Ihor Hordiichuk
79462c7c42
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-07-20 17:33:09 +02:00
Yaron Shahrabani
51bd411f36
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-07-20 17:33:09 +02:00
vanous
b2d61f7327
Translated using Weblate (Czech)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2022-07-20 17:33:09 +02:00
Gustavo Ramires
8e597b1e05
Translated using Weblate (Portuguese (Brazil))
Currently translated at 84.1% (1379 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_BR/
2022-07-20 17:33:09 +02:00
Yaron Shahrabani
10810dd33c
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-07-20 17:33:08 +02:00
nautilusx
8b47714cff
Translated using Weblate (German)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-07-20 17:33:08 +02:00
rom4nik
ac2c714b5a Revert "Pebble: pretend the clay-settings key is always present (but empty per default) in the localStorage"
This reverts commit 42901a295d.
Fixes #2720 (Setting clay-settings in localstorage to {} instead of null breaks configuration of a Pebble watchface).
2022-07-20 17:33:06 +02:00
vanous
f589487588 Adjust service for CalendarReceiver for multidevice (#2765)
Co-authored-by: vanous <vanous@noreply.codeberg.org>
Co-committed-by: vanous <vanous@noreply.codeberg.org>
2022-07-20 17:29:40 +02:00
José Rebelo
2a0b7b64fb Huami: Fix MTU update on device connection 2022-07-20 17:27:36 +02:00
Arjan Schrijver
5871a70d1f Fossil Hybrid HR: Allow switching already uploaded watchfaces with Intent 2022-07-20 12:16:55 +02:00
Arjan Schrijver
65a7ceab82 Add option to share a cached watchface/app to another app 2022-07-20 09:42:47 +02:00
Arjan Schrijver
365bb2aea4 Fossil Hybrid HR: Add try-catch block that was missing in 7e844367e 2022-07-17 20:29:54 +02:00
vanous
d9a5296a66 FitPro: add DeviceSupport tests 2022-07-17 00:13:09 +02:00
vanous
1eb1ad3a3e Fix tests after adding folder support 2022-07-17 00:13:03 +02:00
Arjan Schrijver
7e844367e6 Fossil Hybrid HR: Show in appmanager which watch apps are outdated 2022-07-16 23:03:06 +02:00
Arjan Schrijver
93e9d407ec Fossil Hybrid HR: Show in appmanager which watchfaces are outdated 2022-07-14 13:02:04 +02:00
Arjan Schrijver
6d16625112 Fossil Hybrid HR: Fix 2nd TZ widget offset
The 2nd TimeZone watchface widget was configured with an offset that
didn't take DST into account. This change makes it use the correct
offset.

Fixes #2761
2022-07-14 09:48:12 +02:00
vanous
c77521f975 Add device menu item to get to the FW/App Installer via an explanation activity 2022-07-12 10:50:41 +02:00
vanous
d051a6ed50 Adjust device coordinators to provide correct per device reconnection settings 2022-07-11 18:46:43 +02:00
José Rebelo
3c42f43f95 Add monochrome themed icon 2022-07-11 11:13:11 +02:00
vanous
d18fded171 Fix typo in string, improve explanation of Unsupported scanning 2022-07-10 22:21:33 +02:00
Andreas Shimokawa
6ce62008dd Discovery: prevent crash on long tap when a device has no device specific settings 2022-07-10 19:29:43 +02:00
陈少举
7cf7d615a6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-08 17:57:19 +02:00
arjan-s
ae823caaa2
Translated using Weblate (Dutch)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-07-08 17:57:19 +02:00
Ihor Hordiichuk
209baf8fb7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-07-08 17:57:19 +02:00
Oğuz Ersen
6eb15637a2
Translated using Weblate (Turkish)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-07-08 17:57:19 +02:00
Vincèn PUJOL
19f8a9d8ad
Translated using Weblate (French)
Currently translated at 100.0% (1638 of 1638 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-07-08 17:57:18 +02:00
陈少举
319b723128
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1637 of 1637 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-07-08 17:57:18 +02:00
arjan-s
8289936a74
Translated using Weblate (Dutch)
Currently translated at 100.0% (1637 of 1637 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-07-08 17:57:18 +02:00