mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
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>
This commit is contained in:
parent
e9056afe00
commit
2412f3f051
@ -7,7 +7,7 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from plinth import action_utils
|
||||
from plinth import app as app_module
|
||||
from plinth import menu
|
||||
from plinth import cfg, menu
|
||||
from plinth import setup as setup_module
|
||||
from plinth.daemon import (Daemon, app_is_running, diagnose_netcat,
|
||||
diagnose_port_listening)
|
||||
@ -19,6 +19,7 @@ from plinth.modules.torproxy.utils import is_apt_transport_tor_enabled
|
||||
from plinth.modules.users.components import UsersAndGroups
|
||||
from plinth.package import Packages
|
||||
from plinth.signals import domain_added, domain_removed
|
||||
from plinth.utils import format_lazy
|
||||
|
||||
from . import manifest, privileged, utils
|
||||
|
||||
@ -31,6 +32,13 @@ _description = [
|
||||
'Tor Project recommends that you use the '
|
||||
'<a href="https://www.torproject.org/download/download-easy.html.en">'
|
||||
'Tor Browser</a>.'),
|
||||
_('This app provides relay services to contribute to Tor network and help '
|
||||
'others overcome censorship.'),
|
||||
format_lazy(
|
||||
_('This app provides an onion domain to expose {box_name} services '
|
||||
'via the Tor network. Using Tor browser, one can access {box_name} '
|
||||
'from the internet even when using an ISP that limits servers at '
|
||||
'home.'), box_name=_(cfg.box_name)),
|
||||
]
|
||||
|
||||
|
||||
|
||||
@ -28,8 +28,11 @@ _description = [
|
||||
'<a href="https://www.torproject.org/download/download-easy.html.en">'
|
||||
'Tor Browser</a>.'),
|
||||
format_lazy(
|
||||
_('A Tor SOCKS port is available on your {box_name} for internal '
|
||||
'networks on TCP port 9050.'), box_name=_(cfg.box_name))
|
||||
_('This app provides a web proxy on your {box_name} for internal '
|
||||
'networks on TCP port 9050 using the SOCKS protocol. This can be '
|
||||
'used by various apps to access the internet via the Tor network. '
|
||||
'ISP censorship can be circumvented using upstream bridges.'),
|
||||
box_name=_(cfg.box_name))
|
||||
]
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user