# HG changeset patch
# User Bradley M. Kuhn
# Date 2014-05-21 19:35:27
# Node ID 9dd726706178c22e6db3f75a355995e1ca4a3b99
# Parent ad49bbd8f9842ba12547b33ab5586ff1dce525d3
Complete copyright notices for web interface; change footer to link to them.
The original copyright notice found in the footer was not accurate as it
included only one of the many copyright holders in this project. This change
creates an "about" page, which currently contains just the copyright and
license information. It links to repository for additional potential copyright
holders not listed on the about page.
Unlisted contributors are mentioned in template comments.
Html links for Kallithea is fixed and we link to Conservancy.
Display of version information in the footer is improved.
diff --git a/rhodecode/config/routing.py b/rhodecode/config/routing.py
--- a/rhodecode/config/routing.py
+++ b/rhodecode/config/routing.py
@@ -101,6 +101,7 @@ def make_map(config):
#MAIN PAGE
rmap.connect('home', '/', controller='home', action='index')
+ rmap.connect('about', '/about', controller='home', action='about')
rmap.connect('repo_switcher_data', '/_repos', controller='home',
action='repo_switcher_data')
diff --git a/rhodecode/controllers/home.py b/rhodecode/controllers/home.py
--- a/rhodecode/controllers/home.py
+++ b/rhodecode/controllers/home.py
@@ -49,6 +49,9 @@ class HomeController(BaseController):
def __before__(self):
super(HomeController, self).__before__()
+ def about(self):
+ return render('/about.html')
+
@LoginRequired()
def index(self):
c.groups = self.scm_model.get_repo_groups()
diff --git a/rhodecode/templates/about.html b/rhodecode/templates/about.html
new file mode 100644
--- /dev/null
+++ b/rhodecode/templates/about.html
@@ -0,0 +1,91 @@
+## -*- coding: utf-8 -*-
+<%inherit file="/base/base.html"/>
+<%def name="title()">
+ ${_('About')}
+ %if c.site_name:
+ · ${c.site_name}
+ %endif
+%def>
+<%def name="breadcrumbs()">
+ ${c.site_name}
+%def>
+<%def name="page_nav()">
+ ${self.menu('about')}
+%def>
+<%def name="main()">
+
+
+
+
+
${_('About')} Kallithea
+
+
+
Kallithea is a project of the
+ Software Freedom Conservancy, Inc.
+ and is released under the terms of the
+ GNU General Public License,
+ v 3.0 (GPLv3).
+
+
Kallithea is copyrighted by various authors, including but not
+ necessarily limited to the following:
+
+ - Copyright © 2010–2013, RhodeCode GmbH
+ - Copyright © 2011–2014, Unity Technologies
+ - Copyright © 2012, Andrew Shadura
+ - Copyright © 2012, Augusto Herrmann
+ - Copyright © 2012, Dan Sheridan
+ - Copyright © 2012, Dominik Ruf
+ - Copyright © 2012, Vincent Duvert
+ - Copyright © 2011, Liad Shani
+ - Copyright © 2013, Jonathan Sternberg
+ - Copyright © 2011, Jason F. Harris
+ - Copyright © 2011, Lorenzo M. Catucci
+ - Copyright © 2013, Grzegorz Rożniecki
+ - Copyright © 2011, Les Peabody
+ - Copyright © 2011, Nicolas VINOT
+ - Copyright © 2012, Indra Talip
+ - Copyright © 2012, H Waldo G
+ - Copyright © 2011, Aparkar
+ - Copyright © 2013, Dennis Brakhane
+ - Copyright © 2011, Matt Zuba
+ - Copyright © 2014, Bradley M. Kuhn
+ - Copyright © 2012–2013, xpol
+ - Copyright © 2012, hppj
+ - Copyright © 2013, Takumi IINO
+ - Copyright © 2011, Shawn K. O'Shea
+ - Copyright © 2012, Tony Bussieres
+ - Copyright © 2011, Simon Lopez
+ - Copyright © 2012, mikespook
+ - Copyright © 2012, nansenat16
+ - Copyright © 2012, Zachary Auclair
+ - Copyright © 2012, Raoul Thill
+ - Copyright © 2011, Jared Bunting
+ - Copyright © 2013, Magnus Ericmats
+ - Copyright © 2010, Lukasz Balcerzak
+
+## We did not list the following copyright holders, given that they appeared
+## to use for-profit company affiliations in their contribution in the
+## Mercurial log and therefore I didn't know if copyright was theirs or
+## their company's.
+## Copyright © 2011 Thayne Harbaugh
+## Copyright © 2012 Dies Koper
+## Copyright © 2012 Erwin Kroon
+## Copyright © 2012 Vincent Caron
+##
+## These contributors' contributions may not be copyrightable:
+## philip.j@hostdime.com in 2012
+## Stefan Engel in 2012
+## Ton Plomp in 2013
+##
+
+
+
The above are the copyright holders who have submitted direct
+ contributions to the Kallithea repository. In
+ the Kallithea source
+ code, there is
+ a list
+ of third-party libraries and code that Kallithea incorporates.
+
+
+
+%def>
diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html
--- a/rhodecode/templates/base/base.html
+++ b/rhodecode/templates/base/base.html
@@ -37,11 +37,14 @@
${_('Server instance: %s') % c.rhodecode_instanceid if c.rhodecode_instanceid else ''}