summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Skip confirmation user apiDaniel Juarez2017-11-211-1/+2
|
* Merge branch ↵Sean McGivern2017-11-211-2/+2
|\ | | | | | | | | | | | | | | | | '39461-notes-api-for-issues-no-longer-returns-label-additions-removals' into 'master' Resolve "Notes API for issues no longer returns label additions/removals" Closes #39461 See merge request gitlab-org/gitlab-ce!15080
| * add `#with_metadata` scope to remove a N+1 from the notes' APImicael.bergeron2017-11-211-2/+2
| |
* | Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-208-0/+14
|\ \ | | | | | | | | | | | | | | | | | | Adds Rubocop rule for line break after guard clause Closes #18040 See merge request gitlab-org/gitlab-ce!15188
| * | Adds Rubocop rule for line break after guard clauseJacopo2017-11-168-0/+14
| |/ | | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* | Changes after rebaseFrancisco Lopez2017-11-171-20/+1
| |
* | Moved Exceptions to Gitlab::AuthFrancisco Lopez2017-11-172-11/+11
| |
* | Moving exceptions to UserAuthFindersFrancisco Lopez2017-11-172-26/+11
| |
* | Added some more commentsFrancisco Lopez2017-11-171-7/+8
| |
* | Homogenising the type of the request handled by UserAuthFinder. Also tests fixedFrancisco Lopez2017-11-171-3/+0
| |
* | Applied some code review commentsFrancisco Lopez2017-11-171-5/+0
| |
* | Removing private tokenFrancisco Lopez2017-11-171-6/+1
| |
* | Some fixes after rebaseFrancisco Lopez2017-11-171-24/+7
| |
* | Updated refactor and pushing to see if test failsFrancisco Lopez2017-11-171-2/+0
| |
* | First refactorFrancisco Lopez2017-11-171-39/+19
| |
* | Use relative git object paths to construct absolute ones before setting Envfix/git-env-repo-pathsAhmad Sherif2017-11-142-1/+15
|/
* Merge branch 'fix/sm/31771-do-not-allow-jobs-to-be-erased-new' into 'master'Kamil Trzciński2017-11-142-2/+2
|\ | | | | | | | | | | | | Do not allow jobs to be erased Closes #31771 See merge request gitlab-org/gitlab-ce!15216
| * Merge branch 'master' into fix/sm/31771-do-not-allow-jobs-to-be-erased-newShinya Maeda2017-11-076-12/+25
| |\
| * | Add doc. Fix spec. Add erase_build in protected_ref ruleShinya Maeda2017-11-072-2/+0
| | |
| * | Fix spec. Revert update check.Shinya Maeda2017-11-062-0/+2
| | |
| * | Do not allow jobs to be erasedShinya Maeda2017-11-062-2/+2
| | |
* | | Add administrative endpoint to list all pages domainsTravis Miller2017-11-133-3/+48
| | |
* | | Add Gitlab::Utils::StrongMemoizeLin Jen-Shin (godfat)2017-11-131-3/+5
| | |
* | | Add /groups/:id/subgroups endpoint to APIWinnie Hellmann2017-11-091-22/+44
| | |
* | | Merge branch '39895-cant-set-mattermost-username-channel-from-api' into 'master'Rémy Coutable2017-11-091-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix acceptance of username for Mattermost service update Closes #39895 See merge request gitlab-org/gitlab-ce!15275
| * | | Fix acceptance of username for Mattermost service update via APIMark Fletcher2017-11-081-0/+6
| | | |
* | | | Merge branch '36099-api-responses-missing-x-content-type-options-header' ↵Douwe Maan2017-11-081-1/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into '10-1-stable' Include X-Content-Type-Options (XCTO) header into API responses See merge request gitlab/gitlabhq!2211 (cherry picked from commit 6c818e77f2abeef2dd7b17a269611b018701fa79) e087e075 Include X-Content-Type-Options (XCTO) header into API responses
* | | Merge branch 'fix-issues-api-list-performance' into 'master'Stan Hu2017-11-081-6/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fail when issuable_meta_data is called on an unlimited collection Closes #39845 See merge request gitlab-org/gitlab-ce!15249
| * | | Fail when issuable_meta_data is called on an unlimited collectionfix-issues-api-list-performanceSean McGivern2017-11-071-6/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method can be called with an array, or a relation: 1. Arrays always have a limited amount of values, so that's fine. 2. If the relation does not have a limit value applied, then we will load every single object in that collection, and prevent N+1 queries for the metadata for that. But that's wrong, because we should never call this without an explicit limit set. So we raise in that case, and this commit will see which specs fail. The only failing specs here were the issues API specs, and the specs for IssuableMetadata itself, and both have been addressed.
* | | Use Commit#notes and Note.for_commit_id when possible to make sure we use ↵dm-notes-for-commit-idDouwe Maan2017-11-082-2/+2
|/ / | | | | | | all the indexes available to us
* | Merge branch ↵Douwe Maan2017-11-073-11/+9
|\ \ | | | | | | | | | | | | | | | | | | '37442-api-branches-id-repository-branches-is-calling-gitaly-n-1-times-per-request' into 'master' Fetch the merged branches at once in the `/projects/:id/repository/branches` endpoint See merge request gitlab-org/gitlab-ce!15215
| * | Pass the Gitlab::Git::Branch object to Repository#merged_to_root_ref?37442-api-branches-id-repository-branches-is-calling-gitaly-n-1-times-per-requestRémy Coutable2017-11-061-4/+1
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | Improve performance of the /projects/:id/repository/branches API endpointRémy Coutable2017-11-063-8/+9
| | | | | | | | | | | | | | | | | | Mitigate a N+1 requests to Gitaly problem. Still one left. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'feature/custom-attributes-on-projects-and-groups' into 'master'Rémy Coutable2017-11-073-1/+11
|\ \ \ | | | | | | | | | | | | | | | | Support custom attributes on groups and projects See merge request gitlab-org/gitlab-ce!14593
| * | | Support custom attributes on groupsMarkus Koller2017-11-061-1/+8
| | | |
| * | | Support custom attributes on projectsMarkus Koller2017-11-062-0/+3
| | |/ | |/|
* | | Merge branch 'add-changes-count-to-merge-requests-api' into 'master'Rémy Coutable2017-11-071-0/+4
|\ \ \ | |_|/ |/| | | | | | | | Add changes_count to the merge requests API See merge request gitlab-org/gitlab-ce!15178
| * | Add changes_count to the merge requests APIadd-changes-count-to-merge-requests-apiSean McGivern2017-11-031-0/+4
| |/ | | | | | | | | | | This returns the `real_size` of the MR's diff, which is a string indicating the number of changes. If the diff overflows after _n_ files, the string will be `$n+`.
* | Expose `duration` in Job API entityMehdi Lahmam2017-11-051-0/+1
|/ | | | Closes #35794.
* Update specs for sudo behaviorDouwe Maan2017-11-021-5/+2
|
* Add sudo API scopeDouwe Maan2017-11-022-74/+50
|
* Remove authentication using user.private_tokenDouwe Maan2017-11-021-16/+6
|
* Remove private_token from API user entityDouwe Maan2017-11-022-7/+1
|
* Remove Session APIDouwe Maan2017-11-022-21/+0
|
* Merge branch '39619-cancel-merge-when-pipeline-succeeds-from-the-api-fails' ↵Rémy Coutable2017-10-311-1/+1
|\ | | | | | | | | | | | | | | | | into 'master' Fix namespacing for MergeWhenPipelineSucceedsService in MR API Closes #39619 See merge request gitlab-org/gitlab-ce!15088
| * Fix namespacing for MergeWhenPipelineSucceedsService in MR APIMark Fletcher2017-10-301-1/+1
| |
* | Merge branch 'add-packagist-project-service' into 'master'Kamil Trzciński2017-10-312-0/+41
|\ \ | |/ |/| | | | | Add Packagist project service See merge request gitlab-org/gitlab-ce!14493
| * Add Packagist project serviceMatt Coleman2017-10-132-0/+41
| |
* | Merge branch 'api-configure-jira' into 'master'Douwe Maan2017-10-261-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Validate username/pw for Jiraservice, require them in the API Closes #36621 See merge request gitlab-org/gitlab-ce!15025
| * | Validate username/pw for Jiraservice, require them in the APIRobert Schilling2017-10-241-2/+2
| | |