gollum 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gollum might be problematic. Click here for more details.

Files changed (765) hide show
  1. data/Gemfile +3 -0
  2. data/HISTORY.md +14 -2
  3. data/Home.md +3 -0
  4. data/README.md +24 -7
  5. data/bin/gollum +25 -6
  6. data/gollum.gemspec +336 -39
  7. data/lib/gollum.rb +5 -44
  8. data/lib/gollum/albino.rb +4 -29
  9. data/lib/gollum/blob_entry.rb +15 -8
  10. data/lib/gollum/committer.rb +217 -0
  11. data/lib/gollum/file.rb +2 -3
  12. data/lib/gollum/frontend/app.rb +64 -23
  13. data/lib/gollum/frontend/public/css/dialog.css +141 -0
  14. data/lib/gollum/frontend/public/css/editor.css +537 -0
  15. data/lib/gollum/frontend/public/css/gollum.css +643 -33
  16. data/lib/gollum/frontend/public/css/ie7.css +69 -0
  17. data/lib/gollum/frontend/public/css/template.css +316 -0
  18. data/lib/gollum/frontend/public/images/icon-sprite.png +0 -0
  19. data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +17 -1678
  20. data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +10 -55
  21. data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +288 -49
  22. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.buildinfo +4 -0
  23. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/CSS-styles.doctree +0 -0
  24. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/HTML-snippets.doctree +0 -0
  25. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/ajax.doctree +0 -0
  26. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/callback.doctree +0 -0
  27. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/elementjax.doctree +0 -0
  28. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/html.doctree +0 -0
  29. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/hub.doctree +0 -0
  30. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/index.doctree +0 -0
  31. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/inputjax.doctree +0 -0
  32. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/jax.doctree +0 -0
  33. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/message.doctree +0 -0
  34. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/object.doctree +0 -0
  35. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/outputjax.doctree +0 -0
  36. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/queue.doctree +0 -0
  37. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/signal.doctree +0 -0
  38. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/variable.doctree +0 -0
  39. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/callbacks.doctree +0 -0
  40. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/community.doctree +0 -0
  41. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/configuration.doctree +0 -0
  42. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/dynamic.doctree +0 -0
  43. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/environment.pickle +0 -0
  44. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/glossary.doctree +0 -0
  45. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/index.doctree +0 -0
  46. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/installation.doctree +0 -0
  47. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/jsMath.doctree +0 -0
  48. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathjax.doctree +0 -0
  49. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathml.doctree +0 -0
  50. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/model.doctree +0 -0
  51. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/FontWarnings.doctree +0 -0
  52. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/HTML-CSS.doctree +0 -0
  53. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MMLorHTML.doctree +0 -0
  54. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathML.doctree +0 -0
  55. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathMenu.doctree +0 -0
  56. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathZoom.doctree +0 -0
  57. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/NativeMML.doctree +0 -0
  58. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/TeX.doctree +0 -0
  59. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/hub.doctree +0 -0
  60. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/jsMath2jax.doctree +0 -0
  61. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/mml2jax.doctree +0 -0
  62. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/tex2jax.doctree +0 -0
  63. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/output.doctree +0 -0
  64. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/index.doctree +0 -0
  65. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/movable-type.doctree +0 -0
  66. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/wordpress.doctree +0 -0
  67. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/queues.doctree +0 -0
  68. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/signals.doctree +0 -0
  69. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/start.doctree +0 -0
  70. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/startup.doctree +0 -0
  71. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/synchronize.doctree +0 -0
  72. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/tex.doctree +0 -0
  73. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/typeset.doctree +0 -0
  74. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +173 -0
  75. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +170 -0
  76. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
  77. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
  78. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
  79. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
  80. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
  81. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
  82. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +79 -0
  83. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +83 -0
  84. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +196 -0
  85. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +259 -0
  86. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +122 -0
  87. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +122 -0
  88. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +330 -0
  89. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +44 -0
  90. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +86 -0
  91. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +148 -0
  92. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +86 -0
  93. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +210 -0
  94. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +100 -0
  95. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +99 -0
  96. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +154 -0
  97. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +83 -0
  98. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +228 -0
  99. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +60 -0
  100. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +375 -0
  101. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +181 -0
  102. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +75 -0
  103. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +71 -0
  104. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +184 -0
  105. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +31 -0
  106. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +36 -0
  107. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +97 -0
  108. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +224 -0
  109. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +140 -0
  110. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +119 -0
  111. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +42 -0
  112. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +27 -0
  113. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +79 -0
  114. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +42 -0
  115. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +61 -0
  116. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +67 -0
  117. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +209 -0
  118. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +53 -0
  119. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +53 -0
  120. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +137 -0
  121. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +126 -0
  122. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +65 -0
  123. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +41 -0
  124. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +42 -0
  125. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +254 -0
  126. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +161 -0
  127. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +314 -0
  128. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +152 -0
  129. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +65 -0
  130. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +1090 -0
  131. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +229 -0
  132. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/basic.css +509 -0
  133. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +247 -0
  134. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
  135. data/lib/gollum/frontend/public/javascript/{jquery-1.4.2.min.js → MathJax/docs/html/_static/jquery.js} +1 -1
  136. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +22 -0
  137. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +35 -0
  138. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
  139. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mj.css +223 -0
  140. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
  141. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +61 -0
  142. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +505 -0
  143. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +16 -0
  144. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/ajax.html +406 -0
  145. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/callback.html +435 -0
  146. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +283 -0
  147. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/html.html +292 -0
  148. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/hub.html +674 -0
  149. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/index.html +144 -0
  150. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +221 -0
  151. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/jax.html +319 -0
  152. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/message.html +224 -0
  153. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/object.html +356 -0
  154. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +246 -0
  155. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/queue.html +247 -0
  156. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/signal.html +334 -0
  157. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/variable.html +220 -0
  158. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/callbacks.html +305 -0
  159. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/community.html +155 -0
  160. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/configuration.html +434 -0
  161. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/dynamic.html +274 -0
  162. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/genindex.html +295 -0
  163. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/glossary.html +160 -0
  164. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/index.html +177 -0
  165. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/installation.html +262 -0
  166. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/jsMath.html +128 -0
  167. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathjax.html +137 -0
  168. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathml.html +194 -0
  169. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/model.html +305 -0
  170. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
  171. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +264 -0
  172. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +241 -0
  173. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +143 -0
  174. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathML.html +132 -0
  175. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +194 -0
  176. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +147 -0
  177. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +171 -0
  178. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/TeX.html +175 -0
  179. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/hub.html +342 -0
  180. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +154 -0
  181. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +154 -0
  182. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +249 -0
  183. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/output.html +218 -0
  184. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/index.html +168 -0
  185. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +145 -0
  186. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +146 -0
  187. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/queues.html +334 -0
  188. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/search.html +95 -0
  189. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/searchindex.js +1 -0
  190. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/signals.html +257 -0
  191. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/start.html +374 -0
  192. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/startup.html +239 -0
  193. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/synchronize.html +161 -0
  194. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/tex.html +1152 -0
  195. data/lib/gollum/frontend/public/javascript/MathJax/docs/html/typeset.html +318 -0
  196. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +79 -0
  197. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +83 -0
  198. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +22 -0
  199. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +35 -0
  200. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +196 -0
  201. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +259 -0
  202. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +122 -0
  203. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/html.rst +122 -0
  204. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +330 -0
  205. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/index.rst +44 -0
  206. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +86 -0
  207. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +148 -0
  208. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/message.rst +86 -0
  209. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/object.rst +210 -0
  210. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +100 -0
  211. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +99 -0
  212. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +154 -0
  213. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +83 -0
  214. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +228 -0
  215. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/community.rst +60 -0
  216. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/conf.py +198 -0
  217. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/configuration.rst +375 -0
  218. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +181 -0
  219. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/glossary.rst +75 -0
  220. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
  221. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
  222. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
  223. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
  224. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
  225. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/index.rst +71 -0
  226. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/installation.rst +184 -0
  227. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +31 -0
  228. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +36 -0
  229. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathml.rst +97 -0
  230. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +256 -0
  231. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +30 -0
  232. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/model.rst +224 -0
  233. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +140 -0
  234. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +119 -0
  235. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +42 -0
  236. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +27 -0
  237. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +79 -0
  238. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +42 -0
  239. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +61 -0
  240. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +67 -0
  241. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +209 -0
  242. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +53 -0
  243. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +53 -0
  244. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +137 -0
  245. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/output.rst +126 -0
  246. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +65 -0
  247. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +41 -0
  248. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +42 -0
  249. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/queues.rst +254 -0
  250. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/signals.rst +161 -0
  251. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/start.rst +314 -0
  252. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/startup.rst +152 -0
  253. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +65 -0
  254. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/tex.rst +1090 -0
  255. data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/typeset.rst +229 -0
  256. data/lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js +18 -0
  257. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js +18 -0
  258. data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js +18 -0
  259. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +11 -369
  260. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +11 -378
  261. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +11 -36
  262. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +10 -101
  263. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +10 -57
  264. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +10 -177
  265. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +10 -161
  266. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +18 -0
  267. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +10 -123
  268. data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +10 -45
  269. data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +10 -69
  270. data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +10 -93
  271. data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +10 -234
  272. data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +10 -132
  273. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +11 -1466
  274. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +11 -115
  275. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +11 -51
  276. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +11 -28
  277. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +11 -28
  278. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +11 -28
  279. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +11 -33
  280. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +11 -59
  281. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +11 -28
  282. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +11 -30
  283. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +11 -32
  284. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +11 -221
  285. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +11 -31
  286. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +11 -160
  287. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +11 -31
  288. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +11 -29
  289. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +11 -282
  290. data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +11 -155
  291. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +11 -32
  292. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +11 -80
  293. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +11 -107
  294. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +11 -104
  295. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +11 -105
  296. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +11 -81
  297. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +11 -51
  298. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +11 -72
  299. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +11 -75
  300. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +11 -45
  301. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +11 -78
  302. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +11 -29
  303. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +11 -29
  304. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +11 -168
  305. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +11 -54
  306. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +11 -212
  307. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +11 -81
  308. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +11 -72
  309. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +11 -77
  310. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +11 -27
  311. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +11 -127
  312. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +11 -161
  313. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +11 -72
  314. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +11 -75
  315. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +11 -84
  316. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +11 -66
  317. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +11 -28
  318. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +11 -40
  319. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +11 -34
  320. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +11 -32
  321. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +10 -582
  322. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +11 -33
  323. data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +11 -1644
  324. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +18 -0
  325. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +10 -53
  326. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +10 -90
  327. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +18 -0
  328. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +10 -41
  329. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +18 -0
  330. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +18 -0
  331. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +10 -119
  332. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +12 -26
  333. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +12 -103
  334. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +12 -73
  335. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +12 -61
  336. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +12 -92
  337. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +12 -43
  338. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +12 -22
  339. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +12 -25
  340. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +12 -123
  341. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +12 -83
  342. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +12 -61
  343. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +12 -27
  344. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +12 -103
  345. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +12 -79
  346. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +12 -79
  347. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +12 -110
  348. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +12 -117
  349. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +12 -149
  350. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +12 -29
  351. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +12 -53
  352. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +12 -63
  353. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +12 -166
  354. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +12 -83
  355. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +12 -254
  356. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +12 -83
  357. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +12 -25
  358. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +12 -31
  359. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +12 -24
  360. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +12 -36
  361. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +12 -33
  362. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +12 -24
  363. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +12 -81
  364. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +12 -22
  365. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +12 -78
  366. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +12 -26
  367. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +12 -116
  368. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +12 -61
  369. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +12 -22
  370. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +12 -22
  371. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +12 -25
  372. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +12 -123
  373. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +12 -83
  374. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +12 -44
  375. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +12 -113
  376. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +12 -79
  377. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +12 -79
  378. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +12 -110
  379. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +12 -117
  380. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +12 -149
  381. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +12 -29
  382. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +12 -53
  383. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +12 -50
  384. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +12 -50
  385. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +12 -73
  386. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +12 -73
  387. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +12 -23
  388. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +12 -73
  389. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +12 -48
  390. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +12 -26
  391. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +12 -61
  392. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +12 -41
  393. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +12 -22
  394. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +12 -25
  395. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +12 -123
  396. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +12 -83
  397. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +12 -44
  398. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +12 -72
  399. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +12 -79
  400. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +12 -110
  401. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +12 -117
  402. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +12 -148
  403. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +12 -29
  404. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +12 -52
  405. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +12 -50
  406. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +12 -186
  407. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +12 -72
  408. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +12 -23
  409. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +12 -73
  410. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +12 -62
  411. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +12 -48
  412. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +12 -23
  413. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +12 -26
  414. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +12 -100
  415. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +12 -76
  416. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +12 -29
  417. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +12 -73
  418. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +12 -66
  419. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +12 -23
  420. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +12 -80
  421. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +12 -44
  422. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +12 -22
  423. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +12 -25
  424. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +12 -123
  425. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +12 -51
  426. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +12 -83
  427. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +12 -68
  428. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +12 -62
  429. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +12 -112
  430. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +12 -103
  431. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +12 -79
  432. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +12 -79
  433. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +12 -79
  434. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +12 -79
  435. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +12 -79
  436. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +12 -112
  437. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +12 -109
  438. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +12 -148
  439. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +12 -29
  440. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +12 -57
  441. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +12 -22
  442. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +12 -76
  443. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +12 -374
  444. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +12 -83
  445. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +12 -73
  446. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +12 -73
  447. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +12 -72
  448. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +12 -201
  449. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +12 -83
  450. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +12 -84
  451. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +12 -73
  452. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +12 -73
  453. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +12 -62
  454. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +12 -82
  455. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +12 -60
  456. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +12 -148
  457. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +12 -68
  458. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +12 -85
  459. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +12 -74
  460. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +12 -33
  461. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +12 -30
  462. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +12 -73
  463. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +12 -22
  464. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +12 -265
  465. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +12 -29
  466. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +12 -149
  467. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +12 -23
  468. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +12 -49
  469. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +12 -48
  470. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +12 -30
  471. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +12 -49
  472. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +12 -48
  473. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +12 -30
  474. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +12 -49
  475. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +12 -48
  476. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +12 -30
  477. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +12 -49
  478. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +12 -48
  479. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +12 -30
  480. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +12 -49
  481. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +12 -48
  482. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +12 -30
  483. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +12 -23
  484. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +12 -29
  485. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +12 -176
  486. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +12 -23
  487. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +12 -30
  488. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +12 -209
  489. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +12 -23
  490. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +12 -54
  491. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +12 -236
  492. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +12 -23
  493. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +12 -51
  494. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +12 -381
  495. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +12 -45
  496. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +12 -37
  497. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +12 -40
  498. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +12 -57
  499. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +12 -56
  500. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +12 -22
  501. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +12 -46
  502. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +12 -71
  503. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +12 -99
  504. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +12 -40
  505. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +12 -57
  506. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +12 -56
  507. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +12 -40
  508. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +12 -58
  509. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +12 -57
  510. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +12 -54
  511. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +12 -38
  512. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +12 -114
  513. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +12 -43
  514. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +10 -365
  515. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +12 -1396
  516. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +12 -59
  517. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +12 -49
  518. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +12 -27
  519. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +12 -23
  520. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +12 -23
  521. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +12 -22
  522. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +12 -22
  523. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +12 -30
  524. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +12 -23
  525. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +12 -25
  526. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +12 -22
  527. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +12 -28
  528. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +12 -45
  529. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +12 -132
  530. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +12 -23
  531. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +12 -37
  532. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +12 -23
  533. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +12 -44
  534. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +12 -90
  535. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +12 -89
  536. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +12 -103
  537. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +12 -30
  538. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +12 -24
  539. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +12 -28
  540. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +12 -103
  541. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +12 -29
  542. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +12 -24
  543. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +12 -29
  544. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +12 -37
  545. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +12 -104
  546. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +12 -103
  547. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +12 -36
  548. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +12 -45
  549. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +12 -33
  550. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +12 -22
  551. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +12 -38
  552. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +12 -26
  553. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +12 -32
  554. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +12 -30
  555. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +12 -22
  556. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +12 -22
  557. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +12 -27
  558. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +12 -155
  559. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +12 -88
  560. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +12 -23
  561. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +12 -28
  562. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +12 -27
  563. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +12 -30
  564. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +12 -24
  565. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +12 -28
  566. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +12 -32
  567. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +12 -27
  568. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +12 -32
  569. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +12 -22
  570. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +12 -22
  571. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +12 -22
  572. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +12 -22
  573. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +12 -131
  574. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +12 -45
  575. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +12 -33
  576. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +12 -22
  577. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +12 -32
  578. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +12 -26
  579. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +12 -32
  580. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +12 -26
  581. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +12 -22
  582. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +12 -22
  583. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +12 -27
  584. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +12 -298
  585. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +12 -88
  586. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +12 -25
  587. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +12 -28
  588. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +12 -29
  589. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +12 -24
  590. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +12 -28
  591. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +12 -199
  592. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +12 -198
  593. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +12 -109
  594. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +12 -32
  595. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +12 -30
  596. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +12 -41
  597. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +12 -109
  598. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +12 -32
  599. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +12 -30
  600. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +12 -41
  601. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +12 -109
  602. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +12 -32
  603. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +12 -29
  604. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +12 -41
  605. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +12 -48
  606. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +12 -56
  607. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +12 -68
  608. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +12 -60
  609. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +12 -44
  610. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +12 -71
  611. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +12 -117
  612. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +12 -30
  613. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +12 -29
  614. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +12 -38
  615. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +12 -37
  616. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +12 -50
  617. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +12 -76
  618. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +12 -105
  619. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +12 -1684
  620. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +10 -177
  621. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +12 -1984
  622. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +10 -43
  623. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +10 -222
  624. data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +22 -14
  625. data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +58 -8
  626. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-dynamic.html +54 -0
  627. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-mml.html +44 -0
  628. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-signals.html +121 -0
  629. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex.html +22 -0
  630. data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex2mml.html +23 -0
  631. data/lib/gollum/frontend/public/javascript/editor/gollum.editor.js +1084 -0
  632. data/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js +168 -0
  633. data/lib/gollum/frontend/public/javascript/editor/langs/creole.js +103 -0
  634. data/lib/gollum/frontend/public/javascript/editor/langs/markdown.js +211 -0
  635. data/lib/gollum/frontend/public/javascript/editor/langs/org.js +173 -0
  636. data/lib/gollum/frontend/public/javascript/editor/langs/pod.js +111 -0
  637. data/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js +74 -0
  638. data/lib/gollum/frontend/public/javascript/editor/langs/textile.js +175 -0
  639. data/lib/gollum/frontend/public/javascript/gollum.dialog.js +206 -0
  640. data/lib/gollum/frontend/public/javascript/gollum.js +178 -231
  641. data/lib/gollum/frontend/public/javascript/gollum.placeholder.js +54 -0
  642. data/lib/gollum/frontend/public/javascript/jquery.color.js +123 -0
  643. data/lib/gollum/frontend/public/javascript/jquery.js +7179 -0
  644. data/lib/gollum/frontend/templates/compare.mustache +51 -31
  645. data/lib/gollum/frontend/templates/create.mustache +15 -39
  646. data/lib/gollum/frontend/templates/edit.mustache +17 -38
  647. data/lib/gollum/frontend/templates/editor.mustache +116 -0
  648. data/lib/gollum/frontend/templates/error.mustache +5 -8
  649. data/lib/gollum/frontend/templates/history.mustache +59 -36
  650. data/lib/gollum/frontend/templates/layout.mustache +24 -29
  651. data/lib/gollum/frontend/templates/page.mustache +34 -26
  652. data/lib/gollum/frontend/templates/search.mustache +35 -18
  653. data/lib/gollum/frontend/templates/searchbar.mustache +10 -0
  654. data/lib/gollum/frontend/views/compare.rb +9 -5
  655. data/lib/gollum/frontend/views/create.rb +23 -0
  656. data/lib/gollum/frontend/views/edit.rb +40 -1
  657. data/lib/gollum/frontend/views/history.rb +1 -1
  658. data/lib/gollum/frontend/views/page.rb +17 -6
  659. data/lib/gollum/frontend/views/search.rb +8 -0
  660. data/lib/gollum/git_access.rb +241 -0
  661. data/lib/gollum/markup.rb +107 -47
  662. data/lib/gollum/page.rb +114 -67
  663. data/lib/gollum/sanitization.rb +115 -0
  664. data/lib/gollum/wiki.rb +307 -267
  665. data/test/examples/lotr.git/COMMIT_EDITMSG +1 -0
  666. data/test/examples/lotr.git/config +8 -1
  667. data/test/examples/lotr.git/index +0 -0
  668. data/test/examples/lotr.git/info/exclude +1 -1
  669. data/test/examples/lotr.git/logs/HEAD +2 -0
  670. data/test/examples/lotr.git/logs/refs/heads/master +2 -0
  671. data/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 +0 -0
  672. data/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 +0 -0
  673. data/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 +0 -0
  674. data/test/examples/lotr.git/packed-refs +1 -1
  675. data/test/examples/lotr.git/refs/heads/master +1 -1
  676. data/test/examples/lotr.git/refs/remotes/origin/HEAD +1 -0
  677. data/test/examples/page_file_dir.git/COMMIT_EDITMSG +1 -0
  678. data/test/examples/page_file_dir.git/HEAD +1 -0
  679. data/test/examples/page_file_dir.git/config +6 -0
  680. data/test/examples/page_file_dir.git/description +1 -0
  681. data/test/examples/page_file_dir.git/index +0 -0
  682. data/test/examples/page_file_dir.git/info/exclude +6 -0
  683. data/test/examples/page_file_dir.git/logs/HEAD +1 -0
  684. data/test/examples/page_file_dir.git/logs/refs/heads/master +1 -0
  685. data/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf +0 -0
  686. data/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e +0 -0
  687. data/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 +0 -0
  688. data/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 +0 -0
  689. data/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 +0 -0
  690. data/test/examples/page_file_dir.git/refs/heads/master +1 -0
  691. data/test/examples/revert.git/COMMIT_EDITMSG +1 -0
  692. data/test/examples/revert.git/HEAD +1 -0
  693. data/test/examples/revert.git/config +12 -0
  694. data/test/examples/revert.git/description +1 -0
  695. data/test/examples/revert.git/index +0 -0
  696. data/test/examples/revert.git/info/exclude +6 -0
  697. data/test/examples/revert.git/logs/HEAD +2 -0
  698. data/test/examples/revert.git/logs/refs/heads/master +2 -0
  699. data/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d +0 -0
  700. data/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 +0 -0
  701. data/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 +0 -0
  702. data/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc +0 -0
  703. data/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 +0 -0
  704. data/test/examples/revert.git/objects/info/packs +2 -0
  705. data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx +0 -0
  706. data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack +0 -0
  707. data/test/examples/revert.git/packed-refs +2 -0
  708. data/test/examples/revert.git/refs/heads/master +1 -0
  709. data/test/examples/revert.git/refs/remotes/origin/HEAD +1 -0
  710. data/test/examples/yubiwa.git/HEAD +1 -0
  711. data/test/examples/yubiwa.git/config +5 -0
  712. data/test/examples/yubiwa.git/description +1 -0
  713. data/test/examples/yubiwa.git/info/exclude +6 -0
  714. data/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 +0 -0
  715. data/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de +0 -0
  716. data/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 +0 -0
  717. data/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 +1 -0
  718. data/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 +0 -0
  719. data/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b +0 -0
  720. data/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 +0 -0
  721. data/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 +0 -0
  722. data/test/examples/yubiwa.git/refs/heads/master +1 -0
  723. data/test/helper.rb +19 -3
  724. data/test/test_app.rb +144 -0
  725. data/test/test_committer.rb +51 -0
  726. data/test/test_file.rb +3 -1
  727. data/test/test_git_access.rb +52 -0
  728. data/test/test_markup.rb +92 -17
  729. data/test/test_page.rb +30 -2
  730. data/test/test_page_revert.rb +45 -0
  731. data/test/test_wiki.rb +55 -36
  732. metadata +388 -47
  733. data/lib/gollum/frontend/public/css/editbar.css +0 -194
  734. data/lib/gollum/frontend/public/css/screen.css +0 -726
  735. data/lib/gollum/frontend/public/css/syntax.css +0 -61
  736. data/lib/gollum/frontend/public/images/buttons.png +0 -0
  737. data/lib/gollum/frontend/public/images/editbar-buttons.png +0 -0
  738. data/lib/gollum/frontend/public/images/example.png +0 -0
  739. data/lib/gollum/frontend/public/images/twiddle-down.png +0 -0
  740. data/lib/gollum/frontend/public/images/twiddle-right.png +0 -0
  741. data/lib/gollum/frontend/public/images/txt.png +0 -0
  742. data/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +0 -202
  743. data/lib/gollum/frontend/public/javascript/MathJax/README.txt +0 -480
  744. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
  745. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +0 -28
  746. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +0 -28
  747. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +0 -28
  748. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +0 -28
  749. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +0 -28
  750. data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +0 -28
  751. data/lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js +0 -57
  752. data/lib/gollum/frontend/public/javascript/jquery.tabs.js +0 -59
  753. data/lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js +0 -1
  754. data/lib/gollum/frontend/templates/editbar.mustache +0 -1196
  755. data/test/examples/lotr.git/hooks/applypatch-msg.sample +0 -15
  756. data/test/examples/lotr.git/hooks/commit-msg.sample +0 -24
  757. data/test/examples/lotr.git/hooks/post-commit.sample +0 -8
  758. data/test/examples/lotr.git/hooks/post-receive.sample +0 -15
  759. data/test/examples/lotr.git/hooks/post-update.sample +0 -8
  760. data/test/examples/lotr.git/hooks/pre-applypatch.sample +0 -14
  761. data/test/examples/lotr.git/hooks/pre-commit.sample +0 -46
  762. data/test/examples/lotr.git/hooks/pre-rebase.sample +0 -169
  763. data/test/examples/lotr.git/hooks/prepare-commit-msg.sample +0 -36
  764. data/test/examples/lotr.git/hooks/update.sample +0 -128
  765. data/test/examples/lotr.git/info/refs +0 -1
@@ -11,6 +11,8 @@ require 'sanitize'
11
11
  require 'gollum/ruby1.8'
12
12
 
13
13
  # internal
14
+ require 'gollum/git_access'
15
+ require 'gollum/committer'
14
16
  require 'gollum/pagination'
15
17
  require 'gollum/blob_entry'
16
18
  require 'gollum/wiki'
@@ -18,54 +20,13 @@ require 'gollum/page'
18
20
  require 'gollum/file'
19
21
  require 'gollum/markup'
20
22
  require 'gollum/albino'
23
+ require 'gollum/sanitization'
21
24
 
22
25
  module Gollum
23
- VERSION = '1.1.1'
24
-
25
- SANITIZATION_OPTIONS = {
26
- :elements => [
27
- 'a', 'abbr', 'acronym', 'address', 'area', 'b', 'big',
28
- 'blockquote', 'br', 'button', 'caption', 'center', 'cite',
29
- 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir',
30
- 'div', 'dl', 'dt', 'em', 'fieldset', 'font', 'form', 'h1',
31
- 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'input',
32
- 'ins', 'kbd', 'label', 'legend', 'li', 'map', 'menu',
33
- 'ol', 'optgroup', 'option', 'p', 'pre', 'q', 's', 'samp',
34
- 'select', 'small', 'span', 'strike', 'strong', 'sub',
35
- 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th',
36
- 'thead', 'tr', 'tt', 'u', 'ul', 'var'
37
- ],
38
- :attributes => {
39
- :all => ['abbr', 'accept', 'accept-charset',
40
- 'accesskey', 'action', 'align', 'alt', 'axis',
41
- 'border', 'cellpadding', 'cellspacing', 'char',
42
- 'charoff', 'charset', 'checked', 'cite',
43
- 'class', 'clear', 'cols', 'colspan', 'color',
44
- 'compact', 'coords', 'datetime', 'dir',
45
- 'disabled', 'enctype', 'for', 'frame',
46
- 'headers', 'height', 'href', 'hreflang',
47
- 'hspace', 'id', 'ismap', 'label', 'lang',
48
- 'longdesc', 'maxlength', 'media', 'method',
49
- 'multiple', 'name', 'nohref', 'noshade',
50
- 'nowrap', 'prompt', 'readonly', 'rel', 'rev',
51
- 'rows', 'rowspan', 'rules', 'scope',
52
- 'selected', 'shape', 'size', 'span', 'src',
53
- 'start', 'summary', 'tabindex', 'target',
54
- 'title', 'type', 'usemap', 'valign', 'value',
55
- 'vspace', 'width']
56
- },
57
- :protocols => {
58
- 'a' => {'href' => ['http', 'https', 'mailto', :relative]},
59
- 'img' => {'href' => ['http', 'https', :relative]}
60
- }
61
- }
62
- HISTORY_SANITIZATION_OPTIONS = SANITIZATION_OPTIONS.merge(
63
- :add_attributes => {
64
- 'a' => {'rel' => 'nofollow'}
65
- }
66
- )
26
+ VERSION = '1.2.0'
67
27
 
68
28
  class Error < StandardError; end
29
+
69
30
  class DuplicatePageError < Error
70
31
  attr_accessor :dir
71
32
  attr_accessor :existing_path
@@ -1,30 +1,5 @@
1
- require 'albino'
1
+ require 'albino/multi'
2
2
 
3
- class Gollum::Albino < Albino
4
- def self.bin
5
- Albino.bin
6
- end
7
-
8
- def bin
9
- Albino.bin
10
- end
11
-
12
- def colorize(options = {})
13
- html = super.to_s
14
- html.sub!(%r{</pre></div>\Z}, "</pre>\n</div>")
15
- html
16
- end
17
-
18
- # Hotfix for vulnerable versions of Albino
19
- if !instance_methods.include?('shell_escape')
20
- def convert_options(options = {})
21
- @options.merge(options).inject('') do |string, (flag, value)|
22
- string + " -#{flag} #{shell_escape value}"
23
- end
24
- end
25
-
26
- def shell_escape(str)
27
- str.to_s.gsub("'", "\\\\'").gsub(";", '\\;')
28
- end
29
- end
30
- end
3
+ class Gollum::Albino < Albino::Multi
4
+ self.bin = ::Albino::Multi.bin
5
+ end
@@ -3,21 +3,25 @@ module Gollum
3
3
  # Gets the String SHA for this blob.
4
4
  attr_reader :sha
5
5
 
6
- # Gets the String full path for this blob.
6
+ # Gets the full path String for this blob.
7
7
  attr_reader :path
8
8
 
9
- def initialize(sha, path)
9
+ # Gets the Fixnum size of this blob.
10
+ attr_reader :size
11
+
12
+ def initialize(sha, path, size = nil)
10
13
  @sha = sha
11
14
  @path = path
12
- @dir = @name = @blob = nil
15
+ @size = size
16
+ @dir = @name = @blob = nil
13
17
  end
14
18
 
15
- # Gets the normalized directory path for this blob.
19
+ # Gets the normalized directory path String for this blob.
16
20
  def dir
17
21
  @dir ||= self.class.normalize_dir(::File.dirname(@path))
18
22
  end
19
23
 
20
- # Gets the String file base name for this blob.
24
+ # Gets the file base name String for this blob.
21
25
  def name
22
26
  @name ||= ::File.basename(@path)
23
27
  end
@@ -28,7 +32,8 @@ module Gollum
28
32
  #
29
33
  # Returns an unbaked Grit::Blob instance.
30
34
  def blob(repo)
31
- @blob ||= Grit::Blob.create(repo, :id => @sha, :name => @name)
35
+ @blob ||= Grit::Blob.create(repo,
36
+ :id => @sha, :name => name, :size => @size)
32
37
  end
33
38
 
34
39
  # Gets a Page instance for this blob.
@@ -48,19 +53,21 @@ module Gollum
48
53
  end
49
54
 
50
55
  # Normalizes a given directory name for searching through tree paths.
51
- # Ensures that a directory begins with a slash, or
56
+ # Ensures that a directory begins with a slash, or
52
57
  #
53
58
  # normalize_dir("") # => ""
54
59
  # normalize_dir(".") # => ""
55
60
  # normalize_dir("foo") # => "/foo"
56
61
  # normalize_dir("/foo/") # => "/foo"
57
62
  # normalize_dir("/") # => ""
63
+ # normalize_dir("c:/") # => ""
58
64
  #
59
65
  # dir - String directory name.
60
66
  #
61
- # Returns a normalized String directory name, or nil if no directory
67
+ # Returns a normalized String directory name, or nil if no directory
62
68
  # is given.
63
69
  def self.normalize_dir(dir)
70
+ return '' if dir =~ /^.:\/$/
64
71
  if dir
65
72
  dir = ::File.expand_path(dir, '/')
66
73
  dir = '' if dir == '/'
@@ -0,0 +1,217 @@
1
+ module Gollum
2
+ # Responsible for handling the commit process for a Wiki. It sets up the
3
+ # Git index, provides methods for modifying the tree, and stores callbacks
4
+ # to be fired after the commit has been made. This is specifically
5
+ # designed to handle multiple updated pages in a single commit.
6
+ class Committer
7
+ # Gets the instance of the Gollum::Wiki that is being updated.
8
+ attr_reader :wiki
9
+
10
+ # Gets a Hash of commit options.
11
+ attr_reader :options
12
+
13
+ # Initializes the Committer.
14
+ #
15
+ # wiki - The Gollum::Wiki instance that is being updated.
16
+ # options - The commit Hash details:
17
+ # :message - The String commit message.
18
+ # :name - The String author full name.
19
+ # :email - The String email address.
20
+ # :parent - Optional Grit::Commit parent to this update.
21
+ # :tree - Optional String SHA of the tree to create the
22
+ # index from.
23
+ # :committer - Optional Gollum::Committer instance. If provided,
24
+ # assume that this operation is part of batch of
25
+ # updates and the commit happens later.
26
+ #
27
+ # Returns the Committer instance.
28
+ def initialize(wiki, options = {})
29
+ @wiki = wiki
30
+ @options = options
31
+ @callbacks = []
32
+ end
33
+
34
+ # Public: References the Git index for this commit.
35
+ #
36
+ # Returns a Grit::Index.
37
+ def index
38
+ @index ||= begin
39
+ idx = @wiki.repo.index
40
+ if tree = options[:tree]
41
+ idx.read_tree(tree)
42
+ elsif parent = parents.first
43
+ idx.read_tree(parent.tree.id)
44
+ end
45
+ idx
46
+ end
47
+ end
48
+
49
+ # Public: The committer for this commit.
50
+ #
51
+ # Returns a Grit::Actor.
52
+ def actor
53
+ @actor ||= begin
54
+ @options[:name] = @wiki.default_committer_name if @options[:name].to_s.empty?
55
+ @options[:email] = @wiki.default_committer_email if @options[:email].to_s.empty?
56
+ Grit::Actor.new(@options[:name], @options[:email])
57
+ end
58
+ end
59
+
60
+ # Public: The parent commits to this pending commit.
61
+ #
62
+ # Returns an array of Grit::Commit instances.
63
+ def parents
64
+ @parents ||= begin
65
+ arr = [@options[:parent] || @wiki.repo.commit('master')]
66
+ arr.flatten!
67
+ arr.compact!
68
+ arr
69
+ end
70
+ end
71
+
72
+ # Adds a page to the given Index.
73
+ #
74
+ # dir - The String subdirectory of the Gollum::Page without any
75
+ # prefix or suffix slashes (e.g. "foo/bar").
76
+ # name - The String Gollum::Page name.
77
+ # format - The Symbol Gollum::Page format.
78
+ # data - The String wiki data to store in the tree map.
79
+ # allow_same_ext - A Boolean determining if the tree map allows the same
80
+ # filename with the same extension.
81
+ #
82
+ # Raises Gollum::DuplicatePageError if a matching filename already exists.
83
+ # This way, pages are not inadvertently overwritten.
84
+ #
85
+ # Returns nothing (modifies the Index in place).
86
+ def add_to_index(dir, name, format, data, allow_same_ext = false)
87
+ path = @wiki.page_file_name(name, format)
88
+
89
+ dir = '/' if dir.strip.empty?
90
+
91
+ fullpath = ::File.join(*[@wiki.page_file_dir, dir, path].compact)
92
+ fullpath = fullpath[1..-1] if fullpath =~ /^\//
93
+
94
+ if index.current_tree && tree = index.current_tree / dir
95
+ downpath = path.downcase.sub(/\.\w+$/, '')
96
+
97
+ tree.blobs.each do |blob|
98
+ next if page_path_scheduled_for_deletion?(index.tree, fullpath)
99
+ file = blob.name.downcase.sub(/\.\w+$/, '')
100
+ file_ext = ::File.extname(blob.name).sub(/^\./, '')
101
+ if downpath == file && !(allow_same_ext && file_ext == ext)
102
+ raise DuplicatePageError.new(dir, blob.name, path)
103
+ end
104
+ end
105
+ end
106
+
107
+ index.add(fullpath, @wiki.normalize(data))
108
+ end
109
+
110
+ # Update the given file in the repository's working directory if there
111
+ # is a working directory present.
112
+ #
113
+ # dir - The String directory in which the file lives.
114
+ # name - The String name of the page (may be in human format).
115
+ # format - The Symbol format of the page.
116
+ #
117
+ # Returns nothing.
118
+ def update_working_dir(dir, name, format)
119
+ unless @wiki.repo.bare
120
+ if @wiki.page_file_dir
121
+ dir = dir.size.zero? ? @wiki.page_file_dir : File.join(dir, @wiki.page_file_dir)
122
+ end
123
+
124
+ path =
125
+ if dir == ''
126
+ @wiki.page_file_name(name, format)
127
+ else
128
+ ::File.join(dir, @wiki.page_file_name(name, format))
129
+ end
130
+
131
+ Dir.chdir(::File.join(@wiki.repo.path, '..')) do
132
+ if file_path_scheduled_for_deletion?(index.tree, path)
133
+ @wiki.repo.git.rm({'f' => true}, '--', path)
134
+ else
135
+ @wiki.repo.git.checkout({}, 'HEAD', '--', path)
136
+ end
137
+ end
138
+ end
139
+ end
140
+
141
+ # Writes the commit to Git and runs the after_commit callbacks.
142
+ #
143
+ # Returns the String SHA1 of the new commit.
144
+ def commit
145
+ sha1 = index.commit(@options[:message], parents, actor)
146
+ @callbacks.each do |cb|
147
+ cb.call(self, sha1)
148
+ end
149
+ sha1
150
+ end
151
+
152
+ # Adds a callback to be fired after a commit.
153
+ #
154
+ # block - A block that expects this Committer instance and the created
155
+ # commit's SHA1 as the arguments.
156
+ #
157
+ # Returns nothing.
158
+ def after_commit(&block)
159
+ @callbacks << block
160
+ end
161
+
162
+ # Determine if a given page (regardless of format) is scheduled to be
163
+ # deleted in the next commit for the given Index.
164
+ #
165
+ # map - The Hash map:
166
+ # key - The String directory or filename.
167
+ # val - The Hash submap or the String contents of the file.
168
+ # path - The String path of the page file. This may include the format
169
+ # extension in which case it will be ignored.
170
+ #
171
+ # Returns the Boolean response.
172
+ def page_path_scheduled_for_deletion?(map, path)
173
+ parts = path.split('/')
174
+ if parts.size == 1
175
+ deletions = map.keys.select { |k| !map[k] }
176
+ downfile = parts.first.downcase.sub(/\.\w+$/, '')
177
+ deletions.any? { |d| d.downcase.sub(/\.\w+$/, '') == downfile }
178
+ else
179
+ part = parts.shift
180
+ if rest = map[part]
181
+ page_path_scheduled_for_deletion?(rest, parts.join('/'))
182
+ else
183
+ false
184
+ end
185
+ end
186
+ end
187
+
188
+ # Determine if a given file is scheduled to be deleted in the next commit
189
+ # for the given Index.
190
+ #
191
+ # map - The Hash map:
192
+ # key - The String directory or filename.
193
+ # val - The Hash submap or the String contents of the file.
194
+ # path - The String path of the file including extension.
195
+ #
196
+ # Returns the Boolean response.
197
+ def file_path_scheduled_for_deletion?(map, path)
198
+ parts = path.split('/')
199
+ if parts.size == 1
200
+ deletions = map.keys.select { |k| !map[k] }
201
+ deletions.any? { |d| d == parts.first }
202
+ else
203
+ part = parts.shift
204
+ if rest = map[part]
205
+ file_path_scheduled_for_deletion?(rest, parts.join('/'))
206
+ else
207
+ false
208
+ end
209
+ end
210
+ end
211
+
212
+ # Proxies methods t
213
+ def method_missing(name, *args)
214
+ index.send(name, *args)
215
+ end
216
+ end
217
+ end
@@ -53,11 +53,10 @@ module Gollum
53
53
  def find(name, version)
54
54
  checked = name.downcase
55
55
  map = @wiki.tree_map_for(version)
56
- sha = @wiki.ref_map[version] || version
57
56
  if entry = map.detect { |entry| entry.path.downcase == checked }
58
57
  @path = name
59
- @blob = Grit::Blob.create(@wiki.repo, :id => entry.sha, :name => entry.name)
60
- @version = Grit::Commit.create(@wiki.repo, :id => sha)
58
+ @blob = entry.blob(@wiki.repo)
59
+ @version = version.is_a?(Grit::Commit) ? version : @wiki.commit_for(version)
61
60
  self
62
61
  end
63
62
  end
@@ -30,10 +30,12 @@ module Precious
30
30
 
31
31
  # Sinatra error handling
32
32
  configure :development, :staging do
33
- set :raise_errors, false
34
- set :show_exceptions, true
35
- set :dump_errors, true
36
- set :clean_trace, false
33
+ enable :show_exceptions, :dump_errors
34
+ disable :raise_errors, :clean_trace
35
+ end
36
+
37
+ configure :test do
38
+ enable :logging, :raise_errors, :dump_errors
37
39
  end
38
40
 
39
41
  get '/' do
@@ -42,7 +44,7 @@ module Precious
42
44
 
43
45
  get '/edit/*' do
44
46
  @name = params[:splat].first
45
- wiki = Gollum::Wiki.new(settings.gollum_path)
47
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
46
48
  if page = wiki.page(@name)
47
49
  @page = page
48
50
  @content = page.raw_data
@@ -53,20 +55,24 @@ module Precious
53
55
  end
54
56
 
55
57
  post '/edit/*' do
56
- name = params[:splat].first
57
- wiki = Gollum::Wiki.new(settings.gollum_path)
58
- page = wiki.page(name)
59
- format = params[:format].intern
60
- name = params[:rename] if params[:rename]
61
-
62
- wiki.update_page(page, name, format, params[:content], commit_message)
58
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
59
+ page = wiki.page(params[:splat].first)
60
+ name = params[:rename] || page.name
61
+ committer = Gollum::Committer.new(wiki, commit_message)
62
+ commit = {:committer => committer}
63
+
64
+ update_wiki_page(wiki, page, params[:content], commit, name,
65
+ params[:format])
66
+ update_wiki_page(wiki, page.footer, params[:footer], commit) if params[:footer]
67
+ update_wiki_page(wiki, page.sidebar, params[:sidebar], commit) if params[:sidebar]
68
+ committer.commit
63
69
 
64
70
  redirect "/#{CGI.escape(Gollum::Page.cname(name))}"
65
71
  end
66
72
 
67
- post '/create/*' do
73
+ post '/create' do
68
74
  name = params[:page]
69
- wiki = Gollum::Wiki.new(settings.gollum_path)
75
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
70
76
 
71
77
  format = params[:format].intern
72
78
 
@@ -79,16 +85,37 @@ module Precious
79
85
  end
80
86
  end
81
87
 
88
+ post '/revert/:page/*' do
89
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
90
+ @name = params[:page]
91
+ @page = wiki.page(@name)
92
+ shas = params[:splat].first.split("/")
93
+ sha1 = shas.shift
94
+ sha2 = shas.shift
95
+
96
+ if wiki.revert_page(@page, sha1, sha2, commit_message)
97
+ redirect "/#{CGI.escape(@name)}"
98
+ else
99
+ sha2, sha1 = sha1, "#{sha1}^" if !sha2
100
+ @versions = [sha1, sha2]
101
+ diffs = wiki.repo.diff(@versions.first, @versions.last, @page.path)
102
+ @diff = diffs.first
103
+ @message = "The patch does not apply."
104
+ mustache :compare
105
+ end
106
+ end
107
+
82
108
  post '/preview' do
83
- format = params['wiki_format']
84
- data = params['text']
85
- wiki = Gollum::Wiki.new(settings.gollum_path)
86
- wiki.preview_page("Preview", data, format).formatted_data
109
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
110
+ @name = "Preview"
111
+ @page = wiki.preview_page(@name, params[:content], params[:format])
112
+ @content = @page.formatted_data
113
+ mustache :page
87
114
  end
88
115
 
89
116
  get '/history/:name' do
90
117
  @name = params[:name]
91
- wiki = Gollum::Wiki.new(settings.gollum_path)
118
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
92
119
  @page = wiki.page(@name)
93
120
  @page_num = [params[:page].to_i, 1].max
94
121
  @versions = @page.versions :page => @page_num
@@ -110,16 +137,20 @@ module Precious
110
137
  get '/compare/:name/:version_list' do
111
138
  @name = params[:name]
112
139
  @versions = params[:version_list].split(/\.{2,3}/)
113
- wiki = Gollum::Wiki.new(settings.gollum_path)
140
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
114
141
  @page = wiki.page(@name)
115
142
  diffs = wiki.repo.diff(@versions.first, @versions.last, @page.path)
116
143
  @diff = diffs.first
117
144
  mustache :compare
118
145
  end
119
146
 
147
+ get %r{^/(javascript|css|images)} do
148
+ halt 404
149
+ end
150
+
120
151
  get %r{/(.+?)/([0-9a-f]{40})} do
121
152
  name = params[:captures][0]
122
- wiki = Gollum::Wiki.new(settings.gollum_path)
153
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
123
154
  if page = wiki.page(name, params[:captures][1])
124
155
  @page = page
125
156
  @name = name
@@ -132,8 +163,9 @@ module Precious
132
163
 
133
164
  get '/search' do
134
165
  @query = params[:q]
135
- wiki = Gollum::Wiki.new(settings.gollum_path)
166
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
136
167
  @results = wiki.search @query
168
+ @name = @query
137
169
  mustache :search
138
170
  end
139
171
 
@@ -142,7 +174,7 @@ module Precious
142
174
  end
143
175
 
144
176
  def show_page_or_file(name)
145
- wiki = Gollum::Wiki.new(settings.gollum_path)
177
+ wiki = Gollum::Wiki.new(settings.gollum_path, settings.wiki_options)
146
178
  if page = wiki.page(name)
147
179
  @page = page
148
180
  @name = name
@@ -157,6 +189,15 @@ module Precious
157
189
  end
158
190
  end
159
191
 
192
+ def update_wiki_page(wiki, page, content, commit_message, name = nil, format = nil)
193
+ return if !page ||
194
+ ((!content || page.raw_data == content) && page.format == format)
195
+ name ||= page.name
196
+ format = (format || page.format).to_sym
197
+ content ||= page.raw_data
198
+ wiki.update_page(page, name, format, content.to_s, commit_message)
199
+ end
200
+
160
201
  def commit_message
161
202
  { :message => params[:message] }
162
203
  end