Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo ec9b423785 Do not run master build and tests on nightly
In order to trigger a deployment, these were already executed, it
doesn't make sense to waste CI time running them again.
2023-09-07 13:06:41 +01:00
José Rebelo 418e0b7d43 Allow nightly builds to be triggered manually 2023-09-07 13:00:07 +01:00
José Rebelo c912ea0378 Zepp OS: Send UV Index as integer 2023-09-04 21:25:12 +01:00
José Rebelo 50c474e9ef Fix crash when timezone has no next DST transition 2023-09-04 14:12:59 +01:00
José Rebelo 0c13cad3e8 Update changelog 2023-09-02 11:10:20 +01:00
José Rebelo 4c7cb1cadc Fix ACTION_DST_CHANGED action 2023-09-02 11:08:19 +01:00
José Rebelo a4c79a9395 Attempt to fix DST changes 2023-09-02 10:13:14 +01:00
José Rebelo 2051ce2055 WeatherSpec: Fix typo in getLocation 2023-08-29 00:14:35 +01:00
José Rebelo 07dce81d85 Update changelog 2023-08-27 22:46:53 +01:00
José Rebelo 6d828260d0 WeatherSpec: Add some docs for AirQuality 2023-08-27 19:51:44 +01:00
José Rebelo 200cfdf29a Revert "Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate"
Per the feedback on #3249, this does not seem to be supported.

This reverts commit 42f35259fc.
2023-08-27 17:45:57 +01:00
José Rebelo 88b72d51c8 Zepp OS: Use WeatherSpec gps coordinates for sunset if available 2023-08-27 16:23:32 +01:00
José RebeloandJosé Rebelo 495a8dec89 Zepp OS: Map WeatherSpec v4 fields
- Map hourly values
- Fix sunset and sunrise location
- Add moon rise, set and phase
- Add air quality
- Add wind speed, wind direction, visibility, pressure
2023-08-27 15:13:57 +00:00
José RebeloandJosé Rebelo 564cb1bfcc Introduce WeatherSpec v4
New fields for current weather:

- dewPoint
- pressure
- cloudCover
- visibility
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality
- latitude
- longitude
- feelsLikeTemp
- isCurrentLocation

New fields for daily forecast:

Deprecate the old "Forecast" class, which was not versioned, but keep it for backwards compatibility with old apps. Old WeatherSpec forecasts are de-serialized into the new Daily class. New fields:

- windSpeed
- windDirection
- uvIndex
- precipProbability
- sunRise
- sunSet
- moonRise
- moonSet
- moonPhase
- airQuality

Add hourly values:
- timestamp
- temp
- conditionCode
- humidity
- windSpeed
- windDirection
- uvIndex
- precipProbability

Air Quality:
- aqi (plume)
- co
- no2
- o3
- pm10
- pm25
- so2
- coAqi
- no2Aqi
- o3Aqi
- pm10Aqi
- pm25Aqi
- so2Aqi
2023-08-27 15:13:57 +00:00
José Rebelo 42f35259fc Amazfit Bip 3 Pro: Enable HR stats and sleep respiratory rate 2023-08-26 17:52:10 +01:00
José Rebelo 7e848d19fb Zepp OS: Handle watchface change 2023-08-26 15:47:04 +01:00
José Rebelo 55d0697c44 Huami: Display explicit error if there is not enough free space 2023-08-26 12:14:23 +01:00
José Rebelo d273e6652b Amazfit Bip 3 Pro: Remove unsupported display items 2023-08-25 22:25:10 +01:00
José Rebelo c01a33077e Huami: Enforce a maximum of 16 items on the main screen 2023-08-25 13:58:32 +01:00
José Rebelo 20d0d61ed8 WeatherSpec: Add a note on forecasts list 2023-08-23 16:16:40 +01:00
José Rebelo da779e9864 Zepp OS: Improve weather code mapping 2023-08-23 15:48:26 +01:00
José Rebelo fe58d64192 Zepp OS: Fix weather 2023-08-23 15:08:16 +01:00
José Rebelo 2320043c00 Fix min temp in cached weather data debug popup 2023-08-22 17:38:33 +01:00
José Rebelo 74dc0f70a6 Contacts: Migrate to ActivityResultContracts 2023-08-21 21:48:03 +01:00
José Rebelo 353c6d9679 Languages: Add some english, french and spanish variants 2023-08-21 16:11:52 +01:00
José Rebelo 36e357ba67 Zepp OS: Add Alexa shortcut card 2023-08-21 15:55:58 +01:00
José Rebelo 50f962c520 Show UV Index and precip probability for cached weather 2023-08-20 10:01:15 +01:00
José Rebelo b029aa252d Update changelog 2023-08-18 22:07:05 +01:00
José Rebelo 454d766e88 Zepp OS: Add all remaining devices as experimental 2023-08-18 12:16:36 +01:00
José Rebelo e5faf518ea Add support for experimental devices 2023-08-18 12:16:36 +01:00
José Rebelo 0a19f88a3f Amazfit Bip 3 Pro: Fix device icon for square device 2023-08-18 12:16:36 +01:00
José Rebelo 3fae1accb1 Zepp OS: Send calendar event location 2023-08-18 08:54:07 +01:00
José Rebelo b1bedfaa56 Keep charts current date on config changes 2023-08-16 13:42:44 +01:00
José Rebelo b297e767ad Amazfit Bip 3 Pro: Initial support 2023-08-16 12:27:00 +01:00
José Rebelo 515b9efce8 Zepp OS: Fix calendar sync for Zepp OS 2 2023-08-14 18:40:39 +01:00
José Rebelo d6567e553f Zepp OS: Map barcode types for ITF, PDF_417 and DATA_MATRIX 2023-08-14 14:12:46 +01:00
José Rebelo 19e7003c95 Zepp OS: Query calendar service version 2023-08-14 10:16:40 +01:00
José Rebelo 3716d99788 Add test to ensure no duplicated DeviceType keys 2023-08-13 13:56:57 +01:00
José Rebelo 0e06bde741 Zepp OS: Enable AGPS updates for all devices 2023-08-12 13:25:19 +01:00
José Rebelo 13af55bd2e Zepp OS: Add Zepp Coach display item and shortcut card 2023-08-12 13:18:20 +01:00
José Rebelo ee5325418a Zepp OS: Fix shortcut cards setting on Zepp OS 2.1 2023-08-12 13:18:20 +01:00
José Rebelo cecca8c17e Add Termux RUN_COMMAND permission 2023-08-09 20:50:33 +01:00
José Rebelo 3799c51dc3 Add preference to display changelog on startup 2023-08-09 20:00:47 +01:00
José Rebelo 7fb34eb262 Build nightly changelog from git 2023-08-09 20:00:47 +01:00
José Rebelo 942e853ca7 Prevent display of empty changelog 2023-08-09 19:37:27 +01:00
José Rebelo 3dc7fcad00 Update changelog 2023-08-09 17:57:44 +01:00
José Rebelo 180ed42ee1 Bangle.js: Handle fw and hw versions 2023-08-09 09:09:52 +01:00
José Rebelo a95820d09e Bangle.js: Fetch activity data 2023-08-08 22:11:14 +01:00
José Rebelo f97250d46b Upgrade ZeTime settings to androidx 2023-08-08 20:14:27 +01:00
José Rebelo f0067ebeae Upgrade Mi Band preferences to androidx 2023-08-08 20:10:05 +01:00
José Rebelo 61a78c0ad8 Move user name to about user preferences
- Remove from Mi Band prefs
- Remove fitness goal from mi band prefs - it's also un the about user
  section
- During pairing, direct user to the about user if there is invalid data
2023-08-08 20:10:05 +01:00
José RebeloandArjan Schrijver 99769702db Add margin to FM frequency picker preset buttons 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 4688f7d43c Fix chart legend text color on dark theme 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver f67d33fb58 Set dialog title for canned messages 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 88ebbdad7a Fix changelog background color to match dialog 2023-08-08 08:47:26 +00:00
José RebeloandArjan Schrijver 3e1b6b2f4d Fix sport activity details header background color 2023-08-08 08:47:26 +00:00
José Rebelo 2bda160fb5 Bangle.js: Allow enable/disable alarms 2023-08-06 00:23:05 +01:00
José Rebelo 28783ce146 Replace long changelog word to prevent horizontal scroll 2023-08-05 09:35:12 +01:00
José Rebelo 0aa0f14e75 Amazfit T-Rex Pro: Add to list of supported devices 2023-07-29 11:29:56 +01:00
José Rebelo 2d7a6b80eb Migrate Loyalty Cards preferences to AbstractSettingsActivityV2 2023-07-28 22:47:39 +01:00
José Rebelo fe95d9aaa8 Fix disable log preference if log file not initialized
Regression introduced by 01b457895
2023-07-28 21:31:48 +01:00
José RebeloandJosé Rebelo f3c74267c5 Set OpenTracks selection spinner to current package 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo 47a757bd91 Set default name for database export file 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo f9ef3f47ab Extract Pebble and HPlus settings to standalone activities 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo e068bfdb75 Fix crash when acquiring location 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo e9af9d9b4a Disable reserved icon space for all settings 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo db112cc90a Reformat preferences.xml 2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo 12b5ec8415 Upgrade Settings to androidx
- Extend AbstractSettingsActivityV2
- Replace all checkbox preferences with switch preferences
- Add app:useSimpleSummaryProvider to all preferences that were in getPreferenceKeysWithSummary
- Add null checks on all prefs to fix crashes in nested preference screens
- Replace listeners with lambdas to reduce code indentation
- Set input type to number where relevant
2023-07-28 20:21:53 +00:00
José RebeloandJosé Rebelo f4b059f173 Introduce AbstractSettingsActivityV2
This class introduces some of the common logic across preference
screens, handling nested PreferenceScreens, as well as the back button
and action bar title setting.
2023-07-28 20:21:53 +00:00
José Rebelo 597373f126 Allow filtering notifications from work profile apps 2023-07-28 18:53:50 +01:00
José Rebelo 078d3e2a55 Make application list sorting case-insensitive 2023-07-28 18:50:02 +01:00
José Rebelo 48ee259d89 Bangle.js: Reorganize device settings 2023-07-27 18:38:15 +01:00
José Rebelo b1160c994a Update changelog 2023-07-26 18:25:11 +01:00
José Rebelo 4ad0c58c13 Bump schema version
Needed after the c1fd0b77ad rebase
2023-07-26 18:21:58 +01:00
José Rebelo 606e20a065 Amazfit GTR/S 3: Enable AGPS Updates 2023-07-25 21:47:12 +01:00
José Rebelo 69ae0817cf Upgrade Q-Hybrid watchface settings to androidx 2023-07-25 20:52:39 +01:00
José Rebelo bac1d35479 Upgrade notification settings to androidx 2023-07-25 19:52:12 +01:00
José Rebelo 58526ebf87 Remove reserved space for icons from charts and about user preferences 2023-07-25 12:29:52 +01:00
José Rebelo cac92fdc26 Upgrade discovery and pairing preferences to androidx 2023-07-25 12:24:42 +01:00
José Rebelo f08c08005b Upgrade about user preferences to androidx 2023-07-25 09:22:45 +01:00
José Rebelo cac41ea945 Upgrade charts preferences to androidx 2023-07-25 09:22:41 +01:00
José Rebelo 116703adff Pull reusable preferences logic to AbstractPreferenceFragment 2023-07-24 23:34:00 +01:00
José Rebelo dd91716680 Amazfit GTR 4: Whitelist fw 3.23.3.1 diff from 3.21.0.1 2023-07-24 20:08:35 +01:00
José Rebelo 3b7f4f7238 Allow for gatt write request responses
Allow for support classes to send a write request response to the
device, fi requested. The standard actually expects this to happen, but
Gadgetbridge did not originally support it, so there are concerns that
enabling this globally will cause issues for devices that do not expect
the response.

See also: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2831#issuecomment-941568
2023-07-24 18:16:23 +01:00
José Rebelo a02a6cba14 Update device settings action bar title depending on current screen 2023-07-23 22:27:11 +01:00
José Rebelo b1ceb96100 Fix notification filters by title if notification does not contain a body 2023-07-23 21:02:46 +01:00
José Rebelo a746943603 Settings: Move Intent API to standalone preference screen 2023-07-23 19:48:59 +01:00
José Rebelo 702651c119 Sony WH-1000XM3/WF-SP800N: Add volume setting 2023-07-23 19:40:11 +01:00
José Rebelo 059b857e45 Update changelog 2023-07-22 20:52:13 +01:00
José Rebelo 247a954920 Huami/Zepp OS: Improve reconnection
- Remove notification on unneeded characteristics for Zepp OS devices
- Reset MTU before initializing device, since the support class is
  reused when reconnecting, and keeping the previous high MTU before
  renegotiating again can make the initialization fail sometimes
  (band will never reply)
- If any of the chunked characteristics is null during initialization,
  mark the device as waiting for reconnect, which will make it retry the
  connection later with a backoff delay.
2023-07-22 20:31:26 +01:00
José Rebelo aa87c5abeb Fix reconnect delay reset after all devices are initialized 2023-07-22 20:28:25 +01:00
José Rebelo db4349bfc9 Huami: Display fetch operation description 2023-07-22 20:27:20 +01:00
José Rebelo 07ec8a095b Zepp OS: Handle fitness goals in Huami2021Support
HuamiSupport handles configurations with performInitialize, which may
trigger a device reinitialization if called while the device is already
initializing.

Handle fitness goals in Huami2021Support, which should be one of the
last settings still missing.
2023-07-22 14:35:54 +01:00
José Rebelo 76576af324 Huami 2021: Do not initialize device for chunked ack
Since we now handle chunked acks as of 74dac3f5c, these may happen
during device initialization. We must not use performInitialized, or
initializeDevice will be called twice, since the device will still not
be in INITIALIZING state.
2023-07-22 13:50:54 +01:00
José Rebelo 7eee3e16cd Update changelog 2023-07-22 10:47:12 +01:00
José Rebelo 57ef0ded64 Sony WH-1000XM5: Fix speak-to-chat enable/disable 2023-07-22 10:24:33 +01:00
José Rebelo 5c78488e93 Fix emoji transliteration 2023-07-20 21:54:31 +01:00
José Rebelo bdb904faf9 Fix character mark removal before flattening to ASCII 2023-07-17 22:42:53 +01:00
José Rebelo 12dd9651e7 Fix opening screenshots from notification on external apps 2023-07-17 00:09:10 +01:00
José Rebelo 896e89b256 Fix PAI high label 2023-07-16 20:48:27 +01:00