Commit graph

10 commits

Author SHA1 Message Date
blackst0ne
7d43484d29 Fix wiki commit message 2017-04-05 12:58:27 +11:00
Rémy Coutable
be25bbc4d2 Fix ProjectWiki#http_url_to_repo signature
New Gitlab::UrlSanitizer.http_credentials_for_user method responsible
for generating a credentials hash from a user.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-20 16:24:01 +01:00
Dongqing Hu
2dd9b8a38a Fix Project Wiki update 2017-03-20 13:53:23 +00:00
TM Lee
333e39d492 [#28991] Wiki page edit button only appears on the current commit page
- Added method to check if the current Page version is the current latest version
- Conditionally checks for current version when showing Edit button
- Added feature specs for viewing project wiki page and expect edit button
- Added Changelog
2017-03-16 09:08:00 +08:00
Semyon Pupkov
3deb66ea56 Add traits for ProjectFeatures to Project factory
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
2017-02-05 13:11:45 +05:00
Mike Greiling
e069875e80 fix tests broken by new wiki page design 2016-11-30 15:22:43 -06:00
Adam Niedzielski
f6cff8f7bc Fix relative links in Markdown wiki when displayed in "Project" tab
Refers to #23806.
2016-11-01 10:18:49 +01:00
Timothy Andrew
42a00f740b WikiPage should have a slug even when not persisted.
1. So we can build the markdown preview URL for it.

2. We can't skip the slug in this case, because the slug is used to
construct relative markdown URLs.

3. Add rspec feature tests to cover creating wiki pages with
   spaces/hyphens in the name.

4. Add rspec feature tests for markdown preview URL rewriting, which was
   only covered by unit tests up to this point.
2016-07-25 09:22:47 +05:30
Rémy Coutable
f1e74de47c
Simplify specs by not over-expecting
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-02 18:34:14 +02:00
Rémy Coutable
3811eb0ba1 Fix error when trying to create a wiki page
Closes #15527.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-29 06:50:18 -07:00