Michael Pimmer
e2584be45d
Backups: Make Manifest a dict instead of a list
...
So it's possible to add more information like metadata etc.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 13:58:41 -05:00
ssantos
7aed74a9bd
Translated using Weblate (Portuguese)
...
Currently translated at 6.5% (66 of 1011 strings)
2018-11-18 17:50:34 +01:00
James Valleroy
be3e8b7939
functional_tests: Add sso tags
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 11:49:57 -05:00
Joseph Nuthalapati
187d10592c
sso: Make auth-pubtkt tickets valid for 12 hours
...
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 11:49:24 -05:00
Michael Pimmer
dccb4a1bb7
Cherrypy: Do not limit maximum upload size
...
The default upload limit (request size) of cherrypy is 100MB.
When uploading backup archives we need larger files too.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 18:11:56 -05:00
Michael Pimmer
5632326802
Functional tests: assert that module installation succeeded
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 16:22:28 -05:00
Michael Pimmer
bcd84ab92f
Functional tests: fix waiting for redirects
...
wait_for_page_update has an 'expected_url' argument that you can use
to make the browser wait until it reaches an expected URL after a
redirect.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 16:22:22 -05:00
Michael Pimmer
33dde221d1
Functional tests: check that browser waits for redirects to finish
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 16:22:17 -05:00
Joseph Nuthalapati
56ee33793e
vagrant: Destroy Plinth development database when box is destroyed
...
Fixes #1424
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 13:10:09 -05:00
Anthony Stalker
fe74555811
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1011 of 1011 strings)
2018-11-17 15:18:58 +01:00
James Valleroy
006147b417
functional_tests: Remove remaining backup export steps
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:55 -05:00
Michael Pimmer
5fd8abcc1f
Backups: minor fixes of functional tests
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:51 -05:00
Michael Pimmer
9cba16e0d0
Backups: minor adaption of upload file size warning
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:46 -05:00
Michael Pimmer
c988d468f2
Backups: functional test to download and restore an archive
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:42 -05:00
Michael Pimmer
d4d5c15566
Backups: show free disk space on upload+restore page
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:36 -05:00
Michael Pimmer
8cc74bd203
Backups: minor cleanups
...
- some variable names, indentation and documentation changes
- removed unused backups action
- changed name of upload session variable to 'fbx-backups-upload-path'
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:26 -05:00
Michael Pimmer
2319b40d87
Backups: do not hardcode uploaded backup file path
...
And use a decorator instead of a middleware to delete backup files.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:18 -05:00
Michael Pimmer
1f9bb624e8
Backups: Stream archive downloads/exports
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:13 -05:00
James Valleroy
82a4a5fc5e
functional_tests: Remove backup export steps
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:09 -05:00
Michael Pimmer
f539a223f6
Functional tests: minor documentation changes
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:04 -05:00
Michael Pimmer
b92b66b7e9
Backups: clean up forms, names and templates
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 08:59:59 -05:00
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