typo 5.3 → 5.4
Sign up to get free protection for your applications and to get access to all the features.
- 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,1443 +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
|
-
* FCKStyle Class: contains a style definition, and all methods to work with
|
22
|
-
* the style in a document.
|
23
|
-
*/
|
24
|
-
|
25
|
-
/**
|
26
|
-
* @param {Object} styleDesc A "style descriptor" object, containing the raw
|
27
|
-
* style definition in the following format:
|
28
|
-
* '<style name>' : {
|
29
|
-
* Element : '<element name>',
|
30
|
-
* Attributes : {
|
31
|
-
* '<att name>' : '<att value>',
|
32
|
-
* ...
|
33
|
-
* },
|
34
|
-
* Styles : {
|
35
|
-
* '<style name>' : '<style value>',
|
36
|
-
* ...
|
37
|
-
* },
|
38
|
-
* Overrides : '<element name>'|{
|
39
|
-
* Element : '<element name>',
|
40
|
-
* Attributes : {
|
41
|
-
* '<att name>' : '<att value>'|/<att regex>/
|
42
|
-
* },
|
43
|
-
* Styles : {
|
44
|
-
* '<style name>' : '<style value>'|/<style regex>/
|
45
|
-
* },
|
46
|
-
* }
|
47
|
-
* }
|
48
|
-
*/
|
49
|
-
var FCKStyle = function( styleDesc )
|
50
|
-
{
|
51
|
-
this.Element = ( styleDesc.Element || 'span' ).toLowerCase() ;
|
52
|
-
this._StyleDesc = styleDesc ;
|
53
|
-
}
|
54
|
-
|
55
|
-
FCKStyle.prototype =
|
56
|
-
{
|
57
|
-
/**
|
58
|
-
* Get the style type, based on its element name:
|
59
|
-
* - FCK_STYLE_BLOCK (0): Block Style
|
60
|
-
* - FCK_STYLE_INLINE (1): Inline Style
|
61
|
-
* - FCK_STYLE_OBJECT (2): Object Style
|
62
|
-
*/
|
63
|
-
GetType : function()
|
64
|
-
{
|
65
|
-
var type = this.GetType_$ ;
|
66
|
-
|
67
|
-
if ( type != undefined )
|
68
|
-
return type ;
|
69
|
-
|
70
|
-
var elementName = this.Element ;
|
71
|
-
|
72
|
-
if ( elementName == '#' || FCKListsLib.StyleBlockElements[ elementName ] )
|
73
|
-
type = FCK_STYLE_BLOCK ;
|
74
|
-
else if ( FCKListsLib.StyleObjectElements[ elementName ] )
|
75
|
-
type = FCK_STYLE_OBJECT ;
|
76
|
-
else
|
77
|
-
type = FCK_STYLE_INLINE ;
|
78
|
-
|
79
|
-
return ( this.GetType_$ = type ) ;
|
80
|
-
},
|
81
|
-
|
82
|
-
/**
|
83
|
-
* Apply the style to the current selection.
|
84
|
-
*/
|
85
|
-
ApplyToSelection : function( targetWindow )
|
86
|
-
{
|
87
|
-
// Create a range for the current selection.
|
88
|
-
var range = new FCKDomRange( targetWindow ) ;
|
89
|
-
range.MoveToSelection() ;
|
90
|
-
|
91
|
-
this.ApplyToRange( range, true ) ;
|
92
|
-
},
|
93
|
-
|
94
|
-
/**
|
95
|
-
* Apply the style to a FCKDomRange.
|
96
|
-
*/
|
97
|
-
ApplyToRange : function( range, selectIt, updateRange )
|
98
|
-
{
|
99
|
-
// ApplyToRange is not valid for FCK_STYLE_OBJECT types.
|
100
|
-
// Use ApplyToObject instead.
|
101
|
-
|
102
|
-
switch ( this.GetType() )
|
103
|
-
{
|
104
|
-
case FCK_STYLE_BLOCK :
|
105
|
-
this.ApplyToRange = this._ApplyBlockStyle ;
|
106
|
-
break ;
|
107
|
-
case FCK_STYLE_INLINE :
|
108
|
-
this.ApplyToRange = this._ApplyInlineStyle ;
|
109
|
-
break ;
|
110
|
-
default :
|
111
|
-
return ;
|
112
|
-
}
|
113
|
-
|
114
|
-
this.ApplyToRange( range, selectIt, updateRange ) ;
|
115
|
-
},
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Apply the style to an object. Valid for FCK_STYLE_BLOCK types only.
|
119
|
-
*/
|
120
|
-
ApplyToObject : function( objectElement )
|
121
|
-
{
|
122
|
-
if ( !objectElement )
|
123
|
-
return ;
|
124
|
-
|
125
|
-
this.BuildElement( null, objectElement ) ;
|
126
|
-
},
|
127
|
-
|
128
|
-
/**
|
129
|
-
* Remove the style from the current selection.
|
130
|
-
*/
|
131
|
-
RemoveFromSelection : function( targetWindow )
|
132
|
-
{
|
133
|
-
// Create a range for the current selection.
|
134
|
-
var range = new FCKDomRange( targetWindow ) ;
|
135
|
-
range.MoveToSelection() ;
|
136
|
-
|
137
|
-
this.RemoveFromRange( range, true ) ;
|
138
|
-
},
|
139
|
-
|
140
|
-
/**
|
141
|
-
* Remove the style from a FCKDomRange. Block type styles will have no
|
142
|
-
* effect.
|
143
|
-
*/
|
144
|
-
RemoveFromRange : function( range, selectIt, updateRange )
|
145
|
-
{
|
146
|
-
var bookmark ;
|
147
|
-
|
148
|
-
// Create the attribute list to be used later for element comparisons.
|
149
|
-
var styleAttribs = this._GetAttribsForComparison() ;
|
150
|
-
var styleOverrides = this._GetOverridesForComparison() ;
|
151
|
-
|
152
|
-
// If collapsed, we are removing all conflicting styles from the range
|
153
|
-
// parent tree.
|
154
|
-
if ( range.CheckIsCollapsed() )
|
155
|
-
{
|
156
|
-
// Bookmark the range so we can re-select it after processing.
|
157
|
-
var bookmark = range.CreateBookmark( true ) ;
|
158
|
-
|
159
|
-
// Let's start from the bookmark <span> parent.
|
160
|
-
var bookmarkStart = range.GetBookmarkNode( bookmark, true ) ;
|
161
|
-
|
162
|
-
var path = new FCKElementPath( bookmarkStart.parentNode ) ;
|
163
|
-
|
164
|
-
// While looping through the path, we'll be saving references to
|
165
|
-
// parent elements if the range is in one of their boundaries. In
|
166
|
-
// this way, we are able to create a copy of those elements when
|
167
|
-
// removing a style if the range is in a boundary limit (see #1270).
|
168
|
-
var boundaryElements = [] ;
|
169
|
-
|
170
|
-
// Check if the range is in the boundary limits of an element
|
171
|
-
// (related to #1270).
|
172
|
-
var isBoundaryRight = !FCKDomTools.GetNextSibling( bookmarkStart ) ;
|
173
|
-
var isBoundary = isBoundaryRight || !FCKDomTools.GetPreviousSibling( bookmarkStart ) ;
|
174
|
-
|
175
|
-
// This is the last element to be removed in the boundary situation
|
176
|
-
// described at #1270.
|
177
|
-
var lastBoundaryElement ;
|
178
|
-
var boundaryLimitIndex = -1 ;
|
179
|
-
|
180
|
-
for ( var i = 0 ; i < path.Elements.length ; i++ )
|
181
|
-
{
|
182
|
-
var pathElement = path.Elements[i] ;
|
183
|
-
if ( this.CheckElementRemovable( pathElement ) )
|
184
|
-
{
|
185
|
-
if ( isBoundary
|
186
|
-
&& !FCKDomTools.CheckIsEmptyElement( pathElement,
|
187
|
-
function( el )
|
188
|
-
{
|
189
|
-
return ( el != bookmarkStart ) ;
|
190
|
-
} )
|
191
|
-
)
|
192
|
-
{
|
193
|
-
lastBoundaryElement = pathElement ;
|
194
|
-
|
195
|
-
// We'll be continuously including elements in the
|
196
|
-
// boundaryElements array, but only those added before
|
197
|
-
// setting lastBoundaryElement must be used later, so
|
198
|
-
// let's mark the current index here.
|
199
|
-
boundaryLimitIndex = boundaryElements.length - 1 ;
|
200
|
-
}
|
201
|
-
else
|
202
|
-
{
|
203
|
-
var pathElementName = pathElement.nodeName.toLowerCase() ;
|
204
|
-
|
205
|
-
if ( pathElementName == this.Element )
|
206
|
-
{
|
207
|
-
// Remove any attribute that conflict with this style, no
|
208
|
-
// matter their values.
|
209
|
-
for ( var att in styleAttribs )
|
210
|
-
{
|
211
|
-
if ( FCKDomTools.HasAttribute( pathElement, att ) )
|
212
|
-
{
|
213
|
-
switch ( att )
|
214
|
-
{
|
215
|
-
case 'style' :
|
216
|
-
this._RemoveStylesFromElement( pathElement ) ;
|
217
|
-
break ;
|
218
|
-
|
219
|
-
case 'class' :
|
220
|
-
// The 'class' element value must match (#1318).
|
221
|
-
if ( FCKDomTools.GetAttributeValue( pathElement, att ) != this.GetFinalAttributeValue( att ) )
|
222
|
-
continue ;
|
223
|
-
|
224
|
-
default :
|
225
|
-
FCKDomTools.RemoveAttribute( pathElement, att ) ;
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}
|
230
|
-
|
231
|
-
// Remove overrides defined to the same element name.
|
232
|
-
this._RemoveOverrides( pathElement, styleOverrides[ pathElementName ] ) ;
|
233
|
-
|
234
|
-
// Remove the element if no more attributes are available and it's an inline style element
|
235
|
-
if ( this.GetType() == FCK_STYLE_INLINE)
|
236
|
-
this._RemoveNoAttribElement( pathElement ) ;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
else if ( isBoundary )
|
240
|
-
boundaryElements.push( pathElement ) ;
|
241
|
-
|
242
|
-
// Check if we are still in a boundary (at the same side).
|
243
|
-
isBoundary = isBoundary && ( ( isBoundaryRight && !FCKDomTools.GetNextSibling( pathElement ) ) || ( !isBoundaryRight && !FCKDomTools.GetPreviousSibling( pathElement ) ) ) ;
|
244
|
-
|
245
|
-
// If we are in an element that is not anymore a boundary, or
|
246
|
-
// we are at the last element, let's move things outside the
|
247
|
-
// boundary (if available).
|
248
|
-
if ( lastBoundaryElement && ( !isBoundary || ( i == path.Elements.length - 1 ) ) )
|
249
|
-
{
|
250
|
-
// Remove the bookmark node from the DOM.
|
251
|
-
var currentElement = FCKDomTools.RemoveNode( bookmarkStart ) ;
|
252
|
-
|
253
|
-
// Build the collapsed group of elements that are not
|
254
|
-
// removed by this style, but share the boundary.
|
255
|
-
// (see comment 1 and 2 at #1270)
|
256
|
-
for ( var j = 0 ; j <= boundaryLimitIndex ; j++ )
|
257
|
-
{
|
258
|
-
var newElement = FCKDomTools.CloneElement( boundaryElements[j] ) ;
|
259
|
-
newElement.appendChild( currentElement ) ;
|
260
|
-
currentElement = newElement ;
|
261
|
-
}
|
262
|
-
|
263
|
-
// Re-insert the bookmark node (and the collapsed elements)
|
264
|
-
// in the DOM, in the new position next to the styled element.
|
265
|
-
if ( isBoundaryRight )
|
266
|
-
FCKDomTools.InsertAfterNode( lastBoundaryElement, currentElement ) ;
|
267
|
-
else
|
268
|
-
lastBoundaryElement.parentNode.insertBefore( currentElement, lastBoundaryElement ) ;
|
269
|
-
|
270
|
-
isBoundary = false ;
|
271
|
-
lastBoundaryElement = null ;
|
272
|
-
}
|
273
|
-
}
|
274
|
-
|
275
|
-
// Re-select the original range.
|
276
|
-
if ( selectIt )
|
277
|
-
range.SelectBookmark( bookmark ) ;
|
278
|
-
|
279
|
-
if ( updateRange )
|
280
|
-
range.MoveToBookmark( bookmark ) ;
|
281
|
-
|
282
|
-
return ;
|
283
|
-
}
|
284
|
-
|
285
|
-
// Expand the range, if inside inline element boundaries.
|
286
|
-
range.Expand( 'inline_elements' ) ;
|
287
|
-
|
288
|
-
// Bookmark the range so we can re-select it after processing.
|
289
|
-
bookmark = range.CreateBookmark( true ) ;
|
290
|
-
|
291
|
-
// The style will be applied within the bookmark boundaries.
|
292
|
-
var startNode = range.GetBookmarkNode( bookmark, true ) ;
|
293
|
-
var endNode = range.GetBookmarkNode( bookmark, false ) ;
|
294
|
-
|
295
|
-
range.Release( true ) ;
|
296
|
-
|
297
|
-
// We need to check the selection boundaries (bookmark spans) to break
|
298
|
-
// the code in a way that we can properly remove partially selected nodes.
|
299
|
-
// For example, removing a <b> style from
|
300
|
-
// <b>This is [some text</b> to show <b>the] problem</b>
|
301
|
-
// ... where [ and ] represent the selection, must result:
|
302
|
-
// <b>This is </b>[some text to show the]<b> problem</b>
|
303
|
-
// The strategy is simple, we just break the partial nodes before the
|
304
|
-
// removal logic, having something that could be represented this way:
|
305
|
-
// <b>This is </b>[<b>some text</b> to show <b>the</b>]<b> problem</b>
|
306
|
-
|
307
|
-
// Let's start checking the start boundary.
|
308
|
-
var path = new FCKElementPath( startNode ) ;
|
309
|
-
var pathElements = path.Elements ;
|
310
|
-
var pathElement ;
|
311
|
-
|
312
|
-
for ( var i = 1 ; i < pathElements.length ; i++ )
|
313
|
-
{
|
314
|
-
pathElement = pathElements[i] ;
|
315
|
-
|
316
|
-
if ( pathElement == path.Block || pathElement == path.BlockLimit )
|
317
|
-
break ;
|
318
|
-
|
319
|
-
// If this element can be removed (even partially).
|
320
|
-
if ( this.CheckElementRemovable( pathElement ) )
|
321
|
-
FCKDomTools.BreakParent( startNode, pathElement, range ) ;
|
322
|
-
}
|
323
|
-
|
324
|
-
// Now the end boundary.
|
325
|
-
path = new FCKElementPath( endNode ) ;
|
326
|
-
pathElements = path.Elements ;
|
327
|
-
|
328
|
-
for ( var i = 1 ; i < pathElements.length ; i++ )
|
329
|
-
{
|
330
|
-
pathElement = pathElements[i] ;
|
331
|
-
|
332
|
-
if ( pathElement == path.Block || pathElement == path.BlockLimit )
|
333
|
-
break ;
|
334
|
-
|
335
|
-
elementName = pathElement.nodeName.toLowerCase() ;
|
336
|
-
|
337
|
-
// If this element can be removed (even partially).
|
338
|
-
if ( this.CheckElementRemovable( pathElement ) )
|
339
|
-
FCKDomTools.BreakParent( endNode, pathElement, range ) ;
|
340
|
-
}
|
341
|
-
|
342
|
-
// Navigate through all nodes between the bookmarks.
|
343
|
-
var currentNode = FCKDomTools.GetNextSourceNode( startNode, true ) ;
|
344
|
-
|
345
|
-
while ( currentNode )
|
346
|
-
{
|
347
|
-
// Cache the next node to be processed. Do it now, because
|
348
|
-
// currentNode may be removed.
|
349
|
-
var nextNode = FCKDomTools.GetNextSourceNode( currentNode ) ;
|
350
|
-
|
351
|
-
// Remove elements nodes that match with this style rules.
|
352
|
-
if ( currentNode.nodeType == 1 )
|
353
|
-
{
|
354
|
-
var elementName = currentNode.nodeName.toLowerCase() ;
|
355
|
-
|
356
|
-
var mayRemove = ( elementName == this.Element ) ;
|
357
|
-
if ( mayRemove )
|
358
|
-
{
|
359
|
-
// Remove any attribute that conflict with this style, no matter
|
360
|
-
// their values.
|
361
|
-
for ( var att in styleAttribs )
|
362
|
-
{
|
363
|
-
if ( FCKDomTools.HasAttribute( currentNode, att ) )
|
364
|
-
{
|
365
|
-
switch ( att )
|
366
|
-
{
|
367
|
-
case 'style' :
|
368
|
-
this._RemoveStylesFromElement( currentNode ) ;
|
369
|
-
break ;
|
370
|
-
|
371
|
-
case 'class' :
|
372
|
-
// The 'class' element value must match (#1318).
|
373
|
-
if ( FCKDomTools.GetAttributeValue( currentNode, att ) != this.GetFinalAttributeValue( att ) )
|
374
|
-
continue ;
|
375
|
-
|
376
|
-
default :
|
377
|
-
FCKDomTools.RemoveAttribute( currentNode, att ) ;
|
378
|
-
}
|
379
|
-
}
|
380
|
-
}
|
381
|
-
}
|
382
|
-
else
|
383
|
-
mayRemove = !!styleOverrides[ elementName ] ;
|
384
|
-
|
385
|
-
if ( mayRemove )
|
386
|
-
{
|
387
|
-
// Remove overrides defined to the same element name.
|
388
|
-
this._RemoveOverrides( currentNode, styleOverrides[ elementName ] ) ;
|
389
|
-
|
390
|
-
// Remove the element if no more attributes are available.
|
391
|
-
this._RemoveNoAttribElement( currentNode ) ;
|
392
|
-
}
|
393
|
-
}
|
394
|
-
|
395
|
-
// If we have reached the end of the selection, stop looping.
|
396
|
-
if ( nextNode == endNode )
|
397
|
-
break ;
|
398
|
-
|
399
|
-
currentNode = nextNode ;
|
400
|
-
}
|
401
|
-
|
402
|
-
this._FixBookmarkStart( startNode ) ;
|
403
|
-
|
404
|
-
// Re-select the original range.
|
405
|
-
if ( selectIt )
|
406
|
-
range.SelectBookmark( bookmark ) ;
|
407
|
-
|
408
|
-
if ( updateRange )
|
409
|
-
range.MoveToBookmark( bookmark ) ;
|
410
|
-
},
|
411
|
-
|
412
|
-
/**
|
413
|
-
* Checks if an element, or any of its attributes, is removable by the
|
414
|
-
* current style definition.
|
415
|
-
*/
|
416
|
-
CheckElementRemovable : function( element, fullMatch )
|
417
|
-
{
|
418
|
-
if ( !element )
|
419
|
-
return false ;
|
420
|
-
|
421
|
-
var elementName = element.nodeName.toLowerCase() ;
|
422
|
-
|
423
|
-
// If the element name is the same as the style name.
|
424
|
-
if ( elementName == this.Element )
|
425
|
-
{
|
426
|
-
// If no attributes are defined in the element.
|
427
|
-
if ( !fullMatch && !FCKDomTools.HasAttributes( element ) )
|
428
|
-
return true ;
|
429
|
-
|
430
|
-
// If any attribute conflicts with the style attributes.
|
431
|
-
var attribs = this._GetAttribsForComparison() ;
|
432
|
-
var allMatched = ( attribs._length == 0 ) ;
|
433
|
-
for ( var att in attribs )
|
434
|
-
{
|
435
|
-
if ( att == '_length' )
|
436
|
-
continue ;
|
437
|
-
|
438
|
-
if ( this._CompareAttributeValues( att, FCKDomTools.GetAttributeValue( element, att ), ( this.GetFinalAttributeValue( att ) || '' ) ) )
|
439
|
-
{
|
440
|
-
allMatched = true ;
|
441
|
-
if ( !fullMatch )
|
442
|
-
break ;
|
443
|
-
}
|
444
|
-
else
|
445
|
-
{
|
446
|
-
allMatched = false ;
|
447
|
-
if ( fullMatch )
|
448
|
-
return false ;
|
449
|
-
}
|
450
|
-
}
|
451
|
-
if ( allMatched )
|
452
|
-
return true ;
|
453
|
-
}
|
454
|
-
|
455
|
-
// Check if the element can be somehow overriden.
|
456
|
-
var override = this._GetOverridesForComparison()[ elementName ] ;
|
457
|
-
if ( override )
|
458
|
-
{
|
459
|
-
// If no attributes have been defined, remove the element.
|
460
|
-
if ( !( attribs = override.Attributes ) ) // Only one "="
|
461
|
-
return true ;
|
462
|
-
|
463
|
-
for ( var i = 0 ; i < attribs.length ; i++ )
|
464
|
-
{
|
465
|
-
var attName = attribs[i][0] ;
|
466
|
-
if ( FCKDomTools.HasAttribute( element, attName ) )
|
467
|
-
{
|
468
|
-
var attValue = attribs[i][1] ;
|
469
|
-
|
470
|
-
// Remove the attribute if:
|
471
|
-
// - The override definition value is null ;
|
472
|
-
// - The override definition valie is a string that
|
473
|
-
// matches the attribute value exactly.
|
474
|
-
// - The override definition value is a regex that
|
475
|
-
// has matches in the attribute value.
|
476
|
-
if ( attValue == null ||
|
477
|
-
( typeof attValue == 'string' && FCKDomTools.GetAttributeValue( element, attName ) == attValue ) ||
|
478
|
-
attValue.test( FCKDomTools.GetAttributeValue( element, attName ) ) )
|
479
|
-
return true ;
|
480
|
-
}
|
481
|
-
}
|
482
|
-
}
|
483
|
-
|
484
|
-
return false ;
|
485
|
-
},
|
486
|
-
|
487
|
-
/**
|
488
|
-
* Get the style state for an element path. Returns "true" if the element
|
489
|
-
* is active in the path.
|
490
|
-
*/
|
491
|
-
CheckActive : function( elementPath )
|
492
|
-
{
|
493
|
-
switch ( this.GetType() )
|
494
|
-
{
|
495
|
-
case FCK_STYLE_BLOCK :
|
496
|
-
return this.CheckElementRemovable( elementPath.Block || elementPath.BlockLimit, true ) ;
|
497
|
-
|
498
|
-
case FCK_STYLE_INLINE :
|
499
|
-
|
500
|
-
var elements = elementPath.Elements ;
|
501
|
-
|
502
|
-
for ( var i = 0 ; i < elements.length ; i++ )
|
503
|
-
{
|
504
|
-
var element = elements[i] ;
|
505
|
-
|
506
|
-
if ( element == elementPath.Block || element == elementPath.BlockLimit )
|
507
|
-
continue ;
|
508
|
-
|
509
|
-
if ( this.CheckElementRemovable( element, true ) )
|
510
|
-
return true ;
|
511
|
-
}
|
512
|
-
}
|
513
|
-
return false ;
|
514
|
-
},
|
515
|
-
|
516
|
-
/**
|
517
|
-
* Removes an inline style from inside an element tree. The element node
|
518
|
-
* itself is not checked or removed, only the child tree inside of it.
|
519
|
-
*/
|
520
|
-
RemoveFromElement : function( element )
|
521
|
-
{
|
522
|
-
var attribs = this._GetAttribsForComparison() ;
|
523
|
-
var overrides = this._GetOverridesForComparison() ;
|
524
|
-
|
525
|
-
// Get all elements with the same name.
|
526
|
-
var innerElements = element.getElementsByTagName( this.Element ) ;
|
527
|
-
|
528
|
-
for ( var i = innerElements.length - 1 ; i >= 0 ; i-- )
|
529
|
-
{
|
530
|
-
var innerElement = innerElements[i] ;
|
531
|
-
|
532
|
-
// Remove any attribute that conflict with this style, no matter
|
533
|
-
// their values.
|
534
|
-
for ( var att in attribs )
|
535
|
-
{
|
536
|
-
if ( FCKDomTools.HasAttribute( innerElement, att ) )
|
537
|
-
{
|
538
|
-
switch ( att )
|
539
|
-
{
|
540
|
-
case 'style' :
|
541
|
-
this._RemoveStylesFromElement( innerElement ) ;
|
542
|
-
break ;
|
543
|
-
|
544
|
-
case 'class' :
|
545
|
-
// The 'class' element value must match (#1318).
|
546
|
-
if ( FCKDomTools.GetAttributeValue( innerElement, att ) != this.GetFinalAttributeValue( att ) )
|
547
|
-
continue ;
|
548
|
-
|
549
|
-
default :
|
550
|
-
FCKDomTools.RemoveAttribute( innerElement, att ) ;
|
551
|
-
}
|
552
|
-
}
|
553
|
-
}
|
554
|
-
|
555
|
-
// Remove overrides defined to the same element name.
|
556
|
-
this._RemoveOverrides( innerElement, overrides[ this.Element ] ) ;
|
557
|
-
|
558
|
-
// Remove the element if no more attributes are available.
|
559
|
-
this._RemoveNoAttribElement( innerElement ) ;
|
560
|
-
}
|
561
|
-
|
562
|
-
// Now remove any other element with different name that is
|
563
|
-
// defined to be overriden.
|
564
|
-
for ( var overrideElement in overrides )
|
565
|
-
{
|
566
|
-
if ( overrideElement != this.Element )
|
567
|
-
{
|
568
|
-
// Get all elements.
|
569
|
-
innerElements = element.getElementsByTagName( overrideElement ) ;
|
570
|
-
|
571
|
-
for ( var i = innerElements.length - 1 ; i >= 0 ; i-- )
|
572
|
-
{
|
573
|
-
var innerElement = innerElements[i] ;
|
574
|
-
this._RemoveOverrides( innerElement, overrides[ overrideElement ] ) ;
|
575
|
-
this._RemoveNoAttribElement( innerElement ) ;
|
576
|
-
}
|
577
|
-
}
|
578
|
-
}
|
579
|
-
},
|
580
|
-
|
581
|
-
_RemoveStylesFromElement : function( element )
|
582
|
-
{
|
583
|
-
var elementStyle = element.style.cssText ;
|
584
|
-
var pattern = this.GetFinalStyleValue() ;
|
585
|
-
|
586
|
-
if ( elementStyle.length > 0 && pattern.length == 0 )
|
587
|
-
return ;
|
588
|
-
|
589
|
-
pattern = '(^|;)\\s*(' +
|
590
|
-
pattern.replace( /\s*([^ ]+):.*?(;|$)/g, '$1|' ).replace( /\|$/, '' ) +
|
591
|
-
'):[^;]+' ;
|
592
|
-
|
593
|
-
var regex = new RegExp( pattern, 'gi' ) ;
|
594
|
-
|
595
|
-
elementStyle = elementStyle.replace( regex, '' ).Trim() ;
|
596
|
-
|
597
|
-
if ( elementStyle.length == 0 || elementStyle == ';' )
|
598
|
-
FCKDomTools.RemoveAttribute( element, 'style' ) ;
|
599
|
-
else
|
600
|
-
element.style.cssText = elementStyle.replace( regex, '' ) ;
|
601
|
-
},
|
602
|
-
|
603
|
-
/**
|
604
|
-
* Remove all attributes that are defined to be overriden,
|
605
|
-
*/
|
606
|
-
_RemoveOverrides : function( element, override )
|
607
|
-
{
|
608
|
-
var attributes = override && override.Attributes ;
|
609
|
-
|
610
|
-
if ( attributes )
|
611
|
-
{
|
612
|
-
for ( var i = 0 ; i < attributes.length ; i++ )
|
613
|
-
{
|
614
|
-
var attName = attributes[i][0] ;
|
615
|
-
|
616
|
-
if ( FCKDomTools.HasAttribute( element, attName ) )
|
617
|
-
{
|
618
|
-
var attValue = attributes[i][1] ;
|
619
|
-
|
620
|
-
// Remove the attribute if:
|
621
|
-
// - The override definition value is null ;
|
622
|
-
// - The override definition valie is a string that
|
623
|
-
// matches the attribute value exactly.
|
624
|
-
// - The override definition value is a regex that
|
625
|
-
// has matches in the attribute value.
|
626
|
-
if ( attValue == null ||
|
627
|
-
( attValue.test && attValue.test( FCKDomTools.GetAttributeValue( element, attName ) ) ) ||
|
628
|
-
( typeof attValue == 'string' && FCKDomTools.GetAttributeValue( element, attName ) == attValue ) )
|
629
|
-
FCKDomTools.RemoveAttribute( element, attName ) ;
|
630
|
-
}
|
631
|
-
}
|
632
|
-
}
|
633
|
-
},
|
634
|
-
|
635
|
-
/**
|
636
|
-
* If the element has no more attributes, remove it.
|
637
|
-
*/
|
638
|
-
_RemoveNoAttribElement : function( element )
|
639
|
-
{
|
640
|
-
// If no more attributes remained in the element, remove it,
|
641
|
-
// leaving its children.
|
642
|
-
if ( !FCKDomTools.HasAttributes( element ) )
|
643
|
-
{
|
644
|
-
// Removing elements may open points where merging is possible,
|
645
|
-
// so let's cache the first and last nodes for later checking.
|
646
|
-
var firstChild = element.firstChild ;
|
647
|
-
var lastChild = element.lastChild ;
|
648
|
-
|
649
|
-
FCKDomTools.RemoveNode( element, true ) ;
|
650
|
-
|
651
|
-
// Check the cached nodes for merging.
|
652
|
-
this._MergeSiblings( firstChild ) ;
|
653
|
-
|
654
|
-
if ( firstChild != lastChild )
|
655
|
-
this._MergeSiblings( lastChild ) ;
|
656
|
-
}
|
657
|
-
},
|
658
|
-
|
659
|
-
/**
|
660
|
-
* Creates a DOM element for this style object.
|
661
|
-
*/
|
662
|
-
BuildElement : function( targetDoc, element )
|
663
|
-
{
|
664
|
-
// Create the element.
|
665
|
-
var el = element || targetDoc.createElement( this.Element ) ;
|
666
|
-
|
667
|
-
// Assign all defined attributes.
|
668
|
-
var attribs = this._StyleDesc.Attributes ;
|
669
|
-
var attValue ;
|
670
|
-
if ( attribs )
|
671
|
-
{
|
672
|
-
for ( var att in attribs )
|
673
|
-
{
|
674
|
-
attValue = this.GetFinalAttributeValue( att ) ;
|
675
|
-
|
676
|
-
if ( att.toLowerCase() == 'class' )
|
677
|
-
el.className = attValue ;
|
678
|
-
else
|
679
|
-
el.setAttribute( att, attValue ) ;
|
680
|
-
}
|
681
|
-
}
|
682
|
-
|
683
|
-
// Assign the style attribute.
|
684
|
-
if ( this._GetStyleText().length > 0 )
|
685
|
-
el.style.cssText = this.GetFinalStyleValue() ;
|
686
|
-
|
687
|
-
return el ;
|
688
|
-
},
|
689
|
-
|
690
|
-
_CompareAttributeValues : function( attName, valueA, valueB )
|
691
|
-
{
|
692
|
-
if ( attName == 'style' && valueA && valueB )
|
693
|
-
{
|
694
|
-
valueA = valueA.replace( /;$/, '' ).toLowerCase() ;
|
695
|
-
valueB = valueB.replace( /;$/, '' ).toLowerCase() ;
|
696
|
-
}
|
697
|
-
|
698
|
-
// Return true if they match or if valueA is null and valueB is an empty string
|
699
|
-
return ( valueA == valueB || ( ( valueA === null || valueA === '' ) && ( valueB === null || valueB === '' ) ) )
|
700
|
-
},
|
701
|
-
|
702
|
-
GetFinalAttributeValue : function( attName )
|
703
|
-
{
|
704
|
-
var attValue = this._StyleDesc.Attributes ;
|
705
|
-
var attValue = attValue ? attValue[ attName ] : null ;
|
706
|
-
|
707
|
-
if ( !attValue && attName == 'style' )
|
708
|
-
return this.GetFinalStyleValue() ;
|
709
|
-
|
710
|
-
if ( attValue && this._Variables )
|
711
|
-
// Using custom Replace() to guarantee the correct scope.
|
712
|
-
attValue = attValue.Replace( FCKRegexLib.StyleVariableAttName, this._GetVariableReplace, this ) ;
|
713
|
-
|
714
|
-
return attValue ;
|
715
|
-
},
|
716
|
-
|
717
|
-
GetFinalStyleValue : function()
|
718
|
-
{
|
719
|
-
var attValue = this._GetStyleText() ;
|
720
|
-
|
721
|
-
if ( attValue.length > 0 && this._Variables )
|
722
|
-
{
|
723
|
-
// Using custom Replace() to guarantee the correct scope.
|
724
|
-
attValue = attValue.Replace( FCKRegexLib.StyleVariableAttName, this._GetVariableReplace, this ) ;
|
725
|
-
attValue = FCKTools.NormalizeCssText( attValue ) ;
|
726
|
-
}
|
727
|
-
|
728
|
-
return attValue ;
|
729
|
-
},
|
730
|
-
|
731
|
-
_GetVariableReplace : function()
|
732
|
-
{
|
733
|
-
// The second group in the regex is the variable name.
|
734
|
-
return this._Variables[ arguments[2] ] || arguments[0] ;
|
735
|
-
},
|
736
|
-
|
737
|
-
/**
|
738
|
-
* Set the value of a variable attribute or style, to be used when
|
739
|
-
* appliying the style.
|
740
|
-
*/
|
741
|
-
SetVariable : function( name, value )
|
742
|
-
{
|
743
|
-
var variables = this._Variables ;
|
744
|
-
|
745
|
-
if ( !variables )
|
746
|
-
variables = this._Variables = {} ;
|
747
|
-
|
748
|
-
this._Variables[ name ] = value ;
|
749
|
-
},
|
750
|
-
|
751
|
-
/**
|
752
|
-
* Converting from a PRE block to a non-PRE block in formatting operations.
|
753
|
-
*/
|
754
|
-
_FromPre : function( doc, block, newBlock )
|
755
|
-
{
|
756
|
-
var innerHTML = block.innerHTML ;
|
757
|
-
|
758
|
-
// Trim the first and last linebreaks immediately after and before <pre>, </pre>,
|
759
|
-
// if they exist.
|
760
|
-
// This is done because the linebreaks are not rendered.
|
761
|
-
innerHTML = innerHTML.replace( /(\r\n|\r)/g, '\n' ) ;
|
762
|
-
innerHTML = innerHTML.replace( /^[ \t]*\n/, '' ) ;
|
763
|
-
innerHTML = innerHTML.replace( /\n$/, '' ) ;
|
764
|
-
|
765
|
-
// 1. Convert spaces or tabs at the beginning or at the end to
|
766
|
-
innerHTML = innerHTML.replace( /^[ \t]+|[ \t]+$/g, function( match, offset, s )
|
767
|
-
{
|
768
|
-
if ( match.length == 1 ) // one space, preserve it
|
769
|
-
return ' ' ;
|
770
|
-
else if ( offset == 0 ) // beginning of block
|
771
|
-
return new Array( match.length ).join( ' ' ) + ' ' ;
|
772
|
-
else // end of block
|
773
|
-
return ' ' + new Array( match.length ).join( ' ' ) ;
|
774
|
-
} ) ;
|
775
|
-
|
776
|
-
// 2. Convert \n to <BR>.
|
777
|
-
// 3. Convert contiguous (i.e. non-singular) spaces or tabs to
|
778
|
-
var htmlIterator = new FCKHtmlIterator( innerHTML ) ;
|
779
|
-
var results = [] ;
|
780
|
-
htmlIterator.Each( function( isTag, value )
|
781
|
-
{
|
782
|
-
if ( !isTag )
|
783
|
-
{
|
784
|
-
value = value.replace( /\n/g, '<BR>' ) ;
|
785
|
-
value = value.replace( /[ \t]{2,}/g,
|
786
|
-
function ( match )
|
787
|
-
{
|
788
|
-
return new Array( match.length ).join( ' ' ) + ' ' ;
|
789
|
-
} ) ;
|
790
|
-
}
|
791
|
-
results.push( value ) ;
|
792
|
-
} ) ;
|
793
|
-
newBlock.innerHTML = results.join( '' ) ;
|
794
|
-
return newBlock ;
|
795
|
-
},
|
796
|
-
|
797
|
-
/**
|
798
|
-
* Converting from a non-PRE block to a PRE block in formatting operations.
|
799
|
-
*/
|
800
|
-
_ToPre : function( doc, block, newBlock )
|
801
|
-
{
|
802
|
-
// Handle converting from a regular block to a <pre> block.
|
803
|
-
var innerHTML = block.innerHTML.Trim() ;
|
804
|
-
|
805
|
-
// 1. Delete ANSI whitespaces immediately before and after <BR> because they are not visible.
|
806
|
-
// 2. Mark down any <BR /> nodes here so they can be turned into \n in the next step and avoid being compressed.
|
807
|
-
innerHTML = innerHTML.replace( /[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, '<BR />' ) ;
|
808
|
-
|
809
|
-
// 3. Compress other ANSI whitespaces since they're only visible as one single space previously.
|
810
|
-
// 4. Convert to spaces since is no longer needed in <PRE>.
|
811
|
-
// 5. Convert any <BR /> to \n. This must not be done earlier because the \n would then get compressed.
|
812
|
-
var htmlIterator = new FCKHtmlIterator( innerHTML ) ;
|
813
|
-
var results = [] ;
|
814
|
-
htmlIterator.Each( function( isTag, value )
|
815
|
-
{
|
816
|
-
if ( !isTag )
|
817
|
-
value = value.replace( /([ \t\n\r]+| )/g, ' ' ) ;
|
818
|
-
else if ( isTag && value == '<BR />' )
|
819
|
-
value = '\n' ;
|
820
|
-
results.push( value ) ;
|
821
|
-
} ) ;
|
822
|
-
|
823
|
-
// Assigning innerHTML to <PRE> in IE causes all linebreaks to be reduced to spaces.
|
824
|
-
// Assigning outerHTML to <PRE> in IE doesn't work if the <PRE> isn't contained in another node
|
825
|
-
// since the node reference is changed after outerHTML assignment.
|
826
|
-
// So, we need some hacks to workaround IE bugs here.
|
827
|
-
if ( FCKBrowserInfo.IsIE )
|
828
|
-
{
|
829
|
-
var temp = doc.createElement( 'div' ) ;
|
830
|
-
temp.appendChild( newBlock ) ;
|
831
|
-
newBlock.outerHTML = '<PRE>\n' + results.join( '' ) + '</PRE>' ;
|
832
|
-
newBlock = temp.removeChild( temp.firstChild ) ;
|
833
|
-
}
|
834
|
-
else
|
835
|
-
newBlock.innerHTML = results.join( '' ) ;
|
836
|
-
return newBlock ;
|
837
|
-
},
|
838
|
-
|
839
|
-
/**
|
840
|
-
* Apply an inline style to a FCKDomRange.
|
841
|
-
*
|
842
|
-
* TODO
|
843
|
-
* - Implement the "#" style handling.
|
844
|
-
* - Properly handle block containers like <div> and <blockquote>.
|
845
|
-
*/
|
846
|
-
_ApplyBlockStyle : function( range, selectIt, updateRange )
|
847
|
-
{
|
848
|
-
// Bookmark the range so we can re-select it after processing.
|
849
|
-
var bookmark ;
|
850
|
-
|
851
|
-
if ( selectIt )
|
852
|
-
bookmark = range.CreateBookmark() ;
|
853
|
-
|
854
|
-
var iterator = new FCKDomRangeIterator( range ) ;
|
855
|
-
iterator.EnforceRealBlocks = true ;
|
856
|
-
|
857
|
-
var block ;
|
858
|
-
var doc = range.Window.document ;
|
859
|
-
|
860
|
-
var preBlocks = [] ;
|
861
|
-
var convertedPreBlocks = [] ;
|
862
|
-
|
863
|
-
while( ( block = iterator.GetNextParagraph() ) ) // Only one =
|
864
|
-
{
|
865
|
-
// Create the new node right before the current one.
|
866
|
-
var newBlock = this.BuildElement( doc ) ;
|
867
|
-
|
868
|
-
// Move everything from the current node to the new one.
|
869
|
-
var newBlockIsPre = newBlock.nodeName.IEquals( 'pre' ) ;
|
870
|
-
var blockIsPre = block.nodeName.IEquals( 'pre' ) ;
|
871
|
-
if ( newBlockIsPre && !blockIsPre )
|
872
|
-
{
|
873
|
-
newBlock = this._ToPre( doc, block, newBlock ) ;
|
874
|
-
preBlocks.push( newBlock ) ;
|
875
|
-
}
|
876
|
-
else if ( !newBlockIsPre && blockIsPre )
|
877
|
-
{
|
878
|
-
newBlock = this._FromPre( doc, block, newBlock ) ;
|
879
|
-
convertedPreBlocks.push( newBlock ) ;
|
880
|
-
}
|
881
|
-
else // Convering from a regular block to another regular block.
|
882
|
-
FCKDomTools.MoveChildren( block, newBlock ) ;
|
883
|
-
|
884
|
-
// Replace the current block.
|
885
|
-
block.parentNode.insertBefore( newBlock, block ) ;
|
886
|
-
FCKDomTools.RemoveNode( block ) ;
|
887
|
-
}
|
888
|
-
|
889
|
-
// Merge adjacent <PRE> blocks for #1229.
|
890
|
-
for ( var i = 0 ; i < preBlocks.length - 1 ; i++ )
|
891
|
-
{
|
892
|
-
// Check if the next block in HTML equals the next <PRE> block generated.
|
893
|
-
if ( FCKDomTools.GetNextSourceElement( preBlocks[i], true, [], [], true ) != preBlocks[i+1] )
|
894
|
-
continue ;
|
895
|
-
|
896
|
-
// Merge the upper <PRE> block's content into the lower <PRE> block.
|
897
|
-
// Remove the upper <PRE> block.
|
898
|
-
preBlocks[i+1].innerHTML = preBlocks[i].innerHTML + '\n\n' + preBlocks[i+1].innerHTML ;
|
899
|
-
FCKDomTools.RemoveNode( preBlocks[i] ) ;
|
900
|
-
}
|
901
|
-
|
902
|
-
// Split converted <PRE> blocks for #1229.
|
903
|
-
for ( var i = 0 ; i < convertedPreBlocks.length ; i++ )
|
904
|
-
{
|
905
|
-
var currentBlock = convertedPreBlocks[i] ;
|
906
|
-
var lastNewBlock = null ;
|
907
|
-
for ( var j = 0 ; j < currentBlock.childNodes.length ; j++ )
|
908
|
-
{
|
909
|
-
var cursor = currentBlock.childNodes[j] ;
|
910
|
-
|
911
|
-
// If we have two <BR>s, and they're not at the beginning or the end,
|
912
|
-
// then we'll split up the contents following them into another block.
|
913
|
-
if ( cursor.nodeName.IEquals( 'br' ) && j != 0 && j != currentBlock.childNodes.length - 2
|
914
|
-
&& cursor.nextSibling && cursor.nextSibling.nodeName.IEquals( 'br' ) )
|
915
|
-
{
|
916
|
-
FCKDomTools.RemoveNode( cursor.nextSibling ) ;
|
917
|
-
FCKDomTools.RemoveNode( cursor ) ;
|
918
|
-
j-- ; // restart at current index at next iteration
|
919
|
-
lastNewBlock = FCKDomTools.InsertAfterNode( lastNewBlock || currentBlock, doc.createElement( currentBlock.nodeName ) ) ;
|
920
|
-
continue ;
|
921
|
-
}
|
922
|
-
|
923
|
-
if ( lastNewBlock )
|
924
|
-
{
|
925
|
-
FCKDomTools.MoveNode( cursor, lastNewBlock ) ;
|
926
|
-
j-- ; // restart at current index at next iteration
|
927
|
-
}
|
928
|
-
}
|
929
|
-
}
|
930
|
-
|
931
|
-
// Re-select the original range.
|
932
|
-
if ( selectIt )
|
933
|
-
range.SelectBookmark( bookmark ) ;
|
934
|
-
|
935
|
-
if ( updateRange )
|
936
|
-
range.MoveToBookmark( bookmark ) ;
|
937
|
-
},
|
938
|
-
|
939
|
-
/**
|
940
|
-
* Apply an inline style to a FCKDomRange.
|
941
|
-
*
|
942
|
-
* TODO
|
943
|
-
* - Merge elements, when applying styles to similar elements that enclose
|
944
|
-
* the entire selection, outputing:
|
945
|
-
* <span style="color: #ff0000; background-color: #ffffff">XYZ</span>
|
946
|
-
* instead of:
|
947
|
-
* <span style="color: #ff0000;"><span style="background-color: #ffffff">XYZ</span></span>
|
948
|
-
*/
|
949
|
-
_ApplyInlineStyle : function( range, selectIt, updateRange )
|
950
|
-
{
|
951
|
-
var doc = range.Window.document ;
|
952
|
-
|
953
|
-
if ( range.CheckIsCollapsed() )
|
954
|
-
{
|
955
|
-
// Create the element to be inserted in the DOM.
|
956
|
-
var collapsedElement = this.BuildElement( doc ) ;
|
957
|
-
range.InsertNode( collapsedElement ) ;
|
958
|
-
range.MoveToPosition( collapsedElement, 2 ) ;
|
959
|
-
range.Select() ;
|
960
|
-
|
961
|
-
return ;
|
962
|
-
}
|
963
|
-
|
964
|
-
// The general idea here is navigating through all nodes inside the
|
965
|
-
// current selection, working on distinct range blocks, defined by the
|
966
|
-
// DTD compatibility between the style element and the nodes inside the
|
967
|
-
// ranges.
|
968
|
-
//
|
969
|
-
// For example, suppose we have the following selection (where [ and ]
|
970
|
-
// are the boundaries), and we apply a <b> style there:
|
971
|
-
//
|
972
|
-
// <p>Here we [have <b>some</b> text.<p>
|
973
|
-
// <p>And some here] here.</p>
|
974
|
-
//
|
975
|
-
// Two different ranges will be detected:
|
976
|
-
//
|
977
|
-
// "have <b>some</b> text."
|
978
|
-
// "And some here"
|
979
|
-
//
|
980
|
-
// Both ranges will be extracted, moved to a <b> element, and
|
981
|
-
// re-inserted, resulting in the following output:
|
982
|
-
//
|
983
|
-
// <p>Here we [<b>have some text.</b><p>
|
984
|
-
// <p><b>And some here</b>] here.</p>
|
985
|
-
//
|
986
|
-
// Note that the <b> element at <b>some</b> is also removed because it
|
987
|
-
// is not needed anymore.
|
988
|
-
|
989
|
-
var elementName = this.Element ;
|
990
|
-
|
991
|
-
// Get the DTD definition for the element. Defaults to "span".
|
992
|
-
var elementDTD = FCK.DTD[ elementName ] || FCK.DTD.span ;
|
993
|
-
|
994
|
-
// Create the attribute list to be used later for element comparisons.
|
995
|
-
var styleAttribs = this._GetAttribsForComparison() ;
|
996
|
-
var styleNode ;
|
997
|
-
|
998
|
-
// Expand the range, if inside inline element boundaries.
|
999
|
-
range.Expand( 'inline_elements' ) ;
|
1000
|
-
|
1001
|
-
// Bookmark the range so we can re-select it after processing.
|
1002
|
-
var bookmark = range.CreateBookmark( true ) ;
|
1003
|
-
|
1004
|
-
// The style will be applied within the bookmark boundaries.
|
1005
|
-
var startNode = range.GetBookmarkNode( bookmark, true ) ;
|
1006
|
-
var endNode = range.GetBookmarkNode( bookmark, false ) ;
|
1007
|
-
|
1008
|
-
// We'll be reusing the range to apply the styles. So, release it here
|
1009
|
-
// to indicate that it has not been initialized.
|
1010
|
-
range.Release( true ) ;
|
1011
|
-
|
1012
|
-
// Let's start the nodes lookup from the node right after the bookmark
|
1013
|
-
// span.
|
1014
|
-
var currentNode = FCKDomTools.GetNextSourceNode( startNode, true ) ;
|
1015
|
-
|
1016
|
-
while ( currentNode )
|
1017
|
-
{
|
1018
|
-
var applyStyle = false ;
|
1019
|
-
|
1020
|
-
var nodeType = currentNode.nodeType ;
|
1021
|
-
var nodeName = nodeType == 1 ? currentNode.nodeName.toLowerCase() : null ;
|
1022
|
-
|
1023
|
-
// Check if the current node can be a child of the style element.
|
1024
|
-
if ( !nodeName || elementDTD[ nodeName ] )
|
1025
|
-
{
|
1026
|
-
// Check if the style element can be a child of the current
|
1027
|
-
// node parent or if the element is not defined in the DTD.
|
1028
|
-
if ( ( FCK.DTD[ currentNode.parentNode.nodeName.toLowerCase() ] || FCK.DTD.span )[ elementName ] || !FCK.DTD[ elementName ] )
|
1029
|
-
{
|
1030
|
-
// This node will be part of our range, so if it has not
|
1031
|
-
// been started, place its start right before the node.
|
1032
|
-
if ( !range.CheckHasRange() )
|
1033
|
-
range.SetStart( currentNode, 3 ) ;
|
1034
|
-
|
1035
|
-
// Non element nodes, or empty elements can be added
|
1036
|
-
// completely to the range.
|
1037
|
-
if ( nodeType != 1 || currentNode.childNodes.length == 0 )
|
1038
|
-
{
|
1039
|
-
var includedNode = currentNode ;
|
1040
|
-
var parentNode = includedNode.parentNode ;
|
1041
|
-
|
1042
|
-
// This node is about to be included completelly, but,
|
1043
|
-
// if this is the last node in its parent, we must also
|
1044
|
-
// check if the parent itself can be added completelly
|
1045
|
-
// to the range.
|
1046
|
-
while ( includedNode == parentNode.lastChild
|
1047
|
-
&& elementDTD[ parentNode.nodeName.toLowerCase() ] )
|
1048
|
-
{
|
1049
|
-
includedNode = parentNode ;
|
1050
|
-
}
|
1051
|
-
|
1052
|
-
range.SetEnd( includedNode, 4 ) ;
|
1053
|
-
|
1054
|
-
// If the included node is the last node in its parent
|
1055
|
-
// and its parent can't be inside the style node, apply
|
1056
|
-
// the style immediately.
|
1057
|
-
if ( includedNode == includedNode.parentNode.lastChild && !elementDTD[ includedNode.parentNode.nodeName.toLowerCase() ] )
|
1058
|
-
applyStyle = true ;
|
1059
|
-
}
|
1060
|
-
else
|
1061
|
-
{
|
1062
|
-
// Element nodes will not be added directly. We need to
|
1063
|
-
// check their children because the selection could end
|
1064
|
-
// inside the node, so let's place the range end right
|
1065
|
-
// before the element.
|
1066
|
-
range.SetEnd( currentNode, 3 ) ;
|
1067
|
-
}
|
1068
|
-
}
|
1069
|
-
else
|
1070
|
-
applyStyle = true ;
|
1071
|
-
}
|
1072
|
-
else
|
1073
|
-
applyStyle = true ;
|
1074
|
-
|
1075
|
-
// Get the next node to be processed.
|
1076
|
-
currentNode = FCKDomTools.GetNextSourceNode( currentNode ) ;
|
1077
|
-
|
1078
|
-
// If we have reached the end of the selection, just apply the
|
1079
|
-
// style ot the range, and stop looping.
|
1080
|
-
if ( currentNode == endNode )
|
1081
|
-
{
|
1082
|
-
currentNode = null ;
|
1083
|
-
applyStyle = true ;
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
// Apply the style if we have something to which apply it.
|
1087
|
-
if ( applyStyle && range.CheckHasRange() && !range.CheckIsCollapsed() )
|
1088
|
-
{
|
1089
|
-
// Build the style element, based on the style object definition.
|
1090
|
-
styleNode = this.BuildElement( doc ) ;
|
1091
|
-
|
1092
|
-
// Move the contents of the range to the style element.
|
1093
|
-
range.ExtractContents().AppendTo( styleNode ) ;
|
1094
|
-
|
1095
|
-
// If it is not empty.
|
1096
|
-
if ( styleNode.innerHTML.RTrim().length > 0 )
|
1097
|
-
{
|
1098
|
-
// Insert it in the range position (it is collapsed after
|
1099
|
-
// ExtractContents.
|
1100
|
-
range.InsertNode( styleNode ) ;
|
1101
|
-
|
1102
|
-
// Here we do some cleanup, removing all duplicated
|
1103
|
-
// elements from the style element.
|
1104
|
-
this.RemoveFromElement( styleNode ) ;
|
1105
|
-
|
1106
|
-
// Let's merge our new style with its neighbors, if possible.
|
1107
|
-
this._MergeSiblings( styleNode, this._GetAttribsForComparison() ) ;
|
1108
|
-
|
1109
|
-
// As the style system breaks text nodes constantly, let's normalize
|
1110
|
-
// things for performance.
|
1111
|
-
// With IE, some paragraphs get broken when calling normalize()
|
1112
|
-
// repeatedly. Also, for IE, we must normalize body, not documentElement.
|
1113
|
-
// IE is also known for having a "crash effect" with normalize().
|
1114
|
-
// We should try to normalize with IE too in some way, somewhere.
|
1115
|
-
if ( !FCKBrowserInfo.IsIE )
|
1116
|
-
styleNode.normalize() ;
|
1117
|
-
}
|
1118
|
-
|
1119
|
-
// Style applied, let's release the range, so it gets marked to
|
1120
|
-
// re-initialization in the next loop.
|
1121
|
-
range.Release( true ) ;
|
1122
|
-
}
|
1123
|
-
}
|
1124
|
-
|
1125
|
-
this._FixBookmarkStart( startNode ) ;
|
1126
|
-
|
1127
|
-
// Re-select the original range.
|
1128
|
-
if ( selectIt )
|
1129
|
-
range.SelectBookmark( bookmark ) ;
|
1130
|
-
|
1131
|
-
if ( updateRange )
|
1132
|
-
range.MoveToBookmark( bookmark ) ;
|
1133
|
-
},
|
1134
|
-
|
1135
|
-
_FixBookmarkStart : function( startNode )
|
1136
|
-
{
|
1137
|
-
// After appliying or removing an inline style, the start boundary of
|
1138
|
-
// the selection must be placed inside all inline elements it is
|
1139
|
-
// bordering.
|
1140
|
-
var startSibling ;
|
1141
|
-
while ( ( startSibling = startNode.nextSibling ) ) // Only one "=".
|
1142
|
-
{
|
1143
|
-
if ( startSibling.nodeType == 1
|
1144
|
-
&& FCKListsLib.InlineNonEmptyElements[ startSibling.nodeName.toLowerCase() ] )
|
1145
|
-
{
|
1146
|
-
// If it is an empty inline element, we can safely remove it.
|
1147
|
-
if ( !startSibling.firstChild )
|
1148
|
-
FCKDomTools.RemoveNode( startSibling ) ;
|
1149
|
-
else
|
1150
|
-
FCKDomTools.MoveNode( startNode, startSibling, true ) ;
|
1151
|
-
continue ;
|
1152
|
-
}
|
1153
|
-
|
1154
|
-
// Empty text nodes can be safely removed to not disturb.
|
1155
|
-
if ( startSibling.nodeType == 3 && startSibling.length == 0 )
|
1156
|
-
{
|
1157
|
-
FCKDomTools.RemoveNode( startSibling ) ;
|
1158
|
-
continue ;
|
1159
|
-
}
|
1160
|
-
|
1161
|
-
break ;
|
1162
|
-
}
|
1163
|
-
},
|
1164
|
-
|
1165
|
-
/**
|
1166
|
-
* Merge an element with its similar siblings.
|
1167
|
-
* "attribs" is and object computed with _CreateAttribsForComparison.
|
1168
|
-
*/
|
1169
|
-
_MergeSiblings : function( element, attribs )
|
1170
|
-
{
|
1171
|
-
if ( !element || element.nodeType != 1 || !FCKListsLib.InlineNonEmptyElements[ element.nodeName.toLowerCase() ] )
|
1172
|
-
return ;
|
1173
|
-
|
1174
|
-
this._MergeNextSibling( element, attribs ) ;
|
1175
|
-
this._MergePreviousSibling( element, attribs ) ;
|
1176
|
-
},
|
1177
|
-
|
1178
|
-
/**
|
1179
|
-
* Merge an element with its similar siblings after it.
|
1180
|
-
* "attribs" is and object computed with _CreateAttribsForComparison.
|
1181
|
-
*/
|
1182
|
-
_MergeNextSibling : function( element, attribs )
|
1183
|
-
{
|
1184
|
-
// Check the next sibling.
|
1185
|
-
var sibling = element.nextSibling ;
|
1186
|
-
|
1187
|
-
// Check if the next sibling is a bookmark element. In this case, jump it.
|
1188
|
-
var hasBookmark = ( sibling && sibling.nodeType == 1 && sibling.getAttribute( '_fck_bookmark' ) ) ;
|
1189
|
-
if ( hasBookmark )
|
1190
|
-
sibling = sibling.nextSibling ;
|
1191
|
-
|
1192
|
-
if ( sibling && sibling.nodeType == 1 && sibling.nodeName == element.nodeName )
|
1193
|
-
{
|
1194
|
-
if ( !attribs )
|
1195
|
-
attribs = this._CreateElementAttribsForComparison( element ) ;
|
1196
|
-
|
1197
|
-
if ( this._CheckAttributesMatch( sibling, attribs ) )
|
1198
|
-
{
|
1199
|
-
// Save the last child to be checked too (to merge things like <b><i></i></b><b><i></i></b>).
|
1200
|
-
var innerSibling = element.lastChild ;
|
1201
|
-
|
1202
|
-
if ( hasBookmark )
|
1203
|
-
FCKDomTools.MoveNode( element.nextSibling, element ) ;
|
1204
|
-
|
1205
|
-
// Move contents from the sibling.
|
1206
|
-
FCKDomTools.MoveChildren( sibling, element ) ;
|
1207
|
-
FCKDomTools.RemoveNode( sibling ) ;
|
1208
|
-
|
1209
|
-
// Now check the last inner child (see two comments above).
|
1210
|
-
if ( innerSibling )
|
1211
|
-
this._MergeNextSibling( innerSibling ) ;
|
1212
|
-
}
|
1213
|
-
}
|
1214
|
-
},
|
1215
|
-
|
1216
|
-
/**
|
1217
|
-
* Merge an element with its similar siblings before it.
|
1218
|
-
* "attribs" is and object computed with _CreateAttribsForComparison.
|
1219
|
-
*/
|
1220
|
-
_MergePreviousSibling : function( element, attribs )
|
1221
|
-
{
|
1222
|
-
// Check the previous sibling.
|
1223
|
-
var sibling = element.previousSibling ;
|
1224
|
-
|
1225
|
-
// Check if the previous sibling is a bookmark element. In this case, jump it.
|
1226
|
-
var hasBookmark = ( sibling && sibling.nodeType == 1 && sibling.getAttribute( '_fck_bookmark' ) ) ;
|
1227
|
-
if ( hasBookmark )
|
1228
|
-
sibling = sibling.previousSibling ;
|
1229
|
-
|
1230
|
-
if ( sibling && sibling.nodeType == 1 && sibling.nodeName == element.nodeName )
|
1231
|
-
{
|
1232
|
-
if ( !attribs )
|
1233
|
-
attribs = this._CreateElementAttribsForComparison( element ) ;
|
1234
|
-
|
1235
|
-
if ( this._CheckAttributesMatch( sibling, attribs ) )
|
1236
|
-
{
|
1237
|
-
// Save the first child to be checked too (to merge things like <b><i></i></b><b><i></i></b>).
|
1238
|
-
var innerSibling = element.firstChild ;
|
1239
|
-
|
1240
|
-
if ( hasBookmark )
|
1241
|
-
FCKDomTools.MoveNode( element.previousSibling, element, true ) ;
|
1242
|
-
|
1243
|
-
// Move contents to the sibling.
|
1244
|
-
FCKDomTools.MoveChildren( sibling, element, true ) ;
|
1245
|
-
FCKDomTools.RemoveNode( sibling ) ;
|
1246
|
-
|
1247
|
-
// Now check the first inner child (see two comments above).
|
1248
|
-
if ( innerSibling )
|
1249
|
-
this._MergePreviousSibling( innerSibling ) ;
|
1250
|
-
}
|
1251
|
-
}
|
1252
|
-
},
|
1253
|
-
|
1254
|
-
/**
|
1255
|
-
* Build the cssText based on the styles definition.
|
1256
|
-
*/
|
1257
|
-
_GetStyleText : function()
|
1258
|
-
{
|
1259
|
-
var stylesDef = this._StyleDesc.Styles ;
|
1260
|
-
|
1261
|
-
// Builds the StyleText.
|
1262
|
-
var stylesText = ( this._StyleDesc.Attributes ? this._StyleDesc.Attributes['style'] || '' : '' ) ;
|
1263
|
-
|
1264
|
-
if ( stylesText.length > 0 )
|
1265
|
-
stylesText += ';' ;
|
1266
|
-
|
1267
|
-
for ( var style in stylesDef )
|
1268
|
-
stylesText += style + ':' + stylesDef[style] + ';' ;
|
1269
|
-
|
1270
|
-
// Browsers make some changes to the style when applying them. So, here
|
1271
|
-
// we normalize it to the browser format. We'll not do that if there
|
1272
|
-
// are variables inside the style.
|
1273
|
-
if ( stylesText.length > 0 && !( /#\(/.test( stylesText ) ) )
|
1274
|
-
{
|
1275
|
-
stylesText = FCKTools.NormalizeCssText( stylesText ) ;
|
1276
|
-
}
|
1277
|
-
|
1278
|
-
return (this._GetStyleText = function() { return stylesText ; })() ;
|
1279
|
-
},
|
1280
|
-
|
1281
|
-
/**
|
1282
|
-
* Get the the collection used to compare the attributes defined in this
|
1283
|
-
* style with attributes in an element. All information in it is lowercased.
|
1284
|
-
*/
|
1285
|
-
_GetAttribsForComparison : function()
|
1286
|
-
{
|
1287
|
-
// If we have already computed it, just return it.
|
1288
|
-
var attribs = this._GetAttribsForComparison_$ ;
|
1289
|
-
if ( attribs )
|
1290
|
-
return attribs ;
|
1291
|
-
|
1292
|
-
attribs = new Object() ;
|
1293
|
-
|
1294
|
-
// Loop through all defined attributes.
|
1295
|
-
var styleAttribs = this._StyleDesc.Attributes ;
|
1296
|
-
if ( styleAttribs )
|
1297
|
-
{
|
1298
|
-
for ( var styleAtt in styleAttribs )
|
1299
|
-
{
|
1300
|
-
attribs[ styleAtt.toLowerCase() ] = styleAttribs[ styleAtt ].toLowerCase() ;
|
1301
|
-
}
|
1302
|
-
}
|
1303
|
-
|
1304
|
-
// Includes the style definitions.
|
1305
|
-
if ( this._GetStyleText().length > 0 )
|
1306
|
-
{
|
1307
|
-
attribs['style'] = this._GetStyleText().toLowerCase() ;
|
1308
|
-
}
|
1309
|
-
|
1310
|
-
// Appends the "length" information to the object.
|
1311
|
-
FCKTools.AppendLengthProperty( attribs, '_length' ) ;
|
1312
|
-
|
1313
|
-
// Return it, saving it to the next request.
|
1314
|
-
return ( this._GetAttribsForComparison_$ = attribs ) ;
|
1315
|
-
},
|
1316
|
-
|
1317
|
-
/**
|
1318
|
-
* Get the the collection used to compare the elements and attributes,
|
1319
|
-
* defined in this style overrides, with other element. All information in
|
1320
|
-
* it is lowercased.
|
1321
|
-
*/
|
1322
|
-
_GetOverridesForComparison : function()
|
1323
|
-
{
|
1324
|
-
// If we have already computed it, just return it.
|
1325
|
-
var overrides = this._GetOverridesForComparison_$ ;
|
1326
|
-
if ( overrides )
|
1327
|
-
return overrides ;
|
1328
|
-
|
1329
|
-
overrides = new Object() ;
|
1330
|
-
|
1331
|
-
var overridesDesc = this._StyleDesc.Overrides ;
|
1332
|
-
|
1333
|
-
if ( overridesDesc )
|
1334
|
-
{
|
1335
|
-
// The override description can be a string, object or array.
|
1336
|
-
// Internally, well handle arrays only, so transform it if needed.
|
1337
|
-
if ( !FCKTools.IsArray( overridesDesc ) )
|
1338
|
-
overridesDesc = [ overridesDesc ] ;
|
1339
|
-
|
1340
|
-
// Loop through all override definitions.
|
1341
|
-
for ( var i = 0 ; i < overridesDesc.length ; i++ )
|
1342
|
-
{
|
1343
|
-
var override = overridesDesc[i] ;
|
1344
|
-
var elementName ;
|
1345
|
-
var overrideEl ;
|
1346
|
-
var attrs ;
|
1347
|
-
|
1348
|
-
// If can be a string with the element name.
|
1349
|
-
if ( typeof override == 'string' )
|
1350
|
-
elementName = override.toLowerCase() ;
|
1351
|
-
// Or an object.
|
1352
|
-
else
|
1353
|
-
{
|
1354
|
-
elementName = override.Element ? override.Element.toLowerCase() : this.Element ;
|
1355
|
-
attrs = override.Attributes ;
|
1356
|
-
}
|
1357
|
-
|
1358
|
-
// We can have more than one override definition for the same
|
1359
|
-
// element name, so we attempt to simply append information to
|
1360
|
-
// it if it already exists.
|
1361
|
-
overrideEl = overrides[ elementName ] || ( overrides[ elementName ] = {} ) ;
|
1362
|
-
|
1363
|
-
if ( attrs )
|
1364
|
-
{
|
1365
|
-
// The returning attributes list is an array, because we
|
1366
|
-
// could have different override definitions for the same
|
1367
|
-
// attribute name.
|
1368
|
-
var overrideAttrs = ( overrideEl.Attributes = overrideEl.Attributes || new Array() ) ;
|
1369
|
-
for ( var attName in attrs )
|
1370
|
-
{
|
1371
|
-
// Each item in the attributes array is also an array,
|
1372
|
-
// where [0] is the attribute name and [1] is the
|
1373
|
-
// override value.
|
1374
|
-
overrideAttrs.push( [ attName.toLowerCase(), attrs[ attName ] ] ) ;
|
1375
|
-
}
|
1376
|
-
}
|
1377
|
-
}
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
return ( this._GetOverridesForComparison_$ = overrides ) ;
|
1381
|
-
},
|
1382
|
-
|
1383
|
-
/*
|
1384
|
-
* Create and object containing all attributes specified in an element,
|
1385
|
-
* added by a "_length" property. All values are lowercased.
|
1386
|
-
*/
|
1387
|
-
_CreateElementAttribsForComparison : function( element )
|
1388
|
-
{
|
1389
|
-
var attribs = new Object() ;
|
1390
|
-
var attribsCount = 0 ;
|
1391
|
-
|
1392
|
-
for ( var i = 0 ; i < element.attributes.length ; i++ )
|
1393
|
-
{
|
1394
|
-
var att = element.attributes[i] ;
|
1395
|
-
|
1396
|
-
if ( att.specified )
|
1397
|
-
{
|
1398
|
-
attribs[ att.nodeName.toLowerCase() ] = FCKDomTools.GetAttributeValue( element, att ).toLowerCase() ;
|
1399
|
-
attribsCount++ ;
|
1400
|
-
}
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
attribs._length = attribsCount ;
|
1404
|
-
|
1405
|
-
return attribs ;
|
1406
|
-
},
|
1407
|
-
|
1408
|
-
/**
|
1409
|
-
* Checks is the element attributes have a perfect match with the style
|
1410
|
-
* attributes.
|
1411
|
-
*/
|
1412
|
-
_CheckAttributesMatch : function( element, styleAttribs )
|
1413
|
-
{
|
1414
|
-
// Loop through all specified attributes. The same number of
|
1415
|
-
// attributes must be found and their values must match to
|
1416
|
-
// declare them as equal.
|
1417
|
-
|
1418
|
-
var elementAttrbs = element.attributes ;
|
1419
|
-
var matchCount = 0 ;
|
1420
|
-
|
1421
|
-
for ( var i = 0 ; i < elementAttrbs.length ; i++ )
|
1422
|
-
{
|
1423
|
-
var att = elementAttrbs[i] ;
|
1424
|
-
if ( att.specified )
|
1425
|
-
{
|
1426
|
-
var attName = att.nodeName.toLowerCase() ;
|
1427
|
-
var styleAtt = styleAttribs[ attName ] ;
|
1428
|
-
|
1429
|
-
// The attribute is not defined in the style.
|
1430
|
-
if ( !styleAtt )
|
1431
|
-
break ;
|
1432
|
-
|
1433
|
-
// The values are different.
|
1434
|
-
if ( styleAtt != FCKDomTools.GetAttributeValue( element, att ).toLowerCase() )
|
1435
|
-
break ;
|
1436
|
-
|
1437
|
-
matchCount++ ;
|
1438
|
-
}
|
1439
|
-
}
|
1440
|
-
|
1441
|
-
return ( matchCount == styleAttribs._length ) ;
|
1442
|
-
}
|
1443
|
-
} ;
|