gitlab-org--gitlab-foss/app/views/projects/wikis
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
..
_form.html.haml Merge branch 'master' into extend_markdown_upload 2015-02-24 14:54:39 +01:00
_main_links.html.haml Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
_nav.html.haml Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
_new.html.haml Validate wiki page creation 2015-05-26 19:01:11 +02:00
edit.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
empty.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
git_access.html.haml Capitalize "Git Access" in page title. 2015-04-30 21:15:56 +02:00
history.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
pages.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00
show.html.haml Add a page title to every page. 2015-04-30 19:12:15 +02:00