typo 5.5 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/PostInstall.txt +5 -0
- data/typo.gemspec +16 -0
- metadata +35 -1619
- data/CHANGELOG +0 -59
- data/MAINTAINERS +0 -23
- data/MIT-LICENSE +0 -21
- data/README +0 -57
- data/Rakefile +0 -10
- data/Typo users guide.pdf +0 -0
- data/UPGRADE +0 -144
- data/app/apis/blogger_service.rb +0 -93
- data/app/apis/meta_weblog_service.rb +0 -173
- data/app/apis/movable_type_service.rb +0 -144
- data/app/apis/typo_web_service.rb +0 -26
- data/app/controllers/accounts_controller.rb +0 -106
- data/app/controllers/admin/base_controller.rb +0 -18
- data/app/controllers/admin/categories_controller.rb +0 -66
- data/app/controllers/admin/content_controller.rb +0 -242
- data/app/controllers/admin/dashboard_controller.rb +0 -96
- data/app/controllers/admin/feedback_controller.rb +0 -173
- data/app/controllers/admin/pages_controller.rb +0 -77
- data/app/controllers/admin/profiles_controller.rb +0 -14
- data/app/controllers/admin/resources_controller.rb +0 -96
- data/app/controllers/admin/settings_controller.rb +0 -76
- data/app/controllers/admin/sidebar_controller.rb +0 -102
- data/app/controllers/admin/tags_controller.rb +0 -37
- data/app/controllers/admin/textfilters_controller.rb +0 -8
- data/app/controllers/admin/themes_controller.rb +0 -121
- data/app/controllers/admin/users_controller.rb +0 -47
- data/app/controllers/application_controller.rb +0 -78
- data/app/controllers/articles_controller.rb +0 -312
- data/app/controllers/authors_controller.rb +0 -21
- data/app/controllers/backend_controller.rb +0 -20
- data/app/controllers/categories_controller.rb +0 -4
- data/app/controllers/comments_controller.rb +0 -89
- data/app/controllers/content_controller.rb +0 -51
- data/app/controllers/feedback_controller.rb +0 -50
- data/app/controllers/grouping_controller.rb +0 -123
- data/app/controllers/setup_controller.rb +0 -45
- data/app/controllers/tags_controller.rb +0 -3
- data/app/controllers/textfilter_controller.rb +0 -19
- data/app/controllers/theme_controller.rb +0 -62
- data/app/controllers/trackbacks_controller.rb +0 -41
- data/app/controllers/xml_controller.rb +0 -134
- data/app/helpers/accounts_helper.rb +0 -2
- data/app/helpers/admin/base_helper.rb +0 -251
- data/app/helpers/admin/cache_helper.rb +0 -2
- data/app/helpers/admin/categories_helper.rb +0 -12
- data/app/helpers/admin/comments_helper.rb +0 -2
- data/app/helpers/admin/content_helper.rb +0 -88
- data/app/helpers/admin/feedback_helper.rb +0 -15
- data/app/helpers/admin/general_helper.rb +0 -2
- data/app/helpers/admin/pages_helper.rb +0 -8
- data/app/helpers/admin/resources_helper.rb +0 -8
- data/app/helpers/admin/settings_helper.rb +0 -23
- data/app/helpers/admin/sidebar_helper.rb +0 -2
- data/app/helpers/admin/textfilters_helper.rb +0 -2
- data/app/helpers/admin/themes_helper.rb +0 -23
- data/app/helpers/admin/trackbacks_helper.rb +0 -2
- data/app/helpers/admin/users_helper.rb +0 -14
- data/app/helpers/application_helper.rb +0 -199
- data/app/helpers/articles_helper.rb +0 -21
- data/app/helpers/authors_helper.rb +0 -19
- data/app/helpers/backend_helper.rb +0 -2
- data/app/helpers/categories_helper.rb +0 -5
- data/app/helpers/comments_helper.rb +0 -2
- data/app/helpers/content_helper.rb +0 -67
- data/app/helpers/groupings_helper.rb +0 -5
- data/app/helpers/mail_helper.rb +0 -7
- data/app/helpers/sidebar_helper.rb +0 -47
- data/app/helpers/sidebars/plugin_helper.rb +0 -2
- data/app/helpers/tags_helper.rb +0 -5
- data/app/helpers/text_filter_plugin_helper.rb +0 -2
- data/app/helpers/textfilter_helper.rb +0 -2
- data/app/helpers/theme_helper.rb +0 -7
- data/app/helpers/xml_helper.rb +0 -20
- data/app/models/article.rb +0 -575
- data/app/models/article/states.rb +0 -191
- data/app/models/blog.rb +0 -202
- data/app/models/blog_sweeper.rb +0 -88
- data/app/models/categorization.rb +0 -4
- data/app/models/category.rb +0 -98
- data/app/models/comment.rb +0 -75
- data/app/models/config_manager.rb +0 -80
- data/app/models/content.rb +0 -385
- data/app/models/email_notifier.rb +0 -8
- data/app/models/feedback.rb +0 -175
- data/app/models/feedback/states.rb +0 -221
- data/app/models/notification.rb +0 -4
- data/app/models/notification_mailer.rb +0 -41
- data/app/models/page.rb +0 -41
- data/app/models/page_cache.rb +0 -62
- data/app/models/ping.rb +0 -124
- data/app/models/profile.rb +0 -15
- data/app/models/redirect.rb +0 -3
- data/app/models/resource.rb +0 -66
- data/app/models/right.rb +0 -4
- data/app/models/sidebar.rb +0 -269
- data/app/models/tag.rb +0 -99
- data/app/models/text_filter.rb +0 -106
- data/app/models/theme.rb +0 -58
- data/app/models/trackback.rb +0 -67
- data/app/models/trigger.rb +0 -32
- data/app/models/user.rb +0 -208
- data/app/models/web_notifier.rb +0 -7
- data/app/views/accounts/confirm.html.erb +0 -1
- data/app/views/accounts/login.html.erb +0 -25
- data/app/views/accounts/recover_password.html.erb +0 -15
- data/app/views/accounts/signup.html.erb +0 -22
- data/app/views/admin/categories/_categories.html.erb +0 -22
- data/app/views/admin/categories/_form.html.erb +0 -19
- data/app/views/admin/categories/destroy.html.erb +0 -10
- data/app/views/admin/categories/index.html.erb +0 -8
- data/app/views/admin/categories/new.html.erb +0 -6
- data/app/views/admin/categories/reorder.html.erb +0 -11
- data/app/views/admin/content/_article_list.html.erb +0 -17
- data/app/views/admin/content/_attachment.html.erb +0 -30
- data/app/views/admin/content/_drafts.html.erb +0 -8
- data/app/views/admin/content/_form.html.erb +0 -124
- data/app/views/admin/content/_images.html.erb +0 -18
- data/app/views/admin/content/_show_resources.html.erb +0 -9
- data/app/views/admin/content/_simple_editor.html.erb +0 -15
- data/app/views/admin/content/_visual_editor.html.erb +0 -20
- data/app/views/admin/content/destroy.html.erb +0 -11
- data/app/views/admin/content/index.html.erb +0 -47
- data/app/views/admin/content/new.html.erb +0 -3
- data/app/views/admin/dashboard/_comments.html.erb +0 -19
- data/app/views/admin/dashboard/_inbound.html.erb +0 -23
- data/app/views/admin/dashboard/_overview.html.erb +0 -19
- data/app/views/admin/dashboard/_popular.html.erb +0 -17
- data/app/views/admin/dashboard/_posts.html.erb +0 -19
- data/app/views/admin/dashboard/_typo_dev.html.erb +0 -25
- data/app/views/admin/dashboard/_welcome.html.erb +0 -17
- data/app/views/admin/dashboard/index.html.erb +0 -13
- data/app/views/admin/feedback/_button.html.erb +0 -10
- data/app/views/admin/feedback/_form.html.erb +0 -32
- data/app/views/admin/feedback/_item.html.erb +0 -19
- data/app/views/admin/feedback/article.html.erb +0 -34
- data/app/views/admin/feedback/edit.html.erb +0 -10
- data/app/views/admin/feedback/index.html.erb +0 -44
- data/app/views/admin/pages/_form.html.erb +0 -62
- data/app/views/admin/pages/_images.html.erb +0 -18
- data/app/views/admin/pages/_pages.html.erb +0 -17
- data/app/views/admin/pages/_simple_editor.html.erb +0 -15
- data/app/views/admin/pages/_visual_editor.html.erb +0 -21
- data/app/views/admin/pages/destroy.html.erb +0 -11
- data/app/views/admin/pages/edit.html.erb +0 -4
- data/app/views/admin/pages/index.html.erb +0 -13
- data/app/views/admin/pages/new.html.erb +0 -3
- data/app/views/admin/pages/show.html.erb +0 -2
- data/app/views/admin/profiles/index.html.erb +0 -8
- data/app/views/admin/resources/_mime_edit.html.erb +0 -8
- data/app/views/admin/resources/_pages.html.erb +0 -3
- data/app/views/admin/resources/_upload.html.erb +0 -17
- data/app/views/admin/resources/destroy.html.erb +0 -11
- data/app/views/admin/resources/get_thumbnails.html.erb +0 -5
- data/app/views/admin/resources/images.html.erb +0 -28
- data/app/views/admin/resources/index.html.erb +0 -30
- data/app/views/admin/settings/_submit.html.erb +0 -3
- data/app/views/admin/settings/feedback.html.erb +0 -109
- data/app/views/admin/settings/index.html.erb +0 -86
- data/app/views/admin/settings/seo.html.erb +0 -80
- data/app/views/admin/settings/update_database.html.erb +0 -42
- data/app/views/admin/settings/write.html.erb +0 -34
- data/app/views/admin/shared/_edit.html.erb +0 -6
- data/app/views/admin/sidebar/_active.html.erb +0 -15
- data/app/views/admin/sidebar/_actives.html.erb +0 -9
- data/app/views/admin/sidebar/_available.html.erb +0 -7
- data/app/views/admin/sidebar/_availables.html.erb +0 -5
- data/app/views/admin/sidebar/_publish.html.erb +0 -2
- data/app/views/admin/sidebar/_target.html.erb +0 -1
- data/app/views/admin/sidebar/index.html.erb +0 -49
- data/app/views/admin/sidebar/publish.rjs +0 -4
- data/app/views/admin/sidebar/remove.rjs +0 -5
- data/app/views/admin/sidebar/set_active.rjs +0 -10
- data/app/views/admin/tags/_form.html.erb +0 -6
- data/app/views/admin/tags/destroy.html.erb +0 -11
- data/app/views/admin/tags/edit.html.erb +0 -13
- data/app/views/admin/tags/index.html.erb +0 -19
- data/app/views/admin/themes/catalogue.html.erb +0 -30
- data/app/views/admin/themes/editor.html.erb +0 -29
- data/app/views/admin/themes/index.html.erb +0 -36
- data/app/views/admin/users/_form.html.erb +0 -188
- data/app/views/admin/users/destroy.html.erb +0 -14
- data/app/views/admin/users/edit.html.erb +0 -6
- data/app/views/admin/users/index.html.erb +0 -27
- data/app/views/admin/users/new.html.erb +0 -6
- data/app/views/articles/_article.html.erb +0 -24
- data/app/views/articles/_article_content.html.erb +0 -1
- data/app/views/articles/_atom_feed.atom.builder +0 -12
- data/app/views/articles/_comment.html.erb +0 -9
- data/app/views/articles/_comment_box.html.erb +0 -45
- data/app/views/articles/_comment_error.html.erb +0 -1
- data/app/views/articles/_comment_failed.html.erb +0 -4
- data/app/views/articles/_password_form.html.erb +0 -10
- data/app/views/articles/_rss20_feed.rss.builder +0 -19
- data/app/views/articles/_trackback.html.erb +0 -6
- data/app/views/articles/archives.html.erb +0 -22
- data/app/views/articles/comment_preview.html.erb +0 -3
- data/app/views/articles/error.html.erb +0 -3
- data/app/views/articles/groupings.html.erb +0 -15
- data/app/views/articles/index.html.erb +0 -8
- data/app/views/articles/live_search.html.erb +0 -10
- data/app/views/articles/read.html.erb +0 -66
- data/app/views/articles/search.html.erb +0 -8
- data/app/views/articles/trackback.xml.builder +0 -5
- data/app/views/articles/view_page.html.erb +0 -3
- data/app/views/authors/show.html.erb +0 -37
- data/app/views/comments/index.html.erb +0 -1
- data/app/views/comments/show.html.erb +0 -13
- data/app/views/layouts/accounts.html.erb +0 -18
- data/app/views/layouts/administration.html.erb +0 -45
- data/app/views/layouts/setup.html.erb +0 -18
- data/app/views/layouts/sidebar.html.erb +0 -40
- data/app/views/notification_mailer/_mail_footer.html.erb +0 -7
- data/app/views/notification_mailer/_mail_header.html.erb +0 -1
- data/app/views/notification_mailer/article.html.erb +0 -6
- data/app/views/notification_mailer/comment.html.erb +0 -11
- data/app/views/notification_mailer/notif_user.html.erb +0 -14
- data/app/views/notification_mailer/trackback.html.erb +0 -3
- data/app/views/settings/done.html.erb +0 -2
- data/app/views/settings/install.html.erb +0 -12
- data/app/views/setup/confirm.html.erb +0 -1
- data/app/views/setup/index.html.erb +0 -17
- data/app/views/shared/_confirm.html.erb +0 -16
- data/app/views/shared/_search.html.erb +0 -10
- data/app/views/sidebar/_row.html.erb +0 -1
- data/app/views/sidebar/_sidebar.html.erb +0 -5
- data/app/views/sidebar/display_plugins.html.erb +0 -5
- data/app/views/sidebar/show.html.erb +0 -1
- data/app/views/theme/static_view_test.html.erb +0 -1
- data/app/views/trackbacks/trackback.xml.builder +0 -4
- data/app/views/xml/_atom10_item_article.atom.builder +0 -39
- data/app/views/xml/_atom10_item_comment.atom.builder +0 -12
- data/app/views/xml/_atom10_item_trackback.atom.builder +0 -16
- data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +0 -5
- data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +0 -4
- data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +0 -4
- data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +0 -4
- data/app/views/xml/_itunes_item_resource.xml.builder +0 -28
- data/app/views/xml/_rss20_item_article.rss.builder +0 -29
- data/app/views/xml/_rss20_item_comment.rss.builder +0 -7
- data/app/views/xml/_rss20_item_trackback.rss.builder +0 -7
- data/app/views/xml/feed.atom.builder +0 -18
- data/app/views/xml/feed.googlesitemap.builder +0 -7
- data/app/views/xml/feed.rss.builder +0 -21
- data/app/views/xml/itunes_feed.rss.builder +0 -29
- data/app/views/xml/rsd.rsd.builder +0 -19
- data/app/views/xml/rsd.rxml +0 -19
- data/bin/typo +0 -122
- data/config/boot.rb +0 -110
- data/config/ckeditor.yml +0 -14
- data/config/database.yml.example +0 -18
- data/config/environment.rb +0 -109
- data/config/environments/cucumber.rb +0 -23
- data/config/environments/development.rb +0 -21
- data/config/environments/production.rb +0 -19
- data/config/environments/test.rb +0 -26
- data/config/filemanager.yml +0 -16
- data/config/initializers/access_rules.rb +0 -110
- data/config/initializers/inflector.rb +0 -4
- data/config/initializers/mime_types.rb +0 -3
- data/config/lighttpd.conf +0 -46
- data/config/locales/nl.rb +0 -103
- data/config/mail.yml.example +0 -8
- data/config/routes.rb +0 -128
- data/db/converters/README +0 -14
- data/db/converters/feed.rb +0 -68
- data/db/converters/mt3.rb +0 -172
- data/db/converters/rss.rb +0 -67
- data/db/converters/s9y.rb +0 -182
- data/db/converters/textpattern.rb +0 -137
- data/db/migrate/001_initial_schema.rb +0 -145
- data/db/migrate/002_add_user_email.rb +0 -17
- data/db/migrate/003_add_article_user_id.rb +0 -31
- data/db/migrate/004_add_sidebars.rb +0 -48
- data/db/migrate/005_add_cache_table.rb +0 -20
- data/db/migrate/006_add_pages.rb +0 -17
- data/db/migrate/007_add_permalink.rb +0 -36
- data/db/migrate/008_add_page_title.rb +0 -20
- data/db/migrate/009_add_article_guid.rb +0 -10
- data/db/migrate/010_add_tags.rb +0 -19
- data/db/migrate/011_add_article_id.rb +0 -17
- data/db/migrate/012_enlarge_settings.rb +0 -11
- data/db/migrate/013_add_textfilters.rb +0 -33
- data/db/migrate/014_move_text_filter_to_text_filter_id.rb +0 -43
- data/db/migrate/015_convert_mysql_to_innodb.rb +0 -19
- data/db/migrate/016_fix_is_primary_postgres.rb +0 -16
- data/db/migrate/017_add_comment_user_id.rb +0 -23
- data/db/migrate/018_add_guids.rb +0 -13
- data/db/migrate/019_add_whiteboards_to_content.rb +0 -15
- data/db/migrate/020_superclass_articles.rb +0 -168
- data/db/migrate/021_superclass_comments.rb +0 -94
- data/db/migrate/022_superclass_trackbacks.rb +0 -73
- data/db/migrate/023_superclass_pages.rb +0 -65
- data/db/migrate/024_cleanup_contents.rb +0 -54
- data/db/migrate/025_add_itunes_metadata.rb +0 -29
- data/db/migrate/026_add_redirect_table.rb +0 -13
- data/db/migrate/027_set_comment_published_flag.rb +0 -19
- data/db/migrate/028_rename_redirect_to.rb +0 -16
- data/db/migrate/029_add_user_notification.rb +0 -29
- data/db/migrate/030_index_sessions.rb +0 -9
- data/db/migrate/031_add_notifications_table.rb +0 -14
- data/db/migrate/032_add_jabber_notification.rb +0 -11
- data/db/migrate/033_add_count_caching.rb +0 -34
- data/db/migrate/034_boolify_published.rb +0 -36
- data/db/migrate/035_boolify_content_allow_foo.rb +0 -36
- data/db/migrate/036_add_tag_display_name.rb +0 -51
- data/db/migrate/037_enlarge_ip_field.rb +0 -9
- data/db/migrate/038_add_blog_object.rb +0 -52
- data/db/migrate/039_serialize_blog_attributes.rb +0 -160
- data/db/migrate/040_attach_content_to_blog.rb +0 -28
- data/db/migrate/041_fixup_default_sidebars.rb +0 -18
- data/db/migrate/042_remove_sidebar_staged_config.rb +0 -22
- data/db/migrate/043_create_triggers.rb +0 -14
- data/db/migrate/044_add_published_at_to_content.rb +0 -18
- data/db/migrate/045_fix_contents_published_default.rb +0 -9
- data/db/migrate/046_fixup_forthcoming_publications.rb +0 -40
- data/db/migrate/047_add_content_state_field.rb +0 -24
- data/db/migrate/048_remove_count_caching.rb +0 -31
- data/db/migrate/049_move_feedback_to_new_state_machine.rb +0 -33
- data/db/migrate/050_add_status_confirmed_field_to_content.rb +0 -19
- data/db/migrate/051_fix_canonical_server_url.rb +0 -17
- data/db/migrate/052_remove_cached_html.rb +0 -11
- data/db/migrate/053_promote_canonical_server_url.rb +0 -22
- data/db/migrate/054_upgrade_sidebar_objects.rb +0 -26
- data/db/migrate/055_link_sidebars_to_blog.rb +0 -17
- data/db/migrate/056_create_notifications.rb +0 -33
- data/db/migrate/057_add_categorization_model.rb +0 -58
- data/db/migrate/058_separate_entries_and_feedback.rb +0 -81
- data/db/migrate/059_cleanup_feedback_table.rb +0 -25
- data/db/migrate/060_cleanup_contents_table.rb +0 -37
- data/db/migrate/061_convert_title_prefix_setting.rb +0 -25
- data/db/migrate/062_add_sitealizer_plugin.rb +0 -18
- data/db/migrate/063_rejig_state_field.rb +0 -42
- data/db/migrate/064_add_users_profile.rb +0 -32
- data/db/migrate/065_add_users_rights.rb +0 -116
- data/db/migrate/066_fix_profiles.rb +0 -20
- data/db/migrate/067_remove_blog_ids.rb +0 -30
- data/db/migrate/068_fix_grants.rb +0 -113
- data/db/migrate/069_add_modules_to_profile.rb +0 -18
- data/db/migrate/070_add_users_to_non_admins.rb +0 -17
- data/db/migrate/071_fix_tags_naming.rb +0 -18
- data/db/migrate/072_add_remember_token.rb +0 -9
- data/db/migrate/073_add_meta_and_subcategories.rb +0 -13
- data/db/migrate/074_add_remember_token_expires_at.rb +0 -9
- data/db/migrate/075_move_editor_to_user.rb +0 -10
- data/db/migrate/076_fix_users_empty_email.rb +0 -15
- data/db/migrate/077_fix_userless_articles.rb +0 -20
- data/db/migrate/078_add_textfilter_to_users.rb +0 -15
- data/db/migrate/079_move_editor_as_string.rb +0 -16
- data/db/migrate/080_add_state_to_user.rb +0 -14
- data/db/migrate/081_create_cache_informations.rb +0 -28
- data/db/migrate/082_add_users_options.rb +0 -35
- data/db/migrate/083_add_users_display_perms.rb +0 -19
- data/db/migrate/084_move_users_to_profiles.rb +0 -19
- data/db/migrate/085_add_article_parent_draft.rb +0 -9
- data/db/migrate/086_add_user_last_connection.rb +0 -9
- data/db/migrate/087_drop_blacklist_patterns.rb +0 -14
- data/db/migrate/088_drop_session_table.rb +0 -14
- data/db/migrate/089_drop_cache_information_table.rb +0 -31
- data/db/migrate/090_remove_keywords_from_posts.rb +0 -9
- data/db/migrate/091_adds_password_protection_to_posts.rb +0 -9
- data/db/schema.mysql-v3.sql +0 -3
- data/db/schema.mysql.sql +0 -3
- data/db/schema.postgresql.sql +0 -3
- data/db/schema.sqlite.sql +0 -3
- data/db/schema.sqlite3.sql +0 -3
- data/db/schema.sqlserver.sql +0 -3
- data/db/schema_version +0 -1
- data/db/scripts/fix_permalinks.rb +0 -5
- data/db/updates/update.168.to.200.mysql.sql +0 -33
- data/db/updates/update.168.to.200.psql.sql +0 -30
- data/doc/CACHE.SETUP.README +0 -36
- data/doc/Installer.txt +0 -160
- data/installer/apache13.conf.example.template +0 -33
- data/installer/apache20.conf.example.template +0 -40
- data/installer/lighttpd.conf.example.template +0 -6
- data/installer/rails_installer_defaults.yml +0 -5
- data/lang/de_DE.rb +0 -497
- data/lang/en_US.rb +0 -3
- data/lang/es_MX.rb +0 -556
- data/lang/fr_FR.rb +0 -762
- data/lang/he_IL.rb +0 -715
- data/lang/it_IT.rb +0 -566
- data/lang/ja_JP.rb +0 -707
- data/lang/nl_NL.rb +0 -657
- data/lang/pl_PL.rb +0 -685
- data/lang/ro_RO.rb +0 -552
- data/lang/zh_TW.rb +0 -597
- data/lib/backpack_api.rb +0 -202
- data/lib/bare_migration.rb +0 -145
- data/lib/email_notify.rb +0 -32
- data/lib/filemanager.rb +0 -53
- data/lib/filemanager/controller.rb +0 -217
- data/lib/format.rb +0 -19
- data/lib/generators/sidebar/sidebar_generator.rb +0 -22
- data/lib/generators/sidebar/templates/Rakefile +0 -22
- data/lib/generators/sidebar/templates/content.html.erb +0 -10
- data/lib/generators/sidebar/templates/init.rb +0 -4
- data/lib/generators/sidebar/templates/sidebar.rb +0 -16
- data/lib/generators/sidebar/templates/unit_test.rb +0 -8
- data/lib/i18n_interpolation_deprecation.rb +0 -26
- data/lib/migrator.rb +0 -28
- data/lib/rails_patch/active_record.rb +0 -9
- data/lib/rails_patch/active_support.rb +0 -4
- data/lib/route_cache.rb +0 -15
- data/lib/sidebars/component_plugin.rb +0 -8
- data/lib/sidebars/consolidated_plugin.rb +0 -26
- data/lib/sidebars/plugin.rb +0 -237
- data/lib/spam_protection.rb +0 -110
- data/lib/stateful.rb +0 -111
- data/lib/tasks/cucumber.rake +0 -20
- data/lib/tasks/release.rake +0 -53
- data/lib/tasks/rspec.rake +0 -167
- data/lib/tasks/schemas.rake +0 -6
- data/lib/tasks/sweep_cache.rake +0 -5
- data/lib/text_filter_plugin.rb +0 -148
- data/lib/transforms.rb +0 -26
- data/lib/typo_guid.rb +0 -10
- data/lib/typo_plugins.rb +0 -19
- data/lib/typo_version.rb +0 -1
- data/public/.htaccess +0 -36
- data/public/404.html +0 -8
- data/public/500.html +0 -8
- data/public/dispatch.cgi +0 -10
- data/public/dispatch.fcgi +0 -24
- data/public/dispatch.rb +0 -10
- data/public/favicon.ico +0 -0
- data/public/filemanager/images/avi.gif +0 -0
- data/public/filemanager/images/box.gif +0 -0
- data/public/filemanager/images/bullet.gif +0 -0
- data/public/filemanager/images/close.gif +0 -0
- data/public/filemanager/images/closelabel.gif +0 -0
- data/public/filemanager/images/doc.gif +0 -0
- data/public/filemanager/images/donate-button.gif +0 -0
- data/public/filemanager/images/download-icon.gif +0 -0
- data/public/filemanager/images/folder.gif +0 -0
- data/public/filemanager/images/gif.gif +0 -0
- data/public/filemanager/images/htm.gif +0 -0
- data/public/filemanager/images/html.gif +0 -0
- data/public/filemanager/images/image-1.jpg +0 -0
- data/public/filemanager/images/image.gif +0 -0
- data/public/filemanager/images/jpg.gif +0 -0
- data/public/filemanager/images/loading.gif +0 -0
- data/public/filemanager/images/mov.gif +0 -0
- data/public/filemanager/images/nextlabel.gif +0 -0
- data/public/filemanager/images/pdf.gif +0 -0
- data/public/filemanager/images/png.gif +0 -0
- data/public/filemanager/images/ppt.gif +0 -0
- data/public/filemanager/images/prevlabel.gif +0 -0
- data/public/filemanager/images/rar.gif +0 -0
- data/public/filemanager/images/rm.gif +0 -0
- data/public/filemanager/images/rmvb.gif +0 -0
- data/public/filemanager/images/separator.gif +0 -0
- data/public/filemanager/images/spacer.gif +0 -0
- data/public/filemanager/images/swf.gif +0 -0
- data/public/filemanager/images/thumb-1.jpg +0 -0
- data/public/filemanager/images/tool_copy.gif +0 -0
- data/public/filemanager/images/tool_cut.gif +0 -0
- data/public/filemanager/images/tool_del.gif +0 -0
- data/public/filemanager/images/tool_folder.gif +0 -0
- data/public/filemanager/images/tool_imagemanager.gif +0 -0
- data/public/filemanager/images/tool_new.gif +0 -0
- data/public/filemanager/images/tool_paste.gif +0 -0
- data/public/filemanager/images/tool_props.gif +0 -0
- data/public/filemanager/images/tool_refresh.gif +0 -0
- data/public/filemanager/images/tool_unzip.gif +0 -0
- data/public/filemanager/images/tool_upload.gif +0 -0
- data/public/filemanager/images/tool_zip.gif +0 -0
- data/public/filemanager/images/txt.gif +0 -0
- data/public/filemanager/images/unknown.gif +0 -0
- data/public/filemanager/images/wmv.gif +0 -0
- data/public/filemanager/images/xls.gif +0 -0
- data/public/filemanager/images/zip.gif +0 -0
- data/public/filemanager/javascripts/filemanager.js +0 -6
- data/public/filemanager/javascripts/lang/en.js +0 -31
- data/public/filemanager/javascripts/lang/zh_CN.js +0 -31
- data/public/filemanager/javascripts/lightbox.js +0 -497
- data/public/filemanager/javascripts/translate.js +0 -42
- data/public/filemanager/resources/resources.txt +0 -1
- data/public/filemanager/stylesheets/filelist.css +0 -147
- data/public/filemanager/stylesheets/general.css +0 -135
- data/public/filemanager/stylesheets/lightbox.css +0 -27
- data/public/images/admin/loading.gif +0 -0
- data/public/images/admin/typologo.gif +0 -0
- data/public/images/admin/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/public/images/admin/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/public/images/admin/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/public/images/admin/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/public/images/admin/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/public/images/admin/ui-bg_highlight-soft_50_116088_1x100.png +0 -0
- data/public/images/admin/ui-icons_2694e8_256x240.png +0 -0
- data/public/images/admin/ui-icons_2e83ff_256x240.png +0 -0
- data/public/images/admin/ui-icons_3d80b3_256x240.png +0 -0
- data/public/images/admin/ui-icons_72a7cf_256x240.png +0 -0
- data/public/images/admin/ui-icons_ffffff_256x240.png +0 -0
- data/public/images/calendar_date_select/calendar.gif +0 -0
- data/public/images/close.gif +0 -0
- data/public/images/closelabel.gif +0 -0
- data/public/images/go.png +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/nextlabel.gif +0 -0
- data/public/images/overlay.png +0 -0
- data/public/images/powered.gif +0 -0
- data/public/images/prevlabel.gif +0 -0
- data/public/images/spinner-blue.gif +0 -0
- data/public/images/spinner.gif +0 -0
- data/public/images/thumb_blank.jpg +0 -0
- data/public/javascripts/administration.js +0 -20
- data/public/javascripts/application.js +0 -2
- data/public/javascripts/base_packaged.js +0 -377
- data/public/javascripts/builder.js +0 -136
- data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/public/javascripts/ckcustom.js +0 -27
- data/public/javascripts/ckeditor/.htaccess +0 -24
- data/public/javascripts/ckeditor/CHANGES.html +0 -254
- data/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/public/javascripts/ckeditor/LICENSE.html +0 -1334
- data/public/javascripts/ckeditor/ckeditor.js +0 -108
- data/public/javascripts/ckeditor/ckeditor.pack +0 -199
- data/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/public/javascripts/ckeditor/config.bak +0 -27
- data/public/javascripts/ckeditor/contents.css +0 -35
- data/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
- data/public/javascripts/ckeditor/lang/af.js +0 -6
- data/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/public/javascripts/ckeditor/lang/da.js +0 -6
- data/public/javascripts/ckeditor/lang/de.js +0 -6
- data/public/javascripts/ckeditor/lang/el.js +0 -6
- data/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/en-uk.js +0 -6
- data/public/javascripts/ckeditor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/public/javascripts/ckeditor/lang/es.js +0 -6
- data/public/javascripts/ckeditor/lang/et.js +0 -6
- data/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/public/javascripts/ckeditor/lang/he.js +0 -6
- data/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/public/javascripts/ckeditor/lang/is.js +0 -6
- data/public/javascripts/ckeditor/lang/it.js +0 -6
- data/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/public/javascripts/ckeditor/lang/km.js +0 -6
- data/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/public/javascripts/ckeditor/lang/no.js +0 -6
- data/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/public/javascripts/ckeditor/lang/th.js +0 -6
- data/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -6
- data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
- data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
- data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
- data/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
- data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
- data/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- 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 +0 -6
- data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
- data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
- data/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
- data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- 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 +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
- data/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
- data/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
- 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/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
- data/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
- 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 +0 -6
- data/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
- data/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
- 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 +0 -6
- data/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/public/javascripts/ckeditor/themes/default/theme.js +0 -7
- data/public/javascripts/codecollapse.js +0 -8
- data/public/javascripts/controls.js +0 -963
- data/public/javascripts/cookies.js +0 -60
- data/public/javascripts/dragdrop.js +0 -973
- data/public/javascripts/effects.js +0 -1128
- data/public/javascripts/growler.js +0 -168
- data/public/javascripts/lang/default.js +0 -21
- data/public/javascripts/lang/en_US.js +0 -21
- data/public/javascripts/lang/fr_FR.js +0 -21
- data/public/javascripts/lang/nl_NL.js +0 -21
- data/public/javascripts/lang/zh_TW.js +0 -17
- data/public/javascripts/lightbox.js +0 -497
- data/public/javascripts/prototype.js +0 -4320
- data/public/javascripts/prototype_ext.js +0 -117
- data/public/javascripts/quicktags.js +0 -522
- data/public/javascripts/scriptaculous.js +0 -58
- data/public/javascripts/slider.js +0 -258
- data/public/javascripts/typo.js +0 -136
- data/public/javascripts/typo_carousel.js +0 -340
- data/public/robots.txt +0 -6
- data/public/stylesheets/accounts.css +0 -119
- data/public/stylesheets/administration.css +0 -678
- data/public/stylesheets/administration_rtl.css +0 -905
- data/public/stylesheets/base_packaged.css +0 -100
- data/public/stylesheets/calendar_date_select/default.css +0 -136
- data/public/stylesheets/codecollapse.css +0 -3
- data/public/stylesheets/coderay.css +0 -128
- data/public/stylesheets/growler.css +0 -216
- data/public/stylesheets/lightbox.css +0 -27
- data/public/stylesheets/rss.css +0 -54
- data/public/stylesheets/textmate/dawn.css +0 -209
- data/public/stylesheets/textmate/iplastic.css +0 -142
- data/public/stylesheets/textmate/space_cadet.css +0 -99
- data/public/stylesheets/textmate/textmate.css +0 -48
- data/public/stylesheets/textmate/twilight.css +0 -227
- data/public/stylesheets/user-styles.css +0 -24
- data/script/about +0 -4
- data/script/autospec +0 -6
- data/script/breakpointer +0 -3
- data/script/console +0 -3
- data/script/dbconsole +0 -3
- data/script/destroy +0 -3
- data/script/generate +0 -3
- data/script/lighttpd +0 -2
- data/script/logreport +0 -79
- data/script/migrate +0 -31
- data/script/performance/benchmarker +0 -3
- data/script/performance/profiler +0 -3
- data/script/plugin +0 -3
- data/script/runner +0 -3
- data/script/server +0 -3
- data/script/spacecheck +0 -40
- data/script/spec +0 -10
- data/themes/dirtylicious/about.markdown +0 -3
- data/themes/dirtylicious/images/body.jpg +0 -0
- data/themes/dirtylicious/images/container.jpg +0 -0
- data/themes/dirtylicious/images/gravatar.gif +0 -0
- data/themes/dirtylicious/images/header.jpg +0 -0
- data/themes/dirtylicious/images/li.gif +0 -0
- data/themes/dirtylicious/images/main.gif +0 -0
- data/themes/dirtylicious/images/nav.gif +0 -0
- data/themes/dirtylicious/images/quote.gif +0 -0
- data/themes/dirtylicious/images/spinner.gif +0 -0
- data/themes/dirtylicious/layouts/default.html.erb +0 -57
- data/themes/dirtylicious/preview.png +0 -0
- data/themes/dirtylicious/stylesheets/application.css +0 -327
- data/themes/dirtylicious/views/articles/_article.html.erb +0 -43
- data/themes/dirtylicious/views/articles/_article_content.html.erb +0 -1
- data/themes/dirtylicious/views/articles/_comment.html.erb +0 -14
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +0 -37
- data/themes/dirtylicious/views/articles/_comment_list.html.erb +0 -7
- data/themes/dirtylicious/views/articles/_password_form.html.erb +0 -10
- data/themes/dirtylicious/views/articles/_trackback.html.erb +0 -9
- data/themes/dirtylicious/views/articles/comment_preview.html.erb +0 -10
- data/themes/dirtylicious/views/articles/index.html.erb +0 -3
- data/themes/dirtylicious/views/articles/read.html.erb +0 -48
- data/themes/scribbish/CONTRIBUTORS +0 -2
- data/themes/scribbish/about.markdown +0 -9
- data/themes/scribbish/images/background.gif +0 -0
- data/themes/scribbish/images/gravatar.gif +0 -0
- data/themes/scribbish/images/header_shadow.gif +0 -0
- data/themes/scribbish/images/spinner.gif +0 -0
- data/themes/scribbish/layouts/default.html.erb +0 -41
- data/themes/scribbish/preview.png +0 -0
- data/themes/scribbish/stylesheets/application.css +0 -27
- data/themes/scribbish/stylesheets/content.css +0 -399
- data/themes/scribbish/stylesheets/layout.css +0 -70
- data/themes/scribbish/views/articles/_article.html.erb +0 -47
- data/themes/scribbish/views/articles/_article_content.html.erb +0 -1
- data/themes/scribbish/views/articles/_comment.html.erb +0 -14
- data/themes/scribbish/views/articles/_comment_form.html.erb +0 -53
- data/themes/scribbish/views/articles/_comment_list.html.erb +0 -7
- data/themes/scribbish/views/articles/_password_form.html.erb +0 -10
- data/themes/scribbish/views/articles/_trackback.html.erb +0 -9
- data/themes/scribbish/views/articles/comment_preview.html.erb +0 -10
- data/themes/scribbish/views/articles/index.html.erb +0 -3
- data/themes/scribbish/views/articles/read.html.erb +0 -48
- data/themes/standard_issue/about.markdown +0 -5
- data/themes/standard_issue/images/img01.gif +0 -0
- data/themes/standard_issue/images/img02.gif +0 -0
- data/themes/standard_issue/images/img03.gif +0 -0
- data/themes/standard_issue/images/img04.jpg +0 -0
- data/themes/standard_issue/images/img05.gif +0 -0
- data/themes/standard_issue/images/img06.gif +0 -0
- data/themes/standard_issue/images/img07.gif +0 -0
- data/themes/standard_issue/images/img08.gif +0 -0
- data/themes/standard_issue/images/img09.gif +0 -0
- data/themes/standard_issue/images/img10.gif +0 -0
- data/themes/standard_issue/images/spacer.gif +0 -0
- data/themes/standard_issue/images/spinner.gif +0 -0
- data/themes/standard_issue/layouts/default.html.erb +0 -56
- data/themes/standard_issue/preview.png +0 -0
- data/themes/standard_issue/stylesheets/application.css +0 -461
- data/themes/standard_issue/views/articles/_article.html.erb +0 -47
- data/themes/standard_issue/views/articles/_article_content.html.erb +0 -1
- data/themes/standard_issue/views/articles/_comment.html.erb +0 -12
- data/themes/standard_issue/views/articles/_comment_form.html.erb +0 -48
- data/themes/standard_issue/views/articles/_comment_list.html.erb +0 -7
- data/themes/standard_issue/views/articles/_password_form.html.erb +0 -10
- data/themes/standard_issue/views/articles/_trackback.html.erb +0 -9
- data/themes/standard_issue/views/articles/comment_preview.html.erb +0 -10
- data/themes/standard_issue/views/articles/index.html.erb +0 -3
- data/themes/standard_issue/views/articles/read.html.erb +0 -47
- data/themes/standard_issue/views/theme/static_view_test.html.erb +0 -1
- data/themes/true-blue-3/README +0 -3
- data/themes/true-blue-3/about.markdown +0 -3
- data/themes/true-blue-3/helpers/theme_helper.rb +0 -85
- 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/rss.png +0 -0
- data/themes/true-blue-3/images/searchform.png +0 -0
- data/themes/true-blue-3/images/submit_form.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 +0 -52
- 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 +0 -579
- data/themes/true-blue-3/views/articles/_article.html.erb +0 -28
- data/themes/true-blue-3/views/articles/_article_content.html.erb +0 -1
- data/themes/true-blue-3/views/articles/_comment.html.erb +0 -14
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +0 -23
- data/themes/true-blue-3/views/articles/_comment_list.html.erb +0 -8
- data/themes/true-blue-3/views/articles/_password_form.html.erb +0 -10
- data/themes/true-blue-3/views/articles/_trackback.html.erb +0 -9
- data/themes/true-blue-3/views/articles/comment_preview.html.erb +0 -10
- data/themes/true-blue-3/views/articles/index.html.erb +0 -5
- data/themes/true-blue-3/views/articles/read.html.erb +0 -38
- data/themes/true-blue-3/views/articles/search.html.erb +0 -29
- data/themes/true-blue-3/views/articles/view_page.html.erb +0 -4
- data/themes/true-blue-3/views/categories/_article.html.erb +0 -27
- data/themes/true-blue-3/views/categories/index.html.erb +0 -13
- data/themes/true-blue-3/views/categories/show.html.erb +0 -7
- data/themes/true-blue-3/views/tags/_article.html.erb +0 -26
- data/themes/true-blue-3/views/tags/show.html.erb +0 -6
- data/themes/typographic/about.markdown +0 -7
- data/themes/typographic/images/accept.gif +0 -0
- data/themes/typographic/images/accept.png +0 -0
- data/themes/typographic/images/accept50.gif +0 -0
- data/themes/typographic/images/accept50.png +0 -0
- data/themes/typographic/images/bg_body.jpg +0 -0
- data/themes/typographic/images/bg_white.gif +0 -0
- data/themes/typographic/images/bg_white.png +0 -0
- data/themes/typographic/images/bg_wrapper.gif +0 -0
- data/themes/typographic/images/bg_wrapper.jpg +0 -0
- data/themes/typographic/images/bullet_bottom.gif +0 -0
- data/themes/typographic/images/bullet_bottom.png +0 -0
- data/themes/typographic/images/bullet_right.gif +0 -0
- data/themes/typographic/images/bullet_right.png +0 -0
- data/themes/typographic/images/email_open.gif +0 -0
- data/themes/typographic/images/email_open.png +0 -0
- data/themes/typographic/images/email_open50.gif +0 -0
- data/themes/typographic/images/email_open50.png +0 -0
- data/themes/typographic/images/meta.gif +0 -0
- data/themes/typographic/images/meta.png +0 -0
- data/themes/typographic/images/page_edit.gif +0 -0
- data/themes/typographic/images/page_edit.png +0 -0
- data/themes/typographic/images/page_edit50.gif +0 -0
- data/themes/typographic/images/page_edit50.png +0 -0
- data/themes/typographic/images/spinner.gif +0 -0
- data/themes/typographic/images/tag.gif +0 -0
- data/themes/typographic/images/tag.png +0 -0
- data/themes/typographic/images/user.gif +0 -0
- data/themes/typographic/images/user.png +0 -0
- data/themes/typographic/images/user50.gif +0 -0
- data/themes/typographic/images/user50.png +0 -0
- data/themes/typographic/images/world_link.gif +0 -0
- data/themes/typographic/images/world_link.png +0 -0
- data/themes/typographic/images/world_link50.gif +0 -0
- data/themes/typographic/images/world_link50.png +0 -0
- data/themes/typographic/layouts/default.html.erb +0 -44
- data/themes/typographic/preview.png +0 -0
- data/themes/typographic/stylesheets/colors.css +0 -51
- data/themes/typographic/stylesheets/ie6.css +0 -86
- data/themes/typographic/stylesheets/layout.css +0 -350
- data/themes/typographic/stylesheets/reset.css +0 -5
- data/themes/typographic/stylesheets/style.css +0 -36
- data/themes/typographic/views/articles/_article.html.erb +0 -51
- data/themes/typographic/views/articles/_article_content.html.erb +0 -1
- data/themes/typographic/views/articles/_comment.html.erb +0 -14
- data/themes/typographic/views/articles/_comment_form.html.erb +0 -48
- data/themes/typographic/views/articles/_comment_list.html.erb +0 -7
- data/themes/typographic/views/articles/_password_form.html.erb +0 -10
- data/themes/typographic/views/articles/_trackback.html.erb +0 -9
- data/themes/typographic/views/articles/comment_preview.html.erb +0 -10
- data/themes/typographic/views/articles/index.html.erb +0 -3
- data/themes/typographic/views/articles/read.html.erb +0 -46
- data/themes/typographic/views/theme/static_view_test.html.erb +0 -1
- data/vendor/akismet/akismet.rb +0 -168
- data/vendor/flickr/Rakefile +0 -36
- data/vendor/flickr/flickr.rb +0 -490
- data/vendor/flickr/index.html +0 -129
- data/vendor/flickr/test_flickr.rb +0 -173
- data/vendor/plugins/acts_as_list/README +0 -23
- data/vendor/plugins/acts_as_list/init.rb +0 -3
- data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +0 -256
- data/vendor/plugins/acts_as_list/test/list_test.rb +0 -332
- data/vendor/plugins/acts_as_tree/README +0 -26
- data/vendor/plugins/acts_as_tree/Rakefile +0 -22
- data/vendor/plugins/acts_as_tree/init.rb +0 -1
- data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -96
- data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -219
- data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/vendor/plugins/amazon_sidebar/init.rb +0 -5
- data/vendor/plugins/amazon_sidebar/lib/amazon_sidebar.rb +0 -16
- data/vendor/plugins/amazon_sidebar/views/content.rhtml +0 -4
- data/vendor/plugins/archives_sidebar/Rakefile +0 -22
- data/vendor/plugins/archives_sidebar/init.rb +0 -5
- data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +0 -40
- data/vendor/plugins/archives_sidebar/test/archives_sidebar_test.rb +0 -8
- data/vendor/plugins/archives_sidebar/views/content.rhtml +0 -11
- data/vendor/plugins/authors_sidebar/Rakefile +0 -22
- data/vendor/plugins/authors_sidebar/init.rb +0 -4
- data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +0 -10
- data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +0 -8
- data/vendor/plugins/authors_sidebar/views/content.rhtml +0 -11
- data/vendor/plugins/category_sidebar/Rakefile +0 -22
- data/vendor/plugins/category_sidebar/init.rb +0 -5
- data/vendor/plugins/category_sidebar/lib/category_sidebar.rb +0 -11
- data/vendor/plugins/category_sidebar/test/category_sidebar_test.rb +0 -8
- data/vendor/plugins/category_sidebar/views/content.rhtml +0 -10
- data/vendor/plugins/easy-ckeditor/CHANGELOG +0 -15
- data/vendor/plugins/easy-ckeditor/LICENSE +0 -16
- data/vendor/plugins/easy-ckeditor/README.textile +0 -164
- data/vendor/plugins/easy-ckeditor/Rakefile +0 -72
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +0 -226
- data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +0 -2
- data/vendor/plugins/easy-ckeditor/init.rb +0 -33
- data/vendor/plugins/easy-ckeditor/install.rb +0 -12
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +0 -93
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +0 -108
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +0 -9
- data/vendor/plugins/easy-ckeditor/lib/tasks/ckeditor_tasks.rake +0 -108
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +0 -16
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +0 -24
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +0 -254
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +0 -1334
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +0 -108
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +0 -199
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +0 -11
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +0 -35
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- 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 +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
- 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 +0 -7
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
- 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 +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +0 -7
- data/vendor/plugins/easy-ckeditor/uninstall.rb +0 -8
- data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +0 -22
- data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +0 -512
- data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +0 -67
- data/vendor/plugins/filemanager/filemanager.yml +0 -16
- data/vendor/plugins/livesearch_sidebar/init.rb +0 -4
- data/vendor/plugins/livesearch_sidebar/lib/livesearch_sidebar.rb +0 -5
- data/vendor/plugins/livesearch_sidebar/views/content.rhtml +0 -15
- data/vendor/plugins/localization/CHANGELOG +0 -1
- data/vendor/plugins/localization/README +0 -85
- data/vendor/plugins/localization/bin/make_language.rb +0 -78
- data/vendor/plugins/localization/init.rb +0 -3
- data/vendor/plugins/localization/lib/localization.rb +0 -60
- data/vendor/plugins/page_sidebar/Rakefile +0 -22
- data/vendor/plugins/page_sidebar/init.rb +0 -5
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +0 -10
- data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +0 -8
- data/vendor/plugins/page_sidebar/views/content.rhtml +0 -12
- data/vendor/plugins/search_sidebar/Rakefile +0 -22
- data/vendor/plugins/search_sidebar/init.rb +0 -4
- data/vendor/plugins/search_sidebar/lib/search_sidebar.rb +0 -6
- data/vendor/plugins/search_sidebar/test/search_sidebar_test.rb +0 -8
- data/vendor/plugins/search_sidebar/views/content.rhtml +0 -7
- data/vendor/plugins/static_sidebar/init.rb +0 -4
- data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +0 -18
- data/vendor/plugins/static_sidebar/views/content.rhtml +0 -2
- data/vendor/plugins/tag_sidebar/Rakefile +0 -22
- data/vendor/plugins/tag_sidebar/init.rb +0 -5
- data/vendor/plugins/tag_sidebar/lib/tag_sidebar.rb +0 -24
- data/vendor/plugins/tag_sidebar/test/tag_sidebar_test.rb +0 -8
- data/vendor/plugins/tag_sidebar/views/content.rhtml +0 -8
- data/vendor/plugins/typo_converter/README +0 -71
- data/vendor/plugins/typo_converter/Rakefile +0 -21
- data/vendor/plugins/typo_converter/db/wp25_schema.rb +0 -152
- data/vendor/plugins/typo_converter/init.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/base.rb +0 -288
- data/vendor/plugins/typo_converter/lib/converters/dotclear.rb +0 -98
- data/vendor/plugins/typo_converter/lib/converters/dotclear/category.rb +0 -7
- data/vendor/plugins/typo_converter/lib/converters/dotclear/comment.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/dotclear/post.rb +0 -9
- data/vendor/plugins/typo_converter/lib/converters/dotclear/user.rb +0 -8
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2.rb +0 -122
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/category.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/comment.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/post.rb +0 -15
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/tag.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/dotclear_2/user.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25.rb +0 -183
- data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/wp25/post.rb +0 -37
- data/vendor/plugins/typo_converter/lib/converters/wp25/term.rb +0 -11
- data/vendor/plugins/typo_converter/lib/converters/wp25/term_relationship.rb +0 -13
- data/vendor/plugins/typo_converter/lib/converters/wp25/term_taxonomy.rb +0 -19
- data/vendor/plugins/typo_converter/lib/converters/wp25/user.rb +0 -12
- data/vendor/plugins/typo_converter/lib/tasks/typo_converters_tasks.rake +0 -1
- data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +0 -192
- data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +0 -77
- data/vendor/plugins/typo_converter/spec/spec_helper.rb +0 -19
- data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +0 -2
- data/vendor/plugins/typo_login_system/init.rb +0 -2
- data/vendor/plugins/typo_login_system/lib/access_control.rb +0 -182
- data/vendor/plugins/typo_login_system/lib/login_system.rb +0 -90
- data/vendor/plugins/typo_textfilter_code/README +0 -4
- data/vendor/plugins/typo_textfilter_code/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_code/init.rb +0 -9
- data/vendor/plugins/typo_textfilter_code/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_code/lib/tasks/typo_textfilter_code_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +0 -70
- data/vendor/plugins/typo_textfilter_code/test/typo_textfilter_code_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_flickr/README +0 -4
- data/vendor/plugins/typo_textfilter_flickr/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_flickr/init.rb +0 -4
- data/vendor/plugins/typo_textfilter_flickr/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_flickr/lib/tasks/typo_textfilter_flickr_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_flickr/lib/typo_textfilter_flickr.rb +0 -79
- data/vendor/plugins/typo_textfilter_flickr/test/typo_textfilter_flickr_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_htmlfilter/README +0 -4
- data/vendor/plugins/typo_textfilter_htmlfilter/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_htmlfilter/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_htmlfilter/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_htmlfilter/lib/tasks/typo_textfilter_htmlfilter_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb +0 -12
- data/vendor/plugins/typo_textfilter_htmlfilter/test/typo_textfilter_htmlfilter_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_lightbox/README +0 -4
- data/vendor/plugins/typo_textfilter_lightbox/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_lightbox/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_lightbox/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_lightbox/lib/tasks/typo_textfilter_lightbox_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +0 -127
- data/vendor/plugins/typo_textfilter_lightbox/test/typo_textfilter_lightbox_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_markdown/README +0 -4
- data/vendor/plugins/typo_textfilter_markdown/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_markdown/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_markdown/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_markdown/lib/tasks/typo_textfilter_markdown_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_markdown/lib/typo_textfilter_markdown.rb +0 -36
- data/vendor/plugins/typo_textfilter_markdown/test/typo_textfilter_markdown_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_none/README +0 -4
- data/vendor/plugins/typo_textfilter_none/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_none/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_none/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_none/lib/tasks/typo_textfilter_none_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_none/lib/typo_textfilter_none.rb +0 -12
- data/vendor/plugins/typo_textfilter_none/test/typo_textfilter_none_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_smartypants/README +0 -4
- data/vendor/plugins/typo_textfilter_smartypants/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_smartypants/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_smartypants/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_smartypants/lib/tasks/typo_textfilter_smartypants_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_smartypants/lib/typo_textfilter_smartypants.rb +0 -12
- data/vendor/plugins/typo_textfilter_smartypants/test/typo_textfilter_smartypants_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_textile/README +0 -4
- data/vendor/plugins/typo_textfilter_textile/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_textile/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_textile/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_textile/lib/tasks/typo_textfilter_textile_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +0 -18
- data/vendor/plugins/typo_textfilter_textile/test/typo_textfilter_textile_test.rb +0 -8
- data/vendor/plugins/typo_textfilter_textile_and_markdown/README +0 -4
- data/vendor/plugins/typo_textfilter_textile_and_markdown/Rakefile +0 -22
- data/vendor/plugins/typo_textfilter_textile_and_markdown/init.rb +0 -2
- data/vendor/plugins/typo_textfilter_textile_and_markdown/install.rb +0 -1
- data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/tasks/typo_textfilter_textile_and_markdown_tasks.rake +0 -4
- data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/typo_textfilter_textile_and_markdown.rb +0 -12
- data/vendor/plugins/typo_textfilter_textile_and_markdown/test/typo_textfilter_textile_and_markdown_test.rb +0 -8
- data/vendor/plugins/upload_progress/CHANGELOG +0 -3
- data/vendor/plugins/upload_progress/MIT-LICENSE +0 -20
- data/vendor/plugins/upload_progress/README +0 -45
- data/vendor/plugins/upload_progress/Rakefile +0 -23
- data/vendor/plugins/upload_progress/init.rb +0 -7
- data/vendor/plugins/upload_progress/lib/multipart_progress.rb +0 -169
- data/vendor/plugins/upload_progress/lib/progress.rb +0 -145
- data/vendor/plugins/upload_progress/lib/upload_progress.rb +0 -303
- data/vendor/plugins/upload_progress/lib/upload_progress_helper.rb +0 -424
- data/vendor/plugins/upload_progress/public/stylesheets/upload_progress.css +0 -21
- data/vendor/plugins/upload_progress/test/multipart_progress_testx.rb +0 -364
- data/vendor/plugins/upload_progress/test/upload_progress_helper_testx.rb +0 -134
- data/vendor/plugins/upload_progress/test/upload_progress_testx.rb +0 -88
- data/vendor/plugins/xml_sidebar/Rakefile +0 -22
- data/vendor/plugins/xml_sidebar/init.rb +0 -5
- data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +0 -24
- data/vendor/plugins/xml_sidebar/test/xml_sidebar_test.rb +0 -8
- data/vendor/plugins/xml_sidebar/views/content.rhtml +0 -26
- data/vendor/rubypants/README +0 -114
- data/vendor/rubypants/Rakefile +0 -55
- data/vendor/rubypants/html/classes/RubyPants.html +0 -924
- data/vendor/rubypants/html/created.rid +0 -1
- data/vendor/rubypants/html/files/README.html +0 -248
- data/vendor/rubypants/html/files/rubypants_rb.html +0 -125
- data/vendor/rubypants/html/fr_class_index.html +0 -27
- data/vendor/rubypants/html/fr_file_index.html +0 -28
- data/vendor/rubypants/html/fr_method_index.html +0 -38
- data/vendor/rubypants/html/index.html +0 -24
- data/vendor/rubypants/html/rdoc-style.css +0 -172
- data/vendor/rubypants/install.rb +0 -9
- data/vendor/rubypants/rubypants.rb +0 -490
- data/vendor/rubypants/test_rubypants.rb +0 -162
- data/vendor/uuidtools/CHANGELOG +0 -4
- data/vendor/uuidtools/README +0 -13
- data/vendor/uuidtools/install.rb +0 -30
- data/vendor/uuidtools/lib/uuidtools.rb +0 -555
- data/vendor/uuidtools/rakefile +0 -112
@@ -1,60 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Sets a Cookie with the given name and value.
|
3
|
-
*
|
4
|
-
* name Name of the cookie
|
5
|
-
* value Value of the cookie
|
6
|
-
* [expires] Expiration date of the cookie (default: end of current session)
|
7
|
-
* [path] Path where the cookie is valid (default: path of calling document)
|
8
|
-
* [domain] Domain where the cookie is valid
|
9
|
-
* (default: domain of calling document)
|
10
|
-
* [secure] Boolean value indicating if the cookie transmission requires a
|
11
|
-
* secure transmission
|
12
|
-
*/
|
13
|
-
function setCookie(name, value, expires, path, domain, secure) {
|
14
|
-
document.cookie= name + "=" + escape(value) +
|
15
|
-
((expires) ? "; expires=" + expires.toGMTString() : "") +
|
16
|
-
((path) ? "; path=" + path : "") +
|
17
|
-
((domain) ? "; domain=" + domain : "") +
|
18
|
-
((secure) ? "; secure" : "");
|
19
|
-
}
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Gets the value of the specified cookie.
|
23
|
-
*
|
24
|
-
* name Name of the desired cookie.
|
25
|
-
*
|
26
|
-
* Returns a string containing value of specified cookie,
|
27
|
-
* or null if cookie does not exist.
|
28
|
-
*/
|
29
|
-
function getCookie(name) {
|
30
|
-
var dc = document.cookie;
|
31
|
-
var prefix = name + "=";
|
32
|
-
var begin = dc.indexOf("; " + prefix);
|
33
|
-
if (begin == -1) {
|
34
|
-
begin = dc.indexOf(prefix);
|
35
|
-
if (begin != 0) return null;
|
36
|
-
} else {
|
37
|
-
begin += 2;
|
38
|
-
}
|
39
|
-
var end = document.cookie.indexOf(";", begin);
|
40
|
-
if (end == -1) {
|
41
|
-
end = dc.length;
|
42
|
-
}
|
43
|
-
return unescape(decodeURI(dc.substring(begin + prefix.length, end))).split("+").join(" ");
|
44
|
-
}
|
45
|
-
|
46
|
-
/**
|
47
|
-
* Deletes the specified cookie.
|
48
|
-
*
|
49
|
-
* name name of the cookie
|
50
|
-
* [path] path of the cookie (must be same as path used to create cookie)
|
51
|
-
* [domain] domain of the cookie (must be same as domain used to create cookie)
|
52
|
-
*/
|
53
|
-
function deleteCookie(name, path, domain) {
|
54
|
-
if (getCookie(name)) {
|
55
|
-
document.cookie = name + "=" +
|
56
|
-
((path) ? "; path=" + path : "") +
|
57
|
-
((domain) ? "; domain=" + domain : "") +
|
58
|
-
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
|
59
|
-
}
|
60
|
-
}
|
@@ -1,973 +0,0 @@
|
|
1
|
-
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
2
|
-
// (c) 2005-2008 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
|
3
|
-
//
|
4
|
-
// script.aculo.us is freely distributable under the terms of an MIT-style license.
|
5
|
-
// For details, see the script.aculo.us web site: http://script.aculo.us/
|
6
|
-
|
7
|
-
if(Object.isUndefined(Effect))
|
8
|
-
throw("dragdrop.js requires including script.aculo.us' effects.js library");
|
9
|
-
|
10
|
-
var Droppables = {
|
11
|
-
drops: [],
|
12
|
-
|
13
|
-
remove: function(element) {
|
14
|
-
this.drops = this.drops.reject(function(d) { return d.element==$(element) });
|
15
|
-
},
|
16
|
-
|
17
|
-
add: function(element) {
|
18
|
-
element = $(element);
|
19
|
-
var options = Object.extend({
|
20
|
-
greedy: true,
|
21
|
-
hoverclass: null,
|
22
|
-
tree: false
|
23
|
-
}, arguments[1] || { });
|
24
|
-
|
25
|
-
// cache containers
|
26
|
-
if(options.containment) {
|
27
|
-
options._containers = [];
|
28
|
-
var containment = options.containment;
|
29
|
-
if(Object.isArray(containment)) {
|
30
|
-
containment.each( function(c) { options._containers.push($(c)) });
|
31
|
-
} else {
|
32
|
-
options._containers.push($(containment));
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
if(options.accept) options.accept = [options.accept].flatten();
|
37
|
-
|
38
|
-
Element.makePositioned(element); // fix IE
|
39
|
-
options.element = element;
|
40
|
-
|
41
|
-
this.drops.push(options);
|
42
|
-
},
|
43
|
-
|
44
|
-
findDeepestChild: function(drops) {
|
45
|
-
deepest = drops[0];
|
46
|
-
|
47
|
-
for (i = 1; i < drops.length; ++i)
|
48
|
-
if (Element.isParent(drops[i].element, deepest.element))
|
49
|
-
deepest = drops[i];
|
50
|
-
|
51
|
-
return deepest;
|
52
|
-
},
|
53
|
-
|
54
|
-
isContained: function(element, drop) {
|
55
|
-
var containmentNode;
|
56
|
-
if(drop.tree) {
|
57
|
-
containmentNode = element.treeNode;
|
58
|
-
} else {
|
59
|
-
containmentNode = element.parentNode;
|
60
|
-
}
|
61
|
-
return drop._containers.detect(function(c) { return containmentNode == c });
|
62
|
-
},
|
63
|
-
|
64
|
-
isAffected: function(point, element, drop) {
|
65
|
-
return (
|
66
|
-
(drop.element!=element) &&
|
67
|
-
((!drop._containers) ||
|
68
|
-
this.isContained(element, drop)) &&
|
69
|
-
((!drop.accept) ||
|
70
|
-
(Element.classNames(element).detect(
|
71
|
-
function(v) { return drop.accept.include(v) } ) )) &&
|
72
|
-
Position.within(drop.element, point[0], point[1]) );
|
73
|
-
},
|
74
|
-
|
75
|
-
deactivate: function(drop) {
|
76
|
-
if(drop.hoverclass)
|
77
|
-
Element.removeClassName(drop.element, drop.hoverclass);
|
78
|
-
this.last_active = null;
|
79
|
-
},
|
80
|
-
|
81
|
-
activate: function(drop) {
|
82
|
-
if(drop.hoverclass)
|
83
|
-
Element.addClassName(drop.element, drop.hoverclass);
|
84
|
-
this.last_active = drop;
|
85
|
-
},
|
86
|
-
|
87
|
-
show: function(point, element) {
|
88
|
-
if(!this.drops.length) return;
|
89
|
-
var drop, affected = [];
|
90
|
-
|
91
|
-
this.drops.each( function(drop) {
|
92
|
-
if(Droppables.isAffected(point, element, drop))
|
93
|
-
affected.push(drop);
|
94
|
-
});
|
95
|
-
|
96
|
-
if(affected.length>0)
|
97
|
-
drop = Droppables.findDeepestChild(affected);
|
98
|
-
|
99
|
-
if(this.last_active && this.last_active != drop) this.deactivate(this.last_active);
|
100
|
-
if (drop) {
|
101
|
-
Position.within(drop.element, point[0], point[1]);
|
102
|
-
if(drop.onHover)
|
103
|
-
drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element));
|
104
|
-
|
105
|
-
if (drop != this.last_active) Droppables.activate(drop);
|
106
|
-
}
|
107
|
-
},
|
108
|
-
|
109
|
-
fire: function(event, element) {
|
110
|
-
if(!this.last_active) return;
|
111
|
-
Position.prepare();
|
112
|
-
|
113
|
-
if (this.isAffected([Event.pointerX(event), Event.pointerY(event)], element, this.last_active))
|
114
|
-
if (this.last_active.onDrop) {
|
115
|
-
this.last_active.onDrop(element, this.last_active.element, event);
|
116
|
-
return true;
|
117
|
-
}
|
118
|
-
},
|
119
|
-
|
120
|
-
reset: function() {
|
121
|
-
if(this.last_active)
|
122
|
-
this.deactivate(this.last_active);
|
123
|
-
}
|
124
|
-
};
|
125
|
-
|
126
|
-
var Draggables = {
|
127
|
-
drags: [],
|
128
|
-
observers: [],
|
129
|
-
|
130
|
-
register: function(draggable) {
|
131
|
-
if(this.drags.length == 0) {
|
132
|
-
this.eventMouseUp = this.endDrag.bindAsEventListener(this);
|
133
|
-
this.eventMouseMove = this.updateDrag.bindAsEventListener(this);
|
134
|
-
this.eventKeypress = this.keyPress.bindAsEventListener(this);
|
135
|
-
|
136
|
-
Event.observe(document, "mouseup", this.eventMouseUp);
|
137
|
-
Event.observe(document, "mousemove", this.eventMouseMove);
|
138
|
-
Event.observe(document, "keypress", this.eventKeypress);
|
139
|
-
}
|
140
|
-
this.drags.push(draggable);
|
141
|
-
},
|
142
|
-
|
143
|
-
unregister: function(draggable) {
|
144
|
-
this.drags = this.drags.reject(function(d) { return d==draggable });
|
145
|
-
if(this.drags.length == 0) {
|
146
|
-
Event.stopObserving(document, "mouseup", this.eventMouseUp);
|
147
|
-
Event.stopObserving(document, "mousemove", this.eventMouseMove);
|
148
|
-
Event.stopObserving(document, "keypress", this.eventKeypress);
|
149
|
-
}
|
150
|
-
},
|
151
|
-
|
152
|
-
activate: function(draggable) {
|
153
|
-
if(draggable.options.delay) {
|
154
|
-
this._timeout = setTimeout(function() {
|
155
|
-
Draggables._timeout = null;
|
156
|
-
window.focus();
|
157
|
-
Draggables.activeDraggable = draggable;
|
158
|
-
}.bind(this), draggable.options.delay);
|
159
|
-
} else {
|
160
|
-
window.focus(); // allows keypress events if window isn't currently focused, fails for Safari
|
161
|
-
this.activeDraggable = draggable;
|
162
|
-
}
|
163
|
-
},
|
164
|
-
|
165
|
-
deactivate: function() {
|
166
|
-
this.activeDraggable = null;
|
167
|
-
},
|
168
|
-
|
169
|
-
updateDrag: function(event) {
|
170
|
-
if(!this.activeDraggable) return;
|
171
|
-
var pointer = [Event.pointerX(event), Event.pointerY(event)];
|
172
|
-
// Mozilla-based browsers fire successive mousemove events with
|
173
|
-
// the same coordinates, prevent needless redrawing (moz bug?)
|
174
|
-
if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return;
|
175
|
-
this._lastPointer = pointer;
|
176
|
-
|
177
|
-
this.activeDraggable.updateDrag(event, pointer);
|
178
|
-
},
|
179
|
-
|
180
|
-
endDrag: function(event) {
|
181
|
-
if(this._timeout) {
|
182
|
-
clearTimeout(this._timeout);
|
183
|
-
this._timeout = null;
|
184
|
-
}
|
185
|
-
if(!this.activeDraggable) return;
|
186
|
-
this._lastPointer = null;
|
187
|
-
this.activeDraggable.endDrag(event);
|
188
|
-
this.activeDraggable = null;
|
189
|
-
},
|
190
|
-
|
191
|
-
keyPress: function(event) {
|
192
|
-
if(this.activeDraggable)
|
193
|
-
this.activeDraggable.keyPress(event);
|
194
|
-
},
|
195
|
-
|
196
|
-
addObserver: function(observer) {
|
197
|
-
this.observers.push(observer);
|
198
|
-
this._cacheObserverCallbacks();
|
199
|
-
},
|
200
|
-
|
201
|
-
removeObserver: function(element) { // element instead of observer fixes mem leaks
|
202
|
-
this.observers = this.observers.reject( function(o) { return o.element==element });
|
203
|
-
this._cacheObserverCallbacks();
|
204
|
-
},
|
205
|
-
|
206
|
-
notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag'
|
207
|
-
if(this[eventName+'Count'] > 0)
|
208
|
-
this.observers.each( function(o) {
|
209
|
-
if(o[eventName]) o[eventName](eventName, draggable, event);
|
210
|
-
});
|
211
|
-
if(draggable.options[eventName]) draggable.options[eventName](draggable, event);
|
212
|
-
},
|
213
|
-
|
214
|
-
_cacheObserverCallbacks: function() {
|
215
|
-
['onStart','onEnd','onDrag'].each( function(eventName) {
|
216
|
-
Draggables[eventName+'Count'] = Draggables.observers.select(
|
217
|
-
function(o) { return o[eventName]; }
|
218
|
-
).length;
|
219
|
-
});
|
220
|
-
}
|
221
|
-
};
|
222
|
-
|
223
|
-
/*--------------------------------------------------------------------------*/
|
224
|
-
|
225
|
-
var Draggable = Class.create({
|
226
|
-
initialize: function(element) {
|
227
|
-
var defaults = {
|
228
|
-
handle: false,
|
229
|
-
reverteffect: function(element, top_offset, left_offset) {
|
230
|
-
var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02;
|
231
|
-
new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur,
|
232
|
-
queue: {scope:'_draggable', position:'end'}
|
233
|
-
});
|
234
|
-
},
|
235
|
-
endeffect: function(element) {
|
236
|
-
var toOpacity = Object.isNumber(element._opacity) ? element._opacity : 1.0;
|
237
|
-
new Effect.Opacity(element, {duration:0.2, from:0.7, to:toOpacity,
|
238
|
-
queue: {scope:'_draggable', position:'end'},
|
239
|
-
afterFinish: function(){
|
240
|
-
Draggable._dragging[element] = false
|
241
|
-
}
|
242
|
-
});
|
243
|
-
},
|
244
|
-
zindex: 1000,
|
245
|
-
revert: false,
|
246
|
-
quiet: false,
|
247
|
-
scroll: false,
|
248
|
-
scrollSensitivity: 20,
|
249
|
-
scrollSpeed: 15,
|
250
|
-
snap: false, // false, or xy or [x,y] or function(x,y){ return [x,y] }
|
251
|
-
delay: 0
|
252
|
-
};
|
253
|
-
|
254
|
-
if(!arguments[1] || Object.isUndefined(arguments[1].endeffect))
|
255
|
-
Object.extend(defaults, {
|
256
|
-
starteffect: function(element) {
|
257
|
-
element._opacity = Element.getOpacity(element);
|
258
|
-
Draggable._dragging[element] = true;
|
259
|
-
new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7});
|
260
|
-
}
|
261
|
-
});
|
262
|
-
|
263
|
-
var options = Object.extend(defaults, arguments[1] || { });
|
264
|
-
|
265
|
-
this.element = $(element);
|
266
|
-
|
267
|
-
if(options.handle && Object.isString(options.handle))
|
268
|
-
this.handle = this.element.down('.'+options.handle, 0);
|
269
|
-
|
270
|
-
if(!this.handle) this.handle = $(options.handle);
|
271
|
-
if(!this.handle) this.handle = this.element;
|
272
|
-
|
273
|
-
if(options.scroll && !options.scroll.scrollTo && !options.scroll.outerHTML) {
|
274
|
-
options.scroll = $(options.scroll);
|
275
|
-
this._isScrollChild = Element.childOf(this.element, options.scroll);
|
276
|
-
}
|
277
|
-
|
278
|
-
Element.makePositioned(this.element); // fix IE
|
279
|
-
|
280
|
-
this.options = options;
|
281
|
-
this.dragging = false;
|
282
|
-
|
283
|
-
this.eventMouseDown = this.initDrag.bindAsEventListener(this);
|
284
|
-
Event.observe(this.handle, "mousedown", this.eventMouseDown);
|
285
|
-
|
286
|
-
Draggables.register(this);
|
287
|
-
},
|
288
|
-
|
289
|
-
destroy: function() {
|
290
|
-
Event.stopObserving(this.handle, "mousedown", this.eventMouseDown);
|
291
|
-
Draggables.unregister(this);
|
292
|
-
},
|
293
|
-
|
294
|
-
currentDelta: function() {
|
295
|
-
return([
|
296
|
-
parseInt(Element.getStyle(this.element,'left') || '0'),
|
297
|
-
parseInt(Element.getStyle(this.element,'top') || '0')]);
|
298
|
-
},
|
299
|
-
|
300
|
-
initDrag: function(event) {
|
301
|
-
if(!Object.isUndefined(Draggable._dragging[this.element]) &&
|
302
|
-
Draggable._dragging[this.element]) return;
|
303
|
-
if(Event.isLeftClick(event)) {
|
304
|
-
// abort on form elements, fixes a Firefox issue
|
305
|
-
var src = Event.element(event);
|
306
|
-
if((tag_name = src.tagName.toUpperCase()) && (
|
307
|
-
tag_name=='INPUT' ||
|
308
|
-
tag_name=='SELECT' ||
|
309
|
-
tag_name=='OPTION' ||
|
310
|
-
tag_name=='BUTTON' ||
|
311
|
-
tag_name=='TEXTAREA')) return;
|
312
|
-
|
313
|
-
var pointer = [Event.pointerX(event), Event.pointerY(event)];
|
314
|
-
var pos = Position.cumulativeOffset(this.element);
|
315
|
-
this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) });
|
316
|
-
|
317
|
-
Draggables.activate(this);
|
318
|
-
Event.stop(event);
|
319
|
-
}
|
320
|
-
},
|
321
|
-
|
322
|
-
startDrag: function(event) {
|
323
|
-
this.dragging = true;
|
324
|
-
if(!this.delta)
|
325
|
-
this.delta = this.currentDelta();
|
326
|
-
|
327
|
-
if(this.options.zindex) {
|
328
|
-
this.originalZ = parseInt(Element.getStyle(this.element,'z-index') || 0);
|
329
|
-
this.element.style.zIndex = this.options.zindex;
|
330
|
-
}
|
331
|
-
|
332
|
-
if(this.options.ghosting) {
|
333
|
-
this._clone = this.element.cloneNode(true);
|
334
|
-
this._originallyAbsolute = (this.element.getStyle('position') == 'absolute');
|
335
|
-
if (!this._originallyAbsolute)
|
336
|
-
Position.absolutize(this.element);
|
337
|
-
this.element.parentNode.insertBefore(this._clone, this.element);
|
338
|
-
}
|
339
|
-
|
340
|
-
if(this.options.scroll) {
|
341
|
-
if (this.options.scroll == window) {
|
342
|
-
var where = this._getWindowScroll(this.options.scroll);
|
343
|
-
this.originalScrollLeft = where.left;
|
344
|
-
this.originalScrollTop = where.top;
|
345
|
-
} else {
|
346
|
-
this.originalScrollLeft = this.options.scroll.scrollLeft;
|
347
|
-
this.originalScrollTop = this.options.scroll.scrollTop;
|
348
|
-
}
|
349
|
-
}
|
350
|
-
|
351
|
-
Draggables.notify('onStart', this, event);
|
352
|
-
|
353
|
-
if(this.options.starteffect) this.options.starteffect(this.element);
|
354
|
-
},
|
355
|
-
|
356
|
-
updateDrag: function(event, pointer) {
|
357
|
-
if(!this.dragging) this.startDrag(event);
|
358
|
-
|
359
|
-
if(!this.options.quiet){
|
360
|
-
Position.prepare();
|
361
|
-
Droppables.show(pointer, this.element);
|
362
|
-
}
|
363
|
-
|
364
|
-
Draggables.notify('onDrag', this, event);
|
365
|
-
|
366
|
-
this.draw(pointer);
|
367
|
-
if(this.options.change) this.options.change(this);
|
368
|
-
|
369
|
-
if(this.options.scroll) {
|
370
|
-
this.stopScrolling();
|
371
|
-
|
372
|
-
var p;
|
373
|
-
if (this.options.scroll == window) {
|
374
|
-
with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; }
|
375
|
-
} else {
|
376
|
-
p = Position.page(this.options.scroll);
|
377
|
-
p[0] += this.options.scroll.scrollLeft + Position.deltaX;
|
378
|
-
p[1] += this.options.scroll.scrollTop + Position.deltaY;
|
379
|
-
p.push(p[0]+this.options.scroll.offsetWidth);
|
380
|
-
p.push(p[1]+this.options.scroll.offsetHeight);
|
381
|
-
}
|
382
|
-
var speed = [0,0];
|
383
|
-
if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity);
|
384
|
-
if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity);
|
385
|
-
if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity);
|
386
|
-
if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity);
|
387
|
-
this.startScrolling(speed);
|
388
|
-
}
|
389
|
-
|
390
|
-
// fix AppleWebKit rendering
|
391
|
-
if(Prototype.Browser.WebKit) window.scrollBy(0,0);
|
392
|
-
|
393
|
-
Event.stop(event);
|
394
|
-
},
|
395
|
-
|
396
|
-
finishDrag: function(event, success) {
|
397
|
-
this.dragging = false;
|
398
|
-
|
399
|
-
if(this.options.quiet){
|
400
|
-
Position.prepare();
|
401
|
-
var pointer = [Event.pointerX(event), Event.pointerY(event)];
|
402
|
-
Droppables.show(pointer, this.element);
|
403
|
-
}
|
404
|
-
|
405
|
-
if(this.options.ghosting) {
|
406
|
-
if (!this._originallyAbsolute)
|
407
|
-
Position.relativize(this.element);
|
408
|
-
delete this._originallyAbsolute;
|
409
|
-
Element.remove(this._clone);
|
410
|
-
this._clone = null;
|
411
|
-
}
|
412
|
-
|
413
|
-
var dropped = false;
|
414
|
-
if(success) {
|
415
|
-
dropped = Droppables.fire(event, this.element);
|
416
|
-
if (!dropped) dropped = false;
|
417
|
-
}
|
418
|
-
if(dropped && this.options.onDropped) this.options.onDropped(this.element);
|
419
|
-
Draggables.notify('onEnd', this, event);
|
420
|
-
|
421
|
-
var revert = this.options.revert;
|
422
|
-
if(revert && Object.isFunction(revert)) revert = revert(this.element);
|
423
|
-
|
424
|
-
var d = this.currentDelta();
|
425
|
-
if(revert && this.options.reverteffect) {
|
426
|
-
if (dropped == 0 || revert != 'failure')
|
427
|
-
this.options.reverteffect(this.element,
|
428
|
-
d[1]-this.delta[1], d[0]-this.delta[0]);
|
429
|
-
} else {
|
430
|
-
this.delta = d;
|
431
|
-
}
|
432
|
-
|
433
|
-
if(this.options.zindex)
|
434
|
-
this.element.style.zIndex = this.originalZ;
|
435
|
-
|
436
|
-
if(this.options.endeffect)
|
437
|
-
this.options.endeffect(this.element);
|
438
|
-
|
439
|
-
Draggables.deactivate(this);
|
440
|
-
Droppables.reset();
|
441
|
-
},
|
442
|
-
|
443
|
-
keyPress: function(event) {
|
444
|
-
if(event.keyCode!=Event.KEY_ESC) return;
|
445
|
-
this.finishDrag(event, false);
|
446
|
-
Event.stop(event);
|
447
|
-
},
|
448
|
-
|
449
|
-
endDrag: function(event) {
|
450
|
-
if(!this.dragging) return;
|
451
|
-
this.stopScrolling();
|
452
|
-
this.finishDrag(event, true);
|
453
|
-
Event.stop(event);
|
454
|
-
},
|
455
|
-
|
456
|
-
draw: function(point) {
|
457
|
-
var pos = Position.cumulativeOffset(this.element);
|
458
|
-
if(this.options.ghosting) {
|
459
|
-
var r = Position.realOffset(this.element);
|
460
|
-
pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY;
|
461
|
-
}
|
462
|
-
|
463
|
-
var d = this.currentDelta();
|
464
|
-
pos[0] -= d[0]; pos[1] -= d[1];
|
465
|
-
|
466
|
-
if(this.options.scroll && (this.options.scroll != window && this._isScrollChild)) {
|
467
|
-
pos[0] -= this.options.scroll.scrollLeft-this.originalScrollLeft;
|
468
|
-
pos[1] -= this.options.scroll.scrollTop-this.originalScrollTop;
|
469
|
-
}
|
470
|
-
|
471
|
-
var p = [0,1].map(function(i){
|
472
|
-
return (point[i]-pos[i]-this.offset[i])
|
473
|
-
}.bind(this));
|
474
|
-
|
475
|
-
if(this.options.snap) {
|
476
|
-
if(Object.isFunction(this.options.snap)) {
|
477
|
-
p = this.options.snap(p[0],p[1],this);
|
478
|
-
} else {
|
479
|
-
if(Object.isArray(this.options.snap)) {
|
480
|
-
p = p.map( function(v, i) {
|
481
|
-
return (v/this.options.snap[i]).round()*this.options.snap[i] }.bind(this));
|
482
|
-
} else {
|
483
|
-
p = p.map( function(v) {
|
484
|
-
return (v/this.options.snap).round()*this.options.snap }.bind(this));
|
485
|
-
}
|
486
|
-
}}
|
487
|
-
|
488
|
-
var style = this.element.style;
|
489
|
-
if((!this.options.constraint) || (this.options.constraint=='horizontal'))
|
490
|
-
style.left = p[0] + "px";
|
491
|
-
if((!this.options.constraint) || (this.options.constraint=='vertical'))
|
492
|
-
style.top = p[1] + "px";
|
493
|
-
|
494
|
-
if(style.visibility=="hidden") style.visibility = ""; // fix gecko rendering
|
495
|
-
},
|
496
|
-
|
497
|
-
stopScrolling: function() {
|
498
|
-
if(this.scrollInterval) {
|
499
|
-
clearInterval(this.scrollInterval);
|
500
|
-
this.scrollInterval = null;
|
501
|
-
Draggables._lastScrollPointer = null;
|
502
|
-
}
|
503
|
-
},
|
504
|
-
|
505
|
-
startScrolling: function(speed) {
|
506
|
-
if(!(speed[0] || speed[1])) return;
|
507
|
-
this.scrollSpeed = [speed[0]*this.options.scrollSpeed,speed[1]*this.options.scrollSpeed];
|
508
|
-
this.lastScrolled = new Date();
|
509
|
-
this.scrollInterval = setInterval(this.scroll.bind(this), 10);
|
510
|
-
},
|
511
|
-
|
512
|
-
scroll: function() {
|
513
|
-
var current = new Date();
|
514
|
-
var delta = current - this.lastScrolled;
|
515
|
-
this.lastScrolled = current;
|
516
|
-
if(this.options.scroll == window) {
|
517
|
-
with (this._getWindowScroll(this.options.scroll)) {
|
518
|
-
if (this.scrollSpeed[0] || this.scrollSpeed[1]) {
|
519
|
-
var d = delta / 1000;
|
520
|
-
this.options.scroll.scrollTo( left + d*this.scrollSpeed[0], top + d*this.scrollSpeed[1] );
|
521
|
-
}
|
522
|
-
}
|
523
|
-
} else {
|
524
|
-
this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000;
|
525
|
-
this.options.scroll.scrollTop += this.scrollSpeed[1] * delta / 1000;
|
526
|
-
}
|
527
|
-
|
528
|
-
Position.prepare();
|
529
|
-
Droppables.show(Draggables._lastPointer, this.element);
|
530
|
-
Draggables.notify('onDrag', this);
|
531
|
-
if (this._isScrollChild) {
|
532
|
-
Draggables._lastScrollPointer = Draggables._lastScrollPointer || $A(Draggables._lastPointer);
|
533
|
-
Draggables._lastScrollPointer[0] += this.scrollSpeed[0] * delta / 1000;
|
534
|
-
Draggables._lastScrollPointer[1] += this.scrollSpeed[1] * delta / 1000;
|
535
|
-
if (Draggables._lastScrollPointer[0] < 0)
|
536
|
-
Draggables._lastScrollPointer[0] = 0;
|
537
|
-
if (Draggables._lastScrollPointer[1] < 0)
|
538
|
-
Draggables._lastScrollPointer[1] = 0;
|
539
|
-
this.draw(Draggables._lastScrollPointer);
|
540
|
-
}
|
541
|
-
|
542
|
-
if(this.options.change) this.options.change(this);
|
543
|
-
},
|
544
|
-
|
545
|
-
_getWindowScroll: function(w) {
|
546
|
-
var T, L, W, H;
|
547
|
-
with (w.document) {
|
548
|
-
if (w.document.documentElement && documentElement.scrollTop) {
|
549
|
-
T = documentElement.scrollTop;
|
550
|
-
L = documentElement.scrollLeft;
|
551
|
-
} else if (w.document.body) {
|
552
|
-
T = body.scrollTop;
|
553
|
-
L = body.scrollLeft;
|
554
|
-
}
|
555
|
-
if (w.innerWidth) {
|
556
|
-
W = w.innerWidth;
|
557
|
-
H = w.innerHeight;
|
558
|
-
} else if (w.document.documentElement && documentElement.clientWidth) {
|
559
|
-
W = documentElement.clientWidth;
|
560
|
-
H = documentElement.clientHeight;
|
561
|
-
} else {
|
562
|
-
W = body.offsetWidth;
|
563
|
-
H = body.offsetHeight;
|
564
|
-
}
|
565
|
-
}
|
566
|
-
return { top: T, left: L, width: W, height: H };
|
567
|
-
}
|
568
|
-
});
|
569
|
-
|
570
|
-
Draggable._dragging = { };
|
571
|
-
|
572
|
-
/*--------------------------------------------------------------------------*/
|
573
|
-
|
574
|
-
var SortableObserver = Class.create({
|
575
|
-
initialize: function(element, observer) {
|
576
|
-
this.element = $(element);
|
577
|
-
this.observer = observer;
|
578
|
-
this.lastValue = Sortable.serialize(this.element);
|
579
|
-
},
|
580
|
-
|
581
|
-
onStart: function() {
|
582
|
-
this.lastValue = Sortable.serialize(this.element);
|
583
|
-
},
|
584
|
-
|
585
|
-
onEnd: function() {
|
586
|
-
Sortable.unmark();
|
587
|
-
if(this.lastValue != Sortable.serialize(this.element))
|
588
|
-
this.observer(this.element)
|
589
|
-
}
|
590
|
-
});
|
591
|
-
|
592
|
-
var Sortable = {
|
593
|
-
SERIALIZE_RULE: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/,
|
594
|
-
|
595
|
-
sortables: { },
|
596
|
-
|
597
|
-
_findRootElement: function(element) {
|
598
|
-
while (element.tagName.toUpperCase() != "BODY") {
|
599
|
-
if(element.id && Sortable.sortables[element.id]) return element;
|
600
|
-
element = element.parentNode;
|
601
|
-
}
|
602
|
-
},
|
603
|
-
|
604
|
-
options: function(element) {
|
605
|
-
element = Sortable._findRootElement($(element));
|
606
|
-
if(!element) return;
|
607
|
-
return Sortable.sortables[element.id];
|
608
|
-
},
|
609
|
-
|
610
|
-
destroy: function(element){
|
611
|
-
element = $(element);
|
612
|
-
var s = Sortable.sortables[element.id];
|
613
|
-
|
614
|
-
if(s) {
|
615
|
-
Draggables.removeObserver(s.element);
|
616
|
-
s.droppables.each(function(d){ Droppables.remove(d) });
|
617
|
-
s.draggables.invoke('destroy');
|
618
|
-
|
619
|
-
delete Sortable.sortables[s.element.id];
|
620
|
-
}
|
621
|
-
},
|
622
|
-
|
623
|
-
create: function(element) {
|
624
|
-
element = $(element);
|
625
|
-
var options = Object.extend({
|
626
|
-
element: element,
|
627
|
-
tag: 'li', // assumes li children, override with tag: 'tagname'
|
628
|
-
dropOnEmpty: false,
|
629
|
-
tree: false,
|
630
|
-
treeTag: 'ul',
|
631
|
-
overlap: 'vertical', // one of 'vertical', 'horizontal'
|
632
|
-
constraint: 'vertical', // one of 'vertical', 'horizontal', false
|
633
|
-
containment: element, // also takes array of elements (or id's); or false
|
634
|
-
handle: false, // or a CSS class
|
635
|
-
only: false,
|
636
|
-
delay: 0,
|
637
|
-
hoverclass: null,
|
638
|
-
ghosting: false,
|
639
|
-
quiet: false,
|
640
|
-
scroll: false,
|
641
|
-
scrollSensitivity: 20,
|
642
|
-
scrollSpeed: 15,
|
643
|
-
format: this.SERIALIZE_RULE,
|
644
|
-
|
645
|
-
// these take arrays of elements or ids and can be
|
646
|
-
// used for better initialization performance
|
647
|
-
elements: false,
|
648
|
-
handles: false,
|
649
|
-
|
650
|
-
onChange: Prototype.emptyFunction,
|
651
|
-
onUpdate: Prototype.emptyFunction
|
652
|
-
}, arguments[1] || { });
|
653
|
-
|
654
|
-
// clear any old sortable with same element
|
655
|
-
this.destroy(element);
|
656
|
-
|
657
|
-
// build options for the draggables
|
658
|
-
var options_for_draggable = {
|
659
|
-
revert: true,
|
660
|
-
quiet: options.quiet,
|
661
|
-
scroll: options.scroll,
|
662
|
-
scrollSpeed: options.scrollSpeed,
|
663
|
-
scrollSensitivity: options.scrollSensitivity,
|
664
|
-
delay: options.delay,
|
665
|
-
ghosting: options.ghosting,
|
666
|
-
constraint: options.constraint,
|
667
|
-
handle: options.handle };
|
668
|
-
|
669
|
-
if(options.starteffect)
|
670
|
-
options_for_draggable.starteffect = options.starteffect;
|
671
|
-
|
672
|
-
if(options.reverteffect)
|
673
|
-
options_for_draggable.reverteffect = options.reverteffect;
|
674
|
-
else
|
675
|
-
if(options.ghosting) options_for_draggable.reverteffect = function(element) {
|
676
|
-
element.style.top = 0;
|
677
|
-
element.style.left = 0;
|
678
|
-
};
|
679
|
-
|
680
|
-
if(options.endeffect)
|
681
|
-
options_for_draggable.endeffect = options.endeffect;
|
682
|
-
|
683
|
-
if(options.zindex)
|
684
|
-
options_for_draggable.zindex = options.zindex;
|
685
|
-
|
686
|
-
// build options for the droppables
|
687
|
-
var options_for_droppable = {
|
688
|
-
overlap: options.overlap,
|
689
|
-
containment: options.containment,
|
690
|
-
tree: options.tree,
|
691
|
-
hoverclass: options.hoverclass,
|
692
|
-
onHover: Sortable.onHover
|
693
|
-
};
|
694
|
-
|
695
|
-
var options_for_tree = {
|
696
|
-
onHover: Sortable.onEmptyHover,
|
697
|
-
overlap: options.overlap,
|
698
|
-
containment: options.containment,
|
699
|
-
hoverclass: options.hoverclass
|
700
|
-
};
|
701
|
-
|
702
|
-
// fix for gecko engine
|
703
|
-
Element.cleanWhitespace(element);
|
704
|
-
|
705
|
-
options.draggables = [];
|
706
|
-
options.droppables = [];
|
707
|
-
|
708
|
-
// drop on empty handling
|
709
|
-
if(options.dropOnEmpty || options.tree) {
|
710
|
-
Droppables.add(element, options_for_tree);
|
711
|
-
options.droppables.push(element);
|
712
|
-
}
|
713
|
-
|
714
|
-
(options.elements || this.findElements(element, options) || []).each( function(e,i) {
|
715
|
-
var handle = options.handles ? $(options.handles[i]) :
|
716
|
-
(options.handle ? $(e).select('.' + options.handle)[0] : e);
|
717
|
-
options.draggables.push(
|
718
|
-
new Draggable(e, Object.extend(options_for_draggable, { handle: handle })));
|
719
|
-
Droppables.add(e, options_for_droppable);
|
720
|
-
if(options.tree) e.treeNode = element;
|
721
|
-
options.droppables.push(e);
|
722
|
-
});
|
723
|
-
|
724
|
-
if(options.tree) {
|
725
|
-
(Sortable.findTreeElements(element, options) || []).each( function(e) {
|
726
|
-
Droppables.add(e, options_for_tree);
|
727
|
-
e.treeNode = element;
|
728
|
-
options.droppables.push(e);
|
729
|
-
});
|
730
|
-
}
|
731
|
-
|
732
|
-
// keep reference
|
733
|
-
this.sortables[element.id] = options;
|
734
|
-
|
735
|
-
// for onupdate
|
736
|
-
Draggables.addObserver(new SortableObserver(element, options.onUpdate));
|
737
|
-
|
738
|
-
},
|
739
|
-
|
740
|
-
// return all suitable-for-sortable elements in a guaranteed order
|
741
|
-
findElements: function(element, options) {
|
742
|
-
return Element.findChildren(
|
743
|
-
element, options.only, options.tree ? true : false, options.tag);
|
744
|
-
},
|
745
|
-
|
746
|
-
findTreeElements: function(element, options) {
|
747
|
-
return Element.findChildren(
|
748
|
-
element, options.only, options.tree ? true : false, options.treeTag);
|
749
|
-
},
|
750
|
-
|
751
|
-
onHover: function(element, dropon, overlap) {
|
752
|
-
if(Element.isParent(dropon, element)) return;
|
753
|
-
|
754
|
-
if(overlap > .33 && overlap < .66 && Sortable.options(dropon).tree) {
|
755
|
-
return;
|
756
|
-
} else if(overlap>0.5) {
|
757
|
-
Sortable.mark(dropon, 'before');
|
758
|
-
if(dropon.previousSibling != element) {
|
759
|
-
var oldParentNode = element.parentNode;
|
760
|
-
element.style.visibility = "hidden"; // fix gecko rendering
|
761
|
-
dropon.parentNode.insertBefore(element, dropon);
|
762
|
-
if(dropon.parentNode!=oldParentNode)
|
763
|
-
Sortable.options(oldParentNode).onChange(element);
|
764
|
-
Sortable.options(dropon.parentNode).onChange(element);
|
765
|
-
}
|
766
|
-
} else {
|
767
|
-
Sortable.mark(dropon, 'after');
|
768
|
-
var nextElement = dropon.nextSibling || null;
|
769
|
-
if(nextElement != element) {
|
770
|
-
var oldParentNode = element.parentNode;
|
771
|
-
element.style.visibility = "hidden"; // fix gecko rendering
|
772
|
-
dropon.parentNode.insertBefore(element, nextElement);
|
773
|
-
if(dropon.parentNode!=oldParentNode)
|
774
|
-
Sortable.options(oldParentNode).onChange(element);
|
775
|
-
Sortable.options(dropon.parentNode).onChange(element);
|
776
|
-
}
|
777
|
-
}
|
778
|
-
},
|
779
|
-
|
780
|
-
onEmptyHover: function(element, dropon, overlap) {
|
781
|
-
var oldParentNode = element.parentNode;
|
782
|
-
var droponOptions = Sortable.options(dropon);
|
783
|
-
|
784
|
-
if(!Element.isParent(dropon, element)) {
|
785
|
-
var index;
|
786
|
-
|
787
|
-
var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
|
788
|
-
var child = null;
|
789
|
-
|
790
|
-
if(children) {
|
791
|
-
var offset = Element.offsetSize(dropon, droponOptions.overlap) * (1.0 - overlap);
|
792
|
-
|
793
|
-
for (index = 0; index < children.length; index += 1) {
|
794
|
-
if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
|
795
|
-
offset -= Element.offsetSize (children[index], droponOptions.overlap);
|
796
|
-
} else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
|
797
|
-
child = index + 1 < children.length ? children[index + 1] : null;
|
798
|
-
break;
|
799
|
-
} else {
|
800
|
-
child = children[index];
|
801
|
-
break;
|
802
|
-
}
|
803
|
-
}
|
804
|
-
}
|
805
|
-
|
806
|
-
dropon.insertBefore(element, child);
|
807
|
-
|
808
|
-
Sortable.options(oldParentNode).onChange(element);
|
809
|
-
droponOptions.onChange(element);
|
810
|
-
}
|
811
|
-
},
|
812
|
-
|
813
|
-
unmark: function() {
|
814
|
-
if(Sortable._marker) Sortable._marker.hide();
|
815
|
-
},
|
816
|
-
|
817
|
-
mark: function(dropon, position) {
|
818
|
-
// mark on ghosting only
|
819
|
-
var sortable = Sortable.options(dropon.parentNode);
|
820
|
-
if(sortable && !sortable.ghosting) return;
|
821
|
-
|
822
|
-
if(!Sortable._marker) {
|
823
|
-
Sortable._marker =
|
824
|
-
($('dropmarker') || Element.extend(document.createElement('DIV'))).
|
825
|
-
hide().addClassName('dropmarker').setStyle({position:'absolute'});
|
826
|
-
document.getElementsByTagName("body").item(0).appendChild(Sortable._marker);
|
827
|
-
}
|
828
|
-
var offsets = Position.cumulativeOffset(dropon);
|
829
|
-
Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'});
|
830
|
-
|
831
|
-
if(position=='after')
|
832
|
-
if(sortable.overlap == 'horizontal')
|
833
|
-
Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'});
|
834
|
-
else
|
835
|
-
Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'});
|
836
|
-
|
837
|
-
Sortable._marker.show();
|
838
|
-
},
|
839
|
-
|
840
|
-
_tree: function(element, options, parent) {
|
841
|
-
var children = Sortable.findElements(element, options) || [];
|
842
|
-
|
843
|
-
for (var i = 0; i < children.length; ++i) {
|
844
|
-
var match = children[i].id.match(options.format);
|
845
|
-
|
846
|
-
if (!match) continue;
|
847
|
-
|
848
|
-
var child = {
|
849
|
-
id: encodeURIComponent(match ? match[1] : null),
|
850
|
-
element: element,
|
851
|
-
parent: parent,
|
852
|
-
children: [],
|
853
|
-
position: parent.children.length,
|
854
|
-
container: $(children[i]).down(options.treeTag)
|
855
|
-
};
|
856
|
-
|
857
|
-
/* Get the element containing the children and recurse over it */
|
858
|
-
if (child.container)
|
859
|
-
this._tree(child.container, options, child);
|
860
|
-
|
861
|
-
parent.children.push (child);
|
862
|
-
}
|
863
|
-
|
864
|
-
return parent;
|
865
|
-
},
|
866
|
-
|
867
|
-
tree: function(element) {
|
868
|
-
element = $(element);
|
869
|
-
var sortableOptions = this.options(element);
|
870
|
-
var options = Object.extend({
|
871
|
-
tag: sortableOptions.tag,
|
872
|
-
treeTag: sortableOptions.treeTag,
|
873
|
-
only: sortableOptions.only,
|
874
|
-
name: element.id,
|
875
|
-
format: sortableOptions.format
|
876
|
-
}, arguments[1] || { });
|
877
|
-
|
878
|
-
var root = {
|
879
|
-
id: null,
|
880
|
-
parent: null,
|
881
|
-
children: [],
|
882
|
-
container: element,
|
883
|
-
position: 0
|
884
|
-
};
|
885
|
-
|
886
|
-
return Sortable._tree(element, options, root);
|
887
|
-
},
|
888
|
-
|
889
|
-
/* Construct a [i] index for a particular node */
|
890
|
-
_constructIndex: function(node) {
|
891
|
-
var index = '';
|
892
|
-
do {
|
893
|
-
if (node.id) index = '[' + node.position + ']' + index;
|
894
|
-
} while ((node = node.parent) != null);
|
895
|
-
return index;
|
896
|
-
},
|
897
|
-
|
898
|
-
sequence: function(element) {
|
899
|
-
element = $(element);
|
900
|
-
var options = Object.extend(this.options(element), arguments[1] || { });
|
901
|
-
|
902
|
-
return $(this.findElements(element, options) || []).map( function(item) {
|
903
|
-
return item.id.match(options.format) ? item.id.match(options.format)[1] : '';
|
904
|
-
});
|
905
|
-
},
|
906
|
-
|
907
|
-
setSequence: function(element, new_sequence) {
|
908
|
-
element = $(element);
|
909
|
-
var options = Object.extend(this.options(element), arguments[2] || { });
|
910
|
-
|
911
|
-
var nodeMap = { };
|
912
|
-
this.findElements(element, options).each( function(n) {
|
913
|
-
if (n.id.match(options.format))
|
914
|
-
nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode];
|
915
|
-
n.parentNode.removeChild(n);
|
916
|
-
});
|
917
|
-
|
918
|
-
new_sequence.each(function(ident) {
|
919
|
-
var n = nodeMap[ident];
|
920
|
-
if (n) {
|
921
|
-
n[1].appendChild(n[0]);
|
922
|
-
delete nodeMap[ident];
|
923
|
-
}
|
924
|
-
});
|
925
|
-
},
|
926
|
-
|
927
|
-
serialize: function(element) {
|
928
|
-
element = $(element);
|
929
|
-
var options = Object.extend(Sortable.options(element), arguments[1] || { });
|
930
|
-
var name = encodeURIComponent(
|
931
|
-
(arguments[1] && arguments[1].name) ? arguments[1].name : element.id);
|
932
|
-
|
933
|
-
if (options.tree) {
|
934
|
-
return Sortable.tree(element, arguments[1]).children.map( function (item) {
|
935
|
-
return [name + Sortable._constructIndex(item) + "[id]=" +
|
936
|
-
encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));
|
937
|
-
}).flatten().join('&');
|
938
|
-
} else {
|
939
|
-
return Sortable.sequence(element, arguments[1]).map( function(item) {
|
940
|
-
return name + "[]=" + encodeURIComponent(item);
|
941
|
-
}).join('&');
|
942
|
-
}
|
943
|
-
}
|
944
|
-
};
|
945
|
-
|
946
|
-
// Returns true if child is contained within element
|
947
|
-
Element.isParent = function(child, element) {
|
948
|
-
if (!child.parentNode || child == element) return false;
|
949
|
-
if (child.parentNode == element) return true;
|
950
|
-
return Element.isParent(child.parentNode, element);
|
951
|
-
};
|
952
|
-
|
953
|
-
Element.findChildren = function(element, only, recursive, tagName) {
|
954
|
-
if(!element.hasChildNodes()) return null;
|
955
|
-
tagName = tagName.toUpperCase();
|
956
|
-
if(only) only = [only].flatten();
|
957
|
-
var elements = [];
|
958
|
-
$A(element.childNodes).each( function(e) {
|
959
|
-
if(e.tagName && e.tagName.toUpperCase()==tagName &&
|
960
|
-
(!only || (Element.classNames(e).detect(function(v) { return only.include(v) }))))
|
961
|
-
elements.push(e);
|
962
|
-
if(recursive) {
|
963
|
-
var grandchildren = Element.findChildren(e, only, recursive, tagName);
|
964
|
-
if(grandchildren) elements.push(grandchildren);
|
965
|
-
}
|
966
|
-
});
|
967
|
-
|
968
|
-
return (elements.length>0 ? elements.flatten() : []);
|
969
|
-
};
|
970
|
-
|
971
|
-
Element.offsetSize = function (element, type) {
|
972
|
-
return element['offset' + ((type=='vertical' || type=='height') ? 'Height' : 'Width')];
|
973
|
-
};
|