typo 5.3 → 5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +30 -627
- data/app/controllers/accounts_controller.rb +28 -8
- data/app/controllers/admin/base_controller.rb +0 -2
- data/app/controllers/admin/blacklist_controller.rb +1 -1
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +40 -20
- data/app/controllers/admin/dashboard_controller.rb +2 -0
- data/app/controllers/admin/feedback_controller.rb +5 -4
- data/app/controllers/admin/pages_controller.rb +1 -3
- data/app/controllers/admin/previews_controller.rb +10 -0
- data/app/controllers/admin/profiles_controller.rb +9 -27
- data/app/controllers/admin/resources_controller.rb +1 -4
- data/app/controllers/admin/settings_controller.rb +11 -5
- data/app/controllers/admin/tags_controller.rb +1 -1
- data/app/controllers/admin/themes_controller.rb +2 -0
- data/app/controllers/admin/users_controller.rb +6 -15
- data/app/controllers/application_controller.rb +76 -0
- data/app/controllers/articles_controller.rb +4 -8
- data/app/controllers/authors_controller.rb +21 -0
- data/app/controllers/backend_controller.rb +0 -1
- data/app/controllers/content_controller.rb +1 -5
- data/app/controllers/feedback_controller.rb +0 -1
- data/app/controllers/grouping_controller.rb +29 -7
- data/app/controllers/previews_controller.rb +10 -0
- data/app/controllers/redirect_controller.rb +3 -1
- data/app/controllers/theme_controller.rb +0 -4
- data/app/controllers/xml_controller.rb +7 -5
- data/app/helpers/admin/base_helper.rb +19 -13
- data/app/helpers/admin/users_helper.rb +12 -0
- data/app/helpers/application_helper.rb +20 -58
- data/app/helpers/articles_helper.rb +2 -2
- data/app/helpers/authors_helper.rb +5 -0
- data/app/models/article.rb +14 -28
- data/app/models/blog.rb +6 -38
- data/app/models/category.rb +2 -6
- data/app/models/content.rb +24 -18
- data/app/models/page.rb +0 -2
- data/app/models/page_cache.rb +4 -7
- data/app/models/sidebar.rb +6 -6
- data/app/models/text_filter.rb +1 -6
- data/app/models/theme.rb +7 -2
- data/app/models/trackback.rb +1 -5
- data/app/models/user.rb +13 -3
- data/app/views/accounts/confirm.html.erb +16 -0
- data/app/views/accounts/login.html.erb +30 -7
- data/app/views/accounts/signup.html.erb +16 -31
- data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -1
- data/app/views/admin/blacklist/_form.html.erb +1 -1
- data/app/views/admin/blacklist/destroy.html.erb +7 -7
- data/app/views/admin/categories/_categories.html.erb +0 -4
- data/app/views/admin/categories/_form.html.erb +18 -20
- data/app/views/admin/categories/new.html.erb +5 -8
- data/app/views/admin/content/_article_list.html.erb +1 -5
- data/app/views/admin/content/_drafts.html.erb +4 -4
- data/app/views/admin/content/_form.html.erb +97 -87
- data/app/views/admin/content/_simple_editor.html.erb +4 -4
- data/app/views/admin/content/_visual_editor.html.erb +6 -5
- data/app/views/admin/content/index.html.erb +3 -5
- data/app/views/admin/content/new.html.erb +1 -1
- data/app/views/admin/dashboard/_comments.html.erb +2 -3
- data/app/views/admin/dashboard/_inbound.html.erb +2 -5
- data/app/views/admin/dashboard/_popular.html.erb +1 -1
- data/app/views/admin/dashboard/_posts.html.erb +1 -2
- data/app/views/admin/dashboard/_sysinfo.html.erb +4 -6
- data/app/views/admin/dashboard/_typo_dev.html.erb +4 -4
- data/app/views/admin/dashboard/_welcome.html.erb +3 -3
- data/app/views/admin/dashboard/index.html.erb +14 -8
- data/app/views/admin/feedback/_button.html.erb +6 -6
- data/app/views/admin/feedback/_form.html.erb +29 -18
- data/app/views/admin/feedback/article.html.erb +1 -1
- data/app/views/admin/feedback/index.html.erb +18 -10
- data/app/views/admin/pages/_form.html.erb +65 -47
- data/app/views/admin/pages/_pages.html.erb +1 -3
- data/app/views/admin/pages/_visual_editor.html.erb +1 -1
- data/app/views/admin/profiles/index.html.erb +6 -0
- data/app/views/admin/resources/_resources.html.erb +3 -6
- data/app/views/admin/resources/index.html.erb +14 -9
- data/app/views/admin/settings/_submit.html.erb +2 -2
- data/app/views/admin/settings/feedback.html.erb +96 -90
- data/app/views/admin/settings/index.html.erb +78 -46
- data/app/views/admin/settings/seo.html.erb +72 -63
- data/app/views/admin/settings/write.html.erb +21 -29
- data/app/views/admin/sidebar/index.html.erb +2 -2
- data/app/views/admin/tags/index.html.erb +18 -9
- data/app/views/admin/themes/catalogue.html.erb +6 -14
- data/app/views/admin/themes/index.html.erb +6 -12
- data/app/views/admin/users/_form.html.erb +181 -63
- data/app/views/admin/users/edit.html.erb +2 -5
- data/app/views/admin/users/index.html.erb +24 -29
- data/app/views/admin/users/new.html.erb +1 -5
- data/app/views/articles/_article.html.erb +15 -1
- data/app/views/articles/_atom_feed.atom.builder +1 -1
- data/app/views/articles/_rss20_feed.rss.builder +4 -2
- data/app/views/articles/read.html.erb +3 -3
- data/app/views/articles/search.html.erb +1 -1
- data/app/views/authors/show.html.erb +37 -0
- data/app/views/layouts/accounts.html.erb +3 -4
- data/app/views/layouts/administration.html.erb +29 -32
- data/app/views/shared/_search.html.erb +10 -0
- data/app/views/xml/_atom10_item_article.atom.builder +1 -3
- data/bin/typo +4 -0
- data/config/boot.rb +3 -2
- data/config/environment.rb +32 -109
- data/config/environments/cucumber.rb +23 -0
- data/config/environments/development.rb +1 -1
- data/config/environments/test.rb +5 -0
- data/config/initializers/access_rules.rb +20 -23
- data/config/locales/nl.rb +103 -0
- data/config/routes.rb +10 -4
- data/db/migrate/001_initial_schema.rb +4 -0
- data/db/migrate/057_add_categorization_model.rb +12 -5
- data/db/migrate/060_cleanup_contents_table.rb +9 -1
- data/db/migrate/067_remove_blog_ids.rb +9 -1
- data/db/migrate/075_move_editor_to_user.rb +1 -11
- data/db/migrate/078_add_textfilter_to_users.rb +1 -5
- data/db/migrate/079_move_editor_as_string.rb +1 -5
- data/db/migrate/080_add_state_to_user.rb +1 -5
- data/db/migrate/082_add_users_options.rb +35 -0
- data/db/migrate/083_add_users_display_perms.rb +19 -0
- data/db/migrate/084_move_users_to_profiles.rb +19 -0
- data/db/migrate/085_add_article_parent_draft.rb +9 -0
- data/db/migrate/086_add_user_last_connection.rb +9 -0
- data/db/schema.rb +18 -2
- data/doc/test_themes.rb +50 -0
- data/lang/fr_FR.rb +593 -538
- data/lang/he_IL.rb +2 -2
- data/lang/ja_JP.rb +449 -295
- data/lang/nl_NL.rb +657 -0
- data/lang/zh_TW.rb +597 -0
- data/lib/stateful.rb +1 -1
- data/lib/tasks/cucumber.rake +20 -0
- data/lib/tasks/release.rake +9 -5
- data/lib/tasks/rspec.rake +69 -44
- data/lib/tasks/sweep_cache.rake +0 -1
- data/lib/typo_version.rb +1 -1
- data/public/images/admin/blue_block_bottom_left.jpg +0 -0
- data/public/images/admin/blue_block_bottom_right.jpg +0 -0
- data/public/images/admin/blue_block_top_left.jpg +0 -0
- data/public/images/admin/blue_block_top_right.jpg +0 -0
- data/public/images/admin/editor_active_top_left.jpg +0 -0
- data/public/images/admin/editor_active_top_right.jpg +0 -0
- data/public/images/admin/editor_bottom_left.jpg +0 -0
- data/public/images/admin/editor_bottom_right.jpg +0 -0
- data/public/images/admin/input_text_left.jpg +0 -0
- data/public/images/admin/input_text_right.jpg +0 -0
- data/public/images/admin/input_text_small_left.jpg +0 -0
- data/public/images/admin/input_text_small_right.jpg +0 -0
- data/public/images/admin/publisher_bottom.jpg +0 -0
- data/public/images/admin/publisher_top.jpg +0 -0
- data/public/images/close.gif +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/nextlabel.gif +0 -0
- data/public/images/prevlabel.gif +0 -0
- data/public/javascripts/administration.js +1 -10
- data/public/javascripts/builder.js +136 -0
- data/public/javascripts/ckcustom.js +27 -0
- data/public/javascripts/ckeditor/.htaccess +24 -0
- data/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/public/javascripts/ckeditor/config.bak +11 -0
- data/public/javascripts/ckeditor/config.js +27 -0
- data/public/javascripts/ckeditor/contents.css +35 -0
- data/public/javascripts/{fckeditor/editor → ckeditor}/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/public/javascripts/ckeditor/lang/af.js +6 -0
- data/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/public/javascripts/ckeditor/lang/da.js +6 -0
- data/public/javascripts/ckeditor/lang/de.js +6 -0
- data/public/javascripts/ckeditor/lang/el.js +6 -0
- data/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/public/javascripts/ckeditor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/public/javascripts/ckeditor/lang/es.js +6 -0
- data/public/javascripts/ckeditor/lang/et.js +6 -0
- data/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/public/javascripts/ckeditor/lang/he.js +6 -0
- data/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/public/javascripts/ckeditor/lang/is.js +6 -0
- data/public/javascripts/ckeditor/lang/it.js +6 -0
- data/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/public/javascripts/ckeditor/lang/km.js +6 -0
- data/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/public/javascripts/ckeditor/lang/no.js +6 -0
- data/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/public/javascripts/ckeditor/lang/th.js +6 -0
- data/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +6 -0
- data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/public/javascripts/{fckeditor/editor → ckeditor/plugins/link}/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/public/javascripts/{fckeditor/editor/css/images/fck_pagebreak.gif → ckeditor/plugins/pagebreak/images/pagebreak.gif} +0 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_address.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_blockquote.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_div.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h1.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h2.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h3.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h4.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h5.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h6.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_p.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template1.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template2.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/{fckeditor/editor/skins/silver/images/toolbar.start.gif → ckeditor/skins/kama/images/toolbar_start.gif} +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/public/javascripts/controls.js +72 -72
- data/public/javascripts/dragdrop.js +165 -164
- data/public/javascripts/effects.js +173 -165
- data/public/javascripts/lang/nl_NL.js +21 -0
- data/public/javascripts/lang/zh_TW.js +17 -0
- data/public/javascripts/lightbox.js +470 -175
- data/public/stylesheets/administration.css +404 -656
- data/public/stylesheets/border-radius-ie8.htc +34 -0
- data/public/stylesheets/lightbox.css +21 -56
- data/public/stylesheets/user-styles.css +4 -2
- data/script/autospec +1 -0
- data/script/spec +9 -3
- data/script/spec_server +5 -112
- data/spec/controllers/accounts_controller_spec.rb +30 -16
- data/spec/controllers/admin/blacklist_controller_spec.rb +7 -12
- data/spec/controllers/admin/cache_controller_spec.rb +0 -5
- data/spec/controllers/admin/categories_controller_spec.rb +11 -16
- data/spec/controllers/admin/content_controller_spec.rb +14 -19
- data/spec/controllers/admin/feedback_controller_spec.rb +12 -1
- data/spec/controllers/admin/pages_controller_spec.rb +20 -17
- data/spec/controllers/admin/profiles_controller_spec.rb +17 -8
- data/spec/controllers/admin/resources_controller_spec.rb +3 -14
- data/spec/controllers/admin/settings_controller_spec.rb +0 -5
- data/spec/controllers/admin/tags_controller_spec.rb +1 -7
- data/spec/controllers/admin/textfilters_controller_spec.rb +0 -5
- data/spec/controllers/admin/themes_controller_spec.rb +3 -3
- data/spec/controllers/admin/users_controller_spec.rb +59 -41
- data/spec/controllers/application_controller_spec.rb +18 -0
- data/spec/controllers/articles_controller_spec.rb +88 -39
- data/spec/controllers/authors_controller_spec.rb +42 -0
- data/spec/controllers/backend_controller_spec.rb +30 -35
- data/spec/controllers/categories_controller_spec.rb +20 -22
- data/spec/controllers/comments_controller_spec.rb +3 -3
- data/spec/controllers/previews_controller_spec.rb +28 -0
- data/spec/controllers/redirect_controller_spec.rb +36 -35
- data/spec/controllers/tags_controller_spec.rb +15 -10
- data/spec/controllers/textfilter_controller_spec.rb +11 -72
- data/spec/controllers/theme_controller_spec.rb +8 -12
- data/spec/controllers/xml_controller_spec.rb +59 -101
- data/spec/factories.rb +25 -0
- data/spec/models/article_closing_spec.rb +4 -4
- data/spec/models/article_spec.rb +119 -30
- data/spec/models/blacklist_pattern_spec.rb +1 -1
- data/spec/models/blog_spec.rb +0 -1
- data/spec/models/comment_spec.rb +0 -4
- data/spec/models/configuration_spec.rb +1 -1
- data/spec/models/content_state/feedback_states_spec.rb +4 -4
- data/spec/models/notification_spec.rb +2 -2
- data/spec/models/ping_pinger_spec.rb +3 -3
- data/spec/models/ping_spec.rb +34 -47
- data/spec/models/route_cache_spec.rb +2 -2
- data/spec/models/sidebar_spec.rb +2 -2
- data/spec/models/theme_spec.rb +4 -4
- data/spec/models/trigger_spec.rb +1 -0
- data/spec/models/user_spec.rb +92 -39
- data/spec/rcov.opts +2 -0
- data/spec/spec_helper.rb +92 -19
- data/spec/views/articles/index_spec.rb +2 -2
- data/spec/views/articles/read_spec.rb +16 -0
- data/spec/views/comments/html_sanitization_spec.rb +16 -0
- data/test/fixtures/contents.yml +28 -11
- data/test/fixtures/feedback.yml +14 -0
- data/test/fixtures/profiles.yml +1 -0
- data/test/fixtures/users.yml +9 -1
- data/test/test_helper.rb +2 -151
- data/themes/dirtylicious/layouts/default.html.erb +1 -1
- data/themes/dirtylicious/views/articles/_article.html.erb +14 -10
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +1 -1
- data/themes/dirtylicious/views/articles/read.html.erb +4 -4
- data/themes/scribbish/layouts/default.html.erb +1 -1
- data/themes/scribbish/views/articles/_article.html.erb +13 -9
- data/themes/scribbish/views/articles/_comment_form.html.erb +1 -1
- data/themes/scribbish/views/articles/read.html.erb +4 -4
- data/themes/standard_issue/layouts/default.html.erb +1 -1
- data/themes/standard_issue/views/articles/_article.html.erb +13 -9
- data/themes/standard_issue/views/articles/_comment_form.html.erb +1 -1
- data/themes/standard_issue/views/articles/read.html.erb +4 -4
- data/themes/true-blue-3/README +3 -0
- data/themes/true-blue-3/about.markdown +3 -0
- data/themes/true-blue-3/helpers/theme_helper.rb +85 -0
- data/themes/true-blue-3/images/background.gif +0 -0
- data/themes/true-blue-3/images/bg_input.jpg +0 -0
- data/themes/true-blue-3/images/bullet.jpg +0 -0
- data/themes/true-blue-3/images/comment.gif +0 -0
- data/themes/true-blue-3/images/comment.jpg +0 -0
- data/themes/true-blue-3/images/comment_bottom.gif +0 -0
- data/themes/true-blue-3/images/comment_fdv.gif +0 -0
- data/themes/true-blue-3/images/find.png +0 -0
- data/themes/true-blue-3/images/fleche1.png +0 -0
- data/themes/true-blue-3/images/fleche2.png +0 -0
- data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
- data/themes/true-blue-3/images/rss.png +0 -0
- data/themes/true-blue-3/images/searchform.png +0 -0
- data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
- data/themes/true-blue-3/images/twitter.jpg +0 -0
- data/themes/true-blue-3/images/twitter.png +0 -0
- data/themes/true-blue-3/layouts/default.html.erb +52 -0
- data/themes/true-blue-3/preview.png +0 -0
- data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
- data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
- data/themes/true-blue-3/stylesheets/style.css +555 -0
- data/themes/true-blue-3/views/articles/_article.html.erb +21 -0
- data/themes/true-blue-3/views/articles/_comment.html.erb +14 -0
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +23 -0
- data/themes/true-blue-3/views/articles/_comment_list.html.erb +8 -0
- data/themes/true-blue-3/views/articles/_trackback.html.erb +9 -0
- data/themes/true-blue-3/views/articles/comment_preview.html.erb +10 -0
- data/themes/true-blue-3/views/articles/index.html.erb +5 -0
- data/themes/true-blue-3/views/articles/read.html.erb +38 -0
- data/themes/true-blue-3/views/articles/search.html.erb +29 -0
- data/themes/true-blue-3/views/articles/view_page.html.erb +4 -0
- data/themes/true-blue-3/views/categories/_article.html.erb +22 -0
- data/themes/true-blue-3/views/categories/index.html.erb +13 -0
- data/themes/true-blue-3/views/categories/show.html.erb +7 -0
- data/themes/true-blue-3/views/tags/_article.html.erb +22 -0
- data/themes/true-blue-3/views/tags/show.html.erb +6 -0
- data/themes/typographic/layouts/default.html.erb +1 -1
- data/themes/typographic/views/articles/_article.html.erb +13 -9
- data/themes/typographic/views/articles/_comment_form.html.erb +1 -1
- data/themes/typographic/views/articles/_comment_list.html.erb +1 -1
- data/themes/typographic/views/articles/read.html.erb +4 -4
- data/vendor/flickr/flickr.rb +3 -3
- data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/authors_sidebar/Rakefile +22 -0
- data/vendor/plugins/authors_sidebar/init.rb +4 -0
- data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +10 -0
- data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +8 -0
- data/vendor/plugins/authors_sidebar/views/content.rhtml +11 -0
- data/vendor/plugins/category_sidebar/views/content.rhtml +2 -2
- data/vendor/plugins/easy-ckeditor/CHANGELOG +15 -0
- data/vendor/plugins/easy-ckeditor/LICENSE +16 -0
- data/vendor/plugins/easy-ckeditor/README.textile +164 -0
- data/vendor/plugins/easy-ckeditor/Rakefile +72 -0
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +225 -0
- data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +2 -0
- data/vendor/plugins/easy-ckeditor/init.rb +33 -0
- data/vendor/plugins/easy-ckeditor/install.rb +12 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +113 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +108 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +16 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +24 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +35 -0
- data/{public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/{public/javascripts/fckeditor/editor/css/images/fck_anchor.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/vendor/plugins/easy-ckeditor/tasks/ckeditor_tasks.rake +108 -0
- data/vendor/plugins/easy-ckeditor/uninstall.rb +8 -0
- data/vendor/plugins/livesearch_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +1 -1
- data/vendor/plugins/typo_converter/Rakefile +7 -8
- data/vendor/plugins/typo_converter/db/wp25_schema.rb +152 -0
- data/vendor/plugins/typo_converter/lib/converters/base.rb +41 -2
- data/vendor/plugins/typo_converter/lib/converters/wp25.rb +59 -4
- data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +1 -0
- data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +11 -0
- data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +192 -0
- data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +77 -0
- data/vendor/plugins/typo_converter/spec/spec_helper.rb +19 -0
- data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +2 -0
- data/vendor/plugins/typo_converter/tasks/typo_converters_tasks.rake +1 -4
- data/vendor/plugins/typo_textfilter_code/init.rb +7 -2
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +2 -0
- data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +4 -2
- data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +1 -1
- data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +3 -0
- data/vendor/plugins/xml_sidebar/views/content.rhtml +15 -1
- metadata +684 -1280
- data/app/controllers/application.rb +0 -90
- data/app/models/simple_cache.rb +0 -37
- data/app/views/admin/resources/new.html.erb +0 -16
- data/app/views/admin/settings/read.html.erb +0 -35
- data/app/views/admin/tags/_tags.html.erb +0 -18
- data/app/views/shared/_loginform.html.erb +0 -20
- data/config/initializers/active_record_hacks.rb +0 -17
- data/config/initializers/benchmark_hacks.rb +0 -9
- data/doc/typo-5.3-release-notes.txt +0 -105
- data/lib/memory_profiler.rb +0 -60
- data/lib/typo_deprecated.rb +0 -30
- data/lib/xmlrpc_fix.rb +0 -13
- data/public/javascripts/fckcustom.js +0 -28
- data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -214
- data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -119
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -58
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -918
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -104
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -199
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -327
- data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -362
- data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -89
- data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -667
- data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -71
- data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +0 -142
- data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -68
- data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -141
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -153
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -54
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -161
- data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -385
- data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -376
- data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -1443
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -36
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -38
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -81
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -198
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -139
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -98
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -76
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -146
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -200
- data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -451
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -108
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -102
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -88
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -518
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -250
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -180
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -173
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -382
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -45
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -74
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -41
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -69
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -60
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -106
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -201
- data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -176
- data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -166
- data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -122
- data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -1175
- data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -325
- data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -456
- data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -453
- data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -100
- data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -167
- data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -238
- data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -234
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -48
- data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -249
- data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -1024
- data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -163
- data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -152
- data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -63
- data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -99
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -42
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -220
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -275
- data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -381
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -858
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -123
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -399
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -740
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -233
- data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -223
- data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -515
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -101
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -203
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -354
- data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -15
- data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -36
- data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -92
- data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -199
- data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -49
- 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_plugin.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -85
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -338
- 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 -161
- 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_about/sponsors/spellchecker_net.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -212
- data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -172
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -600
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -113
- data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -173
- data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -152
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -292
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -50
- data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -109
- data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -115
- data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -258
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -504
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -72
- data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -293
- data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -736
- data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -120
- data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -339
- data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -530
- data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -180
- data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -194
- data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -111
- data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -68
- data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -121
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -65
- 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 -87
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -153
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -148
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -199
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -181
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -461
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -71
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -49
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -272
- data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -298
- data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -257
- data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -242
- data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -94
- data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -136
- data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -41
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -116
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -140
- data/public/javascripts/fckeditor/editor/fckdebug.html +0 -153
- data/public/javascripts/fckeditor/editor/fckdialog.html +0 -783
- data/public/javascripts/fckeditor/editor/fckeditor.html +0 -278
- data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -385
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -89
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -99
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -113
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -197
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -168
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -65
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -115
- 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 -87
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -129
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -63
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -214
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -136
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -141
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -117
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -686
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -68
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -146
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -118
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -90
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -142
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -126
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -23
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -88
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -58
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -188
- data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -210
- data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -192
- 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/js/fckadobeair.js +0 -176
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -108
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -109
- data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -77
- data/public/javascripts/fckeditor/editor/lang/af.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ar.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bg.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/cs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/da.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/de.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/el.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/es.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/et.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eu.js +0 -516
- data/public/javascripts/fckeditor/editor/lang/fa.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/gl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/he.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hu.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/it.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ja.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/km.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ko.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/mn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ms.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nb.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/no.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ro.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ru.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/th.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/tr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/vi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh.js +0 -515
- data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -99
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -26
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -67
- data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -123
- data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -527
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -105
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -187
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/es.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -29
- data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -33
- data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -121
- data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -402
- data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -473
- 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.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/fckconfig.js +0 -316
- data/public/javascripts/fckeditor/fckeditor.js +0 -303
- data/public/javascripts/fckeditor/fckeditor.py +0 -160
- data/public/javascripts/fckeditor/fckpackager.xml +0 -262
- data/public/javascripts/fckeditor/fckstyles.xml +0 -111
- data/public/javascripts/fckeditor/fcktemplates.xml +0 -103
- data/public/javascripts/fckeditor/license.txt +0 -1246
- data/public/sources/javascripts/administration.js +0 -12
- data/public/sources/javascripts/application.js +0 -2
- data/public/sources/javascripts/codecollapse.js +0 -8
- data/public/sources/javascripts/controls.js +0 -963
- data/public/sources/javascripts/cookies.js +0 -60
- data/public/sources/javascripts/dragdrop.js +0 -972
- data/public/sources/javascripts/effects.js +0 -1120
- data/public/sources/javascripts/fckcustom.js +0 -28
- data/public/sources/javascripts/lang/default.js +0 -21
- data/public/sources/javascripts/lang/en_US.js +0 -21
- data/public/sources/javascripts/lang/fr_FR.js +0 -21
- data/public/sources/javascripts/lightbox.js +0 -202
- data/public/sources/javascripts/prototype.js +0 -4320
- data/public/sources/javascripts/quicktags.js +0 -511
- data/public/sources/javascripts/scriptaculous.js +0 -58
- data/public/sources/javascripts/slider.js +0 -258
- data/public/sources/javascripts/typo.js +0 -136
- data/public/sources/stylesheets/administration.css +0 -955
- data/public/sources/stylesheets/administration_rtl.css +0 -1026
- data/public/sources/stylesheets/codecollapse.css +0 -3
- data/public/sources/stylesheets/coderay.css +0 -126
- data/public/sources/stylesheets/lightbox.css +0 -62
- data/public/sources/stylesheets/rss.css +0 -54
- data/public/sources/stylesheets/textmate/dawn.css +0 -209
- data/public/sources/stylesheets/textmate/iplastic.css +0 -142
- data/public/sources/stylesheets/textmate/space_cadet.css +0 -99
- data/public/sources/stylesheets/textmate/textmate.css +0 -48
- data/public/sources/stylesheets/textmate/twilight.css +0 -227
- data/public/sources/stylesheets/user-styles.css +0 -22
- data/spec/controllers/admin/article_preview_spec.rb +0 -20
- data/spec/models/typo_deprecated_spec.rb +0 -18
- data/vendor/actionwebservice/CHANGELOG +0 -320
- data/vendor/actionwebservice/MIT-LICENSE +0 -21
- data/vendor/actionwebservice/README +0 -381
- data/vendor/actionwebservice/Rakefile +0 -173
- data/vendor/actionwebservice/TODO +0 -32
- data/vendor/actionwebservice/examples/googlesearch/README +0 -143
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
- data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
- data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
- data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
- data/vendor/actionwebservice/examples/metaWeblog/README +0 -17
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
- data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
- data/vendor/actionwebservice/generators/web_service/USAGE +0 -28
- data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +0 -5
- data/vendor/actionwebservice/generators/web_service/templates/controller.rb +0 -8
- data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +0 -19
- data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +0 -29
- data/vendor/actionwebservice/lib/action_web_service.rb +0 -66
- data/vendor/actionwebservice/lib/action_web_service/api.rb +0 -297
- data/vendor/actionwebservice/lib/action_web_service/base.rb +0 -38
- data/vendor/actionwebservice/lib/action_web_service/casting.rb +0 -144
- data/vendor/actionwebservice/lib/action_web_service/client.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/client/base.rb +0 -28
- data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
- data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
- data/vendor/actionwebservice/lib/action_web_service/container.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
- data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
- data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
- data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
- data/vendor/actionwebservice/lib/action_web_service/invocation.rb +0 -202
- data/vendor/actionwebservice/lib/action_web_service/protocol.rb +0 -4
- data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
- data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -242
- data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
- data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +0 -281
- data/vendor/actionwebservice/lib/action_web_service/struct.rb +0 -64
- data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
- data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.html.erb +0 -65
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.html.erb +0 -6
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.html.erb +0 -29
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.html.erb +0 -30
- data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
- data/vendor/actionwebservice/lib/action_web_service/version.rb +0 -9
- data/vendor/actionwebservice/lib/actionwebservice.rb +0 -1
- data/vendor/actionwebservice/setup.rb +0 -1379
- data/vendor/actionwebservice/test/abstract_client.rb +0 -183
- data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -547
- data/vendor/actionwebservice/test/abstract_unit.rb +0 -33
- data/vendor/actionwebservice/test/api_test.rb +0 -102
- data/vendor/actionwebservice/test/apis/auto_load_api.rb +0 -3
- data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
- data/vendor/actionwebservice/test/base_test.rb +0 -42
- data/vendor/actionwebservice/test/casting_test.rb +0 -86
- data/vendor/actionwebservice/test/client_soap_test.rb +0 -155
- data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -153
- data/vendor/actionwebservice/test/container_test.rb +0 -73
- data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
- data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
- data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
- data/vendor/actionwebservice/test/fixtures/users.yml +0 -12
- data/vendor/actionwebservice/test/gencov +0 -3
- data/vendor/actionwebservice/test/invocation_test.rb +0 -185
- data/vendor/actionwebservice/test/run +0 -6
- data/vendor/actionwebservice/test/scaffolded_controller_test.rb +0 -146
- data/vendor/actionwebservice/test/struct_test.rb +0 -52
- data/vendor/actionwebservice/test/test_invoke_test.rb +0 -112
- data/vendor/bluecloth/CHANGES +0 -366
- data/vendor/bluecloth/LICENSE +0 -340
- data/vendor/bluecloth/README +0 -99
- data/vendor/bluecloth/bin/bluecloth +0 -83
- data/vendor/bluecloth/install.rb +0 -150
- data/vendor/bluecloth/lib/bluecloth.rb +0 -1144
- data/vendor/bluecloth/test.rb +0 -117
- data/vendor/bluecloth/tests/00_Class.tests.rb +0 -71
- data/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -1527
- data/vendor/bluecloth/tests/10_Bug.tests.rb +0 -57
- data/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -132
- data/vendor/bluecloth/tests/bctestcase.rb +0 -274
- data/vendor/bluecloth/tests/data/antsugar.txt +0 -34
- data/vendor/bluecloth/tests/data/ml-announce.txt +0 -17
- data/vendor/bluecloth/tests/data/re-overflow.txt +0 -67
- data/vendor/bluecloth/tests/data/re-overflow2.txt +0 -281
- data/vendor/bluecloth/utils.rb +0 -553
- data/vendor/cached_model/History.txt +0 -30
- data/vendor/cached_model/LICENSE.txt +0 -30
- data/vendor/cached_model/Manifest.txt +0 -7
- data/vendor/cached_model/README.txt +0 -96
- data/vendor/cached_model/Rakefile +0 -25
- data/vendor/cached_model/lib/cached_model.rb +0 -287
- data/vendor/cached_model/test/test_cached_model.rb +0 -593
- data/vendor/gems/calendar_date_select-1.15/.specification +0 -56
- data/vendor/gems/calendar_date_select-1.15/History.txt +0 -237
- data/vendor/gems/calendar_date_select-1.15/MIT-LICENSE +0 -20
- data/vendor/gems/calendar_date_select-1.15/Manifest.txt +0 -42
- data/vendor/gems/calendar_date_select-1.15/Rakefile +0 -31
- data/vendor/gems/calendar_date_select-1.15/Readme.txt +0 -16
- data/vendor/gems/calendar_date_select-1.15/init.rb +0 -1
- data/vendor/gems/calendar_date_select-1.15/js_test/functional/cds_test.html +0 -334
- data/vendor/gems/calendar_date_select-1.15/js_test/prototype.js +0 -4184
- data/vendor/gems/calendar_date_select-1.15/js_test/test.css +0 -40
- data/vendor/gems/calendar_date_select-1.15/js_test/unit/cds_helper_methods.html +0 -46
- data/vendor/gems/calendar_date_select-1.15/js_test/unittest.js +0 -564
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select.rb +0 -33
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/calendar_date_select.rb +0 -116
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/form_helpers.rb +0 -225
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/includes_helper.rb +0 -29
- data/vendor/gems/calendar_date_select-1.15/public/blank_iframe.html +0 -2
- data/vendor/gems/calendar_date_select-1.15/public/images/calendar_date_select/calendar.gif +0 -0
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_finnish.js +0 -32
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/de.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fr.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pl.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pt.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/ru.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/default.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/red.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/calendar_date_select_spec.rb +0 -14
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/form_helpers_spec.rb +0 -166
- data/vendor/gems/calendar_date_select-1.15/spec/spec_helper.rb +0 -26
- data/vendor/gems/coderay-0.8.260/.specification +0 -115
- data/vendor/gems/coderay-0.8.260/FOLDERS +0 -53
- data/vendor/gems/coderay-0.8.260/LICENSE +0 -504
- data/vendor/gems/coderay-0.8.260/README +0 -128
- data/vendor/gems/coderay-0.8.260/bin/coderay +0 -82
- data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +0 -4
- data/vendor/gems/coderay-0.8.260/lib/coderay.rb +0 -321
- data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +0 -87
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +0 -182
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +0 -9
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +0 -49
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +0 -287
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +0 -124
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +0 -197
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +0 -26
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +0 -77
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +0 -32
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +0 -44
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +0 -22
- data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +0 -72
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +0 -211
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +0 -333
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +0 -255
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +0 -15
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +0 -165
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +0 -181
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +0 -61
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +0 -150
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +0 -104
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +0 -177
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +0 -179
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +0 -419
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +0 -187
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +0 -106
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +0 -134
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +0 -18
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +0 -73
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +0 -381
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +0 -226
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +0 -142
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +0 -143
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +0 -154
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +0 -19
- data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +0 -7
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +0 -146
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +0 -132
- data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +0 -82
- data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +0 -387
- data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +0 -220
- data/vendor/gems/htmlentities-4.0.0/.specification +0 -68
- data/vendor/gems/htmlentities-4.0.0/COPYING.txt +0 -21
- data/vendor/gems/htmlentities-4.0.0/History.txt +0 -47
- data/vendor/gems/htmlentities-4.0.0/README.txt +0 -44
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities.rb +0 -165
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/html4.rb +0 -257
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb +0 -27
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/string.rb +0 -26
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/xhtml1.rb +0 -258
- data/vendor/gems/htmlentities-4.0.0/test/entities_test.rb +0 -206
- data/vendor/gems/htmlentities-4.0.0/test/html4_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/legacy_test.rb +0 -34
- data/vendor/gems/htmlentities-4.0.0/test/roundtrip_test.rb +0 -94
- data/vendor/gems/htmlentities-4.0.0/test/string_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/test_all.rb +0 -3
- data/vendor/gems/htmlentities-4.0.0/test/xhtml1_test.rb +0 -23
- data/vendor/gems/json-1.1.3/.require_paths +0 -4
- data/vendor/gems/json-1.1.3/.specification +0 -58
- data/vendor/gems/json-1.1.3/CHANGES +0 -93
- data/vendor/gems/json-1.1.3/GPL +0 -340
- data/vendor/gems/json-1.1.3/README +0 -78
- data/vendor/gems/json-1.1.3/RUBY +0 -58
- data/vendor/gems/json-1.1.3/Rakefile +0 -309
- data/vendor/gems/json-1.1.3/TODO +0 -1
- data/vendor/gems/json-1.1.3/VERSION +0 -1
- data/vendor/gems/json-1.1.3/benchmarks/benchmark.txt +0 -133
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_generator.rb +0 -48
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_parser.rb +0 -26
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_rails.rb +0 -26
- data/vendor/gems/json-1.1.3/bin/edit_json.rb +0 -10
- data/vendor/gems/json-1.1.3/bin/prettify_json.rb +0 -76
- data/vendor/gems/json-1.1.3/data/example.json +0 -1
- data/vendor/gems/json-1.1.3/data/index.html +0 -38
- data/vendor/gems/json-1.1.3/data/prototype.js +0 -4184
- data/vendor/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.c +0 -875
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.c +0 -182
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.h +0 -53
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.c +0 -1758
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.rl +0 -638
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.c +0 -154
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.h +0 -58
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/install.rb +0 -26
- data/vendor/gems/json-1.1.3/lib/json.rb +0 -235
- data/vendor/gems/json-1.1.3/lib/json/Array.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/FalseClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Hash.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Key.xpm +0 -73
- data/vendor/gems/json-1.1.3/lib/json/NilClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Numeric.xpm +0 -28
- data/vendor/gems/json-1.1.3/lib/json/String.xpm +0 -96
- data/vendor/gems/json-1.1.3/lib/json/TrueClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/add/core.rb +0 -135
- data/vendor/gems/json-1.1.3/lib/json/add/rails.rb +0 -58
- data/vendor/gems/json-1.1.3/lib/json/common.rb +0 -354
- data/vendor/gems/json-1.1.3/lib/json/editor.rb +0 -1362
- data/vendor/gems/json-1.1.3/lib/json/ext.rb +0 -13
- data/vendor/gems/json-1.1.3/lib/json/json.xpm +0 -1499
- data/vendor/gems/json-1.1.3/lib/json/pure.rb +0 -75
- data/vendor/gems/json-1.1.3/lib/json/pure/generator.rb +0 -394
- data/vendor/gems/json-1.1.3/lib/json/pure/parser.rb +0 -259
- data/vendor/gems/json-1.1.3/lib/json/version.rb +0 -9
- data/vendor/gems/json-1.1.3/tests/fixtures/fail1.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail10.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail11.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail12.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail13.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail14.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail18.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail19.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail20.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail21.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail22.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail23.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail24.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail25.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail27.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail28.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail3.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail4.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail5.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail6.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail7.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail8.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail9.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass1.json +0 -56
- data/vendor/gems/json-1.1.3/tests/fixtures/pass15.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass16.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass17.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass26.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass3.json +0 -6
- data/vendor/gems/json-1.1.3/tests/runner.rb +0 -25
- data/vendor/gems/json-1.1.3/tests/test_json.rb +0 -293
- data/vendor/gems/json-1.1.3/tests/test_json_addition.rb +0 -161
- data/vendor/gems/json-1.1.3/tests/test_json_fixtures.rb +0 -30
- data/vendor/gems/json-1.1.3/tests/test_json_generate.rb +0 -100
- data/vendor/gems/json-1.1.3/tests/test_json_rails.rb +0 -118
- data/vendor/gems/json-1.1.3/tests/test_json_unicode.rb +0 -61
- data/vendor/gems/json-1.1.3/tools/fuzz.rb +0 -140
- data/vendor/gems/json-1.1.3/tools/server.rb +0 -62
- data/vendor/memcache-client/History.txt +0 -25
- data/vendor/memcache-client/LICENSE.txt +0 -30
- data/vendor/memcache-client/Manifest.txt +0 -8
- data/vendor/memcache-client/README.txt +0 -46
- data/vendor/memcache-client/Rakefile +0 -23
- data/vendor/memcache-client/lib/memcache.rb +0 -490
- data/vendor/memcache-client/lib/memcache_util.rb +0 -71
- data/vendor/memcache-client/test/test_mem_cache.rb +0 -284
- data/vendor/plugins/datestamped_resources/README +0 -4
- data/vendor/plugins/datestamped_resources/Rakefile +0 -22
- data/vendor/plugins/datestamped_resources/init.rb +0 -2
- data/vendor/plugins/datestamped_resources/install.rb +0 -1
- data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +0 -203
- data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +0 -4
- data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +0 -8
- data/vendor/plugins/datestamped_resources/uninstall.rb +0 -1
- data/vendor/plugins/fckeditor/CHANGELOG +0 -3
- data/vendor/plugins/fckeditor/README +0 -118
- data/vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb +0 -159
- data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +0 -2
- data/vendor/plugins/fckeditor/app/views/fckeditor/spell_check.rhtml +0 -52
- data/vendor/plugins/fckeditor/init.rb +0 -35
- data/vendor/plugins/fckeditor/install.rb +0 -12
- data/vendor/plugins/fckeditor/lib/fckeditor.rb +0 -101
- data/vendor/plugins/fckeditor/lib/fckeditor_file_utils.rb +0 -81
- data/vendor/plugins/fckeditor/lib/fckeditor_spell_check.rb +0 -43
- data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +0 -9
- data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +0 -97
- data/vendor/plugins/fckeditor/test/fckeditor_test.rb +0 -8
- data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -110
- data/vendor/plugins/will_paginate/LICENSE +0 -18
- data/vendor/plugins/will_paginate/README.rdoc +0 -107
- data/vendor/plugins/will_paginate/Rakefile +0 -62
- data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
- data/vendor/plugins/will_paginate/examples/index.haml +0 -69
- data/vendor/plugins/will_paginate/examples/index.html +0 -92
- data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
- data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
- data/vendor/plugins/will_paginate/init.rb +0 -1
- data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -82
- data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
- data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
- data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -32
- data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -260
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
- data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
- data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -383
- data/vendor/plugins/will_paginate/test/boot.rb +0 -21
- data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
- data/vendor/plugins/will_paginate/test/console +0 -8
- data/vendor/plugins/will_paginate/test/database.yml +0 -22
- data/vendor/plugins/will_paginate/test/finder_test.rb +0 -476
- data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
- data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
- data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
- data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
- data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
- data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
- data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
- data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
- data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
- data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
- data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
- data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
- data/vendor/plugins/will_paginate/test/helper.rb +0 -37
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -36
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -73
- data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
- data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -165
- data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
- data/vendor/plugins/will_paginate/test/view_test.rb +0 -363
- data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -22
- data/vendor/redcloth/RedCloth.gemspec +0 -52
- data/vendor/redcloth/bin/redcloth +0 -3
- data/vendor/redcloth/doc/CHANGELOG +0 -160
- data/vendor/redcloth/doc/COPYING +0 -25
- data/vendor/redcloth/doc/README +0 -106
- data/vendor/redcloth/doc/REFERENCE +0 -216
- data/vendor/redcloth/doc/make.rb +0 -359
- data/vendor/redcloth/install.rb +0 -1032
- data/vendor/redcloth/lib/redcloth.rb +0 -1130
- data/vendor/redcloth/run-tests.rb +0 -28
- data/vendor/redcloth/setup.rb +0 -1376
- data/vendor/redcloth/tests/code.yml +0 -105
- data/vendor/redcloth/tests/hard_breaks.yml +0 -26
- data/vendor/redcloth/tests/images.yml +0 -171
- data/vendor/redcloth/tests/instiki.yml +0 -39
- data/vendor/redcloth/tests/links.yml +0 -155
- data/vendor/redcloth/tests/lists.yml +0 -77
- data/vendor/redcloth/tests/markdown.yml +0 -218
- data/vendor/redcloth/tests/poignant.yml +0 -64
- data/vendor/redcloth/tests/table.yml +0 -198
- data/vendor/redcloth/tests/textism.yml +0 -406
- data/vendor/sparklines/README.txt +0 -47
- data/vendor/sparklines/USAGE +0 -14
- data/vendor/sparklines/lib/sparklines.rb +0 -435
- data/vendor/sparklines/samples/sparklinestest.rb +0 -26
- data/vendor/sparklines/sparklines_generator.rb +0 -9
- data/vendor/sparklines/templates/sparklines_controller.rb +0 -30
- data/vendor/sparklines/templates/sparklines_helper.rb +0 -30
|
@@ -1,1175 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
|
3
|
-
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
|
4
|
-
*
|
|
5
|
-
* == BEGIN LICENSE ==
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the terms of any of the following licenses at your
|
|
8
|
-
* choice:
|
|
9
|
-
*
|
|
10
|
-
* - GNU General Public License Version 2 or later (the "GPL")
|
|
11
|
-
* http://www.gnu.org/licenses/gpl.html
|
|
12
|
-
*
|
|
13
|
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
|
14
|
-
* http://www.gnu.org/licenses/lgpl.html
|
|
15
|
-
*
|
|
16
|
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
|
17
|
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
|
18
|
-
*
|
|
19
|
-
* == END LICENSE ==
|
|
20
|
-
*
|
|
21
|
-
* Creation and initialization of the "FCK" object. This is the main object
|
|
22
|
-
* that represents an editor instance.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
// FCK represents the active editor instance.
|
|
26
|
-
var FCK =
|
|
27
|
-
{
|
|
28
|
-
Name : FCKURLParams[ 'InstanceName' ],
|
|
29
|
-
Status : FCK_STATUS_NOTLOADED,
|
|
30
|
-
EditMode : FCK_EDITMODE_WYSIWYG,
|
|
31
|
-
Toolbar : null,
|
|
32
|
-
HasFocus : false,
|
|
33
|
-
DataProcessor : new FCKDataProcessor(),
|
|
34
|
-
|
|
35
|
-
GetInstanceObject : (function()
|
|
36
|
-
{
|
|
37
|
-
var w = window ;
|
|
38
|
-
return function( name )
|
|
39
|
-
{
|
|
40
|
-
return w[name] ;
|
|
41
|
-
}
|
|
42
|
-
})(),
|
|
43
|
-
|
|
44
|
-
AttachToOnSelectionChange : function( functionPointer )
|
|
45
|
-
{
|
|
46
|
-
this.Events.AttachEvent( 'OnSelectionChange', functionPointer ) ;
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
GetLinkedFieldValue : function()
|
|
50
|
-
{
|
|
51
|
-
return this.LinkedField.value ;
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
GetParentForm : function()
|
|
55
|
-
{
|
|
56
|
-
return this.LinkedField.form ;
|
|
57
|
-
} ,
|
|
58
|
-
|
|
59
|
-
// # START : IsDirty implementation
|
|
60
|
-
|
|
61
|
-
StartupValue : '',
|
|
62
|
-
|
|
63
|
-
IsDirty : function()
|
|
64
|
-
{
|
|
65
|
-
if ( this.EditMode == FCK_EDITMODE_SOURCE )
|
|
66
|
-
return ( this.StartupValue != this.EditingArea.Textarea.value ) ;
|
|
67
|
-
else
|
|
68
|
-
{
|
|
69
|
-
// It can happen switching between design and source mode in Gecko
|
|
70
|
-
if ( ! this.EditorDocument )
|
|
71
|
-
return false ;
|
|
72
|
-
|
|
73
|
-
return ( this.StartupValue != this.EditorDocument.body.innerHTML ) ;
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
ResetIsDirty : function()
|
|
78
|
-
{
|
|
79
|
-
if ( this.EditMode == FCK_EDITMODE_SOURCE )
|
|
80
|
-
this.StartupValue = this.EditingArea.Textarea.value ;
|
|
81
|
-
else if ( this.EditorDocument.body )
|
|
82
|
-
this.StartupValue = this.EditorDocument.body.innerHTML ;
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
// # END : IsDirty implementation
|
|
86
|
-
|
|
87
|
-
StartEditor : function()
|
|
88
|
-
{
|
|
89
|
-
this.TempBaseTag = FCKConfig.BaseHref.length > 0 ? '<base href="' + FCKConfig.BaseHref + '" _fcktemp="true"></base>' : '' ;
|
|
90
|
-
|
|
91
|
-
// Setup the keystroke handler.
|
|
92
|
-
var oKeystrokeHandler = FCK.KeystrokeHandler = new FCKKeystrokeHandler() ;
|
|
93
|
-
oKeystrokeHandler.OnKeystroke = _FCK_KeystrokeHandler_OnKeystroke ;
|
|
94
|
-
|
|
95
|
-
// Set the config keystrokes.
|
|
96
|
-
oKeystrokeHandler.SetKeystrokes( FCKConfig.Keystrokes ) ;
|
|
97
|
-
|
|
98
|
-
// In IE7, if the editor tries to access the clipboard by code, a dialog is
|
|
99
|
-
// shown to the user asking if the application is allowed to access or not.
|
|
100
|
-
// Due to the IE implementation of it, the KeystrokeHandler will not work
|
|
101
|
-
//well in this case, so we must leave the pasting keys to have their default behavior.
|
|
102
|
-
if ( FCKBrowserInfo.IsIE7 )
|
|
103
|
-
{
|
|
104
|
-
if ( ( CTRL + 86 /*V*/ ) in oKeystrokeHandler.Keystrokes )
|
|
105
|
-
oKeystrokeHandler.SetKeystrokes( [ CTRL + 86, true ] ) ;
|
|
106
|
-
|
|
107
|
-
if ( ( SHIFT + 45 /*INS*/ ) in oKeystrokeHandler.Keystrokes )
|
|
108
|
-
oKeystrokeHandler.SetKeystrokes( [ SHIFT + 45, true ] ) ;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Retain default behavior for Ctrl-Backspace. (Bug #362)
|
|
112
|
-
oKeystrokeHandler.SetKeystrokes( [ CTRL + 8, true ] ) ;
|
|
113
|
-
|
|
114
|
-
this.EditingArea = new FCKEditingArea( document.getElementById( 'xEditingArea' ) ) ;
|
|
115
|
-
this.EditingArea.FFSpellChecker = FCKConfig.FirefoxSpellChecker ;
|
|
116
|
-
|
|
117
|
-
// Set the editor's startup contents.
|
|
118
|
-
this.SetData( this.GetLinkedFieldValue(), true ) ;
|
|
119
|
-
|
|
120
|
-
// Tab key handling for source mode.
|
|
121
|
-
FCKTools.AddEventListener( document, "keydown", this._TabKeyHandler ) ;
|
|
122
|
-
|
|
123
|
-
// Add selection change listeners. They must be attached only once.
|
|
124
|
-
this.AttachToOnSelectionChange( _FCK_PaddingNodeListener ) ;
|
|
125
|
-
if ( FCKBrowserInfo.IsGecko )
|
|
126
|
-
this.AttachToOnSelectionChange( this._ExecCheckEmptyBlock ) ;
|
|
127
|
-
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
Focus : function()
|
|
131
|
-
{
|
|
132
|
-
FCK.EditingArea.Focus() ;
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
SetStatus : function( newStatus )
|
|
136
|
-
{
|
|
137
|
-
this.Status = newStatus ;
|
|
138
|
-
|
|
139
|
-
if ( newStatus == FCK_STATUS_ACTIVE )
|
|
140
|
-
{
|
|
141
|
-
FCKFocusManager.AddWindow( window, true ) ;
|
|
142
|
-
|
|
143
|
-
if ( FCKBrowserInfo.IsIE )
|
|
144
|
-
FCKFocusManager.AddWindow( window.frameElement, true ) ;
|
|
145
|
-
|
|
146
|
-
// Force the focus in the editor.
|
|
147
|
-
if ( FCKConfig.StartupFocus )
|
|
148
|
-
FCK.Focus() ;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
this.Events.FireEvent( 'OnStatusChange', newStatus ) ;
|
|
152
|
-
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
// Fixes the body by moving all inline and text nodes to appropriate block
|
|
156
|
-
// elements.
|
|
157
|
-
FixBody : function()
|
|
158
|
-
{
|
|
159
|
-
var sBlockTag = FCKConfig.EnterMode ;
|
|
160
|
-
|
|
161
|
-
// In 'br' mode, no fix must be done.
|
|
162
|
-
if ( sBlockTag != 'p' && sBlockTag != 'div' )
|
|
163
|
-
return ;
|
|
164
|
-
|
|
165
|
-
var oDocument = this.EditorDocument ;
|
|
166
|
-
|
|
167
|
-
if ( !oDocument )
|
|
168
|
-
return ;
|
|
169
|
-
|
|
170
|
-
var oBody = oDocument.body ;
|
|
171
|
-
|
|
172
|
-
if ( !oBody )
|
|
173
|
-
return ;
|
|
174
|
-
|
|
175
|
-
FCKDomTools.TrimNode( oBody ) ;
|
|
176
|
-
|
|
177
|
-
var oNode = oBody.firstChild ;
|
|
178
|
-
var oNewBlock ;
|
|
179
|
-
|
|
180
|
-
while ( oNode )
|
|
181
|
-
{
|
|
182
|
-
var bMoveNode = false ;
|
|
183
|
-
|
|
184
|
-
switch ( oNode.nodeType )
|
|
185
|
-
{
|
|
186
|
-
// Element Node.
|
|
187
|
-
case 1 :
|
|
188
|
-
var nodeName = oNode.nodeName.toLowerCase() ;
|
|
189
|
-
if ( !FCKListsLib.BlockElements[ nodeName ] &&
|
|
190
|
-
nodeName != 'li' &&
|
|
191
|
-
!oNode.getAttribute('_fckfakelement') &&
|
|
192
|
-
oNode.getAttribute('_moz_dirty') == null )
|
|
193
|
-
bMoveNode = true ;
|
|
194
|
-
break ;
|
|
195
|
-
|
|
196
|
-
// Text Node.
|
|
197
|
-
case 3 :
|
|
198
|
-
// Ignore space only or empty text.
|
|
199
|
-
if ( oNewBlock || oNode.nodeValue.Trim().length > 0 )
|
|
200
|
-
bMoveNode = true ;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
if ( bMoveNode )
|
|
204
|
-
{
|
|
205
|
-
var oParent = oNode.parentNode ;
|
|
206
|
-
|
|
207
|
-
if ( !oNewBlock )
|
|
208
|
-
oNewBlock = oParent.insertBefore( oDocument.createElement( sBlockTag ), oNode ) ;
|
|
209
|
-
|
|
210
|
-
oNewBlock.appendChild( oParent.removeChild( oNode ) ) ;
|
|
211
|
-
|
|
212
|
-
oNode = oNewBlock.nextSibling ;
|
|
213
|
-
}
|
|
214
|
-
else
|
|
215
|
-
{
|
|
216
|
-
if ( oNewBlock )
|
|
217
|
-
{
|
|
218
|
-
FCKDomTools.TrimNode( oNewBlock ) ;
|
|
219
|
-
oNewBlock = null ;
|
|
220
|
-
}
|
|
221
|
-
oNode = oNode.nextSibling ;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
if ( oNewBlock )
|
|
226
|
-
FCKDomTools.TrimNode( oNewBlock ) ;
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
GetData : function( format )
|
|
230
|
-
{
|
|
231
|
-
// We assume that if the user is in source editing, the editor value must
|
|
232
|
-
// represent the exact contents of the source, as the user wanted it to be.
|
|
233
|
-
if ( FCK.EditMode == FCK_EDITMODE_SOURCE )
|
|
234
|
-
return FCK.EditingArea.Textarea.value ;
|
|
235
|
-
|
|
236
|
-
this.FixBody() ;
|
|
237
|
-
|
|
238
|
-
var oDoc = FCK.EditorDocument ;
|
|
239
|
-
if ( !oDoc )
|
|
240
|
-
return null ;
|
|
241
|
-
|
|
242
|
-
var isFullPage = FCKConfig.FullPage ;
|
|
243
|
-
|
|
244
|
-
// Call the Data Processor to generate the output data.
|
|
245
|
-
var data = FCK.DataProcessor.ConvertToDataFormat(
|
|
246
|
-
isFullPage ? oDoc.documentElement : oDoc.body,
|
|
247
|
-
!isFullPage,
|
|
248
|
-
FCKConfig.IgnoreEmptyParagraphValue,
|
|
249
|
-
format ) ;
|
|
250
|
-
|
|
251
|
-
// Restore protected attributes.
|
|
252
|
-
data = FCK.ProtectEventsRestore( data ) ;
|
|
253
|
-
|
|
254
|
-
if ( FCKBrowserInfo.IsIE )
|
|
255
|
-
data = data.replace( FCKRegexLib.ToReplace, '$1' ) ;
|
|
256
|
-
|
|
257
|
-
if ( isFullPage )
|
|
258
|
-
{
|
|
259
|
-
if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 )
|
|
260
|
-
data = FCK.DocTypeDeclaration + '\n' + data ;
|
|
261
|
-
|
|
262
|
-
if ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 )
|
|
263
|
-
data = FCK.XmlDeclaration + '\n' + data ;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
return FCKConfig.ProtectedSource.Revert( data ) ;
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
UpdateLinkedField : function()
|
|
270
|
-
{
|
|
271
|
-
var value = FCK.GetXHTML( FCKConfig.FormatOutput ) ;
|
|
272
|
-
|
|
273
|
-
if ( FCKConfig.HtmlEncodeOutput )
|
|
274
|
-
value = FCKTools.HTMLEncode( value ) ;
|
|
275
|
-
|
|
276
|
-
FCK.LinkedField.value = value ;
|
|
277
|
-
FCK.Events.FireEvent( 'OnAfterLinkedFieldUpdate' ) ;
|
|
278
|
-
},
|
|
279
|
-
|
|
280
|
-
RegisteredDoubleClickHandlers : new Object(),
|
|
281
|
-
|
|
282
|
-
OnDoubleClick : function( element )
|
|
283
|
-
{
|
|
284
|
-
var oCalls = FCK.RegisteredDoubleClickHandlers[ element.tagName.toUpperCase() ] ;
|
|
285
|
-
|
|
286
|
-
if ( oCalls )
|
|
287
|
-
{
|
|
288
|
-
for ( var i = 0 ; i < oCalls.length ; i++ )
|
|
289
|
-
oCalls[ i ]( element ) ;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
// Generic handler for any element
|
|
293
|
-
oCalls = FCK.RegisteredDoubleClickHandlers[ '*' ] ;
|
|
294
|
-
|
|
295
|
-
if ( oCalls )
|
|
296
|
-
{
|
|
297
|
-
for ( var i = 0 ; i < oCalls.length ; i++ )
|
|
298
|
-
oCalls[ i ]( element ) ;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
},
|
|
302
|
-
|
|
303
|
-
// Register objects that can handle double click operations.
|
|
304
|
-
RegisterDoubleClickHandler : function( handlerFunction, tag )
|
|
305
|
-
{
|
|
306
|
-
var nodeName = tag || '*' ;
|
|
307
|
-
nodeName = nodeName.toUpperCase() ;
|
|
308
|
-
|
|
309
|
-
var aTargets ;
|
|
310
|
-
|
|
311
|
-
if ( !( aTargets = FCK.RegisteredDoubleClickHandlers[ nodeName ] ) )
|
|
312
|
-
FCK.RegisteredDoubleClickHandlers[ nodeName ] = [ handlerFunction ] ;
|
|
313
|
-
else
|
|
314
|
-
{
|
|
315
|
-
// Check that the event handler isn't already registered with the same listener
|
|
316
|
-
// It doesn't detect function pointers belonging to an object (at least in Gecko)
|
|
317
|
-
if ( aTargets.IndexOf( handlerFunction ) == -1 )
|
|
318
|
-
aTargets.push( handlerFunction ) ;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
},
|
|
322
|
-
|
|
323
|
-
OnAfterSetHTML : function()
|
|
324
|
-
{
|
|
325
|
-
FCKDocumentProcessor.Process( FCK.EditorDocument ) ;
|
|
326
|
-
FCKUndo.SaveUndoStep() ;
|
|
327
|
-
|
|
328
|
-
FCK.Events.FireEvent( 'OnSelectionChange' ) ;
|
|
329
|
-
FCK.Events.FireEvent( 'OnAfterSetHTML' ) ;
|
|
330
|
-
},
|
|
331
|
-
|
|
332
|
-
// Saves URLs on links and images on special attributes, so they don't change when
|
|
333
|
-
// moving around.
|
|
334
|
-
ProtectUrls : function( html )
|
|
335
|
-
{
|
|
336
|
-
// <A> href
|
|
337
|
-
html = html.replace( FCKRegexLib.ProtectUrlsA , '$& _fcksavedurl=$1' ) ;
|
|
338
|
-
|
|
339
|
-
// <IMG> src
|
|
340
|
-
html = html.replace( FCKRegexLib.ProtectUrlsImg , '$& _fcksavedurl=$1' ) ;
|
|
341
|
-
|
|
342
|
-
// <AREA> href
|
|
343
|
-
html = html.replace( FCKRegexLib.ProtectUrlsArea , '$& _fcksavedurl=$1' ) ;
|
|
344
|
-
|
|
345
|
-
return html ;
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
// Saves event attributes (like onclick) so they don't get executed while
|
|
349
|
-
// editing.
|
|
350
|
-
ProtectEvents : function( html )
|
|
351
|
-
{
|
|
352
|
-
return html.replace( FCKRegexLib.TagsWithEvent, _FCK_ProtectEvents_ReplaceTags ) ;
|
|
353
|
-
},
|
|
354
|
-
|
|
355
|
-
ProtectEventsRestore : function( html )
|
|
356
|
-
{
|
|
357
|
-
return html.replace( FCKRegexLib.ProtectedEvents, _FCK_ProtectEvents_RestoreEvents ) ;
|
|
358
|
-
},
|
|
359
|
-
|
|
360
|
-
ProtectTags : function( html )
|
|
361
|
-
{
|
|
362
|
-
var sTags = FCKConfig.ProtectedTags ;
|
|
363
|
-
|
|
364
|
-
// IE doesn't support <abbr> and it breaks it. Let's protect it.
|
|
365
|
-
if ( FCKBrowserInfo.IsIE )
|
|
366
|
-
sTags += sTags.length > 0 ? '|ABBR|XML|EMBED|OBJECT' : 'ABBR|XML|EMBED|OBJECT' ;
|
|
367
|
-
|
|
368
|
-
var oRegex ;
|
|
369
|
-
if ( sTags.length > 0 )
|
|
370
|
-
{
|
|
371
|
-
oRegex = new RegExp( '<(' + sTags + ')(?!\w|:)', 'gi' ) ;
|
|
372
|
-
html = html.replace( oRegex, '<FCK:$1' ) ;
|
|
373
|
-
|
|
374
|
-
oRegex = new RegExp( '<\/(' + sTags + ')>', 'gi' ) ;
|
|
375
|
-
html = html.replace( oRegex, '<\/FCK:$1>' ) ;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
// Protect some empty elements. We must do it separately because the
|
|
379
|
-
// original tag may not contain the closing slash, like <hr>:
|
|
380
|
-
// - <meta> tags get executed, so if you have a redirect meta, the
|
|
381
|
-
// content will move to the target page.
|
|
382
|
-
// - <hr> may destroy the document structure if not well
|
|
383
|
-
// positioned. The trick is protect it here and restore them in
|
|
384
|
-
// the FCKDocumentProcessor.
|
|
385
|
-
sTags = 'META' ;
|
|
386
|
-
if ( FCKBrowserInfo.IsIE )
|
|
387
|
-
sTags += '|HR' ;
|
|
388
|
-
|
|
389
|
-
oRegex = new RegExp( '<((' + sTags + ')(?=\\s|>|/)[\\s\\S]*?)/?>', 'gi' ) ;
|
|
390
|
-
html = html.replace( oRegex, '<FCK:$1 />' ) ;
|
|
391
|
-
|
|
392
|
-
return html ;
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
SetData : function( data, resetIsDirty )
|
|
396
|
-
{
|
|
397
|
-
this.EditingArea.Mode = FCK.EditMode ;
|
|
398
|
-
|
|
399
|
-
// If there was an onSelectionChange listener in IE we must remove it to avoid crashes #1498
|
|
400
|
-
if ( FCKBrowserInfo.IsIE && FCK.EditorDocument )
|
|
401
|
-
{
|
|
402
|
-
FCK.EditorDocument.detachEvent("onselectionchange", Doc_OnSelectionChange ) ;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
|
|
406
|
-
{
|
|
407
|
-
// Save the resetIsDirty for later use (async)
|
|
408
|
-
this._ForceResetIsDirty = ( resetIsDirty === true ) ;
|
|
409
|
-
|
|
410
|
-
// Protect parts of the code that must remain untouched (and invisible)
|
|
411
|
-
// during editing.
|
|
412
|
-
data = FCKConfig.ProtectedSource.Protect( data ) ;
|
|
413
|
-
|
|
414
|
-
// Call the Data Processor to transform the data.
|
|
415
|
-
data = FCK.DataProcessor.ConvertToHtml( data ) ;
|
|
416
|
-
|
|
417
|
-
// Fix for invalid self-closing tags (see #152).
|
|
418
|
-
data = data.replace( FCKRegexLib.InvalidSelfCloseTags, '$1></$2>' ) ;
|
|
419
|
-
|
|
420
|
-
// Protect event attributes (they could get fired in the editing area).
|
|
421
|
-
data = FCK.ProtectEvents( data ) ;
|
|
422
|
-
|
|
423
|
-
// Protect some things from the browser itself.
|
|
424
|
-
data = FCK.ProtectUrls( data ) ;
|
|
425
|
-
data = FCK.ProtectTags( data ) ;
|
|
426
|
-
|
|
427
|
-
// Insert the base tag (FCKConfig.BaseHref), if not exists in the source.
|
|
428
|
-
// The base must be the first tag in the HEAD, to get relative
|
|
429
|
-
// links on styles, for example.
|
|
430
|
-
if ( FCK.TempBaseTag.length > 0 && !FCKRegexLib.HasBaseTag.test( data ) )
|
|
431
|
-
data = data.replace( FCKRegexLib.HeadOpener, '$&' + FCK.TempBaseTag ) ;
|
|
432
|
-
|
|
433
|
-
// Build the HTML for the additional things we need on <head>.
|
|
434
|
-
var sHeadExtra = '' ;
|
|
435
|
-
|
|
436
|
-
if ( !FCKConfig.FullPage )
|
|
437
|
-
sHeadExtra += _FCK_GetEditorAreaStyleTags() ;
|
|
438
|
-
|
|
439
|
-
if ( FCKBrowserInfo.IsIE )
|
|
440
|
-
sHeadExtra += FCK._GetBehaviorsStyle() ;
|
|
441
|
-
else if ( FCKConfig.ShowBorders )
|
|
442
|
-
sHeadExtra += FCKTools.GetStyleHtml( FCK_ShowTableBordersCSS, true ) ;
|
|
443
|
-
|
|
444
|
-
sHeadExtra += FCKTools.GetStyleHtml( FCK_InternalCSS, true ) ;
|
|
445
|
-
|
|
446
|
-
// Attention: do not change it before testing it well (sample07)!
|
|
447
|
-
// This is tricky... if the head ends with <meta ... content type>,
|
|
448
|
-
// Firefox will break. But, it works if we place our extra stuff as
|
|
449
|
-
// the last elements in the HEAD.
|
|
450
|
-
data = data.replace( FCKRegexLib.HeadCloser, sHeadExtra + '$&' ) ;
|
|
451
|
-
|
|
452
|
-
// Load the HTML in the editing area.
|
|
453
|
-
this.EditingArea.OnLoad = _FCK_EditingArea_OnLoad ;
|
|
454
|
-
this.EditingArea.Start( data ) ;
|
|
455
|
-
}
|
|
456
|
-
else
|
|
457
|
-
{
|
|
458
|
-
// Remove the references to the following elements, as the editing area
|
|
459
|
-
// IFRAME will be removed.
|
|
460
|
-
FCK.EditorWindow = null ;
|
|
461
|
-
FCK.EditorDocument = null ;
|
|
462
|
-
FCKDomTools.PaddingNode = null ;
|
|
463
|
-
|
|
464
|
-
this.EditingArea.OnLoad = null ;
|
|
465
|
-
this.EditingArea.Start( data ) ;
|
|
466
|
-
|
|
467
|
-
// Enables the context menu in the textarea.
|
|
468
|
-
this.EditingArea.Textarea._FCKShowContextMenu = true ;
|
|
469
|
-
|
|
470
|
-
// Removes the enter key handler.
|
|
471
|
-
FCK.EnterKeyHandler = null ;
|
|
472
|
-
|
|
473
|
-
if ( resetIsDirty )
|
|
474
|
-
this.ResetIsDirty() ;
|
|
475
|
-
|
|
476
|
-
// Listen for keystroke events.
|
|
477
|
-
FCK.KeystrokeHandler.AttachToElement( this.EditingArea.Textarea ) ;
|
|
478
|
-
|
|
479
|
-
this.EditingArea.Textarea.focus() ;
|
|
480
|
-
|
|
481
|
-
FCK.Events.FireEvent( 'OnAfterSetHTML' ) ;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
if ( FCKBrowserInfo.IsGecko )
|
|
485
|
-
window.onresize() ;
|
|
486
|
-
},
|
|
487
|
-
|
|
488
|
-
// This collection is used by the browser specific implementations to tell
|
|
489
|
-
// which named commands must be handled separately.
|
|
490
|
-
RedirectNamedCommands : new Object(),
|
|
491
|
-
|
|
492
|
-
ExecuteNamedCommand : function( commandName, commandParameter, noRedirect, noSaveUndo )
|
|
493
|
-
{
|
|
494
|
-
if ( !noSaveUndo )
|
|
495
|
-
FCKUndo.SaveUndoStep() ;
|
|
496
|
-
|
|
497
|
-
if ( !noRedirect && FCK.RedirectNamedCommands[ commandName ] != null )
|
|
498
|
-
FCK.ExecuteRedirectedNamedCommand( commandName, commandParameter ) ;
|
|
499
|
-
else
|
|
500
|
-
{
|
|
501
|
-
FCK.Focus() ;
|
|
502
|
-
FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ;
|
|
503
|
-
FCK.Events.FireEvent( 'OnSelectionChange' ) ;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
if ( !noSaveUndo )
|
|
507
|
-
FCKUndo.SaveUndoStep() ;
|
|
508
|
-
},
|
|
509
|
-
|
|
510
|
-
GetNamedCommandState : function( commandName )
|
|
511
|
-
{
|
|
512
|
-
try
|
|
513
|
-
{
|
|
514
|
-
|
|
515
|
-
// Bug #50 : Safari never returns positive state for the Paste command, override that.
|
|
516
|
-
if ( FCKBrowserInfo.IsSafari && FCK.EditorWindow && commandName.IEquals( 'Paste' ) )
|
|
517
|
-
return FCK_TRISTATE_OFF ;
|
|
518
|
-
|
|
519
|
-
if ( !FCK.EditorDocument.queryCommandEnabled( commandName ) )
|
|
520
|
-
return FCK_TRISTATE_DISABLED ;
|
|
521
|
-
else
|
|
522
|
-
{
|
|
523
|
-
return FCK.EditorDocument.queryCommandState( commandName ) ? FCK_TRISTATE_ON : FCK_TRISTATE_OFF ;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
catch ( e )
|
|
527
|
-
{
|
|
528
|
-
return FCK_TRISTATE_OFF ;
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
|
|
532
|
-
GetNamedCommandValue : function( commandName )
|
|
533
|
-
{
|
|
534
|
-
var sValue = '' ;
|
|
535
|
-
var eState = FCK.GetNamedCommandState( commandName ) ;
|
|
536
|
-
|
|
537
|
-
if ( eState == FCK_TRISTATE_DISABLED )
|
|
538
|
-
return null ;
|
|
539
|
-
|
|
540
|
-
try
|
|
541
|
-
{
|
|
542
|
-
sValue = this.EditorDocument.queryCommandValue( commandName ) ;
|
|
543
|
-
}
|
|
544
|
-
catch(e) {}
|
|
545
|
-
|
|
546
|
-
return sValue ? sValue : '' ;
|
|
547
|
-
},
|
|
548
|
-
|
|
549
|
-
Paste : function( _callListenersOnly )
|
|
550
|
-
{
|
|
551
|
-
// First call 'OnPaste' listeners.
|
|
552
|
-
if ( FCK.Status != FCK_STATUS_COMPLETE || !FCK.Events.FireEvent( 'OnPaste' ) )
|
|
553
|
-
return false ;
|
|
554
|
-
|
|
555
|
-
// Then call the default implementation.
|
|
556
|
-
return _callListenersOnly || FCK._ExecPaste() ;
|
|
557
|
-
},
|
|
558
|
-
|
|
559
|
-
PasteFromWord : function()
|
|
560
|
-
{
|
|
561
|
-
FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteFromWord, 'dialog/fck_paste.html', 400, 330, 'Word' ) ;
|
|
562
|
-
},
|
|
563
|
-
|
|
564
|
-
Preview : function()
|
|
565
|
-
{
|
|
566
|
-
var sHTML ;
|
|
567
|
-
|
|
568
|
-
if ( FCKConfig.FullPage )
|
|
569
|
-
{
|
|
570
|
-
if ( FCK.TempBaseTag.length > 0 )
|
|
571
|
-
sHTML = FCK.TempBaseTag + FCK.GetXHTML() ;
|
|
572
|
-
else
|
|
573
|
-
sHTML = FCK.GetXHTML() ;
|
|
574
|
-
}
|
|
575
|
-
else
|
|
576
|
-
{
|
|
577
|
-
sHTML =
|
|
578
|
-
FCKConfig.DocType +
|
|
579
|
-
'<html dir="' + FCKConfig.ContentLangDirection + '">' +
|
|
580
|
-
'<head>' +
|
|
581
|
-
FCK.TempBaseTag +
|
|
582
|
-
'<title>' + FCKLang.Preview + '</title>' +
|
|
583
|
-
_FCK_GetEditorAreaStyleTags() +
|
|
584
|
-
'</head><body' + FCKConfig.GetBodyAttributes() + '>' +
|
|
585
|
-
FCK.GetXHTML() +
|
|
586
|
-
'</body></html>' ;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
var iWidth = FCKConfig.ScreenWidth * 0.8 ;
|
|
590
|
-
var iHeight = FCKConfig.ScreenHeight * 0.7 ;
|
|
591
|
-
var iLeft = ( FCKConfig.ScreenWidth - iWidth ) / 2 ;
|
|
592
|
-
|
|
593
|
-
var sOpenUrl = '' ;
|
|
594
|
-
if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE)
|
|
595
|
-
{
|
|
596
|
-
window._FCKHtmlToLoad = sHTML ;
|
|
597
|
-
sOpenUrl = 'javascript:void( (function(){' +
|
|
598
|
-
'document.open() ;' +
|
|
599
|
-
'document.domain="' + document.domain + '" ;' +
|
|
600
|
-
'document.write( window.opener._FCKHtmlToLoad );' +
|
|
601
|
-
'document.close() ;' +
|
|
602
|
-
'window.opener._FCKHtmlToLoad = null ;' +
|
|
603
|
-
'})() )' ;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + iWidth + ',height=' + iHeight + ',left=' + iLeft ) ;
|
|
607
|
-
|
|
608
|
-
if ( !FCK_IS_CUSTOM_DOMAIN || !FCKBrowserInfo.IsIE)
|
|
609
|
-
{
|
|
610
|
-
oWindow.document.write( sHTML );
|
|
611
|
-
oWindow.document.close();
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
},
|
|
615
|
-
|
|
616
|
-
SwitchEditMode : function( noUndo )
|
|
617
|
-
{
|
|
618
|
-
var bIsWysiwyg = ( FCK.EditMode == FCK_EDITMODE_WYSIWYG ) ;
|
|
619
|
-
|
|
620
|
-
// Save the current IsDirty state, so we may restore it after the switch.
|
|
621
|
-
var bIsDirty = FCK.IsDirty() ;
|
|
622
|
-
|
|
623
|
-
var sHtml ;
|
|
624
|
-
|
|
625
|
-
// Update the HTML in the view output to show.
|
|
626
|
-
if ( bIsWysiwyg )
|
|
627
|
-
{
|
|
628
|
-
FCKCommands.GetCommand( 'ShowBlocks' ).SaveState() ;
|
|
629
|
-
if ( !noUndo && FCKBrowserInfo.IsIE )
|
|
630
|
-
FCKUndo.SaveUndoStep() ;
|
|
631
|
-
|
|
632
|
-
sHtml = FCK.GetXHTML( FCKConfig.FormatSource ) ;
|
|
633
|
-
|
|
634
|
-
if ( sHtml == null )
|
|
635
|
-
return false ;
|
|
636
|
-
}
|
|
637
|
-
else
|
|
638
|
-
sHtml = this.EditingArea.Textarea.value ;
|
|
639
|
-
|
|
640
|
-
FCK.EditMode = bIsWysiwyg ? FCK_EDITMODE_SOURCE : FCK_EDITMODE_WYSIWYG ;
|
|
641
|
-
|
|
642
|
-
FCK.SetData( sHtml, !bIsDirty ) ;
|
|
643
|
-
|
|
644
|
-
// Set the Focus.
|
|
645
|
-
FCK.Focus() ;
|
|
646
|
-
|
|
647
|
-
// Update the toolbar (Running it directly causes IE to fail).
|
|
648
|
-
FCKTools.RunFunction( FCK.ToolbarSet.RefreshModeState, FCK.ToolbarSet ) ;
|
|
649
|
-
|
|
650
|
-
return true ;
|
|
651
|
-
},
|
|
652
|
-
|
|
653
|
-
InsertElement : function( element )
|
|
654
|
-
{
|
|
655
|
-
// The parameter may be a string (element name), so transform it in an element.
|
|
656
|
-
if ( typeof element == 'string' )
|
|
657
|
-
element = this.EditorDocument.createElement( element ) ;
|
|
658
|
-
|
|
659
|
-
var elementName = element.nodeName.toLowerCase() ;
|
|
660
|
-
|
|
661
|
-
FCKSelection.Restore() ;
|
|
662
|
-
|
|
663
|
-
// Create a range for the selection. V3 will have a new selection
|
|
664
|
-
// object that may internally supply this feature.
|
|
665
|
-
var range = new FCKDomRange( this.EditorWindow ) ;
|
|
666
|
-
|
|
667
|
-
if ( FCKListsLib.BlockElements[ elementName ] != null )
|
|
668
|
-
{
|
|
669
|
-
range.SplitBlock() ;
|
|
670
|
-
range.InsertNode( element ) ;
|
|
671
|
-
|
|
672
|
-
var next = FCKDomTools.GetNextSourceElement( element, false, null, [ 'hr','br','param','img','area','input' ], true ) ;
|
|
673
|
-
|
|
674
|
-
// Be sure that we have something after the new element, so we can move the cursor there.
|
|
675
|
-
if ( !next && FCKConfig.EnterMode != 'br')
|
|
676
|
-
{
|
|
677
|
-
next = this.EditorDocument.body.appendChild( this.EditorDocument.createElement( FCKConfig.EnterMode ) ) ;
|
|
678
|
-
|
|
679
|
-
if ( FCKBrowserInfo.IsGeckoLike )
|
|
680
|
-
FCKTools.AppendBogusBr( next ) ;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
if ( FCKListsLib.EmptyElements[ elementName ] == null )
|
|
684
|
-
range.MoveToElementEditStart( element ) ;
|
|
685
|
-
else if ( next )
|
|
686
|
-
range.MoveToElementEditStart( next ) ;
|
|
687
|
-
else
|
|
688
|
-
range.MoveToPosition( element, 4 ) ;
|
|
689
|
-
|
|
690
|
-
if ( FCKBrowserInfo.IsGecko )
|
|
691
|
-
{
|
|
692
|
-
if ( next )
|
|
693
|
-
next.scrollIntoView( false ) ;
|
|
694
|
-
element.scrollIntoView( false ) ;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
else
|
|
698
|
-
{
|
|
699
|
-
// Delete the current selection and insert the node.
|
|
700
|
-
range.MoveToSelection() ;
|
|
701
|
-
range.DeleteContents() ;
|
|
702
|
-
range.InsertNode( element ) ;
|
|
703
|
-
|
|
704
|
-
// Move the selection right after the new element.
|
|
705
|
-
// DISCUSSION: Should we select the element instead?
|
|
706
|
-
range.SetStart( element, 4 ) ;
|
|
707
|
-
range.SetEnd( element, 4 ) ;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
range.Select() ;
|
|
711
|
-
range.Release() ;
|
|
712
|
-
|
|
713
|
-
// REMOVE IT: The focus should not really be set here. It is up to the
|
|
714
|
-
// calling code to reset the focus if needed.
|
|
715
|
-
this.Focus() ;
|
|
716
|
-
|
|
717
|
-
return element ;
|
|
718
|
-
},
|
|
719
|
-
|
|
720
|
-
_InsertBlockElement : function( blockElement )
|
|
721
|
-
{
|
|
722
|
-
},
|
|
723
|
-
|
|
724
|
-
_IsFunctionKey : function( keyCode )
|
|
725
|
-
{
|
|
726
|
-
// keys that are captured but do not change editor contents
|
|
727
|
-
if ( keyCode >= 16 && keyCode <= 20 )
|
|
728
|
-
// shift, ctrl, alt, pause, capslock
|
|
729
|
-
return true ;
|
|
730
|
-
if ( keyCode == 27 || ( keyCode >= 33 && keyCode <= 40 ) )
|
|
731
|
-
// esc, page up, page down, end, home, left, up, right, down
|
|
732
|
-
return true ;
|
|
733
|
-
if ( keyCode == 45 )
|
|
734
|
-
// insert, no effect on FCKeditor, yet
|
|
735
|
-
return true ;
|
|
736
|
-
return false ;
|
|
737
|
-
},
|
|
738
|
-
|
|
739
|
-
_KeyDownListener : function( evt )
|
|
740
|
-
{
|
|
741
|
-
if (! evt)
|
|
742
|
-
evt = FCK.EditorWindow.event ;
|
|
743
|
-
if ( FCK.EditorWindow )
|
|
744
|
-
{
|
|
745
|
-
if ( !FCK._IsFunctionKey(evt.keyCode) // do not capture function key presses, like arrow keys or shift/alt/ctrl
|
|
746
|
-
&& !(evt.ctrlKey || evt.metaKey) // do not capture Ctrl hotkeys, as they have their snapshot capture logic
|
|
747
|
-
&& !(evt.keyCode == 46) ) // do not capture Del, it has its own capture logic in fckenterkey.js
|
|
748
|
-
FCK._KeyDownUndo() ;
|
|
749
|
-
}
|
|
750
|
-
return true ;
|
|
751
|
-
},
|
|
752
|
-
|
|
753
|
-
_KeyDownUndo : function()
|
|
754
|
-
{
|
|
755
|
-
if ( !FCKUndo.Typing )
|
|
756
|
-
{
|
|
757
|
-
FCKUndo.SaveUndoStep() ;
|
|
758
|
-
FCKUndo.Typing = true ;
|
|
759
|
-
FCK.Events.FireEvent( "OnSelectionChange" ) ;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
FCKUndo.TypesCount++ ;
|
|
763
|
-
FCKUndo.Changed = 1 ;
|
|
764
|
-
|
|
765
|
-
if ( FCKUndo.TypesCount > FCKUndo.MaxTypes )
|
|
766
|
-
{
|
|
767
|
-
FCKUndo.TypesCount = 0 ;
|
|
768
|
-
FCKUndo.SaveUndoStep() ;
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
|
|
772
|
-
_TabKeyHandler : function( evt )
|
|
773
|
-
{
|
|
774
|
-
if ( ! evt )
|
|
775
|
-
evt = window.event ;
|
|
776
|
-
|
|
777
|
-
var keystrokeValue = evt.keyCode ;
|
|
778
|
-
|
|
779
|
-
// Pressing <Tab> in source mode should produce a tab space in the text area, not
|
|
780
|
-
// changing the focus to something else.
|
|
781
|
-
if ( keystrokeValue == 9 && FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
|
782
|
-
{
|
|
783
|
-
if ( FCKBrowserInfo.IsIE )
|
|
784
|
-
{
|
|
785
|
-
var range = document.selection.createRange() ;
|
|
786
|
-
if ( range.parentElement() != FCK.EditingArea.Textarea )
|
|
787
|
-
return true ;
|
|
788
|
-
range.text = '\t' ;
|
|
789
|
-
range.select() ;
|
|
790
|
-
}
|
|
791
|
-
else
|
|
792
|
-
{
|
|
793
|
-
var a = [] ;
|
|
794
|
-
var el = FCK.EditingArea.Textarea ;
|
|
795
|
-
var selStart = el.selectionStart ;
|
|
796
|
-
var selEnd = el.selectionEnd ;
|
|
797
|
-
a.push( el.value.substr(0, selStart ) ) ;
|
|
798
|
-
a.push( '\t' ) ;
|
|
799
|
-
a.push( el.value.substr( selEnd ) ) ;
|
|
800
|
-
el.value = a.join( '' ) ;
|
|
801
|
-
el.setSelectionRange( selStart + 1, selStart + 1 ) ;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
if ( evt.preventDefault )
|
|
805
|
-
return evt.preventDefault() ;
|
|
806
|
-
|
|
807
|
-
return evt.returnValue = false ;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
return true ;
|
|
811
|
-
}
|
|
812
|
-
} ;
|
|
813
|
-
|
|
814
|
-
FCK.Events = new FCKEvents( FCK ) ;
|
|
815
|
-
|
|
816
|
-
// DEPRECATED in favor or "GetData".
|
|
817
|
-
FCK.GetHTML = FCK.GetXHTML = FCK.GetData ;
|
|
818
|
-
|
|
819
|
-
// DEPRECATED in favor of "SetData".
|
|
820
|
-
FCK.SetHTML = FCK.SetData ;
|
|
821
|
-
|
|
822
|
-
// InsertElementAndGetIt and CreateElement are Deprecated : returns the same value as InsertElement.
|
|
823
|
-
FCK.InsertElementAndGetIt = FCK.CreateElement = FCK.InsertElement ;
|
|
824
|
-
|
|
825
|
-
// Replace all events attributes (like onclick).
|
|
826
|
-
function _FCK_ProtectEvents_ReplaceTags( tagMatch )
|
|
827
|
-
{
|
|
828
|
-
return tagMatch.replace( FCKRegexLib.EventAttributes, _FCK_ProtectEvents_ReplaceEvents ) ;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
// Replace an event attribute with its respective __fckprotectedatt attribute.
|
|
832
|
-
// The original event markup will be encoded and saved as the value of the new
|
|
833
|
-
// attribute.
|
|
834
|
-
function _FCK_ProtectEvents_ReplaceEvents( eventMatch, attName )
|
|
835
|
-
{
|
|
836
|
-
return ' ' + attName + '_fckprotectedatt="' + encodeURIComponent( eventMatch ) + '"' ;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
function _FCK_ProtectEvents_RestoreEvents( match, encodedOriginal )
|
|
840
|
-
{
|
|
841
|
-
return decodeURIComponent( encodedOriginal ) ;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
function _FCK_MouseEventsListener( evt )
|
|
845
|
-
{
|
|
846
|
-
if ( ! evt )
|
|
847
|
-
evt = window.event ;
|
|
848
|
-
if ( evt.type == 'mousedown' )
|
|
849
|
-
FCK.MouseDownFlag = true ;
|
|
850
|
-
else if ( evt.type == 'mouseup' )
|
|
851
|
-
FCK.MouseDownFlag = false ;
|
|
852
|
-
else if ( evt.type == 'mousemove' )
|
|
853
|
-
FCK.Events.FireEvent( 'OnMouseMove', evt ) ;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
function _FCK_PaddingNodeListener()
|
|
857
|
-
{
|
|
858
|
-
if ( FCKConfig.EnterMode.IEquals( 'br' ) )
|
|
859
|
-
return ;
|
|
860
|
-
FCKDomTools.EnforcePaddingNode( FCK.EditorDocument, FCKConfig.EnterMode ) ;
|
|
861
|
-
|
|
862
|
-
if ( ! FCKBrowserInfo.IsIE && FCKDomTools.PaddingNode )
|
|
863
|
-
{
|
|
864
|
-
// Prevent the caret from going between the body and the padding node in Firefox.
|
|
865
|
-
// i.e. <body>|<p></p></body>
|
|
866
|
-
var sel = FCKSelection.GetSelection() ;
|
|
867
|
-
if ( sel && sel.rangeCount == 1 )
|
|
868
|
-
{
|
|
869
|
-
var range = sel.getRangeAt( 0 ) ;
|
|
870
|
-
if ( range.collapsed && range.startContainer == FCK.EditorDocument.body && range.startOffset == 0 )
|
|
871
|
-
{
|
|
872
|
-
range.selectNodeContents( FCKDomTools.PaddingNode ) ;
|
|
873
|
-
range.collapse( true ) ;
|
|
874
|
-
sel.removeAllRanges() ;
|
|
875
|
-
sel.addRange( range ) ;
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
else if ( FCKDomTools.PaddingNode )
|
|
880
|
-
{
|
|
881
|
-
// Prevent the caret from going into an empty body but not into the padding node in IE.
|
|
882
|
-
// i.e. <body><p></p>|</body>
|
|
883
|
-
var parentElement = FCKSelection.GetParentElement() ;
|
|
884
|
-
var paddingNode = FCKDomTools.PaddingNode ;
|
|
885
|
-
if ( parentElement && parentElement.nodeName.IEquals( 'body' ) )
|
|
886
|
-
{
|
|
887
|
-
if ( FCK.EditorDocument.body.childNodes.length == 1
|
|
888
|
-
&& FCK.EditorDocument.body.firstChild == paddingNode )
|
|
889
|
-
{
|
|
890
|
-
var range = FCK.EditorDocument.body.createTextRange() ;
|
|
891
|
-
var clearContents = false ;
|
|
892
|
-
if ( !paddingNode.childNodes.firstChild )
|
|
893
|
-
{
|
|
894
|
-
paddingNode.appendChild( FCKTools.GetElementDocument( paddingNode ).createTextNode( '\ufeff' ) ) ;
|
|
895
|
-
clearContents = true ;
|
|
896
|
-
}
|
|
897
|
-
range.moveToElementText( paddingNode ) ;
|
|
898
|
-
range.select() ;
|
|
899
|
-
if ( clearContents )
|
|
900
|
-
range.pasteHTML( '' ) ;
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
function _FCK_EditingArea_OnLoad()
|
|
907
|
-
{
|
|
908
|
-
// Get the editor's window and document (DOM)
|
|
909
|
-
FCK.EditorWindow = FCK.EditingArea.Window ;
|
|
910
|
-
FCK.EditorDocument = FCK.EditingArea.Document ;
|
|
911
|
-
|
|
912
|
-
FCK.InitializeBehaviors() ;
|
|
913
|
-
|
|
914
|
-
// Listen for mousedown and mouseup events for tracking drag and drops.
|
|
915
|
-
FCK.MouseDownFlag = false ;
|
|
916
|
-
FCKTools.AddEventListener( FCK.EditorDocument, 'mousemove', _FCK_MouseEventsListener ) ;
|
|
917
|
-
FCKTools.AddEventListener( FCK.EditorDocument, 'mousedown', _FCK_MouseEventsListener ) ;
|
|
918
|
-
FCKTools.AddEventListener( FCK.EditorDocument, 'mouseup', _FCK_MouseEventsListener ) ;
|
|
919
|
-
|
|
920
|
-
// Most of the CTRL key combos do not work under Safari for onkeydown and onkeypress (See #1119)
|
|
921
|
-
// But we can use the keyup event to override some of these...
|
|
922
|
-
if ( FCKBrowserInfo.IsSafari )
|
|
923
|
-
{
|
|
924
|
-
var undoFunc = function( evt )
|
|
925
|
-
{
|
|
926
|
-
if ( ! ( evt.ctrlKey || evt.metaKey ) )
|
|
927
|
-
return ;
|
|
928
|
-
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
|
|
929
|
-
return ;
|
|
930
|
-
switch ( evt.keyCode )
|
|
931
|
-
{
|
|
932
|
-
case 89:
|
|
933
|
-
FCKUndo.Redo() ;
|
|
934
|
-
break ;
|
|
935
|
-
case 90:
|
|
936
|
-
FCKUndo.Undo() ;
|
|
937
|
-
break ;
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
FCKTools.AddEventListener( FCK.EditorDocument, 'keyup', undoFunc ) ;
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
// Create the enter key handler
|
|
945
|
-
FCK.EnterKeyHandler = new FCKEnterKey( FCK.EditorWindow, FCKConfig.EnterMode, FCKConfig.ShiftEnterMode, FCKConfig.TabSpaces ) ;
|
|
946
|
-
|
|
947
|
-
// Listen for keystroke events.
|
|
948
|
-
FCK.KeystrokeHandler.AttachToElement( FCK.EditorDocument ) ;
|
|
949
|
-
|
|
950
|
-
if ( FCK._ForceResetIsDirty )
|
|
951
|
-
FCK.ResetIsDirty() ;
|
|
952
|
-
|
|
953
|
-
// This is a tricky thing for IE. In some cases, even if the cursor is
|
|
954
|
-
// blinking in the editing, the keystroke handler doesn't catch keyboard
|
|
955
|
-
// events. We must activate the editing area to make it work. (#142).
|
|
956
|
-
if ( FCKBrowserInfo.IsIE && FCK.HasFocus )
|
|
957
|
-
FCK.EditorDocument.body.setActive() ;
|
|
958
|
-
|
|
959
|
-
FCK.OnAfterSetHTML() ;
|
|
960
|
-
|
|
961
|
-
// Restore show blocks status.
|
|
962
|
-
FCKCommands.GetCommand( 'ShowBlocks' ).RestoreState() ;
|
|
963
|
-
|
|
964
|
-
// Check if it is not a startup call, otherwise complete the startup.
|
|
965
|
-
if ( FCK.Status != FCK_STATUS_NOTLOADED )
|
|
966
|
-
return ;
|
|
967
|
-
|
|
968
|
-
FCK.SetStatus( FCK_STATUS_ACTIVE ) ;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
function _FCK_GetEditorAreaStyleTags()
|
|
972
|
-
{
|
|
973
|
-
return FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) +
|
|
974
|
-
FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
function _FCK_KeystrokeHandler_OnKeystroke( keystroke, keystrokeValue )
|
|
978
|
-
{
|
|
979
|
-
if ( FCK.Status != FCK_STATUS_COMPLETE )
|
|
980
|
-
return false ;
|
|
981
|
-
|
|
982
|
-
if ( FCK.EditMode == FCK_EDITMODE_WYSIWYG )
|
|
983
|
-
{
|
|
984
|
-
switch ( keystrokeValue )
|
|
985
|
-
{
|
|
986
|
-
case 'Paste' :
|
|
987
|
-
return !FCK.Paste() ;
|
|
988
|
-
|
|
989
|
-
case 'Cut' :
|
|
990
|
-
FCKUndo.SaveUndoStep() ;
|
|
991
|
-
return false ;
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
else
|
|
995
|
-
{
|
|
996
|
-
// In source mode, some actions must have their default behavior.
|
|
997
|
-
if ( keystrokeValue.Equals( 'Paste', 'Undo', 'Redo', 'SelectAll', 'Cut' ) )
|
|
998
|
-
return false ;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
// The return value indicates if the default behavior of the keystroke must
|
|
1002
|
-
// be cancelled. Let's do that only if the Execute() call explicitly returns "false".
|
|
1003
|
-
var oCommand = FCK.Commands.GetCommand( keystrokeValue ) ;
|
|
1004
|
-
|
|
1005
|
-
// If the command is disabled then ignore the keystroke
|
|
1006
|
-
if ( oCommand.GetState() == FCK_TRISTATE_DISABLED )
|
|
1007
|
-
return false ;
|
|
1008
|
-
|
|
1009
|
-
return ( oCommand.Execute.apply( oCommand, FCKTools.ArgumentsToArray( arguments, 2 ) ) !== false ) ;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
// Set the FCK.LinkedField reference to the field that will be used to post the
|
|
1013
|
-
// editor data.
|
|
1014
|
-
(function()
|
|
1015
|
-
{
|
|
1016
|
-
// There is a bug on IE... getElementById returns any META tag that has the
|
|
1017
|
-
// name set to the ID you are looking for. So the best way in to get the array
|
|
1018
|
-
// by names and look for the correct one.
|
|
1019
|
-
// As ASP.Net generates a ID that is different from the Name, we must also
|
|
1020
|
-
// look for the field based on the ID (the first one is the ID).
|
|
1021
|
-
|
|
1022
|
-
var oDocument = window.parent.document ;
|
|
1023
|
-
|
|
1024
|
-
// Try to get the field using the ID.
|
|
1025
|
-
var eLinkedField = oDocument.getElementById( FCK.Name ) ;
|
|
1026
|
-
|
|
1027
|
-
var i = 0;
|
|
1028
|
-
while ( eLinkedField || i == 0 )
|
|
1029
|
-
{
|
|
1030
|
-
if ( eLinkedField && eLinkedField.tagName.toLowerCase().Equals( 'input', 'textarea' ) )
|
|
1031
|
-
{
|
|
1032
|
-
FCK.LinkedField = eLinkedField ;
|
|
1033
|
-
break ;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
eLinkedField = oDocument.getElementsByName( FCK.Name )[i++] ;
|
|
1037
|
-
}
|
|
1038
|
-
})() ;
|
|
1039
|
-
|
|
1040
|
-
var FCKTempBin =
|
|
1041
|
-
{
|
|
1042
|
-
Elements : new Array(),
|
|
1043
|
-
|
|
1044
|
-
AddElement : function( element )
|
|
1045
|
-
{
|
|
1046
|
-
var iIndex = this.Elements.length ;
|
|
1047
|
-
this.Elements[ iIndex ] = element ;
|
|
1048
|
-
return iIndex ;
|
|
1049
|
-
},
|
|
1050
|
-
|
|
1051
|
-
RemoveElement : function( index )
|
|
1052
|
-
{
|
|
1053
|
-
var e = this.Elements[ index ] ;
|
|
1054
|
-
this.Elements[ index ] = null ;
|
|
1055
|
-
return e ;
|
|
1056
|
-
},
|
|
1057
|
-
|
|
1058
|
-
Reset : function()
|
|
1059
|
-
{
|
|
1060
|
-
var i = 0 ;
|
|
1061
|
-
while ( i < this.Elements.length )
|
|
1062
|
-
this.Elements[ i++ ] = null ;
|
|
1063
|
-
this.Elements.length = 0 ;
|
|
1064
|
-
}
|
|
1065
|
-
} ;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
// # Focus Manager: Manages the focus in the editor.
|
|
1070
|
-
var FCKFocusManager = FCK.FocusManager =
|
|
1071
|
-
{
|
|
1072
|
-
IsLocked : false,
|
|
1073
|
-
|
|
1074
|
-
AddWindow : function( win, sendToEditingArea )
|
|
1075
|
-
{
|
|
1076
|
-
var oTarget ;
|
|
1077
|
-
|
|
1078
|
-
if ( FCKBrowserInfo.IsIE )
|
|
1079
|
-
oTarget = win.nodeType == 1 ? win : win.frameElement ? win.frameElement : win.document ;
|
|
1080
|
-
else if ( FCKBrowserInfo.IsSafari )
|
|
1081
|
-
oTarget = win ;
|
|
1082
|
-
else
|
|
1083
|
-
oTarget = win.document ;
|
|
1084
|
-
|
|
1085
|
-
FCKTools.AddEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ;
|
|
1086
|
-
FCKTools.AddEventListener( oTarget, 'focus', sendToEditingArea ? FCKFocusManager_Win_OnFocus_Area : FCKFocusManager_Win_OnFocus ) ;
|
|
1087
|
-
},
|
|
1088
|
-
|
|
1089
|
-
RemoveWindow : function( win )
|
|
1090
|
-
{
|
|
1091
|
-
if ( FCKBrowserInfo.IsIE )
|
|
1092
|
-
oTarget = win.nodeType == 1 ? win : win.frameElement ? win.frameElement : win.document ;
|
|
1093
|
-
else
|
|
1094
|
-
oTarget = win.document ;
|
|
1095
|
-
|
|
1096
|
-
FCKTools.RemoveEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ;
|
|
1097
|
-
FCKTools.RemoveEventListener( oTarget, 'focus', FCKFocusManager_Win_OnFocus_Area ) ;
|
|
1098
|
-
FCKTools.RemoveEventListener( oTarget, 'focus', FCKFocusManager_Win_OnFocus ) ;
|
|
1099
|
-
},
|
|
1100
|
-
|
|
1101
|
-
Lock : function()
|
|
1102
|
-
{
|
|
1103
|
-
this.IsLocked = true ;
|
|
1104
|
-
},
|
|
1105
|
-
|
|
1106
|
-
Unlock : function()
|
|
1107
|
-
{
|
|
1108
|
-
if ( this._HasPendingBlur )
|
|
1109
|
-
FCKFocusManager._Timer = window.setTimeout( FCKFocusManager_FireOnBlur, 100 ) ;
|
|
1110
|
-
|
|
1111
|
-
this.IsLocked = false ;
|
|
1112
|
-
},
|
|
1113
|
-
|
|
1114
|
-
_ResetTimer : function()
|
|
1115
|
-
{
|
|
1116
|
-
this._HasPendingBlur = false ;
|
|
1117
|
-
|
|
1118
|
-
if ( this._Timer )
|
|
1119
|
-
{
|
|
1120
|
-
window.clearTimeout( this._Timer ) ;
|
|
1121
|
-
delete this._Timer ;
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
} ;
|
|
1125
|
-
|
|
1126
|
-
function FCKFocusManager_Win_OnBlur()
|
|
1127
|
-
{
|
|
1128
|
-
if ( typeof(FCK) != 'undefined' && FCK.HasFocus )
|
|
1129
|
-
{
|
|
1130
|
-
FCKFocusManager._ResetTimer() ;
|
|
1131
|
-
FCKFocusManager._Timer = window.setTimeout( FCKFocusManager_FireOnBlur, 100 ) ;
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
function FCKFocusManager_FireOnBlur()
|
|
1136
|
-
{
|
|
1137
|
-
if ( FCKFocusManager.IsLocked )
|
|
1138
|
-
FCKFocusManager._HasPendingBlur = true ;
|
|
1139
|
-
else
|
|
1140
|
-
{
|
|
1141
|
-
FCK.HasFocus = false ;
|
|
1142
|
-
FCK.Events.FireEvent( "OnBlur" ) ;
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
function FCKFocusManager_Win_OnFocus_Area()
|
|
1147
|
-
{
|
|
1148
|
-
// Check if we are already focusing the editor (to avoid loops).
|
|
1149
|
-
if ( FCKFocusManager._IsFocusing )
|
|
1150
|
-
return ;
|
|
1151
|
-
|
|
1152
|
-
FCKFocusManager._IsFocusing = true ;
|
|
1153
|
-
|
|
1154
|
-
FCK.Focus() ;
|
|
1155
|
-
FCKFocusManager_Win_OnFocus() ;
|
|
1156
|
-
|
|
1157
|
-
// The above FCK.Focus() call may trigger other focus related functions.
|
|
1158
|
-
// So, to avoid a loop, we delay the focusing mark removal, so it get
|
|
1159
|
-
// executed after all othre functions have been run.
|
|
1160
|
-
FCKTools.RunFunction( function()
|
|
1161
|
-
{
|
|
1162
|
-
delete FCKFocusManager._IsFocusing ;
|
|
1163
|
-
} ) ;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
function FCKFocusManager_Win_OnFocus()
|
|
1167
|
-
{
|
|
1168
|
-
FCKFocusManager._ResetTimer() ;
|
|
1169
|
-
|
|
1170
|
-
if ( !FCK.HasFocus && !FCKFocusManager.IsLocked )
|
|
1171
|
-
{
|
|
1172
|
-
FCK.HasFocus = true ;
|
|
1173
|
-
FCK.Events.FireEvent( "OnFocus" ) ;
|
|
1174
|
-
}
|
|
1175
|
-
}
|