Vinnie Okada
b0dacc8eb0
Edit group members via API
...
Add an API endpoint to update the access level of an existing group
member.
2015-02-11 18:53:07 -07:00
Douwe Maan
42422dcc6a
Add internal broadcast message API.
2015-02-07 16:41:30 +01:00
Dmitriy Zaporozhets
bdfb349ff7
Refactor and improve sorting objects in API for projects, issues and merge requests
2015-02-05 22:00:54 -08:00
Dmitriy Zaporozhets
62ed1c537e
Explicitly define ordering in models using default_scope
2015-02-05 14:20:55 -08:00
Dmitriy Zaporozhets
fc13ea7137
Merge pull request #8712 from jvanbaarsen/add-merge-request-files-endpoint
...
Added a way to retrieve MR files
2015-02-04 14:46:54 -08:00
Jeroen van Baarsen
b60d06eb2c
Added a way to retrieve MR files
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-04 10:24:25 +01:00
Dmitriy Zaporozhets
dc9bf32420
Merge pull request #8723 from jubianchi/api-groups-path
...
Access groups using path
2015-02-03 10:57:27 -08:00
jubianchi
4e97f26649
Acces groups with their path in API
2015-02-03 13:42:38 +01:00
Dmitriy Zaporozhets
368e9a0862
Rubocop: Style/CaseIndentation enabled
2015-02-02 21:26:40 -08:00
Dmitriy Zaporozhets
da884aabc7
Avoid using {...} for multi-line blocks
2015-02-02 21:22:57 -08:00
Dmitriy Zaporozhets
e890582681
Rubocop enabled for: Use spaces inside hash literal braces
2015-02-02 20:36:54 -08:00
Dmitriy Zaporozhets
4f1d1fc51b
Convert hashes to ruby 1.9 style
2015-02-02 19:30:09 -08:00
Dmitriy Zaporozhets
7155507af5
Merge pull request #8609 from jubianchi/issues/6289-api-handle-error-project-repo
...
Handle errors on API when a project does not have a repository
2015-01-27 12:51:18 -08:00
Dmitriy Zaporozhets
e49b636497
Merge branch 'feature_api_project_edit' into 'master'
...
API: Implement edit via API for projects
I've picked up https://github.com/gitlabhq/gitlabhq/pull/8055 fixed the few hound warnings and replaced all double quotes in the spec file where possible.
# From the original PR:
Implements edit via API for projects. Edit was part of missing features in feature request Full CRUD operations via API for projects.
http://feedback.gitlab.com/forums/176466-general/suggestions/3904506-full-crud-operations-via-api-for-projects
Feature is implemented using existing UpdateService for projects. Permission to change visibility level and name are checked in addition to check for permission to administer project.
Doesn't allow updating project namespace id, because there was existing API-method for transferring project to a group.
Documentation added to doc/api/projects.md. Uses API request PUT /projects/:id .
Tests included for:
1. Success for changing path
2. Success for changing name
3. Success for changing visibility level
4. Success for changing all other attributes
5. Success for changing name & path to existing name & path but in different namespace
6. Failure if not authenticated
7. Failure if path exists in project's namespace
8. Failure if name exists in project's namespace
9. Failure if not sufficient permission to change name
10. Failure if not sufficient permission to change visibility level
11. Failure if not sufficient permission to change other attributes
Allows updating following parameters:
* name
* path
* visibility_level
* public
* default_branch
* issues_enabled
* wiki_enabled
* snippets_enabled
* merge_requests_enabled
* description
See merge request !310
2015-01-22 23:02:50 +00:00
Mika Mäenpää
7dd5656a5b
Implement edit via API for projects
2015-01-22 16:58:01 +01:00
Hannes Rosenögger
e03f1af00a
Fix the test and add documentation for the "per-milestone issues API call"
2015-01-22 12:14:53 +01:00
Justin Whear
9d271538a8
Add per-milestone issues API call
2015-01-22 12:08:45 +01:00
Valery Sizov
ab7a79bf3b
developer can push to protected branches
2015-01-20 17:34:23 -08:00
jubianchi
39e54e21cb
Handle errors on API when a project does not have a repository ( Closes #6289 )
2015-01-19 14:13:30 +01:00
Dmitriy Zaporozhets
0533ae7eec
Merge pull request #8464 from dserodio/group-api-description
...
Add description attribute to group API (GET and POST)
2015-01-18 10:35:25 -08:00
Jeroen van Baarsen
ec29ce4b02
Merge pull request #8307 from cirosantilli/project-api-comment-typo
...
Typo in project API events comment
2015-01-18 19:05:02 +01:00
Daniel Serodio
6ac8bb0f7c
Add description attribute to group API (GET and POST)
2015-01-16 16:52:48 -02:00
Dmitriy Zaporozhets
c5ba87a2fb
Merge pull request #8096 from cirosantilli/regex-to-string
...
Replace regex methods by string ones since faster and more readable
2015-01-15 14:37:11 -08:00
Marin Jankovski
8689ce1efe
Add search filter option on project api for authorized projects.
2015-01-12 11:08:53 +01:00
Marin Jankovski
8dd672776e
Fix failing tests due to updates on the return messages.
2015-01-07 11:39:20 +01:00
Marin Jankovski
cd0aed3d54
Add a message when unable to save an object through api.
2015-01-07 10:46:00 +01:00
Marin Jankovski
7240150c89
Forward the messages in api response.
2014-12-30 15:17:46 +01:00
Marin Jankovski
ed464edabe
Message for api files and groups.
2014-12-30 14:29:55 +01:00
Marin Jankovski
d4b613ded7
Clearer message if adding comment to commit via api fails.
2014-12-30 14:00:07 +01:00
Marin Jankovski
7fa80b5bd0
Update branch api not found messages to 'Branch not found'.
2014-12-30 13:37:14 +01:00
Dmitriy Zaporozhets
2660e83c97
Add group filtering by name for API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-30 11:46:47 +02:00
Dmitriy Zaporozhets
a9cf84e5ac
Merge pull request #7675 from yglukhov/patch_notes_api
...
Implemented notes (body) patching in API.
2014-12-29 21:06:49 +02:00
Stephan van Leeuwen
180fda3d0a
Updated indentation on case when statements.
2014-12-29 16:36:56 +01:00
Stephan van Leeuwen
6af34b0f71
Changed setting the sort variable
...
Changed from using cases to set the sort variable, to use a one line if/else statement
2014-12-29 16:36:56 +01:00
Stephan van Leeuwen
6b50721946
Updated projects api to allow ordering
...
Added support for order_by and sort parameters, to sort the projects by the specified values.
Updated projects api documentation including the order_by and sort parameters
2014-12-29 16:36:56 +01:00
Ciro Santilli
cd688a6011
Replace regex methods by string ones since faster
...
and more readable.
2014-12-28 23:53:27 +01:00
uran
1fbc010241
Implemented notes (body) patching in API.
2014-12-25 14:28:40 +02:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +02:00
Dmitriy Zaporozhets
612b8806dd
Fix internal API for missing project or key
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-01 16:55:33 +02:00
Valery Sizov
53bf52f191
Better message for failed pushes because of git hooks
...
Conflicts:
lib/gitlab/git_access.rb
spec/lib/gitlab/git_access_spec.rb
2014-11-18 13:10:07 +02:00
Ciro Santilli
e375d0de65
Typo in project API events comment
2014-11-14 09:33:33 +01:00
Dmitriy Zaporozhets
940ed58e76
Merge branch 'commit-comments' of https://gitlab.com/jeroenj/gitlab-ce into jeroenj/gitlab-ce-commit-comments
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
CHANGELOG
2014-11-12 13:19:35 +02:00
Valeriy Sizov
24276ed836
Merge pull request #8224 from liammonahan/master
...
Expose projects_limit through users API if UserFull.
2014-11-04 17:33:20 +02:00
Liam Monahan
2edf212a8b
Expose projects_limit through users API if UserFull.
2014-11-02 18:51:34 -05:00
Dmitriy Zaporozhets
ef9f8677e6
Expose author username in project events API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-31 12:08:45 +02:00
Dmitriy Zaporozhets
aa75a755ee
Merge branch 'api-delete-branch-json' into 'master'
...
Api delete branch json
Fixes gitlab/gitlabhq#1478
See merge request !1233
2014-10-31 09:38:24 +00:00
Dmitriy Zaporozhets
961a6bfcc2
API delete branch: render branch name json instead of true
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-30 17:28:59 +02:00
Dmitriy Zaporozhets
f0dd16d53e
Merge branch 'master' of github.com:gitlabhq/gitlabhq
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Conflicts:
CHANGELOG
2014-10-30 16:17:36 +02:00
Sean Edge
822d9aa6ba
Create RepoTag Grape entity and present it when doing stuff with tags via API. Update API doc for repositories. Add tag message to tag list page in UI. Update Changelog. Update spec to set .gitconfig identity, required for annotated tags.
2014-10-30 09:48:23 -04:00