Commit Graph
2525 Commits
Author SHA1 Message Date
James Valleroy a9efa2f3a3 ejabberd: bosh port moved to 5443
In ejabberd 18.09-1, the default BOSH port is changed from 5280 to
5443. Update ejabberd diagnostics and the jwchat-plinth apache conf,
which is used by JSXC.

Fixes #1398.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-11-24 17:47:28 +05:30
Allan Nordhøy d67c5ea173 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (984 of 998 strings)
2018-11-24 02:07:29 +01:00
Robert Martinez 966b2cb36a Add white Card
This puts pages on white cards.
This lets the footer float underneath content instead of bottom of the page.
This should fix issues with MR !1335

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-11-21 17:54:11 +05:30
Pavel Borecki 35c6abc6b0 Translated using Weblate (Czech)
Currently translated at 100.0% (998 of 998 strings)
2018-11-21 08:07:23 +01:00
James Valleroy 1dda15db8a Release v0.43.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 17:35:28 -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 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
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
Anthony Stalker fe74555811 Translated using Weblate (Czech)
Currently translated at 100.0% (1011 of 1011 strings)
2018-11-17 15:18:58 +01: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 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
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 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>
2018-11-05 18:41:35 -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 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
Joseph Nuthalapati 45256dd3f0 letsencrypt: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:48 -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 5be3249217 upgrades: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:11 -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 0dfa3cc9de Release v0.41.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:49:06 -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