summaryrefslogtreecommitdiff
path: root/lib/api/groups.rb
Commit message (Collapse)AuthorAgeFilesLines
* API: Consolidate /projects endpointToon Claes2017-02-141-0/+3
| | | | | | | | | | | It consolidates these endpoints: - /projects - /projects/owned - /projects/visible - /projects/starred - /projects/all Into the /projects endpoint using query parameters.
* Merge branch 'dz-nested-groups-api' into 'master' Dmitriy Zaporozhets2017-02-091-0/+1
|\ | | | | | | | | Nested groups API See merge request !9034
| * Add nested groups to the APIdz-nested-groups-apiDmitriy Zaporozhets2017-02-081-0/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix inconsistent naming for services that delete thingsdixpac2017-02-081-1/+1
|/ | | | | | * Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService
* Fix groups API to accept path when transferring a projectMark Fletcher2017-01-031-3/+3
| | | | * Use standard helpers for finding group and project
* Add more storage statisticsMarkus Koller2016-12-211-3/+18
| | | | | | | | | | | | | This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.
* Consistently use current_user in API entitiesMarkus Koller2016-12-211-7/+7
|
* API: Ability to get group's project in simple representationapi-simple-group-projectRobert Schilling2016-12-131-1/+4
|
* API: Fix groups filterRobert Schilling2016-12-121-1/+10
|
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-2/+10
|
* Merge branch '22373-reduce-queries-in-api-helpers-find_project' into 'master' Yorick Peterse2016-11-251-4/+4
|\ | | | | | | | | Resolve "Reduce queries in API::Helpers#find_project" See merge request !7714
| * API: Introduce `#find_group!` which also check access permission22373-reduce-queries-in-api-helpers-find_projectRémy Coutable2016-11-241-4/+4
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Don't convert data which already is the target typeapi-no-convertRobert Schilling2016-11-241-1/+1
|/
* Allow sorting groups in APIsort-api-groupsSean McGivern2016-11-171-0/+4
| | | | | | Allow `order_by` and `sort` parameters to `/api/v3/groups.json`. At present, only ordering by name and path is supported, and the default sort is name ascending (alphabetical order).
* Grapify the group APIRobert Schilling2016-11-151-82/+74
|
* Added API endpoint groups/ownedBorja Aparicio2016-11-081-0/+10
|
* Backport Group API code that was added in EE onlybackport-ee-js-groups-apiRémy Coutable2016-10-311-0/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* fix group links 404barthc2016-10-051-0/+3
|
* Allow to set request_access_enabled for groups and projects using APIFelipe Artur2016-09-191-12/+14
|
* Added group-specific setting for LFS.Patricio Cano2016-09-151-2/+4
| | | | Groups can enable/disable LFS, but this setting can be overridden at the project level. Admin only
* Project tools visibility levelFelipe Artur2016-09-011-1/+1
|
* use a nil subject when we want to check global abilitieshttp://jneen.net/2016-08-301-1/+1
|
* Fix groups API to list only user's accessible projectsStan Hu2016-05-241-2/+1
| | | | Closes #17496
* Fix minor issues according development guidelinesRobert Schilling2016-04-121-6/+4
|
* API: Ability to update a groupRobert Schilling2016-04-121-2/+28
|
* Tweaks, refactoring, and specsDouwe Maan2016-03-201-1/+1
|
* Add API group projects endpoint.Douwe Maan2015-12-071-0/+12
|
* Fix transferring of project to another group using the API.Douwe Maan2015-07-111-2/+2
|
* Wrap group removal into serviceDmitriy Zaporozhets2015-06-031-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #9066 from jirutka/fix-6417Dmitriy Zaporozhets2015-05-031-2/+2
|\ | | | | Fix #6417: users with group permission should be able to create groups via API
| * Fix #6417: users with group permission should be able to create groups via APIRobert Schilling2015-03-311-2/+2
| |
* | Rename manage_group ability to admin_group for consistency with project.Douwe Maan2015-04-141-1/+1
|/
* Remove Group#owner_id from API since it is not used any moreDmitriy Zaporozhets2015-02-171-1/+1
|
* Acces groups with their path in APIjubianchi2015-02-031-16/+0
|
* Add description attribute to group API (GET and POST)Daniel Serodio2015-01-161-1/+1
|
* Add a message when unable to save an object through api.Marin Jankovski2015-01-071-2/+2
|
* Message for api files and groups.Marin Jankovski2014-12-301-2/+2
|
* Add group filtering by name for APIDmitriy Zaporozhets2014-12-301-5/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Split group members apiDmitriy Zaporozhets2014-10-291-51/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use new Projects::TransferService classDmitriy Zaporozhets2014-05-281-3/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove deprecated findersskv2014-01-191-3/+3
|
* API: new feature - remove project[DDmitriy Zaporozhets2013-10-091-1/+0
|
* API: new feature - remove groupDmitriy Zaporozhets2013-10-071-2/+16
|
* Fixes for @randxIzaak Alpert2013-09-051-3/+4
| | | | Change-Id: I3b15ae34c0957a0f4026e1886c92a9770e9d170e
* Add group membership apiIzaak Alpert2013-09-041-6/+67
| | | | Change-Id: I5b174bba02856ede788dcb51ec9b0d598ea7d0df
* Refactor API classes. So api classes like Gitlab::Issues become API::IssuesDmitriy Zaporozhets2013-05-141-1/+1
|
* remove trailing spacesAndrey Kumanyaev2013-05-051-1/+1
|
* API: fixes project creation and removed redundant infoSebastian Ziebell2013-03-071-3/+0
|
* Merge branch 'master' into fixes/api, code clean up and tests fixedSebastian Ziebell2013-03-071-0/+18
|\ | | | | | | | | | | Conflicts: doc/api/projects.md spec/requests/api/projects_spec.rb