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
2021-09-20Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-03-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-07-26Fix cannot modify frozen stringThong Kuah
Note that Performance/UnfreezeString recommends unary plus over "".dup, but unary plus has lower precedence so we have to use parenthesis
2019-07-26Add frozen_string_literal to spec/lib (part 1)Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-01Allow streaming io objects into GitalyBob Van Landuyt
This allows us to set the encoding of an IO passed without reading it into memory. This is useful if we want to stream files into Gitaly. Like we do when uploading a new file to the repository.
2018-12-18Update specs to exclude possible false positive passblackst0ne
2018-08-29Fix Error 500s due to encoding issues when Wiki hooks fireStan Hu
Saved Wiki content goes through the GitalyClient::WikiService, which calls StringIO#set_encoding on the input stream. The problem is that this call mutates the encoding of the given string object to ASCII-88BIT, which causes problems for models expecting the data to still be in UTF-8. Freezing the input disables this behavior: https://github.com/ruby/ruby/blob/v2_4_4/ext/stringio/stringio.c#L1583 Closes #50590
2018-03-22Fix EncodingHelper#clean blowing up on UTF-16BE stringsAhmad Sherif
Closes gitaly#1101
2018-02-10Return a warning string if we try to encode to unsupported encodingAhmad Sherif
Fixes gitlab-development-kit#321
2018-01-05Fix a bug where charlock_holmes was used needlessly to encode stringsAlejandro Rodríguez
2017-12-28Move encoding methods to the more general EncodingHelperAlejandro Rodríguez
2017-11-23Fix encoding bugs in Gitlab::Git::UserJacob Vosmaer (GitLab)
2017-10-19Avoind unnecesary `force_encoding` operationsAlejandro Rodríguez
They're costly. This will also avoid some edge cases where charlock_holmes assigns a weird encoding to a perfectly valid UTF-8 string.
2017-08-08Make sure that we have author and committerLin Jen-Shin
In case we don't have it setup in ~/.gitconfig
2017-08-08Add a test to show that threshold 40 would corruptLin Jen-Shin
If we set `ENCODING_CONFIDENCE_THRESHOLD` to 40, this test case would not pass. If we raise to 50, this would pass. Note that if in the future rugged didn't return corrupt data, this would be less relevant. But still icu recommend the threshold to be 50, we should just stick with 50.
2017-06-02Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper`Bob Van Landuyt