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
2023-03-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2022-11-10Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-07-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-05-02Validate MR branch namesMark Chao
Prevents refspec as branch name, which would bypass branch protection when used in conjunction with rebase. HEAD seems to be a special case with lots of occurrence, so it is considered valid for now. Another special case is `refs/head/*`, which can be imported.
2018-11-27Gracefully handle references with null bytesStan Hu
`Rugged::Reference.valid_name?` used in `Gitlab::GitRefValidator.validate` fails on strings containing null bytes because it uses `StringValueCStr()`. Per https://silverhammermba.github.io/emberb/c/: Ruby’s String kinda corresponds to C’s char*. The simplest macro is StringValueCStr() which returns a null-terminated char* for a String. The problem here is that a Ruby String might contain nulls - in which case StringValueCStr() will raise an ArgumentError! Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54466
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2018-07-19Use rugged to validate ref nameAhmad Hassan
2017-10-06Prevent branches or tags from starting with invalid characters (e.g. -, .)Jacob Schatz
Closes #38817
2017-07-13More Gitaly annotationsJacob Vosmaer
2017-01-09Strip reference prefixes on branch creationMatthieu Tardy
Signed-off-by: Matthieu Tardy <matthieu.tardy@gmail.com>
2015-11-04Replace all usages of `git` command with configurable binary pathRobert Speicher
Closes #3311
2014-11-06fix system silent callValery Sizov
2014-11-06Revert "Revert "Don't output to stdout from lib non-interactive methods""Valery Sizov
This reverts commit b33d4bc2f1d26ee3526b9d7f530f468a9d5b5a5e.
2014-11-06Revert "Don't output to stdout from lib non-interactive methods"Valery Sizov
This reverts commit 0b1084a4538bc46684c8620410988d3b1093e7ab.
2014-11-05Don't output to stdout from lib non-interactive methodsCiro Santilli
It pollutes the test output too much.
2014-09-03Validate branch-names and references in WebUI, APIRobert Schilling
Add specs for GitRefValidator