An error occurred fetching the project authors.
- 15 Jun, 2016 10 commits
-
-
Stan Hu authored
[ci skip]
-
Z.J. van de Weg authored
-
Zeger-Jan van de Weg authored
-
Yorick Peterse authored
This ensures that code such as this don't run needless SQL queries: project.gitlab_issue_tracker_service.project This also means that if the root `project` eager loads any associations the Service object will be able to re-use those.
-
Fatih Acet authored
-
Yorick Peterse authored
By eager loading these associations we can greatly cut down the number of SQL queries executed when processing documents with lots of references, especially in cases where there are references belonging to the same project. Since these associations are so specific to the reference parsing process and the permissions checking process that follows it I opted to include them directly in IssueParser instead of using something like a scope. Once we have a need for it we can move this code to a scope or method.
-
Fatih Acet authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Paco Guzman authored
Avoiding N+1 when showing grouped awards and when calculating participants for awardable entities
-
- 14 Jun, 2016 10 commits
-
-
Douglas Barbosa Alexandre authored
-
Annabel Dunstone authored
-
Yorick Peterse authored
-
Sean McGivern authored
Increment the counter `new_redis_connections` on each call to `Redis::Client#connect`, if we're in a transaction.
-
Paco Guzman authored
By default instrumentation will instrument public, protected and private methods, because usually heavy work is done on private method or at least that’s what facts is showing
-
Paco Guzman authored
-
Rémy Coutable authored
If one had configured a `teamcity_url` like http://foo.bar/teamcity in the previous implementation the plugin directed it's request i.e. to http://foo.bar/httpAuth/... instead of http://foo.bar/teamcity/httpAuth/... `URI.join` only works correctly, if the prefix URL has - at least one or more trailing '/' - the appended parts are _not_ prefixed with '/' The current implementation should work with all sorts of TeamCity base URLs. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Benjamin Schmid authored
If one had configured a `bamboo_url` like http://foo.bar/bamboo in the previous implementation the plugin directed it's request i.e. to http://foo.bar/rest/... instead of http://foo.bar/bamboo/rest/... `URI.join` only works correctly, if the prefix URL has - at least one or more trailing '/' - the appended parts are _not_ prefixed with '/' The current implementation should work with all sorts of Bamboo base URLs. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Phil Hughes authored
-
Phil Hughes authored
-
- 13 Jun, 2016 12 commits
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Robert Speicher authored
`refresh` was called, `refreshing` was set to true, but then because `document.hidden` was true, `getContent` was never called, and `refreshing` never got reset to `false`, which stopped polling entirely until refresh.
-
Kamil Trzcinski authored
-
Alexander Matyushentsev authored
-
Alexander Matyushentsev authored
-
Alexander Matyushentsev authored
-
Kamil Trzcinski authored
-
Sean McGivern authored
Tags are immutable, so we can't add a commit to either revert or cherry-pick another commit to them.
-
Yorick Peterse authored
Now that this code is no longer part of Banzai::Filter it needs to be instrumented explicitly.
-
Kamil Trzcinski authored
-
Gabriel Mazetto authored
-
- 12 Jun, 2016 3 commits
-
-
Stan Hu authored
Here was the problem: 1. When determining whether a given blob is viewable text, gitlab_git reads the first 1024 bytes and checks with Linguist whether it is a text or binary file. 2. If the blob is text, GitLab will attempt to display it. 3. However, if the text has binary characters after the first 1024 bytes, then GitLab will attempt to load the entire contents, but the encoding will be ASCII-8BIT since there are binary characters. 4. The Error 500 results when GitLab attempts to display a mix UTF-8 and ASCII-8BIT. To fix this, we load as much data as we are willing to display so that the detection will work properly. Requires an update to gitlab_git: gitlab-org/gitlab_git!86 Closes #13826
-
Kamil Trzcinski authored
-
Stan Hu authored
Closes #18484
-
- 10 Jun, 2016 5 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Felipe Artur authored
-
Paco Guzman authored
Using update_column to store the boolean flag to avoid any side effects with the current state of the project instance
-
Tomasz Maczukin authored
-
Rui Anderson authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-