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
2016-03-01Merge branch 'rs-wiki-toc' into 'master' Douwe Maan
Replace Gollum `[[_TOC_]]` tag with result of TableOfContentsFilter Closes #2494 See merge request !2952
2016-02-24Sanitize `vbscript:` linksRobert Speicher
Closes https://dev.gitlab.org/gitlab/gitlabhq/issues/2660
2016-02-24Replace Gollum `[[_TOC_]]` tag with result of TableOfContentsFilterRobert Speicher
Closes #2494
2016-02-22Sanitize `data:` linksRobert Speicher
Closes #13625
2016-02-19Merge branch 'rs-emoji' into 'master' Douwe Maan
Update Gemojione for new hotness :sparkles: Before | After ------ | ----- ![Screen_Shot_2016-02-12_at_3.38.43_PM](/uploads/299e5ffe38c91657085741261a678f81/Screen_Shot_2016-02-12_at_3.38.43_PM.png) | ![Screen_Shot_2016-02-12_at_3.38.09_PM](/uploads/ccee29719a6445a9efd2498391a7eea0/Screen_Shot_2016-02-12_at_3.38.09_PM.png) See merge request !2800
2016-02-12Update Emoji asset pathRobert Speicher
Now that we're serving assets directly from the Gemojione gem's path, the images are not in an `emoji/` sub-folder.
2016-02-12Fix relative links in other markup formatsBen Boeckel
- Apply the RelativeLinkFilter filter to other formats, e.g., reStructuredText so links from the Files view or the Project view work - Remove the AsciidocPipeline pipeline Fixes #3533.
2016-02-06Allow limited Markdown in Broadcast MessagesRobert Speicher
Closes #11853
2016-02-04Make Pipelines responsible for defining their custom whitelistRobert Speicher
This allows for future pipelines to more easily define a custom whitelist.
2016-01-23Whitelist raw "abbr" elements when parsing MarkdownBenedict Etzel
Closes #12517
2016-01-20Gracefully handle invalid UTF-8 sequences in Markdown linksStan Hu
Closes #6077
2016-01-14Merge branch 'backport-ee' into 'master' Robert Speicher
Backport two commits from EE Backport part of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/110 See merge request !2424
2016-01-14Update documentation on Banzai::Filter::GollumTagsFilterDouglas Barbosa Alexandre
2016-01-14Refactoring Banzai::Filter::GollumTagsFilterDouglas Barbosa Alexandre
2016-01-14Remove GollumTagsPipelineDouglas Barbosa Alexandre
2016-01-14Use the WikiPipeline when rendering the wiki markdown contentDouglas Barbosa Alexandre
2016-01-14Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTMLDouglas Barbosa Alexandre
2016-01-14Prevent circular reference error in BanzaiDouwe Maan
2016-01-12Fix #9963 reference_filter "Encoding::CompatibilityError" bug with some ↵Jason Lee
complex URL;
2016-01-07Merge branch 'task-list-class' into 'master' Robert Speicher
Properly set task-list class on single item task lists Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4193 See merge request !2330
2016-01-07Merge branch 'milestone-ref' into 'master' Robert Speicher
Link to milestone in "Milestone changed" system note Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4141 See merge request !2203
2016-01-07Properly set task-list class on single item task listsDouwe Maan
2016-01-06Merge branch 'rs-issue-1697' into 'master' Douwe Maan
Define a limited set of filters for SingleLinePipeline Removes the following filters from its parent GfmPipeline: - SyntaxHighlightFilter - UploadLinkFilter - TableOfContentsFilter - LabelReferenceFilter - TaskListFilter Closes #1697 See merge request !2257
2016-01-06Revert "Temporarily disable Markdown caching"Douwe Maan
This reverts commit d337d5e7137d9b3fd0f9b8890a3ba9296323acc7.
2016-01-06Revert "Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue."Douwe Maan
This reverts commit 4b027bc93a7875c3937f6b90ac1049b4a4d72da5.
2016-01-06Define a limited set of filters for SingleLinePipelineRobert Speicher
Removes the following filters from its parent GfmPipeline: - SyntaxHighlightFilter - UploadLinkFilter - TableOfContentsFilter - LabelReferenceFilter - TaskListFilter Closes #1697
2016-01-05Remove icon from milestone reference.Douwe Maan
2016-01-05Merge branch 'master' into milestone-refDouwe Maan
2016-01-05Merge branch 'rs-relative-links-to-root' into 'master' Douwe Maan
Support a single directory traversal in RelativeLinkFilter Prior, if we were viewing a blob at `https://example.com/namespace/project/blob/master/doc/some-file.md` and it contained a relative link such as `[README](../README.md)`, the resulting link when viewing the blob would be: `https://example.com/namespace/project/blob/README.md` which omits the `master` ref, resulting in a 404. Fixes https://gitlab.com/gitlab-org/release-tools/issues/3 See merge request !2247
2016-01-04Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue.Douwe Maan
2015-12-31Optimize CSS expressions produced by NokogiriYorick Peterse
Nokogiri produces inefficient XPath expressions when given CSS expressions such as "a.gfm". Luckily these expressions can be optimized quite easily while still achieving the same results. In the two cases where this optimization is applied the run time has been reduced from around 170 ms to around 15 ms.
2015-12-31Don't use delegate to delegate trivial methodsYorick Peterse
Around 300 ms (in total) would be spent in these delegated methods due to the extra stuff ActiveSupport adds to the compiled methods. Because these delegations are so simple we can just manually define the methods, saving around 275 milliseconds.
2015-12-31Use XPath for searching link nodesYorick Peterse
This is a tad faster than letting Nokogiri figure out whether it should evaluate the query as CSS or XPath and then actually evaluating it.
2015-12-30Support a single directory traversal in RelativeLinkFilterRobert Speicher
Prior, if we were viewing a blob at `https://example.com/namespace/project/blob/master/doc/some-file.md` and it contained a relative link such as `[README](../README.md)`, the resulting link when viewing the blob would be: `https://example.com/namespace/project/blob/README.md` which omits the `master` ref, resulting in a 404.
2015-12-28Merge branch 'mention-all' into 'master' Robert Speicher
Only allow group/project members to mention `@all` Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3473 See merge request !2205
2015-12-25Merge branch 'master' into milestone-refDouwe Maan
2015-12-24Escape all the things.Douwe Maan
2015-12-24More escaping!Douwe Maan
2015-12-24Only allow group/project members to mention `@all`Douwe Maan
2015-12-24Render milestone links as referencesDouwe Maan
2015-12-24Escape reference link textDouwe Maan
2015-12-18Backport JIRA serviceDrew Blessing
2015-12-16Temporarily disable Markdown cachingDouwe Maan
2015-12-16Merge remote-tracking branch 'origin/feature/update-rubocop'Dmitriy Zaporozhets
2015-12-15Use lazy reference extractor to get issue's MRsDouwe Maan
2015-12-15Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan