6266 Commits

Author SHA1 Message Date
Veiko Aasa
f892843ba5
syncthing: Create LDAP group name different from system group
When installing the syncthing app, create a LDAP group named "syncthing-access"
instead of "syncthing", because the app creates the "syncthing" system group
to run the syncthing daemon. Duplicate group names can cause some ambiguity as
described in #2008.

- Rename the existing "syncthing" LDAP and Django group to "syncthing-access".
- Update existing web shares to be accessible with new group name
- Functional tests: Add tests to check access to the syncthing site with a user
in the syncthing-access group and no group.
- Functional tests: Scroll to the edit button before clicking. Fixes some test
failures on a smaller browser window.

Fixes #2008

Tests performed on Debian stable and testing:

- Check that the existing "syncthing" group is renamed after upgrade:
1) Without patch applied, install syncthing, create a user in group "syncthing".
2) Apply patch, update Apache2 config file /etc/apache2/conf-available/syncthing-plinth.conf,
reload Apache2, restart plinth.
3) Check that the created user is now in the "syncthing-access" group and can
access /syncthing site.

- Check that the app upgrade succeeds when there are no users in the syncthing group.

- Create a web share accessible by the 'syncthing' group. Check that after the upgrade,
the share is accessible to a member of syncthing-access group.

- All the syncthing app tests pass.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-21 15:47:12 -08:00
James Valleroy
e16c541660
tahoe: Disable app
The tahoe-lafs package is removed from Bullseye due to missing python3
support. The package may be reintroduced later.

I think the app can simply be disabled, because in Buster it was
marked as Advanced, and not really usable anyway.

Closes: #1856.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-19 17:28:10 -08:00
ikmaak
31b5268d95
Translated using Weblate (Serbian)
Currently translated at 10.0% (142 of 1419 strings)
2021-01-18 13:32:33 +01:00
ikmaak
2ffc77ca37
Translated using Weblate (Galician)
Currently translated at 1.6% (24 of 1419 strings)
2021-01-18 13:32:32 +01:00
ikmaak
403f08f289
Translated using Weblate (Greek)
Currently translated at 75.4% (1071 of 1419 strings)
2021-01-18 13:32:32 +01:00
ikmaak
954500501e
Translated using Weblate (Bulgarian)
Currently translated at 0.9% (13 of 1419 strings)
2021-01-18 13:32:31 +01:00
ikmaak
3473e19667
Translated using Weblate (Slovenian)
Currently translated at 6.8% (97 of 1419 strings)
2021-01-18 13:32:31 +01:00
ikmaak
629119ecfa
Translated using Weblate (Lithuanian)
Currently translated at 0.1% (2 of 1419 strings)
2021-01-18 13:32:31 +01:00
ikmaak
979c06fce6
Translated using Weblate (Hungarian)
Currently translated at 90.6% (1287 of 1419 strings)
2021-01-18 13:32:30 +01:00
ikmaak
6a000378b5
Translated using Weblate (Ukrainian)
Currently translated at 5.6% (80 of 1419 strings)
2021-01-18 13:32:30 +01:00
ikmaak
4965c8c6f3
Translated using Weblate (Czech)
Currently translated at 68.7% (975 of 1419 strings)
2021-01-18 13:32:29 +01:00
ikmaak
6eaa536f76
Translated using Weblate (Hindi)
Currently translated at 54.8% (778 of 1419 strings)
2021-01-18 13:32:28 +01:00
ikmaak
aa208b83ff
Translated using Weblate (Gujarati)
Currently translated at 10.2% (145 of 1419 strings)
2021-01-18 13:32:28 +01:00
ikmaak
3e127e438f
Translated using Weblate (Persian)
Currently translated at 18.3% (261 of 1419 strings)
2021-01-18 13:32:28 +01:00
ikmaak
5765a1bec7
Translated using Weblate (Chinese (Simplified))
Currently translated at 42.2% (600 of 1419 strings)
2021-01-18 13:32:27 +01:00
ikmaak
efcfdff1c3
Translated using Weblate (Russian)
Currently translated at 95.3% (1353 of 1419 strings)
2021-01-18 13:32:27 +01:00
ikmaak
36b8272d55
Translated using Weblate (Swedish)
Currently translated at 99.9% (1418 of 1419 strings)
2021-01-18 13:32:26 +01:00
ikmaak
9eebdb5f21
Translated using Weblate (Portuguese)
Currently translated at 11.6% (166 of 1419 strings)
2021-01-18 13:32:26 +01:00
ikmaak
287830e7ea
Translated using Weblate (Dutch)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-18 13:32:26 +01:00
ikmaak
c4382a8535
Translated using Weblate (Norwegian Bokmål)
Currently translated at 82.8% (1175 of 1419 strings)
2021-01-18 13:32:25 +01:00
ikmaak
453f74ce88
Translated using Weblate (Italian)
Currently translated at 55.1% (782 of 1419 strings)
2021-01-18 13:32:25 +01:00
ikmaak
906567c215
Translated using Weblate (French)
Currently translated at 99.7% (1415 of 1419 strings)
2021-01-18 13:32:24 +01:00
ikmaak
8c93d3c897
Translated using Weblate (Danish)
Currently translated at 47.5% (675 of 1419 strings)
2021-01-18 13:32:23 +01:00
Ouvek Kostiva
10c9e89eb8
Translated using Weblate (Chinese (Traditional))
Currently translated at 6.8% (97 of 1419 strings)
2021-01-16 19:32:37 +01:00
Doma Gergő
565bfbe485
Translated using Weblate (Hungarian)
Currently translated at 90.6% (1286 of 1419 strings)
2021-01-16 19:32:36 +01:00
ikmaak
02365032c5
Translated using Weblate (Polish)
Currently translated at 33.8% (481 of 1419 strings)
2021-01-16 19:32:35 +01:00
John Doe
3b87134028
Translated using Weblate (Turkish)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-16 19:32:35 +01:00
Burak Yavuz
bb621d793d
Translated using Weblate (Turkish)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-13 16:32:35 +01:00
ikmaak
4e3b60afd4
Translated using Weblate (Dutch)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-13 16:32:35 +01:00
ikmaak
c8ccaeffc5
Translated using Weblate (Spanish)
Currently translated at 99.8% (1417 of 1419 strings)
2021-01-13 16:32:34 +01:00
ikmaak
6c4b0df082
Translated using Weblate (German)
Currently translated at 100.0% (1419 of 1419 strings)
2021-01-13 16:32:33 +01:00
James Valleroy
adf404ca5c
Release v21.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.0
2021-01-11 20:07:22 -05:00
James Valleroy
910e381ac6
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-11 19:57:31 -05:00
James Valleroy
1b4b4584b6
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-11 19:14:09 -05:00
ikmaak
c5f7377d85
Translated using Weblate (French)
Currently translated at 99.7% (1415 of 1418 strings)
2021-01-12 00:30:28 +01:00
ikmaak
1f94ce0fe7
Translated using Weblate (Spanish)
Currently translated at 99.9% (1417 of 1418 strings)
2021-01-12 00:30:27 +01:00
Joseph Nuthalapati
b42a54e826
transmission: Update description
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-11 22:48:25 +02:00
Joseph Nuthalapati
6b2656e8f3
transmission: Show port forwarding information
Using the firewalld service configuration provided by the Debian package.

Fixes #1868

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-11 22:47:27 +02:00
James Valleroy
566a1bd243
upgrades: Hold tt-rss during dist upgrade, if available
Performs this hold separately from the others, and ignore errors only
for tt-rss.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:44:03 -08:00
James Valleroy
a9914128f3
upgrades: Use full path to searx action script
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:59 -08:00
James Valleroy
8a3603cd5f
upgrades: Restart FreedomBox service at end of dist-upgrade
This was removed in an earlier change, so restore it.

Avoids a transient "IndexError: list index out of range" error caused
by django when visiting a page.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:56 -08:00
James Valleroy
2ae60802a9
upgrades: Write dist-upgrade service file in /run
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:53 -08:00
James Valleroy
2e95077d74
upgrades: Check before starting dist upgrade process
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:50 -08:00
James Valleroy
a66520f3ff
upgrades: Don't allow needrestart to restart freedombox-dist-upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:46 -08:00
James Valleroy
0241b82479
upgrades: Install python3-systemd for unattended-upgrades
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:43 -08:00
James Valleroy
8934c22ef3
upgrades: Add service for dist upgrade
Only restart plinth if needed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:40 -08:00
James Valleroy
66b0238146
upgrades: Ensure freedombox package is upgraded during dist upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 20:43:31 -08:00
Veiko Aasa
993be1086e
plinth: Fix daemon is enabled check when service alias is provided
For a service alias, the `systemctl is-enabled ...` command returns 'alias'.
Mark a daemon as running if one of the provided services returns 'running'.

Tests performed:
- All the bind app tests pass

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Added comment about better implementation]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-01-10 14:06:42 -08:00
Veiko Aasa
504d0cdf00
gitweb: Add functional tests for git-access group
Add functional tests:
- User of git-access group can access gitweb site.
- User not of git-access group can't access gitweb site.

Tested that all the gitweb app tests pass.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2021-01-10 20:16:50 +05:30
Stanisław Stefan Krukowski
23fee50bd4
Translated using Weblate (Polish)
Currently translated at 33.6% (477 of 1418 strings)
2021-01-10 12:32:10 +01:00