Changeset - ad38f9f93b3b
[Not reviewed]
Bradley M. Kuhn - 11 years ago 2014-05-21 22:59:37
bkuhn@sfconservancy.org
Correct licensing information in individual files.

The top-level license file is now LICENSE.md.

Also, in various places where there should have been joint copyright holders
listed, a single copyright holder was listed. It does not appear easy to add
a link to a large list of copyright holders in these places, so it simply
refers to the fact that various authors hold copyright.

In future, if an easy method is discovered to link to a list from those
places, we should do so.

Finally, text is added to LICENSE.md to point to where the full list of
copyright holders is, and that Kallithea as a whole is GPLv3'd.
111 files changed with 129 insertions and 112 deletions:
0 comments (0 inline, 0 general)
LICENSE.md
Show inline comments
 
Third-Party Code Included Herein
 
================================
 
Kallithea License
 
=================
 

	
 
Kallithea as a whole is copyrighted by various authors and is licensed under
 
the terms of the GNU General Public License, version 3 (GPLv3), which is a
 
license published by the Free Software Foundation,
 
Inc. [A copy of GPLv3](/COPYING) is included herein.
 

	
 
Some individual files have copyright notices and those who offer changes to
 
those files should update the copyright notices in those specific files if
 
they so chose.
 

	
 
However, the definitive list of copyright holders for this project is kept in
 
[the about page template](kallithea/templates/about.html) so that it is
 
displayed appropriately when Kallithea is installed.  This is the most
 
important place to update copyright notices. 
 

	
 
Third-Party Code Incorporated in Kallithea
 
==========================================
 

	
 
Various third-party code under GPLv3-compatible licenses is included as part
 
of Kallithea.
 

	
 

	
 

	
docs/conf.py
Show inline comments
 
@@ -42,13 +42,13 @@ source_suffix = '.rst'
 

	
 
# The master toctree document.
 
master_doc = 'index'
 

	
 
# General information about the project.
 
project = u'Kallithea'
 
copyright = u'%s, Marcin Kuzminski' % (datetime.datetime.now().year)
 
copyright = u'2010-2014 by various authors, licensed as GPLv3.'
 

	
 
# The version info for the project you're documenting, acts as replacement for
 
# |version| and |release|, also used in various other places throughout the
 
# built documents.
 
#
 
# The short X.Y version.
kallithea/__init__.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.__init__
 
RhodeCode, a web based repository management based on pylons
 
versioning implementation: http://www.python.org/dev/peps/pep-0386/
 

	
 
:created_on: Apr 9, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import sys
 
import platform
 

	
 
VERSION = (2, 2, 5)
kallithea/bin/__init__.py
Show inline comments
 
@@ -17,8 +17,8 @@ kallithea.bin.__init__
 

	
 
Binary scripts for RhodeCode
 

	
 
:created_on: Jun 03, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
kallithea/bin/base.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.bin.base
 

	
 
Base utils for shell scripts
 

	
 
:created_on: May 09, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import sys
 
import random
 
import urllib2
kallithea/bin/kallithea_api.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.bin.api
 

	
 
Api CLI client for RhodeCode
 

	
 
:created_on: Jun 3, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import sys
 
import argparse
 

	
kallithea/bin/kallithea_backup.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.bin.backup_manager
 
Repositories backup manager, it allows to backups all
 
repositories and send it to backup server using RSA key via ssh.
 

	
 
:created_on: Feb 28, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import sys
 

	
 
import logging
kallithea/bin/kallithea_config.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.bin.kallithea_config
 

	
 
configuration generator for RhodeCode
 

	
 
:created_on: Jun 18, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
from __future__ import with_statement
 
import os
 
import sys
kallithea/bin/kallithea_gist.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.bin.kallithea_gist
 

	
 
Gist CLI client for RhodeCode
 

	
 
:created_on: May 9, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import sys
 
import stat
kallithea/bin/ldap_sync.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.bin.__init__
 

	
 
LDAP sync script
 

	
 
:created_on: Mar 06, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import ldap
 
import urllib2
 
import uuid
 

	
kallithea/config/conf.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.config.conf
 

	
 
Various config settings for RhodeCode
 

	
 
:created_on: Mar 7, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 
from kallithea import EXTENSIONS
 

	
 
from kallithea.lib.utils2 import __get_lem
 

	
 

	
kallithea/controllers/admin/admin.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.admin
 

	
 
Controller for Admin panel of Rhodecode
 

	
 
:created_on: Apr 7, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 

	
 
from pylons import request, tmpl_context as c, url
kallithea/controllers/admin/defaults.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.defaults
 

	
 
default settings controller for Rhodecode
 

	
 
:created_on: Apr 27, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 
from formencode import htmlfill
kallithea/controllers/admin/gists.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.gist
 

	
 
gist controller for RhodeCode
 

	
 
:created_on: May 9, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import time
 
import logging
 
import traceback
 
import formencode
kallithea/controllers/admin/my_account.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.my_account
 

	
 
my account controller for rhodecode admin
 

	
 
:created_on: August 20, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import time
 
import logging
 
import traceback
 
import formencode
kallithea/controllers/admin/notifications.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.notification
 

	
 
notifications controller for RhodeCode
 

	
 
:created_on: Nov 23, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 

	
 
from pylons import request
kallithea/controllers/admin/permissions.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.permissions
 

	
 
permissions controller for Rhodecode
 

	
 
:created_on: Apr 27, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import traceback
 
import formencode
kallithea/controllers/admin/repo_groups.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.repo_groups
 

	
 
Repository groups controller for RhodeCode
 

	
 
:created_on: Mar 23, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 
import itertools
kallithea/controllers/admin/repos.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.repos
 

	
 
Repositories controller for RhodeCode
 

	
 
:created_on: Apr 7, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 
from formencode import htmlfill
kallithea/controllers/admin/settings.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.settings
 

	
 
settings controller for rhodecode admin
 

	
 
:created_on: Jul 14, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import time
 
import logging
 
import traceback
 
import formencode
kallithea/controllers/admin/user_groups.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.users_groups
 

	
 
User Groups crud controller for pylons
 

	
 
:created_on: Jan 25, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 

	
kallithea/controllers/admin/users.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.admin.users
 

	
 
Users crud controller for pylons
 

	
 
:created_on: Apr 4, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 
from pylons import response
kallithea/controllers/api/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.api
 

	
 
JSON RPC controller
 

	
 
:created_on: Aug 20, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import inspect
 
import logging
 
import types
 
import urllib
kallithea/controllers/api/api.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.api
 

	
 
API controller for RhodeCode
 

	
 
:created_on: Aug 20, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import time
 
import traceback
 
import logging
kallithea/controllers/bookmarks.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.bookmarks
 

	
 
Bookmarks controller for rhodecode
 

	
 
:created_on: Dec 1, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 

	
 
from pylons import tmpl_context as c
 

	
kallithea/controllers/branches.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.branches
 

	
 
branches controller for rhodecode
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import binascii
 

	
 
from pylons import tmpl_context as c
kallithea/controllers/changelog.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.changelog
 

	
 
changelog controller for rhodecode
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 

	
 
from pylons import request, url, session, tmpl_context as c
kallithea/controllers/changeset.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.controllers.changeset
 
changeset controller for pylons showoing changes beetween
 
revisions
 

	
 
:created_on: Apr 25, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
from collections import defaultdict
 
from webob.exc import HTTPForbidden, HTTPBadRequest, HTTPNotFound
kallithea/controllers/compare.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.controllers.compare
 
compare controller for pylons showing differences between two
 
repos, branches, bookmarks or tips
 

	
 
:created_on: May 6, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import traceback
 
import re
kallithea/controllers/error.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.error
 

	
 
RhodeCode error controller
 

	
 
:created_on: Dec 8, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import cgi
 
import logging
 
import paste.fileapp
kallithea/controllers/feed.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.feed
 

	
 
Feed controller for rhodecode
 

	
 
:created_on: Apr 23, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 

	
 
from pylons import url, response, tmpl_context as c
kallithea/controllers/files.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.files
 

	
 
Files controller for RhodeCode
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import logging
 
import traceback
kallithea/controllers/followers.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.followers
 

	
 
Followers controller for rhodecode
 

	
 
:created_on: Apr 23, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 

	
 
from pylons import tmpl_context as c, request
 

	
kallithea/controllers/forks.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.forks
 

	
 
forks controller for rhodecode
 

	
 
:created_on: Apr 23, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import formencode
 
import traceback
 
from formencode import htmlfill
kallithea/controllers/home.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.home
 

	
 
Home controller for Rhodecode
 

	
 
:created_on: Feb 18, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
import logging
 

	
 
from pylons import tmpl_context as c, request
kallithea/controllers/journal.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.journal
 

	
 
Journal controller for pylons
 

	
 
:created_on: Nov 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
import logging
 
from itertools import groupby
 

	
kallithea/controllers/login.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.login
 

	
 
Login controller for rhodeocode
 

	
 
:created_on: Apr 22, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import formencode
 
import datetime
kallithea/controllers/pullrequests.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.pullrequests
 

	
 
pull requests controller for rhodecode for initializing pull requests
 

	
 
:created_on: May 7, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import formencode
 

	
kallithea/controllers/search.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.search
 

	
 
Search controller for RhodeCode
 

	
 
:created_on: Aug 7, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 
import urllib
 
from pylons.i18n.translation import _
kallithea/controllers/summary.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.summary
 

	
 
Summary controller for Rhodecode
 

	
 
:created_on: Apr 18, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import traceback
 
import calendar
 
import logging
 
import urllib
kallithea/controllers/tags.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.controllers.tags
 

	
 
Tags controller for rhodecode
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
import logging
 

	
 
from pylons import tmpl_context as c
kallithea/lib/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib
 

	
 
RhodeCode libs
 

	
 
:created_on: Oct 06, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 

	
 
def get_current_revision(quiet=False):
 
    """
kallithea/lib/annotate.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.annotate
 

	
 
Anontation library for usage in rhodecode, previously part of vcs
 

	
 
:created_on: Dec 4, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import StringIO
 

	
 
from kallithea.lib.vcs.exceptions import VCSError
 
from kallithea.lib.vcs.nodes import FileNode
kallithea/lib/app_globals.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.app_globals
 

	
 
The application's Globals object
 

	
 
:created_on: Oct 06, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from beaker.cache import CacheManager
 
from beaker.util import parse_cache_config_options
 

	
 

	
kallithea/lib/auth.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.auth
 

	
 
authentication and permission libraries
 

	
 
:created_on: Apr 4, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 
from __future__ import with_statement
 
import time
 
import random
 
import logging
 
import traceback
kallithea/lib/auth_modules/auth_container.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.auth_modules.auth_containe
 

	
 
RhodeCode container based authentication plugin
 

	
 
:created_on: Created on Nov 17, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
from kallithea.lib import auth_modules
 
from kallithea.lib.utils2 import str2bool, safe_unicode
 
from kallithea.lib.compat import hybrid_property
kallithea/lib/auth_modules/auth_crowd.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.auth_modules.auth_crowd
 

	
 
RhodeCode authentication plugin for Atlassian CROWD
 

	
 
:created_on: Created on Nov 17, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import base64
 
import logging
 
import urllib2
kallithea/lib/auth_modules/auth_ldap.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.auth_modules.auth_ldap
 

	
 
RhodeCode authentication plugin for LDAP
 

	
 
:created_on: Created on Nov 17, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import traceback
 

	
kallithea/lib/auth_modules/auth_rhodecode.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.auth_modules.auth_rhodecod
 

	
 
RhodeCode authentication plugin for built in internal auth
 

	
 
:created_on: Created on Nov 17, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
from kallithea.lib import auth_modules
 
from kallithea.lib.compat import formatted_json, hybrid_property
kallithea/lib/base.py
Show inline comments
 
@@ -20,13 +20,13 @@ The base Controller API
 
Provides the BaseController class for subclassing. And usage in different
 
controllers
 

	
 
:created_on: Oct 06, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import time
 
import traceback
 

	
kallithea/lib/celerylib/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.celerylib.__init__
 

	
 
celery libs for RhodeCode
 

	
 
:created_on: Nov 27, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import sys
 
import socket
kallithea/lib/celerylib/tasks.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.celerylib.tasks
 
RhodeCode task modules, containing all task that suppose to be run
 
by celery daemon
 

	
 
:created_on: Oct 6, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from celery.decorators import task
 

	
 
import os
 
import traceback
kallithea/lib/compat.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.compat
 
Python backward compatibility functions and common libs
 

	
 

	
 
:created_on: Oct 7, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import functools
 
import importlib
kallithea/lib/db_manage.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.db_manage
 
Database creation, and setup module for RhodeCode. Used for creation
 
of database as well as for migration operations
 

	
 
:created_on: Apr 10, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import sys
 
import time
 
import uuid
kallithea/lib/dbmigrate/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.dbmigrate.__init__
 

	
 
Database migration modules
 

	
 
:created_on: Dec 11, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
from sqlalchemy import engine_from_config
 

	
 

	
kallithea/lib/dbmigrate/schema/__init__.py
Show inline comments
 
@@ -17,8 +17,8 @@ kallithea.lib.dbmigrate.schema
 

	
 
Schemas for migrations
 

	
 
:created_on: Nov 1, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
kallithea/lib/dbmigrate/schema/db_1_2_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_2_0
 

	
 
Database Models for RhodeCode <=1.2.X
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import logging
 
import datetime
 
import traceback
kallithea/lib/dbmigrate/schema/db_1_3_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_3_0
 

	
 
Database Models for RhodeCode <=1.3.X
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 

	
 
import os
 
import logging
kallithea/lib/dbmigrate/schema/db_1_4_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_4_0
 

	
 
Database Models for RhodeCode <=1.4.X
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_1_5_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_5_0
 

	
 
Database Models for RhodeCode <=1.5.2
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import logging
 
import datetime
 
import traceback
kallithea/lib/dbmigrate/schema/db_1_5_2.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_5_2
 

	
 
Database Models for RhodeCode <=1.5.X
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import logging
 
import datetime
 
import traceback
kallithea/lib/dbmigrate/schema/db_1_6_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db_1_6_0
 

	
 
Database Models for RhodeCode <=1.5.X
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import logging
 
import datetime
 
import traceback
kallithea/lib/dbmigrate/schema/db_1_7_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_1_8_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_0_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_0_1.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_0_2.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_1_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_2_0.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/schema/db_2_2_3.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/lib/dbmigrate/versions/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.dbmigrate.versions.__init_
 

	
 
Package containing new versions of database models
 

	
 
:created_on: Dec 11, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from sqlalchemy import *
 
from sqlalchemy.exc import DatabaseError
 
from sqlalchemy.orm import relation, backref, class_mapper, joinedload
 
from sqlalchemy.ext.declarative import declarative_base
kallithea/lib/diffs.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.diffs
 
Set of diffing helpers, previously part of vcs
 

	
 

	
 
:created_on: Dec 4, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 
import re
 
import difflib
 
import logging
 

	
 
from itertools import tee, imap
kallithea/lib/exceptions.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.exceptions
 

	
 
Set of custom exceptions used in RhodeCode
 

	
 
:created_on: Nov 17, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from webob.exc import HTTPClientError
 

	
 

	
 
class LdapUsernameError(Exception):
kallithea/lib/hooks.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.hooks
 

	
 
Hooks runned by rhodecode
 

	
 
:created_on: Aug 6, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import sys
 
import time
 
import binascii
kallithea/lib/indexers/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.indexers.__init__
 

	
 
Whoosh indexing module for RhodeCode
 

	
 
:created_on: Aug 17, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import sys
 
import logging
 
from os.path import dirname as dn, join as jn
kallithea/lib/indexers/daemon.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.indexers.daemon
 

	
 
A daemon will read from task table and run tasks
 

	
 
:created_on: Jan 26, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
 
import sys
kallithea/lib/markup_renderer.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.markup_renderer
 

	
 
Renderer for markup languages with ability to parse using rst or markdown
 

	
 
:created_on: Oct 27, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import re
 
import logging
 
import traceback
kallithea/lib/middleware/errormator.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.middleware.errormator
 

	
 
middleware to handle errormator publishing of errors
 

	
 
:created_on: October 18, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
try:
 
    from errormator_client import make_errormator_middleware
 
except ImportError:
kallithea/lib/middleware/https_fixup.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.middleware.https_fixup
 

	
 
middleware to handle https correctly
 

	
 
:created_on: May 23, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
from kallithea.lib.utils2 import str2bool
 

	
 

	
kallithea/lib/middleware/sentry.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.middleware.sentry
 

	
 
middleware to handle sentry/raven publishing of errors
 

	
 
:created_on: September 18, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
try:
 
    from raven.base import Client
 
    from raven.contrib.pylons import list_from_setting
kallithea/lib/middleware/simplegit.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.middleware.simplegit
 
SimpleGit middleware for handling git protocol request (push/clone etc.)
 
It's implemented with basic auth function
 

	
 
:created_on: Apr 28, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 

	
 
import os
 
import re
kallithea/lib/middleware/simplehg.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.middleware.simplehg
 
SimpleHG middleware for handling mercurial protocol request
 
(push/clone etc.). It's implemented with basic auth function
 

	
 
:created_on: Apr 28, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 

	
 
import os
 
import logging
kallithea/lib/middleware/wrapper.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.middleware.wrapper
 

	
 
request time mesuring app
 

	
 
:created_on: May 23, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import time
 
import logging
 
from kallithea.lib.base import _get_ip_addr, _get_access_path
 
from kallithea.lib.utils2 import safe_unicode
kallithea/lib/paster_commands/cache_keys.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.lib.paster_commands.cache_keys
 
cleanup-keys paster command for RhodeCode
 

	
 

	
 
:created_on: mar 27, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
 
import sys
kallithea/lib/paster_commands/ishell.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.paster_commands.ishell
 

	
 
interactive shell paster command for RhodeCode
 

	
 
:created_on: Apr 4, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
 
import sys
kallithea/lib/paster_commands/make_index.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.paster_commands.make_index
 

	
 
make-index paster command for RhodeCode
 

	
 
:created_on: Aug 17, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
kallithea/lib/paster_commands/make_rcextensions.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.paster_commands.make_rcext
 

	
 
make-rcext paster command for RhodeCode
 

	
 
:created_on: Mar 6, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
kallithea/lib/paster_commands/repo_scan.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.paster_commands.make_rcext
 

	
 
repo-scan paster command for RhodeCode
 

	
 
:created_on: Feb 9, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
 
import sys
kallithea/lib/paster_commands/update_repoinfo.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.paster_commands.make_rcext
 

	
 
uodate-repoinfo paster command for RhodeCode
 

	
 
:created_on: Jul 14, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 

	
 
import os
 
import sys
kallithea/lib/rcmail/smtp_mailer.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.rcmail.smtp_mailer
 

	
 
Simple smtp mailer used in RhodeCode
 

	
 
:created_on: Sep 13, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import time
 
import logging
 
import smtplib
 
from socket import sslerror
kallithea/lib/utils.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.utils
 

	
 
Utilities library for RhodeCode
 

	
 
:created_on: Apr 18, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import re
 
import logging
 
import datetime
kallithea/lib/utils2.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.lib.utils
 

	
 
Some simple helper functions
 

	
 
:created_on: Jan 5, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import re
 
import sys
kallithea/model/__init__.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.__init__
 

	
 
The application's model objects
 

	
 
:created_on: Nov 25, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 

	
 
:example:
 

	
 
    .. code-block:: python
 

	
kallithea/model/api_key.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.api_key
 

	
 
api key model for RhodeCode
 

	
 
:created_on: Sep 8, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import time
 
import logging
 
import traceback
kallithea/model/changeset_status.py
Show inline comments
 
@@ -5,13 +5,13 @@ kallithea.model.changeset_status
 

	
 
Changeset status conttroller
 

	
 
:created_on: Apr 30, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 
# This program is free software: you can redistribute it and/or modify
 
# it under the terms of the GNU General Public License as published by
 
# the Free Software Foundation, either version 3 of the License, or
 
# (at your option) any later version.
 
#
kallithea/model/comment.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.comment
 

	
 
comments model for RhodeCode
 

	
 
:created_on: Nov 11, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import traceback
 

	
 
from pylons.i18n.translation import _
kallithea/model/db.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.db
 

	
 
Database Models for RhodeCode
 

	
 
:created_on: Apr 08, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import os
 
import time
 
import logging
 
import datetime
kallithea/model/gist.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.gist
 

	
 
gist model for RhodeCode
 

	
 
:created_on: May 9, 2013
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import time
 
import logging
kallithea/model/notification.py
Show inline comments
 
@@ -18,13 +18,13 @@ kallithea.model.notification
 
Model for notifications
 

	
 

	
 
:created_on: Nov 20, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import logging
 
import traceback
kallithea/model/permission.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.permission
 

	
 
permissions model for RhodeCode
 

	
 
:created_on: Aug 20, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import traceback
 

	
kallithea/model/pull_request.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.pull_request
 

	
 
pull request model for RhodeCode
 

	
 
:created_on: Jun 6, 2012
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 
import datetime
 

	
 
from pylons.i18n.translation import _
kallithea/model/repo.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.repo
 

	
 
Repository model for rhodecode
 

	
 
:created_on: Jun 5, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import shutil
kallithea/model/repo_group.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.user_group
 

	
 
repo group model for RhodeCode
 

	
 
:created_on: Jan 25, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import os
 
import logging
 
import traceback
kallithea/model/scm.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.scm
 

	
 
Scm model for RhodeCode
 

	
 
:created_on: Apr 9, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import re
 
import time
kallithea/model/user.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.model.user
 

	
 
users model for RhodeCode
 

	
 
:created_on: Apr 9, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import logging
 
import traceback
 
from pylons import url
kallithea/tests/other/test_libs.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.tests.test_libs
 

	
 
Package for testing various lib/helper functions in rhodecode
 

	
 
:created_on: Jun 9, 2011
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
from __future__ import with_statement
 
import datetime
 
import hashlib
 
import mock
kallithea/tests/other/test_vcs_operations.py
Show inline comments
 
@@ -21,13 +21,13 @@ Run using after doing paster serve test.
 

	
 
You must have git > 1.8.1 for tests to work fine
 

	
 
:created_on: Dec 30, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
import tempfile
 
import time
 
from os.path import join as jn
kallithea/tests/scripts/test_concurency.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.tests.test_hg_operations
 

	
 
Test suite for making push/pull operations
 

	
 
:created_on: Dec 30, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 

	
 
"""
 

	
 
import os
 
import sys
 
import shutil
kallithea/tests/scripts/test_crawler.py
Show inline comments
 
@@ -21,13 +21,13 @@ with a watch script that will show memor
 

	
 
watch -n1 ./kallithea/tests/mem_watch
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 

	
 
import cookielib
 
import urllib
 
import urllib2
kallithea/websetup.py
Show inline comments
 
@@ -17,13 +17,13 @@ kallithea.websetup
 

	
 
Weboperations and setup for rhodecode
 

	
 
:created_on: Dec 11, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
:license: GPLv3, see LICENSE.md for more details.
 
"""
 

	
 
import logging
 

	
 
from kallithea.config.environment import load_environment
 
from kallithea.lib.db_manage import DbManage
setup.cfg
Show inline comments
 
@@ -21,13 +21,13 @@ directory = kallithea/i18n
 
statistics = true
 

	
 
[extract_messages]
 
add_comments = TRANSLATORS:
 
output_file = kallithea/i18n/kallithea.pot
 
msgid-bugs-address = marcin@maq.io
 
copyright-holder = Marcin Kuzminski RhodeCode
 
copyright-holder = Various authors, licensing as GPLv3
 
no-wrap = true
 

	
 
[init_catalog]
 
domain = kallithea
 
input_file = kallithea/i18n/kallithea.pot
 
output_dir = kallithea/i18n
0 comments (0 inline, 0 general)