gitlab-org--gitlab-foss/app/controllers/projects
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
..
application_controller.rb Project#show on projects pending deletion will 404 2016-05-28 03:14:43 -07:00
artifacts_controller.rb Remove 'unscoped' from project builds selection 2016-06-04 00:02:40 +02:00
avatars_controller.rb
badges_controller.rb
blame_controller.rb
blob_controller.rb
branches_controller.rb Update tests to match new Code tab logic 2016-06-03 10:13:40 +03:00
builds_controller.rb Merge remote-tracking branch 'origin/master' into rename-ci-commit 2016-06-06 16:33:52 +02:00
commit_controller.rb Rename all ci_commit[s] in application code to pipeline[s] 2016-06-03 16:27:50 +02:00
commits_controller.rb API support for the 'since' and 'until' operators on commit requests 2016-04-29 09:26:52 +02:00
compare_controller.rb Use `@diff_notes_disabled` instead of `@comments_allowed` 2016-05-13 17:31:58 -05:00
container_registry_controller.rb Verify if registry is enabled in registry 2016-05-18 12:28:48 -05:00
deploy_keys_controller.rb Project deploy keys updated UI 2016-04-25 16:26:41 +01:00
find_file_controller.rb Enable Style/EndOfLine Rubocop style cop 2016-05-30 10:35:37 +02:00
forks_controller.rb
git_http_controller.rb Skip authenticity token checks for Git HTTP 2016-06-08 16:00:49 -04:00
graphs_controller.rb API support for the 'since' and 'until' operators on commit requests 2016-04-29 09:26:52 +02:00
group_links_controller.rb Use guard clause to check ability to share project 2016-04-19 12:15:56 +02:00
hooks_controller.rb Add Admin UI to enable Wiki Page events webhook in projects 2016-05-30 16:12:50 -03:00
imports_controller.rb removed transaction stuff 2016-05-13 13:12:21 +02:00
issues_controller.rb Respond to .json only 2016-06-03 17:14:23 -05:00
labels_controller.rb add :set_priorities to :authorize_admin_labels! 2016-06-06 11:59:49 -05:00
merge_requests_controller.rb Merge branch 'zj-workhorse-to-serve-diffs' into 'master' 2016-06-07 12:50:29 +00:00
milestones_controller.rb Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage' 2016-05-18 12:48:23 -05:00
network_controller.rb
notes_controller.rb Backend awardables on comments 2016-06-06 11:03:39 +02:00
notification_settings_controller.rb
pipelines_controller.rb Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline 2016-06-02 16:59:04 +02:00
project_members_controller.rb Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage' 2016-05-18 12:48:23 -05:00
protected_branches_controller.rb
raw_controller.rb
refs_controller.rb
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb
runners_controller.rb Improve displaying validation messages for runner 2016-05-19 22:01:53 +02:00
services_controller.rb add slack notifications for wiki pages 2016-04-20 08:25:40 +08:00
snippets_controller.rb
tags_controller.rb
tree_controller.rb
triggers_controller.rb
uploads_controller.rb
variables_controller.rb Project variables UI 2016-05-16 10:21:51 +01:00
wikis_controller.rb Hook up the updated `WikiLinkFilter` to the wiki controllers. 2016-06-09 10:15:01 +05:30