gitlab-org--gitlab-foss/spec/factories
Rémy Coutable 3d72cb897e Merge branch '18019-fix-wiki-linking' into 'master'
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](f860e9a8dc/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](19b91e749a/builds) passes
    - [ ] Wait for merge

See merge request !4432
2016-06-09 08:37:27 +00:00
..
ci Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
abuse_reports.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
appearances.rb
award_emoji.rb Incorportate feedback 2016-06-01 12:10:08 +02:00
broadcast_messages.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
commit_statuses.rb Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
commits.rb
deploy_keys_projects.rb
emails.rb
events.rb
file_uploader.rb
forked_project_links.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
group_members.rb
groups.rb
identities.rb
issues.rb
keys.rb
label_links.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
labels.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
lfs_objects.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
lfs_objects_projects.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
merge_requests.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
milestones.rb
namespaces.rb
notes.rb Merge branch 'master' into awardables 2016-05-30 18:54:08 +02:00
oauth_access_tokens.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
oauth_applications.rb
personal_snippets.rb
project_group_links.rb
project_hooks.rb
project_members.rb
project_snippets.rb
project_wikis.rb
projects.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
protected_branches.rb
releases.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
sent_notifications.rb
service_hooks.rb
services.rb
snippets.rb
spam_logs.rb
system_hooks.rb
todos.rb Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
u2f_registrations.rb Add a `U2fRegistrations` table/model. 2016-06-06 12:50:31 +05:30
users.rb Add a `U2fRegistrations` table/model. 2016-06-06 12:50:31 +05:30
wiki_pages.rb Implement the correct linking behaviour in `WikiLinkFilter`. 2016-06-09 10:04:15 +05:30