typo 5.1.2 → 5.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES-5.1.3 +21 -0
- data/MAINTAINERS +6 -1
- data/README +1 -1
- data/app/controllers/admin/base_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +18 -11
- data/app/controllers/admin/settings_controller.rb +16 -0
- data/app/controllers/admin/users_controller.rb +2 -3
- data/app/controllers/redirect_controller.rb +6 -4
- data/app/models/article.rb +5 -1
- data/app/models/content.rb +1 -1
- data/app/models/tag.rb +1 -1
- data/app/views/admin/content/_form.html.erb +3 -3
- data/app/views/admin/{general → settings}/update_database.html.erb +1 -1
- data/app/views/admin/tags/_form.html.erb +2 -0
- data/app/views/admin/users/_form.html.erb +2 -0
- data/bin/typo +0 -0
- data/config/environments/development.rb +1 -1
- data/config/routes.rb +3 -2
- data/db/converters/mt3.rb +0 -0
- data/db/converters/s9y.rb +0 -0
- data/db/converters/textpattern.rb +0 -0
- data/db/migrate/063_rejig_state_field.rb +2 -0
- data/db/migrate/071_fix_tags_naming.rb +18 -0
- data/db/schema.rb +30 -24
- data/db/scripts/fix_permalinks.rb +0 -0
- data/lang/es_MX.rb +0 -0
- data/lib/generators/sidebar/templates/Rakefile +0 -0
- data/lib/tasks/release.rake +1 -2
- data/lib/typo_version.rb +1 -1
- data/public/dispatch.cgi +0 -0
- data/public/dispatch.fcgi +0 -0
- data/public/dispatch.rb +0 -0
- data/public/images/admin/cancel.png +0 -0
- data/public/images/admin/checked.png +0 -0
- data/public/images/admin/edit.png +0 -0
- data/public/images/admin/help.png +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -0
- data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -0
- data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -0
- data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -0
- data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -0
- data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_address.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_blockquote.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_div.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h1.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h2.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h3.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h4.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h5.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_h6.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_p.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/block_pre.png +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_anchor.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_pagebreak.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_template/images/template1.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_template/images/template2.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_template/images/template3.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -0
- data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -0
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -0
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -0
- data/public/javascripts/fckeditor/editor/fckdebug.html +0 -0
- data/public/javascripts/fckeditor/editor/fckdialog.html +0 -0
- data/public/javascripts/fckeditor/editor/fckeditor.html +0 -0
- data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -0
- data/public/javascripts/fckeditor/editor/images/anchor.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/spacer.gif +0 -0
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -0
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -0
- data/public/javascripts/fckeditor/editor/lang/af.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ar.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/bg.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/bn.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/bs.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ca.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/cs.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/da.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/de.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/el.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/en.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/eo.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/es.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/et.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/eu.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/fa.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/fi.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/fo.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/fr.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/gl.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/he.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/hi.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/hr.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/hu.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/it.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ja.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/km.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ko.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/lt.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/lv.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/mn.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ms.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/nb.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/nl.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/no.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/pl.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/pt.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ro.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/ru.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/sk.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/sl.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/sr.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/sv.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/th.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/tr.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/uk.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/vi.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -0
- data/public/javascripts/fckeditor/editor/lang/zh.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -0
- data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -0
- data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.start.gif +0 -0
- data/public/javascripts/fckeditor/fckconfig.js +0 -0
- data/public/javascripts/fckeditor/fckeditor.js +0 -0
- data/public/javascripts/fckeditor/fckeditor.py +0 -0
- data/public/javascripts/fckeditor/fckpackager.xml +0 -0
- data/public/javascripts/fckeditor/fckstyles.xml +0 -0
- data/public/javascripts/fckeditor/fcktemplates.xml +0 -0
- data/public/javascripts/fckeditor/license.txt +0 -0
- data/script/about +0 -0
- data/script/benchmarker +0 -0
- data/script/breakpointer +0 -0
- data/script/console +0 -0
- data/script/destroy +0 -0
- data/script/generate +0 -0
- data/script/lighttpd +0 -0
- data/script/logreport +0 -0
- data/script/migrate +0 -0
- data/script/performance/benchmarker +0 -0
- data/script/performance/profiler +0 -0
- data/script/plugin +0 -0
- data/script/process/inspector +0 -0
- data/script/process/reaper +0 -0
- data/script/process/spawner +0 -0
- data/script/process/spinner +0 -0
- data/script/profiler +0 -0
- data/script/runner +0 -0
- data/script/server +0 -0
- data/script/spacecheck +0 -0
- data/script/spec +0 -0
- data/script/spec_server +0 -0
- data/spec/controllers/admin/users_controller_spec.rb +71 -44
- data/spec/controllers/redirect_controller_spec.rb +46 -8
- data/spec/controllers/textfilter_controller_spec.rb +0 -27
- data/spec/models/article_spec.rb +1 -1
- data/spec/models/text_filter_spec.rb +0 -4
- data/test/fixtures/profiles.yml +2 -0
- data/test/fixtures/users.yml +11 -0
- data/test/mocks/themes/typographic/images/Thumbs.db +0 -0
- data/test/mocks/themes/typographic/images/accept.png +0 -0
- data/test/mocks/themes/typographic/images/accept50.png +0 -0
- data/test/mocks/themes/typographic/images/bg_body.jpg +0 -0
- data/test/mocks/themes/typographic/images/bg_white.png +0 -0
- data/test/mocks/themes/typographic/images/bg_wrapper.jpg +0 -0
- data/test/mocks/themes/typographic/images/bullet_bottom.png +0 -0
- data/test/mocks/themes/typographic/images/bullet_right.png +0 -0
- data/test/mocks/themes/typographic/images/email_open.png +0 -0
- data/test/mocks/themes/typographic/images/email_open50.png +0 -0
- data/test/mocks/themes/typographic/images/meta.png +0 -0
- data/test/mocks/themes/typographic/images/page_edit.png +0 -0
- data/test/mocks/themes/typographic/images/page_edit50.png +0 -0
- data/test/mocks/themes/typographic/images/tag.png +0 -0
- data/test/mocks/themes/typographic/images/user.png +0 -0
- data/test/mocks/themes/typographic/images/user50.png +0 -0
- data/test/mocks/themes/typographic/images/world_link.png +0 -0
- data/test/mocks/themes/typographic/images/world_link50.png +0 -0
- data/test/mocks/themes/typographic/stylesheets/colors.css +0 -0
- data/test/mocks/themes/typographic/stylesheets/layout.css +0 -0
- data/test/mocks/themes/typographic/stylesheets/reset.css +0 -0
- data/test/mocks/themes/typographic/stylesheets/style.css +0 -0
- data/test/mocks/themes/typographic/views/theme/static_view_test.html.erb +0 -0
- data/themes/dirtylicious/about.markdown +0 -0
- data/themes/dirtylicious/images/body.jpg +0 -0
- data/themes/dirtylicious/images/container.jpg +0 -0
- data/themes/dirtylicious/images/header.jpg +0 -0
- data/themes/dirtylicious/images/li.gif +0 -0
- data/themes/dirtylicious/images/main.gif +0 -0
- data/themes/dirtylicious/images/nav.gif +0 -0
- data/themes/dirtylicious/images/quote.gif +0 -0
- data/themes/dirtylicious/stylesheets/application.css +0 -0
- data/themes/standard_issue/about.markdown +0 -0
- data/themes/standard_issue/images/img01.gif +0 -0
- data/themes/standard_issue/images/img02.gif +0 -0
- data/themes/standard_issue/images/img03.gif +0 -0
- data/themes/standard_issue/images/img04.jpg +0 -0
- data/themes/standard_issue/images/img05.gif +0 -0
- data/themes/standard_issue/images/img06.gif +0 -0
- data/themes/standard_issue/images/img07.gif +0 -0
- data/themes/standard_issue/images/img08.gif +0 -0
- data/themes/standard_issue/images/img09.gif +0 -0
- data/themes/standard_issue/images/img10.gif +0 -0
- data/themes/standard_issue/images/spacer.gif +0 -0
- data/themes/standard_issue/images/spinner.gif +0 -0
- data/themes/standard_issue/preview.png +0 -0
- data/themes/standard_issue/stylesheets/application.css +0 -0
- data/themes/standard_issue/views/theme/static_view_test.html.erb +0 -0
- data/themes/typographic/images/accept.png +0 -0
- data/themes/typographic/images/accept50.png +0 -0
- data/themes/typographic/images/bg_body.jpg +0 -0
- data/themes/typographic/images/bg_white.png +0 -0
- data/themes/typographic/images/bg_wrapper.jpg +0 -0
- data/themes/typographic/images/bullet_bottom.png +0 -0
- data/themes/typographic/images/bullet_right.png +0 -0
- data/themes/typographic/images/email_open.png +0 -0
- data/themes/typographic/images/email_open50.png +0 -0
- data/themes/typographic/images/meta.png +0 -0
- data/themes/typographic/images/page_edit.png +0 -0
- data/themes/typographic/images/page_edit50.png +0 -0
- data/themes/typographic/images/tag.png +0 -0
- data/themes/typographic/images/user.png +0 -0
- data/themes/typographic/images/user50.png +0 -0
- data/themes/typographic/images/world_link.png +0 -0
- data/themes/typographic/images/world_link50.png +0 -0
- data/themes/typographic/stylesheets/colors.css +0 -0
- data/themes/typographic/stylesheets/layout.css +0 -0
- data/themes/typographic/stylesheets/reset.css +0 -0
- data/themes/typographic/stylesheets/style.css +0 -0
- data/themes/typographic/views/theme/static_view_test.html.erb +0 -0
- data/vendor/actionwebservice/test/gencov +0 -0
- data/vendor/actionwebservice/test/run +0 -0
- data/vendor/bluecloth/bin/bluecloth +0 -0
- data/vendor/bluecloth/install.rb +0 -0
- data/vendor/bluecloth/test.rb +0 -0
- data/vendor/plugins/rspec/bin/spec +0 -0
- data/vendor/plugins/rspec/bin/spec_translator +0 -0
- data/vendor/plugins/rspec/examples/pure/behave_as_example.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/example/configuration.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/example/example_matcher.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/extensions.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/extensions/object.rb +0 -0
- data/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +0 -0
- data/vendor/plugins/rspec/spec/spec/example/configuration_spec.rb +0 -0
- data/vendor/plugins/rspec/spec/spec/example/predicate_matcher_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/USAGE +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/rspec_controller_generator.rb +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/controller_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/USAGE +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/rspec_model_generator.rb +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/base.rb +0 -0
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/example/configuration.rb +0 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/helper_spec_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb +0 -0
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/entry_form.rhtml +0 -0
- data/vendor/redcloth/install.rb +0 -0
- metadata +12 -75
- data/CHANGES-5.1 +0 -56
- data/app/controllers/admin/general_controller.rb +0 -22
- data/public/javascripts/fckeditor/editor/skins/default/fck_dialog.css +0 -402
- data/public/javascripts/fckeditor/editor/skins/default/fck_editor.css +0 -464
- data/public/javascripts/fckeditor/editor/skins/default/fck_strip.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.arrowright.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.buttonarrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.collapse.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.end.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/default/images/toolbar.start.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/fck_dialog.css +0 -402
- data/public/javascripts/fckeditor/editor/skins/office2003/fck_editor.css +0 -476
- data/public/javascripts/fckeditor/editor/skins/office2003/fck_strip.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.arrowright.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.bg.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.end.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/office2003/images/toolbar.start.gif +0 -0
- data/vendor/plugins/typo_textfilter_amazon/README +0 -5
- data/vendor/plugins/typo_textfilter_amazon/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_amazon/init.rb +0 -4
- data/vendor/plugins/typo_textfilter_amazon/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_amazon/lib/typo_textfilter_amazon.rb +0 -45
- data/vendor/plugins/typo_textfilter_amazon/tasks/typo_textfilter_amazon_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_amazon/test/typo_textfilter_amazon_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_sparkline/README +0 -4
- data/vendor/plugins/typo_textfilter_sparkline/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_sparkline/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_sparkline/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_sparkline/lib/typo_textfilter_sparkline.rb +0 -92
- data/vendor/plugins/typo_textfilter_sparkline/tasks/typo_textfilter_sparkline_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_sparkline/test/typo_textfilter_sparkline_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_tmcode/README +0 -4
- data/vendor/plugins/typo_textfilter_tmcode/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_tmcode/init.rb +0 -3
- data/vendor/plugins/typo_textfilter_tmcode/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_tmcode/lib/typo_textfilter_tmcode.rb +0 -86
- data/vendor/plugins/typo_textfilter_tmcode/tasks/typo_textfilter_tmcode_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_tmcode/test/typo_textfilter_tmcode_test.rb +0 -8
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
|
-
|
8
|
-
desc 'Test the typo_textfilter_amazon plugin.'
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
10
|
-
t.libs << 'lib'
|
11
|
-
t.pattern = 'test/**/*_test.rb'
|
12
|
-
t.verbose = true
|
13
|
-
end
|
14
|
-
|
15
|
-
desc 'Generate documentation for the typo_textfilter_amazon plugin.'
|
16
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
|
-
rdoc.rdoc_dir = 'rdoc'
|
18
|
-
rdoc.title = 'Typo-textfilter-amazon'
|
19
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
20
|
-
rdoc.rdoc_files.include('README')
|
21
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
# Install hook code here
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Typo-filter-amazon
|
2
|
-
|
3
|
-
class Typo
|
4
|
-
class Textfilter
|
5
|
-
class Amazon < TextFilterPlugin::PostProcess
|
6
|
-
plugin_display_name "Amazon"
|
7
|
-
plugin_description "Automatically turn amazon:ASIN URLs into affiliate links to Amazon items using your Amazon Associate ID"
|
8
|
-
|
9
|
-
def self.filtertext(blog, content, text, params)
|
10
|
-
associateid = config_value(params,'amazon-associate-id')
|
11
|
-
domain_suffix = config_value(params,'amazon-domain-suffix')
|
12
|
-
content.whiteboard[:asins] = []
|
13
|
-
text.gsub(/<a href="amazon:([^"]+)"/) do |match|
|
14
|
-
content.whiteboard[:asins] = content.whiteboard[:asins].to_a | [$1]
|
15
|
-
"<a href=\"http://www.amazon.#{domain_suffix}/exec/obidos/ASIN/#{$1}/#{associateid}\""
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
def self.default_config
|
20
|
-
{"amazon-associate-id" => {:default => "",
|
21
|
-
:description => "Amazon Associate ID",
|
22
|
-
:help => "Your Amazon Associate's ID (see http://amazon.com/associates). Typo's Amazon filter will automatically add this ID to all amazon:ASIN URLs that you create."},
|
23
|
-
"amazon-domain-suffix" => {:default => "com",
|
24
|
-
:description => "Amazon Domain Suffix",
|
25
|
-
:help => "Your Amazon Domain Suffix depends on the language or country you live in."}
|
26
|
-
}
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.help_text
|
30
|
-
%{
|
31
|
-
You can use `amazon:XXXX`-style URLs to refer to items for sale on
|
32
|
-
[Amazon.com](http://www.amazon.com). If you provide an Amazon associate
|
33
|
-
ID in the filter configuration, then each of these URLs will be tagged
|
34
|
-
with your associate ID and you'll make money if someone buys an item
|
35
|
-
while using your link. Example:
|
36
|
-
|
37
|
-
<a href="amazon:097669400X">
|
38
|
-
|
39
|
-
turns into
|
40
|
-
|
41
|
-
<a href="http://www.amazon.com/.../097669400X/scottstuff-20">}
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
|
-
|
8
|
-
desc 'Test the typo_textfilter_sparkline plugin.'
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
10
|
-
t.libs << 'lib'
|
11
|
-
t.pattern = 'test/**/*_test.rb'
|
12
|
-
t.verbose = true
|
13
|
-
end
|
14
|
-
|
15
|
-
desc 'Generate documentation for the typo_textfilter_sparkline plugin.'
|
16
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
|
-
rdoc.rdoc_dir = 'rdoc'
|
18
|
-
rdoc.title = 'Typo-textfilter-sparkline'
|
19
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
20
|
-
rdoc.rdoc_files.include('README')
|
21
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
# Install hook code here
|
@@ -1,92 +0,0 @@
|
|
1
|
-
require 'net/http'
|
2
|
-
|
3
|
-
begin
|
4
|
-
Kernel.require 'sparklines'
|
5
|
-
|
6
|
-
Sparklines # this will throw an exception if the require failed.
|
7
|
-
|
8
|
-
class Typo
|
9
|
-
class Textfilter
|
10
|
-
class Sparkline < TextFilterPlugin::MacroPost
|
11
|
-
plugin_public_action :plot
|
12
|
-
plugin_display_name "Sparkline"
|
13
|
-
plugin_description "Produce Sparklines"
|
14
|
-
|
15
|
-
def self.help_text
|
16
|
-
%{
|
17
|
-
You can use `<typo:sparkline>` to generate [Sparklines][], which are essentially small inline charts.
|
18
|
-
Example:
|
19
|
-
|
20
|
-
<typo:sparkline data="5 10 15 20"/>
|
21
|
-
|
22
|
-
Options:
|
23
|
-
|
24
|
-
* **data** This is the data to be plotted. You may also include the data between `<typo:sparkline>`
|
25
|
-
and `</typo:sparkline>` tags.
|
26
|
-
* **type** This is the type of sparkline to be generated. Options include `area`, `discrete`, `pie`, and `smooth`.
|
27
|
-
|
28
|
-
For other options, see the [Ruby Sparkline][] website.
|
29
|
-
|
30
|
-
[Sparklines]: http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1&topic=
|
31
|
-
[Ruby Sparkline]: http://nubyonrails.topfunky.com/articles/2005/08/01/sparklines-now-gem-i-fied
|
32
|
-
}
|
33
|
-
end
|
34
|
-
|
35
|
-
def self.opt(attrib,optname)
|
36
|
-
if(attrib[optname])
|
37
|
-
" #{optname}=\"#{attrib.delete(optname)}\""
|
38
|
-
else
|
39
|
-
''
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
def self.macrofilter(controller,content,attrib,params,text="")
|
44
|
-
img_opts = opt(attrib,'style') + opt(attrib,'alt') + opt(attrib,'title')
|
45
|
-
data = text.to_s.split(/\s+/).join(',')
|
46
|
-
|
47
|
-
if(attrib['data'])
|
48
|
-
data = attrib.delete('data').to_s.split.join(',')
|
49
|
-
end
|
50
|
-
|
51
|
-
url = controller.url_for(
|
52
|
-
{:controller => '/textfilter', :action => 'public_action', :filter => 'sparkline',
|
53
|
-
:public_action => 'plot', :data => data}.update(attrib))
|
54
|
-
|
55
|
-
"<img #{img_opts} src=\"#{url}\"/>"
|
56
|
-
end
|
57
|
-
|
58
|
-
# From the sparkline_controller that comes with sparklines.
|
59
|
-
def plot
|
60
|
-
ary = params['data'].split(',').collect { |i| i.to_i }
|
61
|
-
params.delete('filename')
|
62
|
-
|
63
|
-
if(params['type'] and not ['smooth', 'pie', 'discrete', 'area'].include?(params['type']))
|
64
|
-
render :text => 'bad params', :status => 500
|
65
|
-
return
|
66
|
-
end
|
67
|
-
|
68
|
-
fragmentname = @request.path+'?'+@request.parameters.keys.sort.collect {|k| "#{k}=#{@request.parameters[k]}"}.join('&')
|
69
|
-
fragment_cache = read_fragment(fragmentname)
|
70
|
-
|
71
|
-
if(not fragment_cache)
|
72
|
-
fragment_cache = Sparklines.plot(ary,params)
|
73
|
-
write_fragment(fragmentname,fragment_cache)
|
74
|
-
end
|
75
|
-
|
76
|
-
send_data( fragment_cache,
|
77
|
-
:disposition => 'inline',
|
78
|
-
:type => 'image/png',
|
79
|
-
:filename => "spark_#{params[:type]}.png" )
|
80
|
-
end
|
81
|
-
|
82
|
-
# This is really just here for the unit test; we try to call it and
|
83
|
-
# verify that plugin_public_action won't let the call through.
|
84
|
-
def plot2
|
85
|
-
render :text => ''
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
90
|
-
rescue LoadError
|
91
|
-
# ignore load errors by not loading any of the library
|
92
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
|
-
|
8
|
-
desc 'Test the typo_textfilter_tmcode plugin.'
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
10
|
-
t.libs << 'lib'
|
11
|
-
t.pattern = 'test/**/*_test.rb'
|
12
|
-
t.verbose = true
|
13
|
-
end
|
14
|
-
|
15
|
-
desc 'Generate documentation for the typo_textfilter_tmcode plugin.'
|
16
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
|
-
rdoc.rdoc_dir = 'rdoc'
|
18
|
-
rdoc.title = 'Typo-textfilter-tmcode'
|
19
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
20
|
-
rdoc.rdoc_files.include('README')
|
21
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
# Install hook code here
|
@@ -1,86 +0,0 @@
|
|
1
|
-
class Typo
|
2
|
-
class Textfilter
|
3
|
-
class TMCode < TextFilterPlugin::MacroPre
|
4
|
-
plugin_display_name "TMCode"
|
5
|
-
plugin_description "Ensures the CSS files for TextMate syntax highlighting are included."
|
6
|
-
|
7
|
-
def self.help_text
|
8
|
-
%{
|
9
|
-
You can use `<typo:tmcode>` to include blocks of HTML code output by TextMate.
|
10
|
-
Optionally you can default the block to hidden, to be expanded with a `<typo:tmcoderef>` reference.
|
11
|
-
|
12
|
-
<typo:tmcode>
|
13
|
-
<!-- TextMate-generated HTML code here -->
|
14
|
-
</typo:tmcode>
|
15
|
-
|
16
|
-
Expand or collapse my <typo:tmcoderef id="foo">code</typo:tmcoderef>.
|
17
|
-
<typo:tmcode hidden="true" id="foo">
|
18
|
-
<!-- TextMate-generated HTML code here -->
|
19
|
-
</typo:tmcode>
|
20
|
-
|
21
|
-
You can also provide the optional attribute `theme` which specifies which theme to use for colorizing.
|
22
|
-
The list of available themes can be seen in the config screen, where you can also pick a theme to use
|
23
|
-
if the `theme` attribute isn't specified.
|
24
|
-
|
25
|
-
The HTML code that you enclose with this macro can be generated by selecting a block of text in TextMate
|
26
|
-
and selecting the TextMate->Create HTML From Document command.
|
27
|
-
}
|
28
|
-
end
|
29
|
-
|
30
|
-
def self.macrofilter(blog,content,attrib,params,text="")
|
31
|
-
isHidden = attrib['hidden'] || 'false'
|
32
|
-
blockID = attrib['id']
|
33
|
-
theme = (attrib['theme'] || config_value(params, 'default-theme')).downcase.gsub(' ', '_')
|
34
|
-
|
35
|
-
isHidden = ["yes", "true", "1", "hidden"].include?(isHidden.downcase)
|
36
|
-
|
37
|
-
set_whiteboard blog, content, isHidden, theme unless content.nil?
|
38
|
-
|
39
|
-
%{<notextile><div class="textmate-source #{theme}#{isHidden ? ' tmcode-collapsed' : ''}"#{blockID ? %{ id="tmcode_#{blockID}"} : ''}>\n#{text}\n</div></notextile>}
|
40
|
-
end
|
41
|
-
|
42
|
-
def self.default_config
|
43
|
-
{"default-theme" => {:default => "twilight",
|
44
|
-
:description => "Default theme for tmcode snippets",
|
45
|
-
:options => ["Twilight", "iPlastic", "Dawn", 'Space Cadet']}}
|
46
|
-
end
|
47
|
-
|
48
|
-
def self.set_whiteboard(blog, content, isHidden, theme)
|
49
|
-
content.whiteboard['page_header_tmcode'] = <<-HTML
|
50
|
-
<link href="#{blog.base_url}/stylesheets/textmate/textmate.css" media="all" rel="Stylesheet" type="text/css" />
|
51
|
-
HTML
|
52
|
-
content.whiteboard["page_header_tmcode_#{theme}"] = <<-HTML unless theme.blank?
|
53
|
-
<link href="#{blog.base_url}/stylesheets/textmate/#{theme}.css" media="screen" rel="Stylesheet" type="text/css" />
|
54
|
-
HTML
|
55
|
-
TMCodeRef.set_whiteboard blog, content if isHidden
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class TMCodeRef < TextFilterPlugin::MacroPost
|
60
|
-
plugin_display_name "TMCodeRef"
|
61
|
-
plugin_description "Adds expand/collapse links for TMCode sections."
|
62
|
-
|
63
|
-
def self.help_text
|
64
|
-
%{
|
65
|
-
Use `<typo:tmcoderef id="ref">text</typo:tmcoderef>` to cause `text` to be a hyperlink which toggles
|
66
|
-
the collapsed state of the `<typo:tmcode>` block referenced by the `id`.
|
67
|
-
}
|
68
|
-
end
|
69
|
-
|
70
|
-
def self.macrofilter(blog,content,attrib,params,text="")
|
71
|
-
blockID = attrib['id']
|
72
|
-
|
73
|
-
set_whiteboard blog, content
|
74
|
-
|
75
|
-
%{<a href="#" onclick="toggleCodeCollapse('tmcode_#{blockID.gsub("('|\\)", "\\\\\\1")}');return false;">#{text}</a>}
|
76
|
-
end
|
77
|
-
|
78
|
-
def self.set_whiteboard(blog, content)
|
79
|
-
content.whiteboard['page_header_codecollapse'] = <<-HTML
|
80
|
-
<link href="#{blog.base_url}/stylesheets/codecollapse.css" media="screen" rel="Stylesheet" type="text/css" />
|
81
|
-
<script src="#{blog.base_url}/javascripts/codecollapse.js" type="text/javascript" defer="defer"></script>
|
82
|
-
HTML
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|