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

7172 Commits

Author SHA1 Message Date
vanous
b89138bd17 Allow some device folder management 2022-06-28 14:01:51 +02:00
Daniel Dakhno
62f77ef8d0 ControlCenter: added folders to ControlCenter 2022-06-28 14:01:51 +02:00
Daniel Dakhno
56e45eaa45 Merge remote-tracking branch 'origin/master' 2022-06-24 13:13:20 +02:00
Daniel Dakhno
45512efeb7 UM25: fix missing firmware version 2022-06-24 13:13:12 +02:00
Andreas Shimokawa
2182097f0c Fossil Hybrid HR: Relax version check for watch apps
Allows to install latest watchapps

It seems that every time the firmware gets a major update, the new watchapps
have a different minor version, we dont need to check for that because watchapps
seem to be compatible accross firmware versions
2022-06-24 09:44:05 +02:00
Arjan Schrijver
8c4ab7e713 Fossil Hybrid HR: When deleting a watchface, remove the preview image as well 2022-06-23 17:30:35 +02:00
Arjan Schrijver
0349b2530f Fossil Hybrid HR: Invert widgets color when the background image is inverted 2022-06-17 22:42:58 +02:00
Arjan Schrijver
48212d4185 Fossil Hybrid HR: Add watchface preview images in the app manager 2022-06-17 14:45:10 +02:00
José Rebelo
ec5e51b9a9 Roidmi 3: Recognize "Roidmi C BLE" as Roidmi 3 2022-06-15 21:21:29 +01:00
José Rebelo
8030efe019 Huami: Fix track name being replaced by album 2022-06-15 18:59:14 +01:00
José Rebelo
33d433d206 Make transliteration configurable per-language 2022-06-15 18:40:28 +02:00
Gordon Williams
6bea0af9e0 Bangle.js flavor - move to SDK 30 as we need it for Play Store 2022-06-15 13:39:11 +01:00
Arjan Schrijver
820bcf258d Fossil Hybrid HR: Request custom menu config on watchface initialization 2022-06-15 13:02:33 +02:00
Arjan Schrijver
7f026edbd0 Fossil Hybrid HR: Generate watchface preview image 2022-06-15 12:59:23 +02:00
Gordon Williams
c2d98b5a24 Bangle.js - fix corruption in images with a certain sequence of chars 2022-06-15 11:48:41 +01:00
José Rebelo
b29900f671 Fix build after multi-device-support rebase 2022-06-14 23:33:56 +02:00
Yaron Shahrabani
def03d7d62
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1600 of 1600 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-06-14 20:24:28 +02:00
Ihor Hordiichuk
40e9138950
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1600 of 1600 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-06-14 20:24:28 +02:00
Oğuz Ersen
d17960e8b9
Translated using Weblate (Turkish)
Currently translated at 100.0% (1600 of 1600 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-06-14 20:24:28 +02:00
Yaron Shahrabani
9830d628d1
Translated using Weblate (Hebrew)
Currently translated at 99.8% (1597 of 1600 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-06-14 20:24:28 +02:00
Vincèn PUJOL
4347128da8
Translated using Weblate (French)
Currently translated at 100.0% (1600 of 1600 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-06-14 20:24:28 +02:00
陈少举
b6d1b30848
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1597 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-06-14 20:24:28 +02:00
Ihor Hordiichuk
adda0a646f
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1597 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-06-14 20:24:28 +02:00
Oğuz Ersen
5579ee4ef0
Translated using Weblate (Turkish)
Currently translated at 100.0% (1597 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-06-14 20:24:28 +02:00
Yaron Shahrabani
1ce1b22ea2
Translated using Weblate (Hebrew)
Currently translated at 99.8% (1595 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-06-14 20:24:28 +02:00
Vincèn PUJOL
dd9f7e2d78
Translated using Weblate (French)
Currently translated at 100.0% (1597 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-06-14 20:24:28 +02:00
Óscar Fernández Díaz
6e907cdd1f
Translated using Weblate (Spanish)
Currently translated at 93.8% (1499 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2022-06-14 20:24:28 +02:00
nautilusx
e90fe5cb2e
Translated using Weblate (German)
Currently translated at 100.0% (1597 of 1597 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-06-14 20:24:28 +02:00
Vincèn PUJOL
cd57c9d021
Translated using Weblate (French)
Currently translated at 97.9% (1562 of 1595 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-06-14 20:24:28 +02:00
陈少举
c121faadec
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1593 of 1593 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-06-14 20:24:28 +02:00
Ihor Hordiichuk
de878bac7f
Translated using Weblate (Ukrainian)
Currently translated at 99.9% (1592 of 1593 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-06-14 20:24:28 +02:00
Oğuz Ersen
b51bc7eb49
Translated using Weblate (Turkish)
Currently translated at 100.0% (1593 of 1593 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-06-14 20:24:28 +02:00
陈少举
7beec25542
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1591 of 1591 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-06-14 20:24:28 +02:00
Ihor Hordiichuk
2781aba3cb
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1591 of 1591 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-06-14 20:24:27 +02:00
Oğuz Ersen
b28ecce3ca
Translated using Weblate (Turkish)
Currently translated at 100.0% (1591 of 1591 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-06-14 20:24:27 +02:00
Yaron Shahrabani
dfbd1c35be
Translated using Weblate (Hebrew)
Currently translated at 99.8% (1589 of 1591 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-06-14 20:24:27 +02:00
Vincèn PUJOL
70804f6784
Translated using Weblate (French)
Currently translated at 97.8% (1557 of 1591 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-06-14 20:24:27 +02:00
José Rebelo
88828c227e
Translated using Weblate (Portuguese)
Currently translated at 91.8% (1452 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2022-06-14 20:24:27 +02:00
HenRy
d8cae33bd3
Translated using Weblate (German)
Currently translated at 100.0% (1583 of 1583 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-06-14 20:24:27 +02:00
Vincèn PUJOL
c2f77637b4
Translated using Weblate (French)
Currently translated at 98.0% (1550 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2022-06-14 20:24:27 +02:00
Artem
89f877cd5a
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-06-14 20:24:27 +02:00
Andreas Shimokawa
aa28434682 remove german translation to help weblate 2022-06-14 20:16:05 +02:00
dakhnod
4a8523f790 multi-device-support (#2526)
this PR aims to add device for multiple connected devices at once.

A lot of stuff already works, some things need to be done:

- [x] change DeviceCommunicationService to hold multiple devices and supports
- [x] implement connect / disconnect logic
- [x] widgets, not really suited for multiple devices, so far
- [x] change the notification to show multiple devices
- [ ] change GBDeviceService#onFindDevice and similar API functions to target individual devices, not all connected.
- [x] move auto-reconnect setting to device settings
- [x] fix music event crash
- [x] work out behaviour when pressing "connect" from notification
- [ ] handle service crashes
- [ ] suit coordinator methods for multiple devices of same kind
- [x] change ACL_CONNECTED receiver to connect to devices that are not currently registered in DeviceCommunicationService
- [ ] adjust after-boot auto-connection logic
- [ ] fix hanging device support. Device says disconnected, GB says connected
- [x] firmware updater doesn't work

My attempt to make onFindDevice work was to change the arguments to ```EventHandler#onFindDevice(GBDevice device, boolean start)```.
The Problem is that this forces the device-specific implementations to also accept GBDevice as an argument.

Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: dakhnod <dakhnod@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2526
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2022-06-14 18:05:41 +02:00
Gordon Williams
f606e85e1b Bangle.js: fix null pointer issue for debug messages, and ensure '...' special char is just replaced with '...' 2022-06-14 14:31:18 +01:00
Gordon Williams
c11af9e95c Keep data sent to Bangle.js in the log as well 2022-06-14 14:31:12 +01:00
Gordon Williams
3ef39433a6 Bangle.js build: remove the 'Donate' link for the Bangle.js build only, and instead add a message in the app's About dialog (unfortunately this is needed because Google Play store policy doesn't allow you to 'buy' stuff outside of the store) 2022-06-13 08:38:05 +01:00
Gordon Williams
e40bd79fbf Bangle.js: Adding built-in app-loader view (available via app management icon). Only available on internet-enabled builds (it's a webview) 2022-06-13 08:35:32 +01:00
Gordon Williams
bdcaeae177 Merge remote-tracking branch 'freeyourgadget/master' into freeyourgadget_master 2022-06-13 08:26:53 +01:00
vanous
30c7872d24 Discovery activity: set scanning sensitivity to level 2 2022-06-13 06:11:26 +02:00
vanous
8bfe37e61f Handle one shot alarm for Fossil watch 2022-06-12 08:50:46 +02:00
vanous
8ec9d0b2bd Widget: sleep rendering update 2022-06-12 08:13:12 +02:00
José Rebelo
a042d44cd0 Mi / Amazfit Band 5: Add missing breathing shortcut 2022-06-11 23:09:46 +02:00
José Rebelo
b914bec573 Mi Band 5: Fix missing portuguese language 2022-06-11 23:09:21 +02:00
vanous
a9cd3412ee Allow to set discovery scanning level to prevent freezing 2022-06-11 23:07:56 +02:00
vanous
5b936db9b6 Fossil HR: Allow workout app the be added as a shortcut 2022-06-11 12:23:41 +02:00
José Rebelo
b9feb886f8 Fix sharing log files on newer android versions 2022-06-11 12:21:24 +02:00
Gordon Williams
2bb8eefe23 Merge branch 'freeyourgadget_master' of codeberg.org:Freeyourgadget/Gadgetbridge into freeyourgadget_master 2022-06-10 12:13:23 +01:00
Gordon Williams
607441b6b0 Support for color dithered bitmaps, and converting emoji->bitmaps
# Conflicts:
#	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java
2022-06-10 12:01:12 +01:00
Gordon Williams
12f2049ac6 Bangle.js: Keep a log of data sent from the watch, and allow it to be saved with 'Fetch Device Debug Logs' from the debug menu 2022-06-10 11:48:09 +01:00
Gordon Williams
774fb4efc3 Bangle.js fix message REPLY option 2022-06-10 11:45:52 +01:00
vanous
5e5d8d4dd9 Add missing commit from PR2695 2022-06-09 16:48:31 +02:00
vanous
3fdec8d7d3 Widget: do not show sleep if not recorded 2022-06-09 11:03:47 +02:00
José Rebelo
2101b5840a Mi Band 5: Start fitness tracking on phone when workout starts on band 2022-06-09 10:32:26 +02:00
José Rebelo
b07cd54468 Mi Band 5: Send GPS location to band during workout 2022-06-09 10:32:26 +02:00
Andreas Shimokawa
ee93cce16d Mi Band 6: Whitelist FW 1.9.6.16 2022-06-08 14:36:14 +02:00
Andreas Shimokawa
91fa713bea Mi Band 6: add sleep menu item (also to shortcuts) 2022-06-08 14:31:28 +02:00
José Rebelo
d6658b41b5 Huami: Fix heart rate measurement interval on connection 2022-06-07 23:01:59 +02:00
José Rebelo
5e33e8e58f Mi Band 6: Fix night mode on latest firmware 2022-06-07 12:12:21 +01:00
vanous
c188eccff7 Keep main menu items unselected, fix #2351 2022-06-04 11:26:45 +02:00
José Rebelo
621e731d63 Go to previous PreferenceScreen on back actionbar option
Fixes #2692
2022-06-03 23:08:32 +01:00
Arjan Schrijver
4d0bfb452b Fossil Hybrid HR: Allow installation of newer watch apps 2022-06-03 15:48:48 +02:00
Arjan Schrijver
d9d906677c Fossil Hybrid HR: Improve 'Light up on new notification' functionality 2022-05-30 21:52:31 +02:00
Andreas Shimokawa
de4d38ead1 update changelogs 2022-05-30 20:31:31 +02:00
rarder44
236d9d9e2f Bangle.js - id in http request/response (#2683)
added an optional id to identify the request.
if a request with id occurs, a response with the same id is returned.

Co-authored-by: Rarder44 <lpozzi44@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2683
Co-authored-by: rarder44 <rarder44@noreply.codeberg.org>
Co-committed-by: rarder44 <rarder44@noreply.codeberg.org>
2022-05-30 13:19:19 +02:00
José Rebelo
a5a653dc34 Move OpenTracks external events to dedicated package 2022-05-30 13:17:26 +02:00
José Rebelo
dd30e6aa8a Extract Track and TrackStatistics from OpenTracksContentObserver 2022-05-30 13:17:26 +02:00
Ludovic Jozeau
b07dc6f2b2 fix calendar blacklist, view and storage
- view: unselect calendar that aren't blacklisted
- use more unique string to identify and store blacklisted calendars
2022-05-30 13:14:46 +02:00
Yaron Shahrabani
90145ce977
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-05-29 22:08:13 +02:00
tomechio
49bc868eb3
Translated using Weblate (Finnish)
Currently translated at 25.5% (404 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fi/
2022-05-29 22:08:13 +02:00
陈少举
744f3c9b9f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-05-29 22:08:13 +02:00
arjan-s
f05368e2c0
Translated using Weblate (Dutch)
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-05-29 22:08:13 +02:00
Ihor Hordiichuk
ca990edec4
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-05-29 22:08:13 +02:00
Oğuz Ersen
c44af92502
Translated using Weblate (Turkish)
Currently translated at 100.0% (1581 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-05-29 22:08:13 +02:00
Michal L
80747611ef
Translated using Weblate (Polish)
Currently translated at 95.0% (1502 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2022-05-29 22:08:13 +02:00
Yaron Shahrabani
cea7affdbc
Translated using Weblate (Hebrew)
Currently translated at 99.8% (1579 of 1581 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-05-29 22:08:12 +02:00
nautilusx
a61ac4852c
Translated using Weblate (German)
Currently translated at 94.4% (1495 of 1583 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2022-05-29 22:08:12 +02:00
vanous
6f70204c96
Translated using Weblate (Czech)
Currently translated at 100.0% (1583 of 1583 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2022-05-29 22:08:12 +02:00
vanous
22a9ad329e FitPro: fix crash, inactivity warning preference to string, after type enforcement in 3b348a5d5 2022-05-29 22:03:52 +02:00
vanous
4db2877a91 Widget and SleepAlarmWidget: modify for multidevice support 2022-05-28 14:57:01 +02:00
Daniel Dakhno
93e05e8dd6 Fossil HR: fixed null music spec 2022-05-28 02:10:45 +02:00
José Rebelo
d08fe6ebf7 Huami: Truncate MusicSpec data to 80 characters 2022-05-23 23:52:58 +01:00
Andreas Shimokawa
fa3bdd36d5 Amazfit Bip U/Pro: enable hr alert and stress tracking setting 2022-05-22 00:27:35 +02:00
vanous
30b4c1b868 AmazfitBand5: Enable extended HR monitoring 2022-05-20 22:10:16 +02:00
Gordon Williams
7d89279662 Add extra string needed for last commit 3f053927e0 2022-05-20 08:43:16 +01:00
Gordon Williams
3f053927e0 Pop up a dialog asking about Location permissions (although others get requested too).
Conversation at https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2675#issuecomment-455468
2022-05-20 08:39:47 +01:00
陈少举
6a4b28c5e0
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1575 of 1575 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2022-05-19 22:35:41 +02:00
arjan-s
571f726c74
Translated using Weblate (Dutch)
Currently translated at 99.8% (1573 of 1575 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2022-05-19 22:35:41 +02:00
Ihor Hordiichuk
71eeba38f7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1575 of 1575 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2022-05-19 22:35:40 +02:00
Oğuz Ersen
bb3a2a9929
Translated using Weblate (Turkish)
Currently translated at 100.0% (1575 of 1575 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2022-05-19 22:35:40 +02:00
Yaron Shahrabani
ce0729b7a6
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1575 of 1575 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2022-05-19 22:35:40 +02:00