super-pro-rb 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. checksums.yaml +7 -0
  2. data/gollum-6.1.0/CONTRIBUTING.md +221 -0
  3. data/gollum-6.1.0/Dockerfile +57 -0
  4. data/gollum-6.1.0/Gemfile +30 -0
  5. data/gollum-6.1.0/HISTORY.md +229 -0
  6. data/gollum-6.1.0/LATEST_CHANGES.md +6 -0
  7. data/gollum-6.1.0/LICENSE +21 -0
  8. data/gollum-6.1.0/README.md +177 -0
  9. data/gollum-6.1.0/Rakefile +297 -0
  10. data/gollum-6.1.0/bin/gollum +301 -0
  11. data/gollum-6.1.0/bin/gollum-migrate-tags +283 -0
  12. data/gollum-6.1.0/config.rb +12 -0
  13. data/gollum-6.1.0/config.ru +12 -0
  14. data/gollum-6.1.0/contrib/automation/gollum-post +66 -0
  15. data/gollum-6.1.0/contrib/openrc/conf.d/gollum +3 -0
  16. data/gollum-6.1.0/contrib/openrc/init.d/gollum +36 -0
  17. data/gollum-6.1.0/contrib/systemd/gollum@.service +12 -0
  18. data/gollum-6.1.0/contrib/sysv-debian/init.d/gollum +79 -0
  19. data/gollum-6.1.0/docker-run.sh +24 -0
  20. data/gollum-6.1.0/gollum.gemspec +305 -0
  21. data/gollum-6.1.0/lib/gollum/app.rb +747 -0
  22. data/gollum-6.1.0/lib/gollum/assets.rb +33 -0
  23. data/gollum-6.1.0/lib/gollum/helpers.rb +74 -0
  24. data/gollum-6.1.0/lib/gollum/locales/cn.yml +103 -0
  25. data/gollum-6.1.0/lib/gollum/locales/en.yml +103 -0
  26. data/gollum-6.1.0/lib/gollum/public/assets/app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js +30 -0
  27. data/gollum-6.1.0/lib/gollum/public/assets/app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js.gz +0 -0
  28. data/gollum-6.1.0/lib/gollum/public/assets/app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css +11 -0
  29. data/gollum-6.1.0/lib/gollum/public/assets/app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css.gz +0 -0
  30. data/gollum-6.1.0/lib/gollum/public/assets/criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css +1 -0
  31. data/gollum-6.1.0/lib/gollum/public/assets/criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css.gz +0 -0
  32. data/gollum-6.1.0/lib/gollum/public/assets/editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js +165 -0
  33. data/gollum-6.1.0/lib/gollum/public/assets/editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js.gz +0 -0
  34. data/gollum-6.1.0/lib/gollum/public/assets/gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js +9 -0
  35. data/gollum-6.1.0/lib/gollum/public/assets/gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js.gz +0 -0
  36. data/gollum-6.1.0/lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js +118 -0
  37. data/gollum-6.1.0/lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js.gz +0 -0
  38. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  39. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  40. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  41. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  42. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  43. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  44. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  45. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  46. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  47. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  48. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  49. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  50. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  51. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  52. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  53. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  54. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  55. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  56. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  57. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  58. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/katex-709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f.css +1 -0
  59. data/gollum-6.1.0/lib/gollum/public/assets/katex/dist/katex-709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f.css.gz +0 -0
  60. data/gollum-6.1.0/lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css +1 -0
  61. data/gollum-6.1.0/lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz +0 -0
  62. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/HOWTO_UPDATE_MATHJAX.md +21 -0
  63. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/a11y/assistive-mml.js +1 -0
  64. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/a11y/complexity.js +1 -0
  65. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/a11y/explorer.js +1 -0
  66. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/a11y/semantic-enrich.js +1 -0
  67. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/a11y/sre.js +1 -0
  68. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/adaptors/liteDOM.js +1 -0
  69. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/core.js +1 -0
  70. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/asciimath.js +1 -0
  71. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/mml/entities.js +1 -0
  72. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/mml/extensions/mml3.js +1 -0
  73. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/mml/extensions/mml3.sef.json +1 -0
  74. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/mml.js +1 -0
  75. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/action.js +1 -0
  76. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/all-packages.js +34 -0
  77. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/ams.js +1 -0
  78. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/amscd.js +1 -0
  79. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/autoload.js +1 -0
  80. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/bbox.js +1 -0
  81. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/boldsymbol.js +1 -0
  82. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/braket.js +1 -0
  83. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/bussproofs.js +1 -0
  84. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/cancel.js +1 -0
  85. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/cases.js +1 -0
  86. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/centernot.js +1 -0
  87. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/color.js +1 -0
  88. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/colortbl.js +1 -0
  89. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/colorv2.js +1 -0
  90. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/configmacros.js +1 -0
  91. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/empheq.js +1 -0
  92. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/enclose.js +1 -0
  93. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/extpfeil.js +1 -0
  94. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/gensymb.js +1 -0
  95. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/html.js +1 -0
  96. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/mathtools.js +1 -0
  97. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/mhchem.js +34 -0
  98. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/newcommand.js +1 -0
  99. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/noerrors.js +1 -0
  100. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/noundefined.js +1 -0
  101. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/physics.js +1 -0
  102. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/require.js +1 -0
  103. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/setoptions.js +1 -0
  104. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/tagformat.js +1 -0
  105. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/textcomp.js +1 -0
  106. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/textmacros.js +1 -0
  107. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/unicode.js +1 -0
  108. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/upgreek.js +1 -0
  109. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex/extensions/verb.js +1 -0
  110. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex-base.js +1 -0
  111. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex-full.js +34 -0
  112. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/input/tex.js +1 -0
  113. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/latest.js +1 -0
  114. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/loader.js +1 -0
  115. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/node-main.js +1 -0
  116. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/tex.js +1 -0
  117. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  118. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  119. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  120. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  121. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  122. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  123. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  124. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  125. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  126. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  127. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  128. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  129. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  130. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  131. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  132. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  133. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  134. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  135. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  136. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  137. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  138. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  139. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  140. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/chtml.js +1 -0
  141. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/svg/fonts/tex.js +1 -0
  142. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/output/svg.js +1 -0
  143. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/base.json +29 -0
  144. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/ca.json +140 -0
  145. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/da.json +140 -0
  146. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/de.json +146 -0
  147. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/en.json +158 -0
  148. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/es.json +140 -0
  149. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/fr.json +146 -0
  150. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/hi.json +146 -0
  151. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/it.json +146 -0
  152. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/nb.json +146 -0
  153. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/nemeth.json +125 -0
  154. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/nn.json +146 -0
  155. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/sre/mathmaps/sv.json +146 -0
  156. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/startup.js +1 -0
  157. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/tex-chtml-full-speech.js +34 -0
  158. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/tex-mml-chtml.js +1 -0
  159. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/ui/lazy.js +1 -0
  160. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/ui/menu.js +1 -0
  161. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/MathJax/ui/safe.js +1 -0
  162. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/app.js +15 -0
  163. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/clipboard.min.js +7 -0
  164. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/date.min.js +123 -0
  165. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/gollum.editor.js +1277 -0
  166. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/asciidoc.js +117 -0
  167. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/bib.js +8 -0
  168. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/creole.js +70 -0
  169. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/default.js +201 -0
  170. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/markdown.js +119 -0
  171. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/mediawiki.js +122 -0
  172. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/org.js +128 -0
  173. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/plaintext.js +8 -0
  174. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/pod.js +93 -0
  175. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/rdoc.js +23 -0
  176. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/rest.js +187 -0
  177. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/langs/textile.js +133 -0
  178. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/modes.js.erb +252 -0
  179. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor/sections.js +87 -0
  180. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/editor.js +30 -0
  181. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.behaviors.js +40 -0
  182. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.dialog.js +263 -0
  183. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.js.erb +814 -0
  184. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.katex.js +3 -0
  185. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.mermaid.js +2 -0
  186. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/gollum.placeholder.js +54 -0
  187. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/identicon.js +205 -0
  188. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/jquery-1.9.1.min.js +5 -0
  189. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/jquery.resize.js +164 -0
  190. data/gollum-6.1.0/lib/gollum/public/gollum/javascript/polyfills.js +6 -0
  191. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/_base.scss +13 -0
  192. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/_breakpoint.scss +22 -0
  193. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/_features.scss +84 -0
  194. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/_spinners.scss +245 -0
  195. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/app.scss +16 -0
  196. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/criticmarkup.scss +42 -0
  197. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/dialog.scss +140 -0
  198. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/editor.scss +217 -0
  199. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/emoji.scss +5 -0
  200. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/highlights.scss +196 -0
  201. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/print.scss +16 -0
  202. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/spinner.scss +9 -0
  203. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/tables.scss +47 -0
  204. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/template.scss.erb +204 -0
  205. data/gollum-6.1.0/lib/gollum/public/gollum/stylesheets/wiki_content.scss +144 -0
  206. data/gollum-6.1.0/lib/gollum/templates/commit.mustache +29 -0
  207. data/gollum-6.1.0/lib/gollum/templates/compare.mustache +84 -0
  208. data/gollum-6.1.0/lib/gollum/templates/create.mustache +26 -0
  209. data/gollum-6.1.0/lib/gollum/templates/edit.mustache +24 -0
  210. data/gollum-6.1.0/lib/gollum/templates/editor.mustache +215 -0
  211. data/gollum-6.1.0/lib/gollum/templates/error.mustache +8 -0
  212. data/gollum-6.1.0/lib/gollum/templates/history.mustache +51 -0
  213. data/gollum-6.1.0/lib/gollum/templates/history_authors/gravatar.mustache +2 -0
  214. data/gollum-6.1.0/lib/gollum/templates/history_authors/identicon.mustache +2 -0
  215. data/gollum-6.1.0/lib/gollum/templates/history_authors/none.mustache +2 -0
  216. data/gollum-6.1.0/lib/gollum/templates/latest_changes.mustache +36 -0
  217. data/gollum-6.1.0/lib/gollum/templates/layout.mustache +140 -0
  218. data/gollum-6.1.0/lib/gollum/templates/mobilenav.mustache +72 -0
  219. data/gollum-6.1.0/lib/gollum/templates/navbar.mustache +110 -0
  220. data/gollum-6.1.0/lib/gollum/templates/overview.mustache +55 -0
  221. data/gollum-6.1.0/lib/gollum/templates/page.mustache +13 -0
  222. data/gollum-6.1.0/lib/gollum/templates/pagination.mustache +23 -0
  223. data/gollum-6.1.0/lib/gollum/templates/search.mustache +51 -0
  224. data/gollum-6.1.0/lib/gollum/templates/searchbar.mustache +3 -0
  225. data/gollum-6.1.0/lib/gollum/templates/wiki_content.mustache +64 -0
  226. data/gollum-6.1.0/lib/gollum/uri_encode_component.rb +212 -0
  227. data/gollum-6.1.0/lib/gollum/views/commit.rb +49 -0
  228. data/gollum-6.1.0/lib/gollum/views/compare.rb +109 -0
  229. data/gollum-6.1.0/lib/gollum/views/create.rb +53 -0
  230. data/gollum-6.1.0/lib/gollum/views/edit.rb +78 -0
  231. data/gollum-6.1.0/lib/gollum/views/editable.rb +31 -0
  232. data/gollum-6.1.0/lib/gollum/views/error.rb +7 -0
  233. data/gollum-6.1.0/lib/gollum/views/has_math.rb +15 -0
  234. data/gollum-6.1.0/lib/gollum/views/has_page.rb +19 -0
  235. data/gollum-6.1.0/lib/gollum/views/has_user_icons.rb +15 -0
  236. data/gollum-6.1.0/lib/gollum/views/helpers/locale_helpers.rb +89 -0
  237. data/gollum-6.1.0/lib/gollum/views/helpers.rb +132 -0
  238. data/gollum-6.1.0/lib/gollum/views/history.rb +56 -0
  239. data/gollum-6.1.0/lib/gollum/views/latest_changes.rb +44 -0
  240. data/gollum-6.1.0/lib/gollum/views/layout.rb +103 -0
  241. data/gollum-6.1.0/lib/gollum/views/overview.rb +81 -0
  242. data/gollum-6.1.0/lib/gollum/views/page.rb +277 -0
  243. data/gollum-6.1.0/lib/gollum/views/pagination.rb +13 -0
  244. data/gollum-6.1.0/lib/gollum/views/rss.rb +84 -0
  245. data/gollum-6.1.0/lib/gollum/views/search.rb +47 -0
  246. data/gollum-6.1.0/lib/gollum/views/template_cascade.rb +29 -0
  247. data/gollum-6.1.0/lib/gollum.rb +42 -0
  248. data/gollum-6.1.0/licenses/licenses.txt +31 -0
  249. data/gollum-6.1.0/package.json +12 -0
  250. data/gollum-6.1.0/yarn.lock +1025 -0
  251. data/super-pro-rb.gemspec +11 -0
  252. metadata +290 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b60a1947eef9848258b09e877c3883008a7096bab978c015d70700e69e147932
4
+ data.tar.gz: 01e127af0fbb19d84f8867c23f1a598da4338c57f67b1c888e5bda189bcf75c8
5
+ SHA512:
6
+ metadata.gz: 0e21bdbcaf3d9201fc78728ae5d9db09513753fcfcac99a0c9f3425c17773489a8be303f915165498f9040473c7cda9a21e63455475b01c2c85638c060b9cee4
7
+ data.tar.gz: 3f7da2a168984fd7a39d43003f3a63d4786065b2db8d2feb2c575d034891955f7503fc051fdcf099ebf393659c557cc8c7475294bad1caba7affe0256840262b
@@ -0,0 +1,221 @@
1
+ # Contributing to Gollum
2
+
3
+ Thanks for your interest in the gollum project!
4
+
5
+ ## Submitting an Issue
6
+
7
+ Please note that the issue tracker is meant for:
8
+
9
+ 1. Bug reports.
10
+ 2. Feature requests.
11
+
12
+ If your have problems using or installing the software which stem from bugs in the software or a lack of documentation, we are always happy to help out! However, **for ordinary usage questions, please consider asking elsewhere**, for instance on [StackOverflow](http://stackoverflow.com/questions/tagged/gollum-wiki).
13
+
14
+ Gollum supports [custom macros](https://github.com/gollum/gollum/wiki#macros) for the creation of additional wiki markup tags. Please **do not** use this tracker to request macros specific to your situation. However, if you have or are working on a macro that you think may be useful to more users, you can share it as a GitHub [gist](https://gist.github.com) and link to it in the [wiki](https://github.com/gollum/gollum/wiki/Custom-macros).
15
+
16
+ Before submitting an issue, **please carefully look through the following places** to make sure your problem is not already addressed:
17
+
18
+ 1. The issue tracker.
19
+ 1. The [README](https://github.com/gollum/gollum/blob/master/README.md).
20
+ 1. The project's [wiki](https://github.com/gollum/gollum/wiki).
21
+
22
+ Security vulnerabilities can be reported directly to the maintainers using these GPG keys:
23
+
24
+ * [@dometto](https://keys.openpgp.org/vks/v1/by-fingerprint/16E08F9EF05BAA7E16165C4750D1BBE8362E93F1)
25
+
26
+ Lastly, please **consider helping out** by opening a Pull Request!
27
+
28
+ ## Triaging Issues [![Open Source Helpers](https://www.codetriage.com/gollum/gollum/badges/users.svg)](https://www.codetriage.com/gollum/gollum)
29
+
30
+ You can triage issues which may include reproducing bug reports or asking for vital information, such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to [subscribe to gollum on CodeTriage](https://www.codetriage.com/gollum/gollum).
31
+
32
+ ## Set up your development environment
33
+
34
+ If you want to hack on Gollum, you'll need to set up a development
35
+ environment.
36
+
37
+ To get started, you'll need:
38
+
39
+ - A recent version of [Git][git]
40
+ - A recent version of [Ruby][rubylang].
41
+ - A recent version of [Node JS][nodejs].
42
+
43
+ Refer to their installation instructions. Installation methods differ depending
44
+ on your operating system.
45
+
46
+ Once you have those:
47
+
48
+ - Install Bundler, the Ruby package manager. In a terminal:
49
+ ```sh
50
+ gem install bundler
51
+ ```
52
+ - Install Yarn, a JavaScript package manager. [See Yarn's install
53
+ guide][yarn-install].
54
+
55
+ Now, you can start setting up Gollum to run locally:
56
+
57
+ 1. Clone the git repository. In a terminal:
58
+
59
+ ```sh
60
+ git clone https://github.com/gollum/gollum.git
61
+ ```
62
+ 2. Change directory into the cloned project:
63
+ ```sh
64
+ cd gollum
65
+ ```
66
+ 3. Bundle the project's Ruby dependencies using Bundler:
67
+ ```sh
68
+ [sudo] bundle install
69
+ ```
70
+ 4. Install the project's JavaScript dependencies using Yarn:
71
+ ```sh
72
+ yarn install
73
+ ```
74
+ 5. Configure the local git repository to use `master` as the default branch
75
+ when initializing new git repositories:
76
+ ```sh
77
+ git config --local init.defaultbranch=master
78
+ ```
79
+
80
+ This is currently required make the test suite pass when running it
81
+ locally.[^1]
82
+
83
+ If all went well, you should now be able to run the test suite using the
84
+ following command:
85
+
86
+ ```sh
87
+ bundle exec rake
88
+ ```
89
+
90
+ If you already have a Gollum wiki, you can also browse it via your local version
91
+ of Gollum:
92
+
93
+ ```sh
94
+ bundle exec gollum <path/to/my/wiki/root>
95
+ ```
96
+
97
+ Or you can clone an example wiki and browse that:
98
+
99
+ ```sh
100
+ git clone test/examples/lotr.git ~/lotr-wiki
101
+ bundle exec gollum ~/lotr-wiki
102
+ ```
103
+
104
+ With this, you're ready to start contributing and open your first [pull
105
+ request](#opening-a-pull-request).
106
+
107
+ [git]: https://git-scm.com/downloads
108
+ [nodejs]: https://nodejs.org
109
+ [rubylang]: https://www.ruby-lang.org
110
+ [yarn-install]: https://yarnpkg.com/getting-started/install
111
+
112
+ [^1]: Gollum's test suite will clone and initialize test git repositories using
113
+ your system's `git` executable. These test git repositories are
114
+ committed to the codebase, and all of them use `master` as the `HEAD`. If
115
+ `init.defaultbranch` is set to `main` or something else in your global git
116
+ configuration file, this will cause many tests to erroneously fail. It's
117
+ on our to-do list to move these committed git repos to using a `main`
118
+ branch.
119
+
120
+ ## Opening a Pull Request
121
+
122
+ Pull Requests fixing bugs, implementing new features, or updating documentation and dependencies are all very welcome! If you would like to help out with the project, you can pick an open issue from the issue tracker. We're more than happy to help you get started! Here's how you can proceed:
123
+
124
+ 1. Fork and clone Gollum. See [Set up your development
125
+ environment](#set-up-your-development-environment).
126
+ 2. Create a thoughtfully named topic branch to contain your changes.
127
+ 3. If you haven't installed dependencies yet, navigate to your clone and execute:
128
+ ```
129
+ [sudo] bundle install
130
+ ```
131
+ 4. Hack away.
132
+ 5. Add your own tests and make sure they're all still passing.
133
+ 6. If some of your changes deserve a mention on Gollum's home page, edit the README accordingly.
134
+ 7. If necessary, rebase your commits into logical chunks, without errors.
135
+ 8. Push the branch to your fork on GitHub.
136
+ 9. Create a pull request for Gollum.
137
+
138
+ Do not change Gollum's version number, we will do that on our own.
139
+
140
+ ### Running tests
141
+
142
+ 1. Install [Bundler](http://bundler.io/).
143
+ 2. Navigate to the cloned source of Gollum.
144
+ 3. Install dependencies:
145
+ ```
146
+ [sudo] bundle install
147
+ ```
148
+ 4. Run the tests:
149
+ ```
150
+ bundle exec rake test
151
+ ```
152
+
153
+ To profile slow tests, you can use the `--verbose` flag:
154
+
155
+ ```sh
156
+ bundle exec rake test TESTOPTS="--verbose"
157
+ ```
158
+
159
+ You can also run a single test file with the following command:
160
+
161
+ ```sh
162
+ bundle exec ruby <test/test_the_file_i_want_to_run.rb>
163
+ ```
164
+
165
+ ### Working with test repositories
166
+
167
+ An example of how to add a test file to the bare repository lotr.git.
168
+
169
+ ```
170
+ mkdir tmp
171
+ cd tmp
172
+ git clone ../test/examples/lotr.git/
173
+ git log
174
+ echo "test" > test.md
175
+ git add .
176
+ git commit -am "Add test"
177
+ git push ../lotr.git/ master
178
+ ```
179
+
180
+ ## Assets
181
+
182
+ Gollum uses [yarn](https://yarnpkg.com/) and [sprockets](https://github.com/rails/sprockets) to manage assets. By default, Gollum uses the precompiled static assets that are packaged with the gem (under `lib/gollum/public/assets`). If you're making changes to Gollum's JavaScript or (S)CSS assets, you might want to develop by calling `gollum` with the `--development-assets` flag. This will cause the application to use the unpackaged assets that you are editing (under `lib/gollum/public/gollum/` and in your local `node_modules` directory), so you can test and tweak. Once you are satisfied with your changes, it's time to [update the static assets](#updating-static-assets)!
183
+
184
+ You can also enable the use of development assets by setting the `APP_ENV` environment variable to `gollum_development`: for example, with `APP_ENV=gollum_development bundle exec gollum ...`.
185
+
186
+ For convenience, Gollum also allows developers to set a custom location for `node_modules` (by default expected to be in the root of the project) when using `--development-assets`. Set the `GOLLUM_DEV_ASSETS` environment variable to do this, e.g.: `GOLLUM_DEV_ASSETS=/path/to/my/node_modules gollum --development-assets`
187
+
188
+ ## Updating static assets
189
+
190
+ This is necessary whenever changes have been made to the assets in
191
+ `lib/gollum/public/gollum/javascript` (mostly SASS, CSS, and JS files), to
192
+ ensure the changes are also present in the [released](#releasing-the-gem)
193
+ version of the gem.
194
+
195
+ Steps:
196
+
197
+ 1. `git rm -r lib/gollum/public/assets`
198
+ 1. `bundle exec rake precompile`
199
+ 1. `git add lib/gollum/public/assets`
200
+ 1. `git commit`
201
+
202
+ ## Releasing the gem
203
+
204
+ Gollum uses [Semantic Versioning](http://semver.org/).
205
+
206
+ x.y.z
207
+
208
+ For z releases:
209
+
210
+ ```
211
+ rake bump
212
+ rake release
213
+ ```
214
+
215
+ For x.y releases:
216
+
217
+ ```
218
+ # First update VERSION in lib/gollum.rb and then:
219
+ rake gemspec
220
+ rake release
221
+ ```
@@ -0,0 +1,57 @@
1
+ FROM ruby:3.3-alpine AS builder
2
+
3
+ RUN apk add --update \
4
+ --no-cache \
5
+ build-base \
6
+ cmake \
7
+ git \
8
+ icu-dev \
9
+ openssl-dev \
10
+ yaml-dev \
11
+ && rm -rf /var/cache/apk/*
12
+
13
+ COPY Gemfile* /tmp/
14
+ COPY gollum.gemspec* /tmp/
15
+ WORKDIR /tmp
16
+ RUN bundle install
17
+
18
+ RUN gem install \
19
+ asciidoctor \
20
+ creole \
21
+ wikicloth \
22
+ org-ruby \
23
+ RedCloth \
24
+ bibtex-ruby \
25
+ && echo "gem-extra complete"
26
+
27
+ WORKDIR /app
28
+ COPY . /app
29
+ RUN bundle exec rake install
30
+
31
+ FROM ruby:3.3-alpine
32
+
33
+ ARG UID=1000
34
+ ARG GID=1000
35
+
36
+ COPY --from=builder /usr/local/bundle/ /usr/local/bundle/
37
+
38
+ WORKDIR /wiki
39
+ RUN apk add --update \
40
+ --no-cache \
41
+ bash \
42
+ git \
43
+ libc6-compat \
44
+ openssh \
45
+ shadow \
46
+ && rm -rf /var/cache/apk/* \
47
+ && groupmod -g $GID www-data \
48
+ && adduser -u $UID -S www-data -G www-data \
49
+ && git config --file /home/www-data/.gitconfig --add safe.directory /wiki \
50
+ && chown www-data:www-data /home/www-data/.gitconfig
51
+
52
+ COPY docker-run.sh /docker-run.sh
53
+ RUN chmod +x /docker-run.sh
54
+ USER www-data
55
+ VOLUME /wiki
56
+
57
+ ENTRYPOINT ["/docker-run.sh"]
@@ -0,0 +1,30 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'warbler', git: 'https://github.com/jruby/warbler' if RUBY_PLATFORM == 'java'
4
+
5
+ # FIXME: There is an upstream JRuby 9.4.9.0 issue with `psych` and the latest
6
+ # version of `jar-dependencies`. The issue will be resolved with the release of
7
+ # 9.4.10.0. Then, we can remove this `jar-dependencies` dependency lock.
8
+ #
9
+ # Gollum end users using JRuby may need to add this lock to their own project
10
+ # Gemfiles, too, unfortunately. :-(
11
+ #
12
+ # For more information, see: https://github.com/jruby/jruby/issues/8488
13
+ #
14
+ gem 'jar-dependencies', '< 0.5'
15
+
16
+ group :test do
17
+ gem 'selenium-webdriver', require: false
18
+ gem 'capybara', require: false
19
+ end
20
+
21
+ group :development do
22
+ unless RUBY_PLATFORM.match(/linux-musl$/)
23
+ gem 'sassc', '~> 2.4'
24
+ gem 'sassc-embedded', '~> 1.54'
25
+ end
26
+ end
27
+
28
+ gemspec
29
+
30
+ gem 'rake', '~> 13.0'
@@ -0,0 +1,229 @@
1
+ # 6.1.0 / 2024-12-23
2
+
3
+ ## Fixes & Improvements
4
+ * Fixed a typo in the deprecation message for `--mathjax` (@DavidForster)
5
+ * Update Mermaid to 11.4
6
+ * Add wiki permission check to docker run script
7
+
8
+ # 6.0.1 / 2024-07-25
9
+
10
+ ## Fixes & Improvements
11
+
12
+ * Use static assets when `APP_ENV` is `development` (@dometto)
13
+ * Explicitly require Rack 3 or greater (@dometto)
14
+ * Let the `--base-path` wiki option handle prefixed and suffixed slashes in path values. (i.e. `--base-path /my-wiki`) (@dometto)
15
+
16
+ # 6.0.0 / 2024-05-03
17
+
18
+ # Breaking Changes
19
+
20
+ * Docker image: removed deprecated automatic activation of --mathjax. Pass '--math mathjax' to continue using mathjax, or '--math' to use KaTeX (see below).
21
+ * RACK_ENV is ignored, please use APP_ENV instead (@svoop).
22
+
23
+ ## New features
24
+
25
+ * Add support for Mermaid diagrams (@dometto).
26
+ * Add support for downloading page sources with ?raw (@tstein).
27
+ * Add openssh client to docker images for ssh: repo support. (@jagerkin).
28
+ * Add support for mathematical typesetting using KaTeX (@dometto). Users can now choose between MathJax and KaTeX with the --math flag.
29
+ * Add support for more languages (Chinese).
30
+
31
+ ## Fixes & Improvements
32
+
33
+ * Fix (Docker image): add git configuration for `/wiki` as safe directory. #2006
34
+ * Fix: use `base_path` as set in config file.
35
+
36
+ # 5.3.0 / 2022-05-25
37
+
38
+ * Feature: allow for overriding only specific Mustache templates/partials (@beporter)
39
+ * Feature: Add option to show browser's local time (@NikitaIvanovV)
40
+ * Improvement: presentation on mobile devises (@benjaminwil)
41
+ * Improvement: Add page context to template filter. #1603 (@tevino)
42
+ * Fix: restore normalize check on file upload (@manofstick)
43
+ * Fix mathjax on edit and create pages. #1772 (@fhchl)
44
+ * Fix utf-8 issues: #1721 #1758 #1801 (@basking2, @dometto)
45
+ * Fix an IME rendering issue. #1735 (@yy0931)
46
+ * Fix broken history button when viewing historical deleted file. (@NikitaIvanovV)
47
+ * Fix: non-ascii characters in page names are not rendered correctly in the preview tab of the "Edit" page. #1739 (@yy0931)
48
+ * Fix: anchors and header display on JRuby. #1779
49
+ # 5.2.3 / 2021-04-18
50
+
51
+ * Fix bug preventing page titles from being displayed
52
+
53
+ # 5.2.1 / 2021-02-25
54
+
55
+ * Fix include call to a missing asset (@benjaminwil). This caused slow first page loads on JRuby.
56
+
57
+ # 5.2 / 2021-02-24
58
+
59
+ * Improved styling and Primer upgrade (@benjaminwil)
60
+ * Add redirect to rename commit (@ViChyavIn)
61
+ * Updated dependencies
62
+ * Bugfixes
63
+
64
+ # 5.1.2
65
+
66
+ * Guard against malicious filenames in breadcrumbs
67
+
68
+ # 5.1
69
+
70
+ * Bugfixes
71
+ * Add autosave feature (#1576)
72
+ * Add quick access to diff of each commit in the history
73
+
74
+ # 5.0 / 2020-03-17
75
+
76
+ This is a major new release that introduces many new features, bugfixes, and removes major limitations. See [here](https://github.com/gollum/gollum/wiki/5.0-release-notes) for a list of changes.
77
+
78
+ **Note**: due to changes to the way in which Gollum handles filenames, you may have to change some links in your wiki when migrating from gollum 4.x. See the [release notes](https://github.com/gollum/gollum/wiki/5.0-release-notes#migrating-your-wiki) for more details. You may be find the `bin/gollum-migrate-tags` script helpful to accomplish this. Also see the `--lenient-tag-lookup` option for making tag lookup backwards compatible with 4.x, though note that this will decrease performance on large wikis with many tags.
79
+
80
+ Many thanks to all the users who have provided feedback, and everyone who has chipped in in the development process!
81
+
82
+ Many of these changes have been made possible by removing the default grit adapter in favour of the new [rugged adapter](https://github.com/gollum/rugged_adapter).
83
+
84
+ # 4.1.4 /2018-01-10
85
+
86
+ * Depend on new version of gollum-lib that relies on a patched version of sanitize, which solves a vulnerability (CVE-2018-3740). See https://github.com/gollum/gollum-lib/pull/296.
87
+
88
+ # 4.1.3 /2018-17-09
89
+
90
+ * Solves a vulnerability in the File view and All Pages view that would allow XSS.
91
+
92
+ # 4.1.2 /2017-08-07
93
+
94
+ * Lock to a newer version of gollum-lib to avoid installing an outdated and vulnerable dependency (nokogiri) on ruby 2.0. See https://github.com/gollum/gollum-lib/pull/279. Note: this breaks semantic versioning so those using outdated rubies will discover the problem on update.
95
+
96
+ # 4.1.0 /2017-03-09
97
+
98
+ * Added file deletion functionality to file view
99
+ * Various performance improvements
100
+ * Emoji support
101
+
102
+ # 4.0.0 /2015-04-11
103
+
104
+ * Now compatible with JRuby (via the [rjgit](https://github.com/repotag/rjgit) [adapter](https://github.com/repotag/gollum-lib_rjgit_adapter))
105
+
106
+ # 3.1.1 /2014-12-04
107
+
108
+ * Security fix for [remote code execution issue](https://github.com/gollum/gollum/issues/913). Please update!
109
+
110
+ # 3.1 / 2014-11-28
111
+
112
+ * New features
113
+ * Drag-and-drop uploading in the editor [@lucas-clemente](https://github.com/lucas-clemente)
114
+ * Latest changes view [@etienneCharignon](https://github.com/etienneCharignon) (#707)
115
+ * Option `--no-edit` to disable editing from the web interface [@bambycha](https://github.com/bambycha) (#879)
116
+ * Option `--mathjax-config` to specify custom mathjax configuration [@hardywu](https://github.com/hardywu) (#842)
117
+ * Major enhancements
118
+ * Made the Gollum theme responsive [@rtrvrtg](https://github.com/rtrvrtg) (#831)
119
+ * Depends on new [gollum-lib](https://github.com/gollum/gollum-lib) `4.0.0`
120
+ * Allows specifying [git adapter](https://github.com/gollum/gollum/wiki/Git-adapters) with `--adapter` [@bartkamphorst](https://github.com/bartkamphorst), [@dometto](https://github.com/dometto)
121
+ * Numerous bugfixes
122
+ * **NB**: please pass `--h1-title` if you do not want page titles to default to the page's filepath. See [here](https://github.com/gollum/gollum/wiki/Page-titles).
123
+
124
+ # 2.4.11 / 2013-01-08
125
+
126
+ * Numerous security issues have been fixed. Please update to `2.4.11`
127
+
128
+ # 1.4.0 / 2012-04-10
129
+
130
+ * Minor
131
+ * Add a way to configure the `#id_prefix` property of Sanitization
132
+ objects.
133
+ * Add web sequence diagrams support
134
+ * Support for updating wysiwyg components when markup language changes
135
+ * Support RedCarpet 2.0
136
+ * Allow ftp and irc links in wiki markup
137
+ * Minor ui fixups
138
+
139
+ * Bug Fixes
140
+ * Include the language of the code snippet when making a uniquely
141
+ identifiable sha of a code snippet while rendering a page.
142
+ * Pygments lexer forces utf8 encoding
143
+ * Remove MathJax, this created problems in production for us.
144
+ We'll look at bringing it back in future releases
145
+
146
+ # 1.3.1 / 2011-07-21
147
+
148
+ * Major Enhancements
149
+ * Allow prefixed ID attributes in headers to support internal linking
150
+ (#146).
151
+ * Markdown pages are rendered through Redcarpet by default (#176).
152
+ * Minor Enhancements
153
+ * Remove Edit button on Preview pages (#164).
154
+ * Simplify Wiki#inspect and Page#inspect.
155
+ * Bug Fixes
156
+ * Fixed broken preview functionality (#157).
157
+ * Fixed sidebar/footer rendering problems related to whitespace (#145).
158
+
159
+ # 1.3.0 / 2011-04-25
160
+
161
+ * Major Enhancements
162
+ * Listing of all Pages
163
+ * Support for running Gollum under a separate branch.
164
+ * Minor Enhancements
165
+ * Fix a security issue with rendering Mathjax.
166
+
167
+ # 1.2.0 / 2011-03-11
168
+
169
+ * Major Enhancements
170
+ * Major HTML/CSS/JS overhaul.
171
+ * Add Sidebars (similar to Footers).
172
+ * Add commit reverts.
173
+ * Minor Enhancements
174
+ * Optimization in source code highlighting, resulting in a huge
175
+ decrease in rendering time.
176
+ * Security fixes related to source code highlighting.
177
+
178
+ * Major Enhancements
179
+ * Add Page sidebars, similar to Page footers.
180
+ * Add the ability to revert commits to the wiki.
181
+ * Add MediaWiki support.
182
+ * Minor Enhancements
183
+ * Add `:sanitization` and `:history_sanitization` options for customizing
184
+ how `Sanitize.clean` modifies formatted wiki content.
185
+ * Add `--config` option for the command line, to specify a ruby file that is
186
+ run during startup.
187
+ * Provide access to a parsed Nokogiri::DocumentFragment during markup
188
+ rendering for added customization.
189
+ * Bug Fixes
190
+ * Use `@wiki.page_class` in Gollum::Markup where appropriate (#63).
191
+ * Fix parsing of Org mode file links (#87).
192
+
193
+ # 1.1.0 / 2010-10-28
194
+
195
+ * Major Enhancements
196
+ * Optimize page write/update/delete to use Grit::Index::read_tree instead
197
+ of manually recreating entire index contents.
198
+ * Added --irb option for the gollum command.
199
+ * Update working dir (if present) when edited via the API (#6)
200
+ * Add basic `git grep` based search for repos.
201
+ * Minor Enhancements
202
+ * Support a `:gollum_path` Sinatra setting for `Precious::App`
203
+ * Add Wiki#size to efficiently count pages without loading them.
204
+ * Add the correct content type when serving files from the frontend.
205
+ * Add --host option and default it to 127.0.0.1.
206
+ * Allow anchors in page links, such as `[[Abc#header]]`.
207
+ * All pages retrieved with a SHA add `rel="nofollow"` to all
208
+ page links.
209
+ * Bug Fixes
210
+ * Increase minimum Sanitize version requirement to 1.1.0.
211
+ 1.0.x versions of Sanitize require Hpricot instead of Nokogiri
212
+ and have bugs that may allow non-whitelisted HTML to sneak
213
+ through.
214
+ * Introduce Ruby 1.9 compatibility fixes.
215
+ * Commit hashes are normalized so that missing author data is replaced with
216
+ anonymous info.
217
+ * Prevent `Gollum::Wiki#write_page` from clobbering existing pages.
218
+ * Handle duplicate page errors in frontend.
219
+ * Fix bugs trying to retrieve pages with invalid names.
220
+ * CGI escape page names in links and redirects.
221
+
222
+ # 1.0.1 / 2010-08-12
223
+
224
+ * Bug Fixes
225
+ * Force Grit dep to 2.1 or higher.
226
+
227
+ # 1.0.0 / 2010-08-12
228
+
229
+ * Open Source Birthday!
@@ -0,0 +1,6 @@
1
+ # 6.1.0
2
+
3
+ ## Fixes & Improvements
4
+ * Fixed a typo in the deprecation message for `--mathjax` (@DavidForster)
5
+ * Update Mermaid to 11.4
6
+ * Add wiki permission check to docker run script
@@ -0,0 +1,21 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) Tom Preston-Werner, Rick Olson, Dawa Ometto, Bart Kamphorst
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the 'Software'), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.