From cb8119840a18b7920d3118ace04246d845631be9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 2 Nov 2015 23:34:47 -0500 Subject: [PATCH] fix camera upload folder --- dashboard-ui/apiclient/connectionmanager.js | 2 +- .../bower_components/doc-ready/.bower.json | 2 +- .../iron-media-query/.bower.json | 8 +-- .../iron-media-query/.travis.yml | 28 ++++++++ .../iron-media-query/CONTRIBUTING.md | 72 +++++++++++++++++++ .../iron-media-query/bower.json | 2 +- .../iron-media-query/demo/index.html | 71 ++++++++++++++---- .../neon-animation/.bower.json | 8 +-- .../neon-animation/CONTRIBUTING.md | 72 +++++++++++++++++++ .../neon-animation/bower.json | 2 +- .../neon-animation/neon-animatable.html | 3 +- .../paper-spinner/.bower.json | 8 +-- .../paper-spinner/.travis.yml | 28 ++++++++ .../paper-spinner/CONTRIBUTING.md | 72 +++++++++++++++++++ .../bower_components/paper-spinner/bower.json | 2 +- .../paper-spinner/paper-spinner-styles.html | 1 + .../bower_components/paper-tabs/.bower.json | 12 ++-- .../bower_components/paper-tabs/.travis.yml | 28 ++++++++ .../bower_components/paper-tabs/bower.json | 6 +- .../paper-tabs/demo/index.html | 29 ++++++-- .../paper-tabs/paper-tab.html | 35 ++++----- .../paper-tabs/paper-tabs.html | 28 +++++++- .../paper-tabs/test/attr-for-selected.html | 2 + .../paper-tabs/test/basic.html | 20 ++++++ dashboard-ui/css/card.css | 3 +- dashboard-ui/css/librarybrowser.css | 5 +- dashboard-ui/scripts/mediaplayer.js | 15 ++-- dashboard-ui/vulcanize-out.html | 61 ++++++++++------ 28 files changed, 520 insertions(+), 105 deletions(-) create mode 100644 dashboard-ui/bower_components/iron-media-query/.travis.yml create mode 100644 dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md create mode 100644 dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md create mode 100644 dashboard-ui/bower_components/paper-spinner/.travis.yml create mode 100644 dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md create mode 100644 dashboard-ui/bower_components/paper-tabs/.travis.yml diff --git a/dashboard-ui/apiclient/connectionmanager.js b/dashboard-ui/apiclient/connectionmanager.js index 3bd2ebc61..0151445e3 100644 --- a/dashboard-ui/apiclient/connectionmanager.js +++ b/dashboard-ui/apiclient/connectionmanager.js @@ -923,7 +923,7 @@ if (mode == MediaBrowser.ConnectionMode.Local) { enableRetry = true; - timeout = 10000; + timeout = 8000; } else if (mode == MediaBrowser.ConnectionMode.Manual) { diff --git a/dashboard-ui/bower_components/doc-ready/.bower.json b/dashboard-ui/bower_components/doc-ready/.bower.json index adda4287b..d4d75eca6 100644 --- a/dashboard-ui/bower_components/doc-ready/.bower.json +++ b/dashboard-ui/bower_components/doc-ready/.bower.json @@ -39,6 +39,6 @@ "commit": "cec8e49744a1e18b14a711eea77e201bb70de544" }, "_source": "git://github.com/desandro/doc-ready.git", - "_target": "1.0.x", + "_target": "~1.0.4", "_originalSource": "doc-ready" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-media-query/.bower.json b/dashboard-ui/bower_components/iron-media-query/.bower.json index e4a664d46..3cd0a8b1c 100644 --- a/dashboard-ui/bower_components/iron-media-query/.bower.json +++ b/dashboard-ui/bower_components/iron-media-query/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-media-query", - "version": "1.0.5", + "version": "1.0.6", "description": "Lets you bind to a CSS media query", "authors": [ "The Polymer Authors" @@ -29,11 +29,11 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "main": "iron-media-query.html", - "_release": "1.0.5", + "_release": "1.0.6", "_resolution": { "type": "version", - "tag": "v1.0.5", - "commit": "2065bae0228149fc84db1c8ece741f9bba750534" + "tag": "v1.0.6", + "commit": "fda20cb8e3bb2b49c2473b8a41fd2afae51db468" }, "_source": "git://github.com/PolymerElements/iron-media-query.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-media-query/.travis.yml b/dashboard-ui/bower_components/iron-media-query/.travis.yml new file mode 100644 index 000000000..709938d95 --- /dev/null +++ b/dashboard-ui/bower_components/iron-media-query/.travis.yml @@ -0,0 +1,28 @@ +language: node_js +sudo: false +matrix: + include: + - node_js: stable + script: xvfb-run wct + addons: + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable + - node_js: node + script: + - | + if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + wct -s 'default' + fi +before_script: +- npm install web-component-tester +- npm install bower +- export PATH=$PWD/node_modules/.bin:$PATH +- bower install +env: + global: + - secure: My9uxlkp4fZwSHKqo1RUv4yBhNl46XfbaiOsOStqJdI9l7hBfudSl7V2OZeLuV2pEDJC1z1ZqVU6C/K0/iTf7i66cd9g0iH5N+1qex8p2AcuP1evPWbwLw8moHH+M5E14MMXD8sPX4KauS8azmgRm61pppD5ZgKfCaeGZg7Tczs= + - secure: LgnZP4BNGBkTZhf8Vr7r9LdrOwq2/58TqqYkFFloEGBRT6HmumNSRwNbIwOh1U9jSTVkqjC2rn4G27u4XlEIs+QTD2PVSSEKy7Vbn0KxSNCvCGaOB1ZaxWTwZa7nkg09ZFRCHGh+WIbuV+BxyzsjOqlN82GSzFNSb3rxhqDM6dU= diff --git a/dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md b/dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md new file mode 100644 index 000000000..7b1014156 --- /dev/null +++ b/dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/iron-media-query/bower.json b/dashboard-ui/bower_components/iron-media-query/bower.json index 57149c66b..044bf5f18 100644 --- a/dashboard-ui/bower_components/iron-media-query/bower.json +++ b/dashboard-ui/bower_components/iron-media-query/bower.json @@ -1,6 +1,6 @@ { "name": "iron-media-query", - "version": "1.0.5", + "version": "1.0.6", "description": "Lets you bind to a CSS media query", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/iron-media-query/demo/index.html b/dashboard-ui/bower_components/iron-media-query/demo/index.html index 2bc99bce4..0cbdcec50 100644 --- a/dashboard-ui/bower_components/iron-media-query/demo/index.html +++ b/dashboard-ui/bower_components/iron-media-query/demo/index.html @@ -29,24 +29,65 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN

<iron-media-query>

diff --git a/dashboard-ui/bower_components/neon-animation/.bower.json b/dashboard-ui/bower_components/neon-animation/.bower.json index 0a1be4944..67f935cf9 100644 --- a/dashboard-ui/bower_components/neon-animation/.bower.json +++ b/dashboard-ui/bower_components/neon-animation/.bower.json @@ -1,6 +1,6 @@ { "name": "neon-animation", - "version": "1.0.7", + "version": "1.0.8", "authors": [ "The Polymer Authors" ], @@ -48,11 +48,11 @@ "iron-icons": "PolymerElements/iron-icons#^1.0.0", "paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0" }, - "_release": "1.0.7", + "_release": "1.0.8", "_resolution": { "type": "version", - "tag": "v1.0.7", - "commit": "02daf22e000ed6afeecf6ae0291ae11e6eebbfcf" + "tag": "v1.0.8", + "commit": "36656916b75a4715b025a03473620002c2650ee8" }, "_source": "git://github.com/polymerelements/neon-animation.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md b/dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md new file mode 100644 index 000000000..7b1014156 --- /dev/null +++ b/dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/neon-animation/bower.json b/dashboard-ui/bower_components/neon-animation/bower.json index cdbbb1522..2e3d0c646 100644 --- a/dashboard-ui/bower_components/neon-animation/bower.json +++ b/dashboard-ui/bower_components/neon-animation/bower.json @@ -1,6 +1,6 @@ { "name": "neon-animation", - "version": "1.0.7", + "version": "1.0.8", "authors": [ "The Polymer Authors" ], diff --git a/dashboard-ui/bower_components/neon-animation/neon-animatable.html b/dashboard-ui/bower_components/neon-animation/neon-animatable.html index 6db9d83d8..c9ed412f1 100644 --- a/dashboard-ui/bower_components/neon-animation/neon-animatable.html +++ b/dashboard-ui/bower_components/neon-animation/neon-animatable.html @@ -46,7 +46,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN is: 'neon-animatable', behaviors: [ - Polymer.NeonAnimatableBehavior + Polymer.NeonAnimatableBehavior, + Polymer.IronResizableBehavior ] }); diff --git a/dashboard-ui/bower_components/paper-spinner/.bower.json b/dashboard-ui/bower_components/paper-spinner/.bower.json index e15d805bb..d7ce6839c 100644 --- a/dashboard-ui/bower_components/paper-spinner/.bower.json +++ b/dashboard-ui/bower_components/paper-spinner/.bower.json @@ -1,6 +1,6 @@ { "name": "paper-spinner", - "version": "1.0.3", + "version": "1.0.4", "description": "A material design spinner", "authors": [ "The Polymer Authors" @@ -31,11 +31,11 @@ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "main": "paper-spinner.html", - "_release": "1.0.3", + "_release": "1.0.4", "_resolution": { "type": "version", - "tag": "v1.0.3", - "commit": "33a5c598432642438c2ca90391dadb6d1d072887" + "tag": "v1.0.4", + "commit": "731e067cada82c724df9bd676dfd7324699e4793" }, "_source": "git://github.com/PolymerElements/paper-spinner.git", "_target": "~1.0.1", diff --git a/dashboard-ui/bower_components/paper-spinner/.travis.yml b/dashboard-ui/bower_components/paper-spinner/.travis.yml new file mode 100644 index 000000000..f12cf794f --- /dev/null +++ b/dashboard-ui/bower_components/paper-spinner/.travis.yml @@ -0,0 +1,28 @@ +language: node_js +sudo: false +matrix: + include: + - node_js: stable + script: xvfb-run wct + addons: + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable + - node_js: node + script: + - | + if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + wct -s 'default' + fi +before_script: +- npm install web-component-tester +- npm install bower +- export PATH=$PWD/node_modules/.bin:$PATH +- bower install +env: + global: + - secure: dpHtK5BMl68o/D6cQO9VsQWBPVuTrFPC56NT6kBLbiQtmxG2E2FD8dN4cHuEWafZopwYSsLLmEIIK77FMaonTSmzos5EixIQyqGxWTyNTpthg0Jenzc+6vZEs3h+3LDodFjdZSu8FgKyxU8SFLLGjAsSy8aegUNBszy7/SY8FAM= + - secure: EASvFsWb/njjh3DOLD5Oz3nw4QPl4aIhDAIhU2qelb2UCp8Q/KGniU7VjNoQ7OSN05jh2ooz8Pu3cAhLmrWumJn2atXEXvRPKtT/+1Ciy3xFcvgmqM0RHB+7qSSOUwgvPW9bwdzVxxMjAW7Oqb7w3nVn9/mEv2sMPNSv7iEbiUI= diff --git a/dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md b/dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md new file mode 100644 index 000000000..7b1014156 --- /dev/null +++ b/dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/paper-spinner/bower.json b/dashboard-ui/bower_components/paper-spinner/bower.json index be39a2ecf..305d0bba1 100644 --- a/dashboard-ui/bower_components/paper-spinner/bower.json +++ b/dashboard-ui/bower_components/paper-spinner/bower.json @@ -1,6 +1,6 @@ { "name": "paper-spinner", - "version": "1.0.3", + "version": "1.0.4", "description": "A material design spinner", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/paper-spinner/paper-spinner-styles.html b/dashboard-ui/bower_components/paper-spinner/paper-spinner-styles.html index d82c53974..50dde6195 100644 --- a/dashboard-ui/bower_components/paper-spinner/paper-spinner-styles.html +++ b/dashboard-ui/bower_components/paper-spinner/paper-spinner-styles.html @@ -66,6 +66,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN width: 100%; height: 100%; opacity: 0; + white-space: nowrap; } .layer-1 { diff --git a/dashboard-ui/bower_components/paper-tabs/.bower.json b/dashboard-ui/bower_components/paper-tabs/.bower.json index d311764c8..9c71e763e 100644 --- a/dashboard-ui/bower_components/paper-tabs/.bower.json +++ b/dashboard-ui/bower_components/paper-tabs/.bower.json @@ -1,6 +1,6 @@ { "name": "paper-tabs", - "version": "1.0.5", + "version": "1.0.9", "license": "http://polymer.github.io/LICENSE.txt", "description": "Material design tabs", "private": true, @@ -25,10 +25,10 @@ "iron-iconset-svg": "polymerelements/iron-iconset-svg#^1.0.0", "iron-menu-behavior": "polymerelements/iron-menu-behavior#^1.0.0", "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0", - "paper-ripple": "polymerelements/paper-ripple#^1.0.0", "paper-styles": "polymerelements/paper-styles#^1.0.0", "polymer": "Polymer/polymer#^1.0.0", - "paper-icon-button": "polymerelements/paper-icon-button#^1.0.0" + "paper-icon-button": "polymerelements/paper-icon-button#^1.0.0", + "paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0" }, "devDependencies": { "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", @@ -39,11 +39,11 @@ "web-component-tester": "*" }, "homepage": "https://github.com/PolymerElements/paper-tabs", - "_release": "1.0.5", + "_release": "1.0.9", "_resolution": { "type": "version", - "tag": "v1.0.5", - "commit": "5c47302763d9cbb5fbbbf777a49b3ccc5f5a16bf" + "tag": "v1.0.9", + "commit": "d931f9ef024cc029d9545efd86c65df3e2ad5b47" }, "_source": "git://github.com/PolymerElements/paper-tabs.git", "_target": "~1.0.0", diff --git a/dashboard-ui/bower_components/paper-tabs/.travis.yml b/dashboard-ui/bower_components/paper-tabs/.travis.yml new file mode 100644 index 000000000..27e770da6 --- /dev/null +++ b/dashboard-ui/bower_components/paper-tabs/.travis.yml @@ -0,0 +1,28 @@ +language: node_js +sudo: false +matrix: + include: + - node_js: stable + script: xvfb-run wct + addons: + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable + - node_js: node + script: + - | + if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + wct -s 'default' + fi +before_script: +- npm install web-component-tester +- npm install bower +- export PATH=$PWD/node_modules/.bin:$PATH +- bower install +env: + global: + - secure: ieKt2HWOdClqU7OyYA20DFlWduaM0IDk91lO7mWySQL6r55SSB4DnUCgVycQJf0L6S8vyY/fbC/vFP0notyz3MvMAz1NwpRzAI9mKkVWJuaBbm9Ql9PewjanX42chbz3XyqZofXVkfBywmj61NyPM7VRVwhEHmOeYgyFUyV9cls= + - secure: g7yrxdFIVMIjkYBKZ29FHUX3noS6u1lvjUmaAaG28rGaEfXK4XR9fhZABR+6ydAjLjdo+WUMvTp4oi6HYrb6ToByprEli/fTexjeGuagDc5r5R84u3CusBuw9YYHDjstHCBFmIZndD+r4PRXkWvYatciF9c0NCHoVrjTH/woe9g= diff --git a/dashboard-ui/bower_components/paper-tabs/bower.json b/dashboard-ui/bower_components/paper-tabs/bower.json index 2f3076a00..c6d13daaa 100644 --- a/dashboard-ui/bower_components/paper-tabs/bower.json +++ b/dashboard-ui/bower_components/paper-tabs/bower.json @@ -1,6 +1,6 @@ { "name": "paper-tabs", - "version": "1.0.5", + "version": "1.0.9", "license": "http://polymer.github.io/LICENSE.txt", "description": "Material design tabs", "private": true, @@ -25,10 +25,10 @@ "iron-iconset-svg": "polymerelements/iron-iconset-svg#^1.0.0", "iron-menu-behavior": "polymerelements/iron-menu-behavior#^1.0.0", "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0", - "paper-ripple": "polymerelements/paper-ripple#^1.0.0", "paper-styles": "polymerelements/paper-styles#^1.0.0", "polymer": "Polymer/polymer#^1.0.0", - "paper-icon-button": "polymerelements/paper-icon-button#^1.0.0" + "paper-icon-button": "polymerelements/paper-icon-button#^1.0.0", + "paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0" }, "devDependencies": { "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", diff --git a/dashboard-ui/bower_components/paper-tabs/demo/index.html b/dashboard-ui/bower_components/paper-tabs/demo/index.html index 2d7a17cdd..08c8fb701 100644 --- a/dashboard-ui/bower_components/paper-tabs/demo/index.html +++ b/dashboard-ui/bower_components/paper-tabs/demo/index.html @@ -125,7 +125,28 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN -

F. Link Tabs

+

F. Scrollable tabs within right-to-left region

+ +
+ + + NUMBER ONE ITEM + ITEM TWO + THE THIRD ITEM + THE ITEM FOUR + FIFTH + THE SIXTH TAB + NUMBER SEVEN + EIGHT + NUMBER NINE + THE TENTH + THE ITEM ELEVEN + TWELFTH ITEM + + +
+ +

G. Link Tabs

@@ -135,7 +156,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN -

G. Tabs in Toolbar

+

H. Tabs in Toolbar

@@ -150,7 +171,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN -

H. Tabs aligned to bottom

+

I. Tabs aligned to bottom

@@ -160,7 +181,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN -

I. Bound Selection

+

J. Bound Selection

@@ -122,23 +120,10 @@ Custom property | Description | Default behaviors: [ Polymer.IronControlState, - Polymer.IronButtonState + Polymer.IronButtonState, + Polymer.PaperRippleBehavior ], - properties: { - - /** - * If true, ink ripple effect is disabled. - * - * @attribute noink - */ - noink: { - type: Boolean, - value: false - } - - }, - hostAttributes: { role: 'tab' }, @@ -147,6 +132,12 @@ Custom property | Description | Default down: '_updateNoink' }, + ready: function() { + var ripple = this.getRipple(); + ripple.initialOpacity = 0.95; + ripple.opacityDecayVelocity = 0.98; + }, + attached: function() { this._updateNoink(); }, diff --git a/dashboard-ui/bower_components/paper-tabs/paper-tabs.html b/dashboard-ui/bower_components/paper-tabs/paper-tabs.html index b3927e079..a191f0099 100644 --- a/dashboard-ui/bower_components/paper-tabs/paper-tabs.html +++ b/dashboard-ui/bower_components/paper-tabs/paper-tabs.html @@ -105,6 +105,10 @@ Custom property | Description | Default @apply(--paper-tabs); } + :host-context([dir=rtl]) { + @apply(--layout-horizontal-reverse); + } + #tabsContainer { position: relative; height: 100%; @@ -212,11 +216,14 @@ Custom property | Description | Default properties: { /** - * If true, ink ripple effect is disabled. + * If true, ink ripple effect is disabled. When this property is changed, + * all descendant `` elements have their `noink` property + * changed to the new value as well. */ noink: { type: Boolean, - value: false + value: false, + observer: '_noinkChanged' }, /** @@ -315,10 +322,27 @@ Custom property | Description | Default 'iron-deselect': '_onIronDeselect' }, + created: function() { + this._holdJob = null; + }, + ready: function() { this.setScrollDirection('y', this.$.tabsContainer); }, + _noinkChanged: function(noink) { + var childTabs = Polymer.dom(this).querySelectorAll('paper-tab'); + childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute); + }, + + _setNoinkAttribute: function(element) { + element.setAttribute('noink', ''); + }, + + _removeNoinkAttribute: function(element) { + element.removeAttribute('noink'); + }, + _computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) { if (!scrollable || hideScrollButtons) { return 'hidden'; diff --git a/dashboard-ui/bower_components/paper-tabs/test/attr-for-selected.html b/dashboard-ui/bower_components/paper-tabs/test/attr-for-selected.html index 2f5aa6dc3..7ffdd0275 100644 --- a/dashboard-ui/bower_components/paper-tabs/test/attr-for-selected.html +++ b/dashboard-ui/bower_components/paper-tabs/test/attr-for-selected.html @@ -51,6 +51,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }); test('selected tab has iron-selected class', function() { + Polymer.dom.flush(); assert.isTrue(tabs.querySelector('[name=bar]').classList.contains('iron-selected')); }); @@ -71,6 +72,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }); test('selected tab has iron-selected class', function() { + Polymer.dom.flush(); assert.isTrue(tab.classList.contains('iron-selected')); }); diff --git a/dashboard-ui/bower_components/paper-tabs/test/basic.html b/dashboard-ui/bower_components/paper-tabs/test/basic.html index 1215944f4..eb018bb6b 100644 --- a/dashboard-ui/bower_components/paper-tabs/test/basic.html +++ b/dashboard-ui/bower_components/paper-tabs/test/basic.html @@ -188,6 +188,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }); }); + suite('noink attribute', function() { + var tabs; + + setup(function () { + tabs = fixture('basic'); + }); + + test('noink attribute propagates to all descendant tabs', function() { + tabs.noink = true; + Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) { + assert.isTrue(tab.noink); + }); + + tabs.noink = false; + Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) { + assert.isFalse(tab.noink); + }); + }); + }); + diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 45a42174c..b5157d7fa 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -67,7 +67,7 @@ } .homeTopViews .cardImage { - border-radius: 5px; + border-radius: 2px; } .cardOverlayMoreButton, .cardOverlayPlayButton { @@ -228,7 +228,6 @@ .homeTopViews .cardText { font-size: 15px; - padding-top: 10px; } .cardButtonContainer { diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 8a7cb6f56..fa58dc0ab 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -501,7 +501,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { .primaryDetailsContainer { float: left; padding: .75em 0 0 1.5em; - width: 68%; + width: 66%; } .portraitDetailImageContainer + .primaryDetailsContainer { @@ -915,9 +915,6 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { @media all and (max-width: 600px) { - .primaryDetailsContainer { - } - .portraitDetailImageContainer + .primaryDetailsContainer { width: 65%; } diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 83aa6b9f1..47b85a965 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -37,6 +37,7 @@ }; var canPlayAac = document.createElement('audio').canPlayType('audio/aac').replace(/no/, ''); + var canPlayMp3 = document.createElement('audio').canPlayType('audio/mp3').replace(/no/, ''); self.getVideoQualityOptions = function (videoWidth, videoHeight) { @@ -143,7 +144,7 @@ Container: 'mp4,m4v', Type: 'Video', VideoCodec: 'h264', - AudioCodec: 'aac,mp3' + (canPlayAc3 ? ',ac3' : '') + AudioCodec: 'aac' + (canPlayMp3 ? ',mp3' : '') + (canPlayAc3 ? ',ac3' : '') }); } @@ -152,7 +153,7 @@ Container: 'mkv,mov', Type: 'Video', VideoCodec: 'h264', - AudioCodec: 'aac,mp3' + (canPlayAc3 ? ',ac3' : '') + AudioCodec: 'aac' + (canPlayMp3 ? ',mp3' : '') + (canPlayAc3 ? ',ac3' : '') }); } @@ -165,10 +166,12 @@ }); } - profile.DirectPlayProfiles.push({ - Container: 'mp3', - Type: 'Audio' - }); + if (canPlayMp3) { + profile.DirectPlayProfiles.push({ + Container: 'mp3', + Type: 'Audio' + }); + } if (canPlayAac) { profile.DirectPlayProfiles.push({ diff --git a/dashboard-ui/vulcanize-out.html b/dashboard-ui/vulcanize-out.html index 88875be12..167ad68aa 100644 --- a/dashboard-ui/vulcanize-out.html +++ b/dashboard-ui/vulcanize-out.html @@ -14974,6 +14974,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input width: 100%; height: 100%; opacity: 0; + white-space: nowrap; } .layer-1 { @@ -16907,6 +16908,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN :host(:not(.iron-selected)) > .tab-content { opacity: 0.8; + + @apply(--paper-tab-content-unselected); } :host(:focus) .tab-content { @@ -16914,9 +16917,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN font-weight: 700; } - #ink { + paper-ripple { color: var(--paper-tab-ink, --paper-yellow-a100); - pointer-events: none; } .tab-content > ::content > a { @@ -16937,10 +16939,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - - @@ -16953,23 +16951,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN behaviors: [ Polymer.IronControlState, - Polymer.IronButtonState + Polymer.IronButtonState, + Polymer.PaperRippleBehavior ], - properties: { - - /** - * If true, ink ripple effect is disabled. - * - * @attribute noink - */ - noink: { - type: Boolean, - value: false - } - - }, - hostAttributes: { role: 'tab' }, @@ -16978,6 +16963,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN down: '_updateNoink' }, + ready: function() { + var ripple = this.getRipple(); + ripple.initialOpacity = 0.95; + ripple.opacityDecayVelocity = 0.98; + }, + attached: function() { this._updateNoink(); }, @@ -17014,6 +17005,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN @apply(--paper-tabs); } + :host-context([dir=rtl]) { + @apply(--layout-horizontal-reverse); + } + #tabsContainer { position: relative; height: 100%; @@ -17120,11 +17115,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN properties: { /** - * If true, ink ripple effect is disabled. + * If true, ink ripple effect is disabled. When this property is changed, + * all descendant `` elements have their `noink` property + * changed to the new value as well. */ noink: { type: Boolean, - value: false + value: false, + observer: '_noinkChanged' }, /** @@ -17223,10 +17221,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN 'iron-deselect': '_onIronDeselect' }, + created: function() { + this._holdJob = null; + }, + ready: function() { this.setScrollDirection('y', this.$.tabsContainer); }, + _noinkChanged: function(noink) { + var childTabs = Polymer.dom(this).querySelectorAll('paper-tab'); + childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute); + }, + + _setNoinkAttribute: function(element) { + element.setAttribute('noink', ''); + }, + + _removeNoinkAttribute: function(element) { + element.removeAttribute('noink'); + }, + _computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) { if (!scrollable || hideScrollButtons) { return 'hidden';