- Jan 23, 2018
-
-
Ahmad Sherif authored
-
- Jan 16, 2018
-
-
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.
-
Andrew McCallum authored
-
- Jan 15, 2018
-
-
Andrew McCallum authored
-
Andrew McCallum authored
-
Andrew McCallum authored
-
- Jan 11, 2018
-
-
Ahmad Sherif authored
-
- Jan 10, 2018
-
-
Stan Hu authored
Closes #41739
-
- Jan 05, 2018
-
-
Alejandro Rodríguez authored
-
Lin Jen-Shin (godfat) authored
-
- Dec 20, 2017
-
-
Kim Carlbäcker authored
This reverts merge request !15712
-
- Dec 19, 2017
-
-
Zeger-Jan van de Weg authored
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
-
- Dec 14, 2017
-
-
haseeb authored
-
- Dec 13, 2017
-
-
Jacopo authored
Allows ordering in GET api/v4/projects/:project_id/repository/contributors through `order_by` and `sort` params. The available `order_by` options are: name|email|commits. The available `sort` options are: asc|desc.
-
Ahmad Sherif authored
Closes gitaly#808
-
- Dec 12, 2017
-
-
Stan Hu authored
-
Kim "BKC" Carlbäcker authored
-
- Dec 08, 2017
-
-
Bob Van Landuyt authored
Moving the check out of the general requests, makes sure we don't have any slowdown in the regular requests. To keep the process performing this checks small, the check is still performed inside a unicorn. But that is called from a process running on the same server. Because the checks are now done outside normal request, we can have a simpler failure strategy: The check is now performed in the background every `circuitbreaker_check_interval`. Failures are logged in redis. The failures are reset when the check succeeds. Per check we will try `circuitbreaker_access_retries` times within `circuitbreaker_storage_timeout` seconds. When the number of failures exceeds `circuitbreaker_failure_count_threshold`, we will block access to the storage. After `failure_reset_time` of no checks, we will clear the stored failures. This could happen when the process that performs the checks is not running.
-
- Dec 07, 2017
-
-
Zeger-Jan van de Weg authored
-
- Dec 05, 2017
-
-
Ahmad Sherif authored
Closes gitaly#780
-
- Dec 04, 2017
-
-
Ahmad Sherif authored
Closes gitaly#737
-
- Nov 23, 2017
-
-
Lin Jen-Shin authored
-
- Nov 21, 2017
-
-
Jacob Vosmaer (GitLab) authored
-
- Nov 03, 2017
-
-
Alejandro Rodríguez authored
-
- Oct 27, 2017
-
-
Lin Jen-Shin (godfat) authored
-
Zeger-Jan van de Weg authored
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
-
- Oct 20, 2017
-
-
Alejandro Rodríguez authored
This saves us Rugged/gRPC invocations
-
- Oct 13, 2017
-
-
Jacob Vosmaer (GitLab) authored
-
- Oct 12, 2017
-
-
Sean McGivern authored
We were looking these up on each request to an issue page, because the form is pre-filled, as is the template dropdown. That was unnecessary: we could just treat these as 'special' repository files (like the rendered README) and cache them in Redis until they change on a push.
-
- Oct 07, 2017
-
-
Jacopo authored
Replaces all the explicit include metadata syntax in the specs (tag: true) into the implicit one (:tag). Added a cop to prevent future errors and handle autocorrection.
-
- Oct 05, 2017
-
-
Zeger-Jan van de Weg authored
-
- Oct 04, 2017
-
-
Jacob Vosmaer (GitLab) authored
-
Alejandro Rodríguez authored
-
- Oct 02, 2017
-
-
Stan Hu authored
`Repository#has_visible_content?` used to rely on the cached count of local branches, but since it is now an independently cached value it needs to be invalidated on its own. Closes #38646
-
- Sep 30, 2017
-
-
Alejandro Rodríguez authored
-
- Sep 29, 2017
-
-
David Turner authored
When calling pre-receive, post-receive, and update hooks, add the GitLab username as the GL_USERNAME environment variable. This patch only handles cases where pushes are over http, or via the web interface. Later, we will address the ssh case.
-
Jacob Vosmaer (GitLab) authored
-
- Sep 28, 2017
-
-
Ahmad Sherif authored
Closes gitaly#601
-
Ahmad Sherif authored
Closes gitaly#562
-
Markus Koller authored
-