Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'webide-commit-use-correct-parent' into 'master' | Nick Thomas | 2019-07-18 | 1 | -5/+9 |
|\ | | | | | | | | | Use correct parent when committing in WebIDE See merge request gitlab-org/gitlab-ce!29598 | ||||
| * | Add start_sha to commits API | Markus Koller | 2019-07-18 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | When passing start_branch on committing from the WebIDE, it's possible that the branch has changed since editing started, which results in the change being applied on top of the latest commit in the branch and overwriting the new changes. By passing the start_sha instead we can make sure that the change is applied on top of the commit which the user started editing from. | ||||
* | | Refactor RedisCounter and WebIdeCommitsCounter | Francisco Javier López | 2019-07-17 | 1 | -1/+1 |
|/ | | | | | This MR refactor RedisCounter and WebIdeCommitsCounter to be reused by other components. | ||||
* | Refactored WebIdeCommitsCount class | Francisco Javier López | 2019-07-16 | 1 | -1/+1 |
| | | | | | | We're adding more redis base counters to the web ide and other classes. We're refactoring this class in other to use the logic in other places. | ||||
* | Change HTTP Status Code when repository disabled | Sam Battalio | 2019-06-24 | 1 | -1/+4 |
| | |||||
* | Add optional param :start_project to allow variable commit targets | Kerri Miller | 2019-05-31 | 1 | -0/+10 |
| | | | | | | | | This extends POST#:id/repository/commits to allow the optional parameter `:start_project`, which will allow targeting other projects besides the one derived from `:id`. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/50850 | ||||
* | Accept force option on commit via API | Patrick Bajao | 2019-03-06 | 1 | -0/+1 |
| | | | | | | | | When `force` is set to `true` and `start_branch` is set, the branch will be ovewritten with the new commit based on the `HEAD` of the `start_branch`. This commit includes changes to update the `gitaly-proto` gem. | ||||
* | Merge branch 'security-commit-private-related-mr' into 'master' | Yorick Peterse | 2019-03-04 | 1 | -1/+9 |
|\ | | | | | | | | | | | | | Don't allow non-members to see private related MRs Closes #2787 See merge request gitlab/gitlabhq!2866 | ||||
| * | Modify MergeRequestsFinder to allow filtering by commit | Patrick Bajao | 2019-01-28 | 1 | -1/+7 |
| | | |||||
| * | Respond with 403 when non-member requests for private MRs | Patrick Bajao | 2019-01-28 | 1 | -0/+2 |
| | | |||||
* | | Add API endpoint to get a commit's GPG signature | Balasankar "Balu" C | 2019-02-14 | 1 | -0/+16 |
|/ | |||||
* | Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routing | Imre Farkas | 2018-11-28 | 1 | -1/+1 |
| | | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS | ||||
* | Revert API is going into 11.5, not 11.6.docs/rs-revert-api-version | Robert Speicher | 2018-11-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'rs-cherry-pick-api' into 'master' | Nick Thomas | 2018-11-09 | 1 | -3/+5 |
|\ | | | | | | | | | | | | | Resolve possible cherry pick API race condition Closes #53773 See merge request gitlab-org/gitlab-ce!22946 | ||||
| * | Resolve possible cherry pick API race conditionrs-cherry-pick-api | Robert Speicher | 2018-11-09 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, we just fetched the latest commit for the given branch when presenting the resulting commit, but because something could have been committed to that branch between the time we cherry-picked and the time we render the result, the wrong commit could have been presented. Now, we fetch the commit object with the commit SHA returned by the commit change service, which should always be the correct commit. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53773 | ||||
* | | Add revert to commits API | Robert Speicher | 2018-11-09 | 1 | -0/+34 |
|/ | |||||
* | Includes commit stats in POST project commits API51803-include-commits-stats-in-projects-api | Jacopo | 2018-10-03 | 1 | -1/+2 |
| | |||||
* | Merge branch '45016-add-web-ide-commits-to-usage-ping' into 'master' | Douwe Maan | 2018-10-03 | 1 | -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 Redis | Tiago Botelho | 2018-10-03 | 1 | -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 UsagePing | Tiago Botelho | 2018-10-01 | 1 | -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/backup | gfyoung | 2018-09-29 | 1 | -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 API | Jacopo | 2018-09-27 | 1 | -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 Speicher | 2018-09-13 | 1 | -0/+2 |
|\ | | | | | | | | | Add RuboCop cops to enforce code reusing rules See merge request gitlab-org/gitlab-ce!21391 | ||||
| * | Disable existing offenses for the CodeReuse cops | Yorick Peterse | 2018-09-11 | 1 | -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-11 | 1 | -2/+2 |
|/ | |||||
* | API: Use find_branch! in all places | Robert Schilling | 2018-09-08 | 1 | -3/+2 |
| | |||||
* | Allow collaboration with forks through the API | Bob Van Landuyt | 2018-07-12 | 1 | -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/commits | Leonid Batizhevskii | 2018-06-12 | 1 | -9/+13 |
| | |||||
* | Allow merge requests related to a commit to be found via API | Mark Fletcher | 2018-03-26 | 1 | -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-commits | Tiago Botelho | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | API method /projects/:id/repository/commits now works over every commit | Tiago Botelho | 2018-02-23 | 1 | -3/+6 |
| | |||||
* | Add missing pagination on the commit diff endpoint | Maxime Roussin-Belanger | 2018-02-19 | 1 | -1/+4 |
| | |||||
* | Refactor commits/refs API to use hash and add pagination headers | Robert Schilling | 2018-02-14 | 1 | -12/+7 |
| | |||||
* | Separate branch and tag names | Robert Schilling | 2018-02-09 | 1 | -4/+4 |
| | |||||
* | Incorporate feedback | Robert Schilling | 2018-02-09 | 1 | -14/+15 |
| | |||||
* | Basic ref fetching for commits | Robert Schilling | 2018-02-09 | 1 | -0/+25 |
| | |||||
* | Add option to disable commit stats to commit API | Francisco Javier López | 2018-01-09 | 1 | -1/+2 |
| | |||||
* | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 1 | -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-id | Douwe Maan | 2017-11-08 | 1 | -1/+1 |
| | | | | all the indexes available to us | ||||
* | Merge branch 'sha-handling' into 'master' | Douwe Maan | 2017-10-16 | 1 | -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 params | Guilherme Vieira | 2017-10-12 | 1 | -7/+5 |
| | | |||||
* | | Move line code generation into Gitlab::Gitconflict-resolution-refactor | Alejandro Rodríguez | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | | Having a distinct class just for that was a bit overkill | ||||
* | | Create a Gitlab::Git submodule for conlict-related files | Alejandro Rodríguez | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | | Rename classes to (hopefully) clearer names while we're doing that. | ||||
* | | Move Gitlab::Diff::LineCode to module Gitlab::Git | Alejandro Rodríguez | 2017-10-12 | 1 | -1/+1 |
| | | |||||
* | | Remove 'Repo' prefix from API entites | Vitaliy @blackst0ne Klachkov | 2017-10-05 | 1 | -9/+9 |
|/ | |||||
* | wip: fake its a binary diff | micael.bergeron | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Fix the /projects/:id/repository/commits endpoint to handle dots in the ref ↵rc/fix-commits-api | Rémy Coutable | 2017-08-08 | 1 | -16/+17 |
| | | | | | | name when the project full path contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Fix batch commit API | Douwe Maan | 2017-08-04 | 1 | -1/+2 |
| | |||||
* | Add start_branch to files and commits APIs | Douwe Maan | 2017-08-04 | 1 | -2/+4 |
| | |||||
* | Optimize creation of commit API by using Repository#commit instead of ↵sh-optimize-project-commit-api | Stan Hu | 2017-07-03 | 1 | -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 |