An error occurred fetching the project authors.
- 03 Jun, 2016 2 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
James Lopez authored
-
- 02 Jun, 2016 10 commits
-
-
Douglas Barbosa Alexandre authored
-
Paco Guzman authored
This will be useful when you want to ask for the number of items and later iterate over them, without needing to ask if the association is load or not. So you avoid extra database queries
-
DJ Mountney authored
-
Robert Speicher authored
[ci skip]
-
Josh Frye authored
-
Josh Frye authored
-
Yorick Peterse authored
This changes UserReferenceFilter so it operates using the following steps: 1. Grab all username references from the input document. 2. Query the corresponding Namespace objects using a single query. 3. Iterate over all nodes to build links while re-using the objects queried in step 2. The impact of these changes is that a comment mentioning 5 different usernames no longer runs 5 different queries (1 for every username), instead it only runs a single query.
-
Sean McGivern authored
When the group is the default blank icon, this needs to use the `image_path` helper; otherwise, the link won't work if assets are precompiled. This still works fine for uploaded icons in either case.
-
chujinjin authored
-
Stan Hu authored
Nokogiri's `node.replace` was being unnecessarily called for every text node in the document due to a comparison bug. The code previously was comparing the HTML representation of the full document against the text node, which would always fail. Fix the comparison to just compare the modified text. Closes #18011
-
- 01 Jun, 2016 6 commits
-
-
Sean McGivern authored
Set a `sha` parameter on the MR form. If this doesn't match the HEAD of the source branch when the form is submitted, show a warning (like with a merge conflict) and don't merge the branch.
-
Sean McGivern authored
The `sha` parameter is optional, and when present, must match the current HEAD SHA of the source branch. Otherwise, the API call fails with a 409 Conflict and a message containing the current HEAD for the source branch. Also tidy up some doc wording.
-
Stan Hu authored
Closes #15352
-
Kamil Trzcinski authored
-
Grzegorz Bizon authored
-
Stan Hu authored
A user viewing the TODOs page will see a 404 if there are mentioned labels in multiple different projects. This is likely a caching bug and only occurs when Markdown rendering occurs across multiple projects, which is why it's so tricky to reproduce. This is what I think is happening: 1. LabelReferenceFilter#references_in encounters label ~X for ProjectA and finds the label in the DB as id = 1. 2. LabelReferenceFilter.references_in yields [1, 'X', nil, ...] 3. Since project_ref is nil, AbstractReferenceFilter#project_from_ref_cache caches nil => ProjectA. 4. LabelReferenceFilter#references_in encounters label ~Y for ProjectB and finds the label in the DB as id = 2. 5. LabelReferenceFilter.references_in yields [2, 'Y', nil, ...] 6. AbstractReferenceFilter#project_from_ref_cache lookups nil and returns ProjectA. It was supposed to be ProjectB. 7. A is the wrong project, so the label lookup fails. This MR caches Markdown references if the key is present. Closes #17898
-
- 31 May, 2016 7 commits
-
-
Stan Hu authored
EmailsOnPushWorker was using the default queue, which made it impossible to prioritize MergeWorker and other key workers with a separate Sidekiq process.
-
Valery Sizov authored
-
Gabriel Mazetto authored
-
Felipe Artur authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
- 30 May, 2016 4 commits
-
-
Gabriel Mazetto authored
-
Long Nguyen authored
-
Kamil Trzcinski authored
-
Stan Hu authored
Closes #17920
-
- 29 May, 2016 2 commits
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
- 28 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
fixes #17508
-
- 27 May, 2016 4 commits
-
-
DJ Mountney authored
-
Ben Yorke authored
-
James Lopez authored
-
Jacob Vosmaer authored
-
- 26 May, 2016 2 commits
-
-
Josh Frye authored
-
James Lopez authored
-
- 25 May, 2016 2 commits
-
-
Robert Speicher authored
[ci skip]
-
Robert Speicher authored
[ci skip]
-