Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo 8c949ff6ab Garmin: Persist respiratory rate 2024-10-11 22:29:55 +01:00
José Rebelo 27a830fd13 Update changelog 2024-10-11 13:23:37 +01:00
José RebeloandHosted Weblate b24c9c13e9 Translated using Weblate (Portuguese)
Currently translated at 66.1% (2150 of 3249 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2024-10-10 22:14:15 +00:00
José Rebelo 329eb2c62e Garmin Venu Sq: Initial support 2024-10-10 23:14:01 +01:00
José Rebelo 400d2aeaba Garmin Fenix 8: Initial support 2024-10-10 20:47:35 +01:00
José Rebelo fb907da6d5 Activity list: Adjust paddings 2024-10-09 21:26:07 +01:00
José Rebelo cdaf78cbbc Activity list: Adjust padding and colors 2024-10-09 21:19:35 +01:00
José Rebelo d782169a64 Garmin: Fix rxnetworks AGPS header recognition 2024-10-09 19:01:59 +01:00
José Rebelo 94572805e9 Colmi R0x: Check factory reset flags on onReset
This function is also called for a simple reboot.
2024-10-08 18:20:26 +01:00
José Rebelo 19c80947eb Enable scrollbar in activity list 2024-10-07 20:32:57 +01:00
José Rebelo 95b6485965 Add button to share JSON details 2024-10-06 22:24:04 +01:00
José Rebelo 22a6d9b7d9 Refactor activity lists to use a RecyclerView 2024-10-06 22:24:04 +01:00
José Rebelo 32e955abe2 Fix language not being respected in some situations 2024-10-06 22:22:48 +01:00
José Rebelo 9191500fd9 Sort activity kind filter alphabetically 2024-10-06 14:16:26 +01:00
José Rebelo 96314937d0 Add icons for navigation, cardio, strength training, video gaming 2024-10-06 12:05:05 +01:00
José Rebelo b2c88b47d5 Do not consider awake sleep for sleep time 2024-10-05 18:02:13 +01:00
José Rebelo 7de97a49b0 Garmin: Fix over-counting of distance at turn of day 2024-10-05 18:00:57 +01:00
José Rebelo cbd6fe2145 Huawei: Use watch distance and calories
Thanks to Martin.JM for the patch
2024-10-05 17:32:29 +01:00
José Rebelo 9c67a30835 Garmin: Persist distance and calories 2024-10-05 17:29:23 +01:00
José Rebelo c700d49bf0 Allow gadgets to provide distance and calories 2024-10-05 17:29:23 +01:00
José Rebelo 6258ccd4db Garmin: Fetch SKIP_TEMP files 2024-10-05 15:54:41 +01:00
José Rebelo 5272d017ac Show single day in bottom charts label 2024-10-05 14:43:35 +01:00
José Rebelo 67346a06e5 Fix HRV Status days 2024-10-05 14:17:08 +01:00
José Rebelo f6a8d05fd6 Make some average lines more visible 2024-10-05 12:17:30 +01:00
José Rebelo 00d3a9ce18 Fix linter errors 2024-10-04 22:56:39 +01:00
José Rebelo 9ed9abba46 Fix translations after merge from weblate 2024-10-04 22:49:53 +01:00
José Rebelo 09ee27c402 Update changelog 2024-10-04 20:15:01 +01:00
José Rebelo fd3a725b10 Huawei: Format pace values in a table 2024-10-04 20:08:24 +01:00
José Rebelo d34dcb6fc6 Downgrade com.android.tools.build:gradle to v8.7.0
Nightly build fails:

```
2024-10-03 23:18:19,270 INFO: APK file was successfully validated!
2024-10-03 23:18:19,321 CRITICAL: Unknown exception found!
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1556, in get_android_resources
    return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/fdroid", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/fdroidserver/__main__.py", line 230, in main
    raise e
...
  File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/__init__.py", line 2181, in __init__
    raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!
```

This reverts commit b8bf1200c1.
2024-10-04 20:05:49 +01:00
José Rebelo 84c91021d1 Fix body energy page scroll 2024-10-03 23:29:51 +01:00
José Rebelo b8bf1200c1 Update dependency com.android.tools.build:gradle to v8.7.0 2024-10-03 23:24:46 +01:00
José Rebelo 10da6a27ce Garmin: Map more fit session fields 2024-10-02 22:01:24 +01:00
José RebeloandJosé Rebelo 86888ec52b Fix crash on unknown values 2024-10-01 20:27:59 +00:00
José RebeloandJosé Rebelo c2e2b52297 Re-order HR zones section 2024-10-01 20:27:59 +00:00
José RebeloandJosé Rebelo 3e327e2924 Workout Details: Add tables and progress bars 2024-10-01 20:27:59 +00:00
José RebeloandJosé Rebelo 5192304d29 RuntimeTypeAdapterFactory: Allow null labels 2024-10-01 20:27:59 +00:00
José Rebelo 9d03d0d98e Display weekday on sports activities 2024-10-01 20:50:48 +01:00
José Rebelo f6f196847b Make calendar lookahead configurable 2024-09-30 23:44:24 +01:00
José Rebelo 19f04e1867 Show notification on crash for debug builds 2024-09-29 13:44:40 +01:00
José RebeloandJosé Rebelo d4a451e8c8 CalendarReceiver: Convert to ContentObserver 2024-09-29 11:14:23 +00:00
José Rebelo e070569ab5 Update changelog 2024-09-28 23:26:46 +01:00
José RebeloandJosé Rebelo ce387396fd Garmin: Fix monitoring sample timestamp16 handling 2024-09-28 22:05:20 +00:00
José RebeloandJosé Rebelo 5730e82380 Bangle.js: Refactor activity details 2024-09-28 22:03:26 +00:00
José Rebelo dc8d295d4a Discovery Activity: Replace long toasts with dialog 2024-09-28 23:02:20 +01:00
José Rebelo 03596ac0fb Discovery Activity: Improve layout on limited space 2024-09-28 22:49:59 +01:00
José Rebelo 56c8901ba1 Only fake sleep intensity if raw value is negative 2024-09-28 18:12:03 +01:00
José Rebelo f5ad01f2fe Update mockito to 5.14.0, fix tests 2024-09-28 13:20:07 +01:00
José Rebelo e65d847835 Fix CalendarEvent constructor due to rebase 2024-09-27 23:51:58 +01:00
José Rebelo ae3615a388 Update PAI charts to match new charts design 2024-09-27 23:28:09 +01:00
José Rebelo 8348c5349e Colmi: Use standard fake sleep sample intensity 2024-09-27 20:54:17 +01:00
José Rebelo 05c707bdfb Standardize and hide fake sleep movement intensity 2024-09-27 20:32:47 +01:00
José RebeloandJosé Rebelo 8ae8898a89 Sync birthdays with calendar events 2024-09-27 17:37:06 +00:00
José Rebelo f612f685bf Tweak margins and paddings 2024-09-27 18:33:09 +01:00
José Rebelo 2ac7aed8d0 Prevent auto fetch activity data in quick succession (#4165) 2024-09-24 19:05:21 +01:00
José Rebelo f6d9a87f95 Garmin: Fix gap fill overwriting real samples 2024-09-23 22:18:40 +01:00
José Rebelo 1745c41da8 Garmin: Parse fit monitoring info 2024-09-23 22:18:22 +01:00
José Rebelo 49750e31af Fix gpx hr parsing and unit tests 2024-09-23 22:13:01 +01:00
José Rebelo 71575c8083 Add all languages supported in weblate 2024-09-22 11:16:40 +01:00
José Rebelo 4d912cf252 Garmin: Add total steps, avg and max cadence 2024-09-21 19:22:58 +01:00
José Rebelo d1426595e6 Fix crash when no activity samples during workout 2024-09-21 19:22:56 +01:00
José Rebelo dba9f32757 Use HR from track file if available 2024-09-21 10:51:24 +01:00
José Rebelo 060d39d5b0 GpxParser: Parse heart rate 2024-09-21 10:09:57 +01:00
José Rebelo 409a296666 Xiaomi-protobuf: Enable install handler for all devices 2024-09-20 18:10:55 +01:00
José Rebelo 00f8d2259f Fix crash on opening activity details for some devices 2024-09-20 14:04:26 +01:00
José Rebelo af17e55c11 Casio: Signal activity fetch finish 2024-09-20 13:31:16 +01:00
José Rebelo 822836a61c Refactor PAI / vitality score charts 2024-09-19 19:21:50 +01:00
José Rebelo 50d5a532d1 Garmin Forerunner 265S: Initial support 2024-09-19 18:44:12 +01:00
José Rebelo b40749d53c Identify device in realtime samples 2024-09-19 00:30:17 +01:00
José Rebelo d238a321df Remove motorcycling from VO2 Max 2024-09-18 21:10:14 +01:00
José Rebelo 7b76d21254 Zepp OS: Add VO2 Max support 2024-09-18 21:08:50 +01:00
José Rebelo 8ee03d3c08 Garmin: Fix "ANY" VO2 Max query 2024-09-18 20:48:18 +01:00
José Rebelo 1fd426c09d VO2 Max: Cleanup duplicated strings 2024-09-18 20:48:01 +01:00
José Rebelo 9f0d426a9f VO2Max: Display latest sample from period 2024-09-18 20:47:25 +01:00
José Rebelo e2be851097 Garmin: VO2 max samples 2024-09-18 20:45:48 +01:00
José Rebelo 858a89d788 Update changelog 2024-09-18 09:00:08 +01:00
José Rebelo 922c8db76f Fix awake sleep color in charts 2024-09-18 08:45:55 +01:00
José Rebelo 05570a3cae Xiaomi: Allow re-parse activity from storage 2024-09-17 22:53:46 +01:00
José Rebelo d33fa79187 Mi Band 8 Pro: Fix outdoor walking and cycling parsing 2024-09-17 22:30:44 +01:00
José Rebelo 67d46c453e Garmin Enduro 3: Initial support 2024-09-17 20:39:31 +01:00
José Rebelo 7e9c6fbd9d Update changelog 2024-09-16 21:43:16 +01:00
José RebeloandJosé Rebelo c14b41b9c6 Garmin: Handle realtime hrv, respiration, spo2 2024-09-16 19:40:44 +00:00
José RebeloandJosé Rebelo 5bc114b062 Garmin: Manual HR measurements and realtime HR/steps 2024-09-16 19:40:44 +00:00
José Rebelo e5b91d3ac3 Garmin Forerunner 245 Music: Initial support 2024-09-16 20:28:00 +01:00
José Rebelo edd1a660da Xiaomi: Fix gps track parsing
The crc at the end was not being taken into account to check the file
size.
2024-09-15 18:35:32 +01:00
José Rebelo 5ebb3b85b0 Zepp OS: Fix reminder slot initialization (#3137, #4098) 2024-09-15 17:22:21 +01:00
José Rebelo c72966bc6c Update mockito to 5.13.0 2024-09-15 10:19:19 +01:00
José Rebelo d95d669d97 Update protobuf to v4.28.1 2024-09-15 10:15:15 +01:00
José Rebelo eb965faacf Update commons-lang3 to 3.17.0 2024-09-15 10:09:02 +01:00
José Rebelo 1e3e03d7e1 Zepp OS 3.5: Add menu items for map, heart rate push, night display 2024-09-14 15:50:53 +01:00
José Rebelo 0b6f36047e FwAppInstallerActivity: Ignore updates from unrelated devices 2024-09-14 13:36:58 +01:00
José Rebelo 1f95258e0e Amazfit T-Rex 3: Experimental support 2024-09-14 13:24:39 +01:00
José Rebelo 106f1fcdd6 Amazfit Active / GTR 3 Pro: Add new device sources 2024-09-14 13:24:39 +01:00
José RebeloandJosé Rebelo 183bf8725f Huawei: Re-parse workout details when opening details 2024-09-12 22:47:13 +00:00
José RebeloandJosé Rebelo 967ae31b7a HuaweiWorkoutGbParser: Use ActivitySummaryData 2024-09-12 22:47:13 +00:00
José RebeloandJosé Rebelo 9fcd463bfc Fix import of some hashset preference values from xml 2024-09-11 22:28:56 +00:00
José RebeloandJosé 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
José Rebelo 4875b0e1fe Fix charts icon color 2024-09-10 19:51:12 +01:00
José Rebelo ea41bbd1a9 Garmin: Fix multiple FitAsyncProcessor running in parallel 2024-09-09 19:37:32 +01:00
José Rebelo 14d76cf59b Huami: Fetch workouts during normal sync 2024-09-09 12:25:05 +01:00