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-07-06Use proper markdown rendering for previewsBrett Walker
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-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
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-06Refactor banzai to support referencing from group contextJarka Kadlecova
2017-12-04show status of issue links in wiki pagehaseeb
2017-11-20Merge branch '39497-inline-edit-issue-on-mobile' into 'master'Annabel Dunstone Gray
Add inline editing to issues on mobile Closes #39497 See merge request gitlab-org/gitlab-ce!15438
2017-11-19Add inline editing to issues on mobileEric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/39497
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-06Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López
2017-11-06Resolve "Editor icons"Tim Zallmann
2017-09-06Adds cacheless render to Banzai object renderTiago Botelho
2017-05-18Fix ProjectCacheWorker for plain READMEsToon Claes
The ProjectCacheWorker refreshes cache periodically, but it runs outside Rails context. So include the ActionView helpers so the `content_tag` method is available.
2017-05-11Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into ↵Robert Speicher
'master' Resolve "Use consistent style for trailing commas" Closes #27144 See merge request !11063
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
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-04-28Pull preserve into render helpersDouwe Maan
2017-04-27Avoid including the MarkupHelperToon Claes
2017-04-27Add commit to the Banzai::post_process contextToon Claes
2017-04-27`markdown` helper is not used with pre-rendered contentToon Claes
2017-04-27Make the `_unsafe` methods privateToon Claes
2017-04-27Single quotes in MarkupHelper where possibleToon Claes
2017-04-27Refactor MarkupHelperDouwe Maan
2017-04-27Cache the rendered README, but post-process on showToon Claes
Because the post-processing of the rendered README is dependent on the context (i.e. the current user), do the post-processing when the README is being displayed.
2017-04-27Move some methods from ApplicationHelper to MarkupHelperToon Claes
2017-04-27Rename GitlabMarkdownHelper -> MarkupHelperToon Claes
It does more than solely GitLab Markdown, so rename to MarkupHelper.