gitlab-org--gitlab-foss/app/views/projects
Jeroen van Baarsen b16aad9dd1 Validate wiki page creation
**What does this do?**
It adds validation to the creation of a wiki page, that way the user gets real
feedback instead of just a 404 page if the name of the wiki page was invalid

**Why is this needed?**
There are a lot of characters that are not allowed in the creation of a wiki
page, there is even a small text that is saying: Please don't use spaces.
Although we have that text there, we don't actually validate on this. This
commit adds validation on the title and gives the user actual feedback.

**What issues does this fix?**
Fixes http://github.com/gitlabhq/gitlabhq/issues/5357
Fixes https://github.com/gitlabhq/gitlabhq/issues/8565
Fixes https://github.com/gitlabhq/gitlabhq/issues/3913
Fixes https://github.com/gitlabhq/gitlabhq/issues/8166

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-05-26 19:01:11 +02:00
..
blame Add a page title to every page. 2015-04-30 19:12:15 +02:00
blob Disabled expansion of top/bottom blobs for new file diffs 2015-05-21 09:25:07 +02:00
branches Add Merge Request button to branches page. 2015-05-09 22:55:19 +02:00
commit Include commit message in page title. 2015-04-30 21:12:31 +02:00
commits Fix Atom feeds. 2015-05-21 11:39:33 +02:00
compare Add Create Merge Request buttons to commits page and push event. 2015-05-09 22:26:52 +02:00
deploy_keys Add a page title to every page. 2015-04-30 19:12:15 +02:00
diffs Disabled expansion of top/bottom blobs for new file diffs 2015-05-21 09:25:07 +02:00
forks Add a page title to every page. 2015-04-30 19:12:15 +02:00
graphs Add a page title to every page. 2015-04-30 19:12:15 +02:00
hooks Add support for Webhook note events 2015-05-21 23:48:16 -04:00
imports Add a page title to every page. 2015-04-30 19:12:15 +02:00
issues Fix Atom feeds. 2015-05-21 11:39:33 +02:00
labels Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
merge_requests Use the user list from the target project in a merge request 2015-05-22 09:52:09 -04:00
milestones Refactor permission checks to use can? instead of issues_enabled and merge_requests_enabled 2015-05-25 16:51:04 -07:00
network Include ref in network page title. 2015-04-30 21:14:26 +02:00
notes Always show note action icons. 2015-05-14 12:18:19 +02:00
project_members Add a page title to every page. 2015-04-30 19:12:15 +02:00
protected_branches Add a page title to every page. 2015-04-30 19:12:15 +02:00
refs
repositories Align project download button with others in sidebar on project home page 2015-04-14 17:08:01 +03:00
services Add a page title to every page. 2015-04-30 19:12:15 +02:00
snippets Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tags Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tree Fix alignment of ref picker, breadcrumb and buttons. 2015-05-12 10:27:17 +02:00
wikis Validate wiki page creation 2015-05-26 19:01:11 +02:00
_aside.html.haml Small css improvements 2015-05-19 21:15:41 +03:00
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_errors.html.haml
_github_import_modal.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml Fix project description and avatar alignment 2015-05-05 19:25:18 +03:00
_issuable_form.html.haml Use the user list from the target project in a merge request 2015-05-22 09:52:09 -04:00
_md_preview.html.haml Make issue preview look like the result 2015-04-21 22:16:53 +02:00
_section.html.haml Add icons to more tabs. 2015-05-12 10:27:17 +02:00
_zen.html.haml
edit.html.haml Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
empty.html.haml Move clone panel to sidebar 2015-05-05 13:09:50 +03:00
go_import.html.haml
new.html.haml Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
no_repo.html.haml
show.atom.builder Fix Atom feeds. 2015-05-21 11:39:33 +02:00
show.html.haml Fix project description and avatar alignment 2015-05-05 19:25:18 +03:00
transfer.js.haml
update.js.haml