Adam Hamsik
3199a4b2cb
Remove debug puts.
2012-07-17 11:10:09 +02:00
Adam Hamsik
6a2d153c3d
Add support for multi-level directory setups, where files are under multiple directories.
...
Generate HTML for them properly.
2012-07-17 11:06:04 +02:00
bootstraponline
bfd4ad9255
Async loading of MathJax.
...
http://calendar.perfplanet.com/2011/the-art-and-craft-of-the-async-snippet/
2012-07-13 14:25:53 -06:00
bootstraponline
30224515fd
Update table style to match .com.
2012-07-13 14:11:10 -06:00
bootstraponline
a9e9eeeb54
Another encoding fix from #387 .
2012-07-12 12:06:47 -06:00
bootstraponline
76fa52b313
Merge pull request #387 from arr2036/fix_encoding
...
Work around Grit encoding issues.
2012-07-12 11:03:19 -07:00
bootstraponline
67de8e6a3a
Fix to_url so it correctly handles _Header, _Footer, and _Sidebar.
2012-07-11 20:10:59 -06:00
bootstraponline
ff78998829
30px height.
2012-07-11 16:12:27 -06:00
bootstraponline
20534a71b9
Remove New Page from file view.
2012-07-11 10:23:01 -06:00
bootstraponline
3d2c8e7cc5
ASCII only filenames.
...
Fix test_unicode.
2012-07-10 10:41:55 -06:00
bootstraponline
772ffcc5e8
Ensure ascii only filenames. Fix #423 .
2012-07-09 13:22:45 -06:00
bootstraponline
8c30bb3a9f
Merge pull request #422 from nature/sidebar_rendering_in_subfolders
...
Sidebar rendering in subfolders.
2012-07-09 09:19:11 -07: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
Darren Oakley
ac97f7e9a2
Make the 'New Page' button create pages in sub directories if the user puts a slash in the path/page name.
2012-07-09 10:41:51 +01:00
bootstraponline
33f133b8b2
Livepreview is 102KB again.
...
java -jar compiler.jar --compilation_level WHITESPACE_ONLY --js sundown_o2_m0.js --js_output_file sundown_o2_wo.js
MKDEXT_SUPERSCRIPT extension disabled to match .com behavior (also fixes MathJax).
2012-07-06 23:26:12 -06:00
bootstraponline
2e9995e80a
Use sundown_o2_m0. Fix #415 .
2012-07-06 16:20:53 -06:00
bootstraponline
53f676bf2e
Do not load data on github.com.
2012-07-06 12:21:55 -06:00
bootstraponline
874d658d2a
Ace is broken on Safari 6. Fix #414 .
2012-07-06 12:01:45 -06:00
bootstraponline
d27c455ab7
Update sundown.
2012-07-05 12:01:09 -06:00
bootstraponline
9291431c61
Fix #413 .
2012-07-04 12:24:35 -06:00
bootstraponline
2e5f51e9ae
Update comment.
2012-07-04 11:20:38 -06:00
bootstraponline
2aa7e466ed
File view links use '-' instead of %20.
2012-07-04 11:04:51 -06:00
bootstraponline
8c8b72d482
Restore path support to livepreview.js.
2012-07-03 23:55:28 -06:00
bootstraponline
bb9effa282
Prevent wrapping on long file names.
...
Fix formatting.
2012-07-03 20:41:14 -06:00
bootstraponline
52e96bfa0f
Detect typed array support based on user agent.
...
http://caniuse.com/typedarrays
2012-07-03 15:26:40 -06:00
bootstraponline
00ded65b7f
Fall back to old edit mode if typed arrays are not supported.
2012-07-03 14:47:27 -06:00
bootstraponline
f738aa4234
Disable ie 9 live preview support for now.
2012-07-03 14:19:27 -06:00
bootstraponline
6ff939451c
Update livepreview.
...
Update ace.
Replace pagedown with sundown. Live preview is now able to render markdown identical to regular gollum by leveraging the same library.
Thanks to @kripken for explaining how to best use emscripten for sundown.
2012-07-03 13:55:08 -06:00
bootstraponline
32930cee01
extract_path fails on nil paths.
2012-07-03 10:55:42 -06:00
bootstraponline
3f45c76f48
Extract path on edit. Fix #410 .
2012-07-03 10:53:18 -06:00
bootstraponline
20dd0816a6
Revert "Merge pull request #379 from pipex/latex-dollar-sign"
...
This reverts commit b53c961db2 , reversing
changes made to 9c40cbea76 .
2012-07-02 10:27:30 -06:00
Arran Cudbard-Bell
1d5bfbb162
Add URL for page creation to allow preemption by extensions
2012-06-24 22:41:27 +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
bootstraponline
c152ae1557
Merge pull request #401 from nature/make_gollum_search_count_additive
...
Update the Wiki.search function to make the results counts 'additive'.
2012-06-22 09:49:04 -07:00
trans
f12c3fe06f
Fix docs for File#populate.
2012-06-22 08:45:57 -04: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
6e35a09abd
Add a 'New Page' button to the /pages browser that allows users to create a new page within a subdirectory.
2012-06-22 11:41:42 +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
bootstraponline
18ccc01501
Remove #head boarder in /pages because it's now defined by .breadcrumb.
2012-06-21 13:16:34 -06:00
Darren Oakley
7a251248f1
Re-work the compare URL matchers so that CGI escaping etc shouldn't be so needed.
2012-06-21 15:59:10 +01:00
Darren Oakley
971cbb94f6
Make the Sinatra app directory aware.
2012-06-21 15:59:01 +01:00
bootstraponline
b53c961db2
Merge pull request #379 from pipex/latex-dollar-sign
...
[New] Support `$` and `$$` as formula delimiters.
2012-06-19 13:22:49 -07:00
bootstraponline
9c40cbea76
Merge pull request #377 from pipex/latex-align
...
[Fix] Inline latex formula alignment
2012-06-19 13:22:26 -07:00
bootstraponline
a8ce7e93cd
Enable MathJax for live preview.
2012-06-19 11:58:09 -06:00