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
data/CHANGES-5.1.3
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Typo 5.1.3 is the fourth release of the "Cartier-Bresson" series and released on sunday August the 31th. It is mostly a bugfix and behaviour fix version, so don't expect many changes.
|
2
|
+
|
3
|
+
Bug #1244: error with postgresql database on admin/content
|
4
|
+
Bug #1251: Documentation on dashboard is 404
|
5
|
+
Bug #1252: migrations alter updated_at timestamps of articles and comments, affects RSS feeds
|
6
|
+
Bug #1253: Twice redirect in admin/user#list if no admin
|
7
|
+
Bug #1254: Fix little error when you use bad id in AdminUser#edit
|
8
|
+
Bug #1255: Doesn't autosave if no define title
|
9
|
+
Bug #1256: /article/ 301 redirect hits the default buffer which is not the expected behaviour
|
10
|
+
Bug #1257: Articles redirect doesn't work with non-nil relative_url_root
|
11
|
+
|
12
|
+
|
13
|
+
Rev #1784: Fixed requirements and added our official Typo mascot
|
14
|
+
Rev #1786: Fixes a stupid behaviour that forces tags display name to be the same as the name in the url. IE : "web 2.0" would display on a page as web2-0 after transformation, which is stupid. Adds a migration that changes '.' into '-' in tag already in the database. Otherwise, it makes typo crash when accessing that tag. Allows edition of tag display name in the admin.
|
15
|
+
Rev #1787:Removes database dependencies from installer. Now we assume you already have MySQL, PgSQL or SQLLite adater installed. Deletes 2 themes from FCKEditor, about 300k lighter now. Suppress caching from development environment
|
16
|
+
Rev #1789: Fixes a stupid bug that allows a non administrative user to change his profile
|
17
|
+
Rev #1792: Removing tmcode textfilter. It now has its own life at http://svn.typosphere.org/plugins/typo_textfilter_tmcode/. Removing amazon textfilter. It now has its own life at http://svn.typosphere.org/plugins/typo_textfilter_amazon/. Removing sparkline textfilter. It now has its own life at http://svn.typosphere.org/plugins/typo_textfilter_sparkline/
|
18
|
+
Rev #1795: Fixes 2 nasty bugs with autosave. The first one broke autosave when no title was set. We now set a default title. The second one was overriding permalink with a void string when post was autosaved because the permalink field was empty after autosave. For autosave: If no title is given, Typo gives it a title like "Article Draft + post_id". When publishing, every article-draft-something permalink is just replaced with the article title crafted permalink.
|
19
|
+
Rev #1796: Enables in admin database migration back, gets rid of the old pre 4.1 general controller, sets the CHANGELOG for 5.1.3.
|
20
|
+
|
21
|
+
Many thanks to Cyril Mougel, Matijs van Zuijlen and Frédéric Logier for submitting patches.
|
data/MAINTAINERS
CHANGED
data/README
CHANGED
@@ -12,7 +12,7 @@ Requirements
|
|
12
12
|
|
13
13
|
Currently you need all of those things to get typo to run:
|
14
14
|
|
15
|
-
* Ruby 1.8.6 or
|
15
|
+
* Ruby 1.8.6 or Ruby Enterprise Edition.
|
16
16
|
* Rails 2.0.2. Typo DOES NOT support Rails 2.1 yet.
|
17
17
|
* A database. Typo supports MySQL, PostgreSQL, and SQLite.
|
18
18
|
* Ruby drivers for your database.
|
@@ -11,7 +11,7 @@ class Admin::BaseController < ApplicationController
|
|
11
11
|
private
|
12
12
|
def look_for_needed_db_updates
|
13
13
|
if Migrator.offer_migration_when_available
|
14
|
-
redirect_to :controller => '/admin/
|
14
|
+
redirect_to :controller => '/admin/settings', :action => 'update_database' if Migrator.current_schema_version != Migrator.max_schema_version
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
@@ -102,24 +102,25 @@ class Admin::ContentController < Admin::BaseController
|
|
102
102
|
end
|
103
103
|
|
104
104
|
def autosave
|
105
|
-
|
106
|
-
@article = Article.find(params[:id])
|
107
|
-
else
|
108
|
-
@article = Article.new
|
109
|
-
end
|
110
|
-
|
105
|
+
get_or_build_article
|
111
106
|
unless @article.published
|
112
107
|
params[:article] ||= {}
|
113
108
|
@article.attributes = params[:article]
|
114
|
-
|
109
|
+
@article.published = false
|
115
110
|
setup_categories
|
116
111
|
@selected = @article.categories.collect { |c| c.id }
|
117
112
|
set_article_author
|
118
113
|
save_attachments
|
114
|
+
|
115
|
+
set_article_title_for_autosave
|
116
|
+
|
119
117
|
@article.state = "draft" unless @article.state == "withdrawn"
|
120
118
|
if @article.save
|
121
|
-
|
122
|
-
|
119
|
+
render(:update) do |page|
|
120
|
+
page.replace_html('autosave', _("Article was successfully saved at ") + Time.now.to_s + "<input type='hidden' name='id' value='#{@article.id}' />")
|
121
|
+
page.replace_html('permalink', text_field('article', 'permalink'))
|
122
|
+
end
|
123
|
+
|
123
124
|
return true
|
124
125
|
end
|
125
126
|
end
|
@@ -143,12 +144,14 @@ class Admin::ContentController < Admin::BaseController
|
|
143
144
|
|
144
145
|
def new_or_edit
|
145
146
|
get_or_build_article
|
147
|
+
@article.published = true
|
148
|
+
|
146
149
|
params[:article] ||= {}
|
147
150
|
params[:bookmarklet_link] && post_from_bookmarklet
|
148
151
|
|
149
152
|
@resources = Resource.find(:all, :order => 'created_at DESC')
|
150
153
|
@article.attributes = params[:article]
|
151
|
-
|
154
|
+
|
152
155
|
setup_categories
|
153
156
|
@selected = @article.categories.collect { |c| c.id }
|
154
157
|
@drafts = Article.find(:all, :conditions => "state='draft'")
|
@@ -189,6 +192,11 @@ class Admin::ContentController < Admin::BaseController
|
|
189
192
|
@article.user = current_user
|
190
193
|
end
|
191
194
|
|
195
|
+
def set_article_title_for_autosave
|
196
|
+
lastid = Article.find(:first, :order => 'id DESC').id
|
197
|
+
@article.title = @article.title.blank? ? "Draft article " + lastid.to_s : @article.permalink = @article.stripped_title
|
198
|
+
end
|
199
|
+
|
192
200
|
def save_attachments
|
193
201
|
return if params[:attachments].nil?
|
194
202
|
params[:attachments].each do |k,v|
|
@@ -213,7 +221,6 @@ class Admin::ContentController < Admin::BaseController
|
|
213
221
|
returning(Article.new) do |art|
|
214
222
|
art.allow_comments = this_blog.default_allow_comments
|
215
223
|
art.allow_pings = this_blog.default_allow_pings
|
216
|
-
art.published = true
|
217
224
|
end
|
218
225
|
else
|
219
226
|
Article.find(params[:id])
|
@@ -62,4 +62,20 @@ class Admin::SettingsController < Admin::BaseController
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
def update_database
|
66
|
+
@current_version = Migrator.current_schema_version
|
67
|
+
@needed_version = Migrator.max_schema_version
|
68
|
+
@support = Migrator.db_supports_migrations?
|
69
|
+
@needed_migrations = Migrator.available_migrations[@current_version..@needed_version].collect do |mig|
|
70
|
+
mig.scan(/\d+\_([\w_]+)\.rb$/).flatten.first.humanize
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def migrate
|
75
|
+
if request.post?
|
76
|
+
Migrator.migrate
|
77
|
+
redirect_to :action => 'update_database'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
65
81
|
end
|
@@ -2,7 +2,7 @@ class Admin::UsersController < Admin::BaseController
|
|
2
2
|
|
3
3
|
def list
|
4
4
|
index
|
5
|
-
render :action => 'index'
|
5
|
+
render :action => 'index' if current_user.profile.label == 'admin'
|
6
6
|
end
|
7
7
|
|
8
8
|
def index
|
@@ -26,9 +26,8 @@ class Admin::UsersController < Admin::BaseController
|
|
26
26
|
if current_user.profile.label == 'admin'
|
27
27
|
@user = User.find_by_id(params[:id])
|
28
28
|
else
|
29
|
-
if params[:id] and params[:id] != current_user[:id]
|
29
|
+
if params[:id] and params[:id].to_i != current_user[:id]
|
30
30
|
flash[:error] = _("Error, you are not allowed to perform this action")
|
31
|
-
redirect_to :action => 'index'
|
32
31
|
end
|
33
32
|
@user = User.find_by_id(current_user.id)
|
34
33
|
end
|
@@ -2,13 +2,15 @@ class RedirectController < ContentController
|
|
2
2
|
session :off
|
3
3
|
|
4
4
|
def redirect
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
if (params[:from].first == 'articles')
|
6
|
+
path = request.path.sub('/articles', '')
|
7
|
+
url_root = request.relative_url_root
|
8
|
+
path = url_root + path unless url_root.nil?
|
9
|
+
redirect_to path, :status => 301
|
8
10
|
return
|
9
11
|
end
|
10
12
|
|
11
|
-
r = Redirect.find_by_from_path(params[:from])
|
13
|
+
r = Redirect.find_by_from_path(params[:from].join("/"))
|
12
14
|
|
13
15
|
if(r)
|
14
16
|
path = r.to_path
|
data/app/models/article.rb
CHANGED
@@ -446,7 +446,11 @@ class Article < Content
|
|
446
446
|
end
|
447
447
|
|
448
448
|
def set_defaults
|
449
|
-
if self.attributes.include?("permalink") and
|
449
|
+
if self.attributes.include?("permalink") and
|
450
|
+
(self.permalink.blank? or
|
451
|
+
self.permalink.to_s =~ /article-draft/ or
|
452
|
+
self.state == "draft"
|
453
|
+
)
|
450
454
|
self.permalink = self.stripped_title
|
451
455
|
end
|
452
456
|
if blog && self.allow_comments.nil?
|
data/app/models/content.rb
CHANGED
@@ -102,7 +102,7 @@ class Content < ActiveRecord::Base
|
|
102
102
|
end
|
103
103
|
|
104
104
|
def find_by_published_at(column_name = :published_at)
|
105
|
-
from_where = "FROM #{self.table_name} WHERE #{column_name}
|
105
|
+
from_where = "FROM #{self.table_name} WHERE #{column_name} is not NULL AND type='#{self.name}'"
|
106
106
|
|
107
107
|
# Implement adapter-specific groupings below, or allow us to fall through to the generic ruby-side grouping
|
108
108
|
|
data/app/models/tag.rb
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
</li>
|
62
62
|
<li>
|
63
63
|
<label for="article_permalink" class="float"><%= _("Permalink") %></label>
|
64
|
-
|
64
|
+
<span id="permalink"><%= text_field 'article', 'permalink' %></span>
|
65
65
|
</li>
|
66
66
|
<li class="checkbox">
|
67
67
|
<label for="article_allow_comments" class="float"><%= _("Allow comments") %>: </label>
|
@@ -86,8 +86,8 @@
|
|
86
86
|
|
87
87
|
<% if this_blog.editor == 0 %>
|
88
88
|
<%= hidden_field_tag 'id', @article.id unless @article.id.nil? %>
|
89
|
+
<% # :update => 'autosave', %>
|
89
90
|
<%= observe_form "article_form",
|
90
|
-
:frequency =>
|
91
|
-
:update => 'autosave',
|
91
|
+
:frequency => 60,
|
92
92
|
:url => { :action => "autosave" } %>
|
93
93
|
<% end %>
|
@@ -6,10 +6,12 @@
|
|
6
6
|
<label class="float" for="user_login"><%= _("Login")%>:</label>
|
7
7
|
<%= text_field 'user', 'login' %>
|
8
8
|
</li>
|
9
|
+
<% if current_user.profile.label == 'admin' %>
|
9
10
|
<li>
|
10
11
|
<label class="float" for="user_profile"><%= _("Profile")%>:</label>
|
11
12
|
<%= select("user", "profile_id", @profiles.collect {|p| [ p.nicename, p.id ] }, { :include_blank => true }) %>
|
12
13
|
</li>
|
14
|
+
<% end %>
|
13
15
|
<li>
|
14
16
|
<label class="float" for="user_login"><%= _("Display Name")%>:</label>
|
15
17
|
<%= text_field 'user', 'name' %>
|
data/bin/typo
CHANGED
File without changes
|
@@ -8,7 +8,7 @@ config.whiny_nils = true
|
|
8
8
|
|
9
9
|
# Show full error reports and disable caching
|
10
10
|
config.action_controller.consider_all_requests_local = true
|
11
|
-
config.action_controller.perform_caching =
|
11
|
+
config.action_controller.perform_caching = false
|
12
12
|
|
13
13
|
# Don't care if the mailer can't send
|
14
14
|
config.action_mailer.raise_delivery_errors = false
|
data/config/routes.rb
CHANGED
@@ -154,11 +154,13 @@ ActionController::Routing::Routes.draw do |map|
|
|
154
154
|
end
|
155
155
|
|
156
156
|
%w{advanced blacklist cache categories comments content feedback general pages
|
157
|
-
resources sidebar textfilters themes trackbacks users}.each do |i|
|
157
|
+
resources sidebar textfilters themes trackbacks users settings tags }.each do |i|
|
158
158
|
map.connect "/admin/#{i}", :controller => "admin/#{i}", :action => 'index'
|
159
159
|
map.connect "/admin/#{i}/:action/:id", :controller => "admin/#{i}", :action => nil, :id => nil
|
160
160
|
end
|
161
161
|
|
162
|
+
map.connect '*from', :controller => 'redirect', :action => 'redirect'
|
163
|
+
|
162
164
|
returning(map.connect(':controller/:action/:id')) do |default_route|
|
163
165
|
# Ick!
|
164
166
|
default_route.write_generation
|
@@ -180,5 +182,4 @@ ActionController::Routing::Routes.draw do |map|
|
|
180
182
|
alias_method_chain :generate, :deprecation
|
181
183
|
end
|
182
184
|
end
|
183
|
-
map.connect '*from', :controller => 'redirect', :action => 'redirect'
|
184
185
|
end
|
data/db/converters/mt3.rb
CHANGED
File without changes
|
data/db/converters/s9y.rb
CHANGED
File without changes
|
File without changes
|
@@ -9,6 +9,7 @@ class RejigStateField < ActiveRecord::Migration
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.up
|
12
|
+
ActiveRecord::Base.record_timestamps = false
|
12
13
|
BareContent.transaction do
|
13
14
|
BareFeedback.transaction do
|
14
15
|
[BareContent, BareFeedback].each do |klass|
|
@@ -21,6 +22,7 @@ class RejigStateField < ActiveRecord::Migration
|
|
21
22
|
end
|
22
23
|
change_column :contents, :state, :string
|
23
24
|
change_column :feedback, :state, :string
|
25
|
+
ActiveRecord::Base.record_timestamps = true
|
24
26
|
end
|
25
27
|
|
26
28
|
def self.down
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class FixTagsNaming < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
tags = Tag.find(:all)
|
4
|
+
tags.each do |tag|
|
5
|
+
tag.name = tag.name.gsub('.', '-')
|
6
|
+
tag.save!
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.down
|
11
|
+
tags = Tag.find(:all)
|
12
|
+
tags.each do |tag|
|
13
|
+
tag.name = tag.display_name.gsub('-', '.')
|
14
|
+
tag.name = tag.name.gsub(' ', '').downcase
|
15
|
+
tag.save!
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/db/schema.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
#
|
10
10
|
# It's strongly recommended to check this file into your version control system.
|
11
11
|
|
12
|
-
ActiveRecord::Schema.define(:version =>
|
12
|
+
ActiveRecord::Schema.define(:version => 71) do
|
13
13
|
|
14
14
|
create_table "articles_tags", :id => false, :force => true do |t|
|
15
15
|
t.integer "article_id"
|
@@ -17,12 +17,10 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
create_table "blacklist_patterns", :force => true do |t|
|
20
|
-
t.string "type"
|
20
|
+
t.string "type", :limit => 15
|
21
21
|
t.string "pattern"
|
22
22
|
end
|
23
23
|
|
24
|
-
add_index "blacklist_patterns", ["pattern"], :name => "index_blacklist_patterns_on_pattern"
|
25
|
-
|
26
24
|
create_table "blogs", :force => true do |t|
|
27
25
|
t.text "settings"
|
28
26
|
t.string "base_url"
|
@@ -30,11 +28,11 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
30
28
|
|
31
29
|
create_table "categories", :force => true do |t|
|
32
30
|
t.string "name"
|
33
|
-
t.integer "position"
|
31
|
+
t.integer "position", :default => 0, :null => false
|
34
32
|
t.string "permalink"
|
35
33
|
end
|
36
34
|
|
37
|
-
add_index "categories", ["permalink"], :name => "
|
35
|
+
add_index "categories", ["permalink"], :name => "categories_permalink_index"
|
38
36
|
|
39
37
|
create_table "categorizations", :force => true do |t|
|
40
38
|
t.integer "article_id"
|
@@ -65,8 +63,8 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
65
63
|
t.string "state"
|
66
64
|
end
|
67
65
|
|
68
|
-
add_index "contents", ["published"], :name => "
|
69
|
-
add_index "contents", ["text_filter_id"], :name => "
|
66
|
+
add_index "contents", ["published"], :name => "contents_published_index"
|
67
|
+
add_index "contents", ["text_filter_id"], :name => "contents_text_filter_id_index"
|
70
68
|
|
71
69
|
create_table "feedback", :force => true do |t|
|
72
70
|
t.string "type"
|
@@ -91,8 +89,8 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
91
89
|
t.boolean "status_confirmed"
|
92
90
|
end
|
93
91
|
|
94
|
-
add_index "feedback", ["article_id"], :name => "
|
95
|
-
add_index "feedback", ["text_filter_id"], :name => "
|
92
|
+
add_index "feedback", ["article_id"], :name => "feedback_article_id_index"
|
93
|
+
add_index "feedback", ["text_filter_id"], :name => "feedback_text_filter_id_index"
|
96
94
|
|
97
95
|
create_table "notifications", :force => true do |t|
|
98
96
|
t.integer "content_id"
|
@@ -102,10 +100,10 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
102
100
|
end
|
103
101
|
|
104
102
|
create_table "page_caches", :force => true do |t|
|
105
|
-
t.string "name"
|
103
|
+
t.string "name", :null => false
|
106
104
|
end
|
107
105
|
|
108
|
-
add_index "page_caches", ["name"], :name => "
|
106
|
+
add_index "page_caches", ["name"], :name => "name"
|
109
107
|
|
110
108
|
create_table "pings", :force => true do |t|
|
111
109
|
t.integer "article_id"
|
@@ -113,7 +111,7 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
113
111
|
t.datetime "created_at"
|
114
112
|
end
|
115
113
|
|
116
|
-
add_index "pings", ["article_id"], :name => "
|
114
|
+
add_index "pings", ["article_id"], :name => "article_id"
|
117
115
|
|
118
116
|
create_table "profiles", :force => true do |t|
|
119
117
|
t.string "label"
|
@@ -154,19 +152,20 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
154
152
|
end
|
155
153
|
|
156
154
|
create_table "sessions", :force => true do |t|
|
157
|
-
t.string "sessid"
|
155
|
+
t.string "sessid", :limit => 32
|
158
156
|
t.text "data"
|
159
|
-
t.datetime "created_at"
|
160
157
|
t.datetime "updated_at"
|
161
158
|
end
|
162
159
|
|
163
|
-
add_index "sessions", ["sessid"], :name => "
|
160
|
+
add_index "sessions", ["sessid"], :name => "sessid", :unique => true
|
161
|
+
add_index "sessions", ["sessid"], :name => "sessions_sessid_index"
|
164
162
|
|
165
163
|
create_table "sidebars", :force => true do |t|
|
166
|
-
t.integer
|
167
|
-
t.text
|
168
|
-
t.integer
|
169
|
-
t.
|
164
|
+
t.integer "active_position"
|
165
|
+
t.text "config"
|
166
|
+
t.integer "staged_position"
|
167
|
+
t.datetime "updated_at"
|
168
|
+
t.string "type"
|
170
169
|
end
|
171
170
|
|
172
171
|
create_table "sitealizer", :force => true do |t|
|
@@ -194,6 +193,11 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
194
193
|
t.text "params"
|
195
194
|
end
|
196
195
|
|
196
|
+
create_table "text_link_ads_rss", :force => true do |t|
|
197
|
+
t.string "html", :limit => 1024
|
198
|
+
t.integer "post_id"
|
199
|
+
end
|
200
|
+
|
197
201
|
create_table "triggers", :force => true do |t|
|
198
202
|
t.integer "pending_item_id"
|
199
203
|
t.string "pending_item_type"
|
@@ -202,10 +206,10 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
202
206
|
end
|
203
207
|
|
204
208
|
create_table "users", :force => true do |t|
|
205
|
-
t.string "login"
|
206
|
-
t.string "password"
|
207
|
-
t.
|
208
|
-
t.
|
209
|
+
t.string "login", :limit => 80
|
210
|
+
t.string "password", :limit => 40
|
211
|
+
t.string "name", :limit => 80
|
212
|
+
t.string "email", :limit => 80
|
209
213
|
t.boolean "notify_via_email"
|
210
214
|
t.boolean "notify_on_new_articles"
|
211
215
|
t.boolean "notify_on_comments"
|
@@ -215,4 +219,6 @@ ActiveRecord::Schema.define(:version => 70) do
|
|
215
219
|
t.integer "profile_id"
|
216
220
|
end
|
217
221
|
|
222
|
+
add_index "users", ["login"], :name => "login", :unique => true
|
223
|
+
|
218
224
|
end
|