3739 Commits

Author SHA1 Message Date
Michael Pimmer
c8554bef9d
Backups: fix test
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:53 -05:00
Michael Pimmer
50e0bae67c
Backups: relative paths for borg extract in action script
'borg extract' expects relative paths as patterns for PATH(s)

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:46 -05:00
Michael Pimmer
35305d5e37
Backups: clean up exporting archives functionality
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:40 -05:00
Michael Pimmer
a350ab200e
Backups: Dont fail when borg doesn't find files to extract
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:35 -05:00
Michael Pimmer
c770a7adfb
Backups: Restore directly from archive
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:29 -05:00
Michael Pimmer
51b0950ec4
Backups: uploading and import with temporarily stored file
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:24 -05:00
Michael Pimmer
ff673b0d73
Backups: export and download archives in one step
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:03 -05:00
James Valleroy
629e34f93c
Release v0.42.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.42.0
2018-11-05 18:41:35 -08:00
James Valleroy
fdf461d2e7
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-05 18:40:57 -08:00
James Valleroy
9b5662b562
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-05 18:13:17 -08:00
Joseph Nuthalapati
ed09028fcd
udiskie: unmount drive as superuser
Since storage devices are auto-mounted as root, they also need to be unmounted
as root.

The assumption here is that this wouldn't have any impact on being able to
write to the devices.

Fixes #1411

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-05 18:07:29 -08:00
ButterflyOfFire
c2dc2cb2e2 Translated using Weblate (Italian)
Currently translated at 51.7% (524 of 1012 strings)
2018-11-02 01:44:52 +01:00
ButterflyOfFire
7c926697e7 Translated using Weblate (Indonesian)
Currently translated at 18.4% (187 of 1012 strings)
2018-11-02 01:44:52 +01:00
Joseph Nuthalapati
c96c7089a3
tahoe: yapf run
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:40:02 -04:00
Joseph Nuthalapati
68ff01c301
tahoe: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:39:57 -04:00
Joseph Nuthalapati
78950b1ba3
tahoe: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:39:52 -04:00
Joseph Nuthalapati
09a3d57bfd
tahoe: Minor changes to facilitate functional tests
- Change the base URL of the app so that functional tests can guess the URLs.

- Assign classes to generate HTML elements.

- Indentation.

- Normalize URLs to have '/' at the end as per Django convention.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:39:40 -04:00
Michael Pimmer
97f69eb3ee
Actions: path in development mode: do not preserve PYTHONPATH
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-31 20:24:35 -04:00
Michael Pimmer
525638357f
Actions: use local plinth in development mode
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-31 20:24:30 -04:00
buoyantair
487dca4f43 Translated using Weblate (Telugu)
Currently translated at 72.5% (734 of 1012 strings)
2018-10-30 04:29:12 +01:00
James Valleroy
749ddca68e
functional_tests: Fix steps with domain parameter
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:51 -04:00
Joseph Nuthalapati
45256dd3f0
letsencrypt: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:48 -04:00
Joseph Nuthalapati
874dcdf282
monkeysphere: Skip functional tests until bugs are resolved
Currently, monkeysphere does not get installed properly unless FreedomBox
security is disabled. Skip these tests until the monkeysphere is patched
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911907 .

Another way to enable these tests is to disable restricted logins (write steps
to do that) before running them.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:40 -04:00
Joseph Nuthalapati
37262f1bb7
monkeysphere: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:36 -04:00
Joseph Nuthalapati
f52e13d316
monkeysphere: Add functional tests for import/publish keys
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:31 -04:00
Joseph Nuthalapati
a75b415624
tests: Change the domain to be an FQDN
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:28 -04:00
Joseph Nuthalapati
f132b2ada9
monkeysphere: yapf reformatting
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:24 -04:00
Joseph Nuthalapati
23110df2dd
monkeysphere: Handle importing new OpenSSH format keys
OpenSSH 7.8 and above use OpenSSH key format instead of the earlier PEM format
by default for RSA keys. This format is not understood by openssl/monkeysphere
yet. Convert it to PEM before importing into monkeysphere.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:18 -04:00
Joseph Nuthalapati
5be3249217
upgrades: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:11 -04:00
Joseph Nuthalapati
37d84c0f50
upgrades: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:05 -04:00
Joseph Nuthalapati
47faa5512d
tor: Enable backup/restore
Backup and restore all instances of tor and not just FreedomBox instance.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:21:58 -04:00
Joseph Nuthalapati
6dd7823c9e
tor: Add functional tests for relays and hidden services
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:21:51 -04:00
Joseph Nuthalapati
946011492f
Translated using Weblate (Telugu)
Currently translated at 72.4% (733 of 1012 strings)
2018-10-27 16:43:48 +02:00
James Valleroy
30fd4015b7
snapshot: Handle snapper list output change
Fixes #1408.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-10-25 15:11:32 +05:30
Robert Martinez
0654d34d60
Fix wrong color in mobile menu
This should fix issue #1319.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-23 20:41:19 -04:00
James Valleroy
0dfa3cc9de
Release v0.41.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.41.0
2018-10-22 19:49:06 -04:00
James Valleroy
f3897781ac
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:48:19 -04:00
James Valleroy
a73310c603
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:28:38 -04:00
Joseph Nuthalapati
c33b192f71
backups: Don't rely on disk labels during export/restore
Disk labels are unreliable. They may not exist. There are not unique and two
disks in the system may have the same label. Instead use the device path of the
disk/partition.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:26:22 -04:00
Joseph Nuthalapati
b29ccfc060
storage: Minor styling with urlencode call in template
For consistency.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:26:20 -04:00
Joseph Nuthalapati
d5860ac179
backups: Fix issue with showing exports from disks without labels
When a disk does not have a label, its device path is used. This contains a '/'
which by default is not encoded by 'urlencode' filter in Django templates. This
leads to the expected URL not matching the regex in urls.py. Fix this by
ensuring that '/' is also encoded by 'urlencode'.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:26:17 -04:00
rafael
41b8c16a68 Translated using Weblate (Spanish)
Currently translated at 99.1% (1003 of 1012 strings)
2018-10-23 00:24:43 +02:00
James Valleroy
edcf4a5619
backups: Handle permission error during chown
This happens on FAT file systems, where chown operation is not
possible.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 18:19:02 -04:00
Joseph Nuthalapati
6be6b847fd
backups: Make plinth the owner of the backup archives
Changing the ownership of the backup archives from "root" to "plinth" fixes the
permission errors when downloading backup archives.

Fixes #1402

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 18:17:01 -04:00
James Valleroy
cf6d0aa938
functional_tests: When creating backup, scroll window to top
Ensures that the checkbox for selected app can be scrolled into view.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:58 -04:00
James Valleroy
92d128a4b3
deluge: Handle prompt to change default password
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:49 -04:00
Joseph Nuthalapati
4297983ff1
storage: Enable backup/restore (no data)
There might be data to backup in future if we allow configuration. Currently, it
is just an assurance to the user that there is no data to backup.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:41 -04:00
Joseph Nuthalapati
b22c12b912
power: Enable backup/restore (no data)
There might be data to backup in future if we allow configuration. Currently, it
is just an assurance to the user that there is no data to backup.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:37 -04:00
Joseph Nuthalapati
f362ce937e
names: Enable backup/restore (no data)
There might be data to backup in future if we allow customizing domain
configuration. Currently, it is just an assurance to the user that there is no
data to backup.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:21 -04:00
Joseph Nuthalapati
1fb30ba55f
diagnostics: Enable backup/restore (no data)
There might be data to backup in future if we allow configuration. Currently, it
is just an assurance to the user that there is no data to backup.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:16 -04:00