diff --git a/docs/changelog.rst b/docs/changelog.rst --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,21 @@ Changelog ========= +1.2.1 (**2011-10-08**) +====================== + +news +---- + + +fixes +----- + +- fixed problems with basic auth and push problems +- gui fixes +- fixed logger + + 1.2.0 (**2011-10-07**) ====================== diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -25,7 +25,7 @@ # along with this program. If not, see . import platform -VERSION = (1, 2, 0) +VERSION = (1, 2, 1) __version__ = '.'.join((str(each) for each in VERSION[:4])) __dbversion__ = 3 #defines current db version for migrations __platform__ = platform.system() diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -51,6 +51,11 @@ def make_app(global_conf, full_stack=Tru from rhodecode.lib.profiler import ProfilingMiddleware app = ProfilingMiddleware(app) + # we want our low level middleware to get to the request ASAP. We don't + # need any pylons stack middleware in them + app = SimpleHg(app, config) + app = SimpleGit(app, config) + if asbool(full_stack): # Handle Python exceptions app = ErrorHandler(app, global_conf, **config['pylons.errorware']) @@ -74,11 +79,6 @@ def make_app(global_conf, full_stack=Tru app = Cascade([static_app, app]) app = make_gzip_middleware(app, global_conf, compress_level=1) - # we want our low level middleware to get to the request ASAP. We don't - # need any pylons stack middleware in them - app = SimpleHg(app, config) - app = SimpleGit(app, config) - app.config = config return app diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -112,7 +112,7 @@ def action_logger(user, action, repo, ip if hasattr(user, 'user_id'): user_obj = user elif isinstance(user, basestring): - user_obj = User.by_username(user, cache=False) + user_obj = User.by_username(user) else: raise Exception('You have to provide user object or username') @@ -189,7 +189,7 @@ def is_valid_repo(repo_name, base_path): :return True: if given path is a valid repository """ full_path = os.path.join(base_path, repo_name) - + try: get_scm(full_path) return True @@ -204,17 +204,17 @@ def is_valid_repos_group(repos_group_nam :param base_path: """ full_path = os.path.join(base_path, repos_group_name) - + # check if it's not a repo if is_valid_repo(repos_group_name, base_path): return False - + # check if it's a valid path if os.path.isdir(full_path): return True - + return False - + def ask_ok(prompt, retries=4, complaint='Yes or no, please!'): while True: ok = raw_input(prompt) diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -1466,7 +1466,7 @@ clear:both; overflow:hidden; text-align:right; margin:0; -padding:10px 14px 3px 5px; +padding:10px 14px 0px 5px; } #quick_login div.form div.links { @@ -2555,7 +2555,7 @@ border-top:1px solid #DDD; border-left:1px solid #c6c6c6; border-right:1px solid #DDD; border-bottom:1px solid #c6c6c6; -color:#515151; +color:#515151 !important; outline:none; margin:0; padding:6px 12px;