mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-24 02:02:59 +01:00
Compare commits
3 Commits
0fb46156b8
...
204d0807d9
Author | SHA1 | Date | |
---|---|---|---|
204d0807d9 | |||
8b0922a415 | |||
|
1a61f9e2d0 |
@ -1,11 +1,11 @@
|
||||
github:
|
||||
release: true
|
||||
draft: true
|
||||
releaseName: "V${version}"
|
||||
release: true
|
||||
draft: true
|
||||
releaseName: "V${version}"
|
||||
|
||||
|
||||
git:
|
||||
changelog: "auto-changelog --stdout --handlebars-setup .github/custom-handlebars.js"
|
||||
push: false
|
||||
tag: false
|
||||
commit: false
|
||||
changelog: "auto-changelog --stdout --handlebars-setup .github/custom-handlebars.js"
|
||||
push: false
|
||||
tag: 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 })
|
||||
.done(() => {
|
||||
console.log("Restore cmd send !");
|
||||
create_toast("success", "Command send !", default_toast_timeout);
|
||||
create_toast("success", "Command sent !", default_toast_timeout);
|
||||
})
|
||||
.fail((error) => {
|
||||
console.log(error);
|
||||
@ -285,7 +285,7 @@ function manualBackup(id, name) {
|
||||
$.post(`./api/manual-backup?id=${id}&name=${name}`)
|
||||
.done(() => {
|
||||
console.log("manual bk cmd send !");
|
||||
create_toast("success", "Command send !", default_toast_timeout);
|
||||
create_toast("success", "Command sent !", default_toast_timeout);
|
||||
})
|
||||
.fail((error) => {
|
||||
console.log(error);
|
||||
@ -314,7 +314,7 @@ function getNextcloudSettings() {
|
||||
nextcloud_setting_modal.show();
|
||||
else {
|
||||
console.log(error);
|
||||
create_toast("error", "Fail to fetch Nextcloud config !", default_toast_timeout);
|
||||
create_toast("error", "Failed to fetch Nextcloud config !", default_toast_timeout);
|
||||
}
|
||||
}).always(() => {
|
||||
loadingModal.hide();
|
||||
@ -325,7 +325,7 @@ function backupNow() {
|
||||
loadingModal.show();
|
||||
$.post('./api/new-backup')
|
||||
.done(() => {
|
||||
create_toast("success", "Command send !", default_toast_timeout);
|
||||
create_toast("success", "Command sent !", default_toast_timeout);
|
||||
})
|
||||
.fail((error) => {
|
||||
console.log(error);
|
||||
@ -340,7 +340,7 @@ function cleanNow() {
|
||||
loadingModal.show();
|
||||
$.post('./api/clean-now')
|
||||
.done(() => {
|
||||
create_toast("success", "Command send !", default_toast_timeout);
|
||||
create_toast("success", "Command sent !", default_toast_timeout);
|
||||
})
|
||||
.fail((error) => {
|
||||
console.log(error);
|
||||
@ -421,7 +421,7 @@ function getBackupSettings() {
|
||||
|
||||
}).fail((error) => {
|
||||
console.log(error);
|
||||
create_toast("error", "Fail to fetch Nextcloud config !", default_toast_timeout);
|
||||
create_toast("error", "Failed to fetch Nextcloud config !", default_toast_timeout);
|
||||
}).always(() => {
|
||||
loadingModal.hide();
|
||||
});
|
||||
@ -518,4 +518,4 @@ function sendBackupSettings() {
|
||||
.always(() => {
|
||||
loadingModal.hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user