- Jan 24, 2018
-
-
Ahmad Sherif authored
Closes gitaly#929
-
- Jan 23, 2018
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jan 22, 2018
-
-
Alejandro Rodríguez authored
-
- Jan 21, 2018
-
-
Stan Hu authored
Closes #42249
-
- Jan 19, 2018
-
-
Alejandro Rodríguez authored
-
Sean McGivern authored
Gitlab::Profiler.profile takes a URL to profile, and returns the ruby-prof profile result. This is currently only for interactive use (in a console) or from the script runner. Note that when using this interactively, changes to the application within that console session will be used, so this can be used to test proposed performance changes.
-
- Jan 18, 2018
-
-
Nick Thomas authored
-
Jacob Vosmaer (GitLab) authored
-
-
Yorick Peterse authored
Prior to this commit we would essentially update all rows in a table, even those where the source column (e.g. `issues.closed_at`) was NULL. This in turn could lead to statement timeouts when using the default batch size of 10 000 rows per job. To work around this we don't schedule jobs for rows where the source value is NULL. We also don't update rows where the source column is NULL (as an extra precaution) or the target column already has a non-NULL value. Using this approach it should be possible to update 10 000 rows in the "issues" table in about 7.5 - 8 seconds. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/42158
-
- Jan 17, 2018
-
-
Oswaldo Ferreir authored
-
Jacob Vosmaer (GitLab) authored
-
James Lopez authored
[10.3] Fix RCE via project import mechanism See merge request gitlab/gitlabhq!2294 (cherry picked from commit dcfec507d6f9ee119d65a832393e7c593af1d3b2) 86d75812 Fix RCE via project import mechanism
-
Robert Speicher authored
Merge branch '41293-fix-command-injection-vulnerability-on-system_hook_push-queue-through-web-hook' into 'security-10-3' Don't allow line breaks on HTTP headers See merge request gitlab/gitlabhq!2277 (cherry picked from commit 7fc0a6fc096768a5604d6dd24d7d952e53300c82) 073b8f9c Don't allow line breaks on HTTP headers
-
Douwe Maan authored
[10.3] Migrate `can_push` column from `keys` to `deploy_keys_project` See merge request gitlab/gitlabhq!2276 (cherry picked from commit f6ca52d31bac350a23938e0aebf717c767b4710c) 1f2bd3c0 Backport to 10.3
-
Robert Speicher authored
[10.3] Fix path traversal in gitlab-ci.yml cache:key See merge request gitlab/gitlabhq!2270 (cherry picked from commit c32d0c6807dfd41d7838a35742e6d0986871b389) df29094a Fix path traversal in gitlab-ci.yml cache:key
-
Robert Speicher authored
[10.3] Fix XSS vulnerability in Pipeline job trace See merge request gitlab/gitlabhq!2258 (cherry picked from commit 44caa80ed9a2514a74a5eeab10ff51849d64851b) 5f86f3ff Fix XSS vulnerability in Pipeline job trace
-
- Jan 16, 2018
-
-
Nick Thomas authored
-
Balasankar C authored
-
James Edwards-Jones authored
-
Balasankar C authored
-
Sean McGivern authored
A file containing /:\d+:/ in its contents would break the search results if those contents were part of the results, because we were splitting on colons, which can't work with untrusted input. Changing to use the null byte as a separator is much safer.
-
Grzegorz Bizon authored
-
Balasankar C authored
-
Sean McGivern authored
If the schema changes after 20171114162227 for any of these models, and specs after this one use factories, then those factories will use the models with outdated column information cached. We shouldn't really use factories in migration specs, but this is a special case because there is a lot of git-related setup code in the model that would be painful to copy to the migration. Instead, we just manually reset the column information for the models we could pollute.
-
- Jan 15, 2018
-
-
Mayra Cabrera authored
-
Balasankar C authored
-
Balasankar C authored
-
Ahmad Sherif authored
Closes gitaly#907
-
-
Stan Hu authored
Closes #41633
-
- Jan 11, 2018
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Closes gitaly#851
-
Nick Thomas authored
-
- Jan 10, 2018
-
-
Jan Provaznik authored
For each MR diff an extra 'SELECT COUNT()' is executed to get number of commits for the diff. Overall time to get counts for all MR diffs may be quite expensive. To speed up loading of MR info, information about number of commits is stored in a MR diff's extra column. Closes #38068
-
Stan Hu authored
Closes #41739
-
- Jan 09, 2018
-
-
Zeger-Jan van de Weg authored
Migration is done through a small refactoring, which makes us call endpoins which are performing the same actions for namespaces. Tests are added to ensure only the project is removed that should be removed. Closes gitlab-org/gitaly#873
-
Jacob Vosmaer (GitLab) authored
-
- Jan 08, 2018
-
-
James Edwards-Jones authored
The spec for "#add_key does nothing" would always have passed, since the expectation was on both the wrong object and message.
-
Valery Sizov authored
-