1587 Commits

Author SHA1 Message Date
Paulus Schoutsen
d78b5fac73
Update vaadin components (#1923) 2018-10-30 11:04:17 +01:00
Paulus Schoutsen
7cf65ba066
Update testing tools (#1925) 2018-10-30 11:04:06 +01:00
Paulus Schoutsen
91966f676a
Update polymer (#1921) 2018-10-30 09:25:04 +01:00
Paulus Schoutsen
a4fa0ae64b
Handle no operation mode (#1901)
* Handle no operation mode

* Upgrade HAWS so we can use correct types

* Lint
2018-10-28 20:07:05 +01:00
Paulus Schoutsen
17b4f873e7
Enforce prettier for TypeScript (#1860) 2018-10-26 09:37:47 +02:00
Zack Arnett
741c0c08b9 Thermostat Card LoveLace (#1814)
* POC/WIP: Thermostat Card

* Fix jQuery imports

* Cleaning out testing code and working on reviews

* Colors Dynamic + mode dynamic

* Minor changes

* adding html prefix

* Dynamic Text size and colors - getting somwhere slowly.

* Review Changes - Working version (i think)

* Updating Gallery Entry

* Travies Review

* Remove provide plugin, move CSS to JS

* Add provideHass to demo

* Demo fixes

* tweak margins

* Travis changes

* Style Tweaks

* Update to client Width range
2018-10-26 09:30:58 +02:00
Thomas Lovén
f146a1d80f
Lovelace: Allow press-and-hold on picture-elements elements. (#1745)
* Allow press-and-hold on picture-elements elements.
2018-10-17 22:16:17 +02:00
Paulus Schoutsen
e020fd1154
👋 decorators (#1790) 2018-10-17 13:58:24 +02:00
Paulus Schoutsen
a7684d7206
Add some decorators (#1784)
* Add some decorators

* Disable sort keys

* Add babel plugins

* Update typescript to 7.1
2018-10-16 23:30:13 +02:00
Paulus Schoutsen
a6b4cce7f3
Upgrade MDI icons (#1781) 2018-10-16 20:02:09 +02:00
Paulus Schoutsen
97e1aae9c0
Introduce TypeScript (#1773) 2018-10-15 19:07:08 +02:00
Paulus Schoutsen
3bcd0ddc46
Migrate Babel 6 -> 7 (#1762)
* Migrate Babel 6 -> 7

* Update babel-eslint
2018-10-13 11:25:03 +02:00
Paulus Schoutsen
34bfc12647
Prettier 💎 (#1737)
* Add prettier

* Apply Prettier
2018-10-11 12:22:11 +02:00
Paulus Schoutsen
af2cb1be1a
Update Lit to 0.6.2 (#1748) 2018-10-07 21:32:50 +02:00
Paulus Schoutsen
1b70b6e88c
Introduce Lit Element (#1738) 2018-10-07 11:07:02 +02:00
Paulus Schoutsen
3d8a8cc77b
Fix minifier (#1683) 2018-09-20 00:08:25 +02:00
Paulus Schoutsen
17ac6f96a0
Update deps (#1678)
* Update deps

* Lint

* Fix lint
2018-09-19 15:15:16 +02:00
Paulus Schoutsen
c546d8787d
Add last used to token on profile page (#1659) 2018-09-12 13:12:26 +02:00
Paulus Schoutsen
d729e3c567 Update HAWS to 3.1.2 2018-09-10 13:25:50 +02:00
Paulus Schoutsen
0d7979a72f
Add revoke token to (external) auth (#1639)
* Add revoke token to external auth

* Lint

* Update to HAWS 3.1.1

* Fix constant
2018-09-07 20:37:06 +02:00
Paulus Schoutsen
ae8724d699
Compress using zopfli (#1636) 2018-09-05 11:41:03 +02:00
Paulus Schoutsen
0d3d9bc78a
Upgrade MDI icons (#1630) 2018-09-03 13:07:58 +02:00
Paulus Schoutsen
45cdb5a3e4
Use new version of HAWS (#1612)
* Use new version of HAWS

* Fix init page

* Lint

* Fix tests

* Update gitignore

* Clear old tokens, use new key to store
2018-08-31 09:45:58 +02:00
Paulus Schoutsen
f443942e03
Authorize onboarding (#1603)
* Tweak onboarding + authorize

* Authorize/Onboarding pimp

* More tweaks

* Comments
2018-08-27 22:10:15 +02:00
Paulus Schoutsen
f435c38aa5
Upgrade websocket lib to 2.1 (#1583) 2018-08-20 11:49:24 +02:00
Paulus Schoutsen
6cbca6d88a
Use webpack plugin to generate HTML (#1521)
* Use webpack plugin to generate HTML

* Generate index.html

* Remove unused packages
2018-07-26 09:30:03 +02:00
Paulus Schoutsen
3e60083633 Add js-yaml to yarn 2018-07-20 12:24:16 +02:00
Paulus Schoutsen
56907fb922
Add gallery (#1475)
* Add gallery

* Add build script

* Lint

* Remove cache
2018-07-19 15:24:30 +02:00
Paulus Schoutsen
18b52b53cb
Upgrade deps (#1311)
* Update polyfills

* Upgrade deps
2018-06-21 10:43:24 -04:00
Paulus Schoutsen
13c8a00e97
Cleanup deps (#1288)
* Upgrade uglify-js

* Remove unused deps

* Add views
2018-06-16 22:32:05 -04:00
Thibault Cohen
58a0f6aab9 Add scheduler panel (#1146)
* Add scheduler panel

* Rename scheduler to calendar

* Continue

* First working version

* Fix lint errors

* Fix comments

* Fix calendar display

* Continue fixing comments

* Continue fixing comments 2

* Continue fixing comments 3

* Fix UI to work with the new PRs

* Use preact-compat instead of react

* Fix tests

* Move css file in a panels specific folder

* Fix tests

* Add Event details dialog

* Improve date format

* Remove event details

* Continue

* Continue calendar

* continue

* Continue

* Cleaning

* Fix PR comments

* Lint

* Clean useless import and css

* Fix PR comments

* Fix PR comments

* Fix PR comments

* Clean Event handler

* Fix week view

* Continue
2018-06-15 11:17:46 -04:00
Paulus Schoutsen
4d48a63141
Further simplify build (#1256)
* Remove manual copy

* Use Webpack to create gzip versions
2018-06-04 07:06:12 -04:00
Paulus Schoutsen
8133102bcb
Re-add service worker caching (#1247)
* Re-add service worker caching

* Lint
2018-06-03 07:38:22 -04:00
Paulus Schoutsen
9393bb2fba
Include ha-iconset-svg with mdi (#1212) 2018-05-26 14:28:14 -04:00
Paulus Schoutsen
71196b9704
Load icons via JS (#1211) 2018-05-26 11:50:03 -04:00
Paulus Schoutsen
008fcbe1dc Update yarn.lock 2018-05-21 11:00:22 -04:00
Paulus Schoutsen
81fbda49bd Upgrade to home-assistant-js-websocket@2.0.1" 2018-05-18 13:36:38 -04:00
Paulus Schoutsen
e57d9f7751
Add websocket helpers to polymer (#1187)
* Add websocket helpers to polymer

* Lint

* Upgrade to home-assistant-js-websocket@2.0.0
2018-05-18 13:25:01 -04:00
Paulus Schoutsen
bc27f854f1
More cleanup (#1185)
* More cleanup

* Set up correct urls authorize.html

* Fix polymer lint

* Remove reference to bower

* Tweak uglify settings
2018-05-17 17:51:07 -04:00
Paulus Schoutsen
f70c0aea6c
Org files (#1183)
* Organize files

* Import EventsMixin

* Import NavigateMixin

* Dissolve window.hassMixins

* Apply ElementMixin when we use it

* Update tests to point at right dir

* Eslint

* Clean

* Update mixins inside hassio

* Update lint command"

* Fix polymer lint
2018-05-16 13:47:34 -04:00
Paulus Schoutsen
23a2a479a5
Remove rollup (#1179)
* Remove rollup

* Fix build

* Add copy webpack plugin

* Touch service worker

* Remove unused ha-config-js-.js
2018-05-16 07:54:29 -04:00
Paulus Schoutsen
96d7ec7cda
Embed the preact code directly (#1177)
* Embed the preact code directly

* Do not transform object rest spread

* Lint

* Ignore preact from lint
2018-05-15 17:56:32 -04:00
Paulus Schoutsen
a4afc2e37a
Polymer 3 modulize (#1154)
* Version bump to 20180510.1

* Fix hass util

* Fix translations

* Bye paper-time-input

* Add webpack config

* Add webpack to package.json

* Fix translation import

* Disable web animations polyfill bad import

* Disable importHref import

* Update webpack config to build authorize.js

* Build translations json

* Build frontend correctly

* Run eslint --fix

* Load markdown JS on demand (#1155)

* Add HTML imports (#1160)

* Fix localize (#1161)

* Fix Roboto in build (#1162)

* Load web animations polyfill (#1163)

* P3: Fix chart js (#1164)

* P3: Fix Chart JS

* Update timeline package

* P3: panel resolver (#1165)

* WIP

* Initial importing of panels

* Fix panel resolver

* Fix automation and script editor (#1166)

* Expose Polymer and Polymer.Element on window (#1167)

* Remove unused import

* eslint --fix

* Es5 build (#1168)

* Build for ES5

* Fix build_frontend

* Remove stale comment

* Migrate to use paper-material-styles (#1170)

* Send parsed date to history/logbook (#1171)

* Fork app storage behavior (#1172)

* Add paper input with type time (#1173)

* Fix authorize

* Lint

* Sort imports

* Lint

* Remove eslint-html

* Do not lint authorize.html

* Fix polymer lint

* Try chrome 62 for wct

* P3: Add patched iconset (#1175)

* Add patched iconset

* Lint

* Test with latest Chrome again

* Use less window.hassUtil

* Teporarily use my fecha fork

* Import correct intl.messageFormat

* Update wct-browser-legacy to 1.0.0

* Include polyfill in right place

* Fix IntlMessageFormat

* Fix test not having a global scope

* Rollup <_<

* Fork app-localize-behavior

* Disable wct tests

* Lint
2018-05-15 13:31:47 -04:00
Paulus Schoutsen
89333aa55e Update to home-assistant-js-websocket@1.2.1 2018-05-10 17:38:03 -04:00
Paulus Schoutsen
3b7a206cec
Add an authorize page for authentication (#1147)
* Use authorize page if auth provider

* Add webcomponent polyfill

* More fixes

* ES5 fix

* Lint

* Use redirect_uri

* upgrade uglify to fix tests?

* Update browsers used for testing
2018-05-10 14:25:36 -04:00
Paulus Schoutsen
912969111f
Move all of hassUtil to JS (#1153)
* Move all of hassUtil to JS

* Fix tests
2018-05-09 21:33:31 -04:00
Paulus Schoutsen
85ab32d752 Upgrade home-assistant-js-websocket 2018-03-08 16:12:53 -08:00
Adam Mills
7acab579b4 Use new lokalise builtin unzip for download (#900) 2018-02-17 19:49:14 -08:00
Paulus Schoutsen
f83a9d7339
Dev dependencies (#897)
* Upgrade eslint

* Upgrade rollup

* Upgrade mocha

* Upgrade gulp

* Upgrade more gulp

* Upgrade frontend stuff
2018-02-16 09:03:13 -08:00
Paulus Schoutsen
7860133709
Revert deps upgrade (#892) 2018-02-15 12:32:18 -08:00