8270 Commits

Author SHA1 Message Date
James Valleroy
18a04d384a
Release v23.15 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.15
2023-08-14 21:11:52 -04:00
James Valleroy
63bba4cb8f
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-14 21:08:00 -04:00
James Valleroy
4a1c96545a
debian: Add Swedish translation for debconf
Thanks to Peter Kvillegård <quat@sdfeu.org> for the translation.

Closes: #1041735
2023-08-13 10:45:43 -04:00
gallegonovato
ef364c2169
Translated using Weblate (Spanish)
Currently translated at 100.0% (1521 of 1521 strings)
2023-08-11 13:50:50 +02:00
Ettore Atalan
df06becd9f
Translated using Weblate (German)
Currently translated at 99.2% (1510 of 1521 strings)
2023-08-07 14:46:13 +02:00
Ihor Hordiichuk
e0cbf3fe87
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1521 of 1521 strings)
2023-08-03 21:02:16 +02:00
Burak Yavuz
1a3a5de0dc
Translated using Weblate (Turkish)
Currently translated at 100.0% (1521 of 1521 strings)
2023-08-03 21:02:16 +02:00
ikmaak
06eb6d179d
Translated using Weblate (Dutch)
Currently translated at 100.0% (1521 of 1521 strings)
2023-08-03 21:02:15 +02:00
James Valleroy
e7826781fd
Release v23.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.14
2023-07-31 20:40:13 -04:00
James Valleroy
13f0896853
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 20:38:07 -04:00
James Valleroy
863bb60129
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 20:04:52 -04:00
Sunil Mohan Adapa
da9b771627
app: Implement advanced option to rerun app setup
Tests:

- Install bepasty app. Notice the extra menu option in the advanced menu.
Clicking it installs the app and run setup. Progress is shown during the re-run
of setup. When operation is completed 'App updated' notification is shown.

- Test Zoph app setup page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:15 -04:00
Sunil Mohan Adapa
dc0b9bed82
zoph: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:13 -04:00
Sunil Mohan Adapa
2c6faf7014
wireguard: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:11 -04:00
Sunil Mohan Adapa
a1217b36be
ttrss: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:09 -04:00
Sunil Mohan Adapa
629c476767
sharing: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:06 -04:00
Sunil Mohan Adapa
a6a7de70e6
shaarli: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:04 -04:00
Sunil Mohan Adapa
9f51fd6a9c
rssbridge: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:47:01 -04:00
Sunil Mohan Adapa
8d723daec3
radicale: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:59 -04:00
Sunil Mohan Adapa
100592c1d4
quassel: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:52 -04:00
Sunil Mohan Adapa
9fa1e1f563
privoxy: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:50 -04:00
Sunil Mohan Adapa
4444f15c60
performance: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:47 -04:00
Sunil Mohan Adapa
62aa247c8d
openvpn: Don't enable app when setup is rerun
Tests:

- Could not test: rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:45 -04:00
Sunil Mohan Adapa
de5d0ce6b0
minetest: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:42 -04:00
Sunil Mohan Adapa
ec7560b798
mediawiki: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:40 -04:00
Sunil Mohan Adapa
9f78d444a4
jsxc: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:37 -04:00
Sunil Mohan Adapa
ab4fb9238e
janus: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:33 -04:00
Sunil Mohan Adapa
3172c6a7b4
infinoted: Don't enable app when setup is rerun
Tests:

- When app is freshly installed, app is enabled.

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:29 -04:00
Sunil Mohan Adapa
e6b88a48b9
ikiwiki: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:24 -04:00
Sunil Mohan Adapa
b90ddd514d
gitweb: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:22 -04:00
Sunil Mohan Adapa
69c4aca429
ejabberd: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:19 -04:00
Sunil Mohan Adapa
02192266c2
deluge: Don't enable app when setup is rerun
Tests:

- Could not test: rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:16 -04:00
Sunil Mohan Adapa
f0e1a1ebc9
bind: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:12 -04:00
Sunil Mohan Adapa
099e021024
bepasty: Don't enable app when setup is rerun
Tests:

- Rerun setup after disabling the app. App is not enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-31 19:46:08 -04:00
fliu
da1e4ed505
container: Add support for retrieving GPG keys using wget
- Check for errors when running the provisioning script.

- Check for errors when installing missing packages.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-07-31 15:16:52 -07:00
James Valleroy
de856b0d9c
container: Update for bookworm images
Switch to new GPG key fingerprint.

Test:
- Can bring up stable container.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-07-31 11:18:04 -07:00
James Valleroy
49fa9a0599
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-07-31 11:02:18 -07:00
James Valleroy
1b64394575
upgrades: Use codename= 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.

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-07-31 11:02:09 -07:00
Sunil Mohan Adapa
655e4aff1b
tor, torproxy: Export settings from old to new app
Tests:

- Install old version of tor app, enable apt transport tor and bridges. Upgrade
to latest code. Notice that new torproxy app is installed, apt transport tor is
enabled and bridges are set. Remaining tor settings are unchanged.

- Install old version of tor app, disable apt transport tor and enable bridges.
Upgrade to latest code. Notice that new torproxy app is installed, apt transport
tor is disabled and bridges are set. Remaining tor settings are unchanged.

- Install old version of tor app, disable tor app and set bridges. Upgrade to
latest code. Notice that new torproxy app is not installed. Remaining tor
settings are unchanged.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
[jvalleroy: Minor update to comment and log message]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 22:03:51 -04:00
Sunil Mohan Adapa
97b579c4fc
kvstore: Optionally, don't throw exception when deleting key
Tests:

- Unit tests pass.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:57 -04:00
Sunil Mohan Adapa
e017e55a7b
torproxy: Drop irrelavant 'ExitPolicy' configuration directive
ExitPolicy is only used when relaying is enabled as per torrc manual page.

Tests:

- None

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:54 -04:00
Sunil Mohan Adapa
e8818179f7
tor: tests: Make functional test check for running service
Tor app does have a running daemon.

Tests:

- Functional tests pass.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:51 -04:00
Sunil Mohan Adapa
2412f3f051
tor, torproxy: Update description for info on services provided
- Explain SOCKS proxy, upstream bridges, relays and onion services.

Tests:

- Visiting the app pages shows expected description.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:48 -04:00
Sunil Mohan Adapa
e9056afe00
tor: Minor refactor to remove code the check for need to restart
- Any change to the remaining form fields now certainly requires restart of the
Tor daemon.

Tests:

- When no changes are done to the form, tor daemon is not restarted.

- When changes are done to the form, tor daemon is restarted. But only when app
is enabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:45 -04:00
Sunil Mohan Adapa
b7613d6e5a
torproxy: Add shortcut to home page for logged in users
Describing the SOCKS service provided by this instance of FreedomBox and
providing a convenient link to Manual.

Tests:

- The short cut shows as expected. Clicking on the shortcut shows description,
manual page link and configuration link.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:42 -04:00
Sunil Mohan Adapa
1409a6c493
torproxy: Remove unnecessary load tags in template file
Tests:

- Tor proxy template loads fine showing the app page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:38 -04:00
Sunil Mohan Adapa
9a1e5a3eeb
torproxy: Rename icon from tor to torproxy
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-28 21:07:23 -04:00
James Valleroy
949f6ce353
ci: Add mypy static type check
Allow failures for now, until the existing issues are fixed.

Closes: #2129.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-07-25 15:22:09 -07:00
James Valleroy
d45c6e8c90
HACKING: Add instructions for container on Raspberry Pi
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-25 15:17:08 -07:00
James Valleroy
b0c75b7849
torproxy: Add separate app for Tor Proxy
- Includes SocksPort and "Download software packages over Tor" feature,
  as well as setting upstream bridges.

- "Download software packages over Tor" option is enabled by default.

- When upgrading, if Tor app was enabled and "Download software
  packages over Tor" was enabled, then Tor Proxy will be installed.

- The default tor instance is now called tor@default. The "tor" service
  is an multi-instance master that has Wants relation all instances.

Tests:

- Tests for Tor and Tor Proxy passed.

- Enable Tor, and run the tests for Tor Proxy. Afterwards, Tor is still
  enabled and running.

- Enable Tor Proxy, and run the tests for Tor. Afterwards, Tor Proxy is
  still enabled and running.

- Test setting upstream bridges for Tor and Tor Proxy.

- Install FreedomBox 23.11 in a VM and install Tor with default
  settings. Install new FreedomBox version with Tor Proxy. After
  install, both Tor and Tor Proxy apps are installed and running.
  /etc/tor/instances/{plinth,fbxproxy}/torrc both have expected content.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-07-20 10:39:59 -07:00