8079 Commits

Author SHA1 Message Date
James Valleroy
ed56ebbc75
Release v23.6.2+deb12u1 to bookworm
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.6.2+deb12u1
2023-08-13 18:06:33 -04:00
James Valleroy
d10bb0e835
upgrades: Use n= for unattended-upgrades origin pattern
In the Debian bookworm-backports repository, the Suite has changed to
"stable-backports". The Codename is the more specific "bookworm-backports".

Tests:

- Build a freedombox package for bookworm-backports with a smaller version
  number than the package in bookworm-backports. Install it in bookworm vagrant
  box.

- Run a manual update. freedombox is upgraded to the version in
  bookworm-backports.

Closes: #2368.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-08-12 12:03:22 -07:00
James Valleroy
4933ff55b3
upgrades: Use n= in apt preferences
In the Debian bookworm-backports repository, the Suite has changed to
"stable-backports". The Codename is the more specific "bookworm-backports".

Bump upgrades app version to rewrite the apt preferences file.

Note: The app version is kept lower than the one in bookworm-backports
currently (17). This is to ensure that additional setup steps are applied when
the bookworm-backports package gets installed.

Helps: #2368.

Tests:

- `apt policy freedombox` shows priority 500 for package in bookworm-backports.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-08-12 12:03:12 -07:00
James Valleroy
6f22d0729e
Release v23.6.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.6.2
2023-05-01 08:49:40 -04:00
James Valleroy
be2311f794
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-05-01 08:48:36 -04:00
Ihor Hordiichuk
041492a900
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1486 of 1486 strings)
2023-04-29 08:53:46 -04:00
109247019824
193e811f1b
Translated using Weblate (Bulgarian)
Currently translated at 46.8% (696 of 1486 strings)
2023-04-29 08:53:31 -04:00
James Valleroy
c64e6e7723
upgrades: Check apt result during dist-upgrade
In case apt full-upgrade fails for any reason, do not
continue. Otherwise, may get stuck unattended-upgrade later (#2266).

Since the dist-upgrade flag remains set, Plinth should retry the
dist-upgrade later.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-04-16 07:49:23 -04:00
James Valleroy
e25468c07d
Release v23.6.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.6.1
2023-04-10 20:35:15 -04:00
James Valleroy
7748499e3f
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-10 20:33:55 -04:00
109247019824
eda9c6a846
Translated using Weblate (Bulgarian)
Currently translated at 46.2% (688 of 1486 strings)
2023-04-10 20:04:05 -04:00
Veiko Aasa
cd2727c98b
gitweb: Make globally configured features overridable per-repository
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-04-10 07:32:04 -04:00
Veiko Aasa
53a5394942
gitweb: Disable snapshot feature
Closes: #2335.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-04-10 07:31:57 -04:00
James Valleroy
ee4c9db615
datetime: Use unique component ID for related daemon
The original change worked ok in a container, but failed in
virtualbox. This was due to the component being replaced by the Daemon
component that had the same ID, on systems where time is managed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-04-09 07:11:25 -04:00
Coucouf
4f0bb925c7
Translated using Weblate (French)
Currently translated at 100.0% (1486 of 1486 strings)
2023-04-09 07:09:59 -04:00
Sunil Mohan Adapa
694d73fbdb
coturn: Prevent package removal when roundcube is uninstalled
Closes: #2328.

Coturn depends on sqlite3 package. As sqlite3 is listed as a package in
roundcube, it is removed when roundcube is uninstalled. This results in the
removal of coturn as well. Prevent this by listing sqlite3 package explicitly in
coturn app.

Tests:

- Without the patch, install coturn and roundcube. When roundcube is
uninstalled, coturn package is no longer installed.

- Apply the patch, install coturn and roundcube. When roundcube is uninstalled,
coturn and sqlite3 packages are still installed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:09:22 -04:00
Sunil Mohan Adapa
48eadfdd51
datetime: Re-implment backup/restore for timezone
Closes: #2326.

Earlier /etc/timezone was used to store timezone. Now, we use /etc/localtime
symlink instead. Since the change, backup/restore for timezone has not been
working. Implement this by backing up and restoring the new symlink. Borg
understands symlinks so it properly backs them up and restore them.

When the symlink is restored, timedatectl does not immediately show the new
timezone. This is because a DBus activated daemon 'systemd-timedated' which
supplies the information for timedatectl needs to be reloaded. Add this service
to list of services that backup framework needs to restart.

Tests:

- Set a new timezone. Backup datetime app. Set another timezone. Restore the
datetime app. Visiting the datetime app shows the restored timezone as expected
and timedatectl on command line also immediately shows the expected timezone.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:09:12 -04:00
109247019824
459ac5ee3d
Translated using Weblate (Bulgarian)
Currently translated at 44.4% (660 of 1486 strings)
2023-04-09 07:08:27 -04:00
James Valleroy
632608042d
ci: Force pip install for functional tests
See 550f9192ae4e5c4dd486ba08738ecee322929fce.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Rely fully on running the install.sh script remove the pip3 rerun]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:08:03 -04:00
Sunil Mohan Adapa
fd9b047859
tests: functional: Make install script work for Bullseye
- Pip option --break-system-packages is available only from Bookworm.

- Remove --user to that the script works can be used broadly.

Tests:

- On a fresh stable container, running functional tests works. Without the
patch, it fails.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:07:51 -04:00
James Valleroy
43499ae8ef
HACKING: Force pip to install packages to system environment
See 550f9192ae4e5c4dd486ba08738ecee322929fce.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: pip option --break-system-packages works only from Bookworm]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:07:38 -04:00
Sunil Mohan Adapa
f25e2706d2
tests: Don't error during collection if selenium is not installed
This fixes the current pipeline failures.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-04-09 07:06:50 -04:00
Veiko Aasa
485107604f
tests: functional: Fix setting first ethernet connection as internal
Tested that all samba tests pass in testing container. Also checked that
connection type texts are not translated, thus safe to use in xpath search.

Fixes #2333.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-26 11:26:28 -04:00
Sunil Mohan Adapa
e048e6814c
container: Increase wait time to accommodate slower architectures
This is for arm64 boards like Raspberry Pi and cross-arch VMs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-26 10:07:13 -04:00
Sunil Mohan Adapa
fa1711f84f
container: Fix resizing disk image containing multiple partitions
Closes: #2324.

The arm64 image contains two partitions in a GPT partition table. First is the
EFI partition and the second is the root partition. The container script
currently assumes that there will only be one partition in the image file. Fix
this by picking up the partition number of the last partition and resizing that.
GPT partition table also requires relocating the second copy of the partition
table to the end before partition resize can succeed.

Tests:

- Create testing containers in arm64 and amd64 architectures.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-26 10:07:08 -04:00
Veiko Aasa
9c0e339daf
container: Force pip to install packages to system environment
Without the change, pip refuses to install into system environment due to
changes outlined in PEP 668. The following error is thrown: 'error:
externally-managed-environment'.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-26 08:49:39 -04:00
109247019824
42879bbcb1
Translated using Weblate (Bulgarian)
Currently translated at 44.4% (660 of 1486 strings)
2023-03-21 07:38:44 +01:00
109247019824
d7f97a0096
Translated using Weblate (Bulgarian)
Currently translated at 44.2% (658 of 1486 strings)
2023-03-19 07:38:14 +01:00
James Valleroy
0a5d3bd8e7
Release v23.6 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.6
2023-03-13 21:53:11 -04:00
James Valleroy
0df5b2d6e0
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-13 21:52:25 -04:00
James Valleroy
604a1cb2b0
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-13 21:32:47 -04:00
Sunil Mohan Adapa
0dc8bbc865
datetime: Use timedatectl to read current timezone
Closes: #2326.

There are plans to remove /etc/timezone from Debian (Debian bug: #822733). It
has been removed temporarily and that caused failures in FreedomBox. Since we
use systemd-timesyncd and timedatectl, use timedatectl to retrieve the currently
set timezone value. This eliminates the need to read timezone at a lower level.

Tests:

- Getting and setting the timezone works.

- Removing /etc/timezone and /etc/localtime then visiting the Date & Time app
works. After setting the timezone, /etc/localtime file is created as symlink.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-13 21:23:27 -04:00
nbenedek
bf2e53f323
ttrss: fix failing backup
Closes: #2206

Use pg_dumpall instead of pg_dump.

Test I did:
1. Install tt-rss and add a feed
2. Create a backup
3. On a fresh installation restore the backup from file

Signed-off-by: nbenedek <contact@nbenedek.me>
[jvalleroy: Add a comment about the limitation of this approach]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-13 21:19:28 -04:00
nbenedek
e974ac735a
samba: make sure shares are not accesible from the internet
The reason for this patch is explained in issue #789 .
See also: !2250

Signed-off-by: nbenedek <contact@nbenedek.me>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
[jvalleroy: Don't enable app when upgrading]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-13 20:09:12 -04:00
Sunil Mohan Adapa
41e9473a0c
/etc/issue: Update message to reflect that all users can login
Closes: #2325.

We have recently started allowing all the users to login to FreedomBox console
instead of just the administrators accounts. Remove the message that only
administrators can login.

Tests:

- Run ./setup.py install and then notice that login message got updated in a
vagrant machine.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-12 10:38:38 -04:00
Sunil Mohan Adapa
550f9192ae
ci: Force pip to install packages to system environment
Without the change, pip refuses to install into system environment due to
changes outlined in PEP 668. The following error is thrown: 'error:
externally-managed-environment'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-03-12 10:23:31 -04:00
James Valleroy
479c129369
Release v23.5 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.5
2023-02-27 20:33:44 -05:00
James Valleroy
bc1e44f9af
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-02-27 20:33:11 -05:00
James Valleroy
5ba16d3353
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-02-27 20:11:47 -05:00
Michael Breidenbach
e4dd678223
Translated using Weblate (Swedish)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-26 19:38:04 +01:00
Veiko Aasa
e9f9d33abc
samba: tests: Fix enable share view test
Closes #2327.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-02-26 19:07:20 +05:30
Besnik Bleta
f0842bfcca
Translated using Weblate (Albanian)
Currently translated at 99.8% (1484 of 1486 strings)
2023-02-25 12:36:36 +01:00
Jiří Podhorecký
f6781e2f4e
Translated using Weblate (Czech)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-20 16:36:26 +01:00
James Valleroy
07fb2be30d
mediawiki: Fix app view error
This was changed by mistake in
89a404fb7d32af1667110480dcaf142c4868fd86.

Tests:

- MediaWiki app page is shown without error.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-02-18 17:37:54 -08:00
109247019824
a2b370e300
Translated using Weblate (Bulgarian)
Currently translated at 42.2% (628 of 1486 strings)
2023-02-16 20:39:09 +01:00
Ihor Hordiichuk
3d85248a17
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-16 20:39:09 +01:00
Burak Yavuz
5647d745c2
Translated using Weblate (Turkish)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-16 20:39:08 +01:00
ikmaak
60ca8f3681
Translated using Weblate (Dutch)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-16 20:39:07 +01:00
gallegonovato
aa0f47e9ee
Translated using Weblate (Spanish)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-16 20:39:07 +01:00
ikmaak
64d9c0d179
Translated using Weblate (German)
Currently translated at 100.0% (1486 of 1486 strings)
2023-02-16 20:39:06 +01:00