##// END OF EJS Templates
fixes for release 1.2.4...
marcink -
r1915:54e84659 default
parent child Browse files
Show More
@@ -0,0 +1,15 b''
1 Pylons==1.0.0
2 Beaker==1.5.4
3 WebHelpers>=1.2
4 formencode==1.2.4
5 SQLAlchemy==0.7.4
6 Mako==0.5.0
7 pygments>=1.4
8 mercurial>=2.0,<2.1
9 whoosh<1.8
10 celery>=2.2.5,<2.3
11 babel
12 python-dateutil>=1.5.0,<2.0.0
13 dulwich>=0.8.0,<0.9.0
14 vcs==0.2.2
15 webob==1.0.8 No newline at end of file
@@ -10,6 +10,19 b" There's a single schema for calling all "
10 with JSON protocol both ways. An url to send API request in RhodeCode is
10 with JSON protocol both ways. An url to send API request in RhodeCode is
11 <your_server>/_admin/api
11 <your_server>/_admin/api
12
12
13 API ACCESS FOR WEB VIEWS
14 ++++++++++++++++++++++++
15
16 API access can also be turned on for each web view in RhodeCode that is
17 decorated with `@LoginRequired` decorator. To enable API access simple change
18 the standard login decorator to `@LoginRequired(api_access=True)`.
19 After this change, a rhodecode view can be accessed without login by adding a
20 GET parameter `?api_key=<api_key>` to url. By default this is only
21 enabled on RSS/ATOM feed views.
22
23
24 API ACCESS
25 ++++++++++
13
26
14 All clients are required to send JSON-RPC spec JSON data::
27 All clients are required to send JSON-RPC spec JSON data::
15
28
@@ -1,4 +1,4 b''
1 .. _api:
1 .. _indexapi:
2
2
3 API Reference
3 API Reference
4 =============
4 =============
@@ -4,6 +4,34 b' Changelog'
4 =========
4 =========
5
5
6
6
7 1.2.4 (**2012-01-19**)
8 ======================
9
10 news
11 ----
12
13 - RhodeCode is bundled with mercurial series 2.0.X by default, with
14 full support to largefiles extension. Enabled by default in new installations
15 - #329 Ability to Add/Remove Groups to/from a Repository via AP
16 - added requires.txt file with requirements
17
18 fixes
19 -----
20
21 - fixes db session issues with celery when emailing admins
22 - #331 RhodeCode mangles repository names if the a repository group
23 contains the "full path" to the repositories
24 - #298 Conflicting e-mail addresses for LDAP and RhodeCode users
25 - DB session cleanup after hg protocol operations, fixes issues with
26 `mysql has gone away` errors
27 - #333 doc fixes for get_repo api function
28 - #271 rare JSON serialization problem with statistics enabled
29 - #337 Fixes issues with validation of repository name conflicting with
30 a group name. A proper message is now displayed.
31 - #292 made ldap_dn in user edit readonly, to get rid of confusion that field
32 doesn't work
33
34
7 1.2.3 (**2011-11-02**)
35 1.2.3 (**2011-11-02**)
8 ======================
36 ======================
9
37
@@ -8,7 +8,7 b''
8
8
9 :created_on: Apr 9, 2010
9 :created_on: Apr 9, 2010
10 :author: marcink
10 :author: marcink
11 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
11 :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com>
12 :license: GPLv3, see COPYING for more details.
12 :license: GPLv3, see COPYING for more details.
13 """
13 """
14 # This program is free software: you can redistribute it and/or modify
14 # This program is free software: you can redistribute it and/or modify
@@ -34,11 +34,30 b' VERSION = (1, 2, 4)'
34 PLATFORM_WIN = ('Windows')
34 PLATFORM_WIN = ('Windows')
35 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS')
35 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS')
36
36
37 requirements = [
38 "Pylons==1.0.0",
39 "Beaker==1.5.4",
40 "WebHelpers>=1.2",
41 "formencode==1.2.4",
42 "SQLAlchemy==0.7.4",
43 "Mako==0.5.0",
44 "pygments>=1.4",
45 "mercurial>=2.0,<2.1",
46 "whoosh<1.8",
47 "celery>=2.2.5,<2.3",
48 "babel",
49 "python-dateutil>=1.5.0,<2.0.0",
50 "dulwich>=0.8.0,<0.9.0",
51 "vcs==0.2.2",
52 "webob==1.0.8"
53 ]
54
55
37 try:
56 try:
38 from rhodecode.lib import get_current_revision
57 from rhodecode.lib import get_current_revision
39 _rev = get_current_revision(quiet=True)
58 _rev = get_current_revision(quiet=True)
40 except ImportError:
59 except ImportError:
41 #this is needed when doing some setup.py operations
60 # this is needed when doing some setup.py operations
42 _rev = False
61 _rev = False
43
62
44 if len(VERSION) > 3 and _rev:
63 if len(VERSION) > 3 and _rev:
@@ -7,7 +7,7 b''
7
7
8 :created_on: Jan 5, 2011
8 :created_on: Jan 5, 2011
9 :author: marcink
9 :author: marcink
10 :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
10 :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com>
11 :license: GPLv3, see COPYING for more details.
11 :license: GPLv3, see COPYING for more details.
12 """
12 """
13 # This program is free software: you can redistribute it and/or modify
13 # This program is free software: you can redistribute it and/or modify
@@ -87,12 +87,12 b' def str2bool(_str):'
87 def convert_line_endings(line, mode):
87 def convert_line_endings(line, mode):
88 """
88 """
89 Converts a given line "line end" accordingly to given mode
89 Converts a given line "line end" accordingly to given mode
90
90
91 Available modes are::
91 Available modes are::
92 0 - Unix
92 0 - Unix
93 1 - Mac
93 1 - Mac
94 2 - DOS
94 2 - DOS
95
95
96 :param line: given line to convert
96 :param line: given line to convert
97 :param mode: mode to convert to
97 :param mode: mode to convert to
98 :rtype: str
98 :rtype: str
@@ -154,7 +154,7 b' def generate_api_key(username, salt=None'
154 def safe_unicode(str_, from_encoding='utf8'):
154 def safe_unicode(str_, from_encoding='utf8'):
155 """
155 """
156 safe unicode function. Does few trick to turn str_ into unicode
156 safe unicode function. Does few trick to turn str_ into unicode
157
157
158 In case of UnicodeDecode error we try to return it with encoding detected
158 In case of UnicodeDecode error we try to return it with encoding detected
159 by chardet library if it fails fallback to unicode with errors replaced
159 by chardet library if it fails fallback to unicode with errors replaced
160
160
@@ -3,29 +3,13 b' from rhodecode import get_version'
3 from rhodecode import __platform__
3 from rhodecode import __platform__
4 from rhodecode import __license__
4 from rhodecode import __license__
5 from rhodecode import PLATFORM_OTHERS
5 from rhodecode import PLATFORM_OTHERS
6 from rhodecode import requirements
6
7
7 py_version = sys.version_info
8 py_version = sys.version_info
8
9
9 if py_version < (2, 5):
10 if py_version < (2, 5):
10 raise Exception('RhodeCode requires python 2.5 or later')
11 raise Exception('RhodeCode requires python 2.5 or later')
11
12
12 requirements = [
13 "Pylons==1.0.0",
14 "Beaker==1.5.4",
15 "WebHelpers>=1.2",
16 "formencode==1.2.4",
17 "SQLAlchemy==0.7.3",
18 "Mako==0.5.0",
19 "pygments>=1.4",
20 "mercurial>=2.0,<2.1",
21 "whoosh<1.8",
22 "celery>=2.2.5,<2.3",
23 "babel",
24 "python-dateutil>=1.5.0,<2.0.0",
25 "dulwich>=0.8.0,<0.9.0",
26 "vcs==0.2.2",
27 "webob==1.0.8"
28 ]
29
13
30 dependency_links = [
14 dependency_links = [
31 ]
15 ]
General Comments 0
You need to be logged in to leave comments. Login now