summaryrefslogtreecommitdiff
path: root/lib/api/commits.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move line code generation into Gitlab::Gitconflict-resolution-refactorAlejandro Rodríguez2017-10-121-1/+1
| | | | Having a distinct class just for that was a bit overkill
* Create a Gitlab::Git submodule for conlict-related filesAlejandro Rodríguez2017-10-121-1/+1
| | | | Rename classes to (hopefully) clearer names while we're doing that.
* Move Gitlab::Diff::LineCode to module Gitlab::GitAlejandro Rodríguez2017-10-121-1/+1
|
* Remove 'Repo' prefix from API entitesVitaliy @blackst0ne Klachkov2017-10-051-9/+9
|
* wip: fake its a binary diffmicael.bergeron2017-09-061-1/+1
|
* Fix the /projects/:id/repository/commits endpoint to handle dots in the ref ↵rc/fix-commits-apiRémy Coutable2017-08-081-16/+17
| | | | | | name when the project full path contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix batch commit APIDouwe Maan2017-08-041-1/+2
|
* Add start_branch to files and commits APIsDouwe Maan2017-08-041-2/+4
|
* Optimize creation of commit API by using Repository#commit instead of ↵sh-optimize-project-commit-apiStan Hu2017-07-031-1/+1
| | | | | | | | | Repository#commits Repository#commits is expensive because it has to use Rugged to walk the Git tree as opposed to doing a direct ref lookup. Improves performance in #34533
* Change no_limits to limitsdm-collapsed-blobDouwe Maan2017-05-311-1/+1
|
* Consistent diff and blob size limit namesDouwe Maan2017-05-291-1/+1
|
* Refactor changing files in web UIDouwe Maan2017-04-201-2/+2
|
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-1/+1
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure dots in project path is allowed in the commits APIRémy Coutable2017-03-141-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Returns correct header data for commits endpointOswaldo Ferreira2017-03-071-7/+17
|
* Fix pagination headers for repository commits api endpointGeorge Andrinopoulos2017-03-071-3/+2
|
* Manually set total_count when paginating commitsJordan Ryan Reuter2017-03-071-1/+4
| | | | | | | | | | | | `Kaminari.paginate_array` takes some options, most relevant of which is a `total_count` parameter. Using the `commit_count` for `total_count` lets us correctly treat the return of `Repository#commits` as a subset of all the commits we may wish to list. Addition of a new `Repository#commit_count_for_ref` method was necessarry to allow the user to start from an arbitrary ref. Ref #1381
* Fix cherry-picking or reverting through an MRDouwe Maan2017-03-021-1/+1
|
* Consistently create, update, and delete files, taking CRLF settings into accountDouwe Maan2017-02-241-7/+0
|
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* Change branch_name param to branch throughout V4 API22132-rename-branch-name-params-to-branchOswaldo Ferreira2017-02-211-4/+3
|
* Fix some grammar in the API docsRobert Schilling2017-02-201-2/+2
|
* Use grape validation for datesapi-grape-datetimeRobert Schilling2017-02-201-5/+2
|
* Ensure only commit comments relevant to target project are returnedMark Fletcher2017-02-151-1/+1
|
* Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-01-261-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Commits API to accept a Project path upon POSTMark Fletcher2017-01-031-1/+0
| |
* | Fix renamingLin Jen-Shin2017-01-071-1/+1
| |
* | Fix for initial commit and remove unneeded argsLin Jen-Shin2017-01-061-2/+0
|/
* API: Ability to cherry-pick a commitRobert Schilling2016-12-131-1/+35
|
* Don't convert data which already is the target typeapi-no-convertRobert Schilling2016-11-241-1/+1
|
* Define common helper for describe pagination params in apiSemyon Pupkov2016-11-221-2/+3
|
* Use declared_params helper in APIgrapify-declared-paramsRobert Schilling2016-11-141-1/+1
|
* Added path parameter to Commits APILuis HGO2016-10-241-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use GrapeDSL for commitsZ.J. van de Weg2016-10-181-60/+69
|
* multi-file commitMarc Siegfriedt2016-10-051-0/+36
| | | | | | add docs and tests - add additional validation allow move without content updated response
* switch from diff_file_collection to diffs20034-safe-diffsPaco Guzman2016-08-031-2/+2
| | | | So we have raw_diffs too
* Extract LegacyDiffNote out of NoteDouwe Maan2016-05-131-0/+2
|
* API support for the 'since' and 'until' operators on commit requestsPaco Guzman2016-04-291-1/+7
| | | - Parameter validation as ISO8601 format
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-031-3/+3
|
* Order commit comments in API chronologicallyMartin Luder2015-05-081-1/+1
| | | | | | When fetching commit comments via API, the comments were not ordered, but just returned in the order Postgresql finds them. Now the API always returns comments in chronological order.
* Use project.commit convenience method.Douwe Maan2015-04-241-4/+4
|
* Add a message when unable to save an object through api.Marin Jankovski2015-01-071-1/+1
|
* Message for api files and groups.Marin Jankovski2014-12-301-1/+1
|
* Clearer message if adding comment to commit via api fails.Marin Jankovski2014-12-301-1/+1
|
* Adds comments to commits in the APIJeroen Jacobs2014-09-261-0/+61
|
* Move branches api to separate classDmitriy Zaporozhets2014-03-311-10/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Extract commits API to separate fileDmitriy Zaporozhets2014-02-181-0/+64
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* API: commits belong to project repositoryNihad Abbasov2012-09-211-29/+0
|
* APi for commits. Better api docsDmitriy Zaporozhets2012-09-211-0/+29