Project management and code hosting application. Follow us on twitter @gitlabhq
Go to file
Felix Gilcher ce6436b98a Don't crash when removing a user that's not project member
The attempt to revoke project access for a user that was not member of the
project results in a 500 Internal Server error where it actually should
result in a 200 OK since after the operation, the user is not member of
the project. This turns the operation into an idempotent call that can
be repeated with no ill effects.

Updated the spec and changed the code accordingly. However, the result differs
slightly, as we can't return the users project access level if the user was not
member. I'm not aware if anybody relies on the result of this call.

Fixes #2832
2013-02-01 13:53:35 +00:00
app Advanced logging for post-receive worker 2013-01-29 11:32:05 +02:00
config log fatal errors that we catch 2013-02-01 10:23:23 +00:00
db can_create_group, can_create_team boolean fields for user 2013-01-25 11:08:22 +02:00
doc remove incorrect information about the api version 2013-01-28 10:59:39 +01:00
features Merge pull request #2153 from koenpunt/commit-diff-views 2013-01-27 11:41:23 -08:00
lib Don't crash when removing a user that's not project member 2013-02-01 13:53:35 +00:00
log init commit 2011-10-09 00:36:38 +03:00
public Add deploy.html for symlink if maintaince 2013-01-27 19:09:40 +02:00
script Fix sidekiq chech and added script/check 2013-01-09 20:31:05 +02:00
spec Don't crash when removing a user that's not project member 2013-02-01 13:53:35 +00:00
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor Fix not showing tooltip on network graph 2013-01-26 01:05:17 +09:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore gitignore updates. 2013-01-09 16:39:43 +00:00
.rspec init commit 2011-10-09 00:36:38 +03:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml Use ruby 1.9.3-p327 on travis-ci 2013-01-09 14:43:49 -05:00
CHANGELOG changelog 2013-01-22 19:54:45 +02:00
config.ru added RAILS_RELATIVE_URL_ROOT support 2012-12-28 18:11:28 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2012-12-20 18:53:23 +01:00
Gemfile Remove chdir inside runtime. Improved gitolite shell commands 2013-01-19 13:56:55 +02:00
Gemfile.lock Remove chdir inside runtime. Improved gitolite shell commands 2013-01-19 13:56:55 +02:00
Guardfile APi for commits. Better api docs 2012-09-21 13:22:30 +03:00
LICENSE init commit 2011-10-09 00:36:38 +03:00
Procfile Do gitolite calls async. Remove satellite with project remove 2013-01-28 17:22:45 +02:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
README.md set link to gitlab-ci 2013-01-29 14:49:10 +02:00
ROADMAP.md added sctructure.md 2013-01-16 16:17:21 +02:00
VERSION done with 4.1. Version to 4.2.0pre :) 2013-01-21 16:36:55 +02:00

Welcome to GitLab build status build status Code Climate Dependency Status

GitLab is a free project and repository management application

CI

Application details

  • based on Ruby on Rails
  • distributed under the MIT License
  • works with gitolite

Requirements

  • Ubuntu/Debian
  • ruby 1.9.3+
  • MySQL
  • git
  • gitolite
  • redis

Install

Checkout wiki pages for installation information, migration, etc.

Community

Google Group

Contacts

Twitter:

  • @gitlabhq
  • @dzaporozhets

Email

Contribute

Developer Guide Want to help - send a pull request. We'll accept good pull requests.