rick
f222bbcbac
extract page revert tests to a separate file
2010-12-09 13:31:22 -08:00
rick
e2fbac96cb
sometimes reverts fail, yo
2010-12-08 15:55:35 -08:00
rick
d436f5f112
cleanliness is next to godliness
2010-12-08 15:40:57 -08:00
rick
074b2119fa
use a temp GIT_INDEX_FILE when working with the real git index (during reverts)
2010-12-08 15:17:18 -08:00
rick
057baac3ce
rm cloned git paths
2010-12-08 15:03:21 -08:00
rick
25a56725f9
add ability to revert wiki pages
2010-12-08 14:57:29 -08:00
rick
5bb7417495
unnecessary test files
2010-12-08 08:48:38 -08:00
rick
a657b12a88
revert last commit due to parsing issues
2010-12-07 15:29:25 -08:00
rick
5e0919efe1
remove unused method that breaks due to dependence on unreleased grit. whew
2010-12-07 13:26:18 -08:00
rick
6bada4cef5
useless
2010-12-06 17:43:22 -08:00
rick
d32ab724d3
Don't modify content inside <pre> tags during rendering.
2010-12-02 19:28:31 -08:00
rick
2cbe3957cf
add Page _Sidebars
2010-12-02 18:16:37 -08:00
rick
2fe6b7b7f1
provide access to the parsed Nokogiri document fragment when rendering marked up content.
2010-12-02 14:47:20 -08:00
rick
0b8bc597a7
merge latest tweaks to master
2010-11-09 12:39:28 -08:00
rick
39d16b8c43
Merge branch 'text_data_method' of https://github.com/hiroshi/gollum into hiroshi-text_data_method
2010-11-09 12:19:29 -08:00
rick
54917bbdb9
recover from bad shas
2010-10-13 09:52:04 -07:00
rick
94c3ac767e
Merge branch 'master' into exp
2010-10-12 10:22:56 -07:00
Marko Anastasov
16ef859073
Ignore case when matching image paths.
...
Otherwise images with file extensions in caps don't get rendered.
2010-10-12 12:07:07 +02:00
rick
6552323797
implement GitAccess#commits using grit head
2010-10-11 16:58:46 -07:00
rick
a92a882021
restore ref_map and tree_map tests
2010-10-11 16:58:46 -07:00
rick
ebf7855c09
integrate Gollum::GitAccess
2010-10-11 16:58:46 -07:00
Hiroshi Saito
dc7693dbd0
FIX: Sanitize.clean raise Encoding::CompatibilityError if a page contains non ASCII-7 characters
2010-10-08 23:39:18 +09:00
Hiroshi Saito
f8e7fcf2d2
FIX: results of Wiki#search contains files out of page_file_dir
2010-10-07 23:01:27 +09:00
Hiroshi Saito
fcdffc39ff
Added --page-file-dir option to gollum command
2010-10-07 17:55:40 +09:00
rick
dd7dddddcf
Revert "Gollum::Wiki#pages come back sorted by title, not permalink or the default ordering from git ls-tree."
...
This reverts commit e37a8b9da4 .
2010-10-06 13:17:47 -07:00
Tim Sharpe
e5fe89a4fd
Simple test case
2010-10-01 16:05:20 +10:00
rick
4dbe3ea844
ensures rel="nofollow" is added to all anchors if a page is retrieved with a SHA
2010-09-30 17:19:37 -07:00
rick
05a7b4c06c
Allow users to pass anchors to page links.
...
http://github.com/github/gollum/issues/\#issue/21
2010-09-30 15:32:02 -07:00
Tom Preston-Werner
1e2932fd21
Merge remote branch 'henrikh/test-sections'
2010-09-29 13:09:08 -07:00
rick
e37a8b9da4
Gollum::Wiki#pages come back sorted by title, not permalink or the default ordering from git ls-tree.
2010-09-16 09:16:42 -07:00
rick
430436ce8d
handle non strings passed to Page.cname
2010-09-13 15:48:54 -07:00
rick
bf37f44970
pull default name/email for commits from wiki repo's git config
2010-08-30 18:11:03 -07:00
rick
847e6c00a4
Merge branch 'master' of github.com:github/gollum
2010-08-30 18:04:36 -07:00
rick
ba18cbebe8
more tree_map tests
2010-08-30 17:56:03 -07:00
rick
646c8e21b2
Add Wiki#size to efficiently count pages without loading them.
2010-08-30 17:52:20 -07:00
rick
7e2b1fdbc6
Wiki#tree_map_for returns an array of BlobEntry instances
2010-08-30 17:31:19 -07:00
Tom Preston-Werner
db1ccc4525
DRY up test commit details.
2010-08-30 16:38:01 -07:00
Tom Preston-Werner
dddb73672a
Minor readme typo and various whitespace fixups.
2010-08-30 16:38:01 -07:00
Tom Preston-Werner
94f05b0796
Update working dir (if present) when edited via the API. Closes #6 .
2010-08-30 16:37:59 -07:00
Henrik Hansen
959f02b50e
Use correct capitalization of TeX
2010-08-29 14:26:14 +02:00
Henrik Hansen
8301428974
Add sections to clean up markup test code
2010-08-29 10:08:08 +02:00
rick
0500c7e10c
cache the ref => sha lookup
2010-08-24 12:39:26 -07:00
rick
068a902a00
don't modify path names in cached wiki treemaps
2010-08-24 11:47:02 -07:00
rick
d606511fdf
use cached tree map when finding files
2010-08-24 11:29:39 -07:00
rick
cc3d9529cc
add a cached Wiki#tree_map_for method
2010-08-24 11:24:49 -07:00
rick
dd30a7bdc2
fix markup on framed absolute image urls
2010-08-16 15:49:47 -07:00
rick
c7e172f5ca
can't access trees as files
2010-08-16 14:57:39 -07:00
rick
c69a5f80dd
prevent Gollum::Wiki instances from creating new pages that overwrite pages with the same name.
2010-08-16 07:56:46 -07:00
rick
ee04dd84aa
normalize commit hashes so they at least show 'anonymous' if no git user is set.
2010-08-16 07:36:32 -07:00
Chris Hoffman
4e3b4e23da
Ruby 1.9 compatibility
...
* Adds current directory to load path for tests because 1.9 does not
* Aliases String#lines to String#to_a under 1.8 to match 1.9 behavior
* Sets encoding magic comment in test file with characters outside ascii
* Require 'ostruct' explicitly
This depends on a patch to Grit to have full functionality through the
whole stack.
2010-08-14 21:37:00 +00:00