José Rebelo and Gitea
164c5e52a4
Zepp OS: Add World Clocks
2022-11-07 10:31:41 +01:00
José Rebelo
01b457895a
Amazfit Band 7: Initial support
2022-10-31 12:04:18 +00:00
José Rebelo
fffb1462c7
Zepp OS: Fix notification icon for SMS
2022-10-31 12:01:45 +00:00
José Rebelo
3a72a11e17
Debug Activity: Add confirmation dialog before removing device preferences
2022-10-30 09:37:42 +00:00
José Rebelo
f7074c327d
Huami 2021: Add missing cast to chunked type
...
Missed this file in the last commit.
2022-10-29 18:44:15 +01:00
José Rebelo and Gitea
003dd6ce32
Allow media notifications to bypass app list
2022-10-29 15:20:03 +02:00
José Rebelo
cd59511aad
Zepp OS: Refactor config, fix health on GTR 3 and GTS 3
...
The config refactor in addf7ff6a broke health settings on GTR3 and GTS3
- GTS 3 and GTR 3 health configs use protocol v1. The only difference
seems to be that the steps goal is a SHORT instead of an INT.
- It needs a refactoring from the ground up to better handle different
versions, but this is enough to get the GTR 3 and GTS 3 working.
2022-10-29 14:17:40 +01:00
José Rebelo
6cc3579e9c
Zepp OS: Refactor file upload, fix notification icons > 56x56px
...
- File uploads are split in chunks, with the size dictated by the
watches. There seem to be 2 protocol versions, without any noticeable
differences
- Extract the file upload logic to a standalone class. This makes it
easier to keep track of concurrent requests, each of which have their
own session id
- Icons larger than 8KB will end up split in multiple chunks - we now
handle that correctly
- Notification icons are also requested in 2 different formats, but
the actual encoding seems to be the same, with only a different id
2022-10-28 23:37:22 +01:00
José Rebelo
bc2d5aa16d
Zepp OS: Change default fetch operation time unit resolution to minutes
...
Reverts the default behavior introduced by 1335f0bd8 since it was
causing issues on the GTR 3, but keeps it optional as a developer
option.
2022-10-27 23:51:02 +01:00
José Rebelo
08a41f655c
Zepp OS: Map strength training, basketball and cricket activity types
2022-10-23 20:46:14 +01:00
José Rebelo
9c82180930
Zepp OS: Do not change GATT Callback unless explicitely set
2022-10-23 10:11:23 +01:00
José Rebelo and Gitea
addf7ff6a6
Amazfit GTR 4: Initial support
2022-10-22 22:03:49 +02:00
José Rebelo
7e7019886d
Sony WH-1000XM2: Fix typo in device name
2022-10-22 13:31:04 +01:00
José Rebelo
e2d9a927d9
Sony Headphones: Fix pause when taken off
2022-10-22 13:23:13 +01:00
José Rebelo
8fdfbfa97c
Sony WF-1000XM4: Initial support
2022-10-22 13:14:50 +01:00
José Rebelo
d4ba532b11
Sony Headphones: Refactor V1 protocol to simplify V2 implementation
2022-10-22 11:14:23 +01:00
José Rebelo
1dca054853
Sony WH-1000XM2: Initial support
2022-10-20 23:48:02 +01:00
José Rebelo
2c182418fe
Sony Headphones: Fix setting surround mode
2022-10-20 23:47:17 +01:00
José Rebelo
1335f0bd86
Zepp OS: Fix fetching workouts shorter than 1 minute
...
Since GB would always round down the time precision to the minute,
workouts shorter than 1 minute would be fetched over and over again.
2022-10-16 22:08:13 +01:00
José Rebelo
a717fd1db2
Huami: Do not crash when failing to parse activity summary
2022-10-16 21:33:47 +01:00
José Rebelo
b5a016a03f
Exclude protobuf classes from proguard
...
Fixes #2932
2022-10-16 21:12:27 +01:00
José Rebelo
26999c863b
Fix Android Studio generated source directories
2022-10-15 10:20:42 +01:00
José Rebelo
962efd51b4
Zepp OS: Decode workout elevation and altitude
2022-10-15 10:17:57 +01:00
José Rebelo
5520e96a6b
Update PT short description to under 80 characters
2022-10-06 20:55:50 +01:00
José Rebelo and Gitea
d655f434f8
Zepp OS: Display HR zones and Training Effect in Activity Details
2022-10-06 00:03:24 +02:00
José Rebelo
d0b1e2a23c
Zepp OS: Fix crash when user attempts to disable Settings display item
...
The display items lists were immutable, so removing items from them
would crash GB.
2022-10-03 22:12:50 +01:00
José Rebelo
088b0098b5
Fix crash when opening Gadgetbridge from the notification
...
intent.getAction() can be null, which would throw a NPE.
2022-10-03 15:57:12 +01:00
José Rebelo
cc27409726
Mi Band 6: Revert find device to a call
...
It looks like 2df6ce2aed does not work on the Mi Band 6, so let's revert
it to a normal call until we figure out what command is required.
2022-10-02 16:25:56 +01:00
José Rebelo
5c6de5442b
Update changelog
2022-10-02 15:09:34 +01:00
José Rebelo and Gitea
d1ae6cf225
Zepp OS: Implement workout fetching
2022-10-02 16:07:21 +02:00
José Rebelo and Gitea
7f4bd16914
Zepp OS: Implement activity and sleep fetching
2022-10-02 16:07:21 +02:00
José Rebelo and Gitea
a919286496
Add support for REM sleep
2022-10-02 16:07:21 +02:00
José Rebelo and Gitea
28a26710d9
Fix calls to unsupported API functions
2022-10-02 16:04:14 +02:00
José Rebelo
43b43ab742
Huami: Change default find band vibration pattern
...
The previous one was too long, now that we loop it.
This one should be a sane default, even for devices that do not support
it (eg. Bip), as the total time is 1.5s.
2022-09-26 18:21:16 +01:00
José Rebelo
785b6797a3
Amazfit GTR: Enable button actions
2022-09-26 12:10:59 +01:00
José Rebelo
c488fd6b10
Amazfit GTR Lite: Fix DeviceType name
2022-09-26 12:10:21 +01:00
José Rebelo and Gitea
cadcfb787a
Zepp OS: Improve firmware upgrades
2022-09-26 00:33:49 +02:00
José Rebelo
aac1e656b1
Mi Band 6: Add support for workout activity types
2022-09-25 19:40:28 +01:00
José Rebelo and Gitea
11716c906b
Allow 3rd party apps to set device settings
2022-09-25 11:55:48 +02:00
José Rebelo
f38f5fbd85
Huami 2021: Add null terminator to firmware device name matching
2022-09-21 23:52:05 +01:00
José Rebelo
a6cb73e843
Amazfit GTS 3: Fix battery drain due to unanswered weather requests
...
- Reply with HTTP 404 to unknown weather endpoints
- Add some missing fields to weather responses
The official Zepp app itself gets a 404 when calling a /weather/tide
endpoint, so we don't know what the watch is supposed to receive.
Weather also seems to still not work correctly on the GTS 3, but this at
least fixes the request spam that was coming from the watch on the tide
endpoint.
2022-09-21 21:31:45 +01:00
José Rebelo and Gitea
c36857f063
Huami: Set OpenTracks track category and icon
2022-09-19 11:50:44 +02:00
José Rebelo
462aec6f71
Mi Band 7: Fix Weather
2022-09-18 00:48:36 +01:00
José Rebelo
31cdc58258
Remove LocalDate usage from Huami2021Weather
...
It needs SDK 26.
2022-09-17 21:30:29 +01:00
José Rebelo
8c69a8a007
Huami: Fix crash when selecting automatic Always On Display
...
Fixes #2889
2022-09-12 18:35:24 +01:00
José Rebelo and Gitea
10265ad697
Remove multidex dependency
2022-09-11 16:14:18 +02:00
José Rebelo and Gitea
83a2b10c03
Fix tests after SDK bump
2022-09-11 16:13:29 +02:00
José Rebelo and Gitea
2efc564d21
Huami: Add preference to overwrite band settings on connection
2022-09-10 23:24:27 +02:00
José Rebelo and Gitea
f915ab5ebd
Mi Band 7: Enable app support
2022-09-08 18:20:28 +02:00
José Rebelo and Gitea
9b2775458c
Huami: Improve large firmware zip file handling
2022-09-06 00:54:57 +02:00
José Rebelo and Gitea
3c882467cc
Huami: Enable vibration patterns for all compatible devices
2022-09-06 00:53:09 +02:00
José Rebelo and Gitea
1d9872b15a
Huami: Fix default vibration patterns
2022-09-06 00:53:09 +02:00
José Rebelo and Gitea
25668bb762
Prefer long notification text by default
2022-09-05 23:57:19 +02:00
José Rebelo
37554e8f8a
Mi Band 7: Fix and enable firmware upgrades
2022-09-05 22:14:09 +01:00
José Rebelo
6b7f80e8de
Mi Band 7: Fix NPE when acknowledging that icon was sent
2022-09-05 00:23:35 +01:00
José Rebelo
42853df591
Fix Skype notifications
2022-09-01 22:26:48 +01:00
José Rebelo and Gitea
9f0169542e
Huami: Use system time for GPS timestamps
2022-08-30 08:36:14 +02:00
José Rebelo and Gitea
b21ffaa528
Make heart rate measurement intervals configurable per-device
2022-08-28 13:15:33 +02:00
José Rebelo and Gitea
c1e8a57a22
Mi Band 7: Fix reminder, calendar and canned messages UTF-8 encoding
...
- Fixes a crash when calendar events have multibyte UTF-8 characters
- Fixes canned message accented characters
2022-08-28 13:13:14 +02:00
José Rebelo and Gitea
5637a2bc45
Add option to ignore low priority notifications
2022-08-28 13:12:09 +02:00
José Rebelo and Gitea
5920b26aab
Do not remove newline and whitespace characters from notification content
2022-08-28 13:04:14 +02:00
José Rebelo and Gitea
a02d54523a
Prefer big text for Gmail notifications
2022-08-28 13:04:14 +02:00
José Rebelo
02dca611b0
Add companion device list to debug activity
2022-08-22 23:53:38 +01:00
José Rebelo and Gitea
25c0b5947b
Xiaomi Smart Band 7: Fix reboot when sending notification icons
2022-08-22 10:33:29 +02:00
José Rebelo and Hosted Weblate
f4e1e17765
Translated using Weblate (Portuguese)
...
Currently translated at 82.8% (1443 of 1742 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2022-08-21 22:22:24 +02:00
José Rebelo and Gitea
ba565df088
Xiaomi Smart Band 7: Initial support
2022-08-19 23:13:27 +02:00
José Rebelo
70e60fb6e0
Mi Band 4: Add activate display on lift sensitivity
2022-08-16 11:20:03 +01:00
José Rebelo and Gitea
b10ca0930d
Add fallback ping tone
2022-08-13 20:12:26 +02:00
José Rebelo and Gitea
1bf5625f24
Add Portuguese translation for fastlane metadata for main and banglejs
2022-08-11 01:25:21 +02:00
José Rebelo and Gitea
106ec98f1c
Identify Play Store OpenTracks as fitness app
2022-08-08 22:36:16 +02:00
José Rebelo
5d82030d49
Refactor file logging logic
2022-08-07 23:24:16 +01:00
José Rebelo
6d947a9008
Check the mount state of all external storage directories
2022-08-06 22:27:55 +01:00
José Rebelo
efdc4c434a
Correctly disable file logging if initialization fails
...
If logging initialization failed, the file logger would not be removed
correctly, and it would log to a GB_LOGFILES_DIR_IS_UNDEFINED directory.
Remove the file logger from the root appender, regardless of it being
null or not.
The issue can be easily reproduced before the fix by throwing an
exception in FileUtils#getExternalFilesDir. Before the fix, it would
still log to the aforementioned directory.
Aditionally, update the Settings screen to reflect that writing log
files is not available in such cases.
2022-08-06 00:34:47 +01:00
José Rebelo
7892b8be6a
Fix tests after DeviceService changes
2022-08-05 21:36:16 +01:00
José Rebelo and Gitea
f7ecb5a867
Allow DeviceService to target a specific device
2022-08-05 21:34:15 +02:00
José Rebelo and Gitea
03db850b3e
Fix crash when device has no device specific settings
2022-07-28 11:17:58 +02:00
José Rebelo
3e6d2bd40e
Use device alias on battery info activity
2022-07-24 22:10:10 +01:00
José Rebelo and Gitea
2a0b7b64fb
Huami: Fix MTU update on device connection
2022-07-20 17:27:36 +02:00
José Rebelo and Gitea
3c42f43f95
Add monochrome themed icon
2022-07-11 11:13:11 +02:00
José Rebelo and Gitea
8c1c7fbe63
Add support for incoming call notification delay
2022-07-05 20:34:11 +02:00
José Rebelo
9cb6403c04
Mi Band 4: Add password support
2022-07-05 19:29:16 +01:00
José Rebelo and Gitea
152f19575f
Make calendar blacklist configurable per device
2022-07-05 19:58:21 +02:00
José Rebelo and Gitea
7512147c34
Huami: Display native alarm notification
2022-07-05 19:57:13 +02:00
José Rebelo and Gitea
cb0dfaae79
Update FwAppInstallerActivity progress bar on SetProgressAction
2022-07-05 19:54:52 +02:00
José Rebelo and Gitea
1755b4e093
Animate card movement on device list
2022-07-05 19:53:43 +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 and Gitea
33d433d206
Make transliteration configurable per-language
2022-06-15 18:40:28 +02:00
José Rebelo and Gitea
b29900f671
Fix build after multi-device-support rebase
2022-06-14 23:33:56 +02:00
José Rebelo and Hosted Weblate
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
José Rebelo and Gitea
e683a5bc56
Update Codeberg Terms of Use link
2022-06-14 17:46:42 +02:00
José Rebelo and Gitea
a042d44cd0
Mi / Amazfit Band 5: Add missing breathing shortcut
2022-06-11 23:09:46 +02:00
José Rebelo and Gitea
b914bec573
Mi Band 5: Fix missing portuguese language
2022-06-11 23:09:21 +02:00
José Rebelo and Gitea
b9feb886f8
Fix sharing log files on newer android versions
2022-06-11 12:21:24 +02:00
José Rebelo and vanous
2101b5840a
Mi Band 5: Start fitness tracking on phone when workout starts on band
2022-06-09 10:32:26 +02:00
José Rebelo and vanous
b07cd54468
Mi Band 5: Send GPS location to band during workout
2022-06-09 10:32:26 +02:00
José Rebelo and Gitea
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
José Rebelo
621e731d63
Go to previous PreferenceScreen on back actionbar option
...
Fixes #2692
2022-06-03 23:08:32 +01:00
José Rebelo and Gitea
a5a653dc34
Move OpenTracks external events to dedicated package
2022-05-30 13:17:26 +02:00