2402 Commits

Author SHA1 Message Date
James Valleroy
f500e3a027
ikiwiki: Add sites folder to backup data
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:07 +05:30
James Valleroy
94a1b37700
backups: Add more basic tests for backups API
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:53 +05:30
James Valleroy
4d8b3c145d
backups: Use backups API for restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:43 +05:30
James Valleroy
481a299250
backups: When restoring, only list apps included in backup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:36 +05:30
James Valleroy
2a9a220770
backups: Use valid filename for manifest
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:26 +05:30
James Valleroy
461fe21a19
backups: Add apps selection to restore form
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:17 +05:30
James Valleroy
50b4bc86ae
backups: Confirm that archive exists before restoring
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:43:09 +05:30
James Valleroy
5c90e9c68b
backups: Don't display time as separate column
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:43 +05:30
James Valleroy
55355726d5
backups: Use valid filename for export
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:32 +05:30
Joseph Nuthalapati
5633fccaa3
backups: Check if paths exist before passing them to borgbackup
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:24 +05:30
Joseph Nuthalapati
7997835c27
backups: Support multiple backups in one day
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:08 +05:30
James Valleroy
e815256b22
backups: Include app versions in manifest file
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:42:00 +05:30
James Valleroy
d76322a362
backups: Dump manifests file and include it in backup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:41 +05:30
James Valleroy
616af37407
backups: Disable create archive when no supported apps are installed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:34 +05:30
James Valleroy
3681985f40
backups: Patch actions for shutdown services test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:23 +05:30
James Valleroy
9554a34cce
backups: Fix and test service shutdown and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:12 +05:30
James Valleroy
b272020e94
backups: Use paths from selected apps
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:41:05 +05:30
James Valleroy
e72fb62008
backups: Select all apps by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:40:56 +05:30
James Valleroy
5cd1a1954c
backups: Provide a default backup name
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:40:40 +05:30
James Valleroy
52ab0b54c6
backups: Implement process manifests for Packet
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:40:29 +05:30
James Valleroy
db2c828220
backups: List supported and installed apps when creating
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:40:18 +05:30
James Valleroy
292597d894
users: Reset groups before testing register_group
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:40:09 +05:30
James Valleroy
d0581243aa
backups: Fix iteration over loaded modules
Add tests for affected functions.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:39:55 +05:30
James Valleroy
539c6ca99e
backups: Move manifest validation into backups app
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:39:35 +05:30
James Valleroy
623dbb4cbf
backups: Validate backup manifests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:39:07 +05:30
danielwine
f1527bb7df
Translated using Weblate (Hungarian)
Currently translated at 85.9% (860 of 1001 strings)
2018-09-20 19:27:59 +02:00
Allan Nordhøy
496e4c8685
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-14 17:21:03 +02:00
Allan Nordhøy
5380b7be66
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-13 16:57:39 +02:00
Petter Reinholdtsen
d770d28b43
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1001 of 1001 strings)
2018-09-13 16:57:32 +02:00
Doma Gergő
3a570e2757
Translated using Weblate (Hungarian)
Currently translated at 85.9% (860 of 1001 strings)
2018-09-13 04:19:01 +02:00
Joseph Nuthalapati
93f7c2fa2c
Fix typo in the description meta tag
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-11 10:47:03 +05:30
James Valleroy
c4c3adbbaa
Release v0.38.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-10 18:12:47 -04:00
James Valleroy
6c5a0d3cda
tests: Make coverage package optional
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-10 20:09:11 +05:30
Doma Gergő
4a4e3525a8 Translated using Weblate (Hungarian)
Currently translated at 85.7% (858 of 1001 strings)
2018-09-08 15:49:33 +02:00
Doma Gergő
3c4b254909
Translated using Weblate (Hungarian)
Currently translated at 85.6% (857 of 1001 strings)
2018-09-07 02:19:43 +02:00
Doma Gergő
93949bda73 Translated using Weblate (Hungarian)
Currently translated at 84.5% (846 of 1001 strings)
2018-09-01 23:06:06 +02:00
advocatux
e79ba32fc6
Translated using Weblate (Spanish)
Currently translated at 100.0% (1001 of 1001 strings)
2018-08-30 21:34:54 +02:00
Doma Gergő
aa90564c96
Translated using Weblate (Hungarian)
Currently translated at 83.0% (831 of 1001 strings)
2018-08-30 04:17:16 +02:00
BO41
5a8a834e83
Translated using Weblate (German)
Currently translated at 100.0% (1001 of 1001 strings)
2018-08-29 15:27:33 +02:00
Johannes Keyser
bd5a5d6257
Translated using Weblate (German)
Currently translated at 99.8% (999 of 1001 strings)
2018-08-29 14:38:25 +02:00
Igor
71f6d1db42
Translated using Weblate (Russian)
Currently translated at 100.0% (1001 of 1001 strings)
2018-08-28 15:13:35 +02:00
Pavel Borecki
2847e34689
Translated using Weblate (Czech)
Currently translated at 100.0% (1001 of 1001 strings)
2018-08-28 08:15:02 +02:00
Allan Nordhøy
5ea0c733d0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.1% (992 of 1001 strings)
2018-08-28 03:03:33 +02:00
James Valleroy
d14a1a5812
Release v0.37.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-08-27 20:10:17 -04:00
James Valleroy
4979d297ef
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-08-27 18:10:41 -04:00
Joseph Nuthalapati
61b6395a1c
install: Use Post/Response/Get pattern for reloads
Redirect the POST request for install with the template. This ensures that any
reload performed on the page will be a GET request.

https://en.wikipedia.org/wiki/Post/Redirect/Get

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-21 17:51:59 +05:30
Allan Nordhøy
7cb7398349 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (995 of 995 strings)
2018-08-17 14:03:21 +02:00
James Valleroy
04d14e276f
backups: Restore from exported archive
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-17 17:31:25 +05:30
James Valleroy
bd45de2915
backups: Add list of exported archives
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-17 17:31:15 +05:30
James Valleroy
ab9f961091
backups: Simplify export of backup archive files
- Allow selection of Root Filesystem or any removable drive.
- Export to FreedomBox-backups folder in selection location.
- Handle export location without / at the end

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-17 17:31:06 +05:30