Commit graph

329 commits

Author SHA1 Message Date
Daniel Shokouhi 315309cb1d
Request a screenshot in the issue template and ask not to delete the template (#428)
* Request a screenshot in the issue

* Add note not to delete the template
2020-02-14 09:28:36 -08:00
Justin Bassett 03096668e2
Really fix firebase release notes location (#424) 2020-02-13 22:05:28 -05:00
Justin Bassett 03478310c0
Build/Release Changes (#423)
* Fix app version in settings.

* Dependency Upgrades

* Enable beta -> production promotion via tag in Travis.

* Fix firebase release notes location.

* Add some logging around what we are building.

* TRAVIS_PULL_REQUEST is a number or false....
2020-02-13 21:44:28 -05:00
Robbie Trencheny fb39094210
Bump version 2020-02-13 15:51:01 -08:00
Robbie Trencheny 4e446fb318
Update strings 2020-02-13 15:50:51 -08:00
JamesWong9 a380e1cb8f
Edit README.md file (#408) 2020-02-13 15:07:41 -08:00
Justin Bassett 465f7153db
Squash bugs (#416)
* Alert when SSL error happens during onboarding.

* Remove 'ok' string and use android default.

* Remove 'ok' string and use android default.
Fixes: https://github.com/home-assistant/home-assistant-android/issues/323

* Use androidx Alert in AuthenticationFragment.

* Linting.

* Ensure we only optimize devices that can.
2020-02-13 11:21:42 -08:00
Justin Bassett 6657a5c3b7
Feature/new release flow (#413)
* Test automatic deploy to play store.

* New release flow with Google Play Beta Support
2020-02-13 11:35:51 -05:00
Kevin T. Berstene e82a6cc9e3
Added catch blocks for bad custom component service data responses (#407) 2020-02-13 01:22:11 -05:00
Klaas Schoute 3da17bb95b
📚 Improve step-by-step environment setup (#404) 2020-02-13 01:20:06 -05:00
Kevin T. Berstene 4f6b93ea4c
Reworked widget appearance and added resizability. (#401) 2020-02-13 00:58:48 -05:00
Robbie Trencheny 8d53a6f87d
Add note about the google-services.json needing both client IDs 2020-02-12 14:57:34 -08:00
shbatm d00e75387f
Allow expandable notifications for long text messages. (#393) 2020-02-12 16:31:52 -05:00
Justin Bassett bbe9d469e7
Ensure activity isn't finishing when showing errors. (#380) 2020-02-11 20:45:13 -05:00
Kevin T. Berstene 21de26d435
Handle bad service json (#377) 2020-02-11 20:01:27 -05:00
Justin Bassett 2ed6fdda52
Make sure registration is required. (#370) 2020-02-11 08:55:26 -08:00
Justin Bassett 0fa443a4fa
Remove quotes from wifi ssid and add '<not connected>' (#371)
* Remove quotes from wifi ssid and add '<not connected>'

* Linting.
2020-02-11 08:55:07 -08:00
Justin Bassett 427226bd23
Fix regression with notification actions. (#376) 2020-02-11 08:36:30 -08:00
Justin Bassett aacb4ea605
Sensor Support (#336) 2020-02-10 23:49:39 -05:00
Justin Bassett 6030aaa8fc
Multiple Notification Options (#356) 2020-02-10 22:14:16 -05:00
Kevin T. Berstene 876914a918
Added all as an available entity_id for autocompletion (#364) 2020-02-10 22:13:55 -05:00
Daniel Shokouhi 6db3201c24
Add note to check companion docs (#361) 2020-02-10 13:00:09 -08:00
quthla 5a7b49a7a0
Enable receiving broadcast to update location (#355) 2020-02-10 08:08:01 -05:00
Neonicus 4deffd108a
Add Authentication Dialog for iFrames (#351) 2020-02-09 08:12:40 -05:00
Kevin T. Berstene 2283042393
Added dynamic auto-complete fields for widget configuration (#339) 2020-02-07 20:47:26 -05:00
Justin Bassett 447cd635dd
Lokalise Update. (#346) 2020-02-07 00:11:55 -05:00
Justin Bassett 5113a0ed96
Add support for images and actions no matter what the app is doing. (#341) 2020-02-06 22:02:41 -05:00
Jörg Thalheim 48dd9192bb
implement request_location_update via push notifications (#333) 2020-02-04 09:31:26 -05:00
Justin Bassett 33ffe4a70c
Actionable Notifications (#332) 2020-02-02 22:50:28 -05:00
Neonicus 779b4ceff9
Fix Fullscreen for notch (#326)
* Fix Fullscreen for notch

Test if notch or not, if notch just hide nav bar

* Fix Fullscreen on screen with notch

* Fix Fullscreen for screen with notch

<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="27">shortEdges</item> 
Is for renders content into the cutout area in both portrait and landscape modes therefore useless since in case of a notch we just hide the navigation bar

* Fix Fullscreen for screen with notch

* Fix Fullscreen for screen with notch

* Fix Fullscreen fo screen with notch

* Fix Fullscreen for screen with notch
2020-01-30 08:19:00 -08:00
Daniel Shokouhi f7a63c085a
Update size of text (#321) 2020-01-29 20:57:15 -08:00
Justin Bassett 417461d4b5
Update Lokalise. (#318) 2020-01-29 16:24:34 -08:00
Robbie Trencheny 154b923929
Microphone is not required (#317)
* Microphone is not required

Fixes Play Store rejection

* Hardware, not software
2020-01-29 11:04:54 -08:00
Justin Bassett d56d64f81f Update translations. (#308) 2020-01-26 21:43:08 -08:00
Neonicus bc03c149e1 Add Fullscreen option (#304) 2020-01-26 19:47:51 -05:00
Justin Bassett a21f0fea72 Fixup the styling on the Widget configuration. (#291)
* Fixup the styling on the Widget configuration.

* Actually pull services and entites for Widgets.

* Sort lists.

* Linting.

* Make sure entity_id is optional.

* Lint
2020-01-24 11:21:31 -08:00
Justin Bassett 497843b686 Dependency updates and 'Ok' to 'OK' changes. (#301) 2020-01-24 11:13:52 -08:00
Justin Bassett d1a846a5f0
Revert "Add Fullscreen option (#293)" (#295)
This reverts commit 922be6f168.
2020-01-23 09:35:42 -05:00
neopilou 922be6f168 Add Fullscreen option (#293) 2020-01-23 08:52:57 -05:00
Justin Bassett 11e0906f0c
Don't need to create debug directory anymore. (#294) 2020-01-23 08:26:54 -05:00
Justin Bassett ce719e9017 Make sure it's easy to tell which app is debug and which is production. (#290) 2020-01-22 22:36:02 -08:00
Justin Bassett baba03a757 Bugfix/crashlytics fixes (#289)
* Add null checks for HomeAssistantSearcher.
https://github.com/home-assistant/home-assistant-android/issues/288

* Make sure to catch the error if we can't update the device name.
https://github.com/home-assistant/home-assistant-android/issues/287

* Show error before we pop back on the stack.
https://github.com/home-assistant/home-assistant-android/issues/286

* Make sure to catch exceptions and show error before poping stacks.
https://github.com/home-assistant/home-assistant-android/issues/285
https://github.com/home-assistant/home-assistant-android/issues/286

* Linting
2020-01-22 18:45:30 -08:00
Justin Bassett e6d5b5825b Request we be exempt from Doze. (#273)
* Request we be exempt from Doze.

* Add an integration screen.

* Toggles now default based on requesting permissions.
2020-01-22 16:22:17 -08:00
Kevin T. Berstene 9f5a61b0ce Basic widget functionality added (#212)
* Basic widget functionality added

* Requested Fixes: 4 of 6 completed

* Changed widget to be responsive and have a light icon instead of a generic Home Assistant icon

* Fixed issue with latest rebase from upstream master

* Restricted label text to a single line

* Created repository and use case for widget data storage

* Fixed indentation

* Fix for Oreo and later Broadcast Intent restrictions

* Added negative feedback for widget.  Wrapped try blockaround only the relevant commands.

* Removed defunct preferences utilities file

* Removed unnecessary try catch block

* Fixed issue where layout would reset upon screen rotation after activating the widget.

* Moved widget storage logic to repository as requested

* Added multiple widget icons with a drop down menu in the configuration activity.
Added labels to configuration activity.
Made configuration activity scrollable.

* Changed widget feedback to be more immediate and clear.  Changed color of positive feedback.

* Changed callService HashMap to match Integration Repository

* Added testing for Integration callService method

* Changed how icons are stored so regeneration of resources will not randomize the stored icons

* Added basic WidgetUseCaseImpl tests

* Privatized localStorage access in WidgetRepositorImpl, removing it from the WidgetRepository interface
2020-01-22 14:55:51 -08:00
Justin Bassett 122f9e3a10
Place the mock google services for debug only. (#280) 2020-01-19 18:21:53 -05:00
Justin Bassett 195bc9601c Reload UI url more proactively (#275)
* Reload UI if the base url has changed.
AKA changed from remote/local.

* Linting.

* Now we don't rebuild dagger every time we change urls.
Need to fix tests.

* Test and comment.
2020-01-19 13:51:10 -08:00
Justin Bassett cc241e18bc Add the ability to debug on same device as production application. (#271)
* Add the ability to debug on same device as production application.

* Update mock-google-services.json for debug version.
2020-01-18 16:10:11 -08:00
Justin Bassett 1219767ef4 Stop the app from opening browser when logging out. (#274)
* Stop the app from opening browser when logging out.

* Formatting.
2020-01-18 16:08:41 -08:00
Justin Bassett 672a80e773
Fix get theme because of missing fields in DTO. (#270) 2020-01-17 19:15:26 -05:00
Justin Bassett bda966b270
Status Bar Color Match Theme (#268) 2020-01-17 18:33:27 -05:00