Commit Graph
387 Commits
Author SHA1 Message Date
James Valleroy f202c7222e Release v23.4 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-02-13 21:06:50 -05:00
James Valleroy 59f5fa28ff Release v23.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-01-30 20:37:16 -05:00
James Valleroy 0d27d10811 Release v23.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-01-16 20:33:13 -05:00
James Valleroy 3e7b6bb451 Release v23.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-01-03 11:55:21 -05:00
James Valleroy d1fc0d6b78 Release v22.27 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-12-19 21:00:36 -05:00
Sunil Mohan Adapa bb527673fb d/control: Don't recommend libpam-tmpdir
- Use of libpam-tmpdir leads to problems installing MariaDB[1][2][3]. A fix for
the serious issues may not be available for next stable release.

- Services run by systemd don't benefit from libpam-tmpdir[4]. So it's effect is
limited to PAM sessions opened with a terminal. Terminal access is mostly for
debugging in FreedomBox and not a primary use case.

- Services are (or will be) protected with PrivateTmp=yes in case of services
running on FreedomBox. This is better protection compared to what libpam-tmpdir
offers.

Links:

1) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022994

2) https://jira.mariadb.org/browse/MDEV-29910

3) https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/23

4) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022994#32

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-12-18 17:30:24 -05:00
James Valleroy 70662e481a Release v22.26 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-12-05 21:37:42 -05:00
Sunil Mohan Adapa 253540fb3d security: Remove restricted access setting and configuration
Closes: #2276.

Functionality all over the system keeps failing due this approach. The latest is
changing hostname in ejabberd Mnesia database fails (#2276). Further, users
connecting FreedomBox to a monitor can't use a GUI.

Tests:

- Without patches, enable restricted access. Apply patches and setup.py install.
Security app is updated. Restricted access is disabled and
/etc/security/access.d/{50freedombox.conf, 10freedombox-security.conf,
10freedombox-performance.conf} are removed. It is possible to login into
non-admin account via SSH.

- On a fresh install, the configuration files are not found.

- Security page does not show 'restrict console logins' option.

- Updating security app setting works. Message 'Configuration updated.' is
shown.

- First boot succeeds. Restrict console login is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-12-05 20:47:13 -05:00
Sunil Mohan Adapa 1f4171e524 Release 22.25.1 to unstable
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-12-02 08:23:18 -08:00
Sunil Mohan Adapa a12d056087 Release 22.25 to unstable
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-11-28 15:42:17 -08:00
James Valleroy 952b61bef5 Release v22.25 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-11-21 20:32:49 -05:00
James Valleroy 5cfdf13491 Release v22.24 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-11-07 20:58:09 -05:00
Sunil Mohan Adapa 1e0e11201c debian/lintian-overrides: Fix mismatch patterns and new messages
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-11-05 07:20:02 -04:00
James Valleroy 083f67757f Release v22.23 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-24 20:38:14 -04:00
James Valleroy 6c59f3fc7d Release v22.22.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-16 11:42:35 -04:00
James Valleroy 785e0b7783 debian: tests: Fix PYTHONPATH
Fixes: #2290.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-16 09:54:48 -04:00
James Valleroy 64cbcb0d0d Release v22.22 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-10 21:57:23 -04:00
Sunil Mohan Adapa 9cc91441ff wordpress: Update fail2ban filter
- Name of the jail has to be less than 29 characters for an iptables/nft chain
to be created.

- Make the regular expressions more specific to avoid matching incorrect fields
for <HOST>.

- Added journalmatch to improve performance by matching the regular expressions
against only specific journal entries.

Tests:

- Run setup.py, remove the old jail and filter files. Restart fail2ban and make
10 incorrect login attempts. The IP address gets banned for 10 minutes.

- Not run: Build new freedombox package and upgrade from older version to see
that old configuration files have been removed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-09 08:53:56 -04:00
James Valleroy aa47619719 Release v22.21.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-01 10:07:29 -04:00
James Valleroy 23e760c9a0 setup.py: Move distutils import after setuptools import
Fixes: #2267

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-09-26 21:57:28 -04:00
James Valleroy bc26cfa4cf Release v22.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-09-26 20:48:05 -04:00
Sunil Mohan Adapa 31d7471405 d/install: mediawiki: Install the new powered by file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-09-26 13:22:31 -07:00
James Valleroy 216071109d Release v22.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-09-12 21:07:38 -04:00
nbenedek 49d77f20d7 d/maintscript: remove tahoe and mldonkey apache conf files
Currently, tahoe-plinth.conf and mldonkey-freedombox.conf are left over
in FreedomBox systems that were installed on plain Debian. This commit
makes sure these files are removed.

Test:
1. I installed FreedomBox on Debian and checked if the obselete files are indeed present.
2. I built my own package with the modifications and updated FreedomBox with the
local deb file.

Signed-off-by: nbenedek <contact@nbenedek.me>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-09-08 21:25:22 -07:00
James Valleroy 93863167d2 debian: Add Italian debconf translation (Closes: #1019157)
Thanks for Ceppo for the patch.
2022-09-05 07:59:24 -04:00
James Valleroy eccf75efdd Release v22.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-08-29 22:34:18 -04:00
nbenedek 7fc3ce7c20 d/control: Break ufw as we use firewalld
Some VPS providers preconfigure ufw which can break the
FreedomBox installation process on plain Debian. To
prevent this, make the freedombox package remove ufw.

Tests I made:
1. Enabled ufw on a Debian system
2. Built a custom package with the modification in the
control file
3. Installed the custom packge.

Result: ufw gets removed before the execution of
`update-initramfs: Generating /boot/initrd.img-5.10.0-17-amd64`

Signed-off-by: nbenedek <contact@nbenedek.me>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-08-23 08:58:05 -07:00
James Valleroy fa8954464b debian: Update Spanish translation template
Thanks to Camaleón <noelamac@gmail.com>.

Closes: #1017452
2022-08-16 09:54:55 -04:00
James Valleroy 7071a05f47 Release v22.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-08-15 20:55:15 -04:00
James Valleroy e6a28d5819 Release v22.17 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-08-01 21:02:44 -04:00
James Valleroy 7f075ae147 Release v22.16 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-18 20:50:38 -04:00
James Valleroy 8daf3d660b debian: Follows policy version 4.6.1
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-18 20:14:29 -04:00
James Valleroy 2debe860f4 debian: Update copyright year
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-18 20:06:21 -04:00
Sunil Mohan Adapa f8f7dd22b5 apache: Merge old configuration files into a better location
- It is simpler to keep all the configuration in a single file. Any overrides
are expected to be done by writing additional configuration files with higher
priority.

- /etc/apache2/site-available/ is typically reserved for virtual host
configurations. Redirections and proxying for all virtual hosts rather belongs
in /etc/apache2/conf-available/.

- This looses the option of disabling plinth-ssl.conf when needed. In the
initial days of enabling TLS, there was a need felt to keep the option of easily
disabling redirection to TLS in case there is a need for it. However, TLS
certificate setup is mature and the limitations are well understood. There is no
longer a need for it. It still may be possible to avoid the redirection with an
additional configuration.

Tests:

- In a fresh container, setup succeeds. Redirecting to https:// for /plinth
works. FreedomBox web interface is available.

- Without the patch applied created a container. Run setup and access Plinth
interface. Apply the patches. Apache setup is run. a2query -s plinth and a2query
-s plinth-ssl show that sites are not enabled. Redirecting to https:// for
/plinth works. FreedomBox web interface is available.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-17 12:07:55 -04:00
nbenedek 9efc56368c rssbridge: New app to generate RSS feeds for websites
[sunil: Update description for simplicity, group info]
[sunil: Indentation fixes]
[sunil: End all URLs with a slash]
[sunil: Update frontpage shortcut to be a simple one]
[sunil: Enable single-sign-on for main interface only]
[sunil: In copyright file, merge with public-domain section]
[sunil: Simplify and vectorify the icon]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-07-17 09:04:48 -07:00
James Valleroy d0118752f2 Release v22.15 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-04 21:43:09 -04:00
James Valleroy 402b5594aa Release v22.14.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-06-27 08:45:18 -04:00
James Valleroy 041e154696 Release v22.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-06-20 20:52:43 -04:00
James Valleroy fef8bfaf8c Release v22.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-06-06 22:00:28 -04:00
James Valleroy b7a1d4bf8f janus: Add new app for lightweight WebRTC server
- Add basic video room based on demo.

- Set port range to use for RTP.

- coturn: Add component for time-limited TURN configuration.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Don't error out when coturn is not installed/configured]
[sunil: Prepend data- to custom attribute in HTML]
[sunil: Convert SVG with embedded bitmap to vector graphics]
[sunil: Hide Javascript license information in footer]
[sunil: Minor changes to comments for styling]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-06-06 17:42:41 -07:00
James Valleroy 0aead35ea8 Release v22.12 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-05-23 20:48:48 -04:00
James Valleroy b8ea881938 Release v22.11 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-05-09 22:36:23 -04:00
James Valleroy 470b3cb9cd Release v22.10 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-25 20:48:13 -04:00
James Valleroy 3653a09437 Release v22.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-11 21:18:48 -04:00
James Valleroy dd7f2db631 Release v22.8 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-28 20:30:24 -04:00
James Valleroy 161f09fa9c Release v22.7
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-14 20:30:46 -04:00
James Valleroy 0b4bac4643 Release v22.6.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-06 06:25:51 -05:00
James Valleroy ab2cab3e96 Release v22.6 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 08:45:07 -05:00
Sunil Mohan Adapa 10606bfc69 email: Set an icon from Tango project
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:13 -05:00
James Valleroy 4a057aeb53 Release v22.5 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-02-14 20:41:40 -05:00