Skip to content

Commit

Permalink
Fix some warnings with dialogs and test app with Nextcloud 17
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Sep 17, 2019
1 parent 2906e77 commit 6fd31a4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ matrix:
env: DB=mysql CORE_BRANCH=stable15
- php: 7.2
env: DB=mysql CORE_BRANCH=stable16
- php: 7.2
env: DB=mysql CORE_BRANCH=stable17
# - php: 7.2
# env: DB=mysql CORE_BRANCH=master
# - php: 7.2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# OwnBackup Change Log

## 19.9.0
- enabled and tested app for Nextcloud 17
- fixed some warnings with dialogs

## 19.5.0
- fixed possible remote code execution attack

Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Its main purpose is to provide an easy solution to restore the tables of an app
- Use this app at your own risk! Data loss may occur!
- This app is no replacement for a more professional backup solution!]]></description>
<version>19.5.0</version>
<version>19.9.0</version>
<licence>agpl</licence>
<author mail="patrizio@bekerle.com" homepage="http://www.bekerle.com/">Patrizio Bekerle</author>
<namespace>OwnBackup</namespace>
Expand Down
11 changes: 6 additions & 5 deletions appinfo/signature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
"hashes": {
".codeclimate.yml": "9b22c2fa0ce1da49ec62fcc9a31318a03300d8fa02abc5f1c9809befbccbdc11ab375da88be672a3297e27cdc69ffbd786a244dbbb542068145ca7fb902cac11",
".editorconfig": "3f6603e83dd948fb07946fd9fee11673c1196a3e3710a6b5dfd2f8861a3cfd49a8abca1273f9678f529d0c2edca9fd3f6d51adc07bcd071f9aa0716075f7e048",
".github\/FUNDING.yml": "d24fe97c3063a0c5848c13c4cb7ee8e3dd9f3c5481ce37f482f7b86dad5437953710cd09423df48e4c7908cd1f1611d831ea7467480bce16e01e215c44371ced",
".gitignore": "d6e9c42ba76dc8275ab5b87238ec010f5e3b58924dbf7bd44ed758b92cf308ccf6dbc4afd70e185c2f1b3b457d8212684a81fa164ef8cad08a5b548258944de2",
".travis.yml": "daa519dabc33e13690466f7862525851f2b91ae8f5ef9e5e7921e186914083611cd0bb96d570000681efc9fe149b4482311ace5a8ced63724619a8d1ccbc667d",
".travis.yml": "1c0f6f55f3afc9cea9281b1e4790a08d349873fcd2ccef7413d13197f54eeacca400d5c6cec8e9a33a33aa75cd03a39df03c4e9174c2658332657373cd84df60",
"AUTHORS.md": "471173dfd8ee079c988b04ea7b12a7cab1d82bcc1491f8075b805ead2718fa3578fce4afb334244fb464bbc28b38f5a2b9c1d6403ee6866237832bdf7aca2e17",
"CHANGELOG.md": "a3352affabf1e5e3612bb53de298d6ca84381766e36599af11cbf350176e8940d275d3d5ede77d4c66687b004c60af014bac3c08f3033ddea4006730b280ffe2",
"CHANGELOG.md": "657b2e9a811d76fe50b52189d0013c21429643cdb51df7a47da9eddd1b1a5ad8a901d2b2a28ceec9321804222a06cf084c08bdc54dd20960a18ecbaa5b20fba9",
"COPYING": "6e90d46be391aa645bcf4dfaa67f452cb15a73749f1895633789c7763b43cc0b65d391e5e95652c9a9a2063c956e0e8099a4e1ce4b70b0636629f9eac39c1080",
"Makefile": "99f6f138ba9e23d969b8289e310b55f82a13f79c965cdb7a5b67eeae4c26bf474b1788ff9d66c148d5ebbbe4b773b35ad62f2ca204eac5ea1086e78ed9b266ac",
"README.md": "d3f1648758b555170716f5b72820960c29ad186f71ae1140ec8ad6b73d78eaaf774f31208afa21164a6d487eba2d262ec5fb22008d185ada94e3d7300af1fde9",
"admin.php": "f5210f49a663254a7c63e2da29bda9d5e6a7c603616719169507be9310b562e7ee698761639b22251f9b1c8a31d3ab7b1c91638c7361e498fdcc8c50f496fd52",
"appinfo\/app.php": "39f641522791d52a766e54ad49055e55658c8f5cf5692f7db32af8f4d1e93067c3b8fe2020bd6e5ac07f11bc2a309b09a935ae1c6f432cbcbd66852c6db3d71a",
"appinfo\/application.php": "1a8ffd334685adfe1a1ccf476d74bc8068a41ecba93c8c2a4514ce5b897e6e65c7fecea659ddb3e2d62c8320dc1743b5f48cd737bf8648b0be355f9dc5eacaf6",
"appinfo\/info.xml": "0e8221652f6354e77e5bb93b6d953c7c4fc599d20754087525fd3f41fc063dc7daba478a859fe1aeddf515053e54507adcc83fbb3e2837eb5fd4a3ea19143a12",
"appinfo\/info.xml": "eaf5d9c2c35ead6ff286c55a82e58608891928a99f4cdb0a4c4cccaf0c6086bcfcfd77e6b6e868c75d2a5085abcb89e1425c43ca8afc260658bdadfcda8a4395",
"appinfo\/routes.php": "7c3c933c48c1fa034ec26c64bd61897b820bceb3bbd6772481a301876be8aaf2d2b84fd3cfff354a9d28f389488b7af738d01f8288ce1c2c3cf61ee49e43b15b",
"controller\/admincontroller.php": "c948c350f750c35e7e35dddbd65b9e9b0a0821aca5015a0d784cb63eaa8b5483258bc9db6947dfe45c67c148b6f94cf9c382c62463ef304d411259fd381eab7e",
"css\/chosen-sprite.png": "4970abcf8c68ea16f76c5a6612a4fafb791f5ed95cd01186eb49bd6000fa5c09daf769a5bf298b86b52a2fe4961efb0d4173a067cf85488be0bc9f3eac41e088",
Expand All @@ -22,7 +23,7 @@
"img\/app.svg": "3518a23d17ef9ff18ea73c96e0f382bb439436ca15383495926563d821e293eec44ce90d397a508b21fde12e40db72022081ffc954e5cd34ed992d3cbeb04171",
"jobs\/backupjob.php": "516417b3505390cdce553b59769fa8d4bf5c0396f73570c2a3a4e7a929b21f58219ed3316c9ed1635ce791af969934477c107c515670a573fea717e967a38419",
"js\/chosen.jquery.min.js": "42fc19d5004f83f5af1233c29c87b588bc3d3f812e6cd47327972eba27cf273a3f52f3266e7b87c98bb2669e6b0c6cd01c0cb64cc1be00b6044bf1d73c02492c",
"js\/script.js": "953b5b9735fe6e60bf481f3304321ed42e80e5acae57e9de1591ed02bcf4ebe208bb0d5fcddf72964dc8ae83d8512c0951a2d6c284851419132b5216553ff9e6",
"js\/script.js": "f321e8b785cc35a2e042aa8c71c76357326064e299bd751f8d00219c2db60bd66d554e0ef1915a7eb7749f7dc54244754446dc6cdc733c971724b9f87524119d",
"phpunit.coverage.xml": "21686e83eada96dd35b0187b5f9e5f4df15e9ab0faf36c54c8cc1f0631f739f56bbccb1a0668002ebb13104d7e28ecfec9b277ca665641b3abab4330a12dddca",
"phpunit.integration.xml": "d477d2d4e122ea372352b7e3c96e6973ad6c82b04c3adeb1edf02029f1cff62240ac188b99e063c7423e7603098dd7ab89c8f146c5382d8c8a9e0a9117f70da3",
"phpunit.xml": "c4b7fe8203adf562ae2aa01090b46d0a1337df7766285b97d5fe27be19636f5385deb08f19101305536423006deed50eb22f3cc7f6ebf5c1d2fc4fe009c961bc",
Expand All @@ -35,6 +36,6 @@
"tests\/travis\/php.ini": "42ae4f728eb4e0cec696ae48c61d58e50e836b0f291cf74fdc0d7229c565c2bf3c076ac150ce7250dde2e4600804f17404a09555e1978d7e79bb84d39e2c78e1",
"tests\/unit\/controller\/AdminControllerTest.php": "1b3930a23a1aea148da5f0d36c9186f8c5ced862a919c044a9baf6306abea47ac4268770e4f11e2b405b04d7d810eeb096d3d6a636fd91aa98c559c8b9b58bac"
},
"signature": "nT04E7IqH50sSNb3B34GG7zCS9JYJ0ntFQGnA8eewJ\/\/ZVxUGpDzXFTpXlmq23HNmV9Lxvyub\/Tppp7BWCl\/p4vn\/0hvtPnfDGtCOiZgtmC4c2yuqmwmispuWtfOs8jIP6RdzSXrOm8suFfec\/vzoCP465TQAN5wY\/ugyANHii3\/2pklDTq4vKoClrKn5HlmjGGa4vsYzxXIlwB3tv\/XdhW7fjp+9mDh5\/cOna7J\/7xm2ao1G3NrlQYQlnRY6bWRh5KvjNeoHEMZezJcQM4QxKOrm2\/rMgWunYffbwJSQyg3Wdusx\/ZjG8m1FUfpe3P7kGYubQqcbmW5NfUB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XyACJm1TcF8Gpy3KaApkWEJ2iCDQ9ssuQIDAQABMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQCcW82K+95msQe9wGD26OmpelNABiZgLh03JZLgqAS0AmcN+eDuKoBN\r\nouWDqWXYyZyxBAq5la7HDC+jXkOoxl1LoozQgcpfNm267kAYnK0DAZ2hnaoul4IG\r\nSyHyLyLYucA2mBLF3XmAm1UhI5s09Ofqa7BTZ6Xv1f0dsd34wmhOcImJNnEvygaB\r\nTKAMCnmN9++O\/N1Lt3F2PFMn4BDBcJXF8hPuC8flw2gjS52iDbrYyBBtKQbpC6WQ\r\n0bnmrq2WaJR6u6Oud5kqRs9JagrDTW6gZGs0L0pj81Xjn5fHRPa50SvhWs+yJ1m1\r\n3hEDcaKK\/AMgijHp8hNHj66UZk5qnelJ\r\n-----END CERTIFICATE-----"
}
8 changes: 4 additions & 4 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ console.log("ownbackup");
$(document).ready(function () {
$('#ownbackup-backup-button').click(function () {
console.log("ownbackup-backup-button");
OCdialogs.confirm(
OC.dialogs.confirm(
t('ownbackup_backup', 'Are you sure you want to create a new backup?'),
t('ownbackup_backup', 'Create backup?'),
function( confirmed )
Expand All @@ -38,7 +38,7 @@ console.log("ownbackup");
$('#ownbackup-cover').hide();
$('#ownbackup-backup-tables-block').hide();

OCdialogs.info( response.message, t('ownbackup_backup', 'New backup'), null, true );
OC.dialogs.info( response.message, t('ownbackup_backup', 'New backup'), function() {}, true );
});
}
},
Expand All @@ -60,7 +60,7 @@ console.log("ownbackup");

$('#ownbackup-restore-button').click(function (){

OCdialogs.confirm(
OC.dialogs.confirm(
t('ownbackup_restore', 'Are you sure you want to restore the selected tables?'),
t('ownbackup_restore', 'Restore tables?'),
function( confirmed )
Expand All @@ -82,7 +82,7 @@ console.log("ownbackup");
$('#restore-message').hide();
$('#ownbackup-cover').hide();

OCdialogs.info( response.message, t('ownbackup_restore', 'Tables restored'), null, true );
OC.dialogs.info( response.message, t('ownbackup_restore', 'Tables restored'), function() {}, true );
});
}
},
Expand Down

0 comments on commit 6fd31a4

Please sign in to comment.