Commit graph

1883 commits

Author SHA1 Message Date
Joris Pelgröm 607833d4c7
Update launcher icon, Play Store feature graphic (#3960)
* Update launcher icon, Play Store feature graphic

 - Update launcher icon to better match other Android app launcher icon sizes
 - Update Play Store feature graphic to new version

* Cannot deduplicate this launcher icon on Wear

* ktlint
2023-10-20 17:47:26 -04:00
Daniel Shokouhi e10ec793d4
Show sensor state in secondary label in Wear OS sensor UI (#3959)
* Show sensor state in secondary label in Wear OS sensor UI

* Review comments

* Remove runBlocking in previews and invert label check to match phone
2023-10-20 17:46:41 -04:00
Joris Pelgröm cda25479d6
Add clear_notification support to Wear OS (#3956)
- Move the clear_notification command to common extensions and add support in the Wear OS app
2023-10-20 17:45:48 -04:00
Joris Pelgröm a94c90e5aa
Improve camera tile add/remove event handling (#3954)
- If there is already a camera tile with the ID of the tile in `onTileAddEvent` stored in the database, don't overwrite it with a new blank tile as the user configuration might be lost.
 - Run add/remove event code blocking to prevent the system immediately destroying the service and as a result cancelling the work to save tile data in the database. Without the blocking code I could semi-reliably get it to destroy the service within several milliseconds of adding/removing, often preventing the database code from running.
2023-10-20 17:45:15 -04:00
Daniel Shokouhi 6118933e4e
Update change log week of 10/13 (#3939) 2023-10-14 08:33:42 -04:00
Joris Pelgröm 4486a42400
Add Harman template host to car service allowlist (#3937) 2023-10-14 08:33:21 -04:00
dependabot[bot] 84d3a86d6d
Bump io.sentry:sentry-android from 6.30.0 to 6.31.0 (#3936)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.30.0 to 6.31.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.30.0...6.31.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 08:33:09 -04:00
dependabot[bot] dd4c0a126f
Bump org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1 (#3927)
Bumps org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 20:52:29 -04:00
dmiales eba9295644
Bugfix/crash web view (#3787)
* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView codereview
2023-10-12 20:52:16 -04:00
Joris Pelgröm dbbf7473ac
Prevent notification attachments failing due to spaces ( ) in url (#3930) 2023-10-12 20:50:32 -04:00
Joris Pelgröm 26c6bcd282
Fix icon button sizes (#3918)
* Fix icon button sizes

* Merge fixes
2023-10-06 18:38:09 +00:00
Joris Pelgröm 65863148fc
Update entity button with toggle styling to match M3 components (#3923)
Update entity button styling to match M3 components
2023-10-06 18:08:22 +00:00
Daniel Shokouhi fb739596fc
Change log week of 10/6 (#3922) 2023-10-06 12:57:06 -04:00
Daniel Shokouhi 2a597602f1
Fix detail pane after material 3 migration, add additional previews (#3920) 2023-10-06 12:56:48 -04:00
Daniel Shokouhi 709ca07e8c
Shorten some settings strings (#3921)
* Shorten some settings strings

* Remove unused string
2023-10-06 16:51:32 +00:00
Justin Bassett 14751ae235 Remove the backtick from release notes. 2023-10-06 12:49:00 -04:00
Justin Bassett 1bdde35ad2 Hopefully fix generating release notes. 2023-10-06 12:36:49 -04:00
Joris Pelgröm f2e9541264
Fix Picker rotary input on some devices and update design (#3919) 2023-10-06 11:38:40 -04:00
Daniel Shokouhi f23a6cb046
Update Chip and ToggleChip to Button and ToggleButton except for WearToggleChip (#3917)
* Update complication config screen to m3 components

* Clean up some code so its resuable

* Review comments and bump library

* Migrate more screens

* Review comments

* Tweak some colors

* Use consistent button container color

* Remove unnecessary font color

* Tweak Button disabled color to match ToggleButton

* Update a couple more chips and a preview

* Use in app color default
2023-10-06 11:37:17 -04:00
Daniel Shokouhi d7a08d3b08
Update manual onboarding screens to prevent the button from overlapping elements (#3909)
* Update manual onboarding screen to prevent the button from overlapping elements

* Limit to 2 lines of text

* Switch to ScrollView

* Add padding for round devices

* Review comments
2023-10-05 09:58:08 -04:00
dependabot[bot] a14441ff1a
Bump org.altbeacon:android-beacon-library from 2.19.6 to 2.20 (#3915)
Bumps [org.altbeacon:android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.6 to 2.20.
- [Release notes](https://github.com/AltBeacon/android-beacon-library/releases)
- [Changelog](https://github.com/AltBeacon/android-beacon-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AltBeacon/android-beacon-library/commits)

---
updated-dependencies:
- dependency-name: org.altbeacon:android-beacon-library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 09:57:47 -04:00
dependabot[bot] 795654be48
Bump hilt from 2.48 to 2.48.1 (#3911)
Bumps `hilt` from 2.48 to 2.48.1.

Updates `com.google.dagger:hilt-android-compiler` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

Updates `com.google.dagger:hilt-android` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

Updates `com.google.dagger.hilt.android` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger.hilt.android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 09:57:44 -04:00
Daniel Shokouhi d3a1f318f8
Begin migrating Wear OS components to Material 3 (#3904)
* First commit of migrating Wear OS components to Material 3

* Tweak more colors, fix some variables, use switches and bold more text

* More clean up

* Fix color in default chip

* Clean up unused code
2023-10-05 09:57:41 -04:00
Márton Maráz 2641422e50
Add NFC state sensor (#3905)
* Add first draft for NFC sensor

* Rename NfcSensorManager.nfcSensor to nfcStateSensor

* Move NfcSensorManager to the common module

* Add BroadcastReceiver subscription to NfcAdapter.ACTION_ADAPTER_STATE_CHANGED in both the app and wear modules

* Remove TODO comments

* Change updateType to INTENT

* Convert simple methods to expression body

* Change mdi:nfc to mdi:nfc-variant

* Fix docs URL

* Reword NFC sensor manager according to the PR suggestions
2023-10-05 09:57:33 -04:00
Daniel Shokouhi 8c7e4e5b4f
Update gradle to 8.3 (#3903) 2023-10-02 18:28:44 -04:00
Daniel Shokouhi 49cc4aa7d3
Use recommended splash screen library for Wear OS (#3908)
* Use recommended splash screen library for Wear OS

* More tweaks per recommendations

* Add splash screen to Assist

* Add splash screen for Assist

* Use mipmap instead of drawable
2023-10-02 18:24:39 -04:00
Daniel Shokouhi f9c7bceac0
Switch to Wear Device specific preview (#3906) 2023-10-02 18:23:48 -04:00
Daniel Shokouhi b290d568ef
Update change log week of 9/29 (#3901)
* Update change log week of 9/29

* Move up icon change

* Update all version numbers
2023-09-29 22:51:46 -04:00
dependabot[bot] 09698f0e37
Bump io.sentry:sentry-android from 6.29.0 to 6.30.0 (#3900)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.29.0 to 6.30.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.29.0...6.30.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 22:48:21 -04:00
Joris Pelgröm ae3248ca4d
Update Wear more details screen to prevent cut off (#3899) 2023-09-29 22:47:36 -04:00
Daniel Shokouhi a15f7b3bc4
Add missing scroll bar to remaining screens (#3895)
* Add missing scroll bar to remaining screens

* Add Scaffold to ThemeLazyColumn

* Remove unneeded variable

* Remove nested scaffold
2023-09-29 08:29:56 -04:00
Joris Pelgröm 2f777a1379
ListHeader: fix text cut off (#3898)
ListHeader: set overflow, limit lines based on font size

 - Set overflow for ListHeader to ellipsis instead of cutting of text
 - Set the maximum number of lines for ListHeader based on the font size
 - Center text in the list header for nicer appearance in case of multiple ines
2023-09-28 17:40:39 -04:00
Joris Pelgröm 4a4cc31b97
Update icon (#3888)
* Update icon

 - Replace old icon with the new icon
 - Update app primary color to new blue tint
 - Deduplicate resources

* Update feature graphic

* Decouple app icon color from main color
2023-09-28 17:38:48 -04:00
Joris Pelgröm b0ad11d04f
Add troubleshooting tool: location history (#3886)
* Add location history (location, trigger, result)

 - Initial setup saving data, no UI, cleanup or preferences yet

* On/off setting, limit history size and basic UI

 - Add a on/off setting for location history (default on)
 - Limit the history size to 48 hours, any older entries will be deleted during regular sensor updates
 - Add a basic UI for location history based on paging considering the possible data size with multiserver/high accuracy. The list looks good and shows status at a glance, detail view still needs work.

* Finish expanded UI

 - Make the expanded UI nicer and show relevant data, buttons for opening the location in a maps app and sharing log data
 - Add empty states for location history

* Filter by state, improve list speed

 - Add option to filter by state
 - Simplify Room configuration and sort by indexed ID to improve list loading speed

* Remove duplicate source

* Fix minimal

* Split sent into sent and failed to send
2023-09-28 17:37:37 -04:00
dependabot[bot] 639d814408
Bump actions/setup-java from 3.12.0 to 3.13.0 (#3882)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 10:59:50 -04:00
Daniel Shokouhi 847b8f4a42
Update change log week of 9/22 (#3885) 2023-09-23 10:59:13 -04:00
Joris Pelgröm 43cc4d4a73
Fix rotary input after first screen & for picker (#3881)
- The recent switch to Horologist modifiers for rotary input broke after the first screen because of manual focus requesting, and the refresh interval picker in general so also switch that to a Horologist modifier.
2023-09-20 19:42:20 -04:00
Lev Aronsky a31cd2fdaa
Fix isActive for locks (#3862)
* Fix isActive for locks

Lock entity should be active when locked, inactive otherwise

* Added a comment to explain the change
2023-09-19 15:40:07 -04:00
dependabot[bot] 03e3cee8e3
Bump org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0 (#3877)
Bumps org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 15:39:39 -04:00
Dubzer 20f87c810b
Add smooth scrolling for rotary input (#3876) 2023-09-19 15:39:25 -04:00
Joris Pelgröm 3915ec6d8f
Automatically fix broken registrations/webhooks (#3875) 2023-09-19 15:38:50 -04:00
Justin Bassett 14907facb4
Update Fastlane (#3874)
* Update Fastlane

* Retry 5 times
2023-09-17 19:49:59 -04:00
Joris Pelgröm 2c20baf0f5
Add camera tile to Wear OS (#3870)
* [WIP] Prepare camera snapshot tile

* Deduplicate refresh views

* Get/save tile config in the database

* Deduplicate haptic click, add to camera refresh

* [WIP] Camera tile settings UI

 - Create UI to set camera tile settings
 - Reuse shortcut tile settings activity as a general tile settings activity

* Rename camera snapshot tile to camera tile

* Cleanup: camera entities selection, empty state, preview image

 - On initial load also create a list of camera entities to make it possible to select them without showing up elsewhere in the app
 - Add text to empty state instructing the user to set a camera
 - Update tile preview images

* Fix logged out state on missing tile config

* Force tile update on login

* Scale bitmap to fit inside screen size

 - Scale the received image to a bitmap that does not exceed the screen size to ensure timely refreshes and prevent parcels that are too big
2023-09-17 16:57:33 -04:00
Joris Pelgröm 8d4822a23d
Thread debug log: make extended PAN ID more readable (#3868) 2023-09-17 16:56:15 -04:00
Daniel Shokouhi 9ece6c7c28
Only use the base URL during onboarding if the URL is Nabu Casa (#3322)
* Only use the base URL during onboarding

* Use HttpUrl Builder to construct proper URL

* Move variable to try/catch block

* Only apply logic to NC URLs as those do not have custom path

* Only parse the end of the URL

* Deduplicate code per review
2023-09-17 16:55:38 -04:00
Joris Pelgröm 50a8b9eee2
Don't force on/yes/y/off/no/n to booleans for service button (#3858)
- Relax string conversion to boolean as this breaks other use cases.
2023-09-12 21:51:13 -04:00
Joris Pelgröm fb1bdc05bb
Prevent GeofencingRequest exception on no zones (#3857) 2023-09-12 21:48:53 -04:00
Joris Pelgröm 4163e1465e
Add Android 14 device controls panel (#3855)
* Prepare controls panel activity for Android 14

* Allow controls panel to work while locked

* UI to enable/disable controls panel

 - Disable panel by default
 - Add area to controls settings on Android 14 to enable/disable panel

* Panel server/path settings

 - Add setting to choose which server and path to use for the panel

* Remove transition animation for panel

* experience -> mode
2023-09-12 21:47:57 -04:00
Daniel Shokouhi 3568a69101
Change log week of 9/8 (#3853) 2023-09-08 20:29:32 -04:00
Justin Bassett a351dfb152
Fix production promotion. (#3851) 2023-09-08 20:29:16 -04:00