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