Commit Graph
6641 Commits
Author SHA1 Message Date
James Valleroy 3f8d529389 Merge tag 'v21.9' into debian/bullseye-backports
freedombox Debian release 21.9

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-21 13:05:21 -04:00
James Valleroy 5367980163 Release v21.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.9
2021-09-18 10:07:51 -04:00
James Valleroy d80e8b0ba8 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-18 10:07:17 -04:00
James Valleroy 0eed9ec888 locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-18 09:35:00 -04:00
Andrij Mizyk ed48bc1467 Translated using Weblate (Ukrainian)
Currently translated at 75.4% (1142 of 1513 strings)
2021-09-18 15:33:07 +02:00
池边树下 584d8a7215 Translated using Weblate (Chinese (Simplified))
Currently translated at 48.2% (730 of 1513 strings)
2021-09-18 15:33:06 +02:00
ikmaak 2815a30f92 Translated using Weblate (Dutch)
Currently translated at 99.7% (1509 of 1513 strings)
2021-09-18 15:33:06 +02:00
Sunil Mohan Adapa 28c1d5eda3 web_framework, tests: Workaround captcha 0.5.6 vs. Django 3.2
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-18 08:36:46 -04:00
Veiko Aasa c5c1f5594d gitweb: tests: functional: Fix test failure if initial default branch is not master
Closes #2101.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-18 00:04:33 -07:00
Veiko Aasa 00be64036a gitweb: tests: Convert functional tests to non-BDD python format
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-18 00:04:24 -07:00
Andrij Mizyk e2c27a794c Translated using Weblate (Ukrainian)
Currently translated at 73.6% (1114 of 1513 strings)
2021-09-17 20:30:00 +02:00
Andrij Mizyk ea6ee0f35f Translated using Weblate (Ukrainian)
Currently translated at 70.9% (1074 of 1513 strings)
2021-09-17 18:32:46 +02:00
Andrij Mizyk e9a9c72256 Translated using Weblate (Ukrainian)
Currently translated at 67.8% (1027 of 1513 strings)
2021-09-17 15:30:26 +02:00
109247019824 1e124e8b7c Translated using Weblate (Bulgarian)
Currently translated at 2.0% (31 of 1513 strings)
2021-09-15 23:34:40 +02:00
Sunil Mohan Adapa 8091e20072 tests: Add some missing markers
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:04:23 -07:00
James Valleroy 7cc3419935 backups: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:04:10 -07:00
James Valleroy e097250d90 jsxc: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:03:58 -07:00
James Valleroy 9cc69ed32c matrixsynapse: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:03:45 -07:00
James Valleroy c2844d358e performance: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:03:32 -07:00
James Valleroy b91d2d8c7f minidlna: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:03:15 -07:00
James Valleroy fa6aed9c7a minetest: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:03:00 -07:00
James Valleroy dc1f6ef732 infinoted: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:02:47 -07:00
James Valleroy 00bbae33ff i2p: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:02:35 -07:00
James Valleroy f8277c09ca cockpit: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:02:22 -07:00
James Valleroy 42c2bcfde7 avahi: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add markers]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-13 19:01:51 -07:00
ikmaak f4792a6d88 Translated using Weblate (Dutch)
Currently translated at 99.0% (1498 of 1513 strings)
2021-09-13 12:44:00 +02:00
Sunil Mohan Adapa 0e22eb6c6e container: Fix the update command for new web server
Closes: #2109.

We moved from Nginx to Apache on ftp.freedombox.org. This changed the datetime
format in the index pages we were relying on to find the difference with local
image. Update this datetime format.

Tests:

- Run ./container update with an old image already in the .container directory.
New image will be downloaded and verified.

- Run ./container update immediately after downloading the latest image. No new
download is done.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-11 20:41:16 -04:00
Sunil Mohan Adapa ae541ca752 apache: Setup Mozilla recommended configuration
- TLS configuration as recommended by Mozilla's SSL Configuration Generator with
'Intermediate' configuration. See:
https://wiki.mozilla.org/Security/Server_Side_TLS

- Disable ciphers that are weak or without forward secrecy.

- Allow client to choose ciphers as they will know best if they have support for
hardware-accelerated AES.

- TLS session tickets (RFC 5077) require restarting web server with an
appropriate frequency. See:
https://httpd.apache.org/docs/current/mod/mod_ssl.html#sslsessiontickets

- Send OCSP responses to the client and reduce their round trips.

- No need to increment apache app version number as it has already been
incremented in this release cycle for enabling HTTP/2 module.

Tests:

- FreedomBox interface is reachable with the changes.

- ssllabs.com gives an A+ rating on a server with these changes.

  - All ciphers are shown as secure.

  - Forward Secrecy rating is ROBUST.

  - OCSP stapling shows as enabled.

  - Client support seems to match the expected after dropping <= TLS1.1.

  - Session resumption with tickets shows as disabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-11 14:31:34 -04:00
Sunil Mohan Adapa 857ab0afe1 apache: Enable and prioritize HTTP/2 protocol
- Enabling the module automatically sets 'Protocols h2 h2c http/1.1' in shipped
module configuration.

- HTTP/2 is given higher priority over HTTP/1.1 for supported clients.

- Clients not supporting HTTP/2 continue to work with HTTP/1.1.

- Clients work by using APLN extension in TLS to figure out that server supports
HTTP/2 and use it.

- HTTP/2 improves performance.

- Recommended by Mozilla's SSL configurator: https://ssl-config.mozilla.org/.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-11 14:31:30 -04:00
Sunil Mohan Adapa e8c4e732ea apache: Drop support for GnuTLS
- We have switched to mod_ssl long time ago and are no longer using mod_gnutls.

- It is additional effort configure and test mod_gnutls.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-11 14:31:27 -04:00
Sunil Mohan Adapa 34987c77bd d/lintian-overrides: Drop workaround for remove-on-upgrade dpkg flag
As of Lintian 2.105.0, remove-on-upgrade and other flags in DEBIAN/conffiles is
properly handled. False errors are no longer thrown. Drop the workaround
introduced for this purpose.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:38:08 -04:00
Sunil Mohan Adapa bdc1965b6c d/lintian-overrides: Add override for manual outside .../doc/
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:59 -04:00
Sunil Mohan Adapa 8f8c7354d8 d/lintian-overrides: Override message for not supporting sysvinit
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:48 -04:00
Sunil Mohan Adapa ae4d973db2 d/lintian-overrides: Drop override for a removed tag
As of lintian 2.105.0, the tag systemd-service-file-outside-lib has been
removed. Drop the override to avoid a lintian error.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:36 -04:00
Artem ff741e3a85 Translated using Weblate (Russian)
Currently translated at 88.5% (1340 of 1513 strings)
2021-09-10 09:34:09 +02:00
Veiko Aasa abbec6b8e9 gitweb: tests: Fix test failures if initial default branch is not master
Since Git 2.28, it is possible to change initial default branch name using
the configuration option init.defaultBranch.

Closes #2101.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-09 12:50:38 -07:00
Seyed mohammad ali Hosseinifard a8df4bcdb7 Translated using Weblate (Persian)
Currently translated at 18.4% (279 of 1513 strings)
2021-09-07 13:34:33 +02:00
fliu 41c86e0ba3 email: configure postfix domain names 2021-09-05 18:00:43 -07:00
fliu 63746ce39f email: postconf.get_many_unsafe: batch query 2021-09-05 18:00:35 -07:00
fliu 06d8aade23 email: Fix self.critical not callable error 2021-09-05 18:00:30 -07:00
James Valleroy 1e2ee690d7 backups: Add functional test to disable schedule backups
This test is at the end so that it leaves scheduled backups disabled
while other tests are running.

Helps #2058.

Tests:

- Ran functional tests for backups. All tests passed.

- Confirmed that scheduled backups are disabled after backup tests are
  complete.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-05 17:54:42 -07:00
Joseph Nuthalapati 60ef19b6ec mediawiki: Switch to MediaWiki 2020 logo
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Added copyright year]
[sunil: Scaled the images to sizes commonly used for FreedomBox logos]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-05 13:33:10 -07:00
James Valleroy 9a5a362f50 container: Update stable image for bullseye
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Use the bullseye/ directory for more URL stability]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-05 09:04:58 -07:00
ikmaak 7524d60822 Translated using Weblate (Dutch)
Currently translated at 98.4% (1489 of 1513 strings)
2021-09-05 15:34:53 +02:00
Joseph Nuthalapati 94ce316f41 mediawiki: Enable a subset of default extensions
Full list of default extensions in MediaWiki
https://www.mediawiki.org/wiki/Bundled_extensions_and_skins

This initial set of extensions are chosen from:
- extensions that I've used myself over the past 3 years
- testing done in #1267

Extensions that are advanced features for administrators, meant for spam
control, advanced tags or suitable only to a specific kind of user are
not included.

Fixes #1382

More extensions can be enabled in the future if they're generally useful.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-04 13:48:49 -07:00
Sunil Mohan Adapa 06ded9fe48 mediawiki: tests: functional: Fix races after flipping flags
When flags are updated and mediawiki is interface is loaded, somehow, it does
not always happen that the page immediate loaded reflects the changes. So, wait
for the change to reflect.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-04 12:43:36 -07:00
Joseph Nuthalapati 7fe5cf172b mediawiki: Bump version number for 1.35 upgrade
We already did a version bump (8 to 9) to run the maintenance script
`update.php` for Debian testing. However, this had no effect on Debian
stable installations (essentially idempotent since no version change
happened then).

Bumping version to 10 to ensure that update.php script runs for
FreedomBoxes on Debian Bullseye.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-04 12:43:32 -07:00
Joseph Nuthalapati beaf431ee6 mediawiki: Backup and restore uploaded files
Fixes #1747

MediaWiki on Debian seems to store all uploaded files under images/
folder. The administrator can enable additional file types. In the
default configuration, only image files are permitted.

Manually tested that backup/restore works irrespective of file type.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-04 12:43:22 -07:00
ikmaak 4e1b70b6bf Translated using Weblate (Dutch)
Currently translated at 97.5% (1476 of 1513 strings)
2021-09-04 11:34:53 +02:00
ikmaak 5669a6088d Translated using Weblate (Dutch)
Currently translated at 96.4% (1460 of 1513 strings)
2021-09-03 09:35:20 +02:00