Commit graph

24 commits

Author SHA1 Message Date
Nelson Osacky 3a3577d3ca
Update distribution plugin. (#1079)
Also disable some unused build features to improve configuration time.
2020-10-20 09:34:45 -04:00
Nelson Osacky 010b63a5c3
Update to Gradle 6.7. (#1066)
Also enable Gradle parallel flag and caching flags.
2020-10-17 22:57:22 -04:00
Nelson Osacky 28152b6f6c
Add Gradle Build Scans (#1050)
* Add Gradle Build Scans

To discover insights in to which dependencies are pulling in older versions of kotlin.
For example:
https://scans.gradle.com/s/l3vm2auntthac/dependencies?dependencies=reflect&expandAll&focusedDependency=WzAsMyw3MzcsWzAsMCxbMV1dXQ&focusedDependencyIncomingPathsToggled=W1sxLDAsMV1d&focusedDependencyView=versions

* Only publish build scans on CI.
2020-10-16 07:28:41 -04:00
Justin Bassett 1f48c44f44
Clean up a bunch of warnings. (#1053)
* Clean up a bunch of warnings.

* Remove unused class.
2020-10-15 08:16:34 -04:00
Nelson Osacky 48b0d2fcff
Update AGP, Kotlin. (#1047)
This commit also enables the room incremental annotation processor.
This also fixes the export schema warning in the console logs.
2020-10-14 11:39:01 -04:00
Kevin T. Berstene 51072b9e0d
Created a media player control widget (#1005)
* Added initial media player widget code.  Has some work to do

* ktLint Fixes and corrected TODOs

* Finished TODO: Media image fetch and update

* Corrected rewind/fastforward functionality so it actually seeks

* Made requested minor changes

* Additional minor requested changes

* Appeasing the mighty ktlint

* Added integration GET request for single entity instead of requesting all entities and parsing results

* Corrected dark mode widget icons

* Fix merge conflicts and migration.

* Added toast notification for entity fetch failure

Co-authored-by: Basset, Justin <Bassett.JustinT@gmail.com>
2020-10-13 12:13:50 -04:00
Nelson Osacky 46dde1912e
Remove redundant buildscript declaration (#1029)
Update Gradle to 6.6.1, AGP to 4.0.2
Declare root project name
Use lazy task configuration
2020-10-11 13:38:46 -04:00
Justin Bassett 57358433f3
Initial Support for Android 11 Power Menu Actions (#1027)
* Upgrade target api.

* Proof of concept for Android 11 power menu controls.

* Support toggle types.

* More sustainable way to expand.

* Add input_number support.

* Add crappy fan support.

* Add Light support!

* Code Cleanup.
2020-10-11 00:37:40 -04:00
Daniel Shokouhi 49aaf1566f
Bump some app dependencies (#842)
* Bump some app dependencies

* Revert appcompat bump

* Revert constraintlayout bump
2020-08-29 16:53:23 -04:00
uvjustin c50c0adf0e
Add Exoplayer view and interface (#739)
* Add Exoplayer view and interface

* Fix play/pause buttons

* Support PictureInPicture

* Migrate dependencies to Config.kt

* Move code from inline to functions

* Add spacing in playback control layout

* Changes per @balloob

* Fix ktlint errors
2020-08-25 10:38:51 -04:00
Justin Bassett 4c91c34ec8
Let widgets use any material icon (#745)
* Functional widgets with all material icons to pick from.

* Load icons in io thread since it takes a hot second.

* Bump DB version.

* ktlint

* Blow away widget prefs since it was a hack anyway.

* Migrate static widgets to room db.

* ktlint and tests.

* Little more cleanup.

* More ktlint.

* Initial attempt at Migrations.

* Add missing Migrations.kt

* Add full migration support from old to new widgets.
2020-08-16 22:18:20 -04:00
chriss158 6bc19488b4
Add easier way to use of emoji in notifications (#741)
* Add easier way to use of emoji in notifications

* Try to exclude org.json:json

* Fix lint
2020-08-16 21:57:47 -04:00
David Luhmer ec9ff0ae6b
Add nfc support (#689) 2020-08-11 10:37:43 -04:00
Daniel Shokouhi 09ea80f5d6
Fix android dark mode (#717)
* Fix android dark mode

* Lint

* Remove extra spaces
2020-08-09 10:25:17 -04:00
Justin Bassett b2fd541c9c
Migrate to Sentry and remove Crashlytics (#686) 2020-08-01 09:36:37 -04:00
Justin Bassett bf29174a4a
Minimal Android Flavor (#682)
* Initial rip out of most of the Googley stuff.

* Lokalise plugin and dependencies removed.
They would be more useful if we had a large app with many translations.  However, with most of our UI being a PWA the usefulness of it is very limited.

* Both apps now build.... Yay

* Formatting.

* Tests and checks pass.

* Make sure Github Actions are up to date.

* Fix more unit tests.

* ktLint

* Use config class for gradle dependencies.
2020-07-31 07:46:54 -04:00
Neonicus 50d80413ce
Authentication Dialog Enhancement (#633)
* Authentication Dialog Enhancement

* Add "Remember" checkbox

* Add button for password visibility
2020-07-07 15:50:37 -04:00
Justin Bassett a455afd8a6
Update Production Release Steps. (#655)
Make it all automated!
2020-07-05 22:27:03 -04:00
Justin Bassett ad64855220
First attempt at CI action (#652)
* First attempt at CI action

* Split lints and test steps.

* Only run validate job on PR.

* First attempt at beta deploy via Github Actions

* Try to archive a debug version of application.

* Use static version of NDK.

* Add ENV variables to building the release.

* Ensure all secrets are used!

* Attempt to publish feature branch.

* Make sure all files are in place first.

* Ensure keystore is still accessible during deployment.

* Update README.md for the lack of automation for now.
2020-07-05 17:48:00 -04:00
Neonicus 756556046a
Fix Biometric Unlock & Enhancement (#625)
* Fix Biometric Unlock
* Add Prompt Unlock function directly in WebViewActivity
* Added session timeout in app settings
* App is locked when resumed (after session timed out)
* When the application is locked, the screen is blurred (no quite obnoxious splash screen to look at), which allows the HA frontend to be loaded before or during unlocking
* No button needs to be touched for unlock
* When the unlock prompt is displayed, the back button close the app
* Fix issues #555 and #587
2020-07-05 10:09:17 -04:00
Justin Bassett 90ccc7e2cd
Bump Version for 1.10.0 Release (#649) 2020-07-04 17:21:17 -07:00
Justin Bassett b191334309
Update crashlytics. (#624) 2020-06-11 20:49:30 -04:00
Justin Bassett 247cef3c72
Fix lint issues (#618)
* Increase tool version, enable linting again.

* Fix lint errors.

* Ensure ktlint is working.

* Use correct build tools in travis.
2020-06-11 13:15:50 -04:00
Tim f87ed32560
Feature/switch to kotlin dsl (#595)
* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Retrofit (and maybe others libs) requires java compile options 1.8, still backwards compatible.

* Prep for release 1.9.0-XXX

* Fix ktLint errors.
2020-06-10 15:16:11 -04:00