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,303 +0,0 @@
|
|
1
|
-
module UploadProgress
|
2
|
-
def self.append_features(base) #:nodoc:
|
3
|
-
super
|
4
|
-
base.extend(ClassMethods)
|
5
|
-
base.helper_method :upload_progress, :next_upload_id, :last_upload_id, :current_upload_id
|
6
|
-
end
|
7
|
-
|
8
|
-
# == Action Pack Upload Progress for multipart uploads
|
9
|
-
#
|
10
|
-
# The UploadProgress module aids in the process of viewing an Ajax driven
|
11
|
-
# upload status when working with multipart forms. It offers a macro that
|
12
|
-
# will prepare an action for handling the cleanup of the Ajax updating including
|
13
|
-
# passing the redirect URL and custom parameters to the Javascript finish handler.
|
14
|
-
#
|
15
|
-
# UploadProgress is available for all multipart uploads when the +upload_status_for+
|
16
|
-
# macro is called in one of your controllers.
|
17
|
-
#
|
18
|
-
# The progress is stored as an UploadProgress::Progress object in the session and
|
19
|
-
# is accessible in the controller and view with the +upload_progress+ method.
|
20
|
-
#
|
21
|
-
# For help rendering the UploadProgress enabled form and supported elements, see
|
22
|
-
# ActionView::Helpers::UploadProgressHelper.
|
23
|
-
#
|
24
|
-
# === Automatic updating on upload actions
|
25
|
-
#
|
26
|
-
# class DocumentController < ApplicationController
|
27
|
-
# upload_status_for :create
|
28
|
-
#
|
29
|
-
# def create
|
30
|
-
# # ... Your document creation action
|
31
|
-
# end
|
32
|
-
# end
|
33
|
-
#
|
34
|
-
# The +upload_status_for+ macro will override the rendering of the action passed
|
35
|
-
# if +upload_id+ is found in the query string. This allows for default
|
36
|
-
# behavior if Javascript is disabled. If you are tracking the upload progress
|
37
|
-
# then +create+ will now return the cleanup scripts that will terminate the polling
|
38
|
-
# of the upload status.
|
39
|
-
#
|
40
|
-
# === Customized status rendering
|
41
|
-
#
|
42
|
-
# class DocumentController < ApplicationController
|
43
|
-
# upload_status_for :create, :status => :custom_status
|
44
|
-
#
|
45
|
-
# def create
|
46
|
-
# # ... Your document creation action
|
47
|
-
# end
|
48
|
-
#
|
49
|
-
# def custom_status
|
50
|
-
# # ... Override this action to return content to be replaced in
|
51
|
-
# # the status container
|
52
|
-
# render :inline => "<%= upload_progress.completed_percent rescue 0 %> % complete", :layout => false
|
53
|
-
# end
|
54
|
-
#
|
55
|
-
# The default status action is +upload_status+. The results of this action
|
56
|
-
# are added used to replace the contents of the HTML elements defined in
|
57
|
-
# +upload_status_tag+. Within +upload_status+, you can load the Progress
|
58
|
-
# object from the session with the +upload_progress+ method and display your own
|
59
|
-
# results.
|
60
|
-
#
|
61
|
-
# Completion of the upload status updating occurs automatically with an +after_filter+ call to
|
62
|
-
# +finish_upload_status+. Because the upload must be posted into a hidden IFRAME to enable
|
63
|
-
# Ajax updates during the upload, +finish_upload_status+ overwrites the results of any previous
|
64
|
-
# +render+ or +redirect_to+ so it can render the necessary Javascript that will properly terminate
|
65
|
-
# the status updating loop, trigger the completion callback or redirect to the appropriate URL.
|
66
|
-
#
|
67
|
-
# ==== Basic Example (View):
|
68
|
-
#
|
69
|
-
# <%= form_tag_with_upload_progress({:action => 'create'}, {:finish => 'alert("Document Uploaded")'}) %>
|
70
|
-
# <%= upload_status_tag %>
|
71
|
-
# <%= file_field 'document', 'file' %>
|
72
|
-
# <%= end_form_tag %>
|
73
|
-
#
|
74
|
-
# ==== Basic Example (Controller):
|
75
|
-
#
|
76
|
-
# class DocumentController < ApplicationController
|
77
|
-
# upload_status_for :create
|
78
|
-
#
|
79
|
-
# def create
|
80
|
-
# @document = Document.create(params[:document])
|
81
|
-
# end
|
82
|
-
# end
|
83
|
-
#
|
84
|
-
# ==== Extended Example (View):
|
85
|
-
#
|
86
|
-
# <%= form_tag_with_upload_progress({:action => 'create'}, {}, {:action => :custom_status}) %>
|
87
|
-
# <%= upload_status_tag %>
|
88
|
-
# <%= file_field 'document', 'file' %>
|
89
|
-
# <%= submit_tag "Upload" %>
|
90
|
-
# <%= end_form_tag %>
|
91
|
-
#
|
92
|
-
# <%= form_tag_with_upload_progress({:action => 'add_preview'}, {:finish => 'alert(arguments[0])'}, {:action => :custom_status}) %>
|
93
|
-
# <%= upload_status_tag %>
|
94
|
-
# <%= submit_tag "Upload" %>
|
95
|
-
# <%= file_field 'preview', 'file' %>
|
96
|
-
# <%= end_form_tag %>
|
97
|
-
#
|
98
|
-
# ==== Extended Example (Controller):
|
99
|
-
#
|
100
|
-
# class DocumentController < ApplicationController
|
101
|
-
# upload_status_for :add_preview, :create, {:status => :custom_status}
|
102
|
-
#
|
103
|
-
# def add_preview
|
104
|
-
# @document = Document.find(params[:id])
|
105
|
-
# @document.preview = Preview.create(params[:preview])
|
106
|
-
# if @document.save
|
107
|
-
# finish_upload_status "'Preview added'"
|
108
|
-
# else
|
109
|
-
# finish_upload_status "'Preview not added'"
|
110
|
-
# end
|
111
|
-
# end
|
112
|
-
#
|
113
|
-
# def create
|
114
|
-
# @document = Document.new(params[:document])
|
115
|
-
#
|
116
|
-
# upload_progress.message = "Processing document..."
|
117
|
-
# session.update
|
118
|
-
#
|
119
|
-
# @document.save
|
120
|
-
# redirect_to :action => 'show', :id => @document.id
|
121
|
-
# end
|
122
|
-
#
|
123
|
-
# def custom_status
|
124
|
-
# render :inline => '<%= upload_progress_status %> <div>Updated at <%= Time.now %></div>', :layout => false
|
125
|
-
# end
|
126
|
-
#
|
127
|
-
# ==== Environment checklist
|
128
|
-
#
|
129
|
-
# This is an experimental feature that requires a specific webserver environment. Use the following checklist
|
130
|
-
# to confirm that you have an environment that supports upload progress.
|
131
|
-
#
|
132
|
-
# ===== Ruby:
|
133
|
-
#
|
134
|
-
# * Running the command `ruby -v` should print "ruby 1.8.2 (2004-12-25)" or older
|
135
|
-
#
|
136
|
-
# ===== Web server:
|
137
|
-
#
|
138
|
-
# * Apache 1.3, Apache 2.0 or Lighttpd *1.4* (need to build lighttpd from CVS)
|
139
|
-
#
|
140
|
-
# ===== FastCGI bindings:
|
141
|
-
#
|
142
|
-
# * > 0.8.6 and must be the compiled C version of the bindings
|
143
|
-
# * The command `ruby -e "p require('fcgi.so')"` should print "true"
|
144
|
-
#
|
145
|
-
# ===== Apache/Lighttpd FastCGI directives:
|
146
|
-
#
|
147
|
-
# * You must allow more than one FCGI server process to allow concurrent requests.
|
148
|
-
# * If there is only a single FCGI process you will not get the upload status updates.
|
149
|
-
# * You can check this by taking a look for running FCGI servers in your process list during a progress upload.
|
150
|
-
# * Apache directive: FastCGIConfig -minProcesses 2
|
151
|
-
# * Lighttpd directives taken from config/lighttpd.conf (min-procs):
|
152
|
-
#
|
153
|
-
# fastcgi.server = (
|
154
|
-
# ".fcgi" => (
|
155
|
-
# "APP_NAME" => (
|
156
|
-
# "socket" => "/tmp/APP_NAME1.socket",
|
157
|
-
# "bin-path" => "RAILS_ROOT/public/dispatch.fcgi",
|
158
|
-
# "min-procs" => 2
|
159
|
-
# )
|
160
|
-
# )
|
161
|
-
# )
|
162
|
-
#
|
163
|
-
# ===== config/environment.rb:
|
164
|
-
#
|
165
|
-
# * Add the following line to your config/environment.rb and restart your web server.
|
166
|
-
# * <tt>ActionController::Base.enable_upload_progress</tt>
|
167
|
-
#
|
168
|
-
# ===== Development log:
|
169
|
-
#
|
170
|
-
# * When the upload progress is enabled by you will find something the following lines:
|
171
|
-
# * "Multipart upload with progress (id: 1, size: 85464)"
|
172
|
-
# * "Finished processing multipart upload in 0.363729s"
|
173
|
-
# * If you are properly running multiple FCGI processes, then you will see multiple entries for rendering the "upload_status" action before the "Finish processing..." log entry. This is a *good thing* :)
|
174
|
-
#
|
175
|
-
module ClassMethods
|
176
|
-
# Creates an +after_filter+ which will call +finish_upload_status+
|
177
|
-
# creating the document that will be loaded into the hidden IFRAME, terminating
|
178
|
-
# the status polling forms created with +form_with_upload_progress+.
|
179
|
-
#
|
180
|
-
# Also defines an action +upload_status+ or a action name passed as
|
181
|
-
# the <tt>:status</tt> option. This status action must match the one expected
|
182
|
-
# in the +form_tag_with_upload_progress+ helper.
|
183
|
-
#
|
184
|
-
def upload_status_for(*actions)
|
185
|
-
after_filter :finish_upload_status, :only => actions
|
186
|
-
|
187
|
-
define_method(actions.last.is_a?(Hash) && actions.last[:status] || :upload_status) do
|
188
|
-
render(:inline => '<%= upload_progress_status %>', :layout => false)
|
189
|
-
end
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
# Overwrites the body rendered if the upload comes from a form that tracks
|
194
|
-
# the progress of the upload. After clearing the body and any redirects, this
|
195
|
-
# method then renders the helper +finish_upload_status+
|
196
|
-
#
|
197
|
-
# This method only needs to be called if you wish to pass a
|
198
|
-
# javascript parameter to your finish event handler that you optionally
|
199
|
-
# define in +form_with_upload_progress+
|
200
|
-
#
|
201
|
-
# === Parameter:
|
202
|
-
#
|
203
|
-
# client_js_argument:: a string containing a Javascript expression that will
|
204
|
-
# be evaluated and passed to your +finish+ handler of
|
205
|
-
# +form_tag_with_upload_progress+.
|
206
|
-
#
|
207
|
-
# You can pass a String, Number or Boolean.
|
208
|
-
#
|
209
|
-
# === Strings
|
210
|
-
#
|
211
|
-
# Strings contain Javascript code that will be evaluated on the client. If you
|
212
|
-
# wish to pass a string to the client finish callback, you will need to include
|
213
|
-
# quotes in the +client_js_argument+ you pass to this method.
|
214
|
-
#
|
215
|
-
# ==== Example
|
216
|
-
#
|
217
|
-
# finish_upload_status("\"Finished\"")
|
218
|
-
# finish_upload_status("'Finished #{@document.title}'")
|
219
|
-
# finish_upload_status("{success: true, message: 'Done!'}")
|
220
|
-
# finish_upload_status("function() { alert('Uploaded!'); }")
|
221
|
-
#
|
222
|
-
# === Numbers / Booleans
|
223
|
-
#
|
224
|
-
# Numbers and Booleans can either be passed as Number objects or string versions
|
225
|
-
# of number objects as they are evaluated by Javascript the same way as in Ruby.
|
226
|
-
#
|
227
|
-
# ==== Example
|
228
|
-
#
|
229
|
-
# finish_upload_status(0)
|
230
|
-
# finish_upload_status(@document.file.size)
|
231
|
-
# finish_upload_status("10")
|
232
|
-
#
|
233
|
-
# === Nil
|
234
|
-
#
|
235
|
-
# To pass +nil+ to the finish callback, use a string "undefined"
|
236
|
-
#
|
237
|
-
# ==== Example
|
238
|
-
#
|
239
|
-
# finish_upload_status(@message || "undefined")
|
240
|
-
#
|
241
|
-
# == Redirection
|
242
|
-
#
|
243
|
-
# If you action performs a redirection then +finish_upload_status+ will recognize
|
244
|
-
# the redirection and properly create the Javascript to perform the redirection in
|
245
|
-
# the proper location.
|
246
|
-
#
|
247
|
-
# It is possible to redirect and pass a parameter to the finish callback.
|
248
|
-
#
|
249
|
-
# ==== Example
|
250
|
-
#
|
251
|
-
# redirect_to :action => 'show', :id => @document.id
|
252
|
-
# finish_upload_status("'Redirecting you to your new file'")
|
253
|
-
#
|
254
|
-
#
|
255
|
-
def finish_upload_status(client_js_argument='')
|
256
|
-
if not @rendered_finish_upload_status and params[:upload_id]
|
257
|
-
@rendered_finish_upload_status = true
|
258
|
-
|
259
|
-
erase_render_results
|
260
|
-
location = erase_redirect_results || ''
|
261
|
-
|
262
|
-
## TODO determine if #inspect is the appropriate way to marshall values
|
263
|
-
## in inline templates
|
264
|
-
|
265
|
-
template = "<%= finish_upload_status({"
|
266
|
-
template << ":client_js_argument => #{client_js_argument.inspect}, "
|
267
|
-
template << ":redirect_to => #{location.to_s.inspect}, "
|
268
|
-
template << "}) %>"
|
269
|
-
|
270
|
-
render({ :inline => template, :layout => false })
|
271
|
-
end
|
272
|
-
end
|
273
|
-
|
274
|
-
# Returns and saves the next unique +upload_id+ in the instance variable
|
275
|
-
# <tt>@upload_id</tt>
|
276
|
-
def next_upload_id
|
277
|
-
@upload_id = last_upload_id.succ
|
278
|
-
end
|
279
|
-
|
280
|
-
# Either returns the last saved +upload_id+ or looks in the session
|
281
|
-
# for the last used +upload_id+ and saves it as the intance variable
|
282
|
-
# <tt>@upload_id</tt>
|
283
|
-
def last_upload_id
|
284
|
-
@upload_id ||= ((session[:uploads] || {}).keys.map{|k| k.to_i}.sort.last || 0).to_s
|
285
|
-
end
|
286
|
-
|
287
|
-
# Returns the +upload_id+ from the query parameters or if it cannot be found
|
288
|
-
# in the query parameters, then return the +last_upload_id+
|
289
|
-
def current_upload_id
|
290
|
-
params[:upload_id] or last_upload_id
|
291
|
-
end
|
292
|
-
|
293
|
-
# Get the UploadProgress::Progress object for the supplied +upload_id+ from the
|
294
|
-
# session. If no +upload_id+ is given, then use the +current_upload_id+
|
295
|
-
#
|
296
|
-
# If an UploadProgress::Progress object cannot be found, a new instance will be
|
297
|
-
# returned with <code>total_bytes == 0</code>, <code>started? == false</code>,
|
298
|
-
# and <code>finished? == true</code>.
|
299
|
-
def upload_progress(upload_id = nil)
|
300
|
-
upload_id ||= current_upload_id
|
301
|
-
session[:uploads] && session[:uploads][upload_id] || UploadProgress::Progress.new(0)
|
302
|
-
end
|
303
|
-
end
|
@@ -1,424 +0,0 @@
|
|
1
|
-
module UploadProgress
|
2
|
-
# Provides a set of methods to be used in your views to help with the
|
3
|
-
# rendering of Ajax enabled status updating during a multipart upload.
|
4
|
-
#
|
5
|
-
# The basic mechanism for upload progress is that the form will post to a
|
6
|
-
# hidden <iframe> element, then poll a status action that will replace the
|
7
|
-
# contents of a status container. Client Javascript hooks are provided for
|
8
|
-
# +begin+ and +finish+ of the update.
|
9
|
-
#
|
10
|
-
# If you wish to have a DTD that will validate this page, use XHTML
|
11
|
-
# Transitional because this DTD supports the <iframe> element.
|
12
|
-
#
|
13
|
-
# == Typical usage
|
14
|
-
#
|
15
|
-
# In your upload view:
|
16
|
-
#
|
17
|
-
# <%= form_tag_with_upload_progress({ :action => 'create' }) %>
|
18
|
-
# <%= file_field "document", "file" %>
|
19
|
-
# <%= submit_tag "Upload" %>
|
20
|
-
# <%= upload_status_tag %>
|
21
|
-
# <%= end_form_tag %>
|
22
|
-
#
|
23
|
-
# In your controller:
|
24
|
-
#
|
25
|
-
# class DocumentController < ApplicationController
|
26
|
-
# upload_status_for :create
|
27
|
-
#
|
28
|
-
# def create
|
29
|
-
# # ... Your document creation action
|
30
|
-
# end
|
31
|
-
# end
|
32
|
-
#
|
33
|
-
# == Javascript callback on begin and finished
|
34
|
-
#
|
35
|
-
# In your upload view:
|
36
|
-
#
|
37
|
-
# <%= form_tag_with_upload_progress({ :action => 'create' }, {
|
38
|
-
# :begin => "alert('upload beginning'),
|
39
|
-
# :finish => "alert('upload finished')}) %>
|
40
|
-
# <%= file_field "document", "file" %>
|
41
|
-
# <%= submit_tag "Upload" %>
|
42
|
-
# <%= upload_status_tag %>
|
43
|
-
# <%= end_form_tag %>
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# == CSS Styling of the status text and progress bar
|
47
|
-
#
|
48
|
-
# See +upload_status_text_tag+ and +upload_status_progress_bar_tag+ for references
|
49
|
-
# of the IDs and CSS classes used.
|
50
|
-
#
|
51
|
-
# Default styling is included with the scaffolding CSS.
|
52
|
-
module UploadProgressHelper
|
53
|
-
unless const_defined? :FREQUENCY
|
54
|
-
# Default number of seconds between client updates
|
55
|
-
FREQUENCY = 2.0
|
56
|
-
|
57
|
-
# Factor to decrease the frequency when the +upload_status+ action returns the same results
|
58
|
-
# To disable update decay, set this constant to +false+
|
59
|
-
FREQUENCY_DECAY = 1.8
|
60
|
-
end
|
61
|
-
|
62
|
-
# Contains a hash of status messages used for localization of
|
63
|
-
# +upload_progress_status+ and +upload_progress_text+. Each string is
|
64
|
-
# evaluated in the helper method context so you can include your own
|
65
|
-
# calculations and string iterpolations.
|
66
|
-
#
|
67
|
-
# The following keys are defined:
|
68
|
-
#
|
69
|
-
# <tt>:begin</tt>:: Displayed before the first byte is received on the server
|
70
|
-
# <tt>:update</tt>:: Contains a human representation of the upload progress
|
71
|
-
# <tt>:finish</tt>:: Displayed when the file upload is complete, before the action has completed. If you are performing extra activity in your action such as processing of the upload, then inform the user of what you are doing by setting +upload_progress.message+
|
72
|
-
#
|
73
|
-
@@default_messages = {
|
74
|
-
:begin => '"Upload starting..."',
|
75
|
-
:update => '"#{human_size(upload_progress.received_bytes)} of #{human_size(upload_progress.total_bytes)} at #{human_size(upload_progress.bitrate)}/s; #{distance_of_time_in_words(0,upload_progress.remaining_seconds,true)} remaining"',
|
76
|
-
:finish => 'upload_progress.message.blank? ? "Upload finished." : upload_progress.message',
|
77
|
-
}
|
78
|
-
|
79
|
-
|
80
|
-
# Creates a form tag and hidden <iframe> necessary for the upload progress
|
81
|
-
# status messages to be displayed in a designated +div+ on your page.
|
82
|
-
#
|
83
|
-
# == Initializations
|
84
|
-
#
|
85
|
-
# When the upload starts, the content created by +upload_status_tag+ will be filled out with
|
86
|
-
# "Upload starting...". When the upload is finished, "Upload finished." will be used. Every
|
87
|
-
# update inbetween the begin and finish events will be determined by the server +upload_status+
|
88
|
-
# action. Doing this automatically means that the user can use the same form to upload multiple
|
89
|
-
# files without refreshing page while still displaying a reasonable progress.
|
90
|
-
#
|
91
|
-
# == Upload IDs
|
92
|
-
#
|
93
|
-
# For the view and the controller to know about the same upload they must share
|
94
|
-
# a common +upload_id+. +form_tag_with_upload_progress+ prepares the next available
|
95
|
-
# +upload_id+ when called. There are other methods which use the +upload_id+ so the
|
96
|
-
# order in which you include your content is important. Any content that depends on the
|
97
|
-
# +upload_id+ will use the one defined +form_tag_with_upload_progress+
|
98
|
-
# otherwise you will need to explicitly declare the +upload_id+ shared among
|
99
|
-
# your progress elements.
|
100
|
-
#
|
101
|
-
# Status container after the form:
|
102
|
-
#
|
103
|
-
# <%= form_tag_with_upload_progress %>
|
104
|
-
# <%= end_form_tag %>
|
105
|
-
#
|
106
|
-
# <%= upload_status_tag %>
|
107
|
-
#
|
108
|
-
# Status container before form:
|
109
|
-
#
|
110
|
-
# <% my_upload_id = next_upload_id %>
|
111
|
-
#
|
112
|
-
# <%= upload_status_tag %>
|
113
|
-
#
|
114
|
-
# <%= form_tag_with_upload_progress :upload_id => my_upload_id %>
|
115
|
-
# <%= end_form_tag %>
|
116
|
-
#
|
117
|
-
# It is recommended that the helpers manage the +upload_id+ parameter.
|
118
|
-
#
|
119
|
-
# == Options
|
120
|
-
#
|
121
|
-
# +form_tag_with_upload_progress+ uses similar options as +form_tag+
|
122
|
-
# yet accepts another hash for the options used for the +upload_status+ action.
|
123
|
-
#
|
124
|
-
# <tt>url_for_options</tt>:: The same options used by +form_tag+ including:
|
125
|
-
# <tt>:upload_id</tt>:: the upload id used to uniquely identify this upload
|
126
|
-
#
|
127
|
-
# <tt>options</tt>:: similar options to +form_tag+ including:
|
128
|
-
# <tt>:begin</tt>:: Javascript code that executes before the first status update occurs.
|
129
|
-
# <tt>:finish</tt>:: Javascript code that executes after the action that receives the post returns.
|
130
|
-
# <tt>:frequency</tt>:: number of seconds between polls to the upload status action.
|
131
|
-
#
|
132
|
-
# <tt>status_url_for_options</tt>:: options passed to +url_for+ to build the url
|
133
|
-
# for the upload status action.
|
134
|
-
# <tt>:controller</tt>:: defines the controller to be used for a custom update status action
|
135
|
-
# <tt>:action</tt>:: defines the action to be used for a custom update status action
|
136
|
-
#
|
137
|
-
# Parameters passed to the action defined by status_url_for_options
|
138
|
-
#
|
139
|
-
# <tt>:upload_id</tt>:: the upload_id automatically generated by +form_tag_with_upload_progress+ or the user defined id passed to this method.
|
140
|
-
#
|
141
|
-
def form_tag_with_upload_progress(url_for_options = {}, options = {}, status_url_for_options = {}, *parameters_for_url_method)
|
142
|
-
|
143
|
-
## Setup the action URL and the server-side upload_status action for
|
144
|
-
## polling of status during the upload
|
145
|
-
|
146
|
-
options = options.dup
|
147
|
-
|
148
|
-
upload_id = url_for_options.delete(:upload_id) || next_upload_id
|
149
|
-
upload_action_url = url_for(url_for_options)
|
150
|
-
|
151
|
-
if status_url_for_options.is_a? Hash
|
152
|
-
status_url_for_options = status_url_for_options.merge({
|
153
|
-
:action => 'upload_status',
|
154
|
-
:upload_id => upload_id})
|
155
|
-
end
|
156
|
-
|
157
|
-
status_url = url_for(status_url_for_options)
|
158
|
-
|
159
|
-
## Prepare the form options. Dynamically change the target and URL to enable the status
|
160
|
-
## updating only if javascript is enabled, otherwise perform the form submission in the same
|
161
|
-
## frame.
|
162
|
-
|
163
|
-
upload_target = options[:target] || upload_target_id
|
164
|
-
upload_id_param = "#{upload_action_url.include?('?') ? '&' : '?'}upload_id=#{upload_id}"
|
165
|
-
|
166
|
-
## Externally :begin and :finish are the entry and exit points
|
167
|
-
## Internally, :finish is called :complete
|
168
|
-
|
169
|
-
js_options = {
|
170
|
-
:decay => options[:decay] || FREQUENCY_DECAY,
|
171
|
-
:frequency => options[:frequency] || FREQUENCY,
|
172
|
-
}
|
173
|
-
|
174
|
-
updater_options = '{' + js_options.map {|k, v| "#{k}:#{v}"}.sort.join(',') + '}'
|
175
|
-
|
176
|
-
## Finish off the updating by forcing the progress bar to 100% and status text because the
|
177
|
-
## results of the post may load and finish in the IFRAME before the last status update
|
178
|
-
## is loaded.
|
179
|
-
|
180
|
-
options[:complete] = "$('#{status_tag_id}').innerHTML='#{escape_javascript upload_progress_text(:finish)}';"
|
181
|
-
options[:complete] << "#{upload_progress_update_bar_js(100)};"
|
182
|
-
options[:complete] << "#{upload_update_object} = null"
|
183
|
-
options[:complete] = "#{options[:complete]}; #{options[:finish]}" if options[:finish]
|
184
|
-
|
185
|
-
options[:script] = true
|
186
|
-
|
187
|
-
## Prepare the periodic updater, clearing any previous updater
|
188
|
-
|
189
|
-
updater = "if (#{upload_update_object}) { #{upload_update_object}.stop(); }"
|
190
|
-
updater << "#{upload_update_object} = new Ajax.PeriodicalUpdater('#{status_tag_id}',"
|
191
|
-
updater << "'#{status_url}', Object.extend(#{options_for_ajax(options)},#{updater_options}))"
|
192
|
-
|
193
|
-
updater = "#{options[:begin]}; #{updater}" if options[:begin]
|
194
|
-
updater = "#{upload_progress_update_bar_js(0)}; #{updater}"
|
195
|
-
updater = "$('#{status_tag_id}').innerHTML='#{escape_javascript upload_progress_text(:begin)}'; #{updater}"
|
196
|
-
|
197
|
-
## Touch up the form action and target to use the given target instead of the
|
198
|
-
## default one. Then start the updater
|
199
|
-
|
200
|
-
options[:onsubmit] = "if (this.action.indexOf('upload_id') < 0){ this.action += '#{escape_javascript upload_id_param}'; }"
|
201
|
-
options[:onsubmit] << "this.target = '#{escape_javascript upload_target}';"
|
202
|
-
options[:onsubmit] << "#{updater}; return true"
|
203
|
-
options[:multipart] = true
|
204
|
-
|
205
|
-
[:begin, :finish, :complete, :frequency, :decay, :script].each { |sym| options.delete(sym) }
|
206
|
-
|
207
|
-
## Create the tags
|
208
|
-
## If a target for the form is given then avoid creating the hidden IFRAME
|
209
|
-
|
210
|
-
tag = form_tag(upload_action_url, options, *parameters_for_url_method)
|
211
|
-
|
212
|
-
unless options[:target]
|
213
|
-
tag << content_tag('iframe', '', {
|
214
|
-
:id => upload_target,
|
215
|
-
:name => upload_target,
|
216
|
-
:src => '',
|
217
|
-
:style => 'width:0px;height:0px;border:0'
|
218
|
-
})
|
219
|
-
end
|
220
|
-
|
221
|
-
tag
|
222
|
-
end
|
223
|
-
|
224
|
-
# This method must be called by the action that receives the form post
|
225
|
-
# with the +upload_progress+. By default this method is rendered when
|
226
|
-
# the controller declares that the action is the receiver of a
|
227
|
-
# +form_tag_with_upload_progress+ posting.
|
228
|
-
#
|
229
|
-
# This template will do a javascript redirect to the URL specified in +redirect_to+
|
230
|
-
# if this method is called anywhere in the controller action. When the action
|
231
|
-
# performs a redirect, the +finish+ handler will not be called.
|
232
|
-
#
|
233
|
-
# If there are errors in the action then you should set the controller
|
234
|
-
# instance variable +@errors+. The +@errors+ object will be
|
235
|
-
# converted to a javascript array from +@errors.full_messages+ and
|
236
|
-
# passed to the +finish+ handler of +form_tag_with_upload_progress+
|
237
|
-
#
|
238
|
-
# If no errors have occured, the parameter to the +finish+ handler will
|
239
|
-
# be +undefined+.
|
240
|
-
#
|
241
|
-
# == Example (in view)
|
242
|
-
#
|
243
|
-
# <script>
|
244
|
-
# function do_finish(errors) {
|
245
|
-
# if (errors) {
|
246
|
-
# alert(errors);
|
247
|
-
# }
|
248
|
-
# }
|
249
|
-
# </script>
|
250
|
-
#
|
251
|
-
# <%= form_tag_with_upload_progress {:action => 'create'}, {finish => 'do_finish(arguments[0])'} %>
|
252
|
-
#
|
253
|
-
def finish_upload_status(options = {})
|
254
|
-
# Always trigger the stop/finish callback
|
255
|
-
js = "parent.#{upload_update_object}.stop(#{options[:client_js_argument]});\n"
|
256
|
-
|
257
|
-
# Redirect if redirect_to was called in controller
|
258
|
-
js << "parent.location.replace('#{escape_javascript options[:redirect_to]}');\n" unless options[:redirect_to].blank?
|
259
|
-
|
260
|
-
# Guard against multiple triggers/redirects on back
|
261
|
-
js = "if (parent.#{upload_update_object}) { #{js} }\n"
|
262
|
-
|
263
|
-
content_tag("html",
|
264
|
-
content_tag("head",
|
265
|
-
content_tag("script", "function finish() { #{js} }",
|
266
|
-
{:type => "text/javascript", :language => "javascript"})) +
|
267
|
-
content_tag("body", '', :onload => 'finish()'))
|
268
|
-
end
|
269
|
-
|
270
|
-
# Renders the HTML to contain the upload progress bar above the
|
271
|
-
# default messages
|
272
|
-
#
|
273
|
-
# Use this method to display the upload status after your +form_tag_with_upload_progress+
|
274
|
-
def upload_status_tag(content='', options={})
|
275
|
-
upload_status_progress_bar_tag + upload_status_text_tag(content, options)
|
276
|
-
end
|
277
|
-
|
278
|
-
# Content helper that will create a +div+ with the proper ID and class that
|
279
|
-
# will contain the contents returned by the +upload_status+ action. The container
|
280
|
-
# is defined as
|
281
|
-
#
|
282
|
-
# <div id="#{status_tag_id}" class="uploadStatus"> </div>
|
283
|
-
#
|
284
|
-
# Style this container by selecting the +.uploadStatus+ +CSS+ class.
|
285
|
-
#
|
286
|
-
# The +content+ parameter will be included in the inner most +div+ when
|
287
|
-
# rendered.
|
288
|
-
#
|
289
|
-
# The +options+ will create attributes on the outer most div. To use a different
|
290
|
-
# +CSS+ class, pass a different class option.
|
291
|
-
#
|
292
|
-
# Example +CSS+:
|
293
|
-
# .uploadStatus { font-size: 10px; color: grey; }
|
294
|
-
#
|
295
|
-
def upload_status_text_tag(content=nil, options={})
|
296
|
-
content_tag("div", content, {:id => status_tag_id, :class => 'uploadStatus ui-progressbar-value ui-widget-header ui-corner-left'}.merge(options))
|
297
|
-
end
|
298
|
-
|
299
|
-
# Content helper that will create the element tree that can be easily styled
|
300
|
-
# with +CSS+ to create a progress bar effect. The containers are defined as:
|
301
|
-
#
|
302
|
-
# <div class="progressBar" id="#{progress_bar_id}">
|
303
|
-
# <div class="border">
|
304
|
-
# <div class="background">
|
305
|
-
# <div class="content"> </div>
|
306
|
-
# </div>
|
307
|
-
# </div>
|
308
|
-
# </div>
|
309
|
-
#
|
310
|
-
# The +content+ parameter will be included in the inner most +div+ when
|
311
|
-
# rendered.
|
312
|
-
#
|
313
|
-
# The +options+ will create attributes on the outer most div. To use a different
|
314
|
-
# +CSS+ class, pass a different class option.
|
315
|
-
#
|
316
|
-
# Example:
|
317
|
-
# <%= upload_status_progress_bar_tag('', {:class => 'progress'}) %>
|
318
|
-
#
|
319
|
-
# Example +CSS+:
|
320
|
-
#
|
321
|
-
# div.progressBar {
|
322
|
-
# margin: 5px;
|
323
|
-
# }
|
324
|
-
#
|
325
|
-
# div.progressBar div.border {
|
326
|
-
# background-color: #fff;
|
327
|
-
# border: 1px solid grey;
|
328
|
-
# width: 100%;
|
329
|
-
# }
|
330
|
-
#
|
331
|
-
# div.progressBar div.background {
|
332
|
-
# background-color: #333;
|
333
|
-
# height: 18px;
|
334
|
-
# width: 0%;
|
335
|
-
# }
|
336
|
-
#
|
337
|
-
def upload_status_progress_bar_tag(content='', options={})
|
338
|
-
css = [options[:class], 'progressBar'].compact.join(' ')
|
339
|
-
|
340
|
-
content_tag("div",
|
341
|
-
content_tag("div",
|
342
|
-
content_tag("div",
|
343
|
-
content_tag("div", content, :class => 'foreground'),
|
344
|
-
:class => 'background'),
|
345
|
-
:class => 'border'),
|
346
|
-
{:id => progress_bar_id}.merge(options).merge({:class => css}))
|
347
|
-
end
|
348
|
-
|
349
|
-
# The text and Javascript returned by the default +upload_status+ controller
|
350
|
-
# action which will replace the contents of the div created by +upload_status_text_tag+
|
351
|
-
# and grow the progress bar background to the appropriate width.
|
352
|
-
#
|
353
|
-
# See +upload_progress_text+ and +upload_progress_update_bar_js+
|
354
|
-
def upload_progress_status
|
355
|
-
"#{upload_progress_text}<script>#{upload_progress_update_bar_js}</script>"
|
356
|
-
end
|
357
|
-
|
358
|
-
# Javascript helper that will create a script that will change the width
|
359
|
-
# of the background progress bar container. Include this in the script
|
360
|
-
# portion of your view rendered by your +upload_status+ action to
|
361
|
-
# automatically find and update the progress bar.
|
362
|
-
#
|
363
|
-
# Example (in controller):
|
364
|
-
#
|
365
|
-
# def upload_status
|
366
|
-
# render :inline => "<script><%= update_upload_progress_bar_js %></script>", :layout => false
|
367
|
-
# end
|
368
|
-
#
|
369
|
-
#
|
370
|
-
def upload_progress_update_bar_js(percent=nil)
|
371
|
-
progress = upload_progress
|
372
|
-
percent ||= case
|
373
|
-
when progress.nil? || !progress.started? then 0
|
374
|
-
when progress.finished? then 100
|
375
|
-
else progress.completed_percent
|
376
|
-
end.to_i
|
377
|
-
|
378
|
-
# TODO do animation instead of jumping
|
379
|
-
"if($('#{progress_bar_id}')){$('#{progress_bar_id}').firstChild.firstChild.style.width='#{percent}%'}"
|
380
|
-
end
|
381
|
-
|
382
|
-
# Generates a nicely formatted string of current upload progress for
|
383
|
-
# +UploadProgress::Progress+ object +progress+. Addtionally, it
|
384
|
-
# will return "Upload starting..." if progress has not been initialized,
|
385
|
-
# "Receiving data..." if there is no received data yet, and "Upload
|
386
|
-
# finished" when all data has been sent.
|
387
|
-
#
|
388
|
-
# You can overload this method to add you own output to the
|
389
|
-
#
|
390
|
-
# Example return: 223.5 KB of 1.5 MB at 321.2 KB/s; less than 10 seconds
|
391
|
-
# remaining
|
392
|
-
def upload_progress_text(state=nil)
|
393
|
-
eval case
|
394
|
-
when state then @@default_messages[state.to_sym]
|
395
|
-
when upload_progress.nil? || !upload_progress.started? then @@default_messages[:begin]
|
396
|
-
when upload_progress.finished? then @@default_messages[:finish]
|
397
|
-
else @@default_messages[:update]
|
398
|
-
end
|
399
|
-
end
|
400
|
-
|
401
|
-
protected
|
402
|
-
# Javascript object used to contain the polling methods and keep track of
|
403
|
-
# the finished state
|
404
|
-
def upload_update_object
|
405
|
-
"document.uploadStatus#{current_upload_id}"
|
406
|
-
end
|
407
|
-
|
408
|
-
# Element ID of the progress bar
|
409
|
-
def progress_bar_id
|
410
|
-
"UploadProgressBar#{current_upload_id}"
|
411
|
-
end
|
412
|
-
|
413
|
-
# Element ID of the progress status container
|
414
|
-
def status_tag_id
|
415
|
-
"UploadStatus#{current_upload_id}"
|
416
|
-
end
|
417
|
-
|
418
|
-
# Element ID of the target <iframe> used as the target of the form
|
419
|
-
def upload_target_id
|
420
|
-
"UploadTarget#{current_upload_id}"
|
421
|
-
end
|
422
|
-
|
423
|
-
end
|
424
|
-
end
|