Commit Graph

13723 Commits (dashboard_config_datatable)

Author SHA1 Message Date
Andrey 415b0b127f Don't put functions in global scope (#640) 2017-11-17 10:27:56 -08:00
Andrey 1a71ee5af3 Prevent hound from running eslint on html files (#638) 2017-11-17 09:05:13 -08:00
Paulus Schoutsen 1c2d713846 Version bump to 20171117.1 2017-11-16 22:07:35 -08:00
John Arild Berentsen b15edbd4fd Add option to retrieve n amount of last lines from log. (#604)
* Add option to retrieve n amount of last lines from log.

* Move line logic to backend

* Review changes

* Review changes

* Only print text

* Use query params instead of url path to specify lines
2017-11-16 22:07:03 -08:00
Paulus Schoutsen d79ae551b2 Version bump to 20171117.0 2017-11-16 22:02:53 -08:00
Paulus Schoutsen 6074de356c
Disable plant card (#636) 2017-11-16 21:52:07 -08:00
Paulus Schoutsen 72f22f6214 Update translations 2017-11-16 21:47:28 -08:00
Pierre Ståhl c0df1e2a89 Add frontend for system log (#603)
* Add frontend for system log

* Minor review fixes

* Cleanup
2017-11-16 21:25:46 -08:00
c727 1af77e682d Add pt-BR to languages (#625) 2017-11-16 21:20:23 -08:00
Andrey 7db89d5bc2 Clean rollup (#634) 2017-11-16 21:19:29 -08:00
Andrey ef5155984f Use keys in state_badge::alarm_control_panel (#631) 2017-11-16 21:15:05 -08:00
PeteBa 8f0ebcb69d WIP: Ha-card for plant component (#583)
* Ha-card for plant component

* Feedback updates and grid css

* Revert grid css
2017-11-15 23:29:55 -08:00
Adam Mills 70c082716f MVP tests for hass-util.html (#629)
* MVP tests for hass-util.html

* MVP util.js to allow individual JS function export

* Use mocha to unit test js logic

* Isolate mocha test directory

* Move mocha opts to separate file

* Default export of util function

* Use reify for mocha tests instead of babel
2017-11-15 21:42:54 -08:00
Adam Mills 3ff9fe1041 Build ES5/ES6 in parallel to share gulp deps (#615)
* Build ES5/ES6 in parallel to share gulp deps

* Rollup es5 files into build-temp-es5

* Use correct ES5 path for compatibility.js
2017-11-15 18:05:52 -08:00
Andrey 41e97a6f83 Clone app-header-layout (#632)
* Fix group more-info not updating

* Remove old observer

* Upgrade translate(0) hack
2017-11-15 17:12:09 -08:00
Paulus Schoutsen 8078158a56 Version bump to 20171115.0 2017-11-14 22:47:22 -08:00
Paulus Schoutsen 57997be342 Update translations 2017-11-14 22:46:56 -08:00
Paulus Schoutsen 6fac4e9027
Expose build type on window (#630)
* Expose build type on window

* Build two panels for Hass.io
2017-11-14 22:39:20 -08:00
Klaas Hoekema de87c5b19b Add shaded area to show when calling for heat (#617)
Adds a series to the climate graph to shade the area under the current
temperature line red when the thermostat is calling for heat.

Uses the current temperature because it's guaranteed to be in the right
temperature range for the graph and it should minimize overlap since by
definition when the thermostat is calling for heat the current temp would
be below the target temp.

Uses `steppedArea` because most other series types don't handle
intermittent (i.e. with sections of `null` throughout) data very well.
2017-11-14 20:44:24 -08:00
Adam Mills 8cf0c0e94d Fix build attempting to include translationMaster (#628)
* Fix build attempting to include translationMaster

* Use full gulp path to run with no extra setup
2017-11-14 20:36:46 -08:00
Andrey 675a7a3b86 Fix group more-info not updating (#622)
* Fix group more-info not updating

* Remove old observer
2017-11-13 08:29:47 -08:00
Andrey a4bcf062d5 Add missed mixin to ha-call-api-button (#620) 2017-11-13 08:28:28 -08:00
Adam Mills 056e9e0d74 Translations for core states (#575)
* Fix deeper nested translations build

* Make fallback to message optional

* Use translated state names

* Remove unused switch cases

* Use src en.json as fallback instead of downloaded

* Use separate translations for badge states

* Eliminate unnecessary StatesMixin

* Remove now unused localize fallback parameter

* Fix capitalization to match material guidelines

* Move media player text generation back to model

* Make localize args object

* Change Mixin to use computed function

* Revert to normal args spread for haLocalize

* Rename to computeHaLocalize

* Allow state to default for badge and media player

* Denormalize en.json with Lokalise placeholders

* Fix cleanups missed after master merge

* Split zwave query stage states to separate keys

* Throw error to fail gulp build

* Fix zwave template and regression on general state
2017-11-12 17:48:42 -08:00
Paulus Schoutsen 926c46b701
Tweak cloud config (#618) 2017-11-12 11:44:59 -08:00
c727 1314caba97 Add new languages to metadata (#591)
* Add new languages to metadata

* Update translationMetadata.json

* Add et

* Add ca (twitter request)

* Add en-US

* Remove en-US

* Add es-419

* Add ta
2017-11-12 14:14:33 +02:00
Adam Mills 1ab551116e
Fix login form with translations (#612)
* Revert "Fix not showing login form (#564)"

This reverts commit d2faeaffe7.

* Don't lose translation resources on logout

* Fix lint
2017-11-11 18:16:15 -05:00
Paulus Schoutsen 1f9fc46576 Version bump to 20171111.0 2017-11-11 13:33:50 -08:00
Paulus Schoutsen 3701683d4b
Pre-construct frontend index.html (#609)
* Pre-construct frontend index.html

* Only preload things that matter

* Fix entry point in dev mode

* Template Service worker url

* Update referenced service worker
2017-11-11 13:30:14 -08:00
c727 f106767eae Don't add more-info-card if hidden (#549)
* Don't add more-info-card if hidden

* Fix c&p

* Use itemForElement

* Fix travis

* Update ha-entities-card.html

* Update ha-entities-card.html

* Remove brackets
2017-11-11 13:19:04 -08:00
Andrey b7d2b2fcfd Remove src/translations/ from polymer build (only used in gulp). Remove unused zwave-node-options.html (#613) 2017-11-11 13:07:22 -08:00
Adam Mills 508b5d6d77
Minify translations downloaded from Lokalise (#611) 2017-11-11 15:33:47 -05:00
Andrey adac8e55d7 Updates packages and clean gulp/ JS (#610) 2017-11-11 11:32:22 -08:00
Paulus Schoutsen a2612af6a9 Version bump to 20171110.0 2017-11-10 22:39:38 -08:00
UnrealKazu 67e040ad8e Add filters to dev-state page (#595)
* Add filter functionality for entities and states

Entities and states can now be filtered by entering a string in their respective input fields.

* Add filter functionality for attributes

Attributes can now also be filtered. Without a colon in the search string, if any attribute's key or value matches the string, the entity is matched. If there is a colon, keys and values are matched separately, and the entity is only matched if both key and value match.

* Hide attribute filter in narrow mode

When the browser triggers narrow mode the attribute filter now hides properly.

* Improve eslint adherence

The code is now correctly linted against the HASS eslint standard.

Also simplified the code which distinguished arrays from strings when matching.
2017-11-10 21:48:51 -08:00
Andrey 152df2297a Change serving of JS-version dependent files to frontend_es5 and frontend_latest (#608) 2017-11-10 21:44:03 -08:00
Adam Mills 6de540a0b1
Fix WCT config - specify generic Safari 10 (#607)
Apparently the minimum safari version has been bumped from 10.0 to 10.1.
We can just specify 10 here to be more generic.
2017-11-10 14:38:16 -05:00
Andrey 583abedd34 Support serving ES6 JS to clients (#596)
* Support serving ES6 JS to clients

* Make es6 default dir and es5 a special dir

* Fix package building

* Fix build_frontend script
2017-11-10 09:05:37 -08:00
Adam Mills 86128d54b4 Auto deploy base translations with Travis (#599) 2017-11-09 19:15:55 -08:00
Adam Mills f81429702c
Replace existing translations on upload (#597) 2017-11-09 13:42:45 -05:00
Adam Mills 5722b6bbdb
Accept Lokalise token from environment (#598) 2017-11-08 23:59:10 -05:00
Stephen Yeargin bac3d8c17e Add-Ons > Add space between text and repository link (#594)
A subtle change, but improves how it is displayed.
2017-11-08 17:35:43 +02:00
John Arild Berentsen 9f6edeec6e Add Save config button (#568) 2017-11-07 12:47:21 -05:00
Adam Mills 11f4f3b3c9
Update zwave to use new state values (#584)
* Update zwave to use new state values

* Support for zwave initializing state

* Show query stage on card for zwave entities

* Move logic to compteStateState
2017-11-07 10:14:01 -05:00
NovapaX 4f4224953f fix mask-icon (#582)
* fix mask-icon
Somehow there was a rectangle in the export with some opacity making the
mask-icon not work properly (got a bit ugly)

* svg reduced to bare minimum
2017-11-06 14:49:12 -08:00
c727 f600a8e7f4 Add new requested languages (#579)
* Add new requested languages

* Add Hindi, Telugu, Bengali

* Correct order
2017-11-06 11:14:14 -05:00
Adam Mills aa389bf206 Safety check for translations upload script (#573) 2017-11-05 20:11:12 -08:00
Paulus Schoutsen a8b5d07d66 Version bump to 20171106.0 2017-11-05 18:25:51 -08:00
Adam Mills f16886f63d Add Spanish to the translation metadata (#572)
Fixes #569
2017-11-05 17:45:36 -08:00
c727 d1325da6e6 Fix Capitalization in English translation (#571)
* Fix Capitalization in English translation

https://material.io/guidelines/style/writing.html#writing-capitalization-punctuation

* Add Spanish
2017-11-05 17:45:08 -08:00
Paulus Schoutsen 95031fdd79 Fix import 2017-11-05 12:46:53 -08:00