Commit Graph

254 Commits

Author SHA1 Message Date
59fc4fd4a9 ✏️ Correct color when clicking on list 2021-02-05 20:26:14 +01:00
Sebastien Clement
17e712427d 🚑 Fix backup now on snapshot triggering restore instead of upload #44 2021-01-20 11:16:35 +01:00
46ae0b7a77 🚑 Fix crash if SSL is disable #43 2021-01-14 18:22:56 +01:00
Sebastien Clement
231f788b58 ✏️ Change variable doc url 2021-01-12 00:31:30 +01:00
Sebastien Clement
f81c605d67 ✏️ Change logo url in readme 2021-01-12 00:28:16 +01:00
Sebastien Clement
eaf8123226 ✏️ Update Readme and move documentation in DOCS.md 2021-01-12 00:12:41 +01:00
7a5aa7b0b8 🔨 Add password protected option for snapshots #42 2021-01-11 20:22:21 +01:00
ee25207856 ✏️ Check if state is changed before saving it 2021-01-11 00:01:02 +01:00
61ddd73a8c ✏️ Hide auto-clean settings if disabled 2021-01-10 23:55:50 +01:00
f4e62a4a14 :pecil2: NodeJs code clean and refractory 2021-01-09 17:09:44 +01:00
8e01daf953 ✏️ Split scss file 2021-01-09 14:14:08 +01:00
Sebastien Clement
573ca5401c 🚑 Fix modal scroll 2021-01-09 01:29:15 +01:00
Sebastien Clement
94eb49c312 🚑 Fix error 500 if config is empty 2021-01-09 01:13:14 +01:00
Sebastien Clement
18657e37ce 🚑 Fix nextcloud modal not showing if conf is empty 2021-01-09 01:08:19 +01:00
Sebastien Clement
84c3027d97 Merge branch 'bootstrap' 2021-01-09 00:28:02 +01:00
Sebastien Clement
e2ac2dee67 ✏️ Update image and readme 2021-01-09 00:27:46 +01:00
Sebastien Clement
5bcd0b4dde ✏️ Little visual change on backup config modal 2021-01-09 00:20:58 +01:00
fce90f0b6a ✏️ JS code clean and refractor 2021-01-08 20:30:21 +01:00
f7ebd6a9e0 ✏️ Code clean 2021-01-08 19:45:41 +01:00
2e110ae9ac 🔨 Correct upload 2021-01-08 19:45:19 +01:00
039d01bf64 🔨 Convert backup setting modal to bootstrap 2021-01-08 19:05:12 +01:00
Sebastien Clement
7d4b796950 🔨 Convert nextcloud setting modal to bootstrap 2021-01-08 16:54:31 +01:00
Sebastien Clement
da37e6ecaf 🔨 Convert status update to bootstrap 2021-01-08 14:37:48 +01:00
Sebastien Clement
8328786df8 🔨 Move loading modal and toast to bootstrap 2021-01-08 13:41:36 +01:00
Sebastien Clement
19d13b4284 ✏️ Change hassio role to prevent error on addon startup 2021-01-08 10:43:58 +01:00
Sebastien Clement
59afab1120 🔨 Convert list + modal to Bootstrap 2021-01-08 01:49:21 +01:00
ae1cc25cb0 🔨 Switch navbar + header to bootstrap 2021-01-07 22:14:11 +01:00
7bcce07c59 🔨 Add bootstrap files 2021-01-07 18:21:25 +01:00
Ermanno Baschiera
52e7bacf90
fix typo on Home Assistant folder name 2021-01-07 18:18:28 +01:00
d85c04755e ✏️ Some code clean... 2021-01-07 16:37:44 +01:00
f34154a4f1 ✏️ Dependencies upgrade 2021-01-07 16:13:05 +01:00
Sebastien Clement
bdfecede62 🔨 Add logger level to config 2021-01-05 10:36:44 +01:00
Sebastien Clement
57d0394dac 🔨 Change addon base image 2021-01-04 11:51:21 +01:00
Sebastien Clement
ef8f73f848 🎉 2021 2021-01-04 11:02:19 +01:00
jrue3084
8fa8442bdd removed colon due to nextcloud error 2020-12-28 18:15:46 +00:00
Sebastien Clement
9c08147b00 🔨 Switch to partial backup #33 2020-12-06 23:37:19 +01:00
Sebastien Clement
310ecf1c17 🔨 Add settings for partial backup #33 2020-12-06 22:55:18 +01:00
Sebastien Clement
619aa80687 🚑 Manually buid basic auth header to prevent encoding issue with password #32 2020-11-17 23:28:04 +01:00
Sebastien Clement
b4fb25d3d4 ✏️ Hide host in debug logs to prevent leak when posting logs on issue 2020-11-17 23:26:25 +01:00
Sebastien Clement
cf93b87591 🚑 Use encodeURIComponent for passwords 2020-11-17 22:40:12 +01:00
Sebastien Clement
c4f5b00a84 🚑 Fix crash on startup 2020-11-17 22:21:30 +01:00
Sebastien Clement
8c03b24bc4 :amblance: encodeURI on download too 2020-11-17 22:12:36 +01:00
Sebastien Clement
a0ff15d716 🚑 UrlEncore of password to prevent URI malformed error, Possible fix for #32 2020-11-17 21:47:47 +01:00
Sebastien Clement
830f8d6fd5 Merge branch 'master' of https://github.com/Sebclem/hassio-nextcloud-backup 2020-11-17 21:08:25 +01:00
Sebastien Clement
7d174aa610 🔨 Log error message when catching 2020-11-17 21:07:50 +01:00
3941262e8c ✏️Add more debug when uploading/downloading to/from Nextcloud 2020-11-17 15:28:59 +01:00
eed5fe0eb8 :ambulane: Swith to role "manger" to fix permission issue #30 2020-11-15 12:25:07 +01:00
0405374823 🚑 Add "homeassistant_api" to config to fix permission issue #30 2020-11-15 12:04:49 +01:00
Sebastien Clement
4335f9c7da 🔨 Add name backup name setting, you can now change the backup file name #29 2020-11-12 15:12:58 +01:00
Sebastien Clement
bc5bfcad48 ✏️ Move naming tamplating doc to root 2020-11-12 13:39:20 +01:00
Sebastien Clement
f9b783a3c3 ✏️ Add doc for future naming templating #29 2020-11-12 13:37:09 +01:00
Sebastien Clement
2b8ce7f350 ✏️ Rebuild backup setting modal 2020-11-12 13:10:57 +01:00
Sebastien Clement
d888ca7b3d 🚑 Fix crash on restore if tmp folder not exist #28 2020-11-09 13:14:47 +01:00
Sebastien Clement
8632a3d079 ✏️ Clean code with prettier 2020-11-09 12:42:26 +01:00
Sebastien Clement
1237f9c6ff 🚑 Fix crash on snapshot download fail (form NC) #28
Check if file exist before trying to delete it
2020-11-09 11:45:16 +01:00
Sebastien Clement
1a1ebc252b 🔨 Add ability to upload backed-up snapshot from Nextcloud to Home assistant 2020-11-04 16:10:25 +01:00
Sebastien Clement
88cd6f2c45 🔨 Edit frontend for Restore function 2020-11-04 14:51:13 +01:00
Sebastien Clement
2c506c2e69 ✏️ Add size for backup-ed snapshot in detail modal 2020-11-04 12:30:12 +01:00
Sebastien Clement
9a581d24de 🗑️ Remove Nodemon dependencies 2020-11-04 12:27:38 +01:00
a0a31e3bf7 🚑 Fix self signed certificate #27 2020-10-14 18:34:11 +02:00
9330cb855e 🔨 Add bot file 2020-10-12 15:54:12 +02:00
7af0263b6c 🔨 Add option to accept self signed certificates 2020-10-12 13:51:57 +02:00
Sebastien Clement
c8256e2d08 🚑 Increase snapshot creation time-out 2020-09-23 19:34:24 +02:00
Sebastien Clement
b4be373a0c ✏️ Nextcloud Backups => Snapshots in Nextcloud 2020-09-16 16:58:20 +02:00
Sebastien Clement
6c7dcf691c ✏️ Manu -> Manual 2020-09-16 16:55:31 +02:00
Sebastien Clement
9fa347df64 ✏️ Set version to DEV 2020-09-16 10:20:03 +02:00
e10d3b5278 ✏️ Remove log file 2020-09-12 16:47:55 +02:00
25618ccd91 🔨 Add setting to specify backup directory 2020-09-12 16:47:32 +02:00
4cdb25c091 🔨 Split modals in different files 2020-09-12 16:45:29 +02:00
3c22a39945 🚑 Fix autoclean setting inverted #25 2020-09-12 12:35:29 +02:00
859ed047ee ✏️ Remove fallback token 2020-09-12 12:32:17 +02:00
7e996b4bb8 ⬆️ Update base docker to 8.0.1 2020-08-22 15:21:24 +02:00
f680bbe0d9 ⬆️ Update version 2020-08-21 18:28:26 +02:00
f6845c53f2 🚑 Fix Auto clean causing crash #23 2020-08-21 00:49:26 +02:00
a281d30529 🔨 Replace request library by got 2020-08-17 16:30:35 +02:00
576fb256fb ⬆️ Update version 2020-08-16 14:03:44 +02:00
hannemann
69c17b0428 feat: switch to got to upload backup file to nextcloud 2020-08-15 19:39:02 +02:00
ec92ca7793 ⬆️ Update version 2020-08-13 10:50:26 +02:00
669d49eb89
Merge pull request #20 from kicker334/patch-3
Test for issue #8
2020-08-13 10:44:05 +02:00
982b16a8ee Change : to - in auto backup name 2020-08-13 10:39:00 +02:00
Justin
314a194368
Update api.js 2020-08-12 21:49:48 -04:00
Justin
6f5bea2d98
Update package.json 2020-08-12 21:35:10 -04:00
dependabot[bot]
f273b3d43e
⬆️ Bump lodash in /nextcloud_backup/rootfs/opt/nextcloud_backup
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 02:59:18 +00:00
Sebastien Clement
0a613895aa 🚑 Increase timeout time for new backup #17 2020-07-02 09:57:51 +02:00
5fc7102988 ⬆️ Update version 2020-06-14 21:07:48 +02:00
beaa762e74 🚑 Fix https issue 2020-06-14 21:06:37 +02:00
488e04c8b3 🚑 Fix ssl setting not working #16 2020-06-14 19:51:28 +02:00
7fa1df0fcc ⬆️ Update version 2020-04-29 13:33:33 +02:00
6e551b7ff4 ⬆️ Update base docker to 7.1.1 2020-04-29 12:29:02 +02:00
80aa6fc2a4 ✏️ Add more debug logs for #8 2020-04-29 12:28:25 +02:00
Sebastien Clement
77259a17e6 🚑 Fix vulnerability 2020-04-29 11:35:28 +02:00
gitmirko
c67846a66c
index.ejs: fixed typü 2020-04-26 20:24:00 +02:00
MeIchthys
656f3d1ad3
Minor gramatical fixes 2020-04-23 22:32:04 -04:00
dependabot[bot]
0e4e360cbf
Bump acorn in /nextcloud_backup/rootfs/opt/nextcloud_backup
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 18:18:27 +00:00
e0463d1f79
✏️ Removed trailing comma 2020-03-11 10:18:24 +01:00
012b2de08a 🔨 Move autoclean local before nextcloud
If Nexcloud is not connected, clean local anyway
2020-03-03 12:51:51 +01:00
19c878bffa ⬆️ Update version 2020-03-03 12:36:47 +01:00
a34a236e0b 🚑 Fix logo not showing #10 2020-03-03 12:35:38 +01:00
3005dc3ec7 ⬆️ Update version 2020-02-16 19:27:10 +01:00
e12a652ae7 🔨 Make the app responsive 2020-02-16 19:22:27 +01:00
51b10e2bed 🚑 Fix crash on upload finish (#8) 2020-02-16 19:13:08 +01:00
df8a93fa76 ✏️ Update README.md 2020-02-15 17:36:24 +01:00
a760826d47 ⬆️ Update version 2020-02-15 16:27:12 +01:00
9aea69bbdc 🚑 Fix condition #7 2020-02-15 16:20:45 +01:00
24f6a8c552 🔨 Add logger 2020-02-15 14:28:48 +01:00
911d18675b ✏️ Minor config change 2020-01-10 21:52:49 +01:00
c2d68232a5 🔨 Change config location 2020-01-10 21:29:54 +01:00
9009bc47c3 ⬆️ Update Version to 0.7.0 2020-01-10 20:33:40 +01:00
22e9f4f912 🔨 Add auto clean cron 2020-01-10 20:29:53 +01:00
8209459648 ✏️ Update doc link for password 2020-01-10 20:22:54 +01:00
4dec2579f5 🔨 Clean at the end of upload 2020-01-10 19:52:42 +01:00
cdcbac4bc6 🔨 Add clean for local snapshots 2020-01-10 19:38:27 +01:00
fe0f923158 ✴️ Fix auto clean lever 2020-01-10 19:37:27 +01:00
c1a7016209 🔨 Add clean functionality only for Cloud 2020-01-10 18:58:31 +01:00
bf8d271f4d 🔨 Clean the entire temp folder on upload end 2020-01-10 18:20:57 +01:00
cd7ca7344d ✴️ Fix error triggered on 204 error upload 2020-01-10 18:18:26 +01:00
961b43188e ✴️ Fix double command send when list is refreshed 2020-01-10 18:17:01 +01:00
3aedd26150 🔨 Add auto clean settings UI 2020-01-06 18:23:26 +01:00
0b803005d4 🔨 Fix cron started if conf not exist 2020-01-06 18:13:38 +01:00
31bc96cb7f 🔨 Add helper message for Nextcloud password 2020-01-06 17:30:41 +01:00
dffbc13aa9 ✏️ Correct display of manual button on big screen 2020-01-06 17:23:14 +01:00
cc9f35e1ec 🔨 Display backed up snaps in Web UI (Close #3) 2020-01-06 17:19:44 +01:00
c403ec5079 🔨 Add progress tracking on upload 2020-01-06 15:20:14 +01:00
8cd2fb80c7 ✏️ Change manual card visual 2020-01-05 21:18:29 +01:00
b28796a66c 🔨 periodically checking update for local snapshots list 2020-01-05 21:04:03 +01:00
a2c93646a6 🔨 Disable "Backup Now" button if a task is already running 2020-01-05 21:02:30 +01:00
0c930c29fc 🔨 Correct wrong name on status initialization 2020-01-04 20:30:06 +01:00
52af66523f ⬆️ Update Version to 0.6.0 2020-01-04 20:05:29 +01:00
ea8aeb3f47 Adding auto backup integration (Using Cron) 2020-01-04 19:59:13 +01:00
c2e8c08cb8 🔨 Check cron settings before saving it 2020-01-04 18:30:24 +01:00
e407c23b89 Add cron config web UI and API 2020-01-04 17:56:27 +01:00
c5d0166cb8 🔨 Change date format on "last backup" 2019-12-30 18:20:36 +01:00
13045936f6 ✏️ Update version 2019-12-30 14:17:56 +01:00
4aa64cec5a ✏️ Change icon and logo 2019-12-30 14:13:19 +01:00
5b9d4098f6 🗑️ Clean repo 2019-12-30 12:48:49 +01:00
ad84f9559c ✍️ Remove useless line in 10-run 2019-12-30 12:44:11 +01:00
bc62bf4fb0 ✍️ Update add-on url and description 2019-12-30 12:41:23 +01:00
911799f826 Correct wrong link in short doc 2019-12-29 18:58:51 +01:00
e2b3783a33 Rename short readme 2019-12-29 18:53:46 +01:00
f63cedb9ac Add docker image into addon conf 2019-12-29 18:40:54 +01:00
f24be413eb Update hassio doc 2019-12-29 17:39:23 +01:00
996ffbd0f0 All doc for error codes 2019-12-28 17:34:20 +01:00
c83b7f8d4f Delete file when upload is finish 2019-12-28 17:34:01 +01:00
9b57ed3228 Date formating 2019-12-28 17:33:35 +01:00
dfc63f0956 Add create new-backup route 2019-12-28 17:33:27 +01:00
b32d51847e Update last backup when upload is finish 2019-12-28 16:25:54 +01:00
a962827599 Add upload methods 2019-12-28 12:50:36 +01:00
7ce157efec Add manual backup interface, only download 2019-12-21 22:55:40 +01:00
45f1de996e Adding internal method for downloading snap + switch to "request" 2019-12-21 19:26:45 +01:00
a0840e2581 Add nextcloud settings panel 2019-12-19 17:09:05 +01:00