gollum 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gollum might be problematic. Click here for more details.
- data/README.md +44 -7
- data/Rakefile +1 -1
- data/bin/gollum +20 -1
- data/gollum.gemspec +400 -5
- data/lib/gollum.rb +2 -1
- data/lib/gollum/blob_entry.rb +13 -1
- data/lib/gollum/committer.rb +10 -1
- data/lib/gollum/file.rb +15 -2
- data/lib/gollum/file_view.rb +145 -0
- data/lib/gollum/frontend/app.rb +217 -69
- data/lib/gollum/frontend/helpers.rb +21 -0
- data/lib/gollum/frontend/public/gollum/css/_styles.css +121 -0
- data/lib/gollum/frontend/public/gollum/css/editor.css +17 -8
- data/lib/gollum/frontend/public/gollum/css/gollum.css +440 -402
- data/lib/gollum/frontend/public/gollum/css/template.css +540 -289
- data/lib/gollum/frontend/public/gollum/images/dirty-shade.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/fileview/document.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/fileview/folder-horizontal.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/fileview/toggle-small-expand.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/fileview/toggle-small.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/para.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/pin-16.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/pin-20.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/pin-24.png +0 -0
- data/lib/gollum/frontend/public/gollum/images/pin-32.png +0 -0
- data/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js +31 -7
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/asciidoc.js +2 -1
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/creole.js +2 -1
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/markdown.js +18 -6
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/org.js +2 -1
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/pod.js +2 -1
- data/lib/gollum/frontend/public/gollum/javascript/editor/langs/textile.js +2 -1
- data/lib/gollum/frontend/public/gollum/javascript/gollum.dialog.js +3 -0
- data/lib/gollum/frontend/public/gollum/javascript/gollum.js +78 -16
- data/lib/gollum/frontend/public/gollum/javascript/jquery-1.7.2.min.js +4 -0
- data/lib/gollum/frontend/public/gollum/javascript/mousetrap.min.js +8 -0
- data/lib/gollum/frontend/public/gollum/livepreview/css/custom.css +107 -0
- data/lib/gollum/frontend/public/gollum/livepreview/images/cancel_24.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/images/lr_24.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/images/save_24.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/images/savecomment_24.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/index.html +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +103 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +254 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +184 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +261 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +92 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +121 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +193 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +460 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +101 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +124 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/codefolding-fold-button-states.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +327 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/expand-marker.png +0 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +617 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +314 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +2419 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +252 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +116 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +276 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +759 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +981 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +2163 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +231 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +171 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +562 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static.css +22 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +98 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +536 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +367 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +170 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +143 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +257 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +315 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +122 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +556 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +101 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +611 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +193 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +134 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +49 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +202 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +187 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +214 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +595 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +106 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +105 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +292 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +1059 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +317 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +121 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +72 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/fixoldbrowsers.js +19 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +129 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +61 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +113 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +105 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +98 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +225 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +98 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +113 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +68 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +74 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +66 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +132 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +180 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +121 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +235 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +121 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +63 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +100 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +739 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +2756 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +603 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +68 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +342 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +154 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +227 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +72 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +92 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +135 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +74 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +104 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +110 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +9014 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +242 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +85 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +66 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +75 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +108 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +93 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +83 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +127 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +108 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +95 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +92 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +76 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +115 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +86 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +169 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +88 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +65 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +105 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +262 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +117 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +129 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy.js +24 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +183 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +104 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +83 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +159 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +93 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +74 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java.js +25 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +144 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +471 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +225 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +165 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +88 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +100 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json/json_parse.js +346 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +111 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +103 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +108 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsx.js +53 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsx_highlight_rules.js +122 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +57 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +38 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +87 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +279 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +116 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +220 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +91 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +87 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +436 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/luapage.js +22 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/luapage_highlight_rules.js +42 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +103 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +355 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +117 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +168 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +78 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +583 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +119 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +1165 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +138 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +147 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +182 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +86 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +116 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +194 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +116 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +132 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +168 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala.js +25 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +179 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +86 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +304 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +144 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +145 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +70 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +89 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +78 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +159 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +109 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +73 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +100 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +65 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +109 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +103 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +82 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +120 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +202 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +59 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Readme.md +6 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +1686 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +2993 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +69 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +63 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +10363 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +42525 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +165 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +6177 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +55 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +158 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +86 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +64 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +116 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +70 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +73 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +354 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +105 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +140 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +158 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +163 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +762 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +171 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +696 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +598 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +61 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +2072 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +278 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +581 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +230 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +170 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +198 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +93 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +142 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +398 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +87 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +451 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +886 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +472 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +411 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +42 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +136 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +63 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/assert.js +313 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/async.js +529 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/index.js +13 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/test.js +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/utils.js +65 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +85 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockdom.js +10 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +204 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/tests.html +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +159 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +118 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +119 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +145 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +151 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +149 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +182 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +45 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +102 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +48 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +133 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +137 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +140 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +140 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +146 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +148 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +145 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +150 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +131 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +130 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +165 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +47 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +164 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +160 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +162 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +141 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +46 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +162 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +219 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +142 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/unicode.js +107 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +1402 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +93 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +4469 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +6396 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/mirror.js +43 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +138 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +176 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_sourcemint.js +73 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/jquery.ba-throttle-debounce.min.js +2 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js +456 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/md_sundown.js +22 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/requirejs.min.js +35 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/sundown.js +1 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +476 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/bootstraponline_gollum/LICENSE.txt +9 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/debounce/LICENSE-MIT.txt +22 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/gollum/LICENSE.txt +21 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/jquery/MIT-LICENSE.txt +20 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +59 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/notepages/LICENSE.txt +19 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/requirejs/LICENSE.txt +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/retina_display_icon_set/by_sa_3.0_unported_legalcode.txt +359 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/sizzle/LICENSE.txt +148 -0
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/sundown/sundown.txt +4 -0
- data/lib/gollum/frontend/public/gollum/livepreview/readme.md +44 -0
- data/lib/gollum/frontend/templates/compare.mustache +9 -9
- data/lib/gollum/frontend/templates/create.mustache +4 -1
- data/lib/gollum/frontend/templates/edit.mustache +6 -3
- data/lib/gollum/frontend/templates/editor.mustache +30 -14
- data/lib/gollum/frontend/templates/file_view.mustache +32 -0
- data/lib/gollum/frontend/templates/history.mustache +8 -8
- data/lib/gollum/frontend/templates/layout.mustache +21 -14
- data/lib/gollum/frontend/templates/page.mustache +37 -14
- data/lib/gollum/frontend/templates/pages.mustache +14 -10
- data/lib/gollum/frontend/templates/search.mustache +2 -2
- data/lib/gollum/frontend/templates/searchbar.mustache +1 -1
- data/lib/gollum/frontend/uri_encode_component.rb +172 -0
- data/lib/gollum/frontend/views/compare.rb +2 -4
- data/lib/gollum/frontend/views/create.rb +5 -0
- data/lib/gollum/frontend/views/edit.rb +12 -0
- data/lib/gollum/frontend/views/file_view.rb +19 -0
- data/lib/gollum/frontend/views/has_page.rb +15 -0
- data/lib/gollum/frontend/views/history.rb +8 -4
- data/lib/gollum/frontend/views/layout.rb +9 -1
- data/lib/gollum/frontend/views/page.rb +37 -10
- data/lib/gollum/frontend/views/pages.rb +48 -0
- data/lib/gollum/git_access.rb +2 -2
- data/lib/gollum/markup.rb +115 -19
- data/lib/gollum/page.rb +79 -9
- data/lib/gollum/tex.rb +319 -42
- data/lib/gollum/wiki.rb +92 -12
- data/licenses/css_tree_menu_thecssninja/license.txt +50 -0
- data/licenses/licenses.txt +23 -0
- data/licenses/unity_asset_pool/COPYRIGHT +286 -0
- data/test/examples/lotr.git/config +1 -1
- data/test/examples/lotr.git/logs/HEAD +4 -0
- data/test/examples/lotr.git/logs/refs/heads/master +4 -0
- data/test/examples/lotr.git/objects/0d/c9016ca928c78d5421a99a53b379b53929221e +0 -0
- data/test/examples/lotr.git/objects/1c/79ddc69707f7b164bc2ea58beb5d8965ff6bd0 +0 -0
- data/test/examples/lotr.git/objects/27/680b0fce1abfbc528e7aa53d92645852d52eb6 +0 -0
- data/test/examples/lotr.git/objects/45/3b250f979c7bd6dfb62640c944c982ae6721ee +0 -0
- data/test/examples/lotr.git/objects/45/f319ee12f2b551b901b22e72602963c366fff1 +0 -0
- data/test/examples/lotr.git/objects/46/a697caf435815bb07bbce947fc2d58be15f087 +0 -0
- data/test/examples/lotr.git/objects/4c/45c2b4e297a726c3d3f66886f35373e48fe1c5 +2 -0
- data/test/examples/lotr.git/objects/4e/023f460ce466e154ca09d8774c79ad5a53fc15 +0 -0
- data/test/examples/lotr.git/objects/62/9aa678272b017a4d136d35e77ac94d80b08dc2 +1 -0
- data/test/examples/lotr.git/objects/6e/48abfc56565574859e081ee58eae655d48cf71 +0 -0
- data/test/examples/lotr.git/objects/7b/60c5a20a501a70f2317fa0ef763e1e2ce22d6b +0 -0
- data/test/examples/lotr.git/objects/7d/981cd984ad589e3cf00d8122170c6f7d685979 +0 -0
- data/test/examples/lotr.git/objects/94/9a9cc3119b9c98817f375e976d2bb5e2a42809 +0 -0
- data/test/examples/lotr.git/objects/9b/e95b960ac388d4e7db55f610f828e9c31344e6 +0 -0
- data/test/examples/lotr.git/objects/b0/de6e794dfdc7ef3400e894225bfe23308aae5c +0 -0
- data/test/examples/lotr.git/objects/b1/6b3d9fad9d78e5a669e7f33d94c96da374eccd +0 -0
- data/test/examples/lotr.git/objects/c9/6a7645db5d4c76389e77cd103ef3ed77d81e4c +0 -0
- data/test/examples/lotr.git/objects/ca/7355dc497e9729fbaf0c0e3f424b86afef5614 +0 -0
- data/test/examples/lotr.git/objects/cf/ea406f5f77afc7fb673a43e97721234385b1bd +2 -0
- data/test/examples/lotr.git/objects/d5/29304506d37f544675244c335d85cab5d29966 +0 -0
- data/test/examples/lotr.git/objects/fb/c5dd7d807707b4a0a97c1182fecfef1eced5df +1 -0
- data/test/examples/lotr.git/objects/fc/3eee516ff72dc9099ba00d4611eb02e5c9e634 +0 -0
- data/test/examples/lotr.git/objects/ff/6f7de62644369380ba73b4e4297c1a2d6f0b66 +0 -0
- data/test/examples/lotr.git/refs/heads/master +1 -1
- data/test/examples/revert.git/COMMIT_EDITMSG +1 -1
- data/test/examples/revert.git/index +0 -0
- data/test/examples/revert.git/logs/HEAD +1 -0
- data/test/examples/revert.git/logs/refs/heads/master +1 -0
- data/test/examples/revert.git/objects/10/2685c42018f802557f05db171f44443e8dacab +0 -0
- data/test/examples/revert.git/objects/8e/83f898e5e16ae400db59dda1017acad540f3aa +0 -0
- data/test/examples/revert.git/objects/ed/6c9f63b98acf73c25b5ffbb38da557d3682023 +3 -0
- data/test/examples/revert.git/refs/heads/master +1 -1
- data/test/file_view/1_file.txt +3 -0
- data/test/file_view/1_file_1_folder.txt +8 -0
- data/test/file_view/1_folder.txt +8 -0
- data/test/file_view/2_files_2_folders.txt +12 -0
- data/test/file_view/2_files_2_folders_1_root.txt +13 -0
- data/test/file_view/nested_folders.txt +28 -0
- data/test/test_app.rb +162 -12
- data/test/test_app_helpers.rb +13 -0
- data/test/test_committer.rb +1 -1
- data/test/test_file_view.rb +102 -0
- data/test/test_git_access.rb +3 -2
- data/test/test_markup.rb +45 -12
- data/test/test_page.rb +65 -1
- data/test/test_page_revert.rb +14 -2
- data/test/test_pages_view.rb +37 -0
- data/test/test_unicode.rb +110 -0
- data/test/test_wiki.rb +51 -4
- metadata +658 -239
- data/lib/gollum/frontend/public/gollum/javascript/jquery.js +0 -7179
@@ -0,0 +1,21 @@
|
|
1
|
+
module Precious
|
2
|
+
module Helpers
|
3
|
+
# Extract the path string that Gollum::Wiki expects
|
4
|
+
def extract_path(file_path)
|
5
|
+
return nil if file_path.nil?
|
6
|
+
last_slash = file_path.rindex("/")
|
7
|
+
if last_slash
|
8
|
+
file_path[0, last_slash]
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
# Extract the 'page' name from the file_path
|
13
|
+
def extract_name(file_path)
|
14
|
+
::File.basename(file_path)
|
15
|
+
end
|
16
|
+
|
17
|
+
def sanitize_empty_params(param)
|
18
|
+
[nil,''].include?(param) ? nil : CGI.unescape(param)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
*, html {
|
2
|
+
font-family: Verdana, Arial, Helvetica, sans-serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
#results a:hover {
|
6
|
+
background-color: #4c4c4c;
|
7
|
+
}
|
8
|
+
|
9
|
+
#home_button {
|
10
|
+
position: absolute;
|
11
|
+
top: 10px;
|
12
|
+
left: 50%;
|
13
|
+
}
|
14
|
+
|
15
|
+
#home_button .minibutton {
|
16
|
+
font-size: 1em;
|
17
|
+
text-align: center;
|
18
|
+
}
|
19
|
+
|
20
|
+
#results {
|
21
|
+
position: absolute;
|
22
|
+
top: 60px;
|
23
|
+
left: 10px;
|
24
|
+
}
|
25
|
+
|
26
|
+
body, form, ul, li, p, h1, h2, h3, h4, h5 {
|
27
|
+
margin: 0;
|
28
|
+
padding: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
body {
|
32
|
+
background-color: #606061;
|
33
|
+
color: #ffffff;
|
34
|
+
margin: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
img {
|
38
|
+
border: none;
|
39
|
+
}
|
40
|
+
|
41
|
+
p {
|
42
|
+
font-size: 1em;
|
43
|
+
margin: 0 0 1em 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
html { font-size: 100%; /* IE hack */ }
|
47
|
+
body { font-size: 1em; /* Sets base font size to 16px */ }
|
48
|
+
table { font-size: 100%; /* IE hack */ }
|
49
|
+
input, select, textarea, th, td { font-size: 1em; }
|
50
|
+
|
51
|
+
/* Prevent wrapping on large file names. */
|
52
|
+
li.file {
|
53
|
+
white-space: nowrap;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* CSS Tree menu styles */
|
57
|
+
ol.tree
|
58
|
+
{
|
59
|
+
padding: 0 0 0 30px;
|
60
|
+
width: 300px;
|
61
|
+
}
|
62
|
+
li
|
63
|
+
{
|
64
|
+
position: relative;
|
65
|
+
margin-left: -15px;
|
66
|
+
list-style: none;
|
67
|
+
}
|
68
|
+
li.file
|
69
|
+
{
|
70
|
+
margin-left: -1px !important;
|
71
|
+
height: 1.5em;
|
72
|
+
}
|
73
|
+
li.file a
|
74
|
+
{
|
75
|
+
background: url(../images/fileview/document.png) 0 0 no-repeat;
|
76
|
+
color: #fff;
|
77
|
+
padding-left: 21px;
|
78
|
+
text-decoration: none;
|
79
|
+
display: block;
|
80
|
+
}
|
81
|
+
li.file a[href *= '.pdf'] { background: url(../images/fileview/document.png) 0 0 no-repeat; }
|
82
|
+
li.file a[href *= '.html'] { background: url(../images/fileview/document.png) 0 0 no-repeat; }
|
83
|
+
li.file a[href $= '.css'] { background: url(../images/fileview/document.png) 0 0 no-repeat; }
|
84
|
+
li.file a[href $= '.js'] { background: url(../images/fileview/document.png) 0 0 no-repeat; }
|
85
|
+
li input
|
86
|
+
{
|
87
|
+
position: absolute;
|
88
|
+
left: 0;
|
89
|
+
margin-left: 0;
|
90
|
+
opacity: 0;
|
91
|
+
z-index: 2;
|
92
|
+
cursor: pointer;
|
93
|
+
height: 1em;
|
94
|
+
width: 1em;
|
95
|
+
top: 0;
|
96
|
+
}
|
97
|
+
li input + ol
|
98
|
+
{
|
99
|
+
background: url(../images/fileview/toggle-small-expand.png) 40px 0 no-repeat;
|
100
|
+
margin: -1.188em 0 0 -44px; /* 15px */
|
101
|
+
height: 1.5em;
|
102
|
+
}
|
103
|
+
li input + ol > li { display: none; margin-left: -14px !important; padding-left: 1px; }
|
104
|
+
li label
|
105
|
+
{
|
106
|
+
background: url(../images/fileview/folder-horizontal.png) 15px 1px no-repeat;
|
107
|
+
cursor: pointer;
|
108
|
+
display: block;
|
109
|
+
padding-left: 37px;
|
110
|
+
}
|
111
|
+
|
112
|
+
li input:checked + ol
|
113
|
+
{
|
114
|
+
background: url(../images/fileview/toggle-small.png) 40px 5px no-repeat;
|
115
|
+
margin: -1.5em 0 0 -44px; /* 20px */
|
116
|
+
padding: 1.563em 0 0 80px;
|
117
|
+
height: auto;
|
118
|
+
}
|
119
|
+
li input:checked + ol > li { display: block; margin: 0 0 0.125em; /* 2px */}
|
120
|
+
li input:checked + ol > li:last-child { margin: 0 0 0.063em; /* 1px */ }
|
121
|
+
|
@@ -64,6 +64,12 @@ a {
|
|
64
64
|
color: #999;
|
65
65
|
}
|
66
66
|
|
67
|
+
#gollum-editor .path_note {
|
68
|
+
text-align: right;
|
69
|
+
font-size: small;
|
70
|
+
padding-right: 5px;
|
71
|
+
}
|
72
|
+
|
67
73
|
#gollum-editor-title-field input#gollum-editor-page-title {
|
68
74
|
font-weight: bold;
|
69
75
|
margin-top: 0;
|
@@ -226,21 +232,21 @@ a#function-help:hover span { background-position: -405px -28px; }
|
|
226
232
|
}
|
227
233
|
|
228
234
|
#gollum-editor #gollum-editor-function-bar
|
229
|
-
|
235
|
+
#gollum-editor-format-selector label:after {
|
230
236
|
content: ':';
|
231
237
|
}
|
232
238
|
|
233
239
|
|
234
240
|
/* @section form-fields */
|
235
241
|
|
236
|
-
#gollum-editor textarea
|
242
|
+
#gollum-editor textarea {
|
237
243
|
background: #fff;
|
238
244
|
border: 1px solid #ddd;
|
239
245
|
font-size: 1em;
|
240
246
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
241
247
|
line-height: 1.4em;
|
242
248
|
margin: 1em 0 0.4em;
|
243
|
-
padding: 0.5em;
|
249
|
+
padding: 0.5em;
|
244
250
|
width: 98%;
|
245
251
|
height: 20em;
|
246
252
|
}
|
@@ -294,7 +300,7 @@ a#function-help:hover span { background-position: -405px -28px; }
|
|
294
300
|
border-bottom: 1px solid #ddd;
|
295
301
|
display: block;
|
296
302
|
overflow: hidden;
|
297
|
-
padding:
|
303
|
+
padding: 0.5em 0 0;
|
298
304
|
}
|
299
305
|
|
300
306
|
#gollum-editor #gollum-editor-body + .collapsed,
|
@@ -330,12 +336,15 @@ a#function-help:hover span { background-position: -405px -28px; }
|
|
330
336
|
font-size: 1.6em;
|
331
337
|
float: left;
|
332
338
|
margin: 0;
|
333
|
-
padding: 0.
|
339
|
+
padding: 0.15em 0 0 0.3em;
|
334
340
|
text-shadow: 0 -1px 0 #fff;
|
335
341
|
}
|
342
|
+
#gollum-editor .collapsed h4 {
|
343
|
+
color: #bbb;
|
344
|
+
}
|
336
345
|
|
337
346
|
#gollum-editor .collapsed a.button:hover,
|
338
|
-
#gollum-editor .expanded
|
347
|
+
#gollum-editor .expanded a.button:hover {
|
339
348
|
color: #fff;
|
340
349
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
|
341
350
|
text-decoration: none;
|
@@ -378,10 +387,10 @@ a#function-help:hover span { background-position: -405px -28px; }
|
|
378
387
|
border: 1px solid #ddd;
|
379
388
|
clear: both;
|
380
389
|
display: block;
|
381
|
-
font-size:
|
390
|
+
font-size: 1em;
|
382
391
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
383
392
|
height: 7em;
|
384
|
-
line-height: 1.
|
393
|
+
line-height: 1.4em;
|
385
394
|
margin: 0.7em 0;
|
386
395
|
padding: 0.5em;
|
387
396
|
width: 98%;
|
@@ -38,17 +38,22 @@ a:hover, a:visited {
|
|
38
38
|
/* @section head */
|
39
39
|
#head {
|
40
40
|
border-bottom: 1px solid #ddd;
|
41
|
-
margin:
|
41
|
+
margin: 4em 0 1.5em;
|
42
|
+
padding-bottom: 0.3em;
|
42
43
|
overflow: hidden;
|
43
44
|
}
|
44
45
|
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
#head h1 {
|
47
|
+
font-size: 33px;
|
48
|
+
float: left;
|
49
|
+
line-height: normal;
|
50
|
+
margin: 0;
|
51
|
+
padding: 2px 0 0 0;
|
52
|
+
}
|
48
53
|
|
49
|
-
|
50
|
-
|
51
|
-
|
54
|
+
#head ul.actions {
|
55
|
+
float: right;
|
56
|
+
}
|
52
57
|
|
53
58
|
/* @section content */
|
54
59
|
#wiki-content {
|
@@ -56,173 +61,173 @@ a:hover, a:visited {
|
|
56
61
|
overflow: visible;
|
57
62
|
}
|
58
63
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
64
|
+
#wiki-content .wrap {
|
65
|
+
height: 1%;
|
66
|
+
overflow: auto;
|
67
|
+
}
|
68
|
+
|
69
|
+
/* @section comments */
|
70
|
+
#wiki-body #inline-comment {
|
71
|
+
display: none; /* todo */
|
72
|
+
}
|
73
|
+
|
74
|
+
/* @section body */
|
75
|
+
#wiki-body {
|
76
|
+
display: block;
|
77
|
+
float: left;
|
78
|
+
clear: left;
|
79
|
+
margin-right: 3%;
|
80
|
+
margin-bottom: 40px;
|
81
|
+
width: 100%;
|
82
|
+
}
|
83
|
+
|
84
|
+
.has-rightbar #wiki-body {
|
85
|
+
width: 68%;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* @section toc */
|
89
|
+
#wiki-toc-main {
|
90
|
+
background-color: #F7F7F7;
|
91
|
+
border: 1px solid #DDD;
|
92
|
+
font-size: 13px;
|
93
|
+
padding: 0px 5px;
|
94
|
+
float:left;
|
95
|
+
margin-bottom: 20px;
|
96
|
+
min-width: 33%;
|
97
|
+
|
98
|
+
border-radius: 0.5em;
|
99
|
+
-moz-border-radius: 0.5em;
|
100
|
+
-webkit-border-radius: 0.5em;
|
101
|
+
}
|
102
|
+
#wiki-toc-main > div {
|
103
|
+
border: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
/* @section rightbar */
|
107
|
+
#wiki-rightbar {
|
108
|
+
background-color: #f7f7f7;
|
109
|
+
border: 1px solid #ddd;
|
110
|
+
font-size: 13px;
|
111
|
+
float: right;
|
112
|
+
padding: 7px;
|
113
|
+
width: 25%;
|
114
|
+
color: #555;
|
115
|
+
|
116
|
+
border-radius: 0.5em;
|
117
|
+
-moz-border-radius: 0.5em;
|
118
|
+
-webkit-border-radius: 0.5em;
|
119
|
+
}
|
120
|
+
|
121
|
+
#wiki-rightbar p {
|
122
|
+
margin: 13px 0 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
#wiki-rightbar > p:first-child {
|
126
|
+
margin-top: 10px;
|
127
|
+
}
|
128
|
+
|
129
|
+
#wiki-rightbar p.parent {
|
130
|
+
border-bottom: 1px solid #bbb;
|
131
|
+
font-weight: bold;
|
132
|
+
margin: 0 0 0.5em 0;
|
133
|
+
padding: 0 0 0.5em 0;
|
134
|
+
text-shadow: 0 1px 0 #fff;
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Back arrow */
|
138
|
+
#wiki-rightbar p.parent:before {
|
139
|
+
color: #666;
|
140
|
+
content: "← ";
|
141
|
+
}
|
142
|
+
|
143
|
+
/* @section footer */
|
144
|
+
|
145
|
+
#wiki-footer {
|
146
|
+
clear: both;
|
147
|
+
margin: 2em 0 5em;
|
148
|
+
}
|
149
|
+
|
150
|
+
.has-rightbar #wiki-footer {
|
151
|
+
width: 70%;
|
152
|
+
}
|
153
|
+
|
154
|
+
#wiki-header #header-content,
|
155
|
+
#wiki-footer #footer-content {
|
156
|
+
background-color: #f7f7f7;
|
157
|
+
border: 1px solid #ddd;
|
158
|
+
padding: 1em;
|
159
|
+
|
160
|
+
border-radius: 0.5em;
|
161
|
+
-moz-border-radius: 0.5em;
|
162
|
+
-webkit-border-radius: 0.5em;
|
163
|
+
}
|
164
|
+
#wiki-header #header-content {
|
165
|
+
margin-bottom: 1.5em;
|
166
|
+
}
|
167
|
+
|
168
|
+
#wiki-footer #footer-content {
|
169
|
+
margin-top: 1.5em;
|
170
|
+
}
|
171
|
+
|
172
|
+
#wiki-footer #footer-content h3 {
|
173
|
+
font-size: 1.2em;
|
174
|
+
color: #333;
|
175
|
+
margin: 0;
|
176
|
+
padding: 0 0 0.2em;
|
177
|
+
text-shadow: 0 1px 0 #fff;
|
178
|
+
}
|
179
|
+
|
180
|
+
#wiki-footer #footer-content p {
|
181
|
+
margin: 0.5em 0 0;
|
182
|
+
padding: 0;
|
183
|
+
}
|
184
|
+
|
185
|
+
#wiki-footer #footer-content ul.links {
|
186
|
+
margin: 0.5em 0 0;
|
187
|
+
overflow: hidden;
|
188
|
+
padding: 0;
|
189
|
+
}
|
190
|
+
|
191
|
+
#wiki-footer #footer-content ul.links li {
|
192
|
+
color: #999;
|
193
|
+
float: left;
|
194
|
+
list-style-position: inside;
|
195
|
+
list-style-type: square;
|
196
|
+
padding: 0;
|
197
|
+
margin-left: 0.75em;
|
198
|
+
}
|
199
|
+
|
200
|
+
#wiki-footer #footer-content ul.links li a {
|
201
|
+
font-weight: bold;
|
202
|
+
text-shadow: 0 1px 0 #fff;
|
203
|
+
}
|
204
|
+
|
205
|
+
#wiki-footer #footer-content ul.links li:first-child {
|
206
|
+
list-style-type: none;
|
207
|
+
margin: 0;
|
208
|
+
}
|
209
|
+
|
210
|
+
.ff #wiki-footer #footer-content ul.links li:first-child {
|
211
|
+
margin: 0 -0.75em 0 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
/* @section page-footer */
|
215
|
+
.page #footer {
|
216
|
+
clear: both;
|
217
|
+
border-top: 1px solid #ddd;
|
218
|
+
margin: 1em 0 7em;
|
219
|
+
}
|
220
|
+
|
221
|
+
#footer p#last-edit {
|
222
|
+
font-size: .9em;
|
223
|
+
line-height: 1.6em;
|
224
|
+
color: #999;
|
225
|
+
margin: 0.9em 0;
|
226
|
+
}
|
227
|
+
|
228
|
+
#footer p#last-edit span.username {
|
229
|
+
font-weight: bold;
|
230
|
+
}
|
226
231
|
|
227
232
|
|
228
233
|
/* @section history */
|
@@ -231,109 +236,109 @@ a:hover, a:visited {
|
|
231
236
|
font-weight: normal;
|
232
237
|
}
|
233
238
|
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
239
|
+
.history h1 strong {
|
240
|
+
color: #000;
|
241
|
+
font-weight: bold;
|
242
|
+
}
|
238
243
|
|
239
244
|
#wiki-history {
|
240
245
|
margin-top: 2em;
|
241
246
|
}
|
242
247
|
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
+
#wiki-history fieldset {
|
249
|
+
border: 0;
|
250
|
+
margin: 1em 0;
|
251
|
+
padding: 0;
|
252
|
+
}
|
248
253
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
254
|
+
#wiki-history table, #wiki-history tbody {
|
255
|
+
border-collapse: collapse;
|
256
|
+
padding: 0;
|
257
|
+
margin: 0;
|
258
|
+
width: 100%;
|
259
|
+
}
|
255
260
|
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
261
|
+
#wiki-history table tr {
|
262
|
+
padding: 0;
|
263
|
+
margin: 0;
|
264
|
+
}
|
260
265
|
|
261
|
-
|
262
|
-
|
263
|
-
|
266
|
+
#wiki-history table tr {
|
267
|
+
background-color: #ebf2f6;
|
268
|
+
}
|
264
269
|
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
270
|
+
#wiki-history table tr td {
|
271
|
+
border: 1px solid #c0dce9;
|
272
|
+
font-size: 1em;
|
273
|
+
line-height: 1.6em;
|
274
|
+
margin: 0;
|
275
|
+
padding: 0.3em 0.7em;
|
276
|
+
}
|
277
|
+
|
278
|
+
#wiki-history table tr td.checkbox {
|
279
|
+
width: 4em;
|
280
|
+
padding: 0.3em;
|
281
|
+
}
|
282
|
+
|
283
|
+
#wiki-history table tr td.checkbox input {
|
284
|
+
cursor: pointer;
|
285
|
+
display: block;
|
286
|
+
padding-right: 0;
|
287
|
+
padding-top: 0.4em;
|
288
|
+
margin: 0 auto;
|
289
|
+
width: 1.2em;
|
290
|
+
height: 1.2em;
|
291
|
+
}
|
292
|
+
|
293
|
+
#wiki-history table tr:nth-child(2n),
|
294
|
+
#wiki-history table tr.alt-row {
|
295
|
+
background-color: #f3f7fa;
|
296
|
+
}
|
297
|
+
|
298
|
+
#wiki-history table tr.selected {
|
299
|
+
background-color: #ffffea !important;
|
300
|
+
z-index: 100;
|
301
|
+
}
|
302
|
+
|
303
|
+
#wiki-history table tr td.commit-name {
|
304
|
+
border-left: 0;
|
305
|
+
}
|
306
|
+
|
307
|
+
#wiki-history table tr td.commit-name span.time-elapsed {
|
308
|
+
color: #999;
|
309
|
+
}
|
310
|
+
|
311
|
+
#wiki-history table tr td.author {
|
312
|
+
width: 20%;
|
313
|
+
}
|
314
|
+
|
315
|
+
#wiki-history table tr td.author a {
|
316
|
+
color: #000;
|
317
|
+
font-weight: bold;
|
318
|
+
}
|
319
|
+
|
320
|
+
#wiki-history table tr td.author a span.username {
|
321
|
+
display: block;
|
322
|
+
padding-top: 3px;
|
323
|
+
}
|
324
|
+
|
325
|
+
#wiki-history table tr td img {
|
326
|
+
background-color: #fff;
|
327
|
+
border: 1px solid #999;
|
328
|
+
display: block;
|
329
|
+
float: left;
|
330
|
+
height: 18px;
|
331
|
+
overflow: hidden;
|
332
|
+
margin: 0 0.5em 0 0;
|
333
|
+
width: 18px;
|
334
|
+
padding: 2px;
|
335
|
+
}
|
336
|
+
|
337
|
+
#wiki-history table tr td.commit-name a {
|
338
|
+
font-size: 0.9em;
|
339
|
+
font-family: 'Monaco', 'Andale Mono', Consolas, 'Courier New', monospace;
|
340
|
+
padding: 0 0.2em;
|
341
|
+
}
|
337
342
|
|
338
343
|
.history #footer {
|
339
344
|
margin-bottom: 7em;
|
@@ -351,10 +356,10 @@ a:hover, a:visited {
|
|
351
356
|
font-weight: normal;
|
352
357
|
}
|
353
358
|
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
359
|
+
.edit h1 strong {
|
360
|
+
color: #000;
|
361
|
+
font-weight: bold;
|
362
|
+
}
|
358
363
|
|
359
364
|
|
360
365
|
/* @section search */
|
@@ -363,42 +368,42 @@ a:hover, a:visited {
|
|
363
368
|
font-weight: normal;
|
364
369
|
}
|
365
370
|
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
371
|
+
.results h1 strong {
|
372
|
+
color: #000;
|
373
|
+
font-weight: bold;
|
374
|
+
}
|
370
375
|
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
+
.results #results {
|
377
|
+
border-bottom: 1px solid #ccc;
|
378
|
+
margin-bottom: 2em;
|
379
|
+
padding-bottom: 2em;
|
380
|
+
}
|
376
381
|
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
382
|
+
.results #results ul {
|
383
|
+
margin: 2em 0 0 0;
|
384
|
+
padding: 0;
|
385
|
+
}
|
381
386
|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
387
|
+
.results #results ul li {
|
388
|
+
font-size: 1.2em;
|
389
|
+
line-height: 1.6em;
|
390
|
+
list-style-position: outside;
|
391
|
+
padding: 0.2em 0;
|
392
|
+
}
|
388
393
|
|
389
|
-
|
390
|
-
|
391
|
-
|
394
|
+
.results #results ul li span.count {
|
395
|
+
color: #999;
|
396
|
+
}
|
392
397
|
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
+
.results p#no-results {
|
399
|
+
font-size: 1.2em;
|
400
|
+
line-height: 1.6em;
|
401
|
+
margin-top: 2em;
|
402
|
+
}
|
398
403
|
|
399
|
-
|
400
|
-
|
401
|
-
|
404
|
+
.results #footer ul.actions li {
|
405
|
+
margin: 0 1em 0 0;
|
406
|
+
}
|
402
407
|
|
403
408
|
|
404
409
|
/* @section compare */
|
@@ -407,52 +412,52 @@ a:hover, a:visited {
|
|
407
412
|
font-weight: normal;
|
408
413
|
}
|
409
414
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
415
|
+
.compare h1 strong {
|
416
|
+
color: #000;
|
417
|
+
font-weight: bold;
|
418
|
+
}
|
414
419
|
|
415
|
-
|
416
|
-
|
417
|
-
|
420
|
+
.compare #compare-content {
|
421
|
+
margin-top: 3em;
|
422
|
+
}
|
418
423
|
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
+
.compare .data {
|
425
|
+
border: 1px solid #ddd;
|
426
|
+
margin: 1em 0 2em;
|
427
|
+
overflow: auto;
|
428
|
+
}
|
424
429
|
|
425
|
-
|
426
|
-
|
427
|
-
|
430
|
+
.compare .data table {
|
431
|
+
width: 100%;
|
432
|
+
}
|
428
433
|
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
434
|
+
.compare .data pre {
|
435
|
+
margin: 0;
|
436
|
+
padding: 0;
|
437
|
+
}
|
433
438
|
|
434
|
-
|
435
|
-
|
436
|
-
|
439
|
+
.compare .data pre div {
|
440
|
+
padding: 0 0 0 1em;
|
441
|
+
}
|
437
442
|
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
443
|
+
.compare .data tr td {
|
444
|
+
font-family: "Consolas", "Monaco", "Andale Mono", "Courier New", monospace;
|
445
|
+
font-size: 1.2em;
|
446
|
+
line-height: 1.2em;
|
447
|
+
margin: 0;
|
448
|
+
padding: 0;
|
449
|
+
}
|
445
450
|
|
446
|
-
|
447
|
-
|
448
|
-
|
451
|
+
.compare .data tr td + td + td {
|
452
|
+
width: 100%;
|
453
|
+
}
|
449
454
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
455
|
+
.compare .data td.line_numbers {
|
456
|
+
background: #f7f7f7;
|
457
|
+
border-right: 1px solid #999;
|
458
|
+
color: #999;
|
459
|
+
padding: 0 0 0 0.5em;
|
460
|
+
}
|
456
461
|
|
457
462
|
.compare #compare-content ul.actions li,
|
458
463
|
.compare #footer ul.actions li {
|
@@ -611,68 +616,101 @@ ul.actions {
|
|
611
616
|
overflow: hidden;
|
612
617
|
}
|
613
618
|
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
border-radius: 0.3em;
|
621
|
-
-moz-border-radius: 0.3em;
|
622
|
-
-webkit-border-radius: 0.3em;
|
623
|
-
}
|
624
|
-
|
625
|
-
#head #searchbar #searchbar-fauxtext input#search-query {
|
626
|
-
border: none;
|
627
|
-
color: #000;
|
628
|
-
float: left;
|
629
|
-
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
630
|
-
font-size: 1em;
|
631
|
-
height: inherit;
|
632
|
-
padding: 0 .5em;
|
633
|
-
|
634
|
-
-webkit-focus-ring: none;
|
635
|
-
}
|
636
|
-
|
637
|
-
.ie8 #head #searchbar #searchbar-fauxtext input#search-query {
|
638
|
-
padding: 0.5em 0 0 0.5em;
|
639
|
-
}
|
640
|
-
|
641
|
-
#head #searchbar #searchbar-fauxtext input#search-query.ph {
|
642
|
-
color: #999;
|
643
|
-
}
|
644
|
-
|
645
|
-
#head #searchbar #searchbar-fauxtext #search-submit {
|
646
|
-
border: 0;
|
647
|
-
border-left: 1px solid #d4d4d4;
|
648
|
-
cursor: pointer;
|
649
|
-
margin: 0 !important;
|
650
|
-
padding: 0;
|
651
|
-
float: right;
|
652
|
-
height: inherit;
|
619
|
+
#head #searchbar #searchbar-fauxtext {
|
620
|
+
background: #fff;
|
621
|
+
border: 1px solid #d4d4d4;
|
622
|
+
overflow: hidden;
|
623
|
+
height: 2.2em;
|
653
624
|
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
625
|
+
border-radius: 0.3em;
|
626
|
+
-moz-border-radius: 0.3em;
|
627
|
+
-webkit-border-radius: 0.3em;
|
628
|
+
}
|
658
629
|
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
630
|
+
#head #searchbar #searchbar-fauxtext input#search-query {
|
631
|
+
border: none;
|
632
|
+
color: #000;
|
633
|
+
float: left;
|
634
|
+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
635
|
+
font-size: 1em;
|
636
|
+
height: inherit;
|
637
|
+
padding: 0 .5em;
|
638
|
+
|
639
|
+
-webkit-focus-ring: none;
|
640
|
+
}
|
641
|
+
|
642
|
+
.ie8 #head #searchbar #searchbar-fauxtext input#search-query {
|
643
|
+
padding: 0.5em 0 0 0.5em;
|
644
|
+
}
|
645
|
+
|
646
|
+
#head #searchbar #searchbar-fauxtext input#search-query.ph {
|
647
|
+
color: #999;
|
648
|
+
}
|
649
|
+
|
650
|
+
#head #searchbar #searchbar-fauxtext #search-submit {
|
651
|
+
border: 0;
|
652
|
+
border-left: 1px solid #d4d4d4;
|
653
|
+
cursor: pointer;
|
654
|
+
margin: 0 !important;
|
655
|
+
padding: 0;
|
656
|
+
float: right;
|
657
|
+
height: inherit;
|
658
|
+
|
659
|
+
border-radius: 0 3px 3px 0;
|
660
|
+
-moz-border-radius: 0 3px 3px 0;
|
661
|
+
-webkit-border-radius: 0 3px 3px 0;
|
662
|
+
}
|
663
|
+
|
664
|
+
#head #searchbar #searchbar-fauxtext #search-submit span {
|
665
|
+
background-image: url(../images/icon-sprite.png);
|
666
|
+
background-position: -431px -1px;
|
667
|
+
background-repeat: no-repeat;
|
668
|
+
display: block;
|
669
|
+
height: inherit;
|
670
|
+
overflow: hidden;
|
671
|
+
text-indent: -5000px;
|
672
|
+
width: 28px;
|
673
|
+
}
|
674
|
+
|
675
|
+
.ff #head #searchbar #searchbar-fauxtext #search-submit span,
|
676
|
+
.ie #head #searchbar #searchbar-fauxtext #search-submit span {
|
677
|
+
height: 2.2em;
|
678
|
+
}
|
679
|
+
|
680
|
+
#head #searchbar #searchbar-fauxtext #search-submit:hover span {
|
681
|
+
background-position: -431px -28px;
|
682
|
+
padding: 0;
|
683
|
+
}
|
684
|
+
|
685
|
+
/* @section pages */
|
686
|
+
|
687
|
+
#pages {
|
688
|
+
font-size: 1.2em;
|
689
|
+
margin-bottom: 20px;
|
690
|
+
}
|
691
|
+
|
692
|
+
#pages ul {
|
693
|
+
list-style: none;
|
694
|
+
margin: 0;
|
677
695
|
padding: 0;
|
678
|
-
|
696
|
+
}
|
697
|
+
|
698
|
+
#pages li a.file,
|
699
|
+
#pages li a.folder {
|
700
|
+
background-image: url(/images/fileview/document.png);
|
701
|
+
background-position: 0 1px;
|
702
|
+
background-repeat: no-repeat;
|
703
|
+
padding-left: 20px;
|
704
|
+
}
|
705
|
+
|
706
|
+
#pages li a.folder {
|
707
|
+
background-image: url(/images/fileview/folder-horizontal.png);
|
708
|
+
}
|
709
|
+
|
710
|
+
#pages .breadcrumb {
|
711
|
+
border-top: 1px solid #ddd;
|
712
|
+
border-bottom: 1px solid #ddd;
|
713
|
+
margin: 1em 0;
|
714
|
+
padding: 0.25em;
|
715
|
+
}
|
716
|
+
|