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

10766 Commits

Author SHA1 Message Date
Daniel Dakhno
4fa9adabec Cycling sensor:fixed devicetype name 2024-04-18 02:58:15 +02:00
Daniel Dakhno
15d82767b5 Cycling sensor: improved cycling data display 2024-04-18 02:57:50 +02:00
Daniel Dakhno
2433bd5118 Cycling sensor: fixed database fetch 2024-04-18 02:57:50 +02:00
Daniel Dakhno
ed62cce7b5 Cycling sensor: save cycling sample timestamp as milliseconds 2024-04-18 02:57:50 +02:00
Daniel Dakhno
aa6dd33407 Cycling sensor: added different coloring to different axis 2024-04-18 02:57:50 +02:00
Daniel Dakhno
42313057e3 Cycling sensor: display choppy cycling data in graph 2024-04-18 02:57:50 +02:00
Daniel Dakhno
f14c7ab95f Cycling sensor: switched to TimeSampleProvider 2024-04-18 02:57:50 +02:00
Daniel Dakhno
b68d5ed8ac Cycling sensor: added basic data handling 2024-04-18 02:57:50 +02:00
Daniel Dakhno
698dd03e43 Cycling sensor: fixed persistence interval 2024-04-18 02:57:50 +02:00
Daniel Dakhno
bc4775fa7c Cycling sensor: made data collection work 2024-04-18 02:57:50 +02:00
Daniel Dakhno
ac7a8aec57 Cycling sensor: fixed integer arithmetic 2024-04-18 02:57:50 +02:00
Daniel Dakhno
90c38ade3f Cycling sensor: added wheel circumference setting 2024-04-18 02:57:50 +02:00
Daniel Dakhno
a636801d39 Cycling sensor: adapted to chart changes 2024-04-18 02:57:50 +02:00
Daniel Dakhno
b12e9af3ac Cycling sensor: added translation 2024-04-18 02:57:50 +02:00
Daniel Dakhno
11733aeb95 Cycling sensor: renamed "bicycle" to "cycling" 2024-04-18 02:57:50 +02:00
Daniel Dakhno
a0a67495d4 Cycling sensor: added basic chart classes 2024-04-18 02:57:50 +02:00
Daniel Dakhno
6b6915b1de Cycling sensor: improved data persistence 2024-04-18 02:57:50 +02:00
Daniel Dakhno
9aeddfe1a6 Bicycle sensor: added storage of BicycleSamples 2024-04-18 02:57:48 +02:00
Daniel Dakhno
09122c7c65 Bicycle sensor: fixed some DAO errors 2024-04-18 02:57:30 +02:00
Daniel Dakhno
5c34d30c93 Bicycle sensor: added basic database stuff 2024-04-18 02:57:30 +02:00
Daniel Dakhno
97e5061148 Bicycle sensor: added basic support classes 2024-04-18 02:57:28 +02:00
Arjan Schrijver
a2c861f66c Add preference for hiding bottom navigation bar 2024-04-17 21:58:23 +02:00
Damien 'Psolyca' Gaignon
4059566a25
[Huawei] Fix notification length 2024-04-16 23:10:01 +02:00
José Rebelo
c0d0b4dfbe Update hamcrest-library to 2.2 2024-04-15 23:45:55 +01:00
José Rebelo
bf01d9b346 Update protobuf dependencies 2024-04-15 22:04:45 +01:00
Damien 'Psolyca' Gaignon
84070dd0ba
[Huawei] Fix TimeZone offset calculation 2024-04-15 21:37:57 +02:00
Alik Aslanyan
f0a9ab7f98 Add Armenian transliteration 2024-04-15 19:58:27 +04:00
José Rebelo
9ae02f65ed Zepp OS: Change settings category to "calls and notifications" 2024-04-13 15:11:39 +01:00
Arjan Schrijver
523d02ae7f Generalize auto-pickup and read-notifications-aloud features 2024-04-13 14:10:54 +00:00
José Rebelo
717789dc48 Fix receiving shared gpx files 2024-04-13 13:55:25 +01:00
José Rebelo
320fccbaae Xiaomi: Fix crash when deleting last widget screen 2024-04-12 22:41:11 +01:00
MrYoranimo
5e6bf798a4 Xiaomi: implement setAutoReconnect on XiaomiSupport
The DeviceCommunicationService calls `#setAutoReconnect` on new device
supports before it calls the connect method. Since this method did not
get relayed to the connection-specific support classes, Xiaomi devices
using a BLE connection did not automatically reconnect because the
`mAutoReconnect` field in `AbstractBTLEDeviceSupport` never got set.
2024-04-12 20:54:49 +02:00
MrYoranimo
d39f86f3c8 Xiaomi: fix music volume command only increasing volume
Earlier Xiaomi devices would send either 0 or 100 for the requested
volume to indicate whether the app should increase or decrease the
phone's volume. Newer devices send the volume to change to, based on the
known current volume. We therefore need to check whether the device
increased or decreased the volume based on the current volume ourselves
in order to determine which event we want to fire.
2024-04-12 20:54:49 +02:00
MrYoranimo
35217aa405 Xiaomi: add support for 2x3 widget layouts
The Xiaomi Smart Band 8 Pro shows widgets in a two by three grid.
Previously, opening the widget configuration for such a device from the
device-specific preferences would crash Gadgetbridge because the layouts
in such a grid was not supported.

This commit adds definitions for layouts in a 2x3 grid to the
WidgetLayout enum, adds a definition for a full screen widget to the
WidgetType enum, defines rendering definitions for the new layouts to
WidgetScreenDetailsActivity, and defines translations for the new
layouts and type to XiaomiWidgetManager.
2024-04-12 20:54:49 +02:00
MrYoranimo
0b731611b9 Xiaomi: refactor WidgetManager for Redmi Watch 4
The Redmi Watch 4 reports both an unsupported widget type and layout
style:

- The firmware supports a screen layout for a single full screens
  widget, which is defined by layout ID 128;
- A full screen widget is a single 2x2 part, which is not supported.

This commit adds support for both the new layout and the new widget
type.

Furthermore, this commit refactors the XiaomiWidgetManager. Previously,
the supported layouts were determined by the types of parts supported by
the device. However, the supported layouts are reported by the device
through a bitfield in the widget capabilities message of which the purpose
was unknown, which is now used to determine the supported layouts.
2024-04-12 20:54:49 +02:00
MrYoranimo
796f26f74f Redmi Watch 4: initial experimental support 2024-04-12 20:54:49 +02:00
upalse
aaa66df082 Add menu items for NFC shortcuts on Mi Band 6 NFC. 2024-04-12 17:20:21 +01:00
Daniele Gobbetti
ff9207cd9a Nothing: add option to read aloud incoming notifications.
Also fixes a bug where the call would be accepted twice if the tts was not bound.
2024-04-12 16:51:49 +02:00
Daniele Gobbetti
1a8689d4bf Add "Delta Chat" to the recognized applications and as generic chat 2024-04-12 09:21:54 +02:00
Arjan Schrijver
cd8e9b5ea6 Dashboard: Fix crash on start when Devices is first screen 2024-04-10 22:11:45 +02:00
Arjan Schrijver
6f103b2897 Dashboard: Implement horizontal swiping and fix fragment related crashes 2024-04-10 21:53:03 +02:00
Ganblejs
96bbd578c8 Bangle.js: add wake on notification response OPEN 2024-04-10 19:36:17 +00:00
Ganblejs
594c409067 WakeActivity: add start method 2024-04-10 19:36:17 +00:00
Ganblejs
dae5a77b17 Add setting to wake+unlock on OPEN notif response 2024-04-10 19:36:17 +00:00
Daniele Gobbetti
e00d234f09 Add GENERIC_PHONE and GENERIC_CALENDAR NotificationType handling 2024-04-10 14:20:20 +02:00
Damien 'Psolyca' Gaignon
83a010f42e [Huawei] Ask pincode only on first connection 2024-04-09 19:06:39 +00:00
Damien 'Psolyca' Gaignon
52e61e36fe [Huawei] Rename needsAuth to firstConnection 2024-04-09 19:06:39 +00:00
Arjan Schrijver
065f8cdaa7 Fix DeviceService not starting when the dashboard is the initial screen 2024-04-09 10:46:11 +02:00
Arjan Schrijver
50c7520349 Dashboard: Material 3 month changing buttons in calendar 2024-04-09 09:34:58 +02:00
Arjan Schrijver
8ce0983cb4 Galaxy Buds Live: Update device settings to new structure 2024-04-09 06:55:53 +00:00