bootstraponline
d1c72a4ff3
Fix #483 and #481
...
Exact matching of requested pages
- /page is no longer the same as /a/page
- Deleting /page only deletes /page (before it would delete /a/page instead of /page)
- Edit currently breaks the unit tests if exact matching is enabled
- Fix redirect on create
- Add @giga's checked_dir = '' fix https://github.com/giga/gollum/commit/936958b47324a09c683cb90a2560484b47e09529
- Fix create unit test
2012-08-24 13:35:37 -06:00
bootstraponline
1e768734ef
Disable MathJax by default.
...
GitHub.com doesn't support MathJax. The parser is not MathJax aware which causes problems.
--mathjax enables MathJax.
2012-08-22 13:31:21 -06:00
bootstraponline
72e26fc90b
Refactor app.rb to use paged.
...
Create new pages relative to current directory.
2012-08-01 00:37:34 -06:00
bootstraponline
2261cfabf3
Make wiki.page directory aware.
...
Remove scoped_page.
2012-07-31 23:24:37 -06:00
Odin Dutton and Sebastian Korfmann
be086d94b5
Add a method that returns a given page name scoped to a directory.
...
This is to allow access to non unique pages.
2012-08-01 09:15:25 +10:00
Darren Oakley
1cc9d7b647
Slight optimisations...
...
- only create a new GitAccess object if the wiki does not have a @page_file_dir directive
- memoize the new GitAccess object
2012-07-09 13:01:40 +01: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
bootstraponline
7045f7f92d
Fix searching for page titles.
2012-06-22 16:04:57 -06:00
bootstraponline
5e7974f30b
Fix file ext removal.
...
a = '/.md/home.md'
a.chomp(File.extname(a))
=> "/.md/home"
a.gsub(File.extname(a),'')
=> "//home"
2012-06-22 11:45:42 -06:00
bootstraponline
1079a888d3
nil.to_i == 0
2012-06-22 11:28:34 -06:00
bootstraponline
b1837abbc2
Fix nil error in search.
2012-06-22 11:24:13 -06: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
bootstraponline
8fd11e8fdb
Fix #396 .
...
Use ls-files to search file names (which define the page title).
2012-06-21 19:18:46 -06:00
Darren Oakley
971cbb94f6
Make the Sinatra app directory aware.
2012-06-21 15:59:01 +01:00
bootstraponline
cbc37eb006
Fix live_preview option #374 .
2012-06-08 16:39:44 -06:00
Arran Cudbard-Bell
8554654ee9
Add option to disable livepreview from settings
2012-06-07 11:30:30 +02:00
bootstraponline
ff8b892ebe
Add mathjax using SSL CDN.
2012-05-24 17:18:55 -06:00
kristi
d7f4eeea2c
Merge remote-tracking branch 'upstream/master' into toc
...
Conflicts:
lib/gollum/frontend/app.rb
lib/gollum/markup.rb
test/test_markup.rb
2012-05-14 09:12:44 -07:00
kristi
b0ba205532
Remove :header_hashtags option and adjust tests
2012-05-14 00:38:27 -07:00
kristi
f53e1a60d5
Fix tests by adding a default_options hash to the wiki
2012-05-11 12:51:04 -07:00
kristi
ec694e4a99
Fix option setting
2012-05-11 12:50:34 -07:00
kristi
ca74897569
Add header_hashtag feature option: headers display a link icon when moused over so you can jump to sections
...
Move anchor processing into markup.rb
Use dashes for spaces in the anchor hashtag
2012-05-10 00:26:22 -07:00
kristi
61987c85d2
Add universal_toc wiki option
2012-05-09 16:13:53 -07:00
Arran Cudbard-Bell
b36cd8a68e
Pass through :is_bare option from wiki_options, allows Gollum to work with gitolite
2012-05-09 16:12:00 +02: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
6926746624
Do not re-canonicalize names referring to existing page files when updating format extensions
2011-11-24 11:07:27 +01:00
Arran Cudbard-Bell
af7a52970f
Repository page files with spaces, will now match using urls with hyphens, underscores and urlencoded spaces. This is for compatibility with mediawiki conversions.
2011-11-24 11:07:27 +01:00
risk
7e12de0087
tomdoc
2011-07-21 16:19:48 -07:00
risk
c9c7db5a53
add backwards compatible Gollum::Wiki.markup_class
2011-07-21 16:17:09 -07:00
risk
ad5ec77f41
smaller #inspect output for wiki and page objects
2011-07-21 15:27:56 -07:00
risk
267323c7c3
merge gfm
2011-07-21 15:04:50 -07:00
Ryan Tomayko
b7ffc4051c
Wiki#tree_list returns an empty array if the ref doesnt resolve
...
Signed-off-by: risk <technoweenie@gmail.com >
2011-07-14 14:35:58 -07:00
Vicent Marti
fc6149a171
Bless Gollum with the power of GFM
...
With these changes, the Markdown rendered in Gollum wikis will have the
same quality and safety as the MD we render everywhere else @ GitHub.
This commit also changes the old `markup_class` accessor to
`markup_classes`, allowing users to specify a custom Markup class for
each markup language.
2011-06-21 18:28:28 +02:00
rick
ad561226b9
merrrge
2011-03-31 15:11:24 -07:00
philc
e4d63ec8a2
Make the search case insensitive
2011-02-10 11:16:35 -08:00
rick
732e8a9361
fix bug where relative images in previews did not render
2011-01-27 16:34:29 -08:00
Randy Merrill
a71ab7c418
Changing from using branch as the variable to using ref.
2011-01-27 11:38:48 -08:00
Randy Merrill
3c44205be7
Adding the logic to accept a command line flag for the branch to use to retrieve pages.
2011-01-27 11:24:15 -08:00
rick
8ddb781588
yield the created SHA1 in the after_commit callback
2011-01-19 05:51:16 -08:00
rick
aae9eb1883
refactor wiki commit logic into Gollum::Committer class
2011-01-19 05:16:16 -08:00
rick
f6f8428daf
merge page-file-dir_option branch
2011-01-17 10:05:21 -08:00
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