4745 Commits

Author SHA1 Message Date
James Valleroy
5367980163
Release v21.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-18 10:07:51 -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
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
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
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
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
Tiago Zaniquelli
4109d087bf plinth: remove diagnose command
[fioddor: squash fixing commit]
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
2021-09-01 21:08:13 +02:00
Andrij Mizyk
6cc2120e4e
Translated using Weblate (Ukrainian)
Currently translated at 66.8% (1012 of 1513 strings)
2021-09-01 18:33:31 +02:00
Michael Breidenbach
40f2638fde
Translated using Weblate (Swedish)
Currently translated at 100.0% (1513 of 1513 strings)
2021-09-01 18:33:30 +02:00
Burak Yavuz
1cff5cf581
Translated using Weblate (Turkish)
Currently translated at 100.0% (1513 of 1513 strings)
2021-09-01 18:33:29 +02:00
James Valleroy
c660cada6d
Release v21.8 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-30 20:02:12 -04:00
James Valleroy
1345ad5f66
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-30 19:38:29 -04:00
James Valleroy
4b51396860
security: Remove display of past vulnerabilities
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-08-26 14:22:07 -07:00
Sunil Mohan Adapa
efa615201b
wordpress: New app to manage a WordPress site/blog
- Use php-fpm instead of using mod-php.

- Create database and setup permissions manually. Tables and initial data are
created during the initial setup process done by WordPress. Database upgrades
are handled by WordPress. Minor versions are upgraded automatically and major
version need user intervention.

- Backup/restore functionality including database.

- Install recommended extensions for performance.

- Setup and run cron jobs to ensure that scheduled publications are
completed (among other things). Service has systemd security features. Timer is
set to run every 10 minutes.

- Functional tests for adding/removing posts and backup/restore.

- Increase file upload size limit to 128MiB.

- A private mode (default) for keeping the setup process secure. Should be
disabled after first setup is completed. This uses a new approach using
file-based flag for different Apache configurations.

TODO:

- Find a nice way to allow WordPress to upload plugins/themes. Currently this
operation files and users are expected to manually scp the files to
/var/lib/wordpress/wp-content/{plugins,themes} directory.

Tests:

- Functional tests.

- Schedule publishing of a post. Notice that post got published.

- Test uploading a file larger than 2MiB.

- Test enabling permalinks. This leads to nicer looking URLs.

- Test adding images to posts/pages.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-25 08:20:01 -04:00
Sunil Mohan Adapa
5340cf3119
tests: functional: Add a convenience method to logout
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-25 08:19:57 -04:00
fliu
f400eb9439
email: implemented service alert
- Better error handling
- You may retroactively diagnose and fix problems
- Shows the most important issues first

audit.models.Diagnosis
  - Added JSON serialization (needed for IPC)
  - Replaced ambiguous vocabulary
  - Provided a sorting key

audit, diagnosis
  - Support title translation
2021-08-20 19:24:21 -07:00
Andrij Mizyk
74bf8dc4a8
Translated using Weblate (Ukrainian)
Currently translated at 69.0% (1005 of 1456 strings)
2021-08-20 23:20:39 +02:00
Andrij Mizyk
396e14b572
Translated using Weblate (Ukrainian)
Currently translated at 61.9% (902 of 1456 strings)
2021-08-19 15:51:11 +02:00