summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Check public snippets for spamSean McGivern2017-02-022-2/+2
| | | | | | Apply the same spam checks to public snippets (either personal snippets that are public, or public snippets on public projects) as to issues on public projects.
* Use full group name/path in UI dropdownsDmitriy Zaporozhets2017-01-301-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve performance of triggered chat commandszj-slow-service-fetchZ.J. van de Weg2017-01-301-3/+10
| | | | | | | | | | | When the trigger endpoint is called, it has to find the right service for the given project. However, the old implementation did much more. For example, it build a list of the missing services on this project. This whole process took about 750ms _each time_. The current implementation is expected to perform 10x better, as it only searches in the current projects services. Given the service has to be configured anyway, this can be done.
* Grapify last endpoint of the branches APIgrapify-branch-apiRobert Schilling2017-01-241-6/+1
|
* Merge branch 'grapify-deploy-keys' into 'master' Rémy Coutable2017-01-241-9/+8
|\ | | | | | | | | Grapify all endpoints of the deploy keys API See merge request !8721
| * Grapify all endpoints of the deploy keys APIgrapify-deploy-keysRobert Schilling2017-01-231-9/+8
| |
* | Merge branch 'fix-guest-access-posting-to-notes' into 'security' Robert Speicher2017-01-231-10/+16
| | | | | | | | | | Prevent users from creating notes on resources they can't access See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2054
* | Merge branch 'fix-api-mr-permissions' into 'security'Robert Speicher2017-01-235-24/+21
| | | | | | | | | | | | Ensure that only privileged users can access merge requests in the API See merge request !2053
* | Merge branch 'fix-users-deleting-public-deployment-keys' into 'security' Robert Speicher2017-01-231-3/+7
| | | | | | | | | | Fix users being able to delete instance public deployment keys See merge request !2049
* | adds test suite22974-trigger-service-events-through-apiTiago Botelho2017-01-221-3/+2
| |
* | adds events to services api deserializationTiago Botelho2017-01-221-3/+46
|/
* Fix specsKamil Trzcinski2017-01-191-1/+1
|
* Merge branch 'fix/external-status-badge-links' into 'master' Kamil Trzciński2017-01-191-0/+2
|\ | | | | | | | | | | | | Link external commit status badges to target URLs Closes #25662 See merge request !8611
| * Respond with validation errors in commit status APIfix/external-status-badge-linksGrzegorz Bizon2017-01-181-0/+2
| | | | | | | | | | | | If validation errors are present, include validation errors in the commit status API payload, instead of depending on state machine errors caused by invalid record.
* | Merge branch 'time-tracking-api' into 'master' Sean McGivern2017-01-185-10/+139
|\ \ | |/ |/| | | | | | | | | Time tracking API Closes #25861 See merge request !8483
| * Add some API endpoints for time tracking.Ruben Davila2017-01-185-10/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | New endpoints are: POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time" POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time" GET :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
* | Merge branch 'sandish/gitlab-ce-update_ret_val' into 'master' Robert Speicher2017-01-161-4/+4
|\ \ | | | | | | | | | | | | Ensure updating project settings shows a flash message on success See merge request !8579
| * | Add a spec and actually display the flash noticeRémy Coutable2017-01-161-4/+4
| |/ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'fix-deprecation-warning' into 'master' Rémy Coutable2017-01-161-1/+1
|\ \ | | | | | | | | | | | | Fix a API deprecation warning See merge request !8587
| * | Fix a API deprecation warningfix-deprecation-warningRobert Schilling2017-01-161-1/+1
| |/
* | Merge branch 'dot-in-project-queries' into 'master' Rémy Coutable2017-01-161-1/+1
|\ \ | |/ |/| | | | | Add a constraint on the query parameter to allow querying for projects with dots in their name. See merge request !8210
| * Add a constraint on the query parameter to allow querying for projects with ↵Bruno Melli2017-01-141-1/+1
| | | | | | | | dots in their name.
* | API: Implement project issues iid param with IssuesFinder and add tests23194-fix-no-milestone-option-for-projects-endpointDavid Eisner2017-01-121-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | - Use IssuesFinder for the /issues API resouce - Tests for iid filter in project issues API resource - Tests for No Milestone filter in issues API resources The "No Milestone" case was not previously tested, and the `/issues` resource did not support the the `milestone` parameter. - Return issues where all labels match from the issues and project issues API resources, like the group issues resource already does. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6825#note_17474533 Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Adding 'IssueFinder' for 'projects' API endpointPanagiotis Atmatzidis2017-01-121-6/+8
| | | | | | | | | | | | | | | | Current filtering for "/projects/:id/issues" endpoint returns no results for "No Milestone" query. This PR introduces fix by copying filtering from "/groups/:id/issues" which works as expected.
* | Add support for PlantUML diagrams in Asciidoc.Horacio Sanson2017-01-122-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a PlantUML diagram all we need is to include a plantuml block like: ``` [plantuml, id="myDiagram", width="100px", height="100px"] -- bob -> alice : ping alice -> bob : pong -- ``` The plantuml block is substituted by an HTML img element with *src* pointing to an external PlantUML server. This MR also add a PlantUML integration section to the Administrator -> Settings page to configure the PlantUML rendering service and to enable/disable it. Closes: #17603
* | Fix Users API to accept confirm parameterMark Fletcher2017-01-111-1/+1
| |
* | Merge branch 'master' into auto-pipelines-vueRegis2017-01-093-9/+16
|\ \
| * \ Merge branch '26051-fix-missing-endpoint-route-method' into 'master' tc-add-gitlab-flow-to-engineeringRémy Coutable2017-01-091-1/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Don't instrument 405 Grape calls Closes #26051 See merge request !8445
| | * | Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | Merge branch 'track_last_used_date_of_ssh_keys' into 'master' Sean McGivern2017-01-091-1/+7
| |\ \ \ | | |/ / | |/| | | | | | | | | | Record and show last used date of SSH Keys See merge request !8113
| | * | Record and show last used date of SSH KeysVincent Wong2017-01-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses: Issue #13810 1. Adds a last_used_at attribute to the Key table/model 2. Update a key's last_used_at whenever it gets used 3. Display how long ago an ssh key was last used
| * | | Merge branch 'fix-users-api-500-error' into 'master' Rémy Coutable2017-01-061-7/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix 500 errors when creating a user with identity via API Closes #26295 See merge request !8442
| | * | | Fix the failing spec in POST /users APIfix-users-api-500-errorRémy Coutable2017-01-051-7/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | Merge branch 'master' into auto-pipelines-vueFilipa Lacerda2017-01-053-4/+10
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (35 commits) Adds back removed class in merge request pipelines table Fix dropdown icon alignment Simplify HTML of mini pipeline graph and dropdown Creates individual html for dropdown Adds simplified CSS for the new dropdown Removes old CSS Improves dropdown item in Chrome, Firefox and Safari Use SCSS variables for colors. Fix scss linter errors Adds animation when the stage is hovered. Adds back tooltip on dropdown toggle Fixes broken tests additional css changes to get more into direction of mockups Adds CHANGELOG entry Removes unneeded `window` declaration Decreases font-size on login page Ensure internal Gitlab::Git references use the namespace Absorb gitlab_git Fix review comments. Add spec for note edit and fix one commented spec. Review fixes. Use gl.utils.isInViewport and improve gl.utils.animateToElement. Make sure elements share the same scope Hide edit warning element when form reverted. Remove unnecessary styling came from merge conflicts. Fix single note edit form specs. Separate edit form in Changes and Discussions tab. Fix warning styling for responsive design. Fix task list for single edit note widget changes. Fix notes spec. ...
| * | | | Merge branch ↵Rémy Coutable2017-01-051-3/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '19966-api-call-to-move-project-to-different-group-fails-when-using-group-and-project-names-instead-of-id' into 'master' Fix groups API to accept path when transferring a project Closes #19966 See merge request !8408
| | * | | | Fix groups API to accept path when transferring a projectMark Fletcher2017-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Use standard helpers for finding group and project
| * | | | | Merge branch ↵Rémy Coutable2017-01-051-1/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '26261-post-api-v3-projects-idorproject-commits-commits-does-not-work-with-project-path' into 'master' Fix Commits API to accept a Project path upon POST Closes #26261 See merge request !8406
| | * | | | | Fix Commits API to accept a Project path upon POSTMark Fletcher2017-01-031-1/+0
| | |/ / / /
| * | | | | Merge branch 'zj-404-slack-error' into 'master' Kamil Trzciński2017-01-051-0/+7
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add API route slack slash commands Closes #25954 See merge request !8362
| | * | | | Add API route slack slash commandszj-404-slack-errorZ.J. van de Weg2017-01-031-0/+7
| | | | | |
* | | | | | Merge branch 'master' into auto-pipelines-vueRegis2017-01-043-23/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'api-refactor-issues-filter' into 'master' Sean McGivern2017-01-041-21/+8
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor issues filter in API See merge request !8432
| | * | | | | Add missing milestone parameterRobert Schilling2017-01-041-0/+1
| | | | | | |
| | * | | | | Refactor issues filter in APIRobert Schilling2017-01-041-21/+7
| | |/ / / /
| * | | | | Fix project hooks paramsfix-api-project-hooks-paramsRobert Schilling2017-01-031-1/+1
| |/ / / /
| * | | | API: extern_uid is a stringapi-fix-extern-uid-validationRobert Schilling2017-01-031-1/+1
| |/ / /
* | | | fix pipelines/index.html.haml merge conflictRegis2017-01-026-73/+205
|\ \ \ \ | |/ / /
| * | | Merge branch 'grapify-settings-api' into 'master' Sean McGivern2016-12-291-12/+106
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Grapify the settings API See merge request !8336
| | * | | Grapify the settings APIgrapify-settings-apiRobert Schilling2016-12-291-12/+106
| | |/ /
| * | | Merge branch 'clean-api-params' into 'master' Sean McGivern2016-12-281-2/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Parameter already enforced via grape See merge request !8344