Commit Graph

39 Commits

Author SHA1 Message Date
bootstraponline e2fbf22f38 Fix #473. 2012-08-23 11:51:20 -06:00
Darren Oakley 50e494e8e9 Make pages inherit their sidebar/header/footer from parent directories regardless of the current 'page_file_dir' of the wiki. refs #413 (https://github.com/github/gollum/issues/413) 2012-07-09 12:10:41 +01:00
Darren Oakley 971cbb94f6 Make the Sinatra app directory aware. 2012-06-21 15:59:01 +01:00
kristi 6191f60025 Fix tests for added example repo pages 2012-05-14 02:01:33 -07:00
kristi b0ba205532 Remove :header_hashtags option and adjust tests 2012-05-14 00:38:27 -07:00
bootstraponline c5d807dd58 Fix tests. 2012-05-02 12:13:18 -06:00
Corey Donohoe d6a4009989 nuke whitespace 2012-04-10 18:38:04 -07: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
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 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 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 2cbe3957cf add Page _Sidebars 2010-12-02 18:16:37 -08:00
rick 430436ce8d handle non strings passed to Page.cname 2010-09-13 15:48:54 -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
rick 8a189d4d53 Gollum::Page#versions sets :follow to false by default, and skips pagination options. 2010-08-05 11:28:00 -07:00
rick 1e96ce6e1e Track a page's versions across renames 2010-08-04 15:57:37 -07:00
Tom Preston-Werner afcaacbdf6 Footers should have a nil #footer. 2010-07-26 16:48:52 -07:00
Tom Preston-Werner 2bc9b2ec86 Implement Page#footer and display footer in frontend. 2010-07-26 16:33:19 -07:00
rick a1db39195c fetching pages from a bad version returns nil 2010-07-23 16:36:49 -07:00
Tom Preston-Werner a5d460636d Make Wiki#page case insensitive. 2010-07-22 16:06:33 -07:00
Tom Preston-Werner 1af9898b4d Implement Page#title. 2010-07-22 15:31:58 -07:00
Tom Preston-Werner 2e49f2c9e7 Minimal working frontend. 2010-07-07 00:29:51 -07:00
Tom Preston-Werner 7f2aa7b77f test Page.cname 2010-04-19 17:11:06 -07:00
Tom Preston-Werner 2e328e6a83 implement File finding 2010-04-11 13:08:16 -06:00
Tom Preston-Werner 769bf89587 implement version-specific page find 2010-04-11 12:40:29 -06:00
Tom Preston-Werner 61076b38b4 implement Page#versions 2010-04-11 12:17:32 -06:00
Tom Preston-Werner e3772b1879 compute directory path of pages 2010-04-11 12:03:31 -06:00
Tom Preston-Werner 6c1b65158a implement Page.version 2010-04-11 11:32:09 -06:00
Tom Preston-Werner c37204e42a move formatted vs raw into Page 2010-04-10 11:29:57 -06:00
Tom Preston-Werner 8132f4c602 add Page#format 2010-04-09 23:02:14 -06:00
Tom Preston-Werner badff21cc4 make Page#data call safe 2010-04-08 16:43:29 -07:00
Tom Preston-Werner 0aa67bb508 make coverage task work 2010-04-08 16:39:42 -07:00
Tom Preston-Werner 0a30b2ffc9 test extension match 2010-04-08 16:35:15 -07:00
Tom Preston-Werner 3ff115048d start work on formatted_page 2010-04-08 16:20:05 -07:00
Tom Preston-Werner c8d9b351e2 stub of Repo#formatted_page 2010-04-07 17:16:02 -07:00