ember update

This commit is contained in:
Egor 2017-02-03 00:47:55 -08:00
parent 159566ff8c
commit f87daf1f83
15 changed files with 81 additions and 25 deletions

View file

@ -7,14 +7,14 @@ sudo: false
cache:
directories:
- node_modules
- $HOME/.npm
- $HOME/.cache # includes bowers cache
before_install:
- npm config set spin false
- npm install -g bower
- npm install -g bower phantomjs-prebuilt
- bower --version
- npm install phantomjs-prebuilt
- node_modules/phantomjs-prebuilt/bin/phantomjs --version
- phantomjs --version
install:
- npm install

View file

@ -3,9 +3,6 @@
"dependencies": {
"JavaScript-ID3-Reader": "https://github.com/aadsm/JavaScript-ID3-Reader.git",
"bootstrap-sass": "^3.3.5",
"ember": "^2.10.0",
"ember-cli-shims": "^0.1.0",
"ember-qunit-notifications": "0.1.0",
"hammer.js": "^2.0.8",
"intro.js": "^2.1.0",
"locallyjs": "^0.3.2",

View file

@ -31,7 +31,8 @@
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-nouislider": "^0.11.0",
"ember-cli-qunit": "^1.2.1",
"ember-cli-release": "0.2.8",
"ember-cli-release": "^0.2.8",
"ember-cli-shims": "^1.0.2",
"ember-cli-sass": "^6.0.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
@ -44,6 +45,7 @@
"ember-paper": "^1.0.0-alpha.12",
"ember-resolver": "^2.0.3",
"ember-truth-helpers": "^1.2.0",
"ember-source": "^2.11.0",
"loader.js": "^4.0.7"
}
}

View file

@ -21,7 +21,7 @@
{{content-for "body"}}
{{content-for "test-body"}}
<script src="{{rootURL}}testem.js" integrity=""></script>
<script src="/testem.js" integrity=""></script>
<script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/test-support.js"></script>
<script src="{{rootURL}}assets/huegasm.js"></script>

View file

@ -6,5 +6,6 @@
Setting `disableAnalytics` to true will prevent any data from being sent.
*/
"disableAnalytics": true,
"usePods": true
"usePods": true,
"ssl": true
}

View file

@ -7,14 +7,14 @@ sudo: false
cache:
directories:
- node_modules
- $HOME/.npm
- $HOME/.cache # includes bowers cache
before_install:
- npm config set spin false
- npm install -g bower
- npm install -g bower phantomjs-prebuilt
- bower --version
- npm install phantomjs-prebuilt
- node_modules/phantomjs-prebuilt/bin/phantomjs --version
- phantomjs --version
install:
- npm install

View file

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Huegasm</title>
<meta name="description" content="Huegasm is a free web application for managing and synchronizing your Philips Hue lights with the beat of your music.">
<meta name="keywords" content="huegasm,hue,philips hue,music player">
<meta name="keywords" content="huegasm,hue,philips hue,lights,ambience,music player">
<meta name="author" content="Egor Philippov">
<meta name="viewport" content="width=device-width, initial-scale=1">

View file

@ -33,7 +33,7 @@
{{light-group lightsData=lightsData activeLights=activeLights syncLight=syncLight apiURL=apiURL dimmerOn=dimmerOn storage=storage}}
<div class="row">
<div id="huegasm-content" class="row">
{{lights-tab active=(eq selectedTab 0) apiURL=apiURL lightsData=lightsData activeLights=activeLights syncLight=syncLight trial=trial colorLoopOn=colorLoopOn dimmerOn=dimmerOn playing=playing pauseLightUpdates=pauseLightUpdates}}
{{music-tab active=(eq selectedTab 1) apiURL=apiURL lightsData=lightsData activeLights=activeLights pauseLightUpdates=pauseLightUpdates dimmerOn=dimmerOn storage=storage colorLoopOn=colorLoopOn playing=playing action="startIntro"}}

View file

@ -1,6 +1,9 @@
#lights-tab {
padding: 0;
min-height: 350px;
height: 100%;
justify-content: center;
flex-direction: column;
display: flex;
.paper-icon {
line-height: 0.8 !important;
}
@ -22,7 +25,7 @@
#hue-controls {
max-width: 1200px;
flex: 1;
height: 90vh;
md-progress-circular {
position: absolute;
top: 50%;
@ -100,6 +103,11 @@
font-size: 16px !important;
}
#huegasm-content {
height: 80%;
max-height: 500px;
}
@media(min-width:767px) {
#lights-tab {
font-size: 20px;
@ -107,8 +115,5 @@
.paper-icon {
font-size: 24px;
}
.md-list-item-inner {
height: 75px;
}
}
}

View file

@ -57,6 +57,10 @@ md-switch.md-default-theme.md-checked .md-thumb {
outline: none !important;
}
md-list-item {
margin-bottom: 2vh;
}
@media(max-width:500px) {
#save-beat-preferences-star {
right: 5px;

View file

@ -3,9 +3,6 @@
"dependencies": {
"JavaScript-ID3-Reader": "https://github.com/aadsm/JavaScript-ID3-Reader.git",
"bootstrap-sass": "^3.3.5",
"ember": "^2.10.0",
"ember-cli-shims": "^0.1.0",
"ember-qunit-notifications": "0.1.0",
"hammer.js": "^2.0.8",
"intro.js": "^2.1.0",
"jquery-mousewheel": "^3.1.13",

View file

@ -30,6 +30,7 @@
"ember-cli-nouislider": "^0.11.0",
"ember-cli-qunit": "^1.2.1",
"ember-cli-release": "0.2.8",
"ember-cli-shims": "^1.0.2",
"ember-cli-sass": "^6.0.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
@ -41,6 +42,7 @@
"ember-paper": "^1.0.0-alpha.12",
"ember-resolver": "^2.0.3",
"ember-truth-helpers": "^1.2.0",
"ember-source": "^2.11.0",
"loader.js": "^4.0.7"
}
}

21
web/ssl/server.crt Normal file
View file

@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDaDCCAlACCQDSynsn/7ONRTANBgkqhkiG9w0BAQsFADB2MQswCQYDVQQGEwJD
QTELMAkGA1UECAwCQkMxEjAQBgNVBAcMCVZhbmNvdXZlcjESMBAGA1UECgwJTmlk
cmF0ZWNoMQ0wCwYDVQQDDARFZ29yMSMwIQYJKoZIhvcNAQkBFhRob2JvbWFuMzEz
QGdtYWlsLmNvbTAeFw0xNzAyMDMwODM3NDFaFw0xODAyMDMwODM3NDFaMHYxCzAJ
BgNVBAYTAkNBMQswCQYDVQQIDAJCQzESMBAGA1UEBwwJVmFuY291dmVyMRIwEAYD
VQQKDAlOaWRyYXRlY2gxDTALBgNVBAMMBEVnb3IxIzAhBgkqhkiG9w0BCQEWFGhv
Ym9tYW4zMTNAZ21haWwuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQE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tq6VkmRRW4fnkQSjeH
HKCN1YTSLyk4kkOd7jXdPd0Nmb4qD1hw1tkXZo08BYMSfrVWeqqj9PJ1C0+/85h5
mMNiMW0CgYAJAsqZBgAqp4AeXjvojJ4x4SohuQskfSfe9206dclxTf0BELt3cPF0
Lgxxe3e3srglUDMvUQzo7Sg0N/FkOidGsJInw8tLxEB9zzTBmo4uXv57vf+08R9F
0sNsIHStt2dj67ddhFGi2vH/Lu/Ekcsipf67Qr/dwmUDeDtE6Frx/A==
-----END RSA PRIVATE KEY-----

View file

@ -21,7 +21,7 @@
{{content-for "body"}}
{{content-for "test-body"}}
<script src="{{rootURL}}testem.js" integrity=""></script>
<script src="/testem.js" integrity=""></script>
<script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/test-support.js"></script>
<script src="{{rootURL}}assets/huegasm.js"></script>