Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2022-11-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-07-11 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-05-02 | Validate MR branch names | Mark 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-27 | Gracefully handle references with null bytes | Stan 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-22 | Enable frozen string for lib/gitlab/*.rb | gfyoung | |
2018-07-19 | Use rugged to validate ref name | Ahmad Hassan | |
2017-10-06 | Prevent branches or tags from starting with invalid characters (e.g. -, .) | Jacob Schatz | |
Closes #38817 | |||
2017-07-13 | More Gitaly annotations | Jacob Vosmaer | |
2017-01-09 | Strip reference prefixes on branch creation | Matthieu Tardy | |
Signed-off-by: Matthieu Tardy <matthieu.tardy@gmail.com> | |||
2015-11-04 | Replace all usages of `git` command with configurable binary path | Robert Speicher | |
Closes #3311 | |||
2014-11-06 | fix system silent call | Valery Sizov | |
2014-11-06 | Revert "Revert "Don't output to stdout from lib non-interactive methods"" | Valery Sizov | |
This reverts commit b33d4bc2f1d26ee3526b9d7f530f468a9d5b5a5e. | |||
2014-11-06 | Revert "Don't output to stdout from lib non-interactive methods" | Valery Sizov | |
This reverts commit 0b1084a4538bc46684c8620410988d3b1093e7ab. | |||
2014-11-05 | Don't output to stdout from lib non-interactive methods | Ciro Santilli | |
It pollutes the test output too much. | |||
2014-09-03 | Validate branch-names and references in WebUI, API | Robert Schilling | |
Add specs for GitRefValidator |