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
2018-05-18Fix double brackets being linkified in wiki markdownAlex
2018-05-18Resolve "Expand API: Render an arbitrary Markdown document"blackst0ne
2018-04-25Fix commit trailer rendering when Gravatar is disabledDouwe Maan
2018-04-17make call to 'html_escape' unambiguousBrett Walker
2018-04-12Fix reference filters in group contextJan Provaznik
Since !18150 abstract reference filter supports also `group` as a resource parent (not only `project`). Some reference filters, which inherit from abstract filter, depend on parent being `project` when checking a reference. This patch adds explicit check of parent class to the given filters.
2018-04-11Support Markdown rendering using multiple projectsYorick Peterse
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
2018-04-06Merge branch '17939-osw-patch-support-gfm' into 'master'Sean McGivern
Add support for patch link extension for commit links on GFM Closes #17939 See merge request gitlab-org/gitlab-ce!18229
2018-04-06Add support for patch link extension for commit links on GFMOswaldo Ferreira
2018-04-05Better group support notes-related codeJan Provaznik
Updates notes-related services and rendering so this code can be easily used for group-scoped resources (specifically Epics). Related to gitlab-ee!5205
2018-04-04Merge branch 'osw-41401-render-mr-commit-sha-instead-diffs' into 'master'Sean McGivern
Render MR commit SHA instead "diffs" when viable on GFM See merge request gitlab-org/gitlab-ce!18141
2018-04-04Allow assigning and filtering issuables by ancestor group labelsFelipe Artur
2018-04-04Add banzai filter to detect commit message trailers and properly link the usersOmar Mekky
2018-04-04Render MR commit SHA instead "diffs" when viableOswaldo Ferreira
2018-04-02Bump html-pipeline to 2.7.1blackst0ne
2018-03-28Fix auto-linking with escaped HTML entitiesSean McGivern
We displayed the correct text as the link text (without double-encoding), but didn't do the same for the actual link target, so any link containing an ampersand would break when auto-linked.
2018-03-23Add ?, !, and : to trailing puncutation excluded from auto-linkingSean McGivern
2018-03-23Fix issuable state indicatorJan Provaznik
Now the issuable reference check works only in project scope, if we reference an issuable from a non-project resource (e.g. epics), then project is not set, and there is mismatch in generated issue references. This patch enables issuable reference state check also from group scope. Closes gitlab-ee#4683 Related to #30916
2018-03-20move render_gfm into behaviors directoryMike Greiling
2018-03-11Manually escape '#' when building relative uris, fixes #42459Jan
2018-03-07Merge branch 'replace_redcarpet_with_cmark' into 'master'Sean McGivern
Add CommonMark markdown engine See merge request gitlab-org/gitlab-ce!14835
2018-03-07Add CommonMark markdown engineblackst0ne
2018-03-05Add Gitaly N+1 notice for Banzai filteringAlejandro RodrĂ­guez
2018-03-05Merge branch '41719-mr-title-fix' into 'master'Douwe Maan
Render htmlentities correctly for links not supported by Rinku Closes #41719 See merge request gitlab-org/gitlab-ce!17180
2018-03-02Match Rinku's behaviour for closing punctuation in linksSean McGivern
Rinku 2.0.0 (the version we use) will remove the last character of a link if it's a closing part of a punctuation pair (different types of parentheses and quotes), unless both of the below are true: 1. The matching pair has different start and end characters. 2. There are equal numbers of both in the matched string (they don't have to be balanced).
2018-02-27Keep link when redacting unauthorized object linksOswaldo Ferreira
2018-02-22Use `Redactor` to hide cross project informationBob Van Landuyt
Since the redactor can be run on multiple documents at once and query results are stored in the request store.
2018-02-22Port `read_cross_project` ability from EEBob Van Landuyt
2018-02-21Render htmlentities correctly for links not supported by RinkuJarka Kadlecová
2018-02-15Escape HTML entities in commit messagesDouwe Maan
2018-02-09Merge branch 'fix-mermaid-xss' into 'security-10-4'Douwe Maan
[10.4] Fix stored XSS in code blocks
2018-02-03Use %r around multi-line regular expressionsDouwe Maan
2018-02-02Merge branch '24167__color_label' into 'master'Douwe Maan
Add Colors to GitLab Flavored Markdown Closes #24167 See merge request gitlab-org/gitlab-ce!16095
2018-02-01Fix minorsTony Rom
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-29Add Colors to GitLab Flavored MarkdownTony Rom
2018-01-18Correctly escape UTF-8 path elements for uploadsNick Thomas
2018-01-16Fix links to uploaded files on wiki pagesNick Thomas
2018-01-11Ensure that emails contain absolute, rather than relative, links to user uploadsNick Thomas
2018-01-05Copy Mermaid graphs as GFMDouwe Maan
2017-12-23Gracefully handle garbled URIs in MarkdownStan Hu
There are certain inputs that look like valid URIs that are accepted by URI but not Addressable::URI. Handle the case where the latter fails. Closes #41442
2017-12-22Use relative URLs when linking to uploaded filesNick Thomas
2017-12-08Merge branch 'jprovazn-ignore-anchors' into 'master'Sean McGivern
Use prefix for TableOfContents filter hrefs Closes #38473 See merge request gitlab-org/gitlab-ce!15806
2017-12-08Use prefix for TableOfContents filter hrefsJan Provaznik
TableOfContents filter generates hrefs for each header in markdown, if the header text consists from digits and redacted symbols only, e.g. "123" or "1.0 then the auto-generated href has the same format as issue references. If the generated id contains only digits, then 'anchor-' prefix is prepended to the id. Closes #38473
2017-12-07fix the missing reference to #references_per_projectmicael.bergeron
2017-12-07adding view and feature specsmicael.bergeron
2017-12-07add support for the commit reference filtermicael.bergeron
2017-12-07add support for commit (in mr) to reference filtermicael.bergeron
2017-12-07Merge branch 'ce-backport-3615' into 'master'Sean McGivern
Refactor banzai to support referencing from group context See merge request gitlab-org/gitlab-ce!15766
2017-12-07Support uploads for groupsJarka Kadlecova
2017-12-06Refactor banzai to support referencing from group contextJarka Kadlecova