Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-12Add frozen_string_literal to spec/servicesThong Kuah
Probably useful as we often move these files to "new" files.
2019-03-06Accept force option on commit via APIPatrick Bajao
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.
2018-11-28Commits API: Preserve file content in move operations if unspecifiedNick Thomas
2018-09-27Adds chmod action to POST /projects/:id/repository/commits APIJacopo
With this action the user can update the execute_filemode of a given file in the repository.
2018-09-18Guard against regressions in commit email specsNick Thomas
2018-09-17Use the correct email address when committing via a file serviceNick Thomas
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-07-03Make OperationService RPC's mandatoryJacob Vosmaer (GitLab)
2018-03-16Extract constant for LfsPointerFile::VERSION_LINEJames Edwards-Jones
2018-03-16Use correct encoding with Lfs::FileTransfromerJames Edwards-Jones
2018-03-15Multi-file upload and Commit API obey LFS filtersJames Edwards-Jones
Updates Files::MultiService for the commits API which is in turn used by the multi-file upload web UI Ensures that files which should be in LFS are transformed into LFS pointers Uses Lfs::Transformer which then links LfsObjectProjects on success
2018-02-06File upload UI obeys LFS filtersJames Edwards-Jones
Uses Lfs::FileModificationHandler to coordinate LFS detection, creation of LfsObject, etc Caveats: 1. This isn't used by the multi-file editor / Web IDE 2. This isn't used on rename. We'd need to be able to download LFS files and add them to the commit if they no longer match so not as simple. 3. We only check the root .gitattributes file, so this should be improved to correctly check for nested .gitattributes files in subfolders.
2018-01-22Incorporate Gitaly's OperationService.UserCommitFiles RPCAlejandro Rodríguez
2018-01-05Move git operations for multi_action into Gitlab::GitAlejandro Rodríguez
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-12-20Updates from last code review:Rubén Dávila
- Apply some refactoring for code reuse - Add file status validation for Files::DeleteService - Write additional specs
2017-12-20Check if file has been modified for each action provided.Rubén Dávila
When commiting multiple files we're now checking if any of those files has been modified by another commit and we're rejecting the new commit in this case.
2017-12-20Add some initial specs for Files::MultiService classRubén Dávila
2017-08-23Move GitHooksService to Gitlab::GitJacob Vosmaer
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-04-20Refactor changing files in web UIDouwe Maan
2017-03-28Use `:empty_project` where possible in service specsRobert Speicher
2017-01-06Fix renamingLin Jen-Shin
2016-11-04Add a test to make sure hooks are fire only onceLin Jen-Shin
when updating a file to a different branch.
2016-10-05multi-file commitMarc Siegfriedt
add docs and tests - add additional validation allow move without content updated response
2016-08-15Prevents accidental overwrites of commits from UIFrank West
Currently when a user performs an update of a file through the UI and there has already been a change committed to the file the previous commits will be overwritten without a check to see if the file has been changed. This commit uses the last commit sha at the time the user starts editing the file and compares it with the current sha of the file being edited to ensure they are the same before committing the file. If the shas do not match we throw an exception preventing the commit from the commit from occurring. Fixes #5857