Joshua Peek
604f88939e
Render tex formulas to images
2011-10-24 15:50:02 -05:00
Phil Cohen
9246c1443f
set :public_folder in frontend app
...
:public is no longer used to avoid overloading
Module#public, use :public_folder instead
2011-10-21 16:39:15 -07:00
pal
3682bc8558
Fix preview problems, also see #141
2011-10-05 12:11:09 +02:00
rick
8c1f82d894
let Gollum::Markup handle code blocks instead of RedCarpet
2011-09-29 11:02:35 -06:00
Joshua Peek
5071072c6b
Prune MathJax docs
2011-09-28 17:53:18 -05:00
Joshua Peek
755c303008
Use $.facebox for dialog if its available
2011-09-27 17:13:53 -05:00
Joshua Peek
381a963971
Fix lang script uri
2011-09-27 17:13:33 -05:00
Joshua Peek
903ea7c49a
Reindent dialog JS and trim trailing spaces
2011-09-27 16:50:24 -05:00
Joshua Peek
41c4801aed
Backport some JS changes from github.com
2011-09-27 16:49:52 -05:00
Joshua Peek
3a8d65bd3e
Fix indenting offset
...
2 spaces, not 3
2011-09-27 16:26:03 -05:00
Joshua Peek
095a392359
Trim trailing whitespace
2011-09-27 16:06:16 -05:00
Joshua Peek
ce770c2e79
Don't leak nodeSelector
2011-09-27 14:51:47 -05:00
Joshua Peek
be9529faee
Remove dead and leaky global functions
2011-09-27 14:48:38 -05:00
Joshua Peek
1f948e30d8
Cleanup gollum.js trailing whitespace
2011-09-27 14:27:37 -05:00
Joshua Peek
985fade9f6
Don't call id on nil
2011-09-27 13:48:16 -05:00
Mihail Minkov
b8ce2b251d
The first page in an empty repository can now be previewed.
2011-09-27 18:52:51 +03:00
Joshua Peek
7829e17c27
Fix invalid syntax, leaky vars and trailing whitespace in lang JS
2011-09-26 17:35:39 -05:00
Joshua Peek
35da594bfc
Switch to pygments.rb
2011-09-26 16:45:21 -05:00
Ian Babrou
a337b9ba15
added method existence checking for UTF-8, thanks to @technoweenie
2011-09-09 19:24:27 +04:00
Ian Babrou
685cc358b3
forcing encoding to UTF-8 for git tree to be able to use gollum with non-ascii wiki filenames
2011-09-09 17:24:19 +04:00
risk
2128559186
fix edge case where sanitize gem doesn't operate on <a> node if the custom transformer runs
2011-08-08 15:43:21 -07:00
risk
6f15fafc4a
add a Page#markup_class reader
2011-08-08 15:26:22 -07:00
risk
cd4704aed7
prefix name attributes too
2011-08-08 15:02:10 -07:00
risk
08a58b7520
Sanitization#id_prefix can be modified
2011-08-04 14:02:24 -07:00
risk
c7d8026ac5
when extracting the code blocks, use the SHA of the lang code AND contents to uniquely identify the snippet
2011-08-04 13:38:05 -07:00
risk
c7729f81ad
Release 1.3.1
2011-07-21 16:30:59 -07: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
b2d372ab3c
id attribute transformers should always return a hash or nil
2011-07-21 15:47:00 -07:00
risk
ad5ec77f41
smaller #inspect output for wiki and page objects
2011-07-21 15:27:56 -07:00
risk
c0bf387cb4
requiring gollum doesnt require the load path to be set to the lib directory ahead of time (good for rake console)
2011-07-21 15:27:34 -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
risk
bb06b566cd
GitAccess#ref_to_sha should never return a blank string
2011-07-14 14:30:23 -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
efd734d962
Merge pull request #162 from ttscoff/master
...
Spacing fix for issue #145
2011-06-20 09:17:59 -07:00
rick
8158610587
Merge pull request #164 from arr2036/patches_1.3.0
...
Remove edit button on preview pages
2011-06-20 09:15:38 -07:00
rick
2bb62309be
Merge pull request #157 from nealpoole/master
...
Fixed broken preview functionality
2011-06-20 09:15:23 -07:00
Josh Cheek
3015831d66
fix bug where can't edit pages while using page_file_dir
2011-06-07 22:47:01 -05:00
Arran Cudbard-Bell
83d6cae53f
Remove edit button on preview pages
2011-05-26 21:35:34 -07:00
Brett Terpstra
7ad54e3c94
Added spacing to allow has-rightbar and has-footer classes to work
2011-05-23 13:12:47 -05:00
Neal Poole
c1fc3a92c0
Fixed broken preview functionality in Gollum.
2011-05-16 17:10:08 -04:00
Schuyler Duveen
c22050fca8
allow @id attributes but force a "wiki-" prefix
2011-05-04 11:50:38 -04:00
rick
748d76dff1
Release 1.3.0
2011-04-25 20:59:57 -04:00
rick
2ebed41225
Merge branch 'master' of github.com:github/gollum
2011-04-25 20:47:46 -04:00
rick
86d14fa7ab
Merged pull request #134 from mrjbq7/master.
...
Fixing search box location.
2011-04-25 11:38:01 -07:00
Tom Ward
df505a7289
ruby1.8 compatibility isn't required to run gollum using ruby 1.8.7
...
The sanitize gem requires 1.8.7 or later, so compatibility with earlier versions is moot
2011-04-12 15:23:23 +01:00
rick
17dcde1f61
fix xss vulnerability in mathjax parsing
2011-04-11 23:29:06 -04:00
John Benediktsson
2a052cae8d
Remove default width of page name header.
2011-04-10 22:28:37 -07:00
Tom Clark
d3594f6652
Added 'All Pages' route and view
2011-04-09 14:09:36 -07:00