Commit Graph
7039 Commits
Author SHA1 Message Date
ikmaak d355f727c3 Translated using Weblate (Dutch)
Currently translated at 100.0% (1447 of 1447 strings)
2022-01-19 10:56:31 +01:00
ikmaak 1c2796b571 Translated using Weblate (German)
Currently translated at 100.0% (1447 of 1447 strings)
2022-01-19 10:56:31 +01:00
James Valleroy 8a9093e045 Release v22.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.3
2022-01-17 20:18:28 -05:00
James Valleroy c8a60c9bb4 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-17 20:17:06 -05:00
Sunil Mohan Adapa 2e2a9db195 help: tests: Fix functional test to check for status logs
Fixes: #2171.

Since systemd version 250, journalctl does not print the header line '-- Journal
begins... --'. To accommodate those changes, read the status log lines
accurately and check that they are not empty.

Tests:

- Run help functional tests on stable, testing and unstable.

- Modify code to not print status logs and notice that the functional test
fails.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-17 11:15:59 -05:00
Sunil Mohan Adapa ec3236d89c tests: functional: Fix setting domain name with active notifications
Looking for .btn-primary could yield two results when a notification is active
with an action button of type primary. This results in form not getting
submitted properly and test failing with wait timeout. Fix this by making the
lookup for submit button more specific.

Tests:

- Run matrix-synapse functional tests on a fresh container.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-17 11:00:13 -05:00
Sunil Mohan Adapa 01e2896724 upgrades: Allow matrix's new dependency to be installed
matrix-synapse 1.47.0-2 requires python3-frozendict 1.2-3 or higher. This is
only available in bullseye-backports, testing and unstable but not bullseye.

Allow python3-frozendict to be installed from buster-backports. Further there is
no longer any need to allow packages from buster-backports (on the master
branch). So, drop all those.

Tests:

- On stable/testing, without matrix-synapse and its dependencies installed, run
matrix-synapse functional tests.

- On stable, with older version of matrix-synapse and python3-frozendict, run
unattened-upgrade and notice that matrix-synapse upgrades to latest version.

- Without this patch, run service. Notice the contents of
/etc/apt/preferences.d/51freedombox.pref. When this patch is applied and service
is restarted, upgrades app is setup again and the files contents will change as
expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-17 11:00:09 -05:00
Benedek Nagy e0ce6d84c1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1447 of 1447 strings)
2022-01-16 23:55:36 +01:00
Sunil Mohan Adapa 895d8cffbc sso: Adjust URL to CAPTCHA page needed by Django security fix
Fixes: #2170.

Starting with Django 2.2.25, re_path behavior has changed. When the regular
expression ends with a '$', a full match is performed with the regular
expression. This breaks the behavior of how we are currently matching the locked
URLs for CAPTCHA based login forms.

Tests:

- All tests are done on Debian stable with Django 2.2.25 and on Debian unstable
with Django 3.2.10.

- Go to home page, click on login link. Enter wrong password three times.
CAPTCHA page is show with URL ending with /locked. Type the correct password and
login will be successful.

- Install tt-rss. Logout. Go to /tt-rss/, redirection will happen to login page.
Enter wrong password three times. CAPTCHA page is show with URL ending with
/locked. Type the correct password and login will be successful.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-16 10:15:32 -05:00
Sunil Mohan Adapa 08eb54ad0f sso: Add missing captcha/rate limiting on SSO login
Tests:

- Install tt-rss. Logout. Visit the /tt-rss link. We will be redirected to the
login page. Login with wrong password 3 times. CAPTCHA is shown. Login with
correct password. Login will be successful.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-16 10:15:28 -05:00
Sunil Mohan Adapa e89b0ee276 container: Avoid a warning that interactive mode is intended
Currently, with recent version of systemd on host machine, running './container
up' results in the following warning thrown many times. Fix this.

  Console mode 'pipe' selected, but standard input/output are connected to an
  interactive TTY. Most likely you want to use 'interactive' console mode for
  proper interactivity and shell job control. Proceeding anyway.

Tests:

- With systemd version 248 on host machine, run './container up' and notice that
warning is no longer printed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-16 09:22:12 -05:00
Jiří Podhorecký 41ebb5d687 Translated using Weblate (Czech)
Currently translated at 100.0% (1447 of 1447 strings)
2022-01-15 17:56:27 +01:00
Benedek Nagy e662e091dd tt-rss: Allow published articles to be publicly available
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-13 11:03:14 -08:00
Eric d17c0c8b9c Translated using Weblate (Chinese (Simplified))
Currently translated at 70.9% (1027 of 1447 strings)
2022-01-13 19:58:15 +01:00
Burak Yavuz cd4dc9df14 Translated using Weblate (Turkish)
Currently translated at 100.0% (1447 of 1447 strings)
2022-01-13 19:58:14 +01:00
ikmaak 5dd6f2ce9f Translated using Weblate (Dutch)
Currently translated at 99.8% (1445 of 1447 strings)
2022-01-13 19:58:14 +01:00
nautilusx f9ea26ad66 Translated using Weblate (German)
Currently translated at 99.8% (1445 of 1447 strings)
2022-01-13 19:58:13 +01:00
James Valleroy 7addb9b5e2 Release v22.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.2
2022-01-11 20:10:23 -05:00
James Valleroy 0ece4330ba locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 19:11:57 -05:00
Sunil Mohan Adapa a7f3677c0e ikiwiki: Initialize shortcuts during post-init setup
In CI tests, when running 'run --list-dependencies', init for ikiwiki fails with
the following error. Fix that.

Exception while running init for <module 'plinth.modules.ikiwiki' from '/builds//freedombox/plinth/modules/ikiwiki/__init__.py'>: Action must exist in action directory.
Traceback (most recent call last):
  File "/builds//freedombox/plinth/app.py", line 536, in _initialize_module
    module.app = app_class()
  File "/builds//freedombox/plinth/modules/ikiwiki/__init__.py", line 61, in __init__
    self.refresh_sites()
  File "/builds//freedombox/plinth/modules/ikiwiki/__init__.py", line 102, in refresh_sites
    sites = actions.run('ikiwiki', ['get-sites']).split('\n')
  File "/builds//freedombox/plinth/actions.py", line 95, in run
    return _run(action, options, input, run_in_background, False)
  File "/builds//freedombox/plinth/actions.py", line 147, in _run
    raise ValueError('Action must exist in action directory.')
ValueError: Action must exist in action directory.

Tests:

- Shortcuts for ikiwiki show up properly on the front page after FreedomBox
daemon is restarted.

- Salsa CI no longer show the above error during --list-dependencies.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 19:07:32 -05:00
Sunil Mohan Adapa 6199718a19 debian, setup.py: Add dependency on python3-tomli
Closes: #2169.

python3-coverage >= 6.0 requires python3-tomli to be installed when using
pyproject.toml. There is no hard dependency on tomli for the coverage package
perhaps due to its optional nature.

However, python3-toml is not available in Bullseye. So, require a version of
python3-coverage that does not require python3-tomli.

Tests:

- Run git-pbuilder for stable and unstable. Builds were successful.

- Run autopkgtest for stable and unstable. Dependencies were satisfied but there
was an unrelated error during test collection.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 18:18:14 -05:00
Sunil Mohan Adapa 03a805888d help: Fix failing setup when manual directory is not available
- It is reported on the mailing list that first setup operation on the help app
fails. The logs indicate that /usr/share/freedombox/manual directory is not
present on the system. Although this situation does not occur on a normal
installation, catch, log and ignore this error to be safe.

- Also ensure that this static files component is added in post_init so that
basic setup is not at all affected by it.

Tests:

- In the development directory, move doc/manual to doc/manual.bak. Observe that
the error message is printed during initialization but the process continues.

- With the manual directory properly restored, the full help manual is displayed
properly with images.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 17:52:25 -05:00
Benedek Nagy 335a7f92cc networks: Fix reference to an option
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:36 -08:00
Benedek Nagy 2861482014 backups: Correct spelling of encryption protocols
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:32 -08:00
Benedek Nagy 79cdcbdb1b i2p: Fix grammar in description
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:29 -08:00
Benedek Nagy e79f0b5298 radicale: Update Thunderbird URLs
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:26 -08:00
Benedek Nagy 92c0c07052 mumble: Change description to include iOS client app
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:23 -08:00
Benedek Nagy 0fb52ea212 openvpn: Add link to IOS app
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:20 -08:00
Benedek Nagy 536d02fb34 transmission: Fix capitalization
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 14:29:17 -08:00
Benedek Nagy 0a9aed724d wireguard: Fix spelling
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-01-10 13:11:29 -08:00
Michael Breidenbach 6e4e472ec0 Translated using Weblate (Swedish)
Currently translated at 99.7% (1445 of 1448 strings)
2022-01-10 18:57:29 +01:00
Johannes Keyser 565dcac70f Translated using Weblate (German)
Currently translated at 100.0% (1448 of 1448 strings)
2022-01-10 18:57:28 +01:00
Benedek Nagy fa1af3f932 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1448 of 1448 strings)
2022-01-08 14:56:12 +01:00
Jiří Podhorecký 968f335248 Translated using Weblate (Czech)
Currently translated at 100.0% (1448 of 1448 strings)
2022-01-08 14:56:10 +01:00
Benedek Nagy fd93c10df6 Translated using Weblate (Hungarian)
Currently translated at 97.9% (1418 of 1448 strings)
2022-01-06 23:41:05 +01:00
Eric a6535be3dd Translated using Weblate (Chinese (Simplified))
Currently translated at 70.9% (1027 of 1448 strings)
2022-01-06 23:41:02 +01:00
Burak Yavuz e8ad64cbbe Translated using Weblate (Turkish)
Currently translated at 100.0% (1448 of 1448 strings)
2022-01-06 23:41:02 +01:00
ikmaak e2c5280641 Translated using Weblate (Dutch)
Currently translated at 99.8% (1446 of 1448 strings)
2022-01-06 23:41:01 +01:00
Dietmar 9a22f88d73 Translated using Weblate (Italian)
Currently translated at 53.8% (780 of 1448 strings)
2022-01-06 23:41:00 +01:00
Dietmar 7823fc0478 Translated using Weblate (German)
Currently translated at 99.7% (1445 of 1448 strings)
2022-01-06 23:41:00 +01:00
James Valleroy 35f03e52b9 Release v22.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.1
2022-01-03 19:51:51 -05:00
James Valleroy e7e78a6696 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-03 19:50:57 -05:00
James Valleroy 9a1e30136b locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-03 19:18:17 -05:00
James Valleroy 34ddc2910c config, upgrades: Specify submit button for tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-02 11:05:46 -05:00
Sunil Mohan Adapa 85149cb5d1 package: Add diagnostic to check if a package is the latest version
Closes: #2148.

Tests:

- For an app with older version of package installed, run diagnostics. A warning
is shown. Latest version available is shown correctly in the message.

- For an app with latest version of package installed, run diagnostics. Test
shows as passed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-02 11:05:03 -05:00
Fioddor Superconcentrado 131793bfe3 Translated using Weblate (Spanish)
Currently translated at 98.4% (1425 of 1447 strings)
2021-12-31 19:51:27 +01:00
Jiří Podhorecký 58641dc259 Translated using Weblate (Czech)
Currently translated at 100.0% (1447 of 1447 strings)
2021-12-27 06:53:16 +01:00
Michael Breidenbach a41a497171 Translated using Weblate (Swedish)
Currently translated at 100.0% (1447 of 1447 strings)
2021-12-27 06:53:16 +01:00
Petter Reinholdtsen 90594a4512 Translated using Weblate (Norwegian Bokmål)
Currently translated at 81.5% (1180 of 1447 strings)
2021-12-27 06:53:15 +01:00
Sunil Mohan Adapa aa2d70de2e storage: Skip tests if not enough disk space is available
Closes: #2147.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-12-26 20:46:36 -05:00