summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Introduce maximum session time for terminal websocket connectionterminal-max-session-timeAdam Niedzielski2017-02-062-1/+3
| | | | | Store the value in application settings. Expose the value to Workhorse.
* Merge branch 'add-issues-to-boards' into 'master' Fatih Acet2017-02-031-1/+1
|\ | | | | | | | | | | | | Add issues to boards list Closes #26205 See merge request !8737
| * Update the API endpoint to get the lists of a project boardDouglas Barbosa Alexandre2017-02-031-1/+1
| |
* | Merge branch '17662-rename-builds' into 'master' Kamil Trzciński2017-02-031-1/+1
|\ \ | |/ |/| | | | | | | | | Resolve "Rename "Builds" to "Pipelines", "CI/CD Pipelines", or "Jobs" everywhere" Closes #17662 See merge request !8787
| * Fix broken tests17662-rename-buildsFilipa Lacerda2017-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename Build to Job Replace "Builds" by "Jobs" and fix broken specs Replace "Builds" by "Jobs" Fix broken spinach test Fix broken test Remove `˙` at the beginning of the file Fix broken spinach test Fix broken tests Changes after review
* | Merge branch 'fwn-to-find-by-full-path' into 'master' Dmitriy Zaporozhets2017-02-032-3/+3
|\ \ | | | | | | | | | | | | replace `find_with_namespace` with `find_by_full_path` See merge request !8949
| * | replace `find_with_namespace` with `find_by_full_path`Adam Pahlevi2017-02-032-3/+3
| | | | | | | | | | | | add complete changelog for !8949
* | | Merge branch '24606-force-password-reset-on-next-login' into 'master'Sean McGivern2017-02-031-0/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Force new password after password reset via API Closes #24606 See merge request !8933
| * | Force new password after password reset via APIGeorge Andrinopoulos2017-02-021-0/+2
| |/
* | Merge branch 'fix-git-hooks-when-creating-file' into 'master' Douwe Maan2017-02-022-4/+2
|\ \ | | | | | | | | | | | | | | | | | | Don't execute git hooks if you create branch as part of other change Closes #23439 See merge request !7237
| * \ Merge remote-tracking branch 'upstream/master' into ↵fix-git-hooks-when-creating-fileLin Jen-Shin2017-02-022-3/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-git-hooks-when-creating-file * upstream/master: (190 commits) Remove unnecessary returns / unset variables from the CoffeeScript -> JS conversion. update spec Change the reply shortcut to focus the field even without a selection. use destroy_all Remove settings cog from within admin scroll tabs; keep links centered add changelog remove old project members from project add spec replicating validation error Fix small typo on new branch button spec Improve styling of the new issue message Don't capitalize environment name in show page Abillity to promote project labels to group labels Edited the column header for the environments list from created to updated and added created to environments detail page colum header titles Update and pin the `jwt` gem to ~> 1.5.6 refactor merge request build service Update index.md Clarify that Auto Deploy requires a public project. 19164 Add settings dropdown to mobile screens cop for gem fetched from a git source Add CHANGELOG entry ...
| * \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-01-2621-137/+345
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-git-hooks-when-creating-file * upstream/master: (1122 commits) Update CHANGELOG.md for 8.16.2 Display project ID in project settings (!8572) fixed points from comments to improve code quality Update CHANGELOG.md for 8.14.8 Statisfy eslint Add CHANGELOG entry Fix access to the wiki code via HTTP when repository feature disabled Display fullscreen button on small screens (!5302) Prevent removing fields from dropdowns on input elements fix for all themes Return struct instead of multiple values Fix race conditions for AuthorizedProjectsWorker Add User#nested_groups and User#nested_projects methods Fix spec failure due to timestamp ordering issue in mySQL Fixed error with filter keyboard tests `can?` already includes the `feature_available?` check Test there is no Merge Request button when MRs are disabled Ensure the correct Merge Request button is found Add 409 conflict tests Add CHANGELOG ...
| * | | Fix renamingLin Jen-Shin2017-01-072-2/+2
| | | |
| * | | Fix for initial commit and remove unneeded argsLin Jen-Shin2017-01-061-2/+0
| | | |
* | | | 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