gollum 2.4.11 → 2.4.12
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.
- checksums.yaml +15 -0
- data/Gemfile +1 -1
- data/HISTORY.md +4 -0
- data/README.md +205 -110
- data/bin/gollum +6 -1
- data/gollum.gemspec +491 -516
- data/lib/gollum.rb +3 -14
- data/lib/gollum/{frontend/app.rb → app.rb} +64 -22
- data/lib/gollum/{frontend/helpers.rb → helpers.rb} +6 -6
- data/lib/gollum/{frontend/public → public}/gollum/css/_styles.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/css/dialog.css +12 -2
- data/lib/gollum/{frontend/public → public}/gollum/css/editor.css +1 -1
- data/lib/gollum/{frontend/public → public}/gollum/css/gollum.css +26 -10
- data/lib/gollum/{frontend/public → public}/gollum/css/ie7.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/css/template.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/dirty-shade.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/fileview/document.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/fileview/folder-horizontal.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/fileview/toggle-small-expand.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/fileview/toggle-small.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/icon-sprite.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/man_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/para.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/pin-16.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/pin-20.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/pin-24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/images/pin-32.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/gollum.editor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/asciidoc.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/creole.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/markdown.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/org.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/pod.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/rdoc.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/editor/langs/textile.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/gollum.dialog.js +4 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/gollum.js +83 -19
- data/lib/gollum/{frontend/public → public}/gollum/javascript/gollum.placeholder.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/identicon_canvas.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/jquery-1.7.2.min.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/jquery.color.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/javascript/mousetrap.min.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/css/custom.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/images/cancel_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/images/globe_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/images/lr_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/images/save_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/images/savecomment_24.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/index.html +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/ace.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/anchor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/anchor_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/config.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/config_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/css/codefolding-fold-button-states.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/css/editor.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/css/expand-marker.png +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/document.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/document_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/editor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/ext/static.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/layer/marker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/layer/text.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/dom.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/event.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/fixoldbrowsers.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/keys.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/lang.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/net.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/oop.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/abap.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/csharp.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/dart.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/diff.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/groovy.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/haml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/html.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jade.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/java.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/json.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/json/json_parse.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jsx.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/jsx_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/latex.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/less.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lua.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/luapage.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/luapage_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/perl.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/php.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/powershell.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/python.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/r.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scad.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scala.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scss.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/sh.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/sql.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/svg.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/tex.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/text.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/textile.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery/Readme.md +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/model/editor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/multi_select.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/placeholder.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/range.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/range_list.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/range_list_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/range_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/renderloop.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/scrollbar.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/search.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/search_highlight.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/search_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/selection.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/selection_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/split.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/all.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/assertions.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/asyncjs/assert.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/asyncjs/async.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/asyncjs/index.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/asyncjs/test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/asyncjs/utils.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/mockdom.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/test/tests.html +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/github.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/github.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/token_iterator.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/tokenizer.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/undomanager.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/unicode.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/worker/mirror.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/worker/worker.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/ace/lib/ace/worker/worker_sourcemint.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/jquery.ba-throttle-debounce.min.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/livepreview.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/md_sundown.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/requirejs.min.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/js/sundown.js +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/ace/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/bootstraponline_gollum/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/debounce/LICENSE-MIT.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/gollum/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/jquery/MIT-LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/licenses.txt +13 -13
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/notepages/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/requirejs/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/retina_display_icon_set/by_sa_3.0_unported_legalcode.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/sizzle/LICENSE.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/sundown/sundown.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/licenses/templarian_windowsicons/license.txt +0 -0
- data/lib/gollum/{frontend/public → public}/gollum/livepreview/readme.md +1 -1
- data/lib/gollum/{frontend/templates → templates}/compare.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/create.mustache +1 -1
- data/lib/gollum/{frontend/templates → templates}/edit.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/editor.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/error.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/file_view.mustache +2 -1
- data/lib/gollum/{frontend/templates → templates}/history.mustache +1 -1
- data/lib/gollum/{frontend/templates → templates}/history_authors/gravatar.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/history_authors/identicon.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/history_authors/none.mustache +0 -0
- data/lib/gollum/{frontend/templates → templates}/layout.mustache +9 -3
- data/lib/gollum/{frontend/templates → templates}/page.mustache +12 -7
- data/lib/gollum/{frontend/templates → templates}/pages.mustache +2 -2
- data/lib/gollum/{frontend/templates → templates}/search.mustache +1 -1
- data/lib/gollum/{frontend/templates → templates}/searchbar.mustache +0 -0
- data/lib/gollum/{frontend/uri_encode_component.rb → uri_encode_component.rb} +0 -0
- data/lib/gollum/{frontend/views → views}/compare.rb +0 -0
- data/lib/gollum/{frontend/views → views}/create.rb +0 -0
- data/lib/gollum/{frontend/views → views}/edit.rb +0 -0
- data/lib/gollum/{frontend/views → views}/editable.rb +2 -2
- data/lib/gollum/{frontend/views → views}/error.rb +0 -0
- data/lib/gollum/{frontend/views → views}/file_view.rb +0 -0
- data/lib/gollum/{frontend/views → views}/has_page.rb +0 -0
- data/lib/gollum/{frontend/views → views}/history.rb +1 -0
- data/lib/gollum/{frontend/views → views}/layout.rb +4 -0
- data/lib/gollum/{frontend/views → views}/page.rb +8 -3
- data/lib/gollum/{frontend/views → views}/pages.rb +0 -0
- data/lib/gollum/{frontend/views → views}/search.rb +0 -0
- data/licenses/licenses.txt +7 -7
- metadata +498 -724
- data/lib/gollum/blob_entry.rb +0 -91
- data/lib/gollum/committer.rb +0 -236
- data/lib/gollum/file.rb +0 -94
- data/lib/gollum/file_view.rb +0 -155
- data/lib/gollum/git_access.rb +0 -249
- data/lib/gollum/gitcode.rb +0 -48
- data/lib/gollum/markup.rb +0 -664
- data/lib/gollum/page.rb +0 -510
- data/lib/gollum/pagination.rb +0 -62
- data/lib/gollum/sanitization.rb +0 -176
- data/lib/gollum/web_sequence_diagram.rb +0 -44
- data/lib/gollum/wiki.rb +0 -762
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
Y2E5MTY1MjYwYjk5ZjQyZTBkMTM4N2FjNWI2YzIwNDEyZDJjOTlkYw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTljMWE0NzZkZDhiOWU4N2Y5NDM3ZDY5MjUyMTBkNjE3MzI4NDllNQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDUwYWRjMDM2MGZiYjliZDQ4OGZkZmM2ZWFkYjE0OTk5NWE5NmM3MjkzZTg2
|
10
|
+
ZWJhODc2MThiZWE4OTZiN2U5MjJjYWQwMjQ0Y2FhMWFiOGRkZTY5MDA3Y2Y0
|
11
|
+
NTk3MjQzY2U3ZDI5NDBiMmQxOGJmM2ViM2YzNWY0ZjAxMDBkNzc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzZiMjFiOTg0MTViMDI3MWQ4Zjk2MDg3MWZhZWZjYTU0ZmE3ZjM2YjE2YTE4
|
14
|
+
M2UxZTY4ZTBmYjMxZmZmZThkZGFlN2YxNWQ5ZjJmYjVkYjdkMGRiOTZmY2I2
|
15
|
+
OWVlYTllODI3MzYzYmZhZGEzNDJiYWM0ZjA1Y2RiYzI3ZTljNTA=
|
data/Gemfile
CHANGED
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
gollum -- A wiki built on top of Git
|
2
2
|
====================================
|
3
3
|
|
4
|
-
[![Build Status](https://secure.travis-ci.org/
|
5
|
-
[![Dependency Status](https://gemnasium.com/
|
4
|
+
[![Build Status](https://secure.travis-ci.org/gollum/gollum.png?branch=master)](http://travis-ci.org/gollum/gollum)
|
5
|
+
[![Dependency Status](https://gemnasium.com/gollum/gollum.png)](https://gemnasium.com/gollum/gollum)
|
6
6
|
|
7
7
|
## DESCRIPTION
|
8
8
|
|
@@ -20,21 +20,31 @@ Gollum follows the rules of [Semantic Versioning](http://semver.org/) and uses
|
|
20
20
|
[TomDoc](http://tomdoc.org/) for inline documentation.
|
21
21
|
|
22
22
|
## SYSTEM REQUIREMENTS
|
23
|
+
|
23
24
|
- Python 2.5+ (2.7.3 recommended)
|
24
25
|
- Ruby 1.8.7+ (1.9.3 recommended)
|
25
26
|
- Unix like operating system (OS X, Ubuntu, Debian, and more)
|
26
27
|
- Will not work on Windows (because of [grit](https://github.com/github/grit))
|
27
28
|
|
29
|
+
## SECURITY
|
30
|
+
|
31
|
+
Don't enable `--custom-css` or `--custom-js` unless you trust every user who has the ability to edit the wiki.
|
32
|
+
A better solution with more security is being tracked in [#665](https://github.com/gollum/gollum/issues/665).
|
33
|
+
|
28
34
|
## INSTALLATION
|
29
35
|
|
30
36
|
The best way to install Gollum is with RubyGems:
|
31
37
|
|
32
|
-
|
38
|
+
```bash
|
39
|
+
$ [sudo] gem install gollum
|
40
|
+
```
|
33
41
|
|
34
42
|
If you're installing from source, you can use [Bundler][bundler] to pick up all the
|
35
43
|
gems:
|
36
44
|
|
37
|
-
|
45
|
+
```bash
|
46
|
+
$ bundle install
|
47
|
+
```
|
38
48
|
|
39
49
|
In order to use the various formats that Gollum supports, you will need to
|
40
50
|
separately install the necessary dependencies for each format. You only need
|
@@ -43,7 +53,7 @@ to install the dependencies for the formats that you plan to use.
|
|
43
53
|
* [ASCIIDoc](http://www.methods.co.nz/asciidoc/) -- `brew install asciidoc` on mac or `apt-get install -y asciidoc` on Ubuntu
|
44
54
|
* [Creole](http://wikicreole.org/) -- `gem install creole`
|
45
55
|
* [Markdown](http://daringfireball.net/projects/markdown/) -- `gem install redcarpet`
|
46
|
-
* [GitHub Flavored Markdown](
|
56
|
+
* [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown) -- `gem install github-markdown`
|
47
57
|
* [Org](http://orgmode.org/) -- `gem install org-ruby`
|
48
58
|
* [Pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::HTML` comes with Perl >= 5.10. Lower versions should install Pod::Simple from CPAN.
|
49
59
|
* [RDoc](http://rdoc.sourceforge.net/)
|
@@ -59,13 +69,17 @@ To view and edit your Gollum repository locally via the built in web
|
|
59
69
|
interface, simply install the Gollum gem, navigate to your repository via the
|
60
70
|
command line, and run the executable:
|
61
71
|
|
62
|
-
|
72
|
+
```bash
|
73
|
+
$ gollum
|
74
|
+
```
|
63
75
|
|
64
76
|
This will start up a web server running the Gollum frontend and you can view
|
65
77
|
and edit your wiki at http://localhost:4567. To get help on the command line
|
66
78
|
utility, you can run it like so:
|
67
79
|
|
68
|
-
|
80
|
+
```bash
|
81
|
+
$ gollum --help
|
82
|
+
```
|
69
83
|
|
70
84
|
Note that the gollum server will not run on Windows because of [an issue](https://github.com/rtomayko/posix-spawn/issues/9) with posix-spawn (which is used by Grit).
|
71
85
|
|
@@ -76,12 +90,11 @@ is written in `page files` and may be organized into directories any way you
|
|
76
90
|
choose. Special footers can be created in `footer files`. Other content
|
77
91
|
(images, PDFs, etc) may also be present and organized in the same way.
|
78
92
|
|
79
|
-
|
80
93
|
## PAGE FILES
|
81
94
|
|
82
95
|
Page files may be written in any format supported by
|
83
|
-
[GitHub-Markup](http://github.com/github/markup) (except roff).
|
84
|
-
|
96
|
+
[GitHub-Markup](http://github.com/github/markup) (except roff). By default,
|
97
|
+
Gollum recognizes the following extensions:
|
85
98
|
|
86
99
|
* ASCIIDoc: .asciidoc
|
87
100
|
* Creole: .creole
|
@@ -93,8 +106,16 @@ current list of formats and allowed extensions is:
|
|
93
106
|
* Textile: .textile
|
94
107
|
* MediaWiki: .mediawiki, .wiki
|
95
108
|
|
109
|
+
You may also register your own extensions and parsers:
|
110
|
+
|
111
|
+
```ruby
|
112
|
+
Gollum::Markup.register(:angry, "Angry") do |content|
|
113
|
+
content.upcase
|
114
|
+
end
|
115
|
+
```
|
116
|
+
|
96
117
|
Gollum detects the page file format via the extension, so files must have one
|
97
|
-
of the
|
118
|
+
of the default or registered extensions in order to be converted.
|
98
119
|
|
99
120
|
Page file names may contain any printable UTF-8 character except space
|
100
121
|
(U+0020) and forward slash (U+002F). If you commit a page file with any of
|
@@ -110,7 +131,7 @@ automatically generated table of contents will be shown instead.
|
|
110
131
|
|
111
132
|
## SIDEBAR FILES
|
112
133
|
|
113
|
-
Sidebar files allow you to add a simple sidebar to your wiki.
|
134
|
+
Sidebar files allow you to add a simple sidebar to your wiki. Sidebar files
|
114
135
|
are named `_Sidebar.ext` where the extension is one of the supported formats.
|
115
136
|
Sidebars affect all pages in their directory and any subdirectories that do not
|
116
137
|
have a sidebar file of their own.
|
@@ -138,11 +159,14 @@ allowed.
|
|
138
159
|
|
139
160
|
## TITLES
|
140
161
|
|
141
|
-
The first defined `h1` will override the default header on a page. There are
|
162
|
+
The first defined `h1` will override the default header on a page. There are
|
163
|
+
two ways to set a page title. The metadata syntax:
|
164
|
+
|
165
|
+
<!-- --- title: New Title -->
|
142
166
|
|
143
|
-
|
167
|
+
The first `h1` tag can be set to always override the page title, without
|
168
|
+
needing to use the metadata syntax. Start gollum with the `--h1-title` flag.
|
144
169
|
|
145
|
-
The first `h1` tag can be set to always override the page title, without needing to use the metadata syntax. Start gollum with the `--h1-title` flag.
|
146
170
|
## BRACKET TAGS
|
147
171
|
|
148
172
|
A variety of Gollum tags use a double bracket syntax. For example:
|
@@ -174,8 +198,8 @@ The above tag will create a link to the corresponding page file named
|
|
174
198
|
`Frodo-Baggins.ext` where `ext` may be any of the allowed extension types. The
|
175
199
|
conversion is as follows:
|
176
200
|
|
177
|
-
|
178
|
-
|
201
|
+
1. Replace any spaces (U+0020) with dashes (U+002D)
|
202
|
+
2. Replace any slashes (U+002F) with dashes (U+002D)
|
179
203
|
|
180
204
|
If you'd like the link text to be something that doesn't map directly to the
|
181
205
|
page name, you can specify the actual page name after a pipe:
|
@@ -278,6 +302,12 @@ specified, default alignment is `left`.
|
|
278
302
|
|
279
303
|
[[gollum.png|float]]
|
280
304
|
|
305
|
+
By default text will fill up all the space around the image. To control how
|
306
|
+
much should show up use this tag to stop and start a new block so that
|
307
|
+
additional content doesn't fill in.
|
308
|
+
|
309
|
+
[[_]]
|
310
|
+
|
281
311
|
To specify a max-width, use the `width=` option. Units must be specified in
|
282
312
|
either `px` or `em`.
|
283
313
|
|
@@ -318,7 +348,9 @@ The `:universal_toc` is not enabled by default. To set the option,
|
|
318
348
|
add the option to the `:wiki_options` hash before starting the
|
319
349
|
frontend app:
|
320
350
|
|
321
|
-
|
351
|
+
```ruby
|
352
|
+
Precious::App.set(:wiki_options, {:universal_toc => true})
|
353
|
+
```
|
322
354
|
|
323
355
|
## SYNTAX HIGHLIGHTING
|
324
356
|
|
@@ -352,9 +384,9 @@ As an extra feature, you can syntax highlight a file from your repository, allow
|
|
352
384
|
you keep some of your sample code in the main repository. The code-snippet is
|
353
385
|
updated when the wiki is rebuilt. You include github code like this:
|
354
386
|
|
355
|
-
```html:github/gollum/master/test/file_view/1_file.txt```
|
387
|
+
```html:github:gollum/gollum/master/test/file_view/1_file.txt```
|
356
388
|
|
357
|
-
This will make the builder look at the **
|
389
|
+
This will make the builder look at the **gollum user**, in the **gollum project**,
|
358
390
|
in the **master branch**, at path **test/file_view/1_file.txt**. It will be
|
359
391
|
rewritten to:
|
360
392
|
|
@@ -364,7 +396,7 @@ rewritten to:
|
|
364
396
|
</ol>
|
365
397
|
```
|
366
398
|
|
367
|
-
Which will be parsed as HTML code during the Pygments run, and thereby coloured
|
399
|
+
Which will be parsed as HTML code during the Pygments run, and thereby coloured
|
368
400
|
appropriately.
|
369
401
|
|
370
402
|
## MATHEMATICAL EQUATIONS
|
@@ -373,13 +405,12 @@ Start gollum with the `--mathjax` flag. Read more about [MathJax](http://docs.ma
|
|
373
405
|
|
374
406
|
Inline math:
|
375
407
|
|
376
|
-
-
|
377
|
-
- `\\(2^2\\)`
|
408
|
+
- \\(2^2\\)
|
378
409
|
|
379
410
|
Display math:
|
380
411
|
|
381
412
|
- $$2^2$$
|
382
|
-
- [2^2]
|
413
|
+
- \\[2^2\\]
|
383
414
|
|
384
415
|
## SEQUENCE DIAGRAMS
|
385
416
|
|
@@ -396,31 +427,36 @@ You can replace the string "blue-modern" with any supported style.
|
|
396
427
|
|
397
428
|
## API DOCUMENTATION
|
398
429
|
|
399
|
-
The Gollum API allows you to retrieve
|
400
|
-
|
401
|
-
about the wiki as a whole.
|
430
|
+
The [Gollum API](https://github.com/gollum/gollum-lib/) allows you to retrieve
|
431
|
+
raw or formatted wiki content from a Git repository, write new content to the
|
432
|
+
repository, and collect various meta data about the wiki as a whole.
|
402
433
|
|
403
|
-
Initialize the Gollum::Repo object:
|
434
|
+
Initialize the `Gollum::Repo` object:
|
404
435
|
|
405
|
-
|
406
|
-
|
436
|
+
```ruby
|
437
|
+
# Require rubygems if necessary
|
438
|
+
require 'rubygems'
|
407
439
|
|
408
|
-
|
409
|
-
|
440
|
+
# Require the Gollum library
|
441
|
+
require 'gollum-lib'
|
410
442
|
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
443
|
+
# Create a new Gollum::Wiki object by initializing it with the path to the
|
444
|
+
# Git repository.
|
445
|
+
wiki = Gollum::Wiki.new("my-gollum-repo.git")
|
446
|
+
# => <Gollum::Wiki>
|
447
|
+
```
|
415
448
|
|
416
|
-
By default, internal wiki links are all absolute from the root. To specify a different
|
449
|
+
By default, internal wiki links are all absolute from the root. To specify a different
|
450
|
+
base path, you can specify the `:base_path` option:
|
417
451
|
|
418
|
-
|
452
|
+
```ruby
|
453
|
+
wiki = Gollum::Wiki.new("my-gollum-repo.git", :base_path => "/wiki")
|
454
|
+
```
|
419
455
|
|
420
456
|
Note that base_path just modifies the links. To map gollum to a non-root location:
|
421
457
|
|
422
458
|
- Use the gollum binary: `gollum path/to/wiki --base-path mywiki`
|
423
|
-
- Define config.ru with `map`. See [#532](https://github.com/
|
459
|
+
- Define config.ru with `map`. See [#532](https://github.com/gollum/gollum/issues/532) for an example.
|
424
460
|
|
425
461
|
> :base_path - String base path for all Wiki links.
|
426
462
|
>
|
@@ -430,92 +466,116 @@ Note that base_path just modifies the links. To map gollum to a non-root locatio
|
|
430
466
|
|
431
467
|
Get the latest version of the given human or canonical page name:
|
432
468
|
|
433
|
-
|
434
|
-
|
469
|
+
```ruby
|
470
|
+
page = wiki.page('page-name')
|
471
|
+
# => <Gollum::Page>
|
435
472
|
|
436
|
-
|
437
|
-
|
473
|
+
page.raw_data
|
474
|
+
# => "# My wiki page"
|
438
475
|
|
439
|
-
|
440
|
-
|
476
|
+
page.formatted_data
|
477
|
+
# => "<h1>My wiki page</h1>"
|
441
478
|
|
442
|
-
|
443
|
-
|
479
|
+
page.format
|
480
|
+
# => :markdown
|
444
481
|
|
445
|
-
|
446
|
-
|
482
|
+
vsn = page.version
|
483
|
+
# => <Grit::Commit>
|
447
484
|
|
448
|
-
|
449
|
-
|
485
|
+
vsn.id
|
486
|
+
# => '3ca43e12377ea1e32ea5c9ce5992ec8bf266e3e5'
|
487
|
+
```
|
450
488
|
|
451
489
|
Get the footer (if any) for a given page:
|
452
490
|
|
453
|
-
|
454
|
-
|
455
|
-
|
491
|
+
```ruby
|
492
|
+
page.footer
|
493
|
+
# => <Gollum::Page>
|
494
|
+
```
|
495
|
+
|
456
496
|
Get the header (if any) for a given page:
|
457
497
|
|
458
|
-
|
459
|
-
|
498
|
+
```ruby
|
499
|
+
page.header
|
500
|
+
# => <Gollum::Page>
|
501
|
+
```
|
460
502
|
|
461
503
|
Get a list of versions for a given page:
|
462
504
|
|
463
|
-
|
464
|
-
|
505
|
+
```ruby
|
506
|
+
vsns = wiki.page('page-name').versions
|
507
|
+
# => [<Grit::Commit, <Grit::Commit, <Grit::Commit>]
|
465
508
|
|
466
|
-
|
467
|
-
|
509
|
+
vsns.first.id
|
510
|
+
# => '3ca43e12377ea1e32ea5c9ce5992ec8bf266e3e5'
|
468
511
|
|
469
|
-
|
470
|
-
|
512
|
+
vsns.first.authored_date
|
513
|
+
# => Sun Mar 28 19:11:21 -0700 2010
|
514
|
+
```
|
471
515
|
|
472
516
|
Get a specific version of a given canonical page file:
|
473
517
|
|
474
|
-
|
518
|
+
```ruby
|
519
|
+
wiki.page('page-name', '5ec521178e0eec4dc39741a8978a2ba6616d0f0a')
|
520
|
+
```
|
475
521
|
|
476
522
|
Get the latest version of a given static file:
|
477
523
|
|
478
|
-
|
479
|
-
|
524
|
+
```ruby
|
525
|
+
file = wiki.file('asset.js')
|
526
|
+
# => <Gollum::File>
|
480
527
|
|
481
|
-
|
482
|
-
|
528
|
+
file.raw_data
|
529
|
+
# => "alert('hello');"
|
483
530
|
|
484
|
-
|
485
|
-
|
531
|
+
file.version
|
532
|
+
# => <Grit::Commit>
|
533
|
+
```
|
486
534
|
|
487
535
|
Get a specific version of a given static file:
|
488
536
|
|
489
|
-
|
537
|
+
```ruby
|
538
|
+
wiki.file('asset.js', '5ec521178e0eec4dc39741a8978a2ba6616d0f0a')
|
539
|
+
```
|
490
540
|
|
491
541
|
Get an in-memory Page preview (useful for generating previews for web
|
492
542
|
interfaces):
|
493
543
|
|
494
|
-
|
495
|
-
|
496
|
-
|
544
|
+
```ruby
|
545
|
+
preview = wiki.preview_page("My Page", "# Contents", :markdown)
|
546
|
+
preview.formatted_data
|
547
|
+
# => "<h1>Contents</h1>"
|
548
|
+
```
|
497
549
|
|
498
550
|
Methods that write to the repository require a Hash of commit data that takes
|
499
551
|
the following form:
|
500
552
|
|
501
|
-
|
502
|
-
|
503
|
-
|
553
|
+
```ruby
|
554
|
+
commit = { :message => 'commit message',
|
555
|
+
:name => 'Tom Preston-Werner',
|
556
|
+
:email => 'tom@github.com' }
|
557
|
+
```
|
504
558
|
|
505
559
|
Write a new version of a page (the file will be created if it does not already
|
506
560
|
exist) and commit the change. The file will be written at the repo root.
|
507
561
|
|
508
|
-
|
562
|
+
```ruby
|
563
|
+
wiki.write_page('Page Name', :markdown, 'Page contents', commit)
|
564
|
+
```
|
509
565
|
|
510
566
|
Update an existing page. If the format is different than the page's current
|
511
567
|
format, the file name will be changed to reflect the new format.
|
512
568
|
|
513
|
-
|
514
|
-
|
569
|
+
```ruby
|
570
|
+
page = wiki.page('Page Name')
|
571
|
+
wiki.update_page(page, page.name, page.format, 'Page contents', commit)
|
572
|
+
```
|
515
573
|
|
516
574
|
To delete a page and commit the change:
|
517
575
|
|
518
|
-
|
576
|
+
```ruby
|
577
|
+
wiki.delete_page(page, commit)
|
578
|
+
```
|
519
579
|
|
520
580
|
### RACK
|
521
581
|
|
@@ -523,38 +583,39 @@ You can also run gollum with any rack-compatible server by placing this config.r
|
|
523
583
|
file inside your wiki repository. This allows you to utilize any Rack middleware
|
524
584
|
like Rack::Auth, OmniAuth, etc.
|
525
585
|
|
526
|
-
|
527
|
-
|
528
|
-
|
586
|
+
```ruby
|
587
|
+
#!/usr/bin/env ruby
|
588
|
+
require 'rubygems'
|
589
|
+
require 'gollum/app'
|
529
590
|
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
591
|
+
gollum_path = File.expand_path(File.dirname(__FILE__)) # CHANGE THIS TO POINT TO YOUR OWN WIKI REPO
|
592
|
+
Precious::App.set(:gollum_path, gollum_path)
|
593
|
+
Precious::App.set(:default_markup, :markdown) # set your favorite markup language
|
594
|
+
Precious::App.set(:wiki_options, {:universal_toc => false})
|
595
|
+
run Precious::App
|
596
|
+
```
|
535
597
|
|
536
598
|
Your Rack middleware can pass author details to Gollum in a Hash in the session under the 'gollum.author' key.
|
537
599
|
|
538
600
|
## WINDOWS FILENAME VALIDATION
|
601
|
+
|
539
602
|
Note that filenames on windows must not contain any of the following characters `\ / : * ? " < > |`. See [this support article](http://support.microsoft.com/kb/177506) for details.
|
540
603
|
|
541
604
|
## CONFIG FILE
|
542
605
|
|
543
|
-
Gollum optionally takes a `--config file`. See [config.rb](https://github.com/
|
606
|
+
Gollum optionally takes a `--config file`. See [config.rb](https://github.com/gollum/gollum/blob/master/config.rb) for an example.
|
544
607
|
|
545
|
-
## CUSTOM CSS
|
608
|
+
## CUSTOM CSS/JS
|
546
609
|
|
547
|
-
The `--css` flag will inject `custom.css` from the root of your git repository into each page. `custom.css` must be commited to git or you will get a 302 redirect to the create page.
|
610
|
+
The `--css` flag will inject `custom.css` from the root of your git repository into each page. `custom.css` must be commited to git or you will get a 302 redirect to the create page.
|
548
611
|
|
549
|
-
|
550
|
-
#wiki-rightbar { float: left !important; }
|
551
|
-
```
|
612
|
+
The `--js` flag will inject `custom.js` from the root of your git repository into each page. `custom.js` must be commited to git or you will get a 302 redirect to the create page.
|
552
613
|
|
553
614
|
## CONTRIBUTE
|
554
615
|
|
555
|
-
If you'd like to hack on Gollum, start by forking
|
616
|
+
If you'd like to hack on Gollum, start by forking the repo on GitHub:
|
556
617
|
|
557
|
-
http://github.com/
|
618
|
+
http://github.com/gollum/gollum
|
558
619
|
|
559
620
|
To get all of the dependencies, install the gem first. The best way to get
|
560
621
|
your changes merged back into core is as follows:
|
@@ -567,23 +628,57 @@ your changes merged back into core is as follows:
|
|
567
628
|
1. Do not change the version number, I will do that on my end
|
568
629
|
1. If necessary, rebase your commits into logical chunks, without errors
|
569
630
|
1. Push the branch up to GitHub
|
570
|
-
1. Send a pull request to the
|
631
|
+
1. Send a pull request to the gollum/gollum project.
|
571
632
|
|
572
633
|
## RELEASING
|
634
|
+
|
635
|
+
Gollum uses [Semantic Versioning](http://semver.org/).
|
636
|
+
|
573
637
|
x.y.z
|
574
638
|
|
575
|
-
|
576
|
-
|
577
|
-
|
639
|
+
For z releases:
|
640
|
+
|
641
|
+
```bash
|
642
|
+
$ rake bump
|
643
|
+
$ rake release
|
644
|
+
```
|
645
|
+
|
646
|
+
For x.y releases:
|
647
|
+
|
648
|
+
```bash
|
649
|
+
Update VERSION in lib/gollum.rb
|
650
|
+
$ rake gemspec
|
651
|
+
$ rake release
|
652
|
+
```
|
578
653
|
|
579
|
-
For x.y releases:
|
580
|
-
Update VERSION in lib/gollum.rb
|
581
|
-
$ rake gemspec
|
582
|
-
$ rake release
|
583
|
-
|
584
654
|
## BUILDING THE GEM FROM MASTER
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
655
|
+
|
656
|
+
```bash
|
657
|
+
$ gem uninstall -aIx gollum
|
658
|
+
$ git clone https://github.com/gollum/gollum.git
|
659
|
+
$ cd gollum
|
660
|
+
gollum$ rake build
|
661
|
+
gollum$ gem install --no-ri --no-rdoc pkg/gollum*.gem
|
662
|
+
```
|
663
|
+
|
664
|
+
## RUN THE TESTS
|
665
|
+
|
666
|
+
```bash
|
667
|
+
$ bundle install
|
668
|
+
$ bundle exec rake test
|
669
|
+
```
|
670
|
+
|
671
|
+
## WORK WITH TEST REPOS
|
672
|
+
|
673
|
+
An example of how to add a test file to the bare repository lotr.git.
|
674
|
+
|
675
|
+
```bash
|
676
|
+
$ mkdir tmp; cd tmp
|
677
|
+
$ git clone ../lotr.git/ .
|
678
|
+
Cloning into '.'...
|
679
|
+
done.
|
680
|
+
$ git log
|
681
|
+
$ echo "test" > test.md
|
682
|
+
$ git add . ; git commit -am "Add test"
|
683
|
+
$ git push ../lotr.git/ master
|
684
|
+
```
|