##// END OF EJS Templates
changes for rhodecode release 1.1.6
marcink -
r1165:c5af1d3c rhodecode-0.0.1.1.6 default
parent child Browse files
Show More
@@ -34,7 +34,7 b' Source code'
34 The latest source for RhodeCode can be obtained from official RhodeCode instance
34 The latest source for RhodeCode can be obtained from official RhodeCode instance
35 https://hg.rhodecode.org
35 https://hg.rhodecode.org
36
36
37 Rarely updated source code and issue tracker is available at bitbcuket
37 Rarely updated source code and issue tracker is available at bitbucket
38 http://bitbucket.org/marcinkuzminski/rhodecode
38 http://bitbucket.org/marcinkuzminski/rhodecode
39
39
40 Installation
40 Installation
@@ -48,8 +48,8 b' RhodeCode Features'
48
48
49 - Has it's own middleware to handle mercurial_ protocol requests.
49 - Has it's own middleware to handle mercurial_ protocol requests.
50 Each request can be logged and authenticated.
50 Each request can be logged and authenticated.
51 - Runs on threads unlike hgweb. You can make multiple pulls/pushes simultaneous. Supports http/https
51 - Runs on threads unlike hgweb. You can make multiple pulls/pushes simultaneous.
52 and LDAP
52 Supports http/https and LDAP
53 - Full permissions (private/read/write/admin) and authentication per project.
53 - Full permissions (private/read/write/admin) and authentication per project.
54 One account for web interface and mercurial_ push/pull/clone operations.
54 One account for web interface and mercurial_ push/pull/clone operations.
55 - Mako templates let's you customize the look and feel of the application.
55 - Mako templates let's you customize the look and feel of the application.
@@ -116,12 +116,12 b' You may also build the documentation for'
116
116
117 make html
117 make html
118
118
119 (You need to have sphinx installed to build the documentation. If you don't
119 (You need to have sphinx_ installed to build the documentation. If you don't
120 have sphinx installed you can install it via the command: ``easy_install sphinx``)
120 have sphinx_ installed you can install it via the command: ``easy_install sphinx``)
121
121
122 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
122 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
123 .. _python: http://www.python.org/
123 .. _python: http://www.python.org/
124 .. _django: http://www.djangoproject.com/
124 .. _sphinx: http://sphinx.pocoo.org/
125 .. _mercurial: http://mercurial.selenic.com/
125 .. _mercurial: http://mercurial.selenic.com/
126 .. _bitbucket: http://bitbucket.org/
126 .. _bitbucket: http://bitbucket.org/
127 .. _subversion: http://subversion.tigris.org/
127 .. _subversion: http://subversion.tigris.org/
@@ -4,6 +4,18 b' Changelog'
4 =========
4 =========
5
5
6
6
7 1.1.6 (**2011-03-21**)
8 ======================
9
10 news
11 ----
12
13 fixes
14 -----
15
16 - fixed #136 installation support for FreeBSD
17 - RhodeCode will check for python version during installation
18
7 1.1.5 (**2011-03-17**)
19 1.1.5 (**2011-03-17**)
8 ======================
20 ======================
9
21
@@ -27,11 +27,14 b''
27 # MA 02110-1301, USA.
27 # MA 02110-1301, USA.
28 import platform
28 import platform
29
29
30 VERSION = (1, 1, 5)
30 VERSION = (1, 1, 6)
31 __version__ = '.'.join((str(each) for each in VERSION[:4]))
31 __version__ = '.'.join((str(each) for each in VERSION[:4]))
32 __dbversion__ = 2 #defines current db version for migrations
32 __dbversion__ = 2 #defines current db version for migrations
33 __platform__ = platform.system()
33 __platform__ = platform.system()
34
34
35 PLATFORM_WIN = ('Windows',)
36 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD',)
37
35 try:
38 try:
36 from rhodecode.lib.utils import get_current_revision
39 from rhodecode.lib.utils import get_current_revision
37 _rev = get_current_revision()
40 _rev = get_current_revision()
@@ -34,11 +34,11 b' from pylons import config, session, url,'
34 from pylons.controllers.util import abort, redirect
34 from pylons.controllers.util import abort, redirect
35 from pylons.i18n.translation import _
35 from pylons.i18n.translation import _
36
36
37 from rhodecode import __platform__
37 from rhodecode import __platform__, PLATFORM_WIN, PLATFORM_OTHERS
38
38
39 if __platform__ == 'Windows':
39 if __platform__ in PLATFORM_WIN:
40 from hashlib import sha256
40 from hashlib import sha256
41 if __platform__ in ('Linux', 'Darwin'):
41 if __platform__ in PLATFORM_OTHERS:
42 import bcrypt
42 import bcrypt
43
43
44 from rhodecode.lib import str2bool
44 from rhodecode.lib import str2bool
@@ -89,9 +89,9 b' class RhodeCodeCrypto(object):'
89
89
90 :param password: password to hash
90 :param password: password to hash
91 """
91 """
92 if __platform__ == 'Windows':
92 if __platform__ in PLATFORM_WIN:
93 return sha256(str_).hexdigest()
93 return sha256(str_).hexdigest()
94 elif __platform__ in ('Linux', 'Darwin'):
94 elif __platform__ in PLATFORM_OTHERS:
95 return bcrypt.hashpw(str_, bcrypt.gensalt(10))
95 return bcrypt.hashpw(str_, bcrypt.gensalt(10))
96 else:
96 else:
97 raise Exception('Unknown or unsupported platform %s' % __platform__)
97 raise Exception('Unknown or unsupported platform %s' % __platform__)
@@ -1,6 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>${next.title()}</title>
5 <title>${next.title()}</title>
6 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" />
6 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" />
@@ -1,6 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>Error - ${c.error_message}</title>
5 <title>Error - ${c.error_message}</title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
@@ -1,6 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>${_('Sign In')} - ${c.rhodecode_name}</title>
5 <title>${_('Sign In')} - ${c.rhodecode_name}</title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
@@ -1,6 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>${_('Reset You password')} - ${c.rhodecode_name}</title>
5 <title>${_('Reset You password')} - ${c.rhodecode_name}</title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
@@ -1,6 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <title>${_('Sign Up')} - ${c.rhodecode_name}</title>
5 <title>${_('Sign Up')} - ${c.rhodecode_name}</title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
@@ -4,6 +4,9 b' from rhodecode import __platform__'
4
4
5 py_version = sys.version_info
5 py_version = sys.version_info
6
6
7 if py_version < (2, 5):
8 raise Exception('RhodeCode requires python 2.5 or later')
9
7 requirements = [
10 requirements = [
8 "Pylons==1.0.0",
11 "Pylons==1.0.0",
9 "WebHelpers==1.2",
12 "WebHelpers==1.2",
@@ -75,7 +78,7 b' setup('
75 description=description,
78 description=description,
76 long_description=long_description,
79 long_description=long_description,
77 keywords=keywords,
80 keywords=keywords,
78 license='BSD',
81 license='GPLv3',
79 author='Marcin Kuzminski',
82 author='Marcin Kuzminski',
80 author_email='marcin@python-works.com',
83 author_email='marcin@python-works.com',
81 url='http://rhodecode.org',
84 url='http://rhodecode.org',
General Comments 0
You need to be logged in to leave comments. Login now