- 14 Feb, 2013 4 commits
-
-
Sebastian Ziebell authored
The API documentation for projects now is structured into major sections that describe the different aspects when dealing with projects, e.g. hooks, branches, team members etc. All described methods now contain a list of possible status codes the method can return. A few methods have extra sample JSON responses and a description if a method is idempotent. Idempotent methods can be called multiple times while returning the same status code.
-
Sebastian Ziebell authored
-
Sebastian Ziebell authored
Status code 422 (Unprocessable Entity) returned if invalid url is given when creating or updating a project hook.
-
Sebastian Ziebell authored
When the project limit is reached the user is not allowed to create new ones. Instead of error code 404 the status code 403 (Forbidden) is returned with error message via API.
-
- 13 Feb, 2013 14 commits
-
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
-
Sebastian Ziebell authored
Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of the missing attribute is used to show which one was missing from the request. It is used to give an appropriate message in the json response.
-
Sebastian Ziebell authored
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
-
https://github.com/mikew/gitlabhqDmitriy Zaporozhets authored
Merge branch 'unicorn-app-dir-fix' of https://github.com/mikew/gitlabhq into mikew-unicorn-app-dir-fix Conflicts: config/unicorn.rb.example
-
Dmitriy Zaporozhets authored
Constants in Events looks good now
-
Andrew8xx8 authored
-
Sebastian Ziebell authored
When using project snippets via API the functions now provide status codes for different situations other then only returning 404 error. If required parameters are missing, e.g. `title` when creating a project snippet a 400 (Bad request) error is returned. The snippet delete function now is idempotent and returns a 200 (Ok) regardless if the snippet with the given id is available or not. Changing return codes of these functions has the advantage that the 404 error is used only for resources, which are not available. Tests added to check these status codes when handling project snippets.
-
Sebastian Ziebell authored
-
Sebastian Ziebell authored
-
Sebastian Ziebell authored
-
Dmitriy Zaporozhets authored
Some fix for gitlab:gitlab_shell:check
-
- 12 Feb, 2013 21 commits
-
-
Martin Bastien authored
-
Martin Bastien authored
Fixing issue #2970
-
Dmitriy Zaporozhets authored
Update lib/tasks/sidekiq.rake
-
Dmitriy Zaporozhets authored
API: Fixes return code when accessing non existent branch (#2922)
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
Merge branch 'easy-to-find-commit-on-network-graph' of https://github.com/hiroponz/gitlabhq into hiroponz-easy-to-find-commit-on-network-graph
-
Dmitriy Zaporozhets authored
Disable autocomplete for admin/users form
-
Sebastian Ziebell authored
Different status codes in the API lib are returned on hook creation, update or deletion. If a required parameter is not given (e.g. `url` in `/projects/:id/hooks/:hook_id`) status code 400 (Bad request) is returned. On hook deletion a 200 status code is returned, regardless if the hook is present or not. This makes the DELETE function an idempotent operation. Appropriate tests are added to check these status codes.
-
Michael Lee authored
Mac OS uses launchd instead of /etc/init.d to start daemons and tasks to be started by launchd MUST NOT daemon itself. So "nohup" here won't work for Mac OS. Can we add a "launchd" task to the rake file so that we can start sidekiq as "bundle exec rake sidekiq:launchd" ?
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
Gitlab incorrectly routes blobs to the compare controller depending on filename.
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
-
Sebastian Ziebell authored
-
Dmitriy Zaporozhets authored
Merge branch 'fix-db-after-updating-rails' of https://github.com/Undev/gitlabhq into Undev-fix-db-after-updating-rails
-
Dmitriy Zaporozhets authored
-
Yuri Feldman authored
-
Yuri Feldman authored
-
Andrew8xx8 authored
-
Andrew8xx8 authored
-
- 11 Feb, 2013 1 commit
-
-
Dmitriy Zaporozhets authored
-