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
data/lib/gollum.rb
CHANGED
@@ -10,28 +10,17 @@ require 'github/markup'
|
|
10
10
|
require 'sanitize'
|
11
11
|
|
12
12
|
# internal
|
13
|
-
require File.expand_path('../gollum/
|
14
|
-
require File.expand_path('../gollum/committer', __FILE__)
|
15
|
-
require File.expand_path('../gollum/pagination', __FILE__)
|
16
|
-
require File.expand_path('../gollum/blob_entry', __FILE__)
|
17
|
-
require File.expand_path('../gollum/wiki', __FILE__)
|
18
|
-
require File.expand_path('../gollum/page', __FILE__)
|
19
|
-
require File.expand_path('../gollum/file', __FILE__)
|
20
|
-
require File.expand_path('../gollum/file_view', __FILE__)
|
21
|
-
require File.expand_path('../gollum/markup', __FILE__)
|
22
|
-
require File.expand_path('../gollum/sanitization', __FILE__)
|
23
|
-
require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
|
24
|
-
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
|
13
|
+
require File.expand_path('../gollum/uri_encode_component', __FILE__)
|
25
14
|
|
26
15
|
# Set ruby to UTF-8 mode
|
27
16
|
# This is required for Ruby 1.8.7 which gollum still supports.
|
28
17
|
$KCODE = 'U' if RUBY_VERSION[0,3] == '1.8'
|
29
18
|
|
30
19
|
module Gollum
|
31
|
-
VERSION = '2.4.
|
20
|
+
VERSION = '2.4.12'
|
32
21
|
|
33
22
|
def self.assets_path
|
34
|
-
::File.expand_path('gollum/
|
23
|
+
::File.expand_path('gollum/public', ::File.dirname(__FILE__))
|
35
24
|
end
|
36
25
|
|
37
26
|
class Error < StandardError; end
|
@@ -1,14 +1,15 @@
|
|
1
1
|
# ~*~ encoding: utf-8 ~*~
|
2
2
|
require 'cgi'
|
3
3
|
require 'sinatra'
|
4
|
-
require 'gollum'
|
4
|
+
require 'gollum-lib'
|
5
5
|
require 'mustache/sinatra'
|
6
6
|
require 'useragent'
|
7
7
|
require 'stringex'
|
8
8
|
|
9
|
-
require 'gollum
|
10
|
-
require 'gollum/
|
11
|
-
require 'gollum/
|
9
|
+
require 'gollum'
|
10
|
+
require 'gollum/views/layout'
|
11
|
+
require 'gollum/views/editable'
|
12
|
+
require 'gollum/views/has_page'
|
12
13
|
|
13
14
|
require File.expand_path '../helpers', __FILE__
|
14
15
|
|
@@ -27,7 +28,7 @@ end
|
|
27
28
|
# There are a number of wiki options that can be set for the frontend
|
28
29
|
#
|
29
30
|
# Example
|
30
|
-
# require 'gollum/
|
31
|
+
# require 'gollum/app'
|
31
32
|
# Precious::App.set(:wiki_options, {
|
32
33
|
# :universal_toc => false,
|
33
34
|
# }
|
@@ -85,11 +86,12 @@ module Precious
|
|
85
86
|
# above will detect base_path when it's used with map in a config.ru
|
86
87
|
settings.wiki_options.merge!({ :base_path => @base_url })
|
87
88
|
@css = settings.wiki_options[:css]
|
89
|
+
@js = settings.wiki_options[:js]
|
88
90
|
end
|
89
91
|
|
90
92
|
get '/' do
|
91
93
|
page_dir = settings.wiki_options[:page_file_dir].to_s
|
92
|
-
redirect clean_url(::File.join(@base_url, page_dir,
|
94
|
+
redirect clean_url(::File.join(@base_url, page_dir, wiki_new.index_page))
|
93
95
|
end
|
94
96
|
|
95
97
|
# path is set to name if path is nil.
|
@@ -98,13 +100,13 @@ module Precious
|
|
98
100
|
# extract_path will trim path to 'a'
|
99
101
|
# name, path, version
|
100
102
|
def wiki_page(name, path = nil, version = nil, exact = true)
|
103
|
+
wiki = wiki_new
|
104
|
+
|
101
105
|
path = name if path.nil?
|
102
|
-
name = extract_name(name)
|
106
|
+
name = extract_name(name) || wiki.index_page
|
103
107
|
path = extract_path(path)
|
104
108
|
path = '/' if exact && path.nil?
|
105
109
|
|
106
|
-
wiki = wiki_new
|
107
|
-
|
108
110
|
OpenStruct.new(:wiki => wiki, :page => wiki.paged(name, path, exact, version),
|
109
111
|
:name => name, :path => path)
|
110
112
|
end
|
@@ -123,6 +125,7 @@ module Precious
|
|
123
125
|
wikip = wiki_page(params[:splat].first)
|
124
126
|
@name = wikip.name
|
125
127
|
@path = wikip.path
|
128
|
+
|
126
129
|
wiki = wikip.wiki
|
127
130
|
if page = wikip.page
|
128
131
|
if wiki.live_preview && page.format.to_s.include?('markdown') && supported_useragent?(request.user_agent)
|
@@ -143,25 +146,57 @@ module Precious
|
|
143
146
|
end
|
144
147
|
end
|
145
148
|
|
149
|
+
post '/rename/*' do
|
150
|
+
wikip = wiki_page(params[:splat].first)
|
151
|
+
halt 500 if wikip.nil?
|
152
|
+
wiki = wikip.wiki
|
153
|
+
page = wiki.paged(wikip.name, wikip.path, exact = true)
|
154
|
+
rename = params[:rename]
|
155
|
+
halt 500 if page.nil?
|
156
|
+
halt 500 if rename.nil? or rename.empty?
|
157
|
+
|
158
|
+
# Fixup the rename if it is a relative path
|
159
|
+
# In 1.8.7 rename[0] != rename[0..0]
|
160
|
+
if rename[0..0] != '/'
|
161
|
+
source_dir = ::File.dirname(page.path)
|
162
|
+
source_dir = '' if source_dir == '.'
|
163
|
+
(target_dir, target_name) = ::File.split(rename)
|
164
|
+
target_dir = target_dir == '' ? source_dir : "#{source_dir}/#{target_dir}"
|
165
|
+
rename = "#{target_dir}/#{target_name}"
|
166
|
+
end
|
167
|
+
|
168
|
+
committer = Gollum::Committer.new(wiki, commit_message)
|
169
|
+
commit = {:committer => committer}
|
170
|
+
|
171
|
+
success = wiki.rename_page(page, rename, commit)
|
172
|
+
if !success
|
173
|
+
# This occurs on NOOPs, for example renaming A => A
|
174
|
+
redirect to("/#{page.escaped_url_path}")
|
175
|
+
return
|
176
|
+
end
|
177
|
+
committer.commit
|
178
|
+
|
179
|
+
wikip = wiki_page(rename)
|
180
|
+
page = wiki.paged(wikip.name, wikip.path, exact = true)
|
181
|
+
return if page.nil?
|
182
|
+
redirect to("/#{page.escaped_url_path}")
|
183
|
+
end
|
184
|
+
|
146
185
|
post '/edit/*' do
|
147
186
|
path = '/' + clean_url(sanitize_empty_params(params[:path])).to_s
|
148
187
|
page_name = CGI.unescape(params[:page])
|
149
188
|
wiki = wiki_new
|
150
189
|
page = wiki.paged(page_name, path, exact = true)
|
151
190
|
return if page.nil?
|
152
|
-
rename = params[:rename].to_url if params[:rename]
|
153
|
-
name = rename || page.name
|
154
191
|
committer = Gollum::Committer.new(wiki, commit_message)
|
155
192
|
commit = {:committer => committer}
|
156
193
|
|
157
|
-
update_wiki_page(wiki, page, params[:content], commit, name, params[:format])
|
194
|
+
update_wiki_page(wiki, page, params[:content], commit, page.name, params[:format])
|
158
195
|
update_wiki_page(wiki, page.header, params[:header], commit) if params[:header]
|
159
196
|
update_wiki_page(wiki, page.footer, params[:footer], commit) if params[:footer]
|
160
197
|
update_wiki_page(wiki, page.sidebar, params[:sidebar], commit) if params[:sidebar]
|
161
198
|
committer.commit
|
162
199
|
|
163
|
-
page = wiki.page(rename) if rename
|
164
|
-
|
165
200
|
redirect to("/#{page.escaped_url_path}") unless page.nil?
|
166
201
|
end
|
167
202
|
|
@@ -224,7 +259,9 @@ module Precious
|
|
224
259
|
sha1 = shas.shift
|
225
260
|
sha2 = shas.shift
|
226
261
|
|
227
|
-
|
262
|
+
commit = commit_message
|
263
|
+
commit[:message] = "Revert commit #{sha1.chars.take(7).join}"
|
264
|
+
if wiki.revert_page(@page, sha1, sha2, commit)
|
228
265
|
redirect to("/#{@page.escaped_url_path}")
|
229
266
|
else
|
230
267
|
sha2, sha1 = sha1, "#{sha1}^" if !sha2
|
@@ -298,7 +335,6 @@ module Precious
|
|
298
335
|
@page = page
|
299
336
|
@name = name
|
300
337
|
@content = page.formatted_data
|
301
|
-
@editable = true
|
302
338
|
mustache :page
|
303
339
|
else
|
304
340
|
halt 404
|
@@ -348,18 +384,23 @@ module Precious
|
|
348
384
|
end
|
349
385
|
|
350
386
|
def show_page_or_file(fullpath)
|
351
|
-
|
352
|
-
|
353
|
-
|
387
|
+
wiki = wiki_new
|
388
|
+
|
389
|
+
name = extract_name(fullpath) || wiki.index_page
|
390
|
+
path = extract_path(fullpath) || '/'
|
354
391
|
|
355
392
|
if page = wiki.paged(name, path, exact = true)
|
356
393
|
@page = page
|
357
394
|
@name = name
|
395
|
+
@content = page.formatted_data
|
396
|
+
|
397
|
+
# Extensions and layout data
|
358
398
|
@editable = true
|
359
|
-
@content = page.formatted_data
|
360
399
|
@toc_content = wiki.universal_toc ? @page.toc_data : nil
|
361
|
-
@mathjax
|
400
|
+
@mathjax = wiki.mathjax
|
362
401
|
@h1_title = wiki.h1_title
|
402
|
+
@bar_side = wiki.bar_side
|
403
|
+
|
363
404
|
mustache :page
|
364
405
|
elsif file = wiki.file(fullpath)
|
365
406
|
content_type file.mime_type
|
@@ -388,7 +429,8 @@ module Precious
|
|
388
429
|
# message is sourced from the incoming request parameters
|
389
430
|
# author details are sourced from the session, to be populated by rack middleware ahead of us
|
390
431
|
def commit_message
|
391
|
-
|
432
|
+
msg = (params[:message].nil? or params[:message].empty?) ? "[no message]" : params[:message]
|
433
|
+
commit_message = { :message => msg }
|
392
434
|
author_parameters = session['gollum.author']
|
393
435
|
commit_message.merge! author_parameters unless author_parameters.nil?
|
394
436
|
commit_message
|
@@ -12,6 +12,12 @@ module Precious
|
|
12
12
|
|
13
13
|
# Extract the 'page' name from the file_path
|
14
14
|
def extract_name(file_path)
|
15
|
+
if file_path[-1, 1] == "/"
|
16
|
+
return nil
|
17
|
+
end
|
18
|
+
|
19
|
+
# File.basename is too eager to please and will return the last
|
20
|
+
# component of the path even if it ends with a directory separator.
|
15
21
|
::File.basename(file_path)
|
16
22
|
end
|
17
23
|
|
@@ -26,11 +32,5 @@ module Precious
|
|
26
32
|
url.gsub('%2F','/').gsub(/^\/+/,'').gsub('//','/')
|
27
33
|
end
|
28
34
|
|
29
|
-
def trim_leading_slash url
|
30
|
-
return url if url.nil?
|
31
|
-
url.gsub!('%2F','/')
|
32
|
-
return '/' + url.gsub(/^\/+/,'') if url[0,1] == '/'
|
33
|
-
url
|
34
|
-
end
|
35
35
|
end
|
36
36
|
end
|
File without changes
|
@@ -80,13 +80,23 @@
|
|
80
80
|
line-height: 1.6em;
|
81
81
|
margin: 0.3em 0 0 0;
|
82
82
|
padding: 0.3em 0.5em;
|
83
|
-
width:
|
83
|
+
width: 94%;
|
84
84
|
}
|
85
85
|
|
86
86
|
#gollum-dialog-dialog-body fieldset .field input.code {
|
87
87
|
font-family: 'Monaco', 'Courier New', Courier, monospace;
|
88
88
|
}
|
89
89
|
|
90
|
+
#gollum-dialog-dialog-body fieldset .field span.context {
|
91
|
+
font-size: .9em;
|
92
|
+
color: #666;
|
93
|
+
}
|
94
|
+
#gollum-dialog-dialog-body fieldset .field span.context span.path {
|
95
|
+
font-family: 'Monaco', 'Courier New', Courier, monospace;
|
96
|
+
font-weight: bold;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
90
100
|
#gollum-dialog-dialog-body fieldset .field:last-child {
|
91
101
|
margin: 0 0 1em 0;
|
92
102
|
}
|
@@ -138,4 +148,4 @@
|
|
138
148
|
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3');
|
139
149
|
background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3));
|
140
150
|
background: -moz-linear-gradient(top, #599bdc, #3072b3);
|
141
|
-
}
|
151
|
+
}
|
@@ -243,7 +243,7 @@ a#function-help:hover span { background-position: -405px -28px; }
|
|
243
243
|
background: #fff;
|
244
244
|
border: 1px solid #ddd;
|
245
245
|
font-size: 1em;
|
246
|
-
font-family:
|
246
|
+
font-family: Consolas, "Liberation Mono", Courier, monospace;
|
247
247
|
line-height: 1.4em;
|
248
248
|
margin: 1em 0 0.4em;
|
249
249
|
padding: 0.5em;
|
@@ -74,6 +74,12 @@ a:hover, a:visited {
|
|
74
74
|
}
|
75
75
|
|
76
76
|
/* @section body */
|
77
|
+
|
78
|
+
.has-leftbar #wiki-body {
|
79
|
+
float: right;
|
80
|
+
clear: right;
|
81
|
+
}
|
82
|
+
|
77
83
|
#wiki-body {
|
78
84
|
display: block;
|
79
85
|
float: left;
|
@@ -83,7 +89,7 @@ a:hover, a:visited {
|
|
83
89
|
width: 100%;
|
84
90
|
}
|
85
91
|
|
86
|
-
.has-
|
92
|
+
.has-sidebar #wiki-body {
|
87
93
|
width: 68%;
|
88
94
|
}
|
89
95
|
|
@@ -93,7 +99,7 @@ a:hover, a:visited {
|
|
93
99
|
border: 1px solid #DDD;
|
94
100
|
font-size: 13px;
|
95
101
|
padding: 0px 5px;
|
96
|
-
float:left;
|
102
|
+
float: left;
|
97
103
|
margin-bottom: 20px;
|
98
104
|
min-width: 33%;
|
99
105
|
|
@@ -105,12 +111,19 @@ a:hover, a:visited {
|
|
105
111
|
border: none;
|
106
112
|
}
|
107
113
|
|
108
|
-
/* @section
|
109
|
-
#wiki-
|
114
|
+
/* @section sidebar */
|
115
|
+
.has-leftbar #wiki-sidebar {
|
116
|
+
float: left;
|
117
|
+
}
|
118
|
+
|
119
|
+
.has-rightbar #wiki-sidebar {
|
120
|
+
float: right;
|
121
|
+
}
|
122
|
+
|
123
|
+
#wiki-sidebar {
|
110
124
|
background-color: #f7f7f7;
|
111
125
|
border: 1px solid #ddd;
|
112
126
|
font-size: 13px;
|
113
|
-
float: right;
|
114
127
|
padding: 7px;
|
115
128
|
width: 25%;
|
116
129
|
color: #555;
|
@@ -120,15 +133,15 @@ a:hover, a:visited {
|
|
120
133
|
-webkit-border-radius: 0.5em;
|
121
134
|
}
|
122
135
|
|
123
|
-
#wiki-
|
136
|
+
#wiki-sidebar p {
|
124
137
|
margin: 13px 0 0;
|
125
138
|
}
|
126
139
|
|
127
|
-
#wiki-
|
140
|
+
#wiki-sidebar > p:first-child {
|
128
141
|
margin-top: 10px;
|
129
142
|
}
|
130
143
|
|
131
|
-
#wiki-
|
144
|
+
#wiki-sidebar p.parent {
|
132
145
|
border-bottom: 1px solid #bbb;
|
133
146
|
font-weight: bold;
|
134
147
|
margin: 0 0 0.5em 0;
|
@@ -137,7 +150,7 @@ a:hover, a:visited {
|
|
137
150
|
}
|
138
151
|
|
139
152
|
/* Back arrow */
|
140
|
-
#wiki-
|
153
|
+
#wiki-sidebar p.parent:before {
|
141
154
|
color: #666;
|
142
155
|
content: "← ";
|
143
156
|
}
|
@@ -149,7 +162,7 @@ a:hover, a:visited {
|
|
149
162
|
margin: 2em 0 5em;
|
150
163
|
}
|
151
164
|
|
152
|
-
.has-
|
165
|
+
.has-sidebar #wiki-footer {
|
153
166
|
width: 70%;
|
154
167
|
}
|
155
168
|
|
@@ -716,3 +729,6 @@ ul.actions {
|
|
716
729
|
padding: 0.25em;
|
717
730
|
}
|
718
731
|
|
732
|
+
.clearfloats {
|
733
|
+
clear: both;
|
734
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|