summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-14 02:17:54 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2019-03-10 01:08:39 -0500
commitff4855ac500d3c78589a12816b8fe69ed3c58281 (patch)
treee062fe6d7988ab53079ee7258fadd15c3d1ed029
parentc49d0290c009b2dd89bd23acf81d5150ae7b94a3 (diff)
Replace usage of parabolagnulinux.org with parabola.nu, also
replace repo.parabola.nu/isos/ with /iso/, in settings.py
-rw-r--r--packages/templatetags/jinja2.py5
-rw-r--r--public/views.py2
-rw-r--r--settings.py4
3 files changed, 6 insertions, 5 deletions
diff --git a/packages/templatetags/jinja2.py b/packages/templatetags/jinja2.py
index c660859b..cc2f8e91 100644
--- a/packages/templatetags/jinja2.py
+++ b/packages/templatetags/jinja2.py
@@ -33,14 +33,15 @@ def pgp_key_link(key_id, link_text=None):
def scm_link(package, operation):
parts = ("abslibre", operation, package.repo.name.lower(), package.pkgbase)
linkbase = (
- "https://projects.parabolagnulinux.org/%s.git/%s/%s/%s")
+ "https://projects.parabola.nu/%s.git/%s/%s/%s")
return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts)
@library.global_function
def wiki_link(package):
- url = "https://wiki.archlinux.org/index.php/Special:Search"
+ url = "https://wiki.parabola.nu/index.php"
data = {
+ 'title': "Special:Search",
'search': package.pkgname,
}
return link_encode(url, data)
diff --git a/public/views.py b/public/views.py
index 80c206e5..9702526c 100644
--- a/public/views.py
+++ b/public/views.py
@@ -65,7 +65,7 @@ def _mirror_urls():
@cache_control(max_age=300)
def download(request):
- return HttpResponseRedirect('https://wiki.parabola.nu/Get_Parabola')
+ return HttpResponseRedirect('https://wiki.parabola.nu/get')
@cache_control(max_age=307)
diff --git a/settings.py b/settings.py
index 5723e6c6..57454f15 100644
--- a/settings.py
+++ b/settings.py
@@ -186,14 +186,14 @@ TORRENT_TRACKERS = (
'udp://tracker.istole.it:80',
)
-DOMAIN_RE = r'^(.+\.)?parabola.nu$'
+DOMAIN_RE = r'^(.+\.)?parabola(\.nu|gnulinux\.org)$'
BRANDING_APPNAME = 'parabolaweb'
BRANDING_DISTRONAME = 'Parabola GNU/Linux-libre'
BRANDING_SHORTNAME = 'Parabola'
BRANDING_SLUG = 'parabola'
BRANDING_WIKINAME = 'ParabolaWiki'
-BRANDING_EMAIL = 'Parabola Website Notification <nobody@repo.parabola.nu>'
+BRANDING_EMAIL = 'Parabola Website Notification <nobody@parabola.nu>'
BRANDING_OSEARCH_TAGS = 'gnu linuxlibre parabola package software'
# Shorten some names just a bit