Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo 7acda0d52c Add basic nightly pipeline monitoring 2024-10-27 14:18:08 +00:00
José Rebelo 212bf996c3 Update changelog 2024-10-27 14:15:28 +00:00
José Rebelo ba82de99d3 Garmin: Upload workout fit files 2024-10-26 21:03:58 +01:00
José Rebelo 8b4f1aa1d7 Fix light navbar buttons on light themes for SDK27+
SDK 21 to 27 still needs some work, but we need to review all of this
for the edge-to-edge enforced by Android 15 anyway.
2024-10-26 18:03:32 +01:00
José Rebelo bbadb2b1ef Garmin: Fix crash on timezones without DST 2024-10-26 16:53:30 +01:00
José Rebelo c628ce2c97 Garmin: Fix all-day events
As per the CalendarContract, the begin timestamp corresponds to the UTC
midnight-boundary of the start of the day.

- Remove the redundant logic to truncate the date to the start of day
- Remove the workaround for negative timezones (confirmed not workin
  with some EDT users)
- Ensure birthdays also respect the UTC boundary
- Offset the garmin timestamps by the UTC offset, ensuring they match
  midnight on the user's timezome (fixes all-day events offset by 1 day)
2024-10-26 11:53:20 +01:00
José Rebelo 22eebf9592 Garmin Fenix 7: Initial support 2024-10-25 18:18:41 +01:00
José Rebelo 9d741a7189 Update changelog 2024-10-24 22:45:05 +01:00
José Rebelo e25757846f Add link to background service troubleshoot page 2024-10-22 22:18:17 +01:00
José Rebelo 69530de0c6 Set changelog version code when restoring zip backup 2024-10-19 21:00:53 +01:00
José Rebelo 9267b4fcf3 Mi Band 9: Fix strength training 2024-10-16 23:43:11 +01:00
José Rebelo e6dc262a4d Xiaomi-protobuf: Fix some workout type recognition 2024-10-16 23:40:13 +01:00
José Rebelo e436946bed Sleep charts: Fix empty cells for devices without awake sleep 2024-10-16 23:21:38 +01:00
José Rebelo 2abe7e5b2f Fix weekly and monthly sleep times for devices without awake sleep
The last sleep stage on these is not "awake sleep" and should be
included.
2024-10-16 23:07:41 +01:00
José Rebelo a0d7c8b77b Huawei: Fix battery notifications 2024-10-16 22:54:40 +01:00
José Rebelo f0cce348c4 Xiaomi-protobuf: Fix naps 2024-10-16 22:46:19 +01:00
José Rebelo f9f3e8849b Mi Band 9: Fix walk workout parsing 2024-10-16 19:38:15 +01:00
José Rebelo 8714c8461f Fix unit tests 2024-10-15 19:54:00 +01:00
José Rebelo 75024c8a40 Update changelog 2024-10-14 20:35:45 +01:00
José Rebelo b595a1ad96 Huawei Watch Fit 3: Enable emoji 2024-10-13 22:20:02 +01:00
José Rebelo 10a7550232 Garmin: Map some health snapshot fields 2024-10-13 21:28:37 +01:00
José RebeloandJosé Rebelo 1f4987ab98 Huawei: Enable emoji for HarmonyOS watches 2024-10-13 19:01:14 +00:00
José Rebelo 58a8c91c80 Activity Details: Fix table after odd number of cells 2024-10-13 19:55:09 +01:00
José Rebelo 92fd556c5f Garmin: Map some missing realtime settings icons 2024-10-13 13:52:48 +01:00
José Rebelo d47a08479d Garmin Fenix 6S Sapphire / Venu Sq 2: Initial support 2024-10-13 13:39:43 +01:00
José Rebelo 92004ce4de Fix activity icon after filter reset 2024-10-13 08:59:46 +01:00
José Rebelo 427b7c7557 Activity details: Refactor header 2024-10-12 23:24:14 +01:00
José Rebelo c2668d2e6c Add average line to HR chart 2024-10-12 19:00:26 +01:00
José Rebelo b4426c61be Garmin: Fix unit tests 2024-10-12 16:59:07 +01:00
José Rebelo 6474a6092e GPXExporter: Include speed and cadence 2024-10-12 16:57:02 +01:00
José Rebelo bf7b6e2329 Fix wrong parameter type 2024-10-12 13:40:35 +01:00
José Rebelo 598e737f10 Garmin: Map some missing fields in FitRecord 2024-10-12 13:33:37 +01:00
José Rebelo bd3b7467a4 Garmin/Zepp OS: Display resting HR 2024-10-12 13:21:20 +01:00
José Rebelo fb1d0a92cc Garmin: Add resting heart rate sample provider 2024-10-11 23:51:44 +01:00
José Rebelo b331c53763 Garmin: Parse skin temperature messages 2024-10-11 23:09:40 +01:00
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