Chris Causer
5a661fdacc
Add tests for escaped characters in title
2011-12-14 13:07:13 +00:00
Vicent Marti
af09f99c8a
Fix newline tests in code blocks
2011-12-07 13:02:54 +01:00
Vicent Marti
108876d9a1
Do not assume Markdown output is XHTML
...
Self-closing tags are bad for your health.
2011-12-07 12:34:59 +01:00
Vicent Marti
1eb65caff4
Remove dependency on Redcarpet
...
Now Gollum does all its Markdown processing through GitHub::Markup; if
you require a custom Markdown renderer using Redcarpet or another
library, you can hot-load it from your own code base:
Gollum::Wiki.markup_classes[:markdown] = YourRedcarpetRenderer
2011-12-07 12:12:02 +01:00
Joshua Peek
3cba98fee6
Merge branch 'master' into server-side-tex
2011-11-28 13:21:46 -06:00
Joshua Peek
cc96786ac0
Fix Wiki XSS vuln
2011-11-15 15:29:05 -06:00
Joshua Peek
7a4e57a49d
Fix Tex tests
2011-10-24 15:54:40 -05:00
rick
8c1f82d894
let Gollum::Markup handle code blocks instead of RedCarpet
2011-09-29 11:02:35 -06:00
Joshua Peek
50de79171a
Rebuild empty.git fixture
2011-09-27 14:01:58 -05:00
Joshua Peek
e8b3854682
Hush test clone warnings
...
warning: You appear to have cloned an empty repository.
2011-09-27 13:49:59 -05:00
Joshua Peek
39b1177ba0
Check in empty directories
2011-09-27 13:43:52 -05:00
Mihail Minkov
b8ce2b251d
The first page in an empty repository can now be previewed.
2011-09-27 18:52:51 +03:00
risk
20e4ca6a56
normalize test output
2011-08-08 15:26:27 -07:00
risk
cd4704aed7
prefix name attributes too
2011-08-08 15:02:10 -07:00
risk
c9c7db5a53
add backwards compatible Gollum::Wiki.markup_class
2011-07-21 16:17:09 -07:00
Scott Chacon
aa258dbe6b
fix test breaking due to new footnote anchor
2011-07-19 12:55:43 -07:00
Scott Chacon
5a7659e1c3
fix tests breaking due to whitespace issues
2011-07-19 12:55:19 -07:00
Josh Cheek
c2919897e2
add test that fails when editing pages while using page_file_dir
2011-06-07 22:45:41 -05:00
Schuyler Duveen
c22050fca8
allow @id attributes but force a "wiki-" prefix
2011-05-04 11:50:38 -04:00
rick
ad561226b9
merrrge
2011-03-31 15:11:24 -07:00
rick
e0494a6321
fix tests
2011-03-10 11:06:18 -08:00
rick
ecb44b50e1
use Albino::Multi
2011-03-03 16:28:13 -08:00
rick
f8b25f44f7
i think ruby 1.9 needs this. can't live without
...
it.
2011-03-03 15:22:31 -08:00
Tom Clark
8403868ac3
Test that wikis can write to different branches in isolation
2011-02-22 00:12:32 -05:00
Caleb Spare
db3d534ee5
[Frontend] Fixed bug that gave a bad redirect on page edit.
2011-02-09 13:33:31 -08:00
rick
732e8a9361
fix bug where relative images in previews did not render
2011-01-27 16:34:29 -08:00
Randy Merrill
e3950d52c1
Removing the ref as an argument to the Committer#parents and just using the @wiki.ref.
...
Updated the test to reflect the change and to test creating a wiki with a custom ref returns the correct parent for the `Committer#parents`.
2011-01-27 13:59:39 -08:00
Randy Merrill
7427ddd900
Adding some tests to test that the commiter can retrieve parents that are not the same as the wiki ref.
...
Also testing that the default wiki ref works without passing a ref.
2011-01-27 13:00:54 -08:00
rick
8ddb781588
yield the created SHA1 in the after_commit callback
2011-01-19 05:51:16 -08:00
rick
2b1510af11
edit a page, sidebar, and footer all in one commit
2011-01-19 05:20:58 -08:00
rick
aae9eb1883
refactor wiki commit logic into Gollum::Committer class
2011-01-19 05:16:16 -08:00
rick
a9d4e117aa
fix markup formatting edge case
2011-01-17 10:17:14 -08:00
rick
feff07ae9c
Merge branch 'org-mode-file-links' of https://github.com/hugoduncan/gollum into hugoduncan-org-mode-file-links
2011-01-17 10:12:50 -08:00
rick
e77cba96fd
add git test fixture for page_file_dir tests
2011-01-17 10:08:58 -08:00
rick
f6f8428daf
merge page-file-dir_option branch
2011-01-17 10:05:21 -08:00
rick
ca2aaa543a
Merge branch 'mediawiki_fixups' of https://github.com/qmx/gollum into qmx-mediawiki_fixups
2011-01-17 09:06:00 -08:00
rick
e2a4514be5
add the ability to revert whole commits that touch multiple files
2011-01-13 15:50:35 -08:00
rick
002fe8d409
add method for getting the reverse diff without a page path
2011-01-13 13:32:15 -08:00
rick
9a4e2e39a8
update albino to 1.2.3, handle bad code blocks gracefully
2011-01-12 15:00:58 -08:00
Douglas Campos
2dbb4e9fa7
fixed mediawiki link handling
2011-01-12 00:57:21 -02:00
Douglas Campos
e4103e6181
testing link labeling current behavior
2011-01-11 22:50:59 -02:00
rick
c5e4935e85
tweak code markup parser so that blocks without a language are just output in pre tags
2011-01-11 01:00:51 -08:00
rick
45765eb161
add proper shell escaping for Albino
2011-01-11 00:58:04 -08:00
Hugo Duncan
32d1f9eb2f
Add parsing of org-mode [[file:path.org][label]] links
2011-01-07 23:59:36 -05:00
rick
4fa3951718
fix tests for normalize_dir
2010-12-31 12:30:23 -06:00
rick
e641f69589
add test for BlobEntry.normalize_dir
2010-12-31 12:25:18 -06:00
rick
491eee7ebd
each test file that clones a repo gets its own repo path
2010-12-21 10:37:04 -08:00
Eston Bond
58a680ab6d
Merge branch 'master' of git://github.com/github/gollum
2010-12-21 02:36:43 -08:00
rick
8769e3475b
it does not assume you want to revert the parent of the first sha when reverting 2 shas
2010-12-09 17:21:09 -08:00
rick
979d89a23f
add revert action
2010-12-09 17:19:18 -08:00