bootstraponline
7fa6708483
Add _Header.md to revert.git.
2012-05-07 14:17:15 -06:00
bootstraponline
04579d7ae6
Update test.
2012-05-05 13:51:46 -06:00
bootstraponline
e9a9eb1779
Add header.
2012-05-05 13:49:01 -06:00
Corey Donohoe
9a1dddaccf
whitelist apt uri schemes, fixes #233
2012-05-05 11:56:01 -07:00
bootstraponline
c5d807dd58
Fix tests.
2012-05-02 12:13:18 -06:00
Corey Donohoe
36a11ded4f
Merge pull request #304 from rwfowler/asciidocLinksWithTravis
...
Disable internal link processing for asciidoc
2012-05-01 16:10:51 -07:00
Ryan Fowler
b9dad32707
Fix the test_normalizes_commit_hash on Travis-CI
2012-05-01 17:02:50 -05:00
Ryan Fowler
d1cf698b45
Disable internal link processing for asciidoc
...
asciidoc's representation of section identifiers interferes with
Gollum's page linking. This disables Gollum's page link tag
extraction for asciidoc files.
Adds "apt-get install -y asciidoc" to .travis.yml so tests pass
on @travis-ci.
2012-05-01 14:23:26 -05:00
Corey Donohoe
9dba3f9c58
Revert "Merge pull request #303 from rwfowler/asciidocLinks"
...
This reverts commit 8fbbe40300 , reversing
changes made to b7fb4c5950 .
2012-05-01 19:51:05 +02:00
Ryan Fowler
f73c925ad9
Disable internal link processing for asciidoc
...
asciidoc's representation of section identifiers interferes with
Gollum's page linking. This disables Gollum's page link tag
extraction for asciidoc files.
2012-05-01 11:43:27 -05:00
Jussi Malinen
02073f827b
add id to whitelisted attributes. The transformers still seem to work and prefix ids with wiki-. Uncommented relevant tests.
2012-04-23 20:08:24 +03:00
Vicent Martí
0cc4c9f2c2
Remove the GFM parser; it makes no sense
...
The new versions of GitHub::Markup will automatically render GFM for
Markdown documents if the necessary gems are installed.
2012-04-12 22:54:11 +02:00
Corey Donohoe
d6a4009989
nuke whitespace
2012-04-10 18:38:04 -07:00
Corey Donohoe
0bfa049778
Merge remote-tracking branch 'origin/master' into websequencediagrams
...
Conflicts:
README.md
lib/gollum.rb
lib/gollum/markup.rb
2012-04-10 17:37:48 -07:00
Corey Donohoe
c625440161
Merge pull request #249 from ChrisCauser/master
...
Fix spaces in filenames breaking redirect with Sinatra 1.3.1
2012-04-10 16:10:02 -07:00
Corey Donohoe
aa544f03fb
Merge pull request #166 from arr2036/mediawiki_compat
...
Gollum doesn't play nice with un-canonicalized filenames, and breaks offsite links when replacing mediawiki
2012-04-10 16:04:09 -07:00
Corey Donohoe
eed9b2695a
Merge branch 'master' into code_with_multibyte
...
Conflicts:
lib/gollum/markup.rb
test/test_markup.rb
2012-04-10 15:49:37 -07:00
Corey Donohoe
66a6ee97f0
Merge pull request #273 from polarblau/code_block_ascii_bug
...
Added test for ASCII characters in code blocks created with back ticks.
2012-04-10 15:26:31 -07:00
Polarblau
5f4d312b8e
Added test for ASCII characters in code blocks created with back ticks.
2012-02-07 12:52:06 +02:00
Jesse Newland
be4c52202c
remove contents of script and style elements
...
Avoids rendering HTML-ized CSS and/or Javascript by removing the
contents of script and style elements as well as the elements
themselves.
/cc @technoweenie
Pull Request: master
2012-01-08 22:07:33 -05:00
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
Arran Cudbard-Bell
7c799323a5
Add additional tests to verify that existing filenames are processed properly and not cannonicalized
2011-11-24 11:07:27 +01:00
Joshua Peek
cc96786ac0
Fix Wiki XSS vuln
2011-11-15 15:29:05 -06:00
hibariya
5b84ecf372
ruby1.8 compatibility
2011-11-12 11:32:54 +09:00
hibariya
620926c379
add encoding option
2011-11-12 11:23:04 +09: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