mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-24 10:12:59 +01:00
Compare commits
No commits in common. "204d0807d9346a20423982d02eb4e68b67a92a6a" and "0fb46156b83c2b916dc7d08f5e0e3d6da13eeb60" have entirely different histories.
204d0807d9
...
0fb46156b8
@ -1,11 +1,11 @@
|
|||||||
github:
|
github:
|
||||||
release: true
|
release: true
|
||||||
draft: true
|
draft: true
|
||||||
releaseName: "V${version}"
|
releaseName: "V${version}"
|
||||||
|
|
||||||
|
|
||||||
git:
|
git:
|
||||||
changelog: "auto-changelog --stdout --handlebars-setup .github/custom-handlebars.js"
|
changelog: "auto-changelog --stdout --handlebars-setup .github/custom-handlebars.js"
|
||||||
push: false
|
push: false
|
||||||
tag: false
|
tag: false
|
||||||
commit: false
|
commit: false
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -230,7 +230,7 @@ function restore(id) {
|
|||||||
$.post('./api/restore', { path: id })
|
$.post('./api/restore', { path: id })
|
||||||
.done(() => {
|
.done(() => {
|
||||||
console.log("Restore cmd send !");
|
console.log("Restore cmd send !");
|
||||||
create_toast("success", "Command sent !", default_toast_timeout);
|
create_toast("success", "Command send !", default_toast_timeout);
|
||||||
})
|
})
|
||||||
.fail((error) => {
|
.fail((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@ -285,7 +285,7 @@ function manualBackup(id, name) {
|
|||||||
$.post(`./api/manual-backup?id=${id}&name=${name}`)
|
$.post(`./api/manual-backup?id=${id}&name=${name}`)
|
||||||
.done(() => {
|
.done(() => {
|
||||||
console.log("manual bk cmd send !");
|
console.log("manual bk cmd send !");
|
||||||
create_toast("success", "Command sent !", default_toast_timeout);
|
create_toast("success", "Command send !", default_toast_timeout);
|
||||||
})
|
})
|
||||||
.fail((error) => {
|
.fail((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@ -314,7 +314,7 @@ function getNextcloudSettings() {
|
|||||||
nextcloud_setting_modal.show();
|
nextcloud_setting_modal.show();
|
||||||
else {
|
else {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
create_toast("error", "Failed to fetch Nextcloud config !", default_toast_timeout);
|
create_toast("error", "Fail to fetch Nextcloud config !", default_toast_timeout);
|
||||||
}
|
}
|
||||||
}).always(() => {
|
}).always(() => {
|
||||||
loadingModal.hide();
|
loadingModal.hide();
|
||||||
@ -325,7 +325,7 @@ function backupNow() {
|
|||||||
loadingModal.show();
|
loadingModal.show();
|
||||||
$.post('./api/new-backup')
|
$.post('./api/new-backup')
|
||||||
.done(() => {
|
.done(() => {
|
||||||
create_toast("success", "Command sent !", default_toast_timeout);
|
create_toast("success", "Command send !", default_toast_timeout);
|
||||||
})
|
})
|
||||||
.fail((error) => {
|
.fail((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@ -340,7 +340,7 @@ function cleanNow() {
|
|||||||
loadingModal.show();
|
loadingModal.show();
|
||||||
$.post('./api/clean-now')
|
$.post('./api/clean-now')
|
||||||
.done(() => {
|
.done(() => {
|
||||||
create_toast("success", "Command sent !", default_toast_timeout);
|
create_toast("success", "Command send !", default_toast_timeout);
|
||||||
})
|
})
|
||||||
.fail((error) => {
|
.fail((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@ -421,7 +421,7 @@ function getBackupSettings() {
|
|||||||
|
|
||||||
}).fail((error) => {
|
}).fail((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
create_toast("error", "Failed to fetch Nextcloud config !", default_toast_timeout);
|
create_toast("error", "Fail to fetch Nextcloud config !", default_toast_timeout);
|
||||||
}).always(() => {
|
}).always(() => {
|
||||||
loadingModal.hide();
|
loadingModal.hide();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user