Commit graph

1688 commits

Author SHA1 Message Date
Joost Lekkerkerker 59fa25ece0
Migrated all table and column names to lower snake case (#3195)
* Migrated all table names to lower snake case

* Migrated all table names to lower snake case

* Migrated all table names to lower snake case

* Migrated all column names to lower snake case

* Migrated all column names to lower snake case

* Merged the migrations to 1 migration

* Fixed feedback

* Update migration script
2023-01-24 22:30:36 -05:00
Daniel Shokouhi 65696e891b
Make conversation activity launchable (#3254)
* Make conversation activity launchable

* Use better launcher icons per review comments

* Review comments
2023-01-24 22:27:04 -05:00
Daniel Shokouhi 96cf4f82a3
Update change log week of 1/20 (#3247)
* Update change log week of 1/20

* Tweak wording
2023-01-21 10:55:55 -08:00
Joris Pelgröm 38d394f839
Fix scene and script Android Auto actions (#3252)
- Scenes need to be turned on
 - Scripts need to be turned on and off
2023-01-21 08:01:50 -05:00
Joris Pelgröm 9e8e37a5c2
Fix conversation tile vibrate after settings split (#3246) 2023-01-20 19:59:53 +00:00
dependabot[bot] fd8f138c6c
Bump sentry-android from 6.11.0 to 6.12.1 (#3237)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.11.0 to 6.12.1.
- [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.11.0...6.12.1)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 19:17:48 +00:00
dependabot[bot] dcac0f8a42
Bump google-services from 4.3.14 to 4.3.15 (#3245)
Bumps google-services from 4.3.14 to 4.3.15.

---
updated-dependencies:
- dependency-name: com.google.gms:google-services
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 14:11:47 -05:00
Joris Pelgröm a4fd7d4fd8
Set Wear OAuth redirect URI automatically and catch exceptions (#3244)
- Allow the Wear support libraries to specify the redirect URI to use for OAuth login
 - Catch any exceptions that might be thrown when building an OAuth request
2023-01-20 14:11:01 -05:00
Joris Pelgröm e382a4b687
Split app-level and server-level settings (#3241)
* Move server settings to a server settings screen

 - Move server-specific settings to a new screen to be accessed from the main settings only containing server specific settings in preparation for multiserver
 - Sensors is currently not server-specific even though one setting is stored by server ID, to be fixed later

* Store app preferences in another shared preferences file

 - Store app preferences not in the integration shared preferences file, but in the shared preferences file for general prefs (it is named themes but there are already other app-level prefs in it)
 - Move Wear specific preferences to it's own repository + shared preferences file

* Improve server row with local data

 - While we don't have a server name or user name, show the registration name when available to improve the server row layout

* Simplify location permission request code

 - Remove the flexible permission requests as it isn't used in the current settings structure, only expect location permissions
 - Switch from the deprecated functions to the new flow using activity result contracts

* Remove unused string
2023-01-20 14:10:21 -05:00
Daniel Shokouhi ca8059da65
Add bluetooth skippable intents in case sensor is not enabled (#3240) 2023-01-20 14:05:10 -05:00
Anna Tikhomirova 1638c0f99e
Wi-Fi sensor improvements (#3239)
Use rssi instead of scanResults to reliably get signal strength.
Get some info (IP, link speed, frequency, signal strength) and determine connection status even if Location is disabled on a device.
2023-01-20 14:04:50 -05:00
Daniel Shokouhi cce8b60c66
Conversation tile design changes (#3233)
* Update conversation UI with speech bubble

* Clean up design, vibrate when displaying response, close activity if screen turns off

* Review comments

* Switch response side to better match frontend

* Design tweaks

* Use row padding instead of spacer
2023-01-20 14:03:30 -05:00
Daniel Shokouhi 33fc6c3779
Skip showing connection prompt when loaded URL is local or api path (#3232)
* Skip showing connection prompt when loaded URL is local or api path

* Only check first segment to limit false positives
2023-01-20 14:02:55 -05:00
Daniel Shokouhi 346ef3da5f
Initial commit of notification support on Wear OS (#3221)
* Initial commit of wear OS notifications

* Update to allow message and title

* Move constants to object to reduce imports

* Split up logic to match phone app

* Update readme and set websocket to false for wear OS

* Bump firebase BOM
2023-01-20 14:02:03 -05:00
Justin Bassett 5cd74c0179
Add and Android Auto sensor! (#3228)
* Add and Android Auto sensor!

* Fix build.

* Add version check on sensor.
2023-01-16 08:50:07 -05:00
Daniel Shokouhi 9337f6b471
Fix conversation data response type (#3231) 2023-01-16 08:49:37 -05:00
Joris Pelgröm d722a4d725
Update Compose theme adapter dependency (#3229) 2023-01-16 08:43:02 -05:00
Daniel Shokouhi d7ee395306
Fix beacon monitor not updating after move to common (#3220) 2023-01-13 18:35:35 -05:00
Daniel Shokouhi 572324afb2
Update change log week of 1/13 (#3227) 2023-01-13 13:29:24 -05:00
Justin Bassett 1e910e7ec7
Bunch of Android Auto enhancements (#3225)
* Bunch of Android Auto enhancements

* Bump icon sizes.

* Formatting.

* Review Fixes.

* Ooops.

* Missed size.
2023-01-13 13:27:35 -05:00
dependabot[bot] 3dfdc72588
Bump gradle from 7.3.1 to 7.4.0 (#3222)
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 11:35:51 -05:00
Justin Bassett 220b73d20f
Bump a bunch of dependencies. (#3216) 2023-01-13 11:18:54 -05:00
Kostas Chatzikokolakis bca80f6391
Add UUID filter to Beacon Monitor (#3178) 2023-01-13 11:06:29 -05:00
Daniel Shokouhi a5cbe04315
Update conversation tile text and icon (#3209)
* Update conversation tile text and icon

* Minor design tweaks: increase corner radius, push down icon

* Update per review comment
2023-01-12 16:05:07 -05:00
Joris Pelgröm d6fbc1e95d
Minor Android Auto improvements (#3218)
- Fix low res entity icons
 - Fix domains not being translated
 - Add support for input_button
 - Use domain extension property
2023-01-12 15:26:40 -05:00
Justin Bassett d1e0f29486
Fix Build/Deploy 2023-01-11 22:44:30 -05:00
Daniel Shokouhi f3360b1b92
Update health services dependency (#3212) 2023-01-11 22:04:19 -05:00
Justin Bassett ee4272a168
Initial Android Auto Support (#3211)
* Initial work on Android Auto support.

* Get some toggling working, add a main view that is useful.

* Make sure we can test this on every commit.

* Migrate to full flavor.
2023-01-11 17:31:53 -05:00
dependabot[bot] df47acb83c
Bump sentry-android from 6.10.0 to 6.11.0 (#3198)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.10.0 to 6.11.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.10.0...6.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 21:56:07 +00:00
Joris Pelgröm 081fd8b8c1
Try/catch for individual sensor updates (#3203)
- Individual sensor update exceptions weren't caught like for multiple sensor updates
2023-01-11 16:38:46 -05:00
Daniel Shokouhi 527325f153
Add missing phone permission to Wear manifest (#3200) 2023-01-11 16:38:25 -05:00
Daniel Shokouhi db63a38cd5
Migrate bluetooth sensors to common and add to wear OS (#3168)
* Migrate bluetooth sensors to common and add to wear OS

* Add missing BT permissions and register for state change events

* Update permissions again
2023-01-11 16:37:00 -05:00
Daniel Shokouhi afd8a21fbd
Update changelog week of 12/31 (#3192) 2022-12-31 19:41:58 -05:00
Joris Pelgröm efb2390597
Add option for unlocked only quick settings tiles (#3189)
- Add option to quick settings tile to only allow interacting with it when the device is unlocked, similar to device controls on Android 13 (but phrased differently to match the system default behavior)
2022-12-30 20:34:31 -05:00
Justin Bassett 1bbd047626
Sentry Config (#3191)
Hide Sentry Config
2022-12-30 20:34:20 -05:00
Joris Pelgröm a9e3a5daee
More quick settings tiles when needed (#3185)
- Add a lot more quick settings tile services
 - Enable QS tile services only for tiles up to the highest tile # in use + 4, with a minimum of 12, to prevent long lists and make it work 'automagically'
2022-12-30 20:27:27 -05:00
Joris Pelgröm 4ff2fcca4b
Update instead of cancel notification on replies (#3167)
* Update instead of cancel notification on reply

 - When a notification is replied to, update it instead of cancelling it to allow the other to continue manipulating it

* Support multiple replies

 - Keep a history of replies in the bundle to match system behavior

* Only keep replies that are actually shown
2022-12-30 20:15:36 -05:00
dependabot[bot] 37e00233bd
Bump android-beacon-library from 2.19.4 to 2.19.5 (#3179)
Bumps [android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.4 to 2.19.5.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:53:50 -05:00
dependabot[bot] a2499e6389
Bump sentry-android from 6.9.2 to 6.10.0 (#3164)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.9.2 to 6.10.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.9.2...6.10.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:53:37 -05:00
Joris Pelgröm e9712582b4
Fix app lock bypass on home WiFi command, code style (#3173)
* Fix app lock bypass on home WiFi command, code style

 - Fix the app lock bypass when on home WiFi notification command
 - Fix code style for app lock notification commands

* Consistent variable names
2022-12-30 19:53:02 -05:00
George Adams 59dfe7c769
Migrate setup-java action to use Temurin (#3172)
* Migrate setup-java action to use Temurin

AdoptOpenJDK has moved to the Eclipse Foundation and now distributes binaries under the new name "Eclipse Temurin"

* Update pr.yml

* Update release.yml

* Update weekly.yaml
2022-12-30 19:52:44 -05:00
Justin Bassett 1a4e3d3b98
Use full version for amazon deployment. 2022-12-22 11:20:12 -05:00
Daniel Shokouhi 4f5f6a1539
Update change log 12/19 (#3165)
* Update change log 12/19

* Remove trailing space

* Combine all QS tile updates
2022-12-20 12:07:10 -05:00
Justin Bassett efc4f0af49
Migrate to more recently updated Action. (#3163) 2022-12-19 04:42:57 +00:00
Justin Bassett ce8049729e
Add support for publishing to Amazon on release. (#3162)
* Add support for publishing to Amazon on release.

* Fix beta deploys....
2022-12-19 04:11:15 +00:00
Justin Bassett d5f8de3ce8
Fix build that I accidentally pushed to master.... 2022-12-18 22:27:53 -05:00
Bassett, Justin 994fdc264c Remove all remaining deprecated Github Actions. 2022-12-18 22:24:05 -05:00
Joris Pelgröm f928da2e6d
Matter dependency update and tweaks for shared devices + errors (#3161)
* Update Matter dependency

* Improve shared device commissioning

 - Show device name if available
 - Show error codes if returned

* Show toast for commissioning request errors

 - When an error occurs for commissioning requests/before the Play Services UI is shown, show a toast informing the user that Matter is currently unavailable. Most user-facing errors will be shown in the Play Services UI (during commissioning).
2022-12-18 21:37:35 +00:00
chriss158 e5191aed51
Add setting to start the app always on the first dashboard view (#3024)
* Add setting to start the app always on the first dashboard view

* Run linting

* Do not close SettingsActivity

* Only show first view if not in HA Config + Fix flash of dashboard when navigating to app settings

* Scroll to top when calling first view of dashboard

If we are on a another view a we are scrolled to the bottom, the first view will be also at the bottom

* Use default dashboard as starting dashboard

* Allow HA config dashboard to call the first view of dashboard

- Also disallow /hassio (Home Assistant addons) to call the first view

* Enhance show first view setting description

* Fix class name spelling LifecycleHandler

* Fix calling first view of dashboard on config/areas and config/automation

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2022-12-18 21:08:22 +00:00
Joris Pelgröm 7e5e3adfe9
Use entity icon for quick settings tiles by default (#3160)
- When creating a new quick setting tile, use the entity's icon by default
 - Move Wear icon based on entity domain code to common
2022-12-18 15:31:01 -05:00