<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/balcon.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/balcon.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/bureau.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/bureau.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/chambre.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/chambre.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/cour.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/cour.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/cuisine.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/cuisine.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/entree.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/entree.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/lit.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/lit.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/litjerome.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/litjerome.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/litvincent.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/litvincent.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/music.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/music.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/salon.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/salon.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/sdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/sdb.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/wc.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/wc.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/js/cordova.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/cordova.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/js/home.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/home.js" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/domoticz_device_event.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/domoticz_device_event.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/mediarasp.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/mediarasp.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/volume.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/volume.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="Make" enabled="true" />
</method>
</configuration>
+ <configuration default="true" type="ArquillianJUnit" factoryName="" nameIsGenerated="true">
+ <option name="arquillianRunConfiguration">
+ <value>
+ <option name="containerStateName" value="" />
+ </value>
+ </option>
+ <option name="TEST_OBJECT" value="class" />
+ <method v="2">
+ <option name="Make" enabled="true" />
+ </method>
+ </configuration>
<configuration default="true" type="ArquillianTestNG" factoryName="">
<option name="arquillianRunConfiguration">
<value>
<workItem from="1619802300800" duration="355000" />
<workItem from="1619888463622" duration="1227000" />
<workItem from="1619952129836" duration="292000" />
- <workItem from="1619952673812" duration="1313000" />
- </task>
- <task id="LOCAL-00430" summary=".">
- <created>1610353505617</created>
- <option name="number" value="00430" />
- <option name="presentableId" value="LOCAL-00430" />
- <option name="project" value="LOCAL" />
- <updated>1610353505617</updated>
+ <workItem from="1619952673812" duration="6968000" />
</task>
<task id="LOCAL-00431" summary=".">
<created>1610463457268</created>
<option name="project" value="LOCAL" />
<updated>1619802642366</updated>
</task>
- <option name="localTasksCounter" value="479" />
+ <task id="LOCAL-00479" summary=".">
+ <created>1619954224127</created>
+ <option name="number" value="00479" />
+ <option name="presentableId" value="LOCAL-00479" />
+ <option name="project" value="LOCAL" />
+ <updated>1619954224128</updated>
+ </task>
+ <option name="localTasksCounter" value="480" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
+console.log('cordova scripts loaded');
+
var DEVICE_READY_BEFORE_JQUERY = false;
var JQUERY_READY = false;
var cordovaInitInterval;
-document.addEventListener('deviceready', _onDeviceReady, false);
+
+if (window.cordova) {
+ _onDeviceReady();
+} else {
+ document.addEventListener('deviceready', _onDeviceReady, false);
+}
function _onDeviceReady() {
+ console.log('_onDeviceReady');
if (JQUERY_READY) {
onDeviceReady();
} else {
}
}
+// setTimeout(function () {
+// console.log('trigger _onDeviceReady');
+// _onDeviceReady();
+// }, 6000);
+
$(function () {
+ console.log('jquery ready');
JQUERY_READY = true;
if (DEVICE_READY_BEFORE_JQUERY) {
onDeviceReady();
});
function onDeviceReady() {
+ console.log('onDeviceReady');
cordovaInitInterval = setInterval(function () {
+ console.log('check cordova');
if (window.cordova) {
clearInterval(cordovaInitInterval);
initCordova();
}
function initCordova() {
+ console.log('initCordova');
try {
screen.orientation.lock('landscape');
} catch (e) {
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
-var androidApp = navigator.userAgent.indexOf("Lenovo TB-8505") >= 0;
+var androidApp = navigator.userAgent.indexOf("Lenovo TB-8505") >= 0 || navigator.userAgent.indexOf("Lenovo TB-X606F") >= 0;
if (!raspberry && !iOS && !androidApp) {
CONFIG.SLEEPSCREEN = 0;
CONFIG.SLEEPTYPE = 'off';
var maskRemoteShort = false;
$(function () {
-
+ console.log('main jquery ready');
var clicktouchevent = 'click';
var clickevent = 'click';
if (CONFIG.SLEEPSCREEN > 0) {
+ console.log('define check sleep');
sleepDate = Date.now();
setInterval(function () {
checkSleep();
}
if (defaultVolume > 0) {
+ console.log('set default volume');
setTimeout(function () {
$.get('scripts/volume.php?volume=' + defaultVolume + '%');
}, 10000);
}
if (true || raspberry) {
+ console.log('define check ecomode');
setInterval(function () {
checkEcoMode(false);
}, 60000);
runSSHQueue();
}, 1500);
+ console.log('menu init');
menu = new MmenuLight(
document.querySelector("#mainnav")
);
menunav = menu.navigation({theme: 'dark', title: ''});
menudrawer = menu.offcanvas();
+ console.log('init events');
document.querySelector('a[href="#openmenu"]')
.addEventListener('click', function (evnt) {
evnt.preventDefault();
resize();
});
-
+ console.log('init hammer');
// Long click
var mc = new Hammer.Manager(document, {
recognizers: [
return true;
});
- var eventtouch = 'click';
- try {
- if (Modernizr.touch) {
- eventtouch = 'touchstart';
- } else {
- eventtouch = 'click';
- }
- } catch (e) {
-
- }
-
$(document).on('click', '[data-remote-command]', function () {
if (maskRemoteShort && $(this).is('[data-remote-command-long]')) {
maskRemoteShort = false;
return false;
});
+ console.log('init functions');
changeAddress();
initScreenSaver();
initWeather();
initVelib();
setTimeout(function () {
+ console.log('init');
resize();
$("body").addClass('init');
}, 1000);
+
});
-function volumeDown(){
+function volumeDown() {
return false;
}
-function volumeUp(){
+function volumeUp() {
return false;
}
}
function showScreenSaver() {
- if( $('main section:visible').data('section')==='remote'){
+ if ($('main section:visible').data('section') === 'remote') {
return;
}