Valery Sizov
a5632e802b
Search for a filename in a project
2016-11-16 14:25:54 +02:00
Alejandro Rodríguez
60aee5b7af
Add method missing from EE
2016-08-12 21:56:40 -04:00
Alejandro Rodríguez
86359ec854
Refactor repository paths handling to allow multiple git mount points
2016-06-29 22:30:31 -04:00
Gabriel Mazetto
04084996e5
Codestyle changes
2016-05-31 11:24:58 -03:00
Gabriel Mazetto
aaaed331ba
Fix hook data for Wiki Page event
...
Added "wiki" section and removed "repository"
2016-05-31 11:24:58 -03:00
Artem Sidorenko
e5c9710147
Use the relative url prefix for links in Wiki
2016-05-13 22:42:07 +02:00
Gabriel Mazetto
f5a0ac0fc1
Codestyle: make sure we have space around operators
2016-05-13 04:46:56 -03:00
Rémy Coutable
f52a15e022
Revert "Merge branch 'wiki-fix' into 'master'
"
...
This reverts commit 4cc85a58e8
, reversing
changes made to 90ae445ba9
.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-10 10:57:48 +02:00
Artem Sidorenko
14b36f91d9
Use the proper GitLab URL for links in Wiki
2016-05-09 11:50:23 +02:00
Yorick Peterse
68a4c98f50
Cache output of Repository#exists?
...
This caches the output of Repository#exists? in Redis while making sure
it's flushed properly when creating new repositories, deleting them,
etc.
For the ProjectWiki tests to work I had to make ProjectWiki#create_repo!
public as testing private methods in RSpec is a bit of a pain.
2016-03-19 21:54:08 +01:00
Hiroyuki Sato
8acad49fe0
Support Wiki with UTF-8 page name
2016-03-16 02:17:07 +09:00
Yorick Peterse
f253f72529
Cleaned up Repository#initialize
...
The "default_branch" argument is never used and the "project" argument
isn't optional.
2016-02-16 12:13:13 +01:00
Valery Sizov
be7bc9d9b0
Backport some changes from EE
2016-01-22 11:24:44 +02:00
Douglas Barbosa Alexandre
a6a5990ee5
Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML
2016-01-14 12:09:31 -02:00
Robert Speicher
ccb0c40c54
Make ProjectWiki touch Project#last_activity_at after wiki actions
...
Closes #3026
2015-11-16 13:08:25 -05:00
Jeroen van Baarsen
fa2aee5048
Use .md as extention for wiki pages
...
**What does this do?**
It makes sure that when you create a wiki page via the web interface, the
extention is .md instead of .markdown
**Why is this needed?**
When you're using Gollum locally, it will create pages with the .md extention.
Also .md is the best known extention for markdown. This fix will make sure that
if you're using gollum or the webinterface, the extention will be the same.
**What issues does this fix?**
Fixes https://github.com/gitlabhq/gitlabhq/issues/5204
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-05-26 18:12:46 +02:00
Douwe Maan
84a1590252
Let commit model know about its project.
2015-04-24 12:29:36 +02:00
Stan Hu
59d5c77975
Fix dots in Wiki slug causing errors
...
Closes #1263 , #431
2015-03-21 18:33:51 -07:00
Dmitriy Zaporozhets
e890582681
Rubocop enabled for: Use spaces inside hash literal braces
2015-02-02 20:36:54 -08:00
Jeroen van Baarsen
4eb3c47d4e
Fixed a lot of already defined notices
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2014-12-14 15:13:09 +01:00
Dmitriy Zaporozhets
4b65b0e0f5
Fix wiki
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 13:56:23 +03:00
Christian Sarazin
4a14b5900b
Added AsciiDoc support and changed to singlequotes
...
extension to https://github.com/gitlabhq/gitlabhq/pull/7568
2014-08-22 12:33:58 +02:00
Loic Nageleisen
c1ccc3a57b
Added ability to serve files in wiki repository
...
From #6168 .
2014-06-07 11:14:33 +02:00
Marin Jankovski
c4b1a5f5ea
Allow nested files in wiki.
2014-04-28 16:22:31 +02:00
Dmitriy Zaporozhets
26ec74c446
Refactor wiki model
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-04-09 14:35:26 +03:00