3769 Commits

Author SHA1 Message Date
James Valleroy
1dda15db8a
Release v0.43.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.43.0
2018-11-19 17:35:28 -05:00
James Valleroy
3173de94ad
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 17:15:06 -05:00
James Valleroy
9b4d3df312
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 16:47:28 -05:00
Joseph Nuthalapati
43e7633868
openvpn: Always write the latest server configuration on setup
This takes care of the case where a user has tried the "setup" step and
failed. The new configuration will overwrite the old one.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 07:46:38 -05:00
Joseph Nuthalapati
3a579e2d72
openvpn: is-setup checks for non-empty dh.pem file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 07:46:31 -05:00
Joseph Nuthalapati
d5a73aaac4
openvpn: Migration from easy-rsa 2 to 3
Fixes #1318
Fixes #1327

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 07:46:27 -05:00
James Valleroy
7b1c6d4345
upgrades: Internationalize string and apply minor formatting
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 17:22:17 -05:00
Robert Martinez
5edc1edcfb
Incorporate feedback from MR
* change wording
* correct indentation
* correct typos
* disable update button
* use semantic tag
* reduce button size
* apply consistent id-naming

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 17:22:12 -05:00
Robert Martinez
2bf766a589
Update module terminology improvements
"Update" is universally applied as the term for
upgrade/update/unattended upgrade/... as agreed on #1376 .

Changes also include simplifcation of text and interface, too.
Code may still need to be updated. This commit only touches on visibile
text.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 17:22:06 -05:00
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