summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add order option for projects APIValery Sizov2015-05-141-1/+6
|
* Updated api method GET /projects/:id/events to use paginate instead of a ↵Stephan van Leeuwen2015-03-241-5/+2
| | | | | | | | self-implementation Also updated example request url Added changelog item
* Allow admins to override restricted visibilityVinnie Okada2015-03-081-3/+3
| | | | | Allow admins to use restricted visibility levels when creating or updating projects.
* Refactor and improve sorting objects in API for projects, issues and merge ↵Dmitriy Zaporozhets2015-02-051-38/+35
| | | | requests
* Implement edit via API for projectsMika Mäenpää2015-01-221-0/+43
|
* Merge pull request #8307 from cirosantilli/project-api-comment-typoJeroen van Baarsen2015-01-181-1/+1
|\ | | | | Typo in project API events comment
| * Typo in project API events commentCiro Santilli2014-11-141-1/+1
| |
* | Add search filter option on project api for authorized projects.Marin Jankovski2015-01-121-3/+4
| |
* | Forward the messages in api response.Marin Jankovski2014-12-301-1/+1
| |
* | Updated indentation on case when statements.Stephan van Leeuwen2014-12-291-20/+20
| |
* | Changed setting the sort variableStephan van Leeuwen2014-12-291-20/+4
| | | | | | | | Changed from using cases to set the sort variable, to use a one line if/else statement
* | Updated projects api to allow orderingStephan van Leeuwen2014-12-291-2/+57
|/ | | | | 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
* Remove :keep_repo optionVinnie Okada2014-10-221-7/+1
| | | | Always delete repositories from the filesystem when deleting a project.
* Add option to keep repo on project deleteVinnie Okada2014-10-071-1/+7
| | | | | | | | | Update the project API controller to use `Projects::DestroyService` instead of calling `Project#destroy` directly. Also add an optional parameter, `:keep_repo`, that allows a project to be deleted without deleting the repository, wiki, and satellite from disk.
* API: Initial support for forking a project via the APIBernhard Kaindl2014-10-011-0/+17
| | | | | | | | | | This change adds POST /projects/fork/:id to the API for forking a project into the namespace of the authenticated user, like the "create fork" link in the GUI does. It also calls the same code. Failure and permission checks (except for conflict) are already implemented and handled in ForkService and the API, so the added code is simple and does not alter anything.
* Improve error reporting on users APIjubianchi2014-09-161-2/+2
| | | | | | | | * users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username * MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks * issues * labels * projects
* Add, delete labels via APIRobert Schilling2014-08-131-11/+0
|
* Cleaner variable nameDmitriy Zaporozhets2014-08-111-3/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'master' into 'master'Dmitriy Zaporozhets2014-08-111-2/+10
|\ | | | | | | | | | | | | | | Let users limit by archived/not archived projects in GitLab API GET /projects Adds a boolean parameter, archived, to the /projects endpoint. See merge request !158
| * Add an option to GET /projects in the GitLab API to exclude archived projectsSasha Joseph2014-07-281-2/+10
| |
* | Fix testsDmitriy Zaporozhets2014-07-301-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7089 from NARKOZ/api-patchDmitriy Zaporozhets2014-07-231-1/+4
|\ | | | | API patch
| * API: ability to set an import url when creating project for a specified userNihad Abbasov2014-06-061-1/+4
| |
* | Dont expose user email via APIDmitriy Zaporozhets2014-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | To prevent leaking of users info we reduce amount of user information retrieved via API for normal users. What user can get via API: * if not admin: only id, state, name, username and avatar_url * if admin: all user information * about himself: all informaion Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Wipe wall notes featureDmitriy Zaporozhets2014-06-131-4/+0
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* changed doc comment for get labels of a projectÁbner Silva de Oliveira2014-03-231-2/+4
|
* added api method to return labels of a given projectÁbner Silva de Oliveira2014-03-211-0/+9
|
* Add current user permissions info to /api/projects/:id.jsonDmitriy Zaporozhets2014-03-171-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move project members api to separate fileDmitriy Zaporozhets2014-03-171-105/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* project_user selectbox with ajax autocompleteDmitriy Zaporozhets2014-02-131-1/+13
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove deprecated findersskv2014-01-191-2/+2
|
* Replace context with service in libDmitriy Zaporozhets2014-01-161-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add import_url param in API projects createMaxime Brugidou2013-12-091-1/+2
|
* Adding authenticated public mode (internal).Jason Hollingsworth2013-11-261-5/+19
| | | | | | Added visibility_level icons to project view (rather than just text). Added public projects to search results. Added ability to restrict visibility levels standard users can set.
* Add project.all for API if adminDmitriy Zaporozhets2013-11-181-0/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove default_branch support from API project creationDmitriy Zaporozhets2013-11-061-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* API: new feature - remove project[DDmitriy Zaporozhets2013-10-091-0/+10
|
* Used pagnation function from api helpersIzaak Alpert2013-09-241-6/+4
| | | | Change-Id: I1bdd3608d3b46924b5da3ae282c99f85ee4e0dab
* Added search for projects by name to apiIzaak Alpert2013-09-231-19/+34
| | | | | | | | | GITLAB-1283 (GITLAB-869) Change-Id: I611e7e93f6292de08e1edc8d3ea77cf9087b6ded Conflicts: config/initializers/1_settings.rb
* Allow specify path when create project via apiDmitriy Zaporozhets2013-08-141-7/+8
|
* enhance project creation apis to allow setting of public attributeAngus MacArthur2013-07-121-2/+6
| | | | Change-Id: Ib71ce8cf993627eada63d7d596fb302ec702f36e
* Merge pull request #3993 from bke-drewb/3599Dmitriy Zaporozhets2013-07-111-9/+13
|\ | | | | Issue 3599: Add snippets_enabled flag to projects for API
| * Issue 3599: Add snippets_enabled flag to projects for APIDrew Blessing2013-06-111-9/+13
| | | | | | | | | | | | s 3599: Add snippets_enabled flag to projects for API Replace missing comma
* | Additon of apis for fork administration.Angus MacArthur2013-07-081-0/+36
|/ | | | | Added ability to add and remove the forked from/to relatioinship between existing repos.
* API: project eventsDmitriy Zaporozhets2013-06-061-0/+14
|
* Split Project api on several parts: deploy_keys, hooks, snippets etcDmitriy Zaporozhets2013-06-061-261/+0
|
* Selectable deploy keys contain master projectsbabatakao2013-06-051-1/+1
|
* Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into ↵Dmitriy Zaporozhets2013-06-041-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew8xx8-gist Conflicts: Gemfile.lock app/models/ability.rb app/models/project.rb app/views/snippets/_form.html.haml db/schema.rb features/steps/shared/paths.rb spec/factories.rb spec/models/project_spec.rb
| * Tests fixedAndrew8xx82013-03-251-3/+3
| |
* | Fix deploy key api 500 if key is emptyDmitriy Zaporozhets2013-06-031-14/+16
| |