- Oct 09, 2013
-
-
Izaak Alpert authored
Change-Id: I1bdd3608d3b46924b5da3ae282c99f85ee4e0dab
-
Izaak Alpert authored
GITLAB-1283 (GITLAB-869) Change-Id: I611e7e93f6292de08e1edc8d3ea77cf9087b6ded Conflicts: config/initializers/1_settings.rb
-
- Aug 14, 2013
-
-
Dmitriy Zaporozhets authored
-
- Jul 12, 2013
-
-
Angus MacArthur authored
Change-Id: Ib71ce8cf993627eada63d7d596fb302ec702f36e
-
- Jul 08, 2013
-
-
Angus MacArthur authored
Added ability to add and remove the forked from/to relatioinship between existing repos.
-
- Jun 12, 2013
-
-
Drew Blessing authored
s 3599: Add snippets_enabled flag to projects for API Replace missing comma
-
- Jun 06, 2013
-
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
-
- Jun 04, 2013
-
-
babatakao authored
-
- Jun 03, 2013
-
-
Dmitriy Zaporozhets authored
-
Dmitriy Zaporozhets authored
Add api to collect owned user projects. Api deploy_key.create: Enable deploy key if it exist in other owned project
-
- May 23, 2013
-
-
Dmitriy Zaporozhets authored
-
- May 14, 2013
-
-
Dmitriy Zaporozhets authored
-
- May 06, 2013
-
-
Nihad Abbasov authored
-
Dmitriy Zaporozhets authored
-
- Apr 03, 2013
-
-
Dmitriy Zaporozhets authored
-
- Apr 01, 2013
-
-
Dmitriy Zaporozhets authored
Also specify separate project factory for project with filled repo
-
- Mar 25, 2013
-
-
Andrew8xx8 authored
-
- Mar 18, 2013
-
-
Alex Denisov authored
-
- Mar 07, 2013
-
-
Sebastian Ziebell authored
-
- Mar 05, 2013
-
-
Sebastian Ziebell authored
-
Sebastian Ziebell authored
-
Matt Humphrey authored
-
Angus MacArthur authored
-
- Mar 01, 2013
-
-
Matt Humphrey authored
-
Matt Humphrey authored
This allows you to set the namespace ID for projects via the the API. By default it is created for the current user. You can assign it to the global namespace by passing `GLN` which translates to 'Global Namespace'.
-
- Feb 27, 2013
-
-
Sebastian Ziebell authored
Added a helper method to check if required parameters are given in an API call. Can be used to return a `400 Bad Request` return code if a required attribute is missing. Code clean up and fixed tests.
-
Nihad Abbasov authored
-
Nihad Abbasov authored
closes #2300
-
Sebastian Ziebell authored
The API documentation of repository is updated and now contains infos to status codes. Code documentation is also adjusted for `GET /projects/:id/repository/commits` and includes infos to pagination attributes. Tests are updated.
-
- Feb 20, 2013
-
-
Matt Humphrey authored
-
- Feb 16, 2013
-
-
Sebastian Ziebell authored
When a user is not authorized to see the list of hooks for a project, he is still able to access the hooks separately. For example if access to `GET /projects/:id/hooks` fails and returns a `403 Unauthorized` error it is still possible to access a hook directly via `GET /projects/:id/hooks/:hook_id`. Fixes access, also added tests to check access and status codes of hooks.
-
- Feb 14, 2013
-
-
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.
-
Sebastian Ziebell authored
The previous call `saved?` is restored in the `POST /projects` method in the API. It is refactored to check if the record is persisted. This is useful to not validate the record again after saving. This fixes the returned status code in the web client too. If the last project is created via web client instead of error notification the project page is shown.
-
Sebastian Ziebell authored
When creating the last project via API when reaching the project limit a status code of 404 (Not found) is returned instead of 201 (Created). The fix checks now correctly if the project could be saved.
-
- Feb 13, 2013
-
-
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
-
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.
-
- Feb 12, 2013
-
-
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.
-