rick
e2a4514be5
add the ability to revert whole commits that touch multiple files
2011-01-13 15:50:35 -08:00
rick
002fe8d409
add method for getting the reverse diff without a page path
2011-01-13 13:32:15 -08:00
rick
daa07326df
docs for some of the diffing methods
2011-01-13 13:21:14 -08:00
rick
992ec36295
accidental removal
2011-01-11 00:04:38 -08:00
rick
0fd639a149
whitespace plugin
2011-01-10 16:44:07 -08:00
rick
79a1fb860d
add ability to change footer and sidebar of page
2010-12-09 16:49:03 -08:00
rick
e2fbac96cb
sometimes reverts fail, yo
2010-12-08 15:55:35 -08:00
rick
a8f74a7e7c
awkwardly named method
2010-12-08 15:39:41 -08:00
rick
9843f4c739
use grit's #apply_patch method
2010-12-08 15:37:22 -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
25a56725f9
add ability to revert wiki pages
2010-12-08 14:57:29 -08:00
rick
54eca090ee
do or do not
2010-12-08 13:35:16 -08:00
rick
d4da0f8670
explicitly set the local var for 1.9
2010-12-08 13:28:20 -08:00
rick
e7d37eaf38
refactor common index-writing logic in wiki update methods
2010-12-08 13:24:15 -08:00
rick
76064da131
A Gollum::Wiki saves Sanitize instances
2010-12-02 14:35:31 -08:00
rick
db2a6deca9
tomdoc reorg for git_access.rb
2010-11-20 14:14:47 -08:00
rick
0b8bc597a7
merge latest tweaks to master
2010-11-09 12:39:28 -08:00
rick
3b94a6723c
integrate Sanitization class
2010-11-09 12:07:54 -08:00
7rans
ac1d1c47e2
fix misspelling of sanitization
2010-10-27 14:20:33 -04:00
7rans
3e8d2773be
allow deactivation of sanitization
2010-10-27 14:17:24 -04:00
7rans
26df05374c
provide customizable sanitization
2010-10-27 14:04:26 -04:00
rick
e7f2da2d4a
add caching hooks for Gollum::Markup
2010-10-12 15:36:36 -07:00
rick
b7474b7e41
Merge branch 'master' into exp
2010-10-11 17:40:27 -07:00
rick
e7b1265873
Gollum::Wiki#size returns 0 if the repo is invalid or empty
2010-10-11 17:40:09 -07:00
rick
300d8eacc5
optimize Gollum::Wiki#tree_list
2010-10-11 16:58:46 -07:00
rick
ebf7855c09
integrate Gollum::GitAccess
2010-10-11 16:58:46 -07:00
rick
62c4b795be
add basic GitAccess class
2010-10-11 16:58:46 -07: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
4b313944fe
merge
2010-09-30 14:22:18 -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
42bd6c221a
invalid shas return empty treemaps
2010-09-03 10:59:30 -07:00
Paul Baumgart
50e9a42503
fix documentation for Wiki.size
2010-09-02 20:30:13 -07:00
Jon Frisby
e9239050e0
Properly handle pages that exist in sub-dirs in search results
2010-08-31 10:48:10 +02: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
646c8e21b2
Add Wiki#size to efficiently count pages without loading them.
2010-08-30 17:52:20 -07:00
rick
6dab4f7fe6
Wiki#pages uses the treemap
2010-08-30 17:45:32 -07:00
rick
7e2b1fdbc6
Wiki#tree_map_for returns an array of BlobEntry instances
2010-08-30 17:31:19 -07:00
rick
6f077702e1
Page#find_page_in_this_tree is redundant
2010-08-30 17:04:30 -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
Sirupsen
6d3b40c1d4
Using Grit instead of backticked bash.
...
A bit unclear what's going on though, would be more explicit to say:
{:count => query}, however Grit::Git#transform_options converts to this
syntax:
`--count='query'` and `git grep` can't take this syntax, it has to be:
`git grep --count query`, and this is why we're using :c, and not
:count. As {:c => query} converts to: `git grep -c 'query'` which works
as expected.
Linked to this commit, for above information in comment.
Updated comment in Wiki.search to link describing commit.
2010-08-29 15:25:04 +02:00
Sirupsen
45eb364a6d
Refactoring of Wiki.search.
2010-08-29 14:30:30 +02:00
Henrik Hansen
49d88a0370
Add search API and update frontend
...
The frontend has been updated to use the new search API.
2010-08-29 13:58:06 +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
cc3d9529cc
add a cached Wiki#tree_map_for method
2010-08-24 11:24:49 -07:00
Tom Preston-Werner
dae2e0c79c
Remove obsolete tree map methods.
2010-08-19 17:40:05 -07:00
Tom Preston-Werner
9b32d3bfb1
Update Wiki#delete_page to use Index#read_tree awesomes.
2010-08-19 17:37:49 -07:00
Tom Preston-Werner
b1fc173a3f
Update Wiki#update_page to use Index#read_tree goodness.
2010-08-19 17:35:18 -07:00
Tom Preston-Werner
6a53e3d037
Clean up some whitespace.
2010-08-19 15:43:26 -07:00