summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-copRémy Coutable2017-06-026-7/+7
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix missing optional path parameter in "Create project for user" API33242-create-project-for-user-api-ignores-path-parameterAthar Hameed2017-06-021-0/+1
|
* Merge branch '24196-protected-variables' into 'master'Kamil Trzciński2017-06-012-1/+4
|\ | | | | | | | | | | | | Implementation for protected variables Closes #24196 See merge request !11688
| * Merge branch 'master' into '24196-protected-variables'Kamil Trzciński2017-06-015-2/+68
| |\ | | | | | | | | | # Conflicts: # db/schema.rb
| * \ Merge remote-tracking branch 'upstream/master' into 24196-protected-variablesLin Jen-Shin2017-06-018-39/+199
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (141 commits) Add Documentation for GIT_CHECKOUT variable Ui improvements for count badges and permission badges Rename the other jobs Update jobs_spec for changes from builds_spec Update docs related to protected actions Add changelog for protected branches abilities fix Ask for an example project for bug reports Center loading spinner in issuable filters Fix chat commands specs related to protected actions Fix builds controller specs related to protected actions Fix pipeline retry specs related to protected actions Fix environment model specs related to protected actions Fix build factory specs related to protected actions Fix job play service specs related to protected actions Fix play status specs related to protected actions Fix deploy chat command specs for protected actions Fix environment specs related to protected actions Use another scope to add the - prefix, feedback: Fix pipeline processing specs related to protected actions Fix build entity specs related to protected actions ...
| * \ \ Merge remote-tracking branch 'upstream/master' into 24196-protected-variablesLin Jen-Shin2017-05-315-5/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (89 commits) Revert "Merge branch 'grpc-1.3.4' into 'master'" Return nil when looking up config for unknown LDAP provider Avoid crash when trying to parse string with invalid UTF-8 sequence Enable Gitaly by default in GitLab 9.3 Don’t create comment on JIRA if link already exists Disable sub_group_issuables_spec.rb for mysql Fix math rendering on blob pages Add changelog Don't allow to pass a user to ProjectWiki#http_url_to_repo Revert "Merge branch '1937-https-clone-url-username' into 'master' " Fix bottom padding for build page Fix /unsubscribe slash command creating extra todos Fix omniauth-google-oauth2 dependencies in Gemfile.lock Update looks job log 'New issue'/'New merge request' dropdowns should show only projects with issues/merge requests feature enabled Fix spec for Members::AuthorizedDestroyService 31616-add-uptime-of-gitlab-instance-in-admin-area Set head pipeline when creating merge requests Create a separate helper to check if we show particular tab on a search page Add performance deltas between app deployments on Merge Request widget ...
| * \ \ \ Merge branch 'master' into '24196-protected-variables'Lin Jen-Shin (godfat)2017-05-265-6/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | API and doc for protected variablesLin Jen-Shin2017-05-252-1/+4
| | | | | |
* | | | | | Merge branch 'migrate-old-artifacts' into 'master'Grzegorz Bizon2017-06-014-30/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix data inconsistency issue for old artifacts by moving them to a currently used path Closes #32036 See merge request !11824
| * | | | | | Add missing specsKamil Trzcinski2017-06-014-30/+11
| | | | | | |
| * | | | | | Fix data inconsistency issue for old artifacts by moving them to a currently ↵Kamil Trzcinski2017-06-013-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | used path
* | | | | | | Merge branch 'bugfix/deploy_keys__can_push__usage_in_api' into 'master'Rémy Coutable2017-06-011-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Add missing `can_push` parameter to POST /v3/deploy_keys See merge request !11607
| * | | | | | Add missing `can_push` parameter to POST /v3/deploy_keysRichard Clamp2017-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v3 API documentation claims that `can_push` is supported when adding a deploy_key. https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/deploy_keys.md#add-deploy-key Here we make good on this promise by adding `can_push` as an optional parameter so grape can route it. This was copied from the v4 API.
* | | | | | | Merge branch 'dm-collapsed-blob' into 'master'Sean McGivern2017-06-014-6/+6
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | Consistent diff and blob size limit names See merge request !11776
| * | | | | | Change no_limits to limitsdm-collapsed-blobDouwe Maan2017-05-314-6/+6
| | | | | | |
| * | | | | | Consistent diff and blob size limit namesDouwe Maan2017-05-294-6/+6
| | | | | | |
* | | | | | | Merge branch 'master' into 'trigger-source'Grzegorz Bizon2017-05-318-39/+115
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | | | Add feature toggles through FlipperAlejandro Rodríguez2017-05-313-0/+59
| | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge branch 'tc-improve-project-api-perf' into 'master'Douwe Maan2017-05-315-39/+54
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve /project API performance Closes #31855 and #31937 See merge request !11666
| | * | | | | | Remove some deprecated methodstc-improve-project-api-perfToon Claes2017-05-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid the use of slow queries, remove some deprecated methods and encourage the use of ProjectFinder to find projects.
| | * | | | | | Add :owned param to ProjectFinderToon Claes2017-05-303-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use it in the API.
| | * | | | | | Use helper to construct Finder paramsToon Claes2017-05-303-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | | Use ProjectFinder to filter the projectsToon Claes2017-05-302-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to do the heavy lifting in the API itself, use the existing features of the ProjectFinder.
| | * | | | | | Handle `membership` in ProjectFinderToon Claes2017-05-302-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ProjectFinder supports the `non_public` parameter. This can be used to find only projects the user is member of.
| | * | | | | | Build options hash after finding the list of projectsToon Claes2017-05-301-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because this order makes more sense and makes the code easier to read.
| | * | | | | | Move ProjectsFinder to `present_projects` for simplificationToon Claes2017-05-301-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid passing parameters double, move all filtering to the `present_projects` helper.
| | * | | | | | Copy `filter_projects` helper to V3Toon Claes2017-05-301-0/+27
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | The helper will be modified in V4, so copy the original to V4 to keep the current behavior in V3.
| * | | | | | Merge branch '33000-tag-list-in-project-create-api' into 'master'Rémy Coutable2017-05-311-0/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tag_list param to project api Closes #33000 See merge request !11799
| | * | | | | | Add tag_list param to project apivanadium232017-05-311-0/+2
| | |/ / / / /
* | | | | | | Introduce source to pipeline entitytrigger-sourceKamil Trzcinski2017-05-312-2/+9
|/ / / / / /
* | | | | | Use update_pipeline_scheduleShinya Maeda2017-05-311-2/+2
| | | | | |
* | | | | | Return 202 for destory. Remove []. Remove def pipeline_schedules from helper.Shinya Maeda2017-05-301-6/+2
| | | | | |
* | | | | | Improve API with optinal and default. Allow to use scope as a parameter.Shinya Maeda2017-05-301-3/+7
| | | | | |
* | | | | | Use PipelineScheduleDetailsShinya Maeda2017-05-302-11/+14
| | | | | |
* | | | | | Improve documentShinya Maeda2017-05-301-4/+4
| | | | | |
* | | | | | Remove deleted_at from Entity. Use find_by. Remove returns.Shinya Maeda2017-05-302-6/+6
| | | | | |
* | | | | | Expose last_pipeline only when detailed statusShinya Maeda2017-05-302-6/+6
| | | | | |
* | | | | | Dryup fetching pipeline_schedule with helperShinya Maeda2017-05-301-6/+14
| | | | | |
* | | | | | Switch to preload. Remove unncecessary associations.Shinya Maeda2017-05-301-1/+1
| | | | | |
* | | | | | Include owner for pipeline_schedules. Improve N+1 spec. Use PipelineBasic ↵Shinya Maeda2017-05-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | for small payload.
* | | | | | includes last_pipelineShinya Maeda2017-05-302-4/+2
| | | | | |
* | | | | | zj keen eye2Shinya Maeda2017-05-301-2/+1
| | | | | |
* | | | | | avoids N + 1 queriesShinya Maeda2017-05-301-1/+1
| | | | | |
* | | | | | Define last_pipeline in PipelineScheduleEntityShinya Maeda2017-05-301-1/+3
| | | | | |
* | | | | | Move authenticate! to beforeShinya Maeda2017-05-301-6/+2
| | | | | |
* | | | | | Add own! method on PipleineScheduleShinya Maeda2017-05-301-1/+1
| | | | | |
* | | | | | Use CreatePipelineScheduleServiceShinya Maeda2017-05-301-2/+3
| | | | | |
* | | | | | Remove if from last_pipeline in entityShinya Maeda2017-05-301-1/+1
| | | | | |
* | | | | | Reflect doc to api descShinya Maeda2017-05-301-20/+20
| | | | | |
* | | | | | Add API support for pipeline scheduleShinya Maeda2017-05-303-0/+136
|/ / / / /