9728 Commits

Author SHA1 Message Date
Veiko Aasa
92aa66114c
users: Fix unable to delete user
Fixes an issue where confirming user deletion is not submitting the user
edit form.

Also fixes an issue where the user edit submit button is disabled after user
deletion confirmation is cancelled.

Fixes #2513.

Tests performed:
- Deleting a user works.
- All the users module tests pass.
- After cancelling the user deletion confirmation dialog, the user edit
  submit button is clickable.
- On the app pages, submit buttons are disabled when app enabling or disabling
is in progress.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2025-04-15 12:02:15 -07:00
MohammedSaalif
0d9c81da03
Translated using Weblate (Hindi)
Currently translated at 44.3% (823 of 1854 strings)
2025-04-15 05:36:35 +02:00
Leo Stephen Maduri
c39646f5f4
Translated using Weblate (Hindi)
Currently translated at 44.3% (823 of 1854 strings)
2025-04-15 05:36:34 +02:00
klu2300090005
55f04601b4
Translated using Weblate (Hindi)
Currently translated at 44.3% (823 of 1854 strings)
2025-04-15 05:36:34 +02:00
MohammedMutee
5b46c59904
Translated using Weblate (Telugu)
Currently translated at 99.9% (1861 of 1862 strings)
2025-04-15 05:36:34 +02:00
PALCHURI BHAVYA VARSHA
4f5b89b91d
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:52:50 +02:00
PALCHURI BHAVYA VARSHA
3f9beea659
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:27:02 +02:00
Alimilla-Abhinandan
e8490871ea
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:27:02 +02:00
Alimilla-Abhinandan
6cf21e9d28
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:24:14 +02:00
PALCHURI BHAVYA VARSHA
dd6acf2a25
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:24:14 +02:00
Alimilla-Abhinandan
b93321935c
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:21:57 +02:00
PALCHURI BHAVYA VARSHA
171cb9ed9d
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:21:57 +02:00
Alimilla-Abhinandan
5cc6eb844f
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:19:29 +02:00
bsurajpatra
8bcaaf610f
Translated using Weblate (Hindi)
Currently translated at 42.7% (793 of 1854 strings)
2025-04-15 04:19:28 +02:00
PALCHURI BHAVYA VARSHA
f8a9278199
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:19:28 +02:00
Gundumi Sri Krishna Sudhindra
ea99df04f6
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:19:28 +02:00
Alimilla-Abhinandan
b887eb6041
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:19:27 +02:00
bsurajpatra
ca4835821c
Translated using Weblate (Hindi)
Currently translated at 42.7% (793 of 1854 strings)
2025-04-15 04:10:57 +02:00
Gundumi Sri Krishna Sudhindra
68640fb138
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-15 04:10:57 +02:00
klu2300032597
9e1dc24401
Translated using Weblate (Hindi)
Currently translated at 42.5% (788 of 1854 strings)
2025-04-14 11:18:54 +02:00
klu2300032597
6a945e3f71
Translated using Weblate (Telugu)
Currently translated at 99.8% (1859 of 1862 strings)
2025-04-14 11:18:54 +02:00
Sunil Mohan Adapa
7a9ed1cad0
zoph: Don't use mod-php instead continue to use php-fpm
Zoph package depends on libapache2-mod-php. This installed and enables mod-php.
Also the process model for apache is switched to prefork. In FreedomBox, we want
mod-event and php-fpm. So, immediately after installing the package, re-run
apache setup to ensure that PHP related changes are undone.

Tests:

- On Bookworm and Trixie, install zoph. Ensure that 'a2query -m php-8.{2,4}'
show that mod-php is disabled. Also 'a2query -m mpm_event' shows it is enabled
and prefork is disabled. Apache is restarted during installation.

- On Bookworm install without patch and notice that mod-php is installed. Apply
patches and notice that mod-php and mpm_prefork are disabled while mpm_event is
enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-04-13 10:51:19 -04:00
Sunil Mohan Adapa
f7d289bcd6
zoph: Don't fail while uninstalling
Fixes: https://discuss.freedombox.org/t/solved-zoph-uninstall-failure/3431

There is a debconf question being asked about remove the uploaded files while
uninstalling the package. If it is not answered, removal fails. So, answer the
question during installation.

Re-run setup so that answer is set.

Tests:

- In Bookworm and Trixie, install the app, upload an image and uninstall it.
Uninstall is successful and directory /var/lib/zoph does not exist.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-04-13 10:51:16 -04:00
Sunil Mohan Adapa
6cdab95049
bind: Keep configuration during distribution upgrades
Closes: #2511.

- By adding bind9 to the list of packages to be held during distribution
upgrade.

Tests:

- Install bind app on Bookworm. Check that /etc/bind/named.conf.options has been
updated. Run distribution upgrade to Trixie. Notice that the configuration file
is unchanged. A new .dpkg-dist file is available with the new version of the
configuration. Journal messages show that bind was held during distupgrade and
force upgrade was later run on it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-04-13 08:47:23 -04:00
Varun Sharma
c0a76cf5e6
Translated using Weblate (Hindi)
Currently translated at 42.1% (782 of 1854 strings)
2025-04-13 03:23:33 +02:00
Harsh
2b836f4dcc
Translated using Weblate (Hindi)
Currently translated at 42.1% (782 of 1854 strings)
2025-04-13 03:23:33 +02:00
Valurouthu Jashwanth
89dadccc90
Translated using Weblate (Hindi)
Currently translated at 42.1% (782 of 1854 strings)
2025-04-13 03:23:33 +02:00
Veiko Aasa
fd117a50da
container: Fix waiting until plinth setup is finished when running tests
Tests performed:
- Without starting `freedombox-develop` inside the container,
`./container run-tests ...` waits until plinth setup is finished and
then runs the functional tests.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2025-04-12 07:29:45 -07:00
Varun Sharma
bd207ee24f
Translated using Weblate (Hindi)
Currently translated at 40.4% (750 of 1854 strings)
2025-04-12 13:28:55 +02:00
Valurouthu Jashwanth
3e844d19d1
Translated using Weblate (Hindi)
Currently translated at 40.4% (750 of 1854 strings)
2025-04-12 13:28:55 +02:00
Harsh
00ad4c2954
Translated using Weblate (Hindi)
Currently translated at 40.4% (750 of 1854 strings)
2025-04-12 13:28:54 +02:00
Ettore Atalan
750ffa28c7
Translated using Weblate (German)
Currently translated at 97.8% (1814 of 1854 strings)
2025-04-12 12:24:09 +02:00
Sunil Mohan Adapa
e9f21b6ae1
distupgrade: Use new configuration file instead of halting upgrade
Closes: #2509

If the user has changed a configuration file of a package outside of FreedomBox,
the distribution upgrade process could face a configuration file prompt and fail
midway. When using unattended-upgrades, these packages are not a problem as they
would left untouched at an old version and the rest of the system would be
upgraded. In case of distribution upgrade, these packages could cause the
distribution upgrade to fail and leave the system in an unusable state. Rather
than halt distribution upgrade midway due to a configuration file prompt, it is
better to overwrite with the new configuration. Backup copy of the old
configuration will be available to the user to later merge with the new
configuration.

For packages managed by FreedomBox, packages with configuration file prompt will
be held back during upgrade and later carefully upgraded with merge. These
package are not subject to --force-confnew option.

Tests:

- Install GNOME and edit the configuration file
/etc/fwupd/remotes.d/lvfs-testing.conf. Upgrade to Trixie. Distribution upgrade
was successful. Notice that the configuration file was force upgraded. Log shows
that new configuration file was installed as requested. Running 'apt -f install'
shows that there are not apt fixes pending.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-04-11 12:01:34 -04:00
James Valleroy
4f629a9915
Translated using Weblate (Telugu)
Currently translated at 99.8% (1859 of 1862 strings)
2025-04-10 19:47:50 +02:00
KURRA ROOPKANTH
bc1e18a8c2
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:58 +02:00
Sanjanaa2703
22d127b4b9
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
kotibannu541
1ea720e86a
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
chilumula vamshi krishna
823a737309
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
vivek krishna
8a880ede50
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
Sripath Roy Koganti
7a8d5e8a70
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
sowmya surampalli
e9a905a8da
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 17:17:57 +02:00
jeevana sravya
555bbff01f
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:43 +02:00
KURRA ROOPKANTH
bc2b4b68be
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
Sk juber
82c54ad351
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
Harshitha Chandra
7837d39751
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
Arshadashu
5f90175de8
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
sarvani susarla
4b3fe28d20
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
Jyothiraditya Vangalapudi
ab06f8a91a
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:42 +02:00
Annangi srinivasulu
10c708555a
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:41 +02:00
Nikhil501
e765408c42
Translated using Weblate (Telugu)
Currently translated at 100.0% (1862 of 1862 strings)
2025-04-10 16:29:41 +02:00