Commit Graph

122 Commits

Author SHA1 Message Date
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
rick 1875eef8f6 update frontend tests to use sample 'revert' repo 2010-12-09 17:00:52 -08:00
rick 79a1fb860d add ability to change footer and sidebar of page 2010-12-09 16:49:03 -08:00
rick 511b62c5ab add page rename test 2010-12-09 16:29:18 -08:00
rick 0b37597834 helps if the test has some kind of assertion 2010-12-09 16:22:37 -08:00
rick ff1c8868dc add duplicate page test 2010-12-09 16:20:34 -08:00
rick f5480c21d2 fix previews 2010-12-09 16:15:28 -08:00
rick 2c8be3d95b add tests for creating/updating wikis, fix page name bug along the way 2010-12-09 16:11:12 -08:00
rick aeb90c6293 use expand_path so ruby doesnt load helper.rb twice 2010-12-09 13:58:51 -08:00
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 6bada4cef5 useless 2010-12-06 17:43:22 -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
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
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