Rémy Coutable
6b7e9c7655
Remove VideoJS and clean the integration
...
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-07-20 11:36:42 +02:00
Alfredo Sumaran
7be19db42f
Set target="_blank" for external links
2016-06-08 13:07:20 -05:00
Douwe Maan
fc1910ddc5
Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename'
...
# Conflicts:
# app/services/system_note_service.rb
2016-05-20 16:23:04 -05:00
Adam Butler
8a8b5497c5
Create DiffFilter and change SystemNoteService#change_title to use Gitlab::Diff::InlineDiff
2016-05-18 11:15:10 -05:00
Alejandro Rodríguez
6d9794d42a
Transforming milestones link references to the short reference form
2016-04-20 22:12:43 -03:00
Alejandro Rodríguez
077f9a4eee
Implementing special GitLab markdown reference for milestones
...
Using the syntax proposed in #13829 [project_reference]%(milestone_id | milestone_name)
to get a link to the referred milestone.
2016-04-20 22:12:43 -03:00
Grzegorz Bizon
65ba4da925
Add support for keyword arguments in label reference method
2016-03-03 10:41:11 +01:00
Douglas Barbosa Alexandre
a8c836c371
Add tests for the wiki pipeline
2016-01-14 12:09:31 -02:00
Douwe Maan
539b41929b
Milestone reference is a Markdown link
2016-01-07 12:26:05 +01:00
Douwe Maan
989131c530
Render milestone links as references
2015-12-24 14:43:07 +01:00
Douwe Maan
f905fd239c
Use URL helpers in specs
2015-12-03 14:00:09 +01:00
Douwe Maan
c07f0fa735
Add new references to markdown feature spec.
2015-12-01 17:04:32 +01:00
Robert Speicher
0673ca3681
Add RelativeLinkFilter section to Markdown fixture
2015-07-28 18:56:27 -04:00
Robert Speicher
b07df8b1b0
Make links inside ignored elements unique
...
This is to prevent false matches since the Autolink section uses
about.gitlab.com as well.
2015-07-28 18:56:26 -04:00
Robert Speicher
7424d2fa5b
Add ExternalLinkFilter to Markdown pipeline
...
Forces a `rel="nofollow"` attribute on all external links.
2015-05-27 15:39:08 -04:00
Robert Speicher
ca268b85f6
Use to_reference in Markdown feature spec
2015-05-26 15:48:30 -04:00
Robert Speicher
70bbf093aa
Remove class and id attributes from SanitizationFilter whitelist
2015-05-08 12:31:34 -04:00
Dmitriy Zaporozhets
6c32abc5f7
Merge branch 'rs-task_list' into 'master'
...
Use task_list gem for task lists
Task Lists can now be used in comments, and they'll render in previews. 👏
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271
See merge request !599
2015-05-08 09:39:48 +00:00
Robert Speicher
fdff815a4c
Add Markdown feature specs for markup inside links
...
It was already working, just want to make sure we don't break it in the
future.
2015-05-06 17:21:19 -04:00
Robert Speicher
c915c7b001
Add TaskList to Markdown feature spec
2015-05-06 13:00:13 -04:00
Robert Speicher
242bebc134
Remove special handling for the '
problem
...
While `escape_once` will create this HTML entity, Nokogiri always
translates it back before it gets to IssueReferenceFilter, so there
should be no danger of erroneous issue links.
2015-04-30 16:35:27 -04:00
Robert Speicher
286c9e6886
Add a feature spec for our entire Markdown parsing stack
2015-04-30 16:35:25 -04:00