该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。
拉取镜像更新于 。
- 3月 06, 2013
-
-
由 Sebastian Ziebell 创作于
-
由 Sebastian Ziebell 创作于
-
- 3月 04, 2013
-
-
由 Andrew8xx8 创作于
-
- 3月 02, 2013
-
-
由 Matt Humphrey 创作于
-
由 Matt Humphrey 创作于
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'.
-
- 2月 28, 2013
-
-
由 Sebastian Ziebell 创作于
Now the correct attribute is checked if it's available or not. Also fixed a test.
-
由 Sebastian Ziebell 创作于
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.
-
- 2月 27, 2013
-
-
由 Nihad Abbasov 创作于
-
由 Sebastian Ziebell 创作于
The API documentation of merge requests contains info to status codes for all functions. Required arguments are now checked in the merge requests API functions and a `400 Bad Request` error is returned if they are not given.
-
由 Nihad Abbasov 创作于
closes #2300
-
由 Sebastian Ziebell 创作于
The issues documentation is updated with infos to status codes and the deprecated `DELETE` function and how to close an issue. A few more tests added to check status codes of API functions.
-
由 Sebastian Ziebell 创作于
Updates the API documentation of groups with infos to return codes. The function calls in the groups API have updated documentation and return `400 Bad Request` status code if a required attribute is missing.
-
由 Sebastian Ziebell 创作于
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.
-
由 Dmitriy Zaporozhets 创作于
-
- 2月 21, 2013
-
-
由 Sebastian Ziebell 创作于
Updated the milestones API documentation and added return codes descriptions.
-
由 Sebastian Ziebell 创作于
The notes API documentation updated with return codes. API now returns `400 Bad Request` if required attributes are not present. Return codes are documented now, also tested in added tests. The documentation now reflects the current state of the API.
-
- 2月 20, 2013
-
-
由 Matt Humphrey 创作于
-
由 Sebastian Ziebell 创作于
The users API updated with return codes, e.g. if required parameters are missing a `400 Bad Request` error is returned instead of `404`. Fixes return codes of functions, e.g. deletion of a ssh key is an idempotent function now. The API documentation is updated to reflect the current status of the API. Descriptions are more detailed and complete, infos to return values are added to all functions.
-
- 2月 19, 2013
-
-
由 Dmitriy Zaporozhets 创作于
-
- 2月 18, 2013
-
-
由 Andrew8xx8 创作于
-
由 Andrew8xx8 创作于
-
由 Andrew8xx8 创作于
-
- 2月 16, 2013
-
-
由 Sebastian Ziebell 创作于
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.
-
由 Dmitriy Zaporozhets 创作于
-
- 2月 15, 2013
-
-
由 livedata 创作于
-
- 2月 14, 2013
-
-
由 Sebastian Ziebell 创作于
Status code 422 (Unprocessable Entity) returned if invalid url is given when creating or updating a project hook.
-
由 Sebastian Ziebell 创作于
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 创作于
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 创作于
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.
-
- 2月 13, 2013
-
-
由 Sebastian Ziebell 创作于
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 创作于
-
由 Sebastian Ziebell 创作于
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 创作于
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.
-
- 2月 10, 2013
-
-
由 Sebastian Ziebell 创作于
Instead of using funtion `error!` the function `not_found!` is used to return 404 error. Adjusted documentation accordingly.
-
- 2月 09, 2013
-
-
由 Sebastian Ziebell 创作于
Accessing a repository branch that does not exist returns a 404 error instead of 200 now. Added a test.
-
- 2月 08, 2013
-
-
由 Sebastian Ziebell 创作于
When adding a project hook a url must be specified or a 400 error code is returned * Specs added to check status code on handling project hooks * refactored code, extracted a method
-
由 Sebastian Ziebell 创作于
When a user is added to a project that is already a member of, a status code 201 is now returned to signal an idempotent operation. If something fails then instead of returning error code 404 different more specific error codes are returned. Status code 400 (Bad request) is returned when a required attribute, e.g. `access_level` is not given or 422 if there is a semantic error, e.g. should the `access_level` have an unsupported value. Specs are added to check these status codes.
-
- 2月 07, 2013
-
-
由 Dmitriy Zaporozhets 创作于
-
由 Sebastian Ziebell 创作于
If a note is created with a POST request via API (`/projects/:id/notes`) status code 400 is returned instead of 404. The resource itself exists but the request is incomplete. Specs added to check different status codes when accessing, creating and updating notes.
-
由 Sebastian Ziebell 创作于
If a milestone is created via API but no title given then status code 400 (Bad request) is returned instead of 404. A small helper method handles the errors collection of a milestone.
-