connorshea
b9abf938ed
Wrap images in discussions and wikis with a link to the image source using ImageLinkFilter.
...
Resolves #14411 .
See merge request !3464
2016-04-04 19:44:07 -06:00
Dmitriy Zaporozhets
c466f389fa
Update tests to match new wiki header
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-02-09 00:56:45 +02:00
Jacob Schatz
d3f24a2221
Adds base64 background search icon.
...
All inputs of type `search` will have the gray background
and search icon centered.
Because the search magnifier is a bg image,
I had to hide it with `[value=""]`.
I added a little javascript to make sure each input always has it's
own value.
2016-01-24 20:20:03 -05:00
Douglas Barbosa Alexandre
aac6598482
Relax constraints for wiki slug
...
Since GitHub doesn’t apply these constraints to theirs wiki slug
allowing characters like `,`, `:`, `*`, etc, we need to relax our
constraints or some wiki pages will not be available after they were
imported.
For an example the Devise project have a wiki page with the following
slug: “How To: Add sign_in, sign_out, and sign_up links to your layout
template”
2016-01-14 12:09:31 -02:00
Douwe Maan
5ab1b11e90
Fix specs
2015-12-03 18:42:37 +01:00
Douwe Maan
275c2a3161
Use new style for wiki
2015-12-02 13:59:42 +01:00
Stan Hu
fbb891c8f3
Fix broken Wiki Page History
...
Closes #2104
Closes #1751
Closes #1592
Closes https://github.com/gitlabhq/gitlabhq/issues/9399
2015-09-01 23:29:27 -07:00
Robert Speicher
584f8601ef
Change within to page.within in feature steps
2015-06-12 05:12:42 -04:00
Robert Speicher
69bbc413fe
Update all should-style syntax to expect in features
2015-06-12 05:12:09 -04:00
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
Stan Hu
d79348ab55
Fix Error 500 when searching Wiki pages
...
Closes #1547
2015-04-30 08:54:08 -07:00
Stan Hu
3143edfea6
Fix bug where Wiki pages that include a '/' were no longer accessible
...
Closes #1363
2015-04-07 09:10:11 -07:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Ciro Santilli
b095c1a44e
Factor current_url + URI.path into current_path.
2014-09-23 21:56:38 +02:00
Ciro Santilli
ef6e94e37e
Replace old spinach step definitions with step.
2014-09-22 10:01:50 +02:00
Marin Jankovski
99e0d0dd6f
Unstub after the test is done.
2014-05-07 11:52:07 +02:00
Marin Jankovski
00cd3ecc44
Use stub in testing.
2014-05-06 09:57:08 +02:00
Marin Jankovski
5a949e6095
Add tests for wiki files showing.
2014-05-05 13:47:47 +02:00
Hiroyuki Sato
bca528a57c
Better title format for wiki page
...
The title format for wiki page may be unintelligible.
For example 'GitLab' is converted to 'Git Lab', 'MySQL' is converted to
'My Sql', etc.
2014-04-10 15:14:02 +09:00
Dmitriy Zaporozhets
1bd28994cc
Use ProjectWiki instead of GollumWiki in code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 14:35:58 +03:00
Ciro Santillli
170340e6b1
Remove dir prefix and suffix from tests inside dir.
2014-02-23 10:34:39 +01:00