Show More
@@ -3,6 +3,21 b'' | |||||
3 | Changelog |
|
3 | Changelog | |
4 | ========= |
|
4 | ========= | |
5 |
|
5 | |||
|
6 | 1.2.1 (**2011-10-08**) | |||
|
7 | ====================== | |||
|
8 | ||||
|
9 | news | |||
|
10 | ---- | |||
|
11 | ||||
|
12 | ||||
|
13 | fixes | |||
|
14 | ----- | |||
|
15 | ||||
|
16 | - fixed problems with basic auth and push problems | |||
|
17 | - gui fixes | |||
|
18 | - fixed logger | |||
|
19 | ||||
|
20 | ||||
6 | 1.2.0 (**2011-10-07**) |
|
21 | 1.2.0 (**2011-10-07**) | |
7 | ====================== |
|
22 | ====================== | |
8 |
|
23 |
@@ -25,7 +25,7 b'' | |||||
25 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
25 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
26 | import platform |
|
26 | import platform | |
27 |
|
27 | |||
28 |
VERSION = (1, 2, |
|
28 | VERSION = (1, 2, 1) | |
29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) |
|
29 | __version__ = '.'.join((str(each) for each in VERSION[:4])) | |
30 | __dbversion__ = 3 #defines current db version for migrations |
|
30 | __dbversion__ = 3 #defines current db version for migrations | |
31 | __platform__ = platform.system() |
|
31 | __platform__ = platform.system() |
@@ -51,6 +51,11 b' def make_app(global_conf, full_stack=Tru' | |||||
51 | from rhodecode.lib.profiler import ProfilingMiddleware |
|
51 | from rhodecode.lib.profiler import ProfilingMiddleware | |
52 | app = ProfilingMiddleware(app) |
|
52 | app = ProfilingMiddleware(app) | |
53 |
|
53 | |||
|
54 | # we want our low level middleware to get to the request ASAP. We don't | |||
|
55 | # need any pylons stack middleware in them | |||
|
56 | app = SimpleHg(app, config) | |||
|
57 | app = SimpleGit(app, config) | |||
|
58 | ||||
54 | if asbool(full_stack): |
|
59 | if asbool(full_stack): | |
55 | # Handle Python exceptions |
|
60 | # Handle Python exceptions | |
56 | app = ErrorHandler(app, global_conf, **config['pylons.errorware']) |
|
61 | app = ErrorHandler(app, global_conf, **config['pylons.errorware']) | |
@@ -74,11 +79,6 b' def make_app(global_conf, full_stack=Tru' | |||||
74 | app = Cascade([static_app, app]) |
|
79 | app = Cascade([static_app, app]) | |
75 | app = make_gzip_middleware(app, global_conf, compress_level=1) |
|
80 | app = make_gzip_middleware(app, global_conf, compress_level=1) | |
76 |
|
81 | |||
77 | # we want our low level middleware to get to the request ASAP. We don't |
|
|||
78 | # need any pylons stack middleware in them |
|
|||
79 | app = SimpleHg(app, config) |
|
|||
80 | app = SimpleGit(app, config) |
|
|||
81 |
|
||||
82 | app.config = config |
|
82 | app.config = config | |
83 |
|
83 | |||
84 | return app |
|
84 | return app |
@@ -112,7 +112,7 b' def action_logger(user, action, repo, ip' | |||||
112 | if hasattr(user, 'user_id'): |
|
112 | if hasattr(user, 'user_id'): | |
113 | user_obj = user |
|
113 | user_obj = user | |
114 | elif isinstance(user, basestring): |
|
114 | elif isinstance(user, basestring): | |
115 |
user_obj = User.by_username(user |
|
115 | user_obj = User.by_username(user) | |
116 | else: |
|
116 | else: | |
117 | raise Exception('You have to provide user object or username') |
|
117 | raise Exception('You have to provide user object or username') | |
118 |
|
118 | |||
@@ -189,7 +189,7 b' def is_valid_repo(repo_name, base_path):' | |||||
189 | :return True: if given path is a valid repository |
|
189 | :return True: if given path is a valid repository | |
190 | """ |
|
190 | """ | |
191 | full_path = os.path.join(base_path, repo_name) |
|
191 | full_path = os.path.join(base_path, repo_name) | |
192 |
|
192 | |||
193 | try: |
|
193 | try: | |
194 | get_scm(full_path) |
|
194 | get_scm(full_path) | |
195 | return True |
|
195 | return True | |
@@ -204,17 +204,17 b' def is_valid_repos_group(repos_group_nam' | |||||
204 | :param base_path: |
|
204 | :param base_path: | |
205 | """ |
|
205 | """ | |
206 | full_path = os.path.join(base_path, repos_group_name) |
|
206 | full_path = os.path.join(base_path, repos_group_name) | |
207 |
|
207 | |||
208 | # check if it's not a repo |
|
208 | # check if it's not a repo | |
209 | if is_valid_repo(repos_group_name, base_path): |
|
209 | if is_valid_repo(repos_group_name, base_path): | |
210 | return False |
|
210 | return False | |
211 |
|
211 | |||
212 | # check if it's a valid path |
|
212 | # check if it's a valid path | |
213 | if os.path.isdir(full_path): |
|
213 | if os.path.isdir(full_path): | |
214 | return True |
|
214 | return True | |
215 |
|
215 | |||
216 | return False |
|
216 | return False | |
217 |
|
217 | |||
218 | def ask_ok(prompt, retries=4, complaint='Yes or no, please!'): |
|
218 | def ask_ok(prompt, retries=4, complaint='Yes or no, please!'): | |
219 | while True: |
|
219 | while True: | |
220 | ok = raw_input(prompt) |
|
220 | ok = raw_input(prompt) |
@@ -1466,7 +1466,7 b' clear:both;' | |||||
1466 | overflow:hidden; |
|
1466 | overflow:hidden; | |
1467 | text-align:right; |
|
1467 | text-align:right; | |
1468 | margin:0; |
|
1468 | margin:0; | |
1469 |
padding:10px 14px |
|
1469 | padding:10px 14px 0px 5px; | |
1470 | } |
|
1470 | } | |
1471 |
|
1471 | |||
1472 | #quick_login div.form div.links { |
|
1472 | #quick_login div.form div.links { | |
@@ -2555,7 +2555,7 b' border-top:1px solid #DDD;' | |||||
2555 | border-left:1px solid #c6c6c6; |
|
2555 | border-left:1px solid #c6c6c6; | |
2556 | border-right:1px solid #DDD; |
|
2556 | border-right:1px solid #DDD; | |
2557 | border-bottom:1px solid #c6c6c6; |
|
2557 | border-bottom:1px solid #c6c6c6; | |
2558 | color:#515151; |
|
2558 | color:#515151 !important; | |
2559 | outline:none; |
|
2559 | outline:none; | |
2560 | margin:0; |
|
2560 | margin:0; | |
2561 | padding:6px 12px; |
|
2561 | padding:6px 12px; |
General Comments 0
You need to be logged in to leave comments.
Login now