Mercurial > public > src > rhodecode
changeset 1239:c5af1d3c861f v1.1.6
changes for rhodecode release 1.1.6
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 21 Mar 2011 22:34:13 +0100 |
parents | 9ca53f5d95a1 |
children | 07a23d9cfb67 |
files | README.rst docs/changelog.rst rhodecode/__init__.py rhodecode/lib/auth.py rhodecode/templates/base/base.html rhodecode/templates/errors/error_document.html rhodecode/templates/login.html rhodecode/templates/password_reset.html rhodecode/templates/register.html setup.py |
diffstat | 10 files changed, 36 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/README.rst Fri Mar 18 19:09:41 2011 +0100 +++ b/README.rst Mon Mar 21 22:34:13 2011 +0100 @@ -34,7 +34,7 @@ The latest source for RhodeCode can be obtained from official RhodeCode instance https://hg.rhodecode.org -Rarely updated source code and issue tracker is available at bitbcuket +Rarely updated source code and issue tracker is available at bitbucket http://bitbucket.org/marcinkuzminski/rhodecode Installation @@ -48,8 +48,8 @@ - Has it's own middleware to handle mercurial_ protocol requests. Each request can be logged and authenticated. -- Runs on threads unlike hgweb. You can make multiple pulls/pushes simultaneous. Supports http/https - and LDAP +- Runs on threads unlike hgweb. You can make multiple pulls/pushes simultaneous. + Supports http/https and LDAP - Full permissions (private/read/write/admin) and authentication per project. One account for web interface and mercurial_ push/pull/clone operations. - Mako templates let's you customize the look and feel of the application. @@ -116,12 +116,12 @@ make html -(You need to have sphinx installed to build the documentation. If you don't -have sphinx installed you can install it via the command: ``easy_install sphinx``) +(You need to have sphinx_ installed to build the documentation. If you don't +have sphinx_ installed you can install it via the command: ``easy_install sphinx``) .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _python: http://www.python.org/ -.. _django: http://www.djangoproject.com/ +.. _sphinx: http://sphinx.pocoo.org/ .. _mercurial: http://mercurial.selenic.com/ .. _bitbucket: http://bitbucket.org/ .. _subversion: http://subversion.tigris.org/
--- a/docs/changelog.rst Fri Mar 18 19:09:41 2011 +0100 +++ b/docs/changelog.rst Mon Mar 21 22:34:13 2011 +0100 @@ -4,6 +4,18 @@ ========= +1.1.6 (**2011-03-21**) +====================== + +news +---- + +fixes +----- + +- fixed #136 installation support for FreeBSD +- RhodeCode will check for python version during installation + 1.1.5 (**2011-03-17**) ======================
--- a/rhodecode/__init__.py Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/__init__.py Mon Mar 21 22:34:13 2011 +0100 @@ -27,11 +27,14 @@ # MA 02110-1301, USA. import platform -VERSION = (1, 1, 5) +VERSION = (1, 1, 6) __version__ = '.'.join((str(each) for each in VERSION[:4])) __dbversion__ = 2 #defines current db version for migrations __platform__ = platform.system() +PLATFORM_WIN = ('Windows',) +PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD',) + try: from rhodecode.lib.utils import get_current_revision _rev = get_current_revision()
--- a/rhodecode/lib/auth.py Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/lib/auth.py Mon Mar 21 22:34:13 2011 +0100 @@ -34,11 +34,11 @@ from pylons.controllers.util import abort, redirect from pylons.i18n.translation import _ -from rhodecode import __platform__ +from rhodecode import __platform__, PLATFORM_WIN, PLATFORM_OTHERS -if __platform__ == 'Windows': +if __platform__ in PLATFORM_WIN: from hashlib import sha256 -if __platform__ in ('Linux', 'Darwin'): +if __platform__ in PLATFORM_OTHERS: import bcrypt from rhodecode.lib import str2bool @@ -89,9 +89,9 @@ :param password: password to hash """ - if __platform__ == 'Windows': + if __platform__ in PLATFORM_WIN: return sha256(str_).hexdigest() - elif __platform__ in ('Linux', 'Darwin'): + elif __platform__ in PLATFORM_OTHERS: return bcrypt.hashpw(str_, bcrypt.gensalt(10)) else: raise Exception('Unknown or unsupported platform %s' % __platform__)
--- a/rhodecode/templates/base/base.html Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/templates/base/base.html Mon Mar 21 22:34:13 2011 +0100 @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${next.title()}</title> <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" />
--- a/rhodecode/templates/errors/error_document.html Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/templates/errors/error_document.html Mon Mar 21 22:34:13 2011 +0100 @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Error - ${c.error_message}</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/login.html Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/templates/login.html Mon Mar 21 22:34:13 2011 +0100 @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${_('Sign In')} - ${c.rhodecode_name}</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/password_reset.html Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/templates/password_reset.html Mon Mar 21 22:34:13 2011 +0100 @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${_('Reset You password')} - ${c.rhodecode_name}</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/rhodecode/templates/register.html Fri Mar 18 19:09:41 2011 +0100 +++ b/rhodecode/templates/register.html Mon Mar 21 22:34:13 2011 +0100 @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${_('Sign Up')} - ${c.rhodecode_name}</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
--- a/setup.py Fri Mar 18 19:09:41 2011 +0100 +++ b/setup.py Mon Mar 21 22:34:13 2011 +0100 @@ -4,6 +4,9 @@ py_version = sys.version_info +if py_version < (2, 5): + raise Exception('RhodeCode requires python 2.5 or later') + requirements = [ "Pylons==1.0.0", "WebHelpers==1.2", @@ -75,7 +78,7 @@ description=description, long_description=long_description, keywords=keywords, - license='BSD', + license='GPLv3', author='Marcin Kuzminski', author_email='marcin@python-works.com', url='http://rhodecode.org',