Commit graph

715 commits

Author SHA1 Message Date
Bassett, Justin cbf217c51a Try something else for publishing. 2021-10-13 23:46:49 -04:00
Justin Bassett 23329d90cb
Make sure to only commit once: https://github.com/Triple-T/gradle-play-publisher/issues/217 (#1781) 2021-10-13 23:17:32 -04:00
Justin Bassett 8fbc55e97b
Enable publishing the Wear OS to Beta. (#1772)
* Enable publishing the Wear OS to Beta.

* Make versionCode different for wear app.
2021-10-13 22:42:23 -04:00
Justin Bassett 51df8dd9a8
Dependency upgrades (#1775)
* Dependency upgrades

* Upgrade compile sdk.
2021-10-13 20:58:14 -04:00
apo-mak f51d7ef92c
add focus,for rotary input (#1780)
add focus,for rotary input.
#1779
2021-10-13 20:55:55 -04:00
Daniel Shokouhi 4893a293bb
Sort entity list and add debug resources for wear app (#1778) 2021-10-13 20:55:37 -04:00
Daniel Shokouhi 243833ab33
Change welcome message text replacing Android with Companion (#1777) 2021-10-13 11:44:49 -07:00
Justin Bassett 1eb826cbcc
Cleanup deprecated build files. (#1774)
* Cleanup deprecated build files.

* ktlint
2021-10-12 23:35:05 -04:00
Justin Bassett 9681559603
Update Android build plugin. (#1773) 2021-10-12 23:25:30 -04:00
Daniel Shokouhi 9d2ec10ae3
Improve onboarding for new users (#1771)
* Improve onboarding for new users

* Change mention of instance to server in strings

* Add line breaks for example URLs
2021-10-12 22:44:04 -04:00
dependabot[bot] 84ede0b9c3
Bump android-junit5 from 1.6.2.0 to 1.8.0.0 (#1768)
Bumps [android-junit5](https://github.com/mannodermaus/android-junit5) from 1.6.2.0 to 1.8.0.0.
- [Release notes](https://github.com/mannodermaus/android-junit5/releases)
- [Commits](https://github.com/mannodermaus/android-junit5/compare/plugin-1.6.2.0...plugin-1.8.0.0)

---
updated-dependencies:
- dependency-name: de.mannodermaus.gradle.plugins:android-junit5
  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>
2021-10-12 22:31:42 -04:00
dependabot[bot] 6a29304b3e
Bump sentry-android from 5.2.0 to 5.2.1 (#1767)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 5.2.0 to 5.2.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/5.2.0...5.2.1)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-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>
2021-10-12 22:31:25 -04:00
dependabot[bot] 67fd8e388d
Bump android-beacon-library from 2.19.2 to 2.19.3 (#1766)
Bumps [android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.2 to 2.19.3.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 22:31:05 -04:00
leroyboerefijn 1573c2e796
Wear os scenes and scripts support (#1763)
* Implement scenes in home activity as a clickable list

* Add ripple effect to list items

* Add scripts as well
2021-10-12 22:30:40 -04:00
Oleksandr Kapshuk 4f22ed959e
Keep screen on notification command (#1760) 2021-10-11 08:37:32 -04:00
Paul Bottein 321df4801c
add percentage support for fan controls (#1761) 2021-10-11 08:36:29 -04:00
Daniel Shokouhi 2edc63c062
Allow intent commands to provide the class name (#1749)
* Allow intent commands to provide the class name

* Use a new parameter instead of sticky
2021-10-07 20:34:13 -04:00
dependabot[bot] 0841dd5d94
Bump dagger-compiler from 2.39 to 2.39.1 (#1752)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.39 to 2.39.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.39...dagger-2.39.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  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>
2021-10-07 18:32:43 -04:00
Daniel Shokouhi 73e198a2d9
Set group alert behavior based on alert_once notification parameter (#1757) 2021-10-07 18:29:14 -04:00
Oleksandr Kapshuk 8dac3823b9
Added settings option to keep screen on for webview activity (#1758) 2021-10-07 18:28:28 -04:00
nick2525 ddeefe92cc
androidX getSystemService() and fix warnings (#1755)
Co-authored-by: nick2525 <test@test.com>
2021-10-07 18:26:42 -04:00
dependabot[bot] 4cb5f5d679
Bump dagger from 2.39 to 2.39.1 (#1751)
Bumps [dagger](https://github.com/google/dagger) from 2.39 to 2.39.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.39...dagger-2.39.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  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>
2021-10-07 18:25:13 -04:00
dependabot[bot] 5fbeec015e
Bump actions/setup-java from 2.3.0 to 2.3.1 (#1750)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  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>
2021-10-07 18:24:59 -04:00
Daniel Shokouhi 553b614c2b
Add Auto-Backup rules to ignore unneeded files (#1747)
* Add backup rules for database and sharedpref only

* Include sharedprefs in backup
2021-10-07 18:22:30 -04:00
Daniel Shokouhi 73c61eacbb
Remove extra sensor worker call from webview (#1745) 2021-10-01 22:40:16 -04:00
Daniel Shokouhi 00cb726774
Increase the total amount of quick settings tiles to 12 (#1744) 2021-10-01 22:39:24 -04:00
Daniel Shokouhi d067804578
Bump work manager dependency (#1742) 2021-10-01 22:26:06 -04:00
dependabot[bot] 6303f717fc
Bump okhttp from 4.9.1 to 4.9.2 (#1740)
Bumps [okhttp](https://github.com/square/okhttp) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.1...parent-4.9.2)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  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>
2021-09-30 22:12:09 -04:00
dependabot[bot] 8b9f57c5ca
Bump jackson-module-kotlin from 2.12.5 to 2.13.0 (#1734)
Bumps [jackson-module-kotlin](https://github.com/FasterXML/jackson-module-kotlin) from 2.12.5 to 2.13.0.
- [Release notes](https://github.com/FasterXML/jackson-module-kotlin/releases)
- [Commits](https://github.com/FasterXML/jackson-module-kotlin/compare/jackson-module-kotlin-2.12.5...jackson-module-kotlin-2.13.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.module:jackson-module-kotlin
  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>
2021-09-30 22:04:40 -04:00
dependabot[bot] 91128a3743
Bump logging-interceptor from 4.9.1 to 4.9.2 (#1738)
Bumps [logging-interceptor](https://github.com/square/okhttp) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.1...parent-4.9.2)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:logging-interceptor
  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>
2021-09-30 21:47:12 -04:00
dependabot[bot] 761ac5ab4b
Bump sentry-android from 5.1.2 to 5.2.0 (#1739)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 5.1.2 to 5.2.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/5.1.2...5.2.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>
2021-09-30 21:46:23 -04:00
dependabot[bot] 7fd58a9b70
Bump dagger from 2.38.1 to 2.39 (#1736)
Bumps [dagger](https://github.com/google/dagger) from 2.38.1 to 2.39.
- [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.38.1...dagger-2.39)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  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>
2021-09-30 21:46:02 -04:00
dependabot[bot] 59ecaba7c2
Bump dagger-compiler from 2.38.1 to 2.39 (#1735)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.38.1 to 2.39.
- [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.38.1...dagger-2.39)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  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>
2021-09-30 21:38:34 -04:00
dependabot[bot] 5d756c4d05
Bump kotlin-stdlib-jdk8 from 1.5.30 to 1.5.31 (#1717)
Bumps [kotlin-stdlib-jdk8](https://github.com/JetBrains/kotlin) from 1.5.30 to 1.5.31.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  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>
2021-09-30 21:37:46 -04:00
Justin Bassett 577c679ef1
I'm giving up on the tests for now. We are seeing random failures… (#1737)
* I'm giving up on the tests for now.  We are seeing random failures consistantly now.  We need a better way to takle this.

* ktLint
2021-09-30 21:37:19 -04:00
Daniel Shokouhi d7c167e3c5
Fix notification default clickAction to load lovelace dashboard (#1723)
* Fix notification default clickAction to load lovelace dashboard

* Use a better default for clickAction
2021-09-30 21:34:25 -04:00
dependabot[bot] 740767cdf3
Bump kotlin-reflect from 1.5.30 to 1.5.31 (#1719)
Bumps [kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.5.30 to 1.5.31.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  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>
2021-09-30 20:49:16 -04:00
nick2525 a7628be64c
use androidx.core.view.isVisible (#1685)
* use androidx.core.view.isVisible

* remove empty primary constructor

Co-authored-by: nick2525 <test@test.com>
2021-09-30 20:42:42 -04:00
leroyboerefijn 5f904b980e
Wear os authentication (#1691)
* Initial proof-of-concept: sharing Session over data layer

* Add initial onboarding and login flow

In onboarding, the home assistant urls are received from connected devices. If the user clicks on it, the authentication flow starts.
The user can alter the login details and proceed to login.
The authentication uses the "auth/login_flow" api, instead of the normal authentication api, since there is no support for webview on wear os.

* Clean up wear and app communication

Clean up

* Add proof of authentication on home. And add logout button on home

* Update onboarding list

* Add loading views and error messages

* Move startup logic to HomeActivity to hopefully save some resources

* Add manual setup option and improve UI

* Cleanup

* Passing ktLintCheck

* Passing ktLintCheck after rebase

* Fix building after build.gradle changes during rebase

* Process review comments

Remove multiple product flavors
Remove unnecessary log
Replace margin with additional header
2021-09-30 20:41:22 -04:00
uvjustin d5ae97ed50
Bump exoplayer version to 2.15.1 (#1724)
* Bump Exoplayer version to 2.15.1

* Replace deprecated CronetEngineWrapper with CronetEngine.Builder

* Remove unused import
2021-09-30 20:39:39 -04:00
Nelson Osacky 2767952bc3
Update to Gradle 7.2 (#1726)
* Update to Gradle 7.2

Also update other plugins

* Fix ktlint violations
2021-09-30 20:37:51 -04:00
Bassett, Justin 540e5bbd52 Remove broken test for now. 2021-09-30 20:33:57 -04:00
Alfiegerner 6de530ac40
Set approximation of correct power beacon transmitter power level in DBs. (#1716)
* Set approximatation of correct power level in DBs.

* Update values for beacon TX values based on user feedback.
2021-09-20 08:00:13 -04:00
Daniel Shokouhi bcfe56d35d
Print the stack trace when authentication fails during onboarding (#1713) 2021-09-20 07:57:39 -04:00
Daniel Shokouhi 8316deb0da
Use a better icon name for DND (same icon just wont be removed in future release) (#1710) 2021-09-20 07:57:23 -04:00
dependabot[bot] c5e3d4a124
Bump gradle from 7.0.1 to 7.0.2 (#1702)
Bumps gradle from 7.0.1 to 7.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  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>
2021-09-09 12:45:34 -04:00
Johnny 6c573f1a45
Invoke error display on main thread to avoid crashing (#1703)
Failing to run the view change on the main thread may cause a
CalledFromWrongThread exception as the view may not have been created
from a thread in the IO pool.
2021-09-09 12:20:36 -04:00
dependabot[bot] 1f50d296ab
Bump kotlin-reflect from 1.5.21 to 1.5.30 (#1697)
Bumps [kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.5.21 to 1.5.30.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  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>
2021-09-01 10:38:24 -04:00
dependabot[bot] aa6b3b1ef7
Bump sentry-android from 5.1.1 to 5.1.2 (#1698)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 5.1.1 to 5.1.2.
- [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/5.1.1...5.1.2)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-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>
2021-09-01 10:30:15 -04:00
dependabot[bot] 0405402471
Bump kotlin-stdlib-jdk8 from 1.5.21 to 1.5.30 (#1696)
Bumps [kotlin-stdlib-jdk8](https://github.com/JetBrains/kotlin) from 1.5.21 to 1.5.30.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  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>
2021-09-01 10:29:45 -04:00