Darren Oakley
19325930a2
Add a new file and sub-directory - 'Rivendell/Elrond.md' so we can test Sidebar/Header/Footer inheritance from parent directory.
2012-07-09 11:50:08 +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
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
971cbb94f6
Make the Sinatra app directory aware.
2012-06-21 15:59:01 +01:00
kristi
97dd1b3b00
Fix toc test
2012-05-14 17:01:39 -07: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
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
Corey Donohoe
d6a4009989
nuke whitespace
2012-04-10 18:38:04 -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
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
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
risk
c9c7db5a53
add backwards compatible Gollum::Wiki.markup_class
2011-07-21 16:17:09 -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
rick
ad561226b9
merrrge
2011-03-31 15:11:24 -07:00
Tom Clark
8403868ac3
Test that wikis can write to different branches in isolation
2011-02-22 00:12:32 -05:00
rick
aae9eb1883
refactor wiki commit logic into Gollum::Committer class
2011-01-19 05:16:16 -08:00
rick
e77cba96fd
add git test fixture for page_file_dir tests
2011-01-17 10:08:58 -08:00
rick
f6f8428daf
merge page-file-dir_option branch
2011-01-17 10:05:21 -08:00
rick
002fe8d409
add method for getting the reverse diff without a page path
2011-01-13 13:32:15 -08:00
rick
aeb90c6293
use expand_path so ruby doesnt load helper.rb twice
2010-12-09 13:58:51 -08:00
rick
0b8bc597a7
merge latest tweaks to master
2010-11-09 12:39:28 -08: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
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
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
rick
068a902a00
don't modify path names in cached wiki treemaps
2010-08-24 11:47:02 -07:00
rick
cc3d9529cc
add a cached Wiki#tree_map_for method
2010-08-24 11:24:49 -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
rick
1e96ce6e1e
Track a page's versions across renames
2010-08-04 15:57:37 -07:00
rick
760d9c1640
Wiki#update_page takes a name parameter for renames
2010-08-02 15:39:04 -07:00
rick
f0b22390fb
Change Page#name to Page#filename, and add extension-less Page#name
2010-08-02 15:32:05 -07:00
Tom Preston-Werner
206c8b0712
Implement Wiki#preview_page.
2010-07-31 14:29:54 -04:00
Tom Preston-Werner
1af9898b4d
Implement Page#title.
2010-07-22 15:31:58 -07:00
rick
6bd375de2e
Wiki#pages only returns pages
2010-07-14 12:26:51 -07:00
Tom Preston-Werner
90ba8476b2
Allow changine of format in Wiki#update_page.
2010-07-13 15:31:50 -07:00