Source

RhodeCode / rhodecode / lib / middleware / simplehg.py

Author Commit Message Labels Comments Date
Marcin Kuzminski
merged beta into stable
Branches
default
Marcin Kuzminski
fix for issue #578 git hooks sometimes cannot be executed due to different python they runned under, this commit tries to fix that by altering the PATH env variable using current python that rhodecode is running
Vincent Caron
Pass on RhodeCode config file down to a python-based Hg hook via the extras pseudo-config key, see https://bitbucket.org/marcinkuzminski/rhodecode/issue/558/access-to-rhodecode-config-from-a-hg
Marcin Kuzminski
Merge beta branch into stable
Branches
default
Marcin Kuzminski
Implemented basic locking functionality. - Reimplemented how githooks behave - emaulate pre-receive hook - install missing git hooks if they aren't already in repo
Marcin Kuzminski
use os.environ as a fallback for getting special info from hooks, this will allow calling RhodeCode hooks from outside the system eg. via SSH - also verify repo if it's a correct VCS throw 404 error otherwise
Marcin Kuzminski
white space cleanup
Marcin Kuzminski
Implementes #509 require SSL flag now works for both git and mercurial. - check is done at earlies possible stage - if detected protocol is not https and flag require is there RhodeCode will return HTTP Error 406: Not Acceptable, before even checking credentials - removed push_ssl flag from mercurial UI objects since that would duplicate logic
Marcin Kuzminski
Don't always return action, raise an Exception if we cannot check what the action is
Marcin Kuzminski
make get_action always return action
Marcin Kuzminski
possible fix for #486 undefined variable username - cleaned a code on git/hg middleware
Marcin Kuzminski
merged beta into stable
Branches
default
Marcin Kuzminski
added emulation of pull hook for git-backend, and dummy git-push hook
Marcin Kuzminski
Added HTTP_X_FORWARDED_FOR as another method of extracting IP for pull/push logs. - moved all to base controller
Marcin Kuzminski
merged beta into default branch
Branches
default
Marcin Kuzminski
git+hg middleware do repo verification at earliest possible state, giving 404 as fast as possible. If repo is not found.
Marcin Kuzminski
utils/conf - created temporary utils2 - made config.conf for storing some configurations - fixed some dependency import problems - code cleanup - rc-extensions now properly work for celery
Marcin Kuzminski
fixed some unicode problems with waitress - fixed clonning repos from non-ascii groups
Marcin Kuzminski
merge 1.3 into stable
Branches
default
Marcin Kuzminski
improved logging in git/hg middlewares
Marcin Kuzminski
better logging
Marcin Kuzminski
Added VCS into rhodecode core for faster and easier deployments of new versions
Marcin Kuzminski
backported fixes for issue #318 - session cleanup for mercurial and git middlewares
Branches
default
Marcin Kuzminski
2012 copyrights
Marcin Kuzminski
auto white-space removal
Marcin Kuzminski
implements #285: Implemented non changeable urls for clone url, and web views
Marcin Kuzminski
Wrapped calls for git and hg middleware in extra block that clears db Session. tries to fix #318
Marcin Kuzminski
merged upto rev 019026a8cf67
Branches
default
liads
Improved container-based auth support for middleware
liads
Fixed middleware to prevent deactivated users from authenticating
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next