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-07-27Remove superfluous type defs in specsKeifer Furzland
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-24Resolve "Lazy load images on the Frontend"Tim Zallmann
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-04-27Rename GitlabMarkdownHelper -> MarkupHelperToon Claes
It does more than solely GitLab Markdown, so rename to MarkupHelper.
2017-03-06SanitizationFilter allows html5 details and summary (Issue #21605)James
Also adds details/summary tags to Copy-as-GFM
2016-07-20Remove VideoJS and clean the integrationRémy Coutable
Handle videos in: - MD preview in notes: commit, issue/MR, MR diff - New notes in: commit, issue/MR, MR diff - Persisted notes in: commit, issue/MR, MR diff Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-09Merge branch '18019-fix-wiki-linking' into 'master' Rémy Coutable
Fix wiki linking behavior for markdown wiki pages Related to #18019 - As per the documentation in !4372 ## TODO - [ ] !4432 Have wiki linking behave as per the documentation - [x] Move `WikiLinkFilter` specs to the pipeline level - [x] Verify current behavior on wiki `show` page - [x] Fix current behavior on wiki `show` page - [x] Verify current behaviour on wiki preview - [x] Fix current behaviour on wiki preview - [x] Rewrite all links and get preview links working - [x] Make sure all links are on-par with the wiki `show` page - [x] TDD `WikiLinkFilter` and get it working - [x] Hook `WikiLinkFilter` up - [x] Fix tests - [x] Fix `markdown_spec` - [x] Fix `wiki` spinach feature - [x] Wait for [build](https://gitlab.com/gitlab-org/gitlab-ce/commit/4f50dd2/builds) to pass - [x] Make sure all wiki-related pages are working as expected (history, all pages, etc.) - [x] Test in different ruby versions - [x] GitLab instances hosted on a relative URL - [x] Non-markdown rendering formats? - [x] RDoc - [x] ASCIIDoc - [x] Create issues to fix things for RDoc and ASCIIDoc - [x] Gauge performance impact - [x] Refactor - [x] Re-organize commits - [x] Make sure [build](https://gitlab.com/gitlab-org/gitlab-ce/commit/f860e9a8dcabe7d5f160c32fc549807c98baa4a1/builds) passes - [x] Respond to @rymai's comments - [x] `class WikiLinkFilter < HTML::Pipeline::Filter` - [x] blank line after guard clause - [x] keyword arguments for `wiki` and `slug` - [x] invert the condition - [x] inline `user` in spec - [x] Make sure spec names are not out of date - [x] Comment for each rewrite rule - [x] Add CHANGELOG entry - [x] Reorganize commits - [x] Make sure [build](https://gitlab.com/gitlab-org/gitlab-ce/commit/19b91e749a6320d12fb299d33f1f6440777e0e26/builds) passes - [ ] Wait for merge See merge request !4432
2016-06-09Hook up the updated `WikiLinkFilter` to the wiki controllers.Timothy Andrew
- Need to pass in a `page_slug` to the filter, so it can rewrite based on the current page (all links are rewritten to the level of the app root). - The earlier `markdown_preview` endpoint was at the level of the wiki. We need to know the current page (for rewriting, as above), so this commit moves the endpoint to the level of a wiki page. - Fix all tests
2016-06-08Combine tests for internal linksAlfredo Sumaran
2016-06-08Set target="_blank" for external linksAlfredo Sumaran
2016-06-07Fix markdown_spec to not use `before(:all)` in order to properly cleanup ↵Kamil Trzcinski
database after testing
2016-05-18Create DiffFilter and change SystemNoteService#change_title to use ↵Adam Butler
Gitlab::Diff::InlineDiff
2016-04-21Fix failing specAlfredo Sumaran
2016-04-06Ensure correct filter order to validate with our markdown specGabriel Mazetto
2016-04-06Fix a few edited references from WikiLinkFilter and specsGabriel Mazetto
2016-01-14Add tests for the wiki pipelineDouglas Barbosa Alexandre
2015-12-24Render milestone links as referencesDouwe Maan
2015-09-02Add post_process method to Gitlab::MarkdownRobert Speicher
2015-08-28Decouple Gitlab::Markdown from the GitlabMarkdownHelperRobert Speicher
This module is now the sole source of knowledge for *how* we render Markdown (and GFM).
2015-08-26Fix failing specRobert Speicher
2015-08-26Remove user_color_scheme_classRobert Speicher
Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent.
2015-08-13Remove the `gfm_with_options` helperRobert Speicher
It was redundant because `gfm` also took options.
2015-07-29Fix setup/teardown for Markdown feature specRobert Speicher
Prior, CI seemed to be freezing after running these specs.
2015-07-29Update Markdown feature to allow for multiple pipelinesRobert Speicher
2015-07-29Move MarkdownFeature to its own support fileRobert Speicher
This file's about to get much bigger and this removes some of the extra noise.
2015-07-29Break up SanitizationFilter feature specsRobert Speicher
2015-07-29Use aggregate_failures where appropriateRobert Speicher
2015-07-29Minor Markdown feature spec reorganizationRobert Speicher
2015-07-29Simplify AutolinkFilter specsRobert Speicher
2015-07-07Add `feature` tag to feature specsRobert Speicher
Not to be confused with the RSpec `type: :feature` tag, this tag is used by the `spec:feature` Rake task for filtering/grouping specs.
2015-06-02Add feature specs for Project and Group description renderingRobert Speicher
2015-05-27Add ExternalLinkFilter to Markdown pipelineRobert Speicher
Forces a `rel="nofollow"` attribute on all external links.
2015-05-26Add a note about the commented-out test in Markdown FeatureRobert Speicher
2015-05-26Use to_reference in Markdown feature specRobert Speicher
2015-05-08Remove class and id attributes from SanitizationFilter whitelistRobert Speicher
2015-05-08Merge branch 'rs-task_list' into 'master'Dmitriy Zaporozhets
Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
2015-05-07Fix Markdown feature specRobert Speicher
2015-05-07Add Markdown feature specs for markup inside linksRobert Speicher
It was already working, just want to make sure we don't break it in the future.
2015-05-06Add TaskList to Markdown feature specRobert Speicher
2015-04-30Autolink short URLsRobert Speicher
2015-04-30Add a feature spec for our entire Markdown parsing stackRobert Speicher