Commit Graph

1322 Commits

Author SHA1 Message Date
José Rebelo
1fd426c09d VO2 Max: Cleanup duplicated strings 2024-09-18 20:48:01 +01:00
a0z
f2227bb083 VO2Max: replace GENERAL vo2max with ANY, add widgets 2024-09-18 20:47:25 +01:00
José Rebelo
9f0d426a9f VO2Max: Display latest sample from period 2024-09-18 20:47:25 +01:00
a0z
d440ec1e36 VO2Max: initalize activity 2024-09-18 20:47:24 +01:00
José Rebelo
922c8db76f Fix awake sleep color in charts 2024-09-18 08:45:55 +01:00
a0z
503cd31d91 Heart Rate: initialize activity 2024-09-17 19:56:29 +00:00
BrunoWallner
4f93ac627d Fix activity charts generation (#4114)
Co-authored-by: BrunoWallner <b.lucab1211@gmail.com>
Co-committed-by: BrunoWallner <b.lucab1211@gmail.com>
2024-09-16 22:41:17 +00:00
José Rebelo
0b6f36047e FwAppInstallerActivity: Ignore updates from unrelated devices 2024-09-14 13:36:58 +01:00
José Rebelo
9fcd463bfc Fix import of some hashset preference values from xml 2024-09-11 22:28:56 +00:00
José Rebelo
be9cc348d1 Allow full backup/restore from a zip file 2024-09-11 22:28:56 +00:00
José Rebelo
721b582b87 Fix discovery of connected devices
Devices might be connected at bluetooth-level, but not yet paired in
Gadgetbridge. These devices will not fire discovery events, so
Gadgetbridge would not be able to discover them.
2024-09-10 22:23:57 +01:00
Daniel Dakhno
aae1d40d54 Core: added first iteration of BLE intent API
Core: added BLE GATT Client

Core: fixed string comparisons

Core: unified intent APIs

Core: fixed notification and publication bugs

Core: extracted BLE Intent API logic

Core: introduced finer BLE API permissions

Core: use device name when adding test device through DiscoveryActivity

Core: avoid reporting same device state multiple times

Core: read firmware version on GATT Client connect connect

Core: use onSendConfiguration instead of direct subscription

Core: I18N for GATT API settings

Core: I18N for GATT API settings

Core: only show BLE API settings for BLE devices

Core: refactored intent handler

Core: extracted ble API to own class

Core: fixed unitialized BLE Api

BLE Intent API: I18N

BLE Intent API: refactoring

BLE Intent API: added back legacy API

BLE Intent API: removed new DEVICE_CHANGED and CONNECT endpoints

BLE Intent API: removed redundant ble api setting
2024-09-08 23:17:07 +00:00
José Rebelo
fa9e111b6b Dashboard: Reload preferences on create view
Attempt to mitigate a crash when a device finishes fetching data
while the fragment is still being created.
2024-09-07 21:32:13 +01:00
José Rebelo
3a778a9f2a Fix sleep charts for devices without REM sleep 2024-09-07 13:41:30 +01:00
Johannes Krude
0282863573 Casio GW-B5600: bugfix for several watch settings 2024-09-07 08:22:12 +02:00
Arjan Schrijver
b5104dd9ca Dashboard: Fix worn in Today widget when devices measure HR less than every minute 2024-09-02 20:38:49 +02:00
José Rebelo
4da02fa851 Add month and day to date of birth 2024-08-31 14:40:39 +01:00
José Rebelo
b59ba76803 Refactor preferences screen 2024-08-31 13:33:25 +00:00
José Rebelo
64887a5adf Prevent dashboard menu from showing on device list 2024-08-31 12:20:40 +01:00
Johannes Krude
76fb19a1b9 Reminders without time use UTC and do so also when changing the date 2024-08-30 22:03:34 +00:00
Johannes Krude
8a4aca06e6 DevicePrefs gets the GBDevice since it it device specific 2024-08-30 22:03:34 +00:00
Johannes Krude
80fea5b916 move some device specific preferences from GBPrefs to DevicePrefs
addresses https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4049#issuecomment-2270266
2024-08-30 22:03:34 +00:00
Johannes Krude
b64841b48e GBReminderListAdapter gets remindersHaveTime through constructor
addresses https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4049#issuecomment-2270261
2024-08-30 22:03:34 +00:00
Johannes Krude
e0741d4a13 Casio2C2D: Reminders have no hour or minute 2024-08-30 22:03:34 +00:00
Johannes Krude
e5438a856e fix reserved Reminder slots for non-Huami Devices 2024-08-30 22:03:34 +00:00
José Rebelo
c7bb47d6bd Data Management: Fix keyboard focus on search 2024-08-29 22:02:29 +01:00
José Rebelo
d033c5e33e Data Management: Add basic search to file manager 2024-08-29 22:00:18 +01:00
José Rebelo
f746ef42f3 Dashboard: Prevent crash on draw after onSaveInstanceState (#4007) 2024-08-29 16:09:13 +01:00
José Rebelo
bfde77fb3a Prevent crash on unknown activity charts tab 2024-08-29 16:09:13 +01:00
José Rebelo
f76180c4bd Dashboard: Add new widgets, make them clickable
Add 3 new widget types:
- Body energy
- Stress (simple, segmented, breakdown)
- HRV

Make widgets clickable, opening the corresponding charts page.
2024-08-29 16:09:13 +01:00
José Rebelo
49ef8c9f40 Garmin: View and share gpx files 2024-08-28 19:18:08 +01:00
José Rebelo
12ecfa0c4e Garmin: Parse strength training workout sets 2024-08-28 13:43:12 +01:00
a0z
88c8629ec0 Steps/Sleep activties: update lines and offsets 2024-08-27 22:03:04 +00:00
José Rebelo
39707a52da Huami: Migrate all device settings to sub-screens 2024-08-27 22:48:00 +01:00
José Rebelo
8e3f010629 Add daily steps progress chart 2024-08-27 19:38:10 +01:00
José Rebelo
f4551e7cba Fix step analysis for some devices 2024-08-25 23:49:52 +01:00
José Rebelo
a1170e7333 Dashboard: Fix awake sleep color 2024-08-25 23:02:12 +01:00
a0z
21de228204 Garmin: Awake time 2024-08-25 21:19:00 +00:00
José Rebelo
b6e2ce1d9c Garmin: Awake time (WIP) 2024-08-25 21:19:00 +00:00
Severin von Wnuck-Lipinski
6bfd3dcd06 Add weight chart 2024-08-25 20:46:52 +00:00
José Rebelo
2db88c63db Reduce stutters on device changes / data fetch 2024-08-25 20:21:45 +00:00
Daniele Gobbetti
13be343392 Pebble: remove last global settings
In order to add an emulated device it is sufficient to use the "Add test device" functionality choosing pebble as device and entering IP:PORT in the mac address field.

The pebble setting to force BLE is moved to discovery_pairing_preferences.xml

Also delete the pebble_preferences file and update general preferences.
2024-08-25 20:20:52 +00:00
Daniele Gobbetti
795ffde0e1 Pebble: move a bunch of preferences to device specific settings 2024-08-25 20:20:52 +00:00
José Rebelo
fbfbae808f Charts: Add button to pick date 2024-08-24 22:04:17 +01:00
a0z
b43c109903 Stress fragment redesign 2024-08-24 17:44:18 +02:00
José Rebelo
bb50796d0a Fix HR charts when min is set to 0 2024-08-24 12:15:15 +01:00
Arjan Schrijver
e23caa3ee6 Add support for Colmi R02/R03/R06 smart rings 2024-08-23 23:47:34 +02:00
José Rebelo
d8266b3d6b ZeTime: Migrate global preferences to device-specific 2024-08-23 20:22:20 +01:00
Johannes Krude
141ff623c7 remove no longer needed ConfigureAlarms.createDefaultAlarm 2024-08-23 14:05:11 +00:00
Johannes Krude
a885e0eb93 Casio GW-B5600: Alarms 2024-08-23 14:05:11 +00:00