Arran Cudbard-Bell
4543781153
Add tests to check page redirects to create
2012-06-24 22:41:27 +01:00
bootstraponline
611e1a536c
Merge pull request #403 from trans/file
...
Add Wiki#files for list of non-page files.
2012-06-22 09:59:31 -07:00
bootstraponline
c152ae1557
Merge pull request #401 from nature/make_gollum_search_count_additive
...
Update the Wiki.search function to make the results counts 'additive'.
2012-06-22 09:49:04 -07:00
trans
754485c306
Add Wiki#files for list of non-page files.
2012-06-22 08:23:46 -04:00
Darren Oakley
088448a8a1
Update the Wiki.search function to make the results counts 'additive'.
...
i.e. so if we have a file named 'foo' that also contains the word 'foo' is should report 2 matches, not 1.
2012-06-22 12:01:39 +01:00
Darren Oakley
6e35a09abd
Add a 'New Page' button to the /pages browser that allows users to create a new page within a subdirectory.
2012-06-22 11:41:42 +01:00
bootstraponline
40855103ad
Disable failing test.
2012-06-21 17:26:19 -06:00
bootstraponline
02041dbdb7
Work around #363 (grit is broken).
2012-06-21 16:45:38 -06:00
Darren Oakley
971cbb94f6
Make the Sinatra app directory aware.
2012-06-21 15:59:01 +01:00
bootstraponline
9c40cbea76
Merge pull request #377 from pipex/latex-align
...
[Fix] Inline latex formula alignment
2012-06-19 13:22:26 -07:00
bootstraponline
ee56509302
Fix #376 .
...
New syntax for sequence diagrams is {{{{{{ }}}}}}.
2012-06-17 16:11:59 -06:00
Felipe Lalanne
74c1ba1653
[Fix] Inline latex formula alignment
...
Fixed an issue of latex inline formulas not aligning correctly with
the text. The fix is a ruby translation of the Perl code described in
http://tex.stackexchange.com/questions/44486/pixel-perfect-vertical-alignment-of-image-rendered-tex-snippets .
This code calculates the alignment of the generated image depending on
the image size and the size of the white space between the formula and
the margins of the image.
The alignment now is nearly perfect, however the new rendering comes
with a performance impact because of the increased number of operations.
To reduce this impact, the generated images and calculated values for
the alignment are now cached in `~/.cache/gollum`. The caching is done
per formula and not per page, thus avoiding caching the same formula
twice.
The Readme and tests have been modified accordingly with the new tool
requirements and expected markup.
2012-06-11 11:25:25 +02:00
bootstraponline
a4ecc9a187
Merge pull request #371 from bootstraponline/searchfix
...
Search fix (#348 with assert_not_match replacement).
2012-06-03 15:42:21 -07:00
bootstraponline
cc67c8b68e
Don't use assert_not_match.
2012-06-03 16:37:47 -06:00
bootstraponline
b41f660fec
Merge pull request #358 from blmarket/koreanfix
...
Use grit with force_encoding('ascii-8bit')
2012-06-03 15:00:37 -07:00
bootstraponline
c530c70575
Add tests for file_view.
2012-06-03 15:53:11 -06:00
blmarket
eaa7a61f71
Fixed 1.8.7 compatible issue
2012-05-31 21:27:27 +09:00
Neon
150a019b8d
Added test cases to test Unicode handling issue.
...
these test cases will fail on non-unicode testing environment
2012-05-31 20:14:21 +09:00
Neon
bbc19d1800
Added testcase for 'open existing parent'
2012-05-24 00:04:45 +09:00
bootstraponline
ac41ed629e
Merge modified #350 .
2012-05-22 22:46:15 -06:00
kristi
97dd1b3b00
Fix toc test
2012-05-14 17:01:39 -07:00
kristi
d7f4eeea2c
Merge remote-tracking branch 'upstream/master' into toc
...
Conflicts:
lib/gollum/frontend/app.rb
lib/gollum/markup.rb
test/test_markup.rb
2012-05-14 09:12:44 -07:00
kristi
6191f60025
Fix tests for added example repo pages
2012-05-14 02:01:33 -07:00
kristi
eb92e4413a
Add header files and TOC test files
2012-05-14 01:28:03 -07:00
kristi
b0ba205532
Remove :header_hashtags option and adjust tests
2012-05-14 00:38:27 -07:00
Jonathan Roes
f9899033aa
Before replacing tags, ensure the SHA1 is not within preformatted content.
2012-05-12 17:29:23 -04:00
Jonathan Roes
eb37b17486
Remove links in code, fixes #128 .
2012-05-11 22:49:26 -04:00
kristi
cabd0ed85e
Add tests for new universal_toc and header_hashtags wiki options
2012-05-11 13:27:43 -07:00
kristi
f53e1a60d5
Fix tests by adding a default_options hash to the wiki
2012-05-11 12:51:04 -07:00
bootstraponline
b037777f83
Fix spacing.
2012-05-08 13:18:46 -06:00
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