Commit graph

683 commits

Author SHA1 Message Date
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
dependabot[bot] 6afee3a23c
Bump bruceadams/get-release from 1.2.2 to 1.2.3 (#1695)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  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:10 -04:00
dependabot[bot] a4d1e2df9a
Bump actions/setup-java from 2.2.0 to 2.3.0 (#1694)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.2.0...v2.3.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>
2021-09-01 10:28:50 -04:00
dependabot[bot] db92c4a568
Bump jackson-module-kotlin from 2.12.4 to 2.12.5 (#1693)
Bumps [jackson-module-kotlin](https://github.com/FasterXML/jackson-module-kotlin) from 2.12.4 to 2.12.5.
- [Release notes](https://github.com/FasterXML/jackson-module-kotlin/releases)
- [Commits](https://github.com/FasterXML/jackson-module-kotlin/compare/jackson-module-kotlin-2.12.4...jackson-module-kotlin-2.12.5)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.module:jackson-module-kotlin
  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:28:37 -04:00
Ramon 28195118d5
Fixes app crash when calling show warning from background thread. (#1684) 2021-08-23 09:01:32 -04:00
Sebastian Nohn c3a90cbbd8
fix product name (#1682) 2021-08-23 08:52:06 -04:00
dependabot[bot] c78ae4fe8a
Bump android-beacon-library from 2.19.1 to 2.19.2 (#1688)
Bumps [android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.1 to 2.19.2.
- [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/compare/2.19.1...2.19.2)

---
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-08-23 08:49:59 -04:00
dependabot[bot] 06d0584571
Bump sentry-android from 5.0.1 to 5.1.1 (#1687)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 5.0.1 to 5.1.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.0.1...5.1.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 08:44:21 -04:00
dependabot[bot] be012b81cd
Bump gradle from 7.0.0 to 7.0.1 (#1686)
Bumps gradle from 7.0.0 to 7.0.1.

---
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-08-23 08:32:09 -04:00
dependabot[bot] 626a28759c
Bump spek-dsl-jvm from 2.0.16 to 2.0.17 (#1679)
Bumps [spek-dsl-jvm](https://github.com/spekframework/spek) from 2.0.16 to 2.0.17.
- [Release notes](https://github.com/spekframework/spek/releases)
- [Changelog](https://github.com/spekframework/spek/blob/2.x/docs/breaking-changes.md)
- [Commits](https://github.com/spekframework/spek/compare/2.0.16...2.0.17)

---
updated-dependencies:
- dependency-name: org.spekframework.spek2:spek-dsl-jvm
  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-08-17 09:08:22 -04:00
dependabot[bot] 16cfbc998a
Bump actions/setup-java from 2.1.0 to 2.2.0 (#1678)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.1.0...v2.2.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>
2021-08-17 09:03:59 -04:00
dependabot[bot] ae01677af5
Bump android-beacon-library from 2.18 to 2.19.1 (#1680)
Bumps [android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.18 to 2.19.1.
- [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>
2021-08-17 08:52:05 -04:00
dependabot[bot] 66a8847758
Bump google-services from 4.3.8 to 4.3.10 (#1681)
Bumps google-services from 4.3.8 to 4.3.10.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-17 08:39:25 -04:00
Daniel Shokouhi fffe7d9159
Remove version check during registration (#1674) 2021-08-11 14:18:46 -04:00
Justin Bassett 2da4578f79
Update to use latest Android Gradle Plugin. (#1655)
* Update to use latest Android Gradle Plugin.
This includes updating to use Java 11.
Also bump a test dep.

* Bump Dagger

* Naming of task for JDK Setup.

* Disable test.... scopes stink for testing.

* ktlint.
2021-08-06 21:41:30 -04:00
Daniel Shokouhi 932b28bdad
Allow notifications to only alert once if set (#1662) 2021-08-03 10:34:50 -04:00
Daniel Shokouhi b7905d430b
Fix service call for tiles to account for scenes (#1664) 2021-08-03 10:26:37 -04:00
Daniel Shokouhi a98c7ef19b
Make icon optional for zone attributes (#1654) 2021-07-29 22:39:46 -04:00
Daniel Shokouhi 40395d1773
Add a binary sensor for the state of high accuracy mode (#1653) 2021-07-29 22:35:39 -04:00
dependabot[bot] d5c0411a5e
Bump spek-dsl-jvm from 2.0.8 to 2.0.16 (#1648)
Bumps [spek-dsl-jvm](https://github.com/spekframework/spek) from 2.0.8 to 2.0.16.
- [Release notes](https://github.com/spekframework/spek/releases)
- [Changelog](https://github.com/spekframework/spek/blob/2.x/docs/breaking-changes.md)
- [Commits](https://github.com/spekframework/spek/compare/2.0.8...2.0.16)

---
updated-dependencies:
- dependency-name: org.spekframework.spek2:spek-dsl-jvm
  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-07-26 08:32:30 -04:00
Nelson Osacky 2ae76e95e9
Update Kotlin and Gradle versions. (#1649) 2021-07-26 08:28:00 -04:00
dependabot[bot] a5168d90ca
Bump spek-runner-junit5 from 2.0.8 to 2.0.16 (#1645)
* Bump spek-runner-junit5 from 2.0.8 to 2.0.16

Bumps [spek-runner-junit5](https://github.com/spekframework/spek) from 2.0.8 to 2.0.16.
- [Release notes](https://github.com/spekframework/spek/releases)
- [Changelog](https://github.com/spekframework/spek/blob/2.x/docs/breaking-changes.md)
- [Commits](https://github.com/spekframework/spek/compare/2.0.8...2.0.16)

---
updated-dependencies:
- dependency-name: org.spekframework.spek2:spek-runner-junit5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Roll back to 2.0.15 because of https://github.com/spekframework/spek/issues/964

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Basset, Justin <Bassett.JustinT@gmail.com>
2021-07-25 23:22:33 -04:00
dependabot[bot] be056bc25d
Bump com.github.ben-manes.versions from 0.38.0 to 0.39.0 (#1644)
* Bump com.github.ben-manes.versions from 0.38.0 to 0.39.0

Bumps com.github.ben-manes.versions from 0.38.0 to 0.39.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Remove failing test until we move away from dagger.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Basset, Justin <Bassett.JustinT@gmail.com>
2021-07-25 22:50:55 -04:00
Justin Bassett c5ebd99a48
Dependency Updates. (#1643)
* Dependency Updates.
Needed to correctly call for Firebase Token in ioScope not main.

* Bump coroutines test dep as well.
2021-07-25 20:56:58 -04:00
dependabot[bot] 5df272a8f6
Bump mockk from 1.9.3 to 1.12.0 (#1635)
Bumps [mockk](https://github.com/mockk/mockk) from 1.9.3 to 1.12.0.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.9.3...v1.12.0)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  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-07-25 17:19:00 -04:00
dependabot[bot] 52688d0172
Bump jackson-module-kotlin from 2.12.3 to 2.12.4 (#1633)
Bumps [jackson-module-kotlin](https://github.com/FasterXML/jackson-module-kotlin) from 2.12.3 to 2.12.4.
- [Release notes](https://github.com/FasterXML/jackson-module-kotlin/releases)
- [Commits](https://github.com/FasterXML/jackson-module-kotlin/compare/jackson-module-kotlin-2.12.3...jackson-module-kotlin-2.12.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.module:jackson-module-kotlin
  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-07-25 17:15:18 -04:00
dependabot[bot] 583ba96b97
Bump org.jlleitschuh.gradle.ktlint from 10.0.0 to 10.1.0 (#1634)
Bumps org.jlleitschuh.gradle.ktlint from 10.0.0 to 10.1.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>
2021-07-25 16:59:29 -04:00
dependabot[bot] 0db2645455
Bump bruceadams/get-release from 1.2.1 to 1.2.2 (#1622)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  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-07-25 16:57:24 -04:00
Justin Bassett 6d27dc4904
Setup Java Update + dependabot update (#1639)
* Update setup-java action to version 2.

* Update dependabot.yml to only use root for gradle.  It recursively looks for build.kt files
2021-07-25 16:54:51 -04:00
Justin Bassett 151957436c
Fix Playstore Publish and add Dependabot (#1621)
* Fix GPP error and remove deprecated repos.

* Migrate off Config.kt so we can enable dependabot.

* Add Dependabot config.
2021-07-25 15:33:59 -04:00
nick2525 fe8aa454de
Kotlin Styling (#1610)
* use when

* replace context?.getString() with getString() in fragment

Co-authored-by: nick2525 <test@test.com>
2021-07-20 09:06:10 -04:00
uvjustin 9a1f9c0502
Bump exoplayer version (#1588)
* Bump Exoplayer to v2.14.0
Use Player.Listener instead of deprecated VideoListener

* Remove transparent background

* Add cronet extension for http2 support

* Bump exoplayer version to 2.14.1
2021-07-20 08:51:34 -04:00
Basset, Justin 6f0a07baf4 Come full circle with GPP.
Now using snapshot with fix hopefully.
2021-06-10 19:44:48 -04:00