mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
featherwiki: Proxy download through freedombox.org
This serves two purposes: 1. Upstream's website cannot track the IP addresses of FreedomBox users. 2. We can update the versions of the empty quine files without making code changes in FreedomBox. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> [sunil: Update description to reflect the change in upstream URL] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.or>g Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
0b758423a4
commit
559a4c30e8
@ -29,8 +29,10 @@ _description = [
|
||||
_('Each wiki is a small file. Create as many wikis as you like, such as '
|
||||
'one wiki per topic. Customize each wiki to your liking with extensions '
|
||||
'and other customization options.'),
|
||||
_('Feather Wiki is downloaded from upstream website and not from Debian. '
|
||||
'Wikis need to be upgraded to newer version manually.'),
|
||||
format_lazy(
|
||||
_('Feather Wiki is downloaded from {box_name} website and not from '
|
||||
'Debian. Wikis need to be upgraded to newer version manually.'),
|
||||
box_name=_(cfg.box_name)),
|
||||
format_lazy(
|
||||
_('Wikis are not public by default, but they can be downloaded for '
|
||||
'sharing or publishing. They can be edited by <a href="{users_url}">'
|
||||
|
||||
@ -9,8 +9,7 @@ import urllib.request
|
||||
|
||||
from plinth.actions import privileged
|
||||
|
||||
# Needs to be changed on a new release
|
||||
EMPTY_WIKI_FILE = 'https://feather.wiki/builds/v1.8.x/FeatherWiki_Skylark.html'
|
||||
EMPTY_WIKI_FILE = 'https://ftp.freedombox.org/pub/featherwiki/empty.html'
|
||||
|
||||
wiki_dir = pathlib.Path('/var/lib/featherwiki')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user