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
2017-08-16Merge branch 'rs-more-public-send-whitelists' into 'master'Rémy Coutable
Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467
2017-08-15Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher
2017-08-14Whitelist or fix additional `Gitlab/PublicSend` cop violationsRobert Speicher
An upcoming update to rubocop-gitlab-security added additional violations.
2017-08-07DRY up caching in AbstractReferenceFilterSean McGivern
We had a lot of copied and pasted code, when the different elements were very small and easy to get wrong.
2017-08-07Support references to group milestonesSean McGivern
Group milestones can only be referred to by name, not IID. They also do not support cross-project references.
2017-08-04Don't bother going through an entire Banzai pipeline for empty textRobert Speicher
This bails out of `cacheless_render` immediately unless the provided text is present, since there's no point. This is a slight improvement in our test performance. Across the creation of 1,000 `Namespace` records, which caches the `description` field and which is blank by default in its factory, this saves about four seconds, which... sure. Why not.
2017-08-01Rename more path_with_namespace -> full_path or disk_pathGabriel Mazetto
2017-08-01Rename many path_with_namespace -> full_pathGabriel Mazetto
2017-07-24Resolve "Lazy load images on the Frontend"Tim Zallmann
2017-07-24Support both internal and external issue trackersJarka Kadlecova
2017-07-06Merge branch 'acet-fix-tooltip-placement' into 'master'Jacob Schatz
Fix markdown preview tooltip cut off issue Closes #31748 See merge request !12367
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-07-03Banzai: Add tooltip attributes to reference filter.Fatih Acet
2017-06-30Improve support for external issue referencesAdam Niedzielski
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-14Don't return nil for missing objects from parser cacheDouwe Maan
2017-06-08Merge branch '25934-project-snippet-vis' into 'security-9-2'DJ Mountney
Fix visibility when referencing snippets See merge request !2101
2017-05-30Fix /unsubscribe slash command creating extra todosSean McGivern
The /unsubscribe slash command means that we check if the current user is subscribed to the issuable without having an explicit subscription. That means that we use the UserParser to find references to them in the notes. The UserParser (and all parsers inheriting from BaseParser) use RequestStore to cache ActiveRecord objects, so that we don't need to load the User object each time, if we're parsing references a bunch of times in the same request. However, it was always returning _all_ of the previously cached items, not just the ones matching the IDs passed. This would mean that we did two runs through with UserParser if you were mentioned in a comment, and then mentioned someone else in your comment while using /unsubscribe: 1. Because /unsubscribe was used, we see if you were mentioned in any comments. 2. Because you mentioned someone, we find them - but we would also get back your user, even if you didn't mention yourself. This would have the effect of creating a mention or directly addressed todo for yourself incorrectly. The fix is simple: only return values from the cache matching the IDs passed.
2017-05-24Merge branch '29852-latex-formatting' into 'master'Robert Speicher
Fix LaTeX formatting for AsciiDoc wiki Closes #29852 See merge request !11212
2017-05-24Fix LaTeX formatting for AsciiDoc wikiJarka Kadlecova
2017-05-18Catch all URI errors in ExternalLinkFilterDouwe Maan
2017-05-10Merge branch 'bvl-security-9-1-validate-urls-in-markdown-using-uri'Robert Speicher
(security-9-1) Add correct `rel` attributes to external links when rendering markdown See merge request !2097
2017-05-10Merge branch 'bvl-security-9-1-markup-pipeline'Robert Speicher
(security-9-1) Render asciidoc & other markup using banzai in a pipeline See merge request !2098
2017-05-04Backport of multiple_assignees_feature [ci skip]Valery Sizov
2017-05-02Remove N+1 queries when checking nodes visible to userSean McGivern
N in this case is low, as it's the number of distinct projects referenced from MRs, rather than the number of MRs referenced (issues use their own optimization). Still, on issues or MRs which are often referenced from MRs, it will save a few queries.
2017-04-27Merge branch 'blackst0ne/gitlab-ce-fix_emoji_parser'Sean McGivern
2017-04-26issues_for_nodes => issuables_for_nodesLin Jen-Shin
2017-04-25Follow feedback on the reviewLin Jen-Shin
2017-04-25Skip issuable without a project in IssuableExtractor#extractLin Jen-Shin
Closes #31280
2017-04-25Fix rendering emoji inside a stringblackst0ne
2017-04-21Start versioning cached markdown fieldsNick Thomas
2017-04-21Remove a use of module_functionNick Thomas
2017-04-20Merge branch 'issuable-state-custom-links' into 'master' Sean McGivern
Do not append issuable state to links with custom anchor Closes #30916 See merge request !10782
2017-04-20Merge branch 'plantuml-filter-after-highlight' into 'master' Sean McGivern
Fix PlantUML integration in GFM Closes #30557 See merge request !10651
2017-04-19Do not append issuable state to links with custom anchorAdam Niedzielski
Closes #30916 Change the presentation from [closed] to (closed)
2017-04-19Fix PlantUML integration in GFMAdam Niedzielski
Fixes #30557 Use "lang" attribute instead of "class" in PlantumlFilter.
2017-04-19Display issuable state only in notes and issuable descriptionAdam Niedzielski
Closes #30964
2017-04-15Fix regression in rendering Markdown references that do not existStan Hu
Closes #30972
2017-04-13Fix appending state to issuable referencesAdam Niedzielski
Closes #30874. Ignore nodes with no children. Append directly to the node instead of the last child of the node to avoid inheriting formatting from the last child
2017-04-10Reuse "merge_requests_for_nodes" in "MergeRequestParser"Adam Niedzielski
2017-04-07Add indication for closed or merged issuables in GFMAdam Buckland
Example: for issues that are closed, the links will now show '[closed]' following the issue number. This is done as post-process after the markdown has been loaded from the cache as the status of the issue may change between the cache being populated and the content being displayed. In order to avoid N+1 queries problem when rendering notes ObjectRenderer populates the cache of referenced issuables for all notes at once, before the post processing phase. As a part of this change, the Banzai BaseParser#grouped_objects_for_nodes method has been refactored to return a Hash utilising the node itself as the key, since this was a common pattern of usage for this method.
2017-04-06Merge branch '30125-markdown-security'Robert Speicher
Remove class from SanitizationFilter whitelist See merge request !2079
2017-03-29Merge branch 'make_user_mentions_case_insensitive' into 'master' Sean McGivern
Make user mentions case-insensitive Closes #24493 See merge request !10285
2017-03-29Make user mentions case-insensitiveblackst0ne
2017-03-28Get rid of a third N+1 query problemRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-28Get rid of second N+1 query problemRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-28Get rid of a first N+1 query problemRémy Coutable
Use the same approach in Banzai::Filter::MergeRequestReferenceFilter as we do with issues. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-21Merge branch 'fix-links-target-blank' into 'security'Jacob Schatz
Adds rel="noopener noreferrer" to all links with target="_blank" See merge request !2071
2017-03-17Use Enumerable#index_by where possibleDouwe Maan
2017-03-16remove all references to the .es6 in our config files and documentationMike Greiling