Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-01Code review comments appliedFrancisco Lopez
2017-12-01Small renamingFrancisco Lopez
2017-12-01More preloading improvement and added batch count servicesFrancisco Lopez
2017-12-01Preload project route to avoid N+1 queryStan Hu
2017-12-01Optimize API /groups/:id/projects by preloading associationsStan Hu
Closes #40308
2017-11-09Add /groups/:id/subgroups endpoint to APIWinnie Hellmann
2017-11-06Support custom attributes on groupsMarkus Koller
2017-09-07Make Members with Owner and Master roles always able to create subgroupsRuben Davila
2017-08-31API: Use defined project requirementsRobert Schilling
2017-08-30Merge branch '37198-api-doesn-t-respect-default-group-visibility' into 'master'Sean McGivern
Respect the default visibility level when creating a group via the API Closes #37198 See merge request !13903
2017-08-30Make rubocop happyRobert Schilling
2017-08-29Respect the default visibility level when creating a groupRobert Schilling
2017-08-28Conditionally destroy a ressourceRobert Schilling
2017-08-28API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling
2017-08-24Refactor complicated API group finding rules into GroupsFinderNick Thomas
2017-08-23Allow v4 API GET requests for groups to be unauthenticatedNick Thomas
2017-07-20Update grape gemDmitriy Zaporozhets
New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-06-06Backport https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1942Lin Jen-Shin
2017-05-30Add :owned param to ProjectFinderToon Claes
And use it in the API.
2017-05-30Use helper to construct Finder paramsToon Claes
The ProjectsFinder and GroupFinder both support the same set of params. And the `/api/v4/projects` and `/api/v4/group/:id/projects` also support the same set of params. But they do not match the Finder params. So use a helper method to transform them.
2017-05-17Hide nested group UI/API support for MySQLYorick Peterse
This hides/disables some UI elements and API parameters related to nested groups when MySQL is used, since nested groups are not supported for MySQL.
2017-05-11Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into ↵Robert Speicher
'master' Resolve "Use consistent style for trailing commas" Closes #27144 See merge request !11063
2017-05-10Enable the Style/TrailingCommaInArguments copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10Merge branch 'tc-fix-private-subgroups-shown' into 'security' Douwe Maan
Use GroupsFinder to find subgroups the user has access to See merge request !2096
2017-04-10Add share_with_group_lock to CE optional params blockOswaldo Ferreira
2017-04-10Separate CE params on Grape APIOswaldo Ferreira
2017-04-09Remove the User#is_admin? methodblackst0ne
2017-04-06ProjectsFinder should handle more optionsJacopo
Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
2017-03-16Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable
API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-02Expose Group VisibilityLevel as StringToon Claes
Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility`.
2017-02-24API: Use parameter to get owned groups instead of dedicated endpointRobert Schilling
2017-02-14API: Consolidate /projects endpointToon Claes
It consolidates these endpoints: - /projects - /projects/owned - /projects/visible - /projects/starred - /projects/all Into the /projects endpoint using query parameters.
2017-02-09Merge branch 'dz-nested-groups-api' into 'master' Dmitriy Zaporozhets
Nested groups API See merge request !9034
2017-02-08Add nested groups to the APIDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-08Fix inconsistent naming for services that delete thingsdixpac
* 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
2017-01-03Fix groups API to accept path when transferring a projectMark Fletcher
* Use standard helpers for finding group and project
2016-12-21Add more storage statisticsMarkus Koller
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.
2016-12-21Consistently use current_user in API entitiesMarkus Koller
2016-12-13API: Ability to get group's project in simple representationRobert Schilling
2016-12-12API: Fix groups filterRobert Schilling
2016-12-04Use the pagination helper in the APIRobert Schilling
2016-11-25Merge branch '22373-reduce-queries-in-api-helpers-find_project' into 'master' Yorick Peterse
Resolve "Reduce queries in API::Helpers#find_project" See merge request !7714
2016-11-24API: Introduce `#find_group!` which also check access permissionRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-24Don't convert data which already is the target typeRobert Schilling
2016-11-17Allow sorting groups in APISean McGivern
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).
2016-11-15Grapify the group APIRobert Schilling
2016-11-08Added API endpoint groups/ownedBorja Aparicio
2016-10-31Backport Group API code that was added in EE onlyRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-05fix group links 404barthc
2016-09-19Allow to set request_access_enabled for groups and projects using APIFelipe Artur