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,12 +0,0 @@
|
|
1
|
-
function autosave_request(e) {
|
2
|
-
new Form.Observer (e, 60, function(element, value) {
|
3
|
-
new Ajax.Request(e.action.gsub(/\/new\/{0,1}/, '/autosave/') , {
|
4
|
-
asynchronous:true,
|
5
|
-
evalScripts:true,
|
6
|
-
parameters: Form.serialize(e)
|
7
|
-
})})
|
8
|
-
}
|
9
|
-
|
10
|
-
Event.observe(window, 'load', function() {
|
11
|
-
$$('.autosave').each(function(e){autosave_request(e)})
|
12
|
-
})
|
@@ -1,963 +0,0 @@
|
|
1
|
-
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
2
|
-
// (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
|
3
|
-
// (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
|
4
|
-
// Contributors:
|
5
|
-
// Richard Livsey
|
6
|
-
// Rahul Bhargava
|
7
|
-
// Rob Wills
|
8
|
-
//
|
9
|
-
// script.aculo.us is freely distributable under the terms of an MIT-style license.
|
10
|
-
// For details, see the script.aculo.us web site: http://script.aculo.us/
|
11
|
-
|
12
|
-
// Autocompleter.Base handles all the autocompletion functionality
|
13
|
-
// that's independent of the data source for autocompletion. This
|
14
|
-
// includes drawing the autocompletion menu, observing keyboard
|
15
|
-
// and mouse events, and similar.
|
16
|
-
//
|
17
|
-
// Specific autocompleters need to provide, at the very least,
|
18
|
-
// a getUpdatedChoices function that will be invoked every time
|
19
|
-
// the text inside the monitored textbox changes. This method
|
20
|
-
// should get the text for which to provide autocompletion by
|
21
|
-
// invoking this.getToken(), NOT by directly accessing
|
22
|
-
// this.element.value. This is to allow incremental tokenized
|
23
|
-
// autocompletion. Specific auto-completion logic (AJAX, etc)
|
24
|
-
// belongs in getUpdatedChoices.
|
25
|
-
//
|
26
|
-
// Tokenized incremental autocompletion is enabled automatically
|
27
|
-
// when an autocompleter is instantiated with the 'tokens' option
|
28
|
-
// in the options parameter, e.g.:
|
29
|
-
// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
|
30
|
-
// will incrementally autocomplete with a comma as the token.
|
31
|
-
// Additionally, ',' in the above example can be replaced with
|
32
|
-
// a token array, e.g. { tokens: [',', '\n'] } which
|
33
|
-
// enables autocompletion on multiple tokens. This is most
|
34
|
-
// useful when one of the tokens is \n (a newline), as it
|
35
|
-
// allows smart autocompletion after linebreaks.
|
36
|
-
|
37
|
-
if(typeof Effect == 'undefined')
|
38
|
-
throw("controls.js requires including script.aculo.us' effects.js library");
|
39
|
-
|
40
|
-
var Autocompleter = { }
|
41
|
-
Autocompleter.Base = Class.create({
|
42
|
-
baseInitialize: function(element, update, options) {
|
43
|
-
element = $(element)
|
44
|
-
this.element = element;
|
45
|
-
this.update = $(update);
|
46
|
-
this.hasFocus = false;
|
47
|
-
this.changed = false;
|
48
|
-
this.active = false;
|
49
|
-
this.index = 0;
|
50
|
-
this.entryCount = 0;
|
51
|
-
this.oldElementValue = this.element.value;
|
52
|
-
|
53
|
-
if(this.setOptions)
|
54
|
-
this.setOptions(options);
|
55
|
-
else
|
56
|
-
this.options = options || { };
|
57
|
-
|
58
|
-
this.options.paramName = this.options.paramName || this.element.name;
|
59
|
-
this.options.tokens = this.options.tokens || [];
|
60
|
-
this.options.frequency = this.options.frequency || 0.4;
|
61
|
-
this.options.minChars = this.options.minChars || 1;
|
62
|
-
this.options.onShow = this.options.onShow ||
|
63
|
-
function(element, update){
|
64
|
-
if(!update.style.position || update.style.position=='absolute') {
|
65
|
-
update.style.position = 'absolute';
|
66
|
-
Position.clone(element, update, {
|
67
|
-
setHeight: false,
|
68
|
-
offsetTop: element.offsetHeight
|
69
|
-
});
|
70
|
-
}
|
71
|
-
Effect.Appear(update,{duration:0.15});
|
72
|
-
};
|
73
|
-
this.options.onHide = this.options.onHide ||
|
74
|
-
function(element, update){ new Effect.Fade(update,{duration:0.15}) };
|
75
|
-
|
76
|
-
if(typeof(this.options.tokens) == 'string')
|
77
|
-
this.options.tokens = new Array(this.options.tokens);
|
78
|
-
// Force carriage returns as token delimiters anyway
|
79
|
-
if (!this.options.tokens.include('\n'))
|
80
|
-
this.options.tokens.push('\n');
|
81
|
-
|
82
|
-
this.observer = null;
|
83
|
-
|
84
|
-
this.element.setAttribute('autocomplete','off');
|
85
|
-
|
86
|
-
Element.hide(this.update);
|
87
|
-
|
88
|
-
Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));
|
89
|
-
Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this));
|
90
|
-
},
|
91
|
-
|
92
|
-
show: function() {
|
93
|
-
if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
|
94
|
-
if(!this.iefix &&
|
95
|
-
(Prototype.Browser.IE) &&
|
96
|
-
(Element.getStyle(this.update, 'position')=='absolute')) {
|
97
|
-
new Insertion.After(this.update,
|
98
|
-
'<iframe id="' + this.update.id + '_iefix" '+
|
99
|
-
'style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" ' +
|
100
|
-
'src="javascript:false;" frameborder="0" scrolling="no"></iframe>');
|
101
|
-
this.iefix = $(this.update.id+'_iefix');
|
102
|
-
}
|
103
|
-
if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
|
104
|
-
},
|
105
|
-
|
106
|
-
fixIEOverlapping: function() {
|
107
|
-
Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
|
108
|
-
this.iefix.style.zIndex = 1;
|
109
|
-
this.update.style.zIndex = 2;
|
110
|
-
Element.show(this.iefix);
|
111
|
-
},
|
112
|
-
|
113
|
-
hide: function() {
|
114
|
-
this.stopIndicator();
|
115
|
-
if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);
|
116
|
-
if(this.iefix) Element.hide(this.iefix);
|
117
|
-
},
|
118
|
-
|
119
|
-
startIndicator: function() {
|
120
|
-
if(this.options.indicator) Element.show(this.options.indicator);
|
121
|
-
},
|
122
|
-
|
123
|
-
stopIndicator: function() {
|
124
|
-
if(this.options.indicator) Element.hide(this.options.indicator);
|
125
|
-
},
|
126
|
-
|
127
|
-
onKeyPress: function(event) {
|
128
|
-
if(this.active)
|
129
|
-
switch(event.keyCode) {
|
130
|
-
case Event.KEY_TAB:
|
131
|
-
case Event.KEY_RETURN:
|
132
|
-
this.selectEntry();
|
133
|
-
Event.stop(event);
|
134
|
-
case Event.KEY_ESC:
|
135
|
-
this.hide();
|
136
|
-
this.active = false;
|
137
|
-
Event.stop(event);
|
138
|
-
return;
|
139
|
-
case Event.KEY_LEFT:
|
140
|
-
case Event.KEY_RIGHT:
|
141
|
-
return;
|
142
|
-
case Event.KEY_UP:
|
143
|
-
this.markPrevious();
|
144
|
-
this.render();
|
145
|
-
Event.stop(event);
|
146
|
-
return;
|
147
|
-
case Event.KEY_DOWN:
|
148
|
-
this.markNext();
|
149
|
-
this.render();
|
150
|
-
Event.stop(event);
|
151
|
-
return;
|
152
|
-
}
|
153
|
-
else
|
154
|
-
if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||
|
155
|
-
(Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return;
|
156
|
-
|
157
|
-
this.changed = true;
|
158
|
-
this.hasFocus = true;
|
159
|
-
|
160
|
-
if(this.observer) clearTimeout(this.observer);
|
161
|
-
this.observer =
|
162
|
-
setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);
|
163
|
-
},
|
164
|
-
|
165
|
-
activate: function() {
|
166
|
-
this.changed = false;
|
167
|
-
this.hasFocus = true;
|
168
|
-
this.getUpdatedChoices();
|
169
|
-
},
|
170
|
-
|
171
|
-
onHover: function(event) {
|
172
|
-
var element = Event.findElement(event, 'LI');
|
173
|
-
if(this.index != element.autocompleteIndex)
|
174
|
-
{
|
175
|
-
this.index = element.autocompleteIndex;
|
176
|
-
this.render();
|
177
|
-
}
|
178
|
-
Event.stop(event);
|
179
|
-
},
|
180
|
-
|
181
|
-
onClick: function(event) {
|
182
|
-
var element = Event.findElement(event, 'LI');
|
183
|
-
this.index = element.autocompleteIndex;
|
184
|
-
this.selectEntry();
|
185
|
-
this.hide();
|
186
|
-
},
|
187
|
-
|
188
|
-
onBlur: function(event) {
|
189
|
-
// needed to make click events working
|
190
|
-
setTimeout(this.hide.bind(this), 250);
|
191
|
-
this.hasFocus = false;
|
192
|
-
this.active = false;
|
193
|
-
},
|
194
|
-
|
195
|
-
render: function() {
|
196
|
-
if(this.entryCount > 0) {
|
197
|
-
for (var i = 0; i < this.entryCount; i++)
|
198
|
-
this.index==i ?
|
199
|
-
Element.addClassName(this.getEntry(i),"selected") :
|
200
|
-
Element.removeClassName(this.getEntry(i),"selected");
|
201
|
-
if(this.hasFocus) {
|
202
|
-
this.show();
|
203
|
-
this.active = true;
|
204
|
-
}
|
205
|
-
} else {
|
206
|
-
this.active = false;
|
207
|
-
this.hide();
|
208
|
-
}
|
209
|
-
},
|
210
|
-
|
211
|
-
markPrevious: function() {
|
212
|
-
if(this.index > 0) this.index--
|
213
|
-
else this.index = this.entryCount-1;
|
214
|
-
this.getEntry(this.index).scrollIntoView(true);
|
215
|
-
},
|
216
|
-
|
217
|
-
markNext: function() {
|
218
|
-
if(this.index < this.entryCount-1) this.index++
|
219
|
-
else this.index = 0;
|
220
|
-
this.getEntry(this.index).scrollIntoView(false);
|
221
|
-
},
|
222
|
-
|
223
|
-
getEntry: function(index) {
|
224
|
-
return this.update.firstChild.childNodes[index];
|
225
|
-
},
|
226
|
-
|
227
|
-
getCurrentEntry: function() {
|
228
|
-
return this.getEntry(this.index);
|
229
|
-
},
|
230
|
-
|
231
|
-
selectEntry: function() {
|
232
|
-
this.active = false;
|
233
|
-
this.updateElement(this.getCurrentEntry());
|
234
|
-
},
|
235
|
-
|
236
|
-
updateElement: function(selectedElement) {
|
237
|
-
if (this.options.updateElement) {
|
238
|
-
this.options.updateElement(selectedElement);
|
239
|
-
return;
|
240
|
-
}
|
241
|
-
var value = '';
|
242
|
-
if (this.options.select) {
|
243
|
-
var nodes = $(selectedElement).select('.' + this.options.select) || [];
|
244
|
-
if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);
|
245
|
-
} else
|
246
|
-
value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');
|
247
|
-
|
248
|
-
var bounds = this.getTokenBounds();
|
249
|
-
if (bounds[0] != -1) {
|
250
|
-
var newValue = this.element.value.substr(0, bounds[0]);
|
251
|
-
var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/);
|
252
|
-
if (whitespace)
|
253
|
-
newValue += whitespace[0];
|
254
|
-
this.element.value = newValue + value + this.element.value.substr(bounds[1]);
|
255
|
-
} else {
|
256
|
-
this.element.value = value;
|
257
|
-
}
|
258
|
-
this.oldElementValue = this.element.value;
|
259
|
-
this.element.focus();
|
260
|
-
|
261
|
-
if (this.options.afterUpdateElement)
|
262
|
-
this.options.afterUpdateElement(this.element, selectedElement);
|
263
|
-
},
|
264
|
-
|
265
|
-
updateChoices: function(choices) {
|
266
|
-
if(!this.changed && this.hasFocus) {
|
267
|
-
this.update.innerHTML = choices;
|
268
|
-
Element.cleanWhitespace(this.update);
|
269
|
-
Element.cleanWhitespace(this.update.down());
|
270
|
-
|
271
|
-
if(this.update.firstChild && this.update.down().childNodes) {
|
272
|
-
this.entryCount =
|
273
|
-
this.update.down().childNodes.length;
|
274
|
-
for (var i = 0; i < this.entryCount; i++) {
|
275
|
-
var entry = this.getEntry(i);
|
276
|
-
entry.autocompleteIndex = i;
|
277
|
-
this.addObservers(entry);
|
278
|
-
}
|
279
|
-
} else {
|
280
|
-
this.entryCount = 0;
|
281
|
-
}
|
282
|
-
|
283
|
-
this.stopIndicator();
|
284
|
-
this.index = 0;
|
285
|
-
|
286
|
-
if(this.entryCount==1 && this.options.autoSelect) {
|
287
|
-
this.selectEntry();
|
288
|
-
this.hide();
|
289
|
-
} else {
|
290
|
-
this.render();
|
291
|
-
}
|
292
|
-
}
|
293
|
-
},
|
294
|
-
|
295
|
-
addObservers: function(element) {
|
296
|
-
Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));
|
297
|
-
Event.observe(element, "click", this.onClick.bindAsEventListener(this));
|
298
|
-
},
|
299
|
-
|
300
|
-
onObserverEvent: function() {
|
301
|
-
this.changed = false;
|
302
|
-
this.tokenBounds = null;
|
303
|
-
if(this.getToken().length>=this.options.minChars) {
|
304
|
-
this.getUpdatedChoices();
|
305
|
-
} else {
|
306
|
-
this.active = false;
|
307
|
-
this.hide();
|
308
|
-
}
|
309
|
-
this.oldElementValue = this.element.value;
|
310
|
-
},
|
311
|
-
|
312
|
-
getToken: function() {
|
313
|
-
var bounds = this.getTokenBounds();
|
314
|
-
return this.element.value.substring(bounds[0], bounds[1]).strip();
|
315
|
-
},
|
316
|
-
|
317
|
-
getTokenBounds: function() {
|
318
|
-
if (null != this.tokenBounds) return this.tokenBounds;
|
319
|
-
var value = this.element.value;
|
320
|
-
if (value.strip().empty()) return [-1, 0];
|
321
|
-
var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue);
|
322
|
-
var offset = (diff == this.oldElementValue.length ? 1 : 0);
|
323
|
-
var prevTokenPos = -1, nextTokenPos = value.length;
|
324
|
-
var tp;
|
325
|
-
for (var index = 0, l = this.options.tokens.length; index < l; ++index) {
|
326
|
-
tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1);
|
327
|
-
if (tp > prevTokenPos) prevTokenPos = tp;
|
328
|
-
tp = value.indexOf(this.options.tokens[index], diff + offset);
|
329
|
-
if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp;
|
330
|
-
}
|
331
|
-
return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]);
|
332
|
-
}
|
333
|
-
});
|
334
|
-
|
335
|
-
Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) {
|
336
|
-
var boundary = Math.min(newS.length, oldS.length);
|
337
|
-
for (var index = 0; index < boundary; ++index)
|
338
|
-
if (newS[index] != oldS[index])
|
339
|
-
return index;
|
340
|
-
return boundary;
|
341
|
-
};
|
342
|
-
|
343
|
-
Ajax.Autocompleter = Class.create(Autocompleter.Base, {
|
344
|
-
initialize: function(element, update, url, options) {
|
345
|
-
this.baseInitialize(element, update, options);
|
346
|
-
this.options.asynchronous = true;
|
347
|
-
this.options.onComplete = this.onComplete.bind(this);
|
348
|
-
this.options.defaultParams = this.options.parameters || null;
|
349
|
-
this.url = url;
|
350
|
-
},
|
351
|
-
|
352
|
-
getUpdatedChoices: function() {
|
353
|
-
this.startIndicator();
|
354
|
-
|
355
|
-
var entry = encodeURIComponent(this.options.paramName) + '=' +
|
356
|
-
encodeURIComponent(this.getToken());
|
357
|
-
|
358
|
-
this.options.parameters = this.options.callback ?
|
359
|
-
this.options.callback(this.element, entry) : entry;
|
360
|
-
|
361
|
-
if(this.options.defaultParams)
|
362
|
-
this.options.parameters += '&' + this.options.defaultParams;
|
363
|
-
|
364
|
-
new Ajax.Request(this.url, this.options);
|
365
|
-
},
|
366
|
-
|
367
|
-
onComplete: function(request) {
|
368
|
-
this.updateChoices(request.responseText);
|
369
|
-
}
|
370
|
-
});
|
371
|
-
|
372
|
-
// The local array autocompleter. Used when you'd prefer to
|
373
|
-
// inject an array of autocompletion options into the page, rather
|
374
|
-
// than sending out Ajax queries, which can be quite slow sometimes.
|
375
|
-
//
|
376
|
-
// The constructor takes four parameters. The first two are, as usual,
|
377
|
-
// the id of the monitored textbox, and id of the autocompletion menu.
|
378
|
-
// The third is the array you want to autocomplete from, and the fourth
|
379
|
-
// is the options block.
|
380
|
-
//
|
381
|
-
// Extra local autocompletion options:
|
382
|
-
// - choices - How many autocompletion choices to offer
|
383
|
-
//
|
384
|
-
// - partialSearch - If false, the autocompleter will match entered
|
385
|
-
// text only at the beginning of strings in the
|
386
|
-
// autocomplete array. Defaults to true, which will
|
387
|
-
// match text at the beginning of any *word* in the
|
388
|
-
// strings in the autocomplete array. If you want to
|
389
|
-
// search anywhere in the string, additionally set
|
390
|
-
// the option fullSearch to true (default: off).
|
391
|
-
//
|
392
|
-
// - fullSsearch - Search anywhere in autocomplete array strings.
|
393
|
-
//
|
394
|
-
// - partialChars - How many characters to enter before triggering
|
395
|
-
// a partial match (unlike minChars, which defines
|
396
|
-
// how many characters are required to do any match
|
397
|
-
// at all). Defaults to 2.
|
398
|
-
//
|
399
|
-
// - ignoreCase - Whether to ignore case when autocompleting.
|
400
|
-
// Defaults to true.
|
401
|
-
//
|
402
|
-
// It's possible to pass in a custom function as the 'selector'
|
403
|
-
// option, if you prefer to write your own autocompletion logic.
|
404
|
-
// In that case, the other options above will not apply unless
|
405
|
-
// you support them.
|
406
|
-
|
407
|
-
Autocompleter.Local = Class.create(Autocompleter.Base, {
|
408
|
-
initialize: function(element, update, array, options) {
|
409
|
-
this.baseInitialize(element, update, options);
|
410
|
-
this.options.array = array;
|
411
|
-
},
|
412
|
-
|
413
|
-
getUpdatedChoices: function() {
|
414
|
-
this.updateChoices(this.options.selector(this));
|
415
|
-
},
|
416
|
-
|
417
|
-
setOptions: function(options) {
|
418
|
-
this.options = Object.extend({
|
419
|
-
choices: 10,
|
420
|
-
partialSearch: true,
|
421
|
-
partialChars: 2,
|
422
|
-
ignoreCase: true,
|
423
|
-
fullSearch: false,
|
424
|
-
selector: function(instance) {
|
425
|
-
var ret = []; // Beginning matches
|
426
|
-
var partial = []; // Inside matches
|
427
|
-
var entry = instance.getToken();
|
428
|
-
var count = 0;
|
429
|
-
|
430
|
-
for (var i = 0; i < instance.options.array.length &&
|
431
|
-
ret.length < instance.options.choices ; i++) {
|
432
|
-
|
433
|
-
var elem = instance.options.array[i];
|
434
|
-
var foundPos = instance.options.ignoreCase ?
|
435
|
-
elem.toLowerCase().indexOf(entry.toLowerCase()) :
|
436
|
-
elem.indexOf(entry);
|
437
|
-
|
438
|
-
while (foundPos != -1) {
|
439
|
-
if (foundPos == 0 && elem.length != entry.length) {
|
440
|
-
ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" +
|
441
|
-
elem.substr(entry.length) + "</li>");
|
442
|
-
break;
|
443
|
-
} else if (entry.length >= instance.options.partialChars &&
|
444
|
-
instance.options.partialSearch && foundPos != -1) {
|
445
|
-
if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
|
446
|
-
partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +
|
447
|
-
elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(
|
448
|
-
foundPos + entry.length) + "</li>");
|
449
|
-
break;
|
450
|
-
}
|
451
|
-
}
|
452
|
-
|
453
|
-
foundPos = instance.options.ignoreCase ?
|
454
|
-
elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :
|
455
|
-
elem.indexOf(entry, foundPos + 1);
|
456
|
-
|
457
|
-
}
|
458
|
-
}
|
459
|
-
if (partial.length)
|
460
|
-
ret = ret.concat(partial.slice(0, instance.options.choices - ret.length))
|
461
|
-
return "<ul>" + ret.join('') + "</ul>";
|
462
|
-
}
|
463
|
-
}, options || { });
|
464
|
-
}
|
465
|
-
});
|
466
|
-
|
467
|
-
// AJAX in-place editor and collection editor
|
468
|
-
// Full rewrite by Christophe Porteneuve <tdd@tddsworld.com> (April 2007).
|
469
|
-
|
470
|
-
// Use this if you notice weird scrolling problems on some browsers,
|
471
|
-
// the DOM might be a bit confused when this gets called so do this
|
472
|
-
// waits 1 ms (with setTimeout) until it does the activation
|
473
|
-
Field.scrollFreeActivate = function(field) {
|
474
|
-
setTimeout(function() {
|
475
|
-
Field.activate(field);
|
476
|
-
}, 1);
|
477
|
-
}
|
478
|
-
|
479
|
-
Ajax.InPlaceEditor = Class.create({
|
480
|
-
initialize: function(element, url, options) {
|
481
|
-
this.url = url;
|
482
|
-
this.element = element = $(element);
|
483
|
-
this.prepareOptions();
|
484
|
-
this._controls = { };
|
485
|
-
arguments.callee.dealWithDeprecatedOptions(options); // DEPRECATION LAYER!!!
|
486
|
-
Object.extend(this.options, options || { });
|
487
|
-
if (!this.options.formId && this.element.id) {
|
488
|
-
this.options.formId = this.element.id + '-inplaceeditor';
|
489
|
-
if ($(this.options.formId))
|
490
|
-
this.options.formId = '';
|
491
|
-
}
|
492
|
-
if (this.options.externalControl)
|
493
|
-
this.options.externalControl = $(this.options.externalControl);
|
494
|
-
if (!this.options.externalControl)
|
495
|
-
this.options.externalControlOnly = false;
|
496
|
-
this._originalBackground = this.element.getStyle('background-color') || 'transparent';
|
497
|
-
this.element.title = this.options.clickToEditText;
|
498
|
-
this._boundCancelHandler = this.handleFormCancellation.bind(this);
|
499
|
-
this._boundComplete = (this.options.onComplete || Prototype.emptyFunction).bind(this);
|
500
|
-
this._boundFailureHandler = this.handleAJAXFailure.bind(this);
|
501
|
-
this._boundSubmitHandler = this.handleFormSubmission.bind(this);
|
502
|
-
this._boundWrapperHandler = this.wrapUp.bind(this);
|
503
|
-
this.registerListeners();
|
504
|
-
},
|
505
|
-
checkForEscapeOrReturn: function(e) {
|
506
|
-
if (!this._editing || e.ctrlKey || e.altKey || e.shiftKey) return;
|
507
|
-
if (Event.KEY_ESC == e.keyCode)
|
508
|
-
this.handleFormCancellation(e);
|
509
|
-
else if (Event.KEY_RETURN == e.keyCode)
|
510
|
-
this.handleFormSubmission(e);
|
511
|
-
},
|
512
|
-
createControl: function(mode, handler, extraClasses) {
|
513
|
-
var control = this.options[mode + 'Control'];
|
514
|
-
var text = this.options[mode + 'Text'];
|
515
|
-
if ('button' == control) {
|
516
|
-
var btn = document.createElement('input');
|
517
|
-
btn.type = 'submit';
|
518
|
-
btn.value = text;
|
519
|
-
btn.className = 'editor_' + mode + '_button';
|
520
|
-
if ('cancel' == mode)
|
521
|
-
btn.onclick = this._boundCancelHandler;
|
522
|
-
this._form.appendChild(btn);
|
523
|
-
this._controls[mode] = btn;
|
524
|
-
} else if ('link' == control) {
|
525
|
-
var link = document.createElement('a');
|
526
|
-
link.href = '#';
|
527
|
-
link.appendChild(document.createTextNode(text));
|
528
|
-
link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler;
|
529
|
-
link.className = 'editor_' + mode + '_link';
|
530
|
-
if (extraClasses)
|
531
|
-
link.className += ' ' + extraClasses;
|
532
|
-
this._form.appendChild(link);
|
533
|
-
this._controls[mode] = link;
|
534
|
-
}
|
535
|
-
},
|
536
|
-
createEditField: function() {
|
537
|
-
var text = (this.options.loadTextURL ? this.options.loadingText : this.getText());
|
538
|
-
var fld;
|
539
|
-
if (1 >= this.options.rows && !/\r|\n/.test(this.getText())) {
|
540
|
-
fld = document.createElement('input');
|
541
|
-
fld.type = 'text';
|
542
|
-
var size = this.options.size || this.options.cols || 0;
|
543
|
-
if (0 < size) fld.size = size;
|
544
|
-
} else {
|
545
|
-
fld = document.createElement('textarea');
|
546
|
-
fld.rows = (1 >= this.options.rows ? this.options.autoRows : this.options.rows);
|
547
|
-
fld.cols = this.options.cols || 40;
|
548
|
-
}
|
549
|
-
fld.name = this.options.paramName;
|
550
|
-
fld.value = text; // No HTML breaks conversion anymore
|
551
|
-
fld.className = 'editor_field';
|
552
|
-
if (this.options.submitOnBlur)
|
553
|
-
fld.onblur = this._boundSubmitHandler;
|
554
|
-
this._controls.editor = fld;
|
555
|
-
if (this.options.loadTextURL)
|
556
|
-
this.loadExternalText();
|
557
|
-
this._form.appendChild(this._controls.editor);
|
558
|
-
},
|
559
|
-
createForm: function() {
|
560
|
-
var ipe = this;
|
561
|
-
function addText(mode, condition) {
|
562
|
-
var text = ipe.options['text' + mode + 'Controls'];
|
563
|
-
if (!text || condition === false) return;
|
564
|
-
ipe._form.appendChild(document.createTextNode(text));
|
565
|
-
};
|
566
|
-
this._form = $(document.createElement('form'));
|
567
|
-
this._form.id = this.options.formId;
|
568
|
-
this._form.addClassName(this.options.formClassName);
|
569
|
-
this._form.onsubmit = this._boundSubmitHandler;
|
570
|
-
this.createEditField();
|
571
|
-
if ('textarea' == this._controls.editor.tagName.toLowerCase())
|
572
|
-
this._form.appendChild(document.createElement('br'));
|
573
|
-
if (this.options.onFormCustomization)
|
574
|
-
this.options.onFormCustomization(this, this._form);
|
575
|
-
addText('Before', this.options.okControl || this.options.cancelControl);
|
576
|
-
this.createControl('ok', this._boundSubmitHandler);
|
577
|
-
addText('Between', this.options.okControl && this.options.cancelControl);
|
578
|
-
this.createControl('cancel', this._boundCancelHandler, 'editor_cancel');
|
579
|
-
addText('After', this.options.okControl || this.options.cancelControl);
|
580
|
-
},
|
581
|
-
destroy: function() {
|
582
|
-
if (this._oldInnerHTML)
|
583
|
-
this.element.innerHTML = this._oldInnerHTML;
|
584
|
-
this.leaveEditMode();
|
585
|
-
this.unregisterListeners();
|
586
|
-
},
|
587
|
-
enterEditMode: function(e) {
|
588
|
-
if (this._saving || this._editing) return;
|
589
|
-
this._editing = true;
|
590
|
-
this.triggerCallback('onEnterEditMode');
|
591
|
-
if (this.options.externalControl)
|
592
|
-
this.options.externalControl.hide();
|
593
|
-
this.element.hide();
|
594
|
-
this.createForm();
|
595
|
-
this.element.parentNode.insertBefore(this._form, this.element);
|
596
|
-
if (!this.options.loadTextURL)
|
597
|
-
this.postProcessEditField();
|
598
|
-
if (e) Event.stop(e);
|
599
|
-
},
|
600
|
-
enterHover: function(e) {
|
601
|
-
if (this.options.hoverClassName)
|
602
|
-
this.element.addClassName(this.options.hoverClassName);
|
603
|
-
if (this._saving) return;
|
604
|
-
this.triggerCallback('onEnterHover');
|
605
|
-
},
|
606
|
-
getText: function() {
|
607
|
-
return this.element.innerHTML;
|
608
|
-
},
|
609
|
-
handleAJAXFailure: function(transport) {
|
610
|
-
this.triggerCallback('onFailure', transport);
|
611
|
-
if (this._oldInnerHTML) {
|
612
|
-
this.element.innerHTML = this._oldInnerHTML;
|
613
|
-
this._oldInnerHTML = null;
|
614
|
-
}
|
615
|
-
},
|
616
|
-
handleFormCancellation: function(e) {
|
617
|
-
this.wrapUp();
|
618
|
-
if (e) Event.stop(e);
|
619
|
-
},
|
620
|
-
handleFormSubmission: function(e) {
|
621
|
-
var form = this._form;
|
622
|
-
var value = $F(this._controls.editor);
|
623
|
-
this.prepareSubmission();
|
624
|
-
var params = this.options.callback(form, value) || '';
|
625
|
-
if (Object.isString(params))
|
626
|
-
params = params.toQueryParams();
|
627
|
-
params.editorId = this.element.id;
|
628
|
-
if (this.options.htmlResponse) {
|
629
|
-
var options = Object.extend({ evalScripts: true }, this.options.ajaxOptions);
|
630
|
-
Object.extend(options, {
|
631
|
-
parameters: params,
|
632
|
-
onComplete: this._boundWrapperHandler,
|
633
|
-
onFailure: this._boundFailureHandler
|
634
|
-
});
|
635
|
-
new Ajax.Updater({ success: this.element }, this.url, options);
|
636
|
-
} else {
|
637
|
-
var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
|
638
|
-
Object.extend(options, {
|
639
|
-
parameters: params,
|
640
|
-
onComplete: this._boundWrapperHandler,
|
641
|
-
onFailure: this._boundFailureHandler
|
642
|
-
});
|
643
|
-
new Ajax.Request(this.url, options);
|
644
|
-
}
|
645
|
-
if (e) Event.stop(e);
|
646
|
-
},
|
647
|
-
leaveEditMode: function() {
|
648
|
-
this.element.removeClassName(this.options.savingClassName);
|
649
|
-
this.removeForm();
|
650
|
-
this.leaveHover();
|
651
|
-
this.element.style.backgroundColor = this._originalBackground;
|
652
|
-
this.element.show();
|
653
|
-
if (this.options.externalControl)
|
654
|
-
this.options.externalControl.show();
|
655
|
-
this._saving = false;
|
656
|
-
this._editing = false;
|
657
|
-
this._oldInnerHTML = null;
|
658
|
-
this.triggerCallback('onLeaveEditMode');
|
659
|
-
},
|
660
|
-
leaveHover: function(e) {
|
661
|
-
if (this.options.hoverClassName)
|
662
|
-
this.element.removeClassName(this.options.hoverClassName);
|
663
|
-
if (this._saving) return;
|
664
|
-
this.triggerCallback('onLeaveHover');
|
665
|
-
},
|
666
|
-
loadExternalText: function() {
|
667
|
-
this._form.addClassName(this.options.loadingClassName);
|
668
|
-
this._controls.editor.disabled = true;
|
669
|
-
var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
|
670
|
-
Object.extend(options, {
|
671
|
-
parameters: 'editorId=' + encodeURIComponent(this.element.id),
|
672
|
-
onComplete: Prototype.emptyFunction,
|
673
|
-
onSuccess: function(transport) {
|
674
|
-
this._form.removeClassName(this.options.loadingClassName);
|
675
|
-
var text = transport.responseText;
|
676
|
-
if (this.options.stripLoadedTextTags)
|
677
|
-
text = text.stripTags();
|
678
|
-
this._controls.editor.value = text;
|
679
|
-
this._controls.editor.disabled = false;
|
680
|
-
this.postProcessEditField();
|
681
|
-
}.bind(this),
|
682
|
-
onFailure: this._boundFailureHandler
|
683
|
-
});
|
684
|
-
new Ajax.Request(this.options.loadTextURL, options);
|
685
|
-
},
|
686
|
-
postProcessEditField: function() {
|
687
|
-
var fpc = this.options.fieldPostCreation;
|
688
|
-
if (fpc)
|
689
|
-
$(this._controls.editor)['focus' == fpc ? 'focus' : 'activate']();
|
690
|
-
},
|
691
|
-
prepareOptions: function() {
|
692
|
-
this.options = Object.clone(Ajax.InPlaceEditor.DefaultOptions);
|
693
|
-
Object.extend(this.options, Ajax.InPlaceEditor.DefaultCallbacks);
|
694
|
-
[this._extraDefaultOptions].flatten().compact().each(function(defs) {
|
695
|
-
Object.extend(this.options, defs);
|
696
|
-
}.bind(this));
|
697
|
-
},
|
698
|
-
prepareSubmission: function() {
|
699
|
-
this._saving = true;
|
700
|
-
this.removeForm();
|
701
|
-
this.leaveHover();
|
702
|
-
this.showSaving();
|
703
|
-
},
|
704
|
-
registerListeners: function() {
|
705
|
-
this._listeners = { };
|
706
|
-
var listener;
|
707
|
-
$H(Ajax.InPlaceEditor.Listeners).each(function(pair) {
|
708
|
-
listener = this[pair.value].bind(this);
|
709
|
-
this._listeners[pair.key] = listener;
|
710
|
-
if (!this.options.externalControlOnly)
|
711
|
-
this.element.observe(pair.key, listener);
|
712
|
-
if (this.options.externalControl)
|
713
|
-
this.options.externalControl.observe(pair.key, listener);
|
714
|
-
}.bind(this));
|
715
|
-
},
|
716
|
-
removeForm: function() {
|
717
|
-
if (!this._form) return;
|
718
|
-
this._form.remove();
|
719
|
-
this._form = null;
|
720
|
-
this._controls = { };
|
721
|
-
},
|
722
|
-
showSaving: function() {
|
723
|
-
this._oldInnerHTML = this.element.innerHTML;
|
724
|
-
this.element.innerHTML = this.options.savingText;
|
725
|
-
this.element.addClassName(this.options.savingClassName);
|
726
|
-
this.element.style.backgroundColor = this._originalBackground;
|
727
|
-
this.element.show();
|
728
|
-
},
|
729
|
-
triggerCallback: function(cbName, arg) {
|
730
|
-
if ('function' == typeof this.options[cbName]) {
|
731
|
-
this.options[cbName](this, arg);
|
732
|
-
}
|
733
|
-
},
|
734
|
-
unregisterListeners: function() {
|
735
|
-
$H(this._listeners).each(function(pair) {
|
736
|
-
if (!this.options.externalControlOnly)
|
737
|
-
this.element.stopObserving(pair.key, pair.value);
|
738
|
-
if (this.options.externalControl)
|
739
|
-
this.options.externalControl.stopObserving(pair.key, pair.value);
|
740
|
-
}.bind(this));
|
741
|
-
},
|
742
|
-
wrapUp: function(transport) {
|
743
|
-
this.leaveEditMode();
|
744
|
-
// Can't use triggerCallback due to backward compatibility: requires
|
745
|
-
// binding + direct element
|
746
|
-
this._boundComplete(transport, this.element);
|
747
|
-
}
|
748
|
-
});
|
749
|
-
|
750
|
-
Object.extend(Ajax.InPlaceEditor.prototype, {
|
751
|
-
dispose: Ajax.InPlaceEditor.prototype.destroy
|
752
|
-
});
|
753
|
-
|
754
|
-
Ajax.InPlaceCollectionEditor = Class.create(Ajax.InPlaceEditor, {
|
755
|
-
initialize: function($super, element, url, options) {
|
756
|
-
this._extraDefaultOptions = Ajax.InPlaceCollectionEditor.DefaultOptions;
|
757
|
-
$super(element, url, options);
|
758
|
-
},
|
759
|
-
|
760
|
-
createEditField: function() {
|
761
|
-
var list = document.createElement('select');
|
762
|
-
list.name = this.options.paramName;
|
763
|
-
list.size = 1;
|
764
|
-
this._controls.editor = list;
|
765
|
-
this._collection = this.options.collection || [];
|
766
|
-
if (this.options.loadCollectionURL)
|
767
|
-
this.loadCollection();
|
768
|
-
else
|
769
|
-
this.checkForExternalText();
|
770
|
-
this._form.appendChild(this._controls.editor);
|
771
|
-
},
|
772
|
-
|
773
|
-
loadCollection: function() {
|
774
|
-
this._form.addClassName(this.options.loadingClassName);
|
775
|
-
this.showLoadingText(this.options.loadingCollectionText);
|
776
|
-
var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
|
777
|
-
Object.extend(options, {
|
778
|
-
parameters: 'editorId=' + encodeURIComponent(this.element.id),
|
779
|
-
onComplete: Prototype.emptyFunction,
|
780
|
-
onSuccess: function(transport) {
|
781
|
-
var js = transport.responseText.strip();
|
782
|
-
if (!/^\[.*\]$/.test(js)) // TODO: improve sanity check
|
783
|
-
throw 'Server returned an invalid collection representation.';
|
784
|
-
this._collection = eval(js);
|
785
|
-
this.checkForExternalText();
|
786
|
-
}.bind(this),
|
787
|
-
onFailure: this.onFailure
|
788
|
-
});
|
789
|
-
new Ajax.Request(this.options.loadCollectionURL, options);
|
790
|
-
},
|
791
|
-
|
792
|
-
showLoadingText: function(text) {
|
793
|
-
this._controls.editor.disabled = true;
|
794
|
-
var tempOption = this._controls.editor.firstChild;
|
795
|
-
if (!tempOption) {
|
796
|
-
tempOption = document.createElement('option');
|
797
|
-
tempOption.value = '';
|
798
|
-
this._controls.editor.appendChild(tempOption);
|
799
|
-
tempOption.selected = true;
|
800
|
-
}
|
801
|
-
tempOption.update((text || '').stripScripts().stripTags());
|
802
|
-
},
|
803
|
-
|
804
|
-
checkForExternalText: function() {
|
805
|
-
this._text = this.getText();
|
806
|
-
if (this.options.loadTextURL)
|
807
|
-
this.loadExternalText();
|
808
|
-
else
|
809
|
-
this.buildOptionList();
|
810
|
-
},
|
811
|
-
|
812
|
-
loadExternalText: function() {
|
813
|
-
this.showLoadingText(this.options.loadingText);
|
814
|
-
var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
|
815
|
-
Object.extend(options, {
|
816
|
-
parameters: 'editorId=' + encodeURIComponent(this.element.id),
|
817
|
-
onComplete: Prototype.emptyFunction,
|
818
|
-
onSuccess: function(transport) {
|
819
|
-
this._text = transport.responseText.strip();
|
820
|
-
this.buildOptionList();
|
821
|
-
}.bind(this),
|
822
|
-
onFailure: this.onFailure
|
823
|
-
});
|
824
|
-
new Ajax.Request(this.options.loadTextURL, options);
|
825
|
-
},
|
826
|
-
|
827
|
-
buildOptionList: function() {
|
828
|
-
this._form.removeClassName(this.options.loadingClassName);
|
829
|
-
this._collection = this._collection.map(function(entry) {
|
830
|
-
return 2 === entry.length ? entry : [entry, entry].flatten();
|
831
|
-
});
|
832
|
-
var marker = ('value' in this.options) ? this.options.value : this._text;
|
833
|
-
var textFound = this._collection.any(function(entry) {
|
834
|
-
return entry[0] == marker;
|
835
|
-
}.bind(this));
|
836
|
-
this._controls.editor.update('');
|
837
|
-
var option;
|
838
|
-
this._collection.each(function(entry, index) {
|
839
|
-
option = document.createElement('option');
|
840
|
-
option.value = entry[0];
|
841
|
-
option.selected = textFound ? entry[0] == marker : 0 == index;
|
842
|
-
option.appendChild(document.createTextNode(entry[1]));
|
843
|
-
this._controls.editor.appendChild(option);
|
844
|
-
}.bind(this));
|
845
|
-
this._controls.editor.disabled = false;
|
846
|
-
Field.scrollFreeActivate(this._controls.editor);
|
847
|
-
}
|
848
|
-
});
|
849
|
-
|
850
|
-
//**** DEPRECATION LAYER FOR InPlace[Collection]Editor! ****
|
851
|
-
//**** This only exists for a while, in order to let ****
|
852
|
-
//**** users adapt to the new API. Read up on the new ****
|
853
|
-
//**** API and convert your code to it ASAP! ****
|
854
|
-
|
855
|
-
Ajax.InPlaceEditor.prototype.initialize.dealWithDeprecatedOptions = function(options) {
|
856
|
-
if (!options) return;
|
857
|
-
function fallback(name, expr) {
|
858
|
-
if (name in options || expr === undefined) return;
|
859
|
-
options[name] = expr;
|
860
|
-
};
|
861
|
-
fallback('cancelControl', (options.cancelLink ? 'link' : (options.cancelButton ? 'button' :
|
862
|
-
options.cancelLink == options.cancelButton == false ? false : undefined)));
|
863
|
-
fallback('okControl', (options.okLink ? 'link' : (options.okButton ? 'button' :
|
864
|
-
options.okLink == options.okButton == false ? false : undefined)));
|
865
|
-
fallback('highlightColor', options.highlightcolor);
|
866
|
-
fallback('highlightEndColor', options.highlightendcolor);
|
867
|
-
};
|
868
|
-
|
869
|
-
Object.extend(Ajax.InPlaceEditor, {
|
870
|
-
DefaultOptions: {
|
871
|
-
ajaxOptions: { },
|
872
|
-
autoRows: 3, // Use when multi-line w/ rows == 1
|
873
|
-
cancelControl: 'link', // 'link'|'button'|false
|
874
|
-
cancelText: 'cancel',
|
875
|
-
clickToEditText: 'Click to edit',
|
876
|
-
externalControl: null, // id|elt
|
877
|
-
externalControlOnly: false,
|
878
|
-
fieldPostCreation: 'activate', // 'activate'|'focus'|false
|
879
|
-
formClassName: 'inplaceeditor-form',
|
880
|
-
formId: null, // id|elt
|
881
|
-
highlightColor: '#ffff99',
|
882
|
-
highlightEndColor: '#ffffff',
|
883
|
-
hoverClassName: '',
|
884
|
-
htmlResponse: true,
|
885
|
-
loadingClassName: 'inplaceeditor-loading',
|
886
|
-
loadingText: 'Loading...',
|
887
|
-
okControl: 'button', // 'link'|'button'|false
|
888
|
-
okText: 'ok',
|
889
|
-
paramName: 'value',
|
890
|
-
rows: 1, // If 1 and multi-line, uses autoRows
|
891
|
-
savingClassName: 'inplaceeditor-saving',
|
892
|
-
savingText: 'Saving...',
|
893
|
-
size: 0,
|
894
|
-
stripLoadedTextTags: false,
|
895
|
-
submitOnBlur: false,
|
896
|
-
textAfterControls: '',
|
897
|
-
textBeforeControls: '',
|
898
|
-
textBetweenControls: ''
|
899
|
-
},
|
900
|
-
DefaultCallbacks: {
|
901
|
-
callback: function(form) {
|
902
|
-
return Form.serialize(form);
|
903
|
-
},
|
904
|
-
onComplete: function(transport, element) {
|
905
|
-
// For backward compatibility, this one is bound to the IPE, and passes
|
906
|
-
// the element directly. It was too often customized, so we don't break it.
|
907
|
-
new Effect.Highlight(element, {
|
908
|
-
startcolor: this.options.highlightColor, keepBackgroundImage: true });
|
909
|
-
},
|
910
|
-
onEnterEditMode: null,
|
911
|
-
onEnterHover: function(ipe) {
|
912
|
-
ipe.element.style.backgroundColor = ipe.options.highlightColor;
|
913
|
-
if (ipe._effect)
|
914
|
-
ipe._effect.cancel();
|
915
|
-
},
|
916
|
-
onFailure: function(transport, ipe) {
|
917
|
-
alert('Error communication with the server: ' + transport.responseText.stripTags());
|
918
|
-
},
|
919
|
-
onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls.
|
920
|
-
onLeaveEditMode: null,
|
921
|
-
onLeaveHover: function(ipe) {
|
922
|
-
ipe._effect = new Effect.Highlight(ipe.element, {
|
923
|
-
startcolor: ipe.options.highlightColor, endcolor: ipe.options.highlightEndColor,
|
924
|
-
restorecolor: ipe._originalBackground, keepBackgroundImage: true
|
925
|
-
});
|
926
|
-
}
|
927
|
-
},
|
928
|
-
Listeners: {
|
929
|
-
click: 'enterEditMode',
|
930
|
-
keydown: 'checkForEscapeOrReturn',
|
931
|
-
mouseover: 'enterHover',
|
932
|
-
mouseout: 'leaveHover'
|
933
|
-
}
|
934
|
-
});
|
935
|
-
|
936
|
-
Ajax.InPlaceCollectionEditor.DefaultOptions = {
|
937
|
-
loadingCollectionText: 'Loading options...'
|
938
|
-
};
|
939
|
-
|
940
|
-
// Delayed observer, like Form.Element.Observer,
|
941
|
-
// but waits for delay after last key input
|
942
|
-
// Ideal for live-search fields
|
943
|
-
|
944
|
-
Form.Element.DelayedObserver = Class.create({
|
945
|
-
initialize: function(element, delay, callback) {
|
946
|
-
this.delay = delay || 0.5;
|
947
|
-
this.element = $(element);
|
948
|
-
this.callback = callback;
|
949
|
-
this.timer = null;
|
950
|
-
this.lastValue = $F(this.element);
|
951
|
-
Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this));
|
952
|
-
},
|
953
|
-
delayedListener: function(event) {
|
954
|
-
if(this.lastValue == $F(this.element)) return;
|
955
|
-
if(this.timer) clearTimeout(this.timer);
|
956
|
-
this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000);
|
957
|
-
this.lastValue = $F(this.element);
|
958
|
-
},
|
959
|
-
onTimerEvent: function() {
|
960
|
-
this.timer = null;
|
961
|
-
this.callback(this.element, $F(this.element));
|
962
|
-
}
|
963
|
-
});
|