summaryrefslogtreecommitdiff
path: root/lib/api/commits.rb
Commit message (Collapse)AuthorAgeFilesLines
* Includes commit stats in POST project commits API51803-include-commits-stats-in-projects-apiJacopo2018-10-031-1/+2
|
* Merge branch '45016-add-web-ide-commits-to-usage-ping' into 'master'Douwe Maan2018-10-031-0/+3
|\ | | | | | | | | | | | | Adds Web IDE commits to usage ping Closes #45016 See merge request gitlab-org/gitlab-ce!22007
| * Implements Web IDE commits counter in RedisTiago Botelho2018-10-031-1/+1
| | | | | | | | | | | | | | | | This makes a temporary implementation of the Web IDE commits counter using Redis while https://gitlab.com/gitlab-org/gitlab-ce/issues/52096 is being discussed further for a more generic approach to counters
| * Adds WebIDE commits to UsagePingTiago Botelho2018-10-011-0/+3
| | | | | | | | | | Implements UsageCounters model to track feature usage counters and makes easy to extend for future counters
* | Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
|/ | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Adds chmod action to POST /projects/:id/repository/commits APIJacopo2018-09-271-1/+20
| | | | With this action the user can update the execute_filemode of a given file in the repository.
* Merge branch 'rubocop-code-reuse' into 'master'Robert Speicher2018-09-131-0/+2
|\ | | | | | | | | Add RuboCop cops to enforce code reusing rules See merge request gitlab-org/gitlab-ce!21391
| * Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* | Resolve "500 Internal Server Error: Cherrypick commit with empty branch name"🙈 jacopo beschi 🙉2018-09-111-2/+2
|/
* API: Use find_branch! in all placesRobert Schilling2018-09-081-3/+2
|
* Allow collaboration with forks through the APIBob Van Landuyt2018-07-121-2/+14
| | | | | | | These APIs are used by the web IDE. They need to be on par with git & web access, allowing edits from maintainers to forks with merge requests that allow access.
* Added with_statsoption for GET /projects/:id/repository/commitsLeonid Batizhevskii2018-06-121-9/+13
|
* Allow merge requests related to a commit to be found via APIMark Fletcher2018-03-261-0/+14
| | | | | - Original work for the web interface here: - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13713
* Add specs42434-allow-commits-endpoint-to-work-over-all-commitsTiago Botelho2018-03-011-1/+1
|
* API method /projects/:id/repository/commits now works over every commitTiago Botelho2018-02-231-3/+6
|
* Add missing pagination on the commit diff endpointMaxime Roussin-Belanger2018-02-191-1/+4
|
* Refactor commits/refs API to use hash and add pagination headersRobert Schilling2018-02-141-12/+7
|
* Separate branch and tag namesRobert Schilling2018-02-091-4/+4
|
* Incorporate feedbackRobert Schilling2018-02-091-14/+15
|
* Basic ref fetching for commitsRobert Schilling2018-02-091-0/+25
|
* Add option to disable commit stats to commit APIFrancisco Javier López2018-01-091-1/+2
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+2
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Use Commit#notes and Note.for_commit_id when possible to make sure we use ↵dm-notes-for-commit-idDouwe Maan2017-11-081-1/+1
| | | | all the indexes available to us
* Merge branch 'sha-handling' into 'master'Douwe Maan2017-10-161-7/+5
|\ | | | | | | | | | | | | Adds requirements that supports anything in sha params Closes #26561 and #2709 See merge request gitlab-org/gitlab-ce!14462
| * Adds requirements that supports anything in sha paramsGuilherme Vieira2017-10-121-7/+5
| |
* | 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 ...