typo 5.3 → 5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +30 -627
- data/app/controllers/accounts_controller.rb +28 -8
- data/app/controllers/admin/base_controller.rb +0 -2
- data/app/controllers/admin/blacklist_controller.rb +1 -1
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +40 -20
- data/app/controllers/admin/dashboard_controller.rb +2 -0
- data/app/controllers/admin/feedback_controller.rb +5 -4
- data/app/controllers/admin/pages_controller.rb +1 -3
- data/app/controllers/admin/previews_controller.rb +10 -0
- data/app/controllers/admin/profiles_controller.rb +9 -27
- data/app/controllers/admin/resources_controller.rb +1 -4
- data/app/controllers/admin/settings_controller.rb +11 -5
- data/app/controllers/admin/tags_controller.rb +1 -1
- data/app/controllers/admin/themes_controller.rb +2 -0
- data/app/controllers/admin/users_controller.rb +6 -15
- data/app/controllers/application_controller.rb +76 -0
- data/app/controllers/articles_controller.rb +4 -8
- data/app/controllers/authors_controller.rb +21 -0
- data/app/controllers/backend_controller.rb +0 -1
- data/app/controllers/content_controller.rb +1 -5
- data/app/controllers/feedback_controller.rb +0 -1
- data/app/controllers/grouping_controller.rb +29 -7
- data/app/controllers/previews_controller.rb +10 -0
- data/app/controllers/redirect_controller.rb +3 -1
- data/app/controllers/theme_controller.rb +0 -4
- data/app/controllers/xml_controller.rb +7 -5
- data/app/helpers/admin/base_helper.rb +19 -13
- data/app/helpers/admin/users_helper.rb +12 -0
- data/app/helpers/application_helper.rb +20 -58
- data/app/helpers/articles_helper.rb +2 -2
- data/app/helpers/authors_helper.rb +5 -0
- data/app/models/article.rb +14 -28
- data/app/models/blog.rb +6 -38
- data/app/models/category.rb +2 -6
- data/app/models/content.rb +24 -18
- data/app/models/page.rb +0 -2
- data/app/models/page_cache.rb +4 -7
- data/app/models/sidebar.rb +6 -6
- data/app/models/text_filter.rb +1 -6
- data/app/models/theme.rb +7 -2
- data/app/models/trackback.rb +1 -5
- data/app/models/user.rb +13 -3
- data/app/views/accounts/confirm.html.erb +16 -0
- data/app/views/accounts/login.html.erb +30 -7
- data/app/views/accounts/signup.html.erb +16 -31
- data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -1
- data/app/views/admin/blacklist/_form.html.erb +1 -1
- data/app/views/admin/blacklist/destroy.html.erb +7 -7
- data/app/views/admin/categories/_categories.html.erb +0 -4
- data/app/views/admin/categories/_form.html.erb +18 -20
- data/app/views/admin/categories/new.html.erb +5 -8
- data/app/views/admin/content/_article_list.html.erb +1 -5
- data/app/views/admin/content/_drafts.html.erb +4 -4
- data/app/views/admin/content/_form.html.erb +97 -87
- data/app/views/admin/content/_simple_editor.html.erb +4 -4
- data/app/views/admin/content/_visual_editor.html.erb +6 -5
- data/app/views/admin/content/index.html.erb +3 -5
- data/app/views/admin/content/new.html.erb +1 -1
- data/app/views/admin/dashboard/_comments.html.erb +2 -3
- data/app/views/admin/dashboard/_inbound.html.erb +2 -5
- data/app/views/admin/dashboard/_popular.html.erb +1 -1
- data/app/views/admin/dashboard/_posts.html.erb +1 -2
- data/app/views/admin/dashboard/_sysinfo.html.erb +4 -6
- data/app/views/admin/dashboard/_typo_dev.html.erb +4 -4
- data/app/views/admin/dashboard/_welcome.html.erb +3 -3
- data/app/views/admin/dashboard/index.html.erb +14 -8
- data/app/views/admin/feedback/_button.html.erb +6 -6
- data/app/views/admin/feedback/_form.html.erb +29 -18
- data/app/views/admin/feedback/article.html.erb +1 -1
- data/app/views/admin/feedback/index.html.erb +18 -10
- data/app/views/admin/pages/_form.html.erb +65 -47
- data/app/views/admin/pages/_pages.html.erb +1 -3
- data/app/views/admin/pages/_visual_editor.html.erb +1 -1
- data/app/views/admin/profiles/index.html.erb +6 -0
- data/app/views/admin/resources/_resources.html.erb +3 -6
- data/app/views/admin/resources/index.html.erb +14 -9
- data/app/views/admin/settings/_submit.html.erb +2 -2
- data/app/views/admin/settings/feedback.html.erb +96 -90
- data/app/views/admin/settings/index.html.erb +78 -46
- data/app/views/admin/settings/seo.html.erb +72 -63
- data/app/views/admin/settings/write.html.erb +21 -29
- data/app/views/admin/sidebar/index.html.erb +2 -2
- data/app/views/admin/tags/index.html.erb +18 -9
- data/app/views/admin/themes/catalogue.html.erb +6 -14
- data/app/views/admin/themes/index.html.erb +6 -12
- data/app/views/admin/users/_form.html.erb +181 -63
- data/app/views/admin/users/edit.html.erb +2 -5
- data/app/views/admin/users/index.html.erb +24 -29
- data/app/views/admin/users/new.html.erb +1 -5
- data/app/views/articles/_article.html.erb +15 -1
- data/app/views/articles/_atom_feed.atom.builder +1 -1
- data/app/views/articles/_rss20_feed.rss.builder +4 -2
- data/app/views/articles/read.html.erb +3 -3
- data/app/views/articles/search.html.erb +1 -1
- data/app/views/authors/show.html.erb +37 -0
- data/app/views/layouts/accounts.html.erb +3 -4
- data/app/views/layouts/administration.html.erb +29 -32
- data/app/views/shared/_search.html.erb +10 -0
- data/app/views/xml/_atom10_item_article.atom.builder +1 -3
- data/bin/typo +4 -0
- data/config/boot.rb +3 -2
- data/config/environment.rb +32 -109
- data/config/environments/cucumber.rb +23 -0
- data/config/environments/development.rb +1 -1
- data/config/environments/test.rb +5 -0
- data/config/initializers/access_rules.rb +20 -23
- data/config/locales/nl.rb +103 -0
- data/config/routes.rb +10 -4
- data/db/migrate/001_initial_schema.rb +4 -0
- data/db/migrate/057_add_categorization_model.rb +12 -5
- data/db/migrate/060_cleanup_contents_table.rb +9 -1
- data/db/migrate/067_remove_blog_ids.rb +9 -1
- data/db/migrate/075_move_editor_to_user.rb +1 -11
- data/db/migrate/078_add_textfilter_to_users.rb +1 -5
- data/db/migrate/079_move_editor_as_string.rb +1 -5
- data/db/migrate/080_add_state_to_user.rb +1 -5
- data/db/migrate/082_add_users_options.rb +35 -0
- data/db/migrate/083_add_users_display_perms.rb +19 -0
- data/db/migrate/084_move_users_to_profiles.rb +19 -0
- data/db/migrate/085_add_article_parent_draft.rb +9 -0
- data/db/migrate/086_add_user_last_connection.rb +9 -0
- data/db/schema.rb +18 -2
- data/doc/test_themes.rb +50 -0
- data/lang/fr_FR.rb +593 -538
- data/lang/he_IL.rb +2 -2
- data/lang/ja_JP.rb +449 -295
- data/lang/nl_NL.rb +657 -0
- data/lang/zh_TW.rb +597 -0
- data/lib/stateful.rb +1 -1
- data/lib/tasks/cucumber.rake +20 -0
- data/lib/tasks/release.rake +9 -5
- data/lib/tasks/rspec.rake +69 -44
- data/lib/tasks/sweep_cache.rake +0 -1
- data/lib/typo_version.rb +1 -1
- data/public/images/admin/blue_block_bottom_left.jpg +0 -0
- data/public/images/admin/blue_block_bottom_right.jpg +0 -0
- data/public/images/admin/blue_block_top_left.jpg +0 -0
- data/public/images/admin/blue_block_top_right.jpg +0 -0
- data/public/images/admin/editor_active_top_left.jpg +0 -0
- data/public/images/admin/editor_active_top_right.jpg +0 -0
- data/public/images/admin/editor_bottom_left.jpg +0 -0
- data/public/images/admin/editor_bottom_right.jpg +0 -0
- data/public/images/admin/input_text_left.jpg +0 -0
- data/public/images/admin/input_text_right.jpg +0 -0
- data/public/images/admin/input_text_small_left.jpg +0 -0
- data/public/images/admin/input_text_small_right.jpg +0 -0
- data/public/images/admin/publisher_bottom.jpg +0 -0
- data/public/images/admin/publisher_top.jpg +0 -0
- data/public/images/close.gif +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/nextlabel.gif +0 -0
- data/public/images/prevlabel.gif +0 -0
- data/public/javascripts/administration.js +1 -10
- data/public/javascripts/builder.js +136 -0
- data/public/javascripts/ckcustom.js +27 -0
- data/public/javascripts/ckeditor/.htaccess +24 -0
- data/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/public/javascripts/ckeditor/config.bak +11 -0
- data/public/javascripts/ckeditor/config.js +27 -0
- data/public/javascripts/ckeditor/contents.css +35 -0
- data/public/javascripts/{fckeditor/editor → ckeditor}/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/public/javascripts/ckeditor/lang/af.js +6 -0
- data/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/public/javascripts/ckeditor/lang/da.js +6 -0
- data/public/javascripts/ckeditor/lang/de.js +6 -0
- data/public/javascripts/ckeditor/lang/el.js +6 -0
- data/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/public/javascripts/ckeditor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/public/javascripts/ckeditor/lang/es.js +6 -0
- data/public/javascripts/ckeditor/lang/et.js +6 -0
- data/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/public/javascripts/ckeditor/lang/he.js +6 -0
- data/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/public/javascripts/ckeditor/lang/is.js +6 -0
- data/public/javascripts/ckeditor/lang/it.js +6 -0
- data/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/public/javascripts/ckeditor/lang/km.js +6 -0
- data/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/public/javascripts/ckeditor/lang/no.js +6 -0
- data/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/public/javascripts/ckeditor/lang/th.js +6 -0
- data/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +6 -0
- data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/public/javascripts/{fckeditor/editor → ckeditor/plugins/link}/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/public/javascripts/{fckeditor/editor/css/images/fck_pagebreak.gif → ckeditor/plugins/pagebreak/images/pagebreak.gif} +0 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_address.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_blockquote.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_div.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h1.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h2.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h3.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h4.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h5.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h6.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_p.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template1.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template2.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/{fckeditor/editor/skins/silver/images/toolbar.start.gif → ckeditor/skins/kama/images/toolbar_start.gif} +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/public/javascripts/controls.js +72 -72
- data/public/javascripts/dragdrop.js +165 -164
- data/public/javascripts/effects.js +173 -165
- data/public/javascripts/lang/nl_NL.js +21 -0
- data/public/javascripts/lang/zh_TW.js +17 -0
- data/public/javascripts/lightbox.js +470 -175
- data/public/stylesheets/administration.css +404 -656
- data/public/stylesheets/border-radius-ie8.htc +34 -0
- data/public/stylesheets/lightbox.css +21 -56
- data/public/stylesheets/user-styles.css +4 -2
- data/script/autospec +1 -0
- data/script/spec +9 -3
- data/script/spec_server +5 -112
- data/spec/controllers/accounts_controller_spec.rb +30 -16
- data/spec/controllers/admin/blacklist_controller_spec.rb +7 -12
- data/spec/controllers/admin/cache_controller_spec.rb +0 -5
- data/spec/controllers/admin/categories_controller_spec.rb +11 -16
- data/spec/controllers/admin/content_controller_spec.rb +14 -19
- data/spec/controllers/admin/feedback_controller_spec.rb +12 -1
- data/spec/controllers/admin/pages_controller_spec.rb +20 -17
- data/spec/controllers/admin/profiles_controller_spec.rb +17 -8
- data/spec/controllers/admin/resources_controller_spec.rb +3 -14
- data/spec/controllers/admin/settings_controller_spec.rb +0 -5
- data/spec/controllers/admin/tags_controller_spec.rb +1 -7
- data/spec/controllers/admin/textfilters_controller_spec.rb +0 -5
- data/spec/controllers/admin/themes_controller_spec.rb +3 -3
- data/spec/controllers/admin/users_controller_spec.rb +59 -41
- data/spec/controllers/application_controller_spec.rb +18 -0
- data/spec/controllers/articles_controller_spec.rb +88 -39
- data/spec/controllers/authors_controller_spec.rb +42 -0
- data/spec/controllers/backend_controller_spec.rb +30 -35
- data/spec/controllers/categories_controller_spec.rb +20 -22
- data/spec/controllers/comments_controller_spec.rb +3 -3
- data/spec/controllers/previews_controller_spec.rb +28 -0
- data/spec/controllers/redirect_controller_spec.rb +36 -35
- data/spec/controllers/tags_controller_spec.rb +15 -10
- data/spec/controllers/textfilter_controller_spec.rb +11 -72
- data/spec/controllers/theme_controller_spec.rb +8 -12
- data/spec/controllers/xml_controller_spec.rb +59 -101
- data/spec/factories.rb +25 -0
- data/spec/models/article_closing_spec.rb +4 -4
- data/spec/models/article_spec.rb +119 -30
- data/spec/models/blacklist_pattern_spec.rb +1 -1
- data/spec/models/blog_spec.rb +0 -1
- data/spec/models/comment_spec.rb +0 -4
- data/spec/models/configuration_spec.rb +1 -1
- data/spec/models/content_state/feedback_states_spec.rb +4 -4
- data/spec/models/notification_spec.rb +2 -2
- data/spec/models/ping_pinger_spec.rb +3 -3
- data/spec/models/ping_spec.rb +34 -47
- data/spec/models/route_cache_spec.rb +2 -2
- data/spec/models/sidebar_spec.rb +2 -2
- data/spec/models/theme_spec.rb +4 -4
- data/spec/models/trigger_spec.rb +1 -0
- data/spec/models/user_spec.rb +92 -39
- data/spec/rcov.opts +2 -0
- data/spec/spec_helper.rb +92 -19
- data/spec/views/articles/index_spec.rb +2 -2
- data/spec/views/articles/read_spec.rb +16 -0
- data/spec/views/comments/html_sanitization_spec.rb +16 -0
- data/test/fixtures/contents.yml +28 -11
- data/test/fixtures/feedback.yml +14 -0
- data/test/fixtures/profiles.yml +1 -0
- data/test/fixtures/users.yml +9 -1
- data/test/test_helper.rb +2 -151
- data/themes/dirtylicious/layouts/default.html.erb +1 -1
- data/themes/dirtylicious/views/articles/_article.html.erb +14 -10
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +1 -1
- data/themes/dirtylicious/views/articles/read.html.erb +4 -4
- data/themes/scribbish/layouts/default.html.erb +1 -1
- data/themes/scribbish/views/articles/_article.html.erb +13 -9
- data/themes/scribbish/views/articles/_comment_form.html.erb +1 -1
- data/themes/scribbish/views/articles/read.html.erb +4 -4
- data/themes/standard_issue/layouts/default.html.erb +1 -1
- data/themes/standard_issue/views/articles/_article.html.erb +13 -9
- data/themes/standard_issue/views/articles/_comment_form.html.erb +1 -1
- data/themes/standard_issue/views/articles/read.html.erb +4 -4
- data/themes/true-blue-3/README +3 -0
- data/themes/true-blue-3/about.markdown +3 -0
- data/themes/true-blue-3/helpers/theme_helper.rb +85 -0
- data/themes/true-blue-3/images/background.gif +0 -0
- data/themes/true-blue-3/images/bg_input.jpg +0 -0
- data/themes/true-blue-3/images/bullet.jpg +0 -0
- data/themes/true-blue-3/images/comment.gif +0 -0
- data/themes/true-blue-3/images/comment.jpg +0 -0
- data/themes/true-blue-3/images/comment_bottom.gif +0 -0
- data/themes/true-blue-3/images/comment_fdv.gif +0 -0
- data/themes/true-blue-3/images/find.png +0 -0
- data/themes/true-blue-3/images/fleche1.png +0 -0
- data/themes/true-blue-3/images/fleche2.png +0 -0
- data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
- data/themes/true-blue-3/images/rss.png +0 -0
- data/themes/true-blue-3/images/searchform.png +0 -0
- data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
- data/themes/true-blue-3/images/twitter.jpg +0 -0
- data/themes/true-blue-3/images/twitter.png +0 -0
- data/themes/true-blue-3/layouts/default.html.erb +52 -0
- data/themes/true-blue-3/preview.png +0 -0
- data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
- data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
- data/themes/true-blue-3/stylesheets/style.css +555 -0
- data/themes/true-blue-3/views/articles/_article.html.erb +21 -0
- data/themes/true-blue-3/views/articles/_comment.html.erb +14 -0
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +23 -0
- data/themes/true-blue-3/views/articles/_comment_list.html.erb +8 -0
- data/themes/true-blue-3/views/articles/_trackback.html.erb +9 -0
- data/themes/true-blue-3/views/articles/comment_preview.html.erb +10 -0
- data/themes/true-blue-3/views/articles/index.html.erb +5 -0
- data/themes/true-blue-3/views/articles/read.html.erb +38 -0
- data/themes/true-blue-3/views/articles/search.html.erb +29 -0
- data/themes/true-blue-3/views/articles/view_page.html.erb +4 -0
- data/themes/true-blue-3/views/categories/_article.html.erb +22 -0
- data/themes/true-blue-3/views/categories/index.html.erb +13 -0
- data/themes/true-blue-3/views/categories/show.html.erb +7 -0
- data/themes/true-blue-3/views/tags/_article.html.erb +22 -0
- data/themes/true-blue-3/views/tags/show.html.erb +6 -0
- data/themes/typographic/layouts/default.html.erb +1 -1
- data/themes/typographic/views/articles/_article.html.erb +13 -9
- data/themes/typographic/views/articles/_comment_form.html.erb +1 -1
- data/themes/typographic/views/articles/_comment_list.html.erb +1 -1
- data/themes/typographic/views/articles/read.html.erb +4 -4
- data/vendor/flickr/flickr.rb +3 -3
- data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/authors_sidebar/Rakefile +22 -0
- data/vendor/plugins/authors_sidebar/init.rb +4 -0
- data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +10 -0
- data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +8 -0
- data/vendor/plugins/authors_sidebar/views/content.rhtml +11 -0
- data/vendor/plugins/category_sidebar/views/content.rhtml +2 -2
- data/vendor/plugins/easy-ckeditor/CHANGELOG +15 -0
- data/vendor/plugins/easy-ckeditor/LICENSE +16 -0
- data/vendor/plugins/easy-ckeditor/README.textile +164 -0
- data/vendor/plugins/easy-ckeditor/Rakefile +72 -0
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +225 -0
- data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +2 -0
- data/vendor/plugins/easy-ckeditor/init.rb +33 -0
- data/vendor/plugins/easy-ckeditor/install.rb +12 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +113 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +108 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +16 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +24 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +35 -0
- data/{public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/{public/javascripts/fckeditor/editor/css/images/fck_anchor.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/vendor/plugins/easy-ckeditor/tasks/ckeditor_tasks.rake +108 -0
- data/vendor/plugins/easy-ckeditor/uninstall.rb +8 -0
- data/vendor/plugins/livesearch_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +1 -1
- data/vendor/plugins/typo_converter/Rakefile +7 -8
- data/vendor/plugins/typo_converter/db/wp25_schema.rb +152 -0
- data/vendor/plugins/typo_converter/lib/converters/base.rb +41 -2
- data/vendor/plugins/typo_converter/lib/converters/wp25.rb +59 -4
- data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +1 -0
- data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +11 -0
- data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +192 -0
- data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +77 -0
- data/vendor/plugins/typo_converter/spec/spec_helper.rb +19 -0
- data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +2 -0
- data/vendor/plugins/typo_converter/tasks/typo_converters_tasks.rake +1 -4
- data/vendor/plugins/typo_textfilter_code/init.rb +7 -2
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +2 -0
- data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +4 -2
- data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +1 -1
- data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +3 -0
- data/vendor/plugins/xml_sidebar/views/content.rhtml +15 -1
- metadata +684 -1280
- data/app/controllers/application.rb +0 -90
- data/app/models/simple_cache.rb +0 -37
- data/app/views/admin/resources/new.html.erb +0 -16
- data/app/views/admin/settings/read.html.erb +0 -35
- data/app/views/admin/tags/_tags.html.erb +0 -18
- data/app/views/shared/_loginform.html.erb +0 -20
- data/config/initializers/active_record_hacks.rb +0 -17
- data/config/initializers/benchmark_hacks.rb +0 -9
- data/doc/typo-5.3-release-notes.txt +0 -105
- data/lib/memory_profiler.rb +0 -60
- data/lib/typo_deprecated.rb +0 -30
- data/lib/xmlrpc_fix.rb +0 -13
- data/public/javascripts/fckcustom.js +0 -28
- data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -214
- data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -119
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -58
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -918
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -104
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -199
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -327
- data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -362
- data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -89
- data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -667
- data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -71
- data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +0 -142
- data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -68
- data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -141
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -153
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -54
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -161
- data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -385
- data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -376
- data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -1443
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -36
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -38
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -81
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -198
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -139
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -98
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -76
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -146
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -200
- data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -451
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -108
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -102
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -88
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -518
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -250
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -180
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -173
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -382
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -45
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -74
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -41
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -69
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -60
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -106
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -201
- data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -176
- data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -166
- data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -122
- data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -1175
- data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -325
- data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -456
- data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -453
- data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -100
- data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -167
- data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -238
- data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -234
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -48
- data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -249
- data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -1024
- data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -163
- data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -152
- data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -63
- data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -99
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -42
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -220
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -275
- data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -381
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -858
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -123
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -399
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -740
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -233
- data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -223
- data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -515
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -101
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -203
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -354
- data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -15
- data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -36
- data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -92
- data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -199
- data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -49
- data/public/javascripts/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -85
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -338
- data/public/javascripts/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about.html +0 -161
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -212
- data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -172
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -600
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -113
- data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -173
- data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -152
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -292
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -50
- data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -109
- data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -115
- data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -258
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -504
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -72
- data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -293
- data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -736
- data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -120
- data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -339
- data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -530
- data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -180
- data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -194
- data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -111
- data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -68
- data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -121
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -65
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +0 -87
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -153
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -148
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -199
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -181
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -461
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -71
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -49
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -272
- data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -298
- data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -257
- data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -242
- data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -94
- data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -136
- data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -41
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -116
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -140
- data/public/javascripts/fckeditor/editor/fckdebug.html +0 -153
- data/public/javascripts/fckeditor/editor/fckdialog.html +0 -783
- data/public/javascripts/fckeditor/editor/fckeditor.html +0 -278
- data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -385
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -89
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -99
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -113
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -197
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -168
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -65
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -115
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +0 -87
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -129
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -63
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -214
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -136
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -141
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -117
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -686
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -68
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -146
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -118
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -90
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -142
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -126
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -23
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -88
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -58
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -188
- data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -210
- data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -192
- data/public/javascripts/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/js/fckadobeair.js +0 -176
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -108
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -109
- data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -77
- data/public/javascripts/fckeditor/editor/lang/af.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ar.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bg.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/cs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/da.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/de.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/el.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/es.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/et.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eu.js +0 -516
- data/public/javascripts/fckeditor/editor/lang/fa.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/gl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/he.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hu.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/it.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ja.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/km.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ko.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/mn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ms.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nb.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/no.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ro.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ru.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/th.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/tr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/vi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh.js +0 -515
- data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -99
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -26
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -67
- data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -123
- data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -527
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -105
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -187
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/es.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -29
- data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -33
- data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -121
- data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -402
- data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -473
- data/public/javascripts/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/fckconfig.js +0 -316
- data/public/javascripts/fckeditor/fckeditor.js +0 -303
- data/public/javascripts/fckeditor/fckeditor.py +0 -160
- data/public/javascripts/fckeditor/fckpackager.xml +0 -262
- data/public/javascripts/fckeditor/fckstyles.xml +0 -111
- data/public/javascripts/fckeditor/fcktemplates.xml +0 -103
- data/public/javascripts/fckeditor/license.txt +0 -1246
- data/public/sources/javascripts/administration.js +0 -12
- data/public/sources/javascripts/application.js +0 -2
- data/public/sources/javascripts/codecollapse.js +0 -8
- data/public/sources/javascripts/controls.js +0 -963
- data/public/sources/javascripts/cookies.js +0 -60
- data/public/sources/javascripts/dragdrop.js +0 -972
- data/public/sources/javascripts/effects.js +0 -1120
- data/public/sources/javascripts/fckcustom.js +0 -28
- data/public/sources/javascripts/lang/default.js +0 -21
- data/public/sources/javascripts/lang/en_US.js +0 -21
- data/public/sources/javascripts/lang/fr_FR.js +0 -21
- data/public/sources/javascripts/lightbox.js +0 -202
- data/public/sources/javascripts/prototype.js +0 -4320
- data/public/sources/javascripts/quicktags.js +0 -511
- data/public/sources/javascripts/scriptaculous.js +0 -58
- data/public/sources/javascripts/slider.js +0 -258
- data/public/sources/javascripts/typo.js +0 -136
- data/public/sources/stylesheets/administration.css +0 -955
- data/public/sources/stylesheets/administration_rtl.css +0 -1026
- data/public/sources/stylesheets/codecollapse.css +0 -3
- data/public/sources/stylesheets/coderay.css +0 -126
- data/public/sources/stylesheets/lightbox.css +0 -62
- data/public/sources/stylesheets/rss.css +0 -54
- data/public/sources/stylesheets/textmate/dawn.css +0 -209
- data/public/sources/stylesheets/textmate/iplastic.css +0 -142
- data/public/sources/stylesheets/textmate/space_cadet.css +0 -99
- data/public/sources/stylesheets/textmate/textmate.css +0 -48
- data/public/sources/stylesheets/textmate/twilight.css +0 -227
- data/public/sources/stylesheets/user-styles.css +0 -22
- data/spec/controllers/admin/article_preview_spec.rb +0 -20
- data/spec/models/typo_deprecated_spec.rb +0 -18
- data/vendor/actionwebservice/CHANGELOG +0 -320
- data/vendor/actionwebservice/MIT-LICENSE +0 -21
- data/vendor/actionwebservice/README +0 -381
- data/vendor/actionwebservice/Rakefile +0 -173
- data/vendor/actionwebservice/TODO +0 -32
- data/vendor/actionwebservice/examples/googlesearch/README +0 -143
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
- data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
- data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
- data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
- data/vendor/actionwebservice/examples/metaWeblog/README +0 -17
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
- data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
- data/vendor/actionwebservice/generators/web_service/USAGE +0 -28
- data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +0 -5
- data/vendor/actionwebservice/generators/web_service/templates/controller.rb +0 -8
- data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +0 -19
- data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +0 -29
- data/vendor/actionwebservice/lib/action_web_service.rb +0 -66
- data/vendor/actionwebservice/lib/action_web_service/api.rb +0 -297
- data/vendor/actionwebservice/lib/action_web_service/base.rb +0 -38
- data/vendor/actionwebservice/lib/action_web_service/casting.rb +0 -144
- data/vendor/actionwebservice/lib/action_web_service/client.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/client/base.rb +0 -28
- data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
- data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
- data/vendor/actionwebservice/lib/action_web_service/container.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
- data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
- data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
- data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
- data/vendor/actionwebservice/lib/action_web_service/invocation.rb +0 -202
- data/vendor/actionwebservice/lib/action_web_service/protocol.rb +0 -4
- data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
- data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -242
- data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
- data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +0 -281
- data/vendor/actionwebservice/lib/action_web_service/struct.rb +0 -64
- data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
- data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.html.erb +0 -65
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.html.erb +0 -6
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.html.erb +0 -29
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.html.erb +0 -30
- data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
- data/vendor/actionwebservice/lib/action_web_service/version.rb +0 -9
- data/vendor/actionwebservice/lib/actionwebservice.rb +0 -1
- data/vendor/actionwebservice/setup.rb +0 -1379
- data/vendor/actionwebservice/test/abstract_client.rb +0 -183
- data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -547
- data/vendor/actionwebservice/test/abstract_unit.rb +0 -33
- data/vendor/actionwebservice/test/api_test.rb +0 -102
- data/vendor/actionwebservice/test/apis/auto_load_api.rb +0 -3
- data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
- data/vendor/actionwebservice/test/base_test.rb +0 -42
- data/vendor/actionwebservice/test/casting_test.rb +0 -86
- data/vendor/actionwebservice/test/client_soap_test.rb +0 -155
- data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -153
- data/vendor/actionwebservice/test/container_test.rb +0 -73
- data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
- data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
- data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
- data/vendor/actionwebservice/test/fixtures/users.yml +0 -12
- data/vendor/actionwebservice/test/gencov +0 -3
- data/vendor/actionwebservice/test/invocation_test.rb +0 -185
- data/vendor/actionwebservice/test/run +0 -6
- data/vendor/actionwebservice/test/scaffolded_controller_test.rb +0 -146
- data/vendor/actionwebservice/test/struct_test.rb +0 -52
- data/vendor/actionwebservice/test/test_invoke_test.rb +0 -112
- data/vendor/bluecloth/CHANGES +0 -366
- data/vendor/bluecloth/LICENSE +0 -340
- data/vendor/bluecloth/README +0 -99
- data/vendor/bluecloth/bin/bluecloth +0 -83
- data/vendor/bluecloth/install.rb +0 -150
- data/vendor/bluecloth/lib/bluecloth.rb +0 -1144
- data/vendor/bluecloth/test.rb +0 -117
- data/vendor/bluecloth/tests/00_Class.tests.rb +0 -71
- data/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -1527
- data/vendor/bluecloth/tests/10_Bug.tests.rb +0 -57
- data/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -132
- data/vendor/bluecloth/tests/bctestcase.rb +0 -274
- data/vendor/bluecloth/tests/data/antsugar.txt +0 -34
- data/vendor/bluecloth/tests/data/ml-announce.txt +0 -17
- data/vendor/bluecloth/tests/data/re-overflow.txt +0 -67
- data/vendor/bluecloth/tests/data/re-overflow2.txt +0 -281
- data/vendor/bluecloth/utils.rb +0 -553
- data/vendor/cached_model/History.txt +0 -30
- data/vendor/cached_model/LICENSE.txt +0 -30
- data/vendor/cached_model/Manifest.txt +0 -7
- data/vendor/cached_model/README.txt +0 -96
- data/vendor/cached_model/Rakefile +0 -25
- data/vendor/cached_model/lib/cached_model.rb +0 -287
- data/vendor/cached_model/test/test_cached_model.rb +0 -593
- data/vendor/gems/calendar_date_select-1.15/.specification +0 -56
- data/vendor/gems/calendar_date_select-1.15/History.txt +0 -237
- data/vendor/gems/calendar_date_select-1.15/MIT-LICENSE +0 -20
- data/vendor/gems/calendar_date_select-1.15/Manifest.txt +0 -42
- data/vendor/gems/calendar_date_select-1.15/Rakefile +0 -31
- data/vendor/gems/calendar_date_select-1.15/Readme.txt +0 -16
- data/vendor/gems/calendar_date_select-1.15/init.rb +0 -1
- data/vendor/gems/calendar_date_select-1.15/js_test/functional/cds_test.html +0 -334
- data/vendor/gems/calendar_date_select-1.15/js_test/prototype.js +0 -4184
- data/vendor/gems/calendar_date_select-1.15/js_test/test.css +0 -40
- data/vendor/gems/calendar_date_select-1.15/js_test/unit/cds_helper_methods.html +0 -46
- data/vendor/gems/calendar_date_select-1.15/js_test/unittest.js +0 -564
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select.rb +0 -33
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/calendar_date_select.rb +0 -116
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/form_helpers.rb +0 -225
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/includes_helper.rb +0 -29
- data/vendor/gems/calendar_date_select-1.15/public/blank_iframe.html +0 -2
- data/vendor/gems/calendar_date_select-1.15/public/images/calendar_date_select/calendar.gif +0 -0
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_finnish.js +0 -32
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/de.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fr.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pl.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pt.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/ru.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/default.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/red.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/calendar_date_select_spec.rb +0 -14
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/form_helpers_spec.rb +0 -166
- data/vendor/gems/calendar_date_select-1.15/spec/spec_helper.rb +0 -26
- data/vendor/gems/coderay-0.8.260/.specification +0 -115
- data/vendor/gems/coderay-0.8.260/FOLDERS +0 -53
- data/vendor/gems/coderay-0.8.260/LICENSE +0 -504
- data/vendor/gems/coderay-0.8.260/README +0 -128
- data/vendor/gems/coderay-0.8.260/bin/coderay +0 -82
- data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +0 -4
- data/vendor/gems/coderay-0.8.260/lib/coderay.rb +0 -321
- data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +0 -87
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +0 -182
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +0 -9
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +0 -49
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +0 -287
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +0 -124
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +0 -197
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +0 -26
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +0 -77
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +0 -32
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +0 -44
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +0 -22
- data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +0 -72
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +0 -211
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +0 -333
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +0 -255
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +0 -15
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +0 -165
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +0 -181
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +0 -61
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +0 -150
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +0 -104
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +0 -177
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +0 -179
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +0 -419
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +0 -187
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +0 -106
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +0 -134
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +0 -18
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +0 -73
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +0 -381
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +0 -226
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +0 -142
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +0 -143
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +0 -154
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +0 -19
- data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +0 -7
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +0 -146
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +0 -132
- data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +0 -82
- data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +0 -387
- data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +0 -220
- data/vendor/gems/htmlentities-4.0.0/.specification +0 -68
- data/vendor/gems/htmlentities-4.0.0/COPYING.txt +0 -21
- data/vendor/gems/htmlentities-4.0.0/History.txt +0 -47
- data/vendor/gems/htmlentities-4.0.0/README.txt +0 -44
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities.rb +0 -165
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/html4.rb +0 -257
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb +0 -27
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/string.rb +0 -26
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/xhtml1.rb +0 -258
- data/vendor/gems/htmlentities-4.0.0/test/entities_test.rb +0 -206
- data/vendor/gems/htmlentities-4.0.0/test/html4_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/legacy_test.rb +0 -34
- data/vendor/gems/htmlentities-4.0.0/test/roundtrip_test.rb +0 -94
- data/vendor/gems/htmlentities-4.0.0/test/string_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/test_all.rb +0 -3
- data/vendor/gems/htmlentities-4.0.0/test/xhtml1_test.rb +0 -23
- data/vendor/gems/json-1.1.3/.require_paths +0 -4
- data/vendor/gems/json-1.1.3/.specification +0 -58
- data/vendor/gems/json-1.1.3/CHANGES +0 -93
- data/vendor/gems/json-1.1.3/GPL +0 -340
- data/vendor/gems/json-1.1.3/README +0 -78
- data/vendor/gems/json-1.1.3/RUBY +0 -58
- data/vendor/gems/json-1.1.3/Rakefile +0 -309
- data/vendor/gems/json-1.1.3/TODO +0 -1
- data/vendor/gems/json-1.1.3/VERSION +0 -1
- data/vendor/gems/json-1.1.3/benchmarks/benchmark.txt +0 -133
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_generator.rb +0 -48
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_parser.rb +0 -26
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_rails.rb +0 -26
- data/vendor/gems/json-1.1.3/bin/edit_json.rb +0 -10
- data/vendor/gems/json-1.1.3/bin/prettify_json.rb +0 -76
- data/vendor/gems/json-1.1.3/data/example.json +0 -1
- data/vendor/gems/json-1.1.3/data/index.html +0 -38
- data/vendor/gems/json-1.1.3/data/prototype.js +0 -4184
- data/vendor/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.c +0 -875
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.c +0 -182
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.h +0 -53
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.c +0 -1758
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.rl +0 -638
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.c +0 -154
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.h +0 -58
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/install.rb +0 -26
- data/vendor/gems/json-1.1.3/lib/json.rb +0 -235
- data/vendor/gems/json-1.1.3/lib/json/Array.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/FalseClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Hash.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Key.xpm +0 -73
- data/vendor/gems/json-1.1.3/lib/json/NilClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Numeric.xpm +0 -28
- data/vendor/gems/json-1.1.3/lib/json/String.xpm +0 -96
- data/vendor/gems/json-1.1.3/lib/json/TrueClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/add/core.rb +0 -135
- data/vendor/gems/json-1.1.3/lib/json/add/rails.rb +0 -58
- data/vendor/gems/json-1.1.3/lib/json/common.rb +0 -354
- data/vendor/gems/json-1.1.3/lib/json/editor.rb +0 -1362
- data/vendor/gems/json-1.1.3/lib/json/ext.rb +0 -13
- data/vendor/gems/json-1.1.3/lib/json/json.xpm +0 -1499
- data/vendor/gems/json-1.1.3/lib/json/pure.rb +0 -75
- data/vendor/gems/json-1.1.3/lib/json/pure/generator.rb +0 -394
- data/vendor/gems/json-1.1.3/lib/json/pure/parser.rb +0 -259
- data/vendor/gems/json-1.1.3/lib/json/version.rb +0 -9
- data/vendor/gems/json-1.1.3/tests/fixtures/fail1.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail10.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail11.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail12.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail13.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail14.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail18.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail19.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail20.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail21.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail22.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail23.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail24.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail25.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail27.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail28.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail3.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail4.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail5.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail6.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail7.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail8.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail9.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass1.json +0 -56
- data/vendor/gems/json-1.1.3/tests/fixtures/pass15.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass16.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass17.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass26.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass3.json +0 -6
- data/vendor/gems/json-1.1.3/tests/runner.rb +0 -25
- data/vendor/gems/json-1.1.3/tests/test_json.rb +0 -293
- data/vendor/gems/json-1.1.3/tests/test_json_addition.rb +0 -161
- data/vendor/gems/json-1.1.3/tests/test_json_fixtures.rb +0 -30
- data/vendor/gems/json-1.1.3/tests/test_json_generate.rb +0 -100
- data/vendor/gems/json-1.1.3/tests/test_json_rails.rb +0 -118
- data/vendor/gems/json-1.1.3/tests/test_json_unicode.rb +0 -61
- data/vendor/gems/json-1.1.3/tools/fuzz.rb +0 -140
- data/vendor/gems/json-1.1.3/tools/server.rb +0 -62
- data/vendor/memcache-client/History.txt +0 -25
- data/vendor/memcache-client/LICENSE.txt +0 -30
- data/vendor/memcache-client/Manifest.txt +0 -8
- data/vendor/memcache-client/README.txt +0 -46
- data/vendor/memcache-client/Rakefile +0 -23
- data/vendor/memcache-client/lib/memcache.rb +0 -490
- data/vendor/memcache-client/lib/memcache_util.rb +0 -71
- data/vendor/memcache-client/test/test_mem_cache.rb +0 -284
- data/vendor/plugins/datestamped_resources/README +0 -4
- data/vendor/plugins/datestamped_resources/Rakefile +0 -22
- data/vendor/plugins/datestamped_resources/init.rb +0 -2
- data/vendor/plugins/datestamped_resources/install.rb +0 -1
- data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +0 -203
- data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +0 -4
- data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +0 -8
- data/vendor/plugins/datestamped_resources/uninstall.rb +0 -1
- data/vendor/plugins/fckeditor/CHANGELOG +0 -3
- data/vendor/plugins/fckeditor/README +0 -118
- data/vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb +0 -159
- data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +0 -2
- data/vendor/plugins/fckeditor/app/views/fckeditor/spell_check.rhtml +0 -52
- data/vendor/plugins/fckeditor/init.rb +0 -35
- data/vendor/plugins/fckeditor/install.rb +0 -12
- data/vendor/plugins/fckeditor/lib/fckeditor.rb +0 -101
- data/vendor/plugins/fckeditor/lib/fckeditor_file_utils.rb +0 -81
- data/vendor/plugins/fckeditor/lib/fckeditor_spell_check.rb +0 -43
- data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +0 -9
- data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +0 -97
- data/vendor/plugins/fckeditor/test/fckeditor_test.rb +0 -8
- data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -110
- data/vendor/plugins/will_paginate/LICENSE +0 -18
- data/vendor/plugins/will_paginate/README.rdoc +0 -107
- data/vendor/plugins/will_paginate/Rakefile +0 -62
- data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
- data/vendor/plugins/will_paginate/examples/index.haml +0 -69
- data/vendor/plugins/will_paginate/examples/index.html +0 -92
- data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
- data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
- data/vendor/plugins/will_paginate/init.rb +0 -1
- data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -82
- data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
- data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
- data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -32
- data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -260
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
- data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
- data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -383
- data/vendor/plugins/will_paginate/test/boot.rb +0 -21
- data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
- data/vendor/plugins/will_paginate/test/console +0 -8
- data/vendor/plugins/will_paginate/test/database.yml +0 -22
- data/vendor/plugins/will_paginate/test/finder_test.rb +0 -476
- data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
- data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
- data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
- data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
- data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
- data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
- data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
- data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
- data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
- data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
- data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
- data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
- data/vendor/plugins/will_paginate/test/helper.rb +0 -37
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -36
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -73
- data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
- data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -165
- data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
- data/vendor/plugins/will_paginate/test/view_test.rb +0 -363
- data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -22
- data/vendor/redcloth/RedCloth.gemspec +0 -52
- data/vendor/redcloth/bin/redcloth +0 -3
- data/vendor/redcloth/doc/CHANGELOG +0 -160
- data/vendor/redcloth/doc/COPYING +0 -25
- data/vendor/redcloth/doc/README +0 -106
- data/vendor/redcloth/doc/REFERENCE +0 -216
- data/vendor/redcloth/doc/make.rb +0 -359
- data/vendor/redcloth/install.rb +0 -1032
- data/vendor/redcloth/lib/redcloth.rb +0 -1130
- data/vendor/redcloth/run-tests.rb +0 -28
- data/vendor/redcloth/setup.rb +0 -1376
- data/vendor/redcloth/tests/code.yml +0 -105
- data/vendor/redcloth/tests/hard_breaks.yml +0 -26
- data/vendor/redcloth/tests/images.yml +0 -171
- data/vendor/redcloth/tests/instiki.yml +0 -39
- data/vendor/redcloth/tests/links.yml +0 -155
- data/vendor/redcloth/tests/lists.yml +0 -77
- data/vendor/redcloth/tests/markdown.yml +0 -218
- data/vendor/redcloth/tests/poignant.yml +0 -64
- data/vendor/redcloth/tests/table.yml +0 -198
- data/vendor/redcloth/tests/textism.yml +0 -406
- data/vendor/sparklines/README.txt +0 -47
- data/vendor/sparklines/USAGE +0 -14
- data/vendor/sparklines/lib/sparklines.rb +0 -435
- data/vendor/sparklines/samples/sparklinestest.rb +0 -26
- data/vendor/sparklines/sparklines_generator.rb +0 -9
- data/vendor/sparklines/templates/sparklines_controller.rb +0 -30
- data/vendor/sparklines/templates/sparklines_helper.rb +0 -30
@@ -1,1130 +0,0 @@
|
|
1
|
-
# vim:ts=4:sw=4:
|
2
|
-
# = RedCloth - Textile and Markdown Hybrid for Ruby
|
3
|
-
#
|
4
|
-
# Homepage:: http://whytheluckystiff.net/ruby/redcloth/
|
5
|
-
# Author:: why the lucky stiff (http://whytheluckystiff.net/)
|
6
|
-
# Copyright:: (cc) 2004 why the lucky stiff (and his puppet organizations.)
|
7
|
-
# License:: BSD
|
8
|
-
#
|
9
|
-
# (see http://hobix.com/textile/ for a Textile Reference.)
|
10
|
-
#
|
11
|
-
# Based on (and also inspired by) both:
|
12
|
-
#
|
13
|
-
# PyTextile: http://diveintomark.org/projects/textile/textile.py.txt
|
14
|
-
# Textism for PHP: http://www.textism.com/tools/textile/
|
15
|
-
#
|
16
|
-
#
|
17
|
-
|
18
|
-
# = RedCloth
|
19
|
-
#
|
20
|
-
# RedCloth is a Ruby library for converting Textile and/or Markdown
|
21
|
-
# into HTML. You can use either format, intermingled or separately.
|
22
|
-
# You can also extend RedCloth to honor your own custom text stylings.
|
23
|
-
#
|
24
|
-
# RedCloth users are encouraged to use Textile if they are generating
|
25
|
-
# HTML and to use Markdown if others will be viewing the plain text.
|
26
|
-
#
|
27
|
-
# == What is Textile?
|
28
|
-
#
|
29
|
-
# Textile is a simple formatting style for text
|
30
|
-
# documents, loosely based on some HTML conventions.
|
31
|
-
#
|
32
|
-
# == Sample Textile Text
|
33
|
-
#
|
34
|
-
# h2. This is a title
|
35
|
-
#
|
36
|
-
# h3. This is a subhead
|
37
|
-
#
|
38
|
-
# This is a bit of paragraph.
|
39
|
-
#
|
40
|
-
# bq. This is a blockquote.
|
41
|
-
#
|
42
|
-
# = Writing Textile
|
43
|
-
#
|
44
|
-
# A Textile document consists of paragraphs. Paragraphs
|
45
|
-
# can be specially formatted by adding a small instruction
|
46
|
-
# to the beginning of the paragraph.
|
47
|
-
#
|
48
|
-
# h[n]. Header of size [n].
|
49
|
-
# bq. Blockquote.
|
50
|
-
# # Numeric list.
|
51
|
-
# * Bulleted list.
|
52
|
-
#
|
53
|
-
# == Quick Phrase Modifiers
|
54
|
-
#
|
55
|
-
# Quick phrase modifiers are also included, to allow formatting
|
56
|
-
# of small portions of text within a paragraph.
|
57
|
-
#
|
58
|
-
# \_emphasis\_
|
59
|
-
# \_\_italicized\_\_
|
60
|
-
# \*strong\*
|
61
|
-
# \*\*bold\*\*
|
62
|
-
# ??citation??
|
63
|
-
# -deleted text-
|
64
|
-
# +inserted text+
|
65
|
-
# ^superscript^
|
66
|
-
# ~subscript~
|
67
|
-
# @code@
|
68
|
-
# %(classname)span%
|
69
|
-
#
|
70
|
-
# ==notextile== (leave text alone)
|
71
|
-
#
|
72
|
-
# == Links
|
73
|
-
#
|
74
|
-
# To make a hypertext link, put the link text in "quotation
|
75
|
-
# marks" followed immediately by a colon and the URL of the link.
|
76
|
-
#
|
77
|
-
# Optional: text in (parentheses) following the link text,
|
78
|
-
# but before the closing quotation mark, will become a Title
|
79
|
-
# attribute for the link, visible as a tool tip when a cursor is above it.
|
80
|
-
#
|
81
|
-
# Example:
|
82
|
-
#
|
83
|
-
# "This is a link (This is a title) ":http://www.textism.com
|
84
|
-
#
|
85
|
-
# Will become:
|
86
|
-
#
|
87
|
-
# <a href="http://www.textism.com" title="This is a title">This is a link</a>
|
88
|
-
#
|
89
|
-
# == Images
|
90
|
-
#
|
91
|
-
# To insert an image, put the URL for the image inside exclamation marks.
|
92
|
-
#
|
93
|
-
# Optional: text that immediately follows the URL in (parentheses) will
|
94
|
-
# be used as the Alt text for the image. Images on the web should always
|
95
|
-
# have descriptive Alt text for the benefit of readers using non-graphical
|
96
|
-
# browsers.
|
97
|
-
#
|
98
|
-
# Optional: place a colon followed by a URL immediately after the
|
99
|
-
# closing ! to make the image into a link.
|
100
|
-
#
|
101
|
-
# Example:
|
102
|
-
#
|
103
|
-
# !http://www.textism.com/common/textist.gif(Textist)!
|
104
|
-
#
|
105
|
-
# Will become:
|
106
|
-
#
|
107
|
-
# <img src="http://www.textism.com/common/textist.gif" alt="Textist" />
|
108
|
-
#
|
109
|
-
# With a link:
|
110
|
-
#
|
111
|
-
# !/common/textist.gif(Textist)!:http://textism.com
|
112
|
-
#
|
113
|
-
# Will become:
|
114
|
-
#
|
115
|
-
# <a href="http://textism.com"><img src="/common/textist.gif" alt="Textist" /></a>
|
116
|
-
#
|
117
|
-
# == Defining Acronyms
|
118
|
-
#
|
119
|
-
# HTML allows authors to define acronyms via the tag. The definition appears as a
|
120
|
-
# tool tip when a cursor hovers over the acronym. A crucial aid to clear writing,
|
121
|
-
# this should be used at least once for each acronym in documents where they appear.
|
122
|
-
#
|
123
|
-
# To quickly define an acronym in Textile, place the full text in (parentheses)
|
124
|
-
# immediately following the acronym.
|
125
|
-
#
|
126
|
-
# Example:
|
127
|
-
#
|
128
|
-
# ACLU(American Civil Liberties Union)
|
129
|
-
#
|
130
|
-
# Will become:
|
131
|
-
#
|
132
|
-
# <acronym title="American Civil Liberties Union">ACLU</acronym>
|
133
|
-
#
|
134
|
-
# == Adding Tables
|
135
|
-
#
|
136
|
-
# In Textile, simple tables can be added by seperating each column by
|
137
|
-
# a pipe.
|
138
|
-
#
|
139
|
-
# |a|simple|table|row|
|
140
|
-
# |And|Another|table|row|
|
141
|
-
#
|
142
|
-
# Attributes are defined by style definitions in parentheses.
|
143
|
-
#
|
144
|
-
# table(border:1px solid black).
|
145
|
-
# (background:#ddd;color:red). |{}| | | |
|
146
|
-
#
|
147
|
-
# == Using RedCloth
|
148
|
-
#
|
149
|
-
# RedCloth is simply an extension of the String class, which can handle
|
150
|
-
# Textile formatting. Use it like a String and output HTML with its
|
151
|
-
# RedCloth#to_html method.
|
152
|
-
#
|
153
|
-
# doc = RedCloth.new "
|
154
|
-
#
|
155
|
-
# h2. Test document
|
156
|
-
#
|
157
|
-
# Just a simple test."
|
158
|
-
#
|
159
|
-
# puts doc.to_html
|
160
|
-
#
|
161
|
-
# By default, RedCloth uses both Textile and Markdown formatting, with
|
162
|
-
# Textile formatting taking precedence. If you want to turn off Markdown
|
163
|
-
# formatting, to boost speed and limit the processor:
|
164
|
-
#
|
165
|
-
# class RedCloth::Textile.new( str )
|
166
|
-
|
167
|
-
class RedCloth < String
|
168
|
-
|
169
|
-
VERSION = '3.0.4'
|
170
|
-
DEFAULT_RULES = [:textile, :markdown]
|
171
|
-
|
172
|
-
#
|
173
|
-
# Two accessor for setting security restrictions.
|
174
|
-
#
|
175
|
-
# This is a nice thing if you're using RedCloth for
|
176
|
-
# formatting in public places (e.g. Wikis) where you
|
177
|
-
# don't want users to abuse HTML for bad things.
|
178
|
-
#
|
179
|
-
# If +:filter_html+ is set, HTML which wasn't
|
180
|
-
# created by the Textile processor will be escaped.
|
181
|
-
#
|
182
|
-
# If +:filter_styles+ is set, it will also disable
|
183
|
-
# the style markup specifier. ('{color: red}')
|
184
|
-
#
|
185
|
-
attr_accessor :filter_html, :filter_styles
|
186
|
-
|
187
|
-
#
|
188
|
-
# Accessor for toggling hard breaks.
|
189
|
-
#
|
190
|
-
# If +:hard_breaks+ is set, single newlines will
|
191
|
-
# be converted to HTML break tags. This is the
|
192
|
-
# default behavior for traditional RedCloth.
|
193
|
-
#
|
194
|
-
attr_accessor :hard_breaks
|
195
|
-
|
196
|
-
# Accessor for toggling lite mode.
|
197
|
-
#
|
198
|
-
# In lite mode, block-level rules are ignored. This means
|
199
|
-
# that tables, paragraphs, lists, and such aren't available.
|
200
|
-
# Only the inline markup for bold, italics, entities and so on.
|
201
|
-
#
|
202
|
-
# r = RedCloth.new( "And then? She *fell*!", [:lite_mode] )
|
203
|
-
# r.to_html
|
204
|
-
# #=> "And then? She <strong>fell</strong>!"
|
205
|
-
#
|
206
|
-
attr_accessor :lite_mode
|
207
|
-
|
208
|
-
#
|
209
|
-
# Accessor for toggling span caps.
|
210
|
-
#
|
211
|
-
# Textile places `span' tags around capitalized
|
212
|
-
# words by default, but this wreaks havoc on Wikis.
|
213
|
-
# If +:no_span_caps+ is set, this will be
|
214
|
-
# suppressed.
|
215
|
-
#
|
216
|
-
attr_accessor :no_span_caps
|
217
|
-
|
218
|
-
#
|
219
|
-
# Establishes the markup predence. Available rules include:
|
220
|
-
#
|
221
|
-
# == Textile Rules
|
222
|
-
#
|
223
|
-
# The following textile rules can be set individually. Or add the complete
|
224
|
-
# set of rules with the single :textile rule, which supplies the rule set in
|
225
|
-
# the following precedence:
|
226
|
-
#
|
227
|
-
# refs_textile:: Textile references (i.e. [hobix]http://hobix.com/)
|
228
|
-
# block_textile_table:: Textile table block structures
|
229
|
-
# block_textile_lists:: Textile list structures
|
230
|
-
# block_textile_prefix:: Textile blocks with prefixes (i.e. bq., h2., etc.)
|
231
|
-
# inline_textile_image:: Textile inline images
|
232
|
-
# inline_textile_link:: Textile inline links
|
233
|
-
# inline_textile_span:: Textile inline spans
|
234
|
-
# glyphs_textile:: Textile entities (such as em-dashes and smart quotes)
|
235
|
-
#
|
236
|
-
# == Markdown
|
237
|
-
#
|
238
|
-
# refs_markdown:: Markdown references (for example: [hobix]: http://hobix.com/)
|
239
|
-
# block_markdown_setext:: Markdown setext headers
|
240
|
-
# block_markdown_atx:: Markdown atx headers
|
241
|
-
# block_markdown_rule:: Markdown horizontal rules
|
242
|
-
# block_markdown_bq:: Markdown blockquotes
|
243
|
-
# block_markdown_lists:: Markdown lists
|
244
|
-
# inline_markdown_link:: Markdown links
|
245
|
-
attr_accessor :rules
|
246
|
-
|
247
|
-
# Returns a new RedCloth object, based on _string_ and
|
248
|
-
# enforcing all the included _restrictions_.
|
249
|
-
#
|
250
|
-
# r = RedCloth.new( "h1. A <b>bold</b> man", [:filter_html] )
|
251
|
-
# r.to_html
|
252
|
-
# #=>"<h1>A <b>bold</b> man</h1>"
|
253
|
-
#
|
254
|
-
def initialize( string, restrictions = [] )
|
255
|
-
restrictions.each { |r| method( "#{ r }=" ).call( true ) }
|
256
|
-
super( string )
|
257
|
-
end
|
258
|
-
|
259
|
-
#
|
260
|
-
# Generates HTML from the Textile contents.
|
261
|
-
#
|
262
|
-
# r = RedCloth.new( "And then? She *fell*!" )
|
263
|
-
# r.to_html( true )
|
264
|
-
# #=>"And then? She <strong>fell</strong>!"
|
265
|
-
#
|
266
|
-
def to_html( *rules )
|
267
|
-
rules = DEFAULT_RULES if rules.empty?
|
268
|
-
# make our working copy
|
269
|
-
text = self.dup
|
270
|
-
|
271
|
-
@urlrefs = {}
|
272
|
-
@shelf = []
|
273
|
-
textile_rules = [:refs_textile, :block_textile_table, :block_textile_lists,
|
274
|
-
:block_textile_prefix, :inline_textile_image, :inline_textile_link,
|
275
|
-
:inline_textile_code, :inline_textile_span, :glyphs_textile]
|
276
|
-
markdown_rules = [:refs_markdown, :block_markdown_setext, :block_markdown_atx, :block_markdown_rule,
|
277
|
-
:block_markdown_bq, :block_markdown_lists,
|
278
|
-
:inline_markdown_reflink, :inline_markdown_link]
|
279
|
-
@rules = rules.collect do |rule|
|
280
|
-
case rule
|
281
|
-
when :markdown
|
282
|
-
markdown_rules
|
283
|
-
when :textile
|
284
|
-
textile_rules
|
285
|
-
else
|
286
|
-
rule
|
287
|
-
end
|
288
|
-
end.flatten
|
289
|
-
|
290
|
-
# standard clean up
|
291
|
-
incoming_entities text
|
292
|
-
clean_white_space text
|
293
|
-
|
294
|
-
# start processor
|
295
|
-
@pre_list = []
|
296
|
-
rip_offtags text
|
297
|
-
no_textile text
|
298
|
-
hard_break text
|
299
|
-
unless @lite_mode
|
300
|
-
refs text
|
301
|
-
blocks text
|
302
|
-
end
|
303
|
-
inline text
|
304
|
-
smooth_offtags text
|
305
|
-
|
306
|
-
retrieve text
|
307
|
-
|
308
|
-
text.gsub!( /<\/?notextile>/, '' )
|
309
|
-
text.gsub!( /x%x%/, '&' )
|
310
|
-
clean_html text if filter_html
|
311
|
-
text.strip!
|
312
|
-
text
|
313
|
-
|
314
|
-
end
|
315
|
-
|
316
|
-
#######
|
317
|
-
private
|
318
|
-
#######
|
319
|
-
#
|
320
|
-
# Mapping of 8-bit ASCII codes to HTML numerical entity equivalents.
|
321
|
-
# (from PyTextile)
|
322
|
-
#
|
323
|
-
TEXTILE_TAGS =
|
324
|
-
|
325
|
-
[[128, 8364], [129, 0], [130, 8218], [131, 402], [132, 8222], [133, 8230],
|
326
|
-
[134, 8224], [135, 8225], [136, 710], [137, 8240], [138, 352], [139, 8249],
|
327
|
-
[140, 338], [141, 0], [142, 0], [143, 0], [144, 0], [145, 8216], [146, 8217],
|
328
|
-
[147, 8220], [148, 8221], [149, 8226], [150, 8211], [151, 8212], [152, 732],
|
329
|
-
[153, 8482], [154, 353], [155, 8250], [156, 339], [157, 0], [158, 0], [159, 376]].
|
330
|
-
|
331
|
-
collect! do |a, b|
|
332
|
-
[a.chr, ( b.zero? and "" or "&#{ b };" )]
|
333
|
-
end
|
334
|
-
|
335
|
-
#
|
336
|
-
# Regular expressions to convert to HTML.
|
337
|
-
#
|
338
|
-
A_HLGN = /(?:(?:<>|<|>|\=|[()]+)+)/
|
339
|
-
A_VLGN = /[\-^~]/
|
340
|
-
C_CLAS = '(?:\([^)]+\))'
|
341
|
-
C_LNGE = '(?:\[[^\]]+\])'
|
342
|
-
C_STYL = '(?:\{[^}]+\})'
|
343
|
-
S_CSPN = '(?:\\\\\d+)'
|
344
|
-
S_RSPN = '(?:/\d+)'
|
345
|
-
A = "(?:#{A_HLGN}?#{A_VLGN}?|#{A_VLGN}?#{A_HLGN}?)"
|
346
|
-
S = "(?:#{S_CSPN}?#{S_RSPN}|#{S_RSPN}?#{S_CSPN}?)"
|
347
|
-
C = "(?:#{C_CLAS}?#{C_STYL}?#{C_LNGE}?|#{C_STYL}?#{C_LNGE}?#{C_CLAS}?|#{C_LNGE}?#{C_STYL}?#{C_CLAS}?)"
|
348
|
-
# PUNCT = Regexp::quote( '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~' )
|
349
|
-
PUNCT = Regexp::quote( '!"#$%&\'*+,-./:;=?@\\^_`|~' )
|
350
|
-
PUNCT_NOQ = Regexp::quote( '!"#$&\',./:;=?@\\`|' )
|
351
|
-
PUNCT_Q = Regexp::quote( '*-_+^~%' )
|
352
|
-
HYPERLINK = '(\S+?)([^\w\s/;=\?]*?)(?=\s|<|$)'
|
353
|
-
|
354
|
-
# Text markup tags, don't conflict with block tags
|
355
|
-
SIMPLE_HTML_TAGS = [
|
356
|
-
'tt', 'b', 'i', 'big', 'small', 'em', 'strong', 'dfn', 'code',
|
357
|
-
'samp', 'kbd', 'var', 'cite', 'abbr', 'acronym', 'a', 'img', 'br',
|
358
|
-
'br', 'map', 'q', 'sub', 'sup', 'span', 'bdo'
|
359
|
-
]
|
360
|
-
|
361
|
-
QTAGS = [
|
362
|
-
['**', 'b'],
|
363
|
-
['*', 'strong'],
|
364
|
-
['??', 'cite', :limit],
|
365
|
-
['-', 'del', :limit],
|
366
|
-
['__', 'i'],
|
367
|
-
['_', 'em', :limit],
|
368
|
-
['%', 'span', :limit],
|
369
|
-
['+', 'ins', :limit],
|
370
|
-
['^', 'sup'],
|
371
|
-
['~', 'sub']
|
372
|
-
]
|
373
|
-
QTAGS.collect! do |rc, ht, rtype|
|
374
|
-
rcq = Regexp::quote rc
|
375
|
-
re =
|
376
|
-
case rtype
|
377
|
-
when :limit
|
378
|
-
/(\W)
|
379
|
-
(#{rcq})
|
380
|
-
(#{C})
|
381
|
-
(?::(\S+?))?
|
382
|
-
(\S.*?\S|\S)
|
383
|
-
#{rcq}
|
384
|
-
(?=\W)/x
|
385
|
-
else
|
386
|
-
/(#{rcq})
|
387
|
-
(#{C})
|
388
|
-
(?::(\S+))?
|
389
|
-
(\S.*?\S|\S)
|
390
|
-
#{rcq}/xm
|
391
|
-
end
|
392
|
-
[rc, ht, re, rtype]
|
393
|
-
end
|
394
|
-
|
395
|
-
# Elements to handle
|
396
|
-
GLYPHS = [
|
397
|
-
# [ /([^\s\[{(>])?\'([dmst]\b|ll\b|ve\b|\s|:|$)/, '\1’\2' ], # single closing
|
398
|
-
[ /([^\s\[{(>#{PUNCT_Q}][#{PUNCT_Q}]*)\'/, '\1’' ], # single closing
|
399
|
-
[ /\'(?=[#{PUNCT_Q}]*(s\b|[\s#{PUNCT_NOQ}]))/, '’' ], # single closing
|
400
|
-
[ /\'/, '‘' ], # single opening
|
401
|
-
[ /</, '<' ], # less-than
|
402
|
-
[ />/, '>' ], # greater-than
|
403
|
-
# [ /([^\s\[{(])?"(\s|:|$)/, '\1”\2' ], # double closing
|
404
|
-
[ /([^\s\[{(>#{PUNCT_Q}][#{PUNCT_Q}]*)"/, '\1”' ], # double closing
|
405
|
-
[ /"(?=[#{PUNCT_Q}]*[\s#{PUNCT_NOQ}])/, '”' ], # double closing
|
406
|
-
[ /"/, '“' ], # double opening
|
407
|
-
[ /\b( )?\.{3}/, '\1…' ], # ellipsis
|
408
|
-
[ /\b([A-Z][A-Z0-9]{2,})\b(?:[(]([^)]*)[)])/, '<acronym title="\2">\1</acronym>' ], # 3+ uppercase acronym
|
409
|
-
[ /(^|[^"][>\s])([A-Z][A-Z0-9 ]+[A-Z0-9])([^<A-Za-z0-9]|$)/, '\1<span class="caps">\2</span>\3', :no_span_caps ], # 3+ uppercase caps
|
410
|
-
[ /(\.\s)?\s?--\s?/, '\1—' ], # em dash
|
411
|
-
[ /\s->\s/, ' → ' ], # right arrow
|
412
|
-
[ /\s-\s/, ' – ' ], # en dash
|
413
|
-
[ /(\d+) ?x ?(\d+)/, '\1×\2' ], # dimension sign
|
414
|
-
[ /\b ?[(\[]TM[\])]/i, '™' ], # trademark
|
415
|
-
[ /\b ?[(\[]R[\])]/i, '®' ], # registered
|
416
|
-
[ /\b ?[(\[]C[\])]/i, '©' ] # copyright
|
417
|
-
]
|
418
|
-
|
419
|
-
H_ALGN_VALS = {
|
420
|
-
'<' => 'left',
|
421
|
-
'=' => 'center',
|
422
|
-
'>' => 'right',
|
423
|
-
'<>' => 'justify'
|
424
|
-
}
|
425
|
-
|
426
|
-
V_ALGN_VALS = {
|
427
|
-
'^' => 'top',
|
428
|
-
'-' => 'middle',
|
429
|
-
'~' => 'bottom'
|
430
|
-
}
|
431
|
-
|
432
|
-
#
|
433
|
-
# Flexible HTML escaping
|
434
|
-
#
|
435
|
-
def htmlesc( str, mode )
|
436
|
-
str.gsub!( '&', '&' )
|
437
|
-
str.gsub!( '"', '"' ) if mode != :NoQuotes
|
438
|
-
str.gsub!( "'", ''' ) if mode == :Quotes
|
439
|
-
str.gsub!( '<', '<')
|
440
|
-
str.gsub!( '>', '>')
|
441
|
-
end
|
442
|
-
|
443
|
-
# Search and replace for Textile glyphs (quotes, dashes, other symbols)
|
444
|
-
def pgl( text )
|
445
|
-
GLYPHS.each do |re, resub, tog|
|
446
|
-
next if tog and method( tog ).call
|
447
|
-
text.gsub! re, resub
|
448
|
-
end
|
449
|
-
end
|
450
|
-
|
451
|
-
# Parses Textile attribute lists and builds an HTML attribute string
|
452
|
-
def pba( text_in, element = "" )
|
453
|
-
|
454
|
-
return '' unless text_in
|
455
|
-
|
456
|
-
style = []
|
457
|
-
text = text_in.dup
|
458
|
-
if element == 'td'
|
459
|
-
colspan = $1 if text =~ /\\(\d+)/
|
460
|
-
rowspan = $1 if text =~ /\/(\d+)/
|
461
|
-
style << "vertical-align:#{ v_align( $& ) };" if text =~ A_VLGN
|
462
|
-
end
|
463
|
-
|
464
|
-
style << "#{ $1 };" if not filter_styles and
|
465
|
-
text.sub!( /\{([^}]*)\}/, '' )
|
466
|
-
|
467
|
-
lang = $1 if
|
468
|
-
text.sub!( /\[([^)]+?)\]/, '' )
|
469
|
-
|
470
|
-
cls = $1 if
|
471
|
-
text.sub!( /\(([^()]+?)\)/, '' )
|
472
|
-
|
473
|
-
style << "padding-left:#{ $1.length }em;" if
|
474
|
-
text.sub!( /([(]+)/, '' )
|
475
|
-
|
476
|
-
style << "padding-right:#{ $1.length }em;" if text.sub!( /([)]+)/, '' )
|
477
|
-
|
478
|
-
style << "text-align:#{ h_align( $& ) };" if text =~ A_HLGN
|
479
|
-
|
480
|
-
cls, id = $1, $2 if cls =~ /^(.*?)#(.*)$/
|
481
|
-
|
482
|
-
atts = ''
|
483
|
-
atts << " style=\"#{ style.join }\"" unless style.empty?
|
484
|
-
atts << " class=\"#{ cls }\"" unless cls.to_s.empty?
|
485
|
-
atts << " lang=\"#{ lang }\"" if lang
|
486
|
-
atts << " id=\"#{ id }\"" if id
|
487
|
-
atts << " colspan=\"#{ colspan }\"" if colspan
|
488
|
-
atts << " rowspan=\"#{ rowspan }\"" if rowspan
|
489
|
-
|
490
|
-
atts
|
491
|
-
end
|
492
|
-
|
493
|
-
TABLE_RE = /^(?:table(_?#{S}#{A}#{C})\. ?\n)?^(#{A}#{C}\.? ?\|.*?\|)(\n\n|\Z)/m
|
494
|
-
|
495
|
-
# Parses a Textile table block, building HTML from the result.
|
496
|
-
def block_textile_table( text )
|
497
|
-
text.gsub!( TABLE_RE ) do |matches|
|
498
|
-
|
499
|
-
tatts, fullrow = $~[1..2]
|
500
|
-
tatts = pba( tatts, 'table' )
|
501
|
-
tatts = shelve( tatts ) if tatts
|
502
|
-
rows = []
|
503
|
-
|
504
|
-
fullrow.
|
505
|
-
split( /\|$/m ).
|
506
|
-
delete_if { |x| x.empty? }.
|
507
|
-
each do |row|
|
508
|
-
|
509
|
-
ratts, row = pba( $1, 'tr' ), $2 if row =~ /^(#{A}#{C}\. )(.*)/m
|
510
|
-
|
511
|
-
cells = []
|
512
|
-
row.split( '|' ).each do |cell|
|
513
|
-
ctyp = 'd'
|
514
|
-
ctyp = 'h' if cell =~ /^_/
|
515
|
-
|
516
|
-
catts = ''
|
517
|
-
catts, cell = pba( $1, 'td' ), $2 if cell =~ /^(_?#{S}#{A}#{C}\. ?)(.*)/
|
518
|
-
|
519
|
-
unless cell.strip.empty?
|
520
|
-
catts = shelve( catts ) if catts
|
521
|
-
cells << "\t\t\t<t#{ ctyp }#{ catts }>#{ cell }</t#{ ctyp }>"
|
522
|
-
end
|
523
|
-
end
|
524
|
-
ratts = shelve( ratts ) if ratts
|
525
|
-
rows << "\t\t<tr#{ ratts }>\n#{ cells.join( "\n" ) }\n\t\t</tr>"
|
526
|
-
end
|
527
|
-
"\t<table#{ tatts }>\n#{ rows.join( "\n" ) }\n\t</table>\n\n"
|
528
|
-
end
|
529
|
-
end
|
530
|
-
|
531
|
-
LISTS_RE = /^([#*]+?#{C} .*?)$(?![^#*])/m
|
532
|
-
LISTS_CONTENT_RE = /^([#*]+)(#{A}#{C}) (.*)$/m
|
533
|
-
|
534
|
-
# Parses Textile lists and generates HTML
|
535
|
-
def block_textile_lists( text )
|
536
|
-
text.gsub!( LISTS_RE ) do |match|
|
537
|
-
lines = match.split( /\n/ )
|
538
|
-
last_line = -1
|
539
|
-
depth = []
|
540
|
-
lines.each_with_index do |line, line_id|
|
541
|
-
if line =~ LISTS_CONTENT_RE
|
542
|
-
tl,atts,content = $~[1..3]
|
543
|
-
if depth.last
|
544
|
-
if depth.last.length > tl.length
|
545
|
-
(depth.length - 1).downto(0) do |i|
|
546
|
-
break if depth[i].length == tl.length
|
547
|
-
lines[line_id - 1] << "</li>\n\t</#{ lT( depth[i] ) }l>\n\t"
|
548
|
-
depth.pop
|
549
|
-
end
|
550
|
-
end
|
551
|
-
if depth.last and depth.last.length == tl.length
|
552
|
-
lines[line_id - 1] << '</li>'
|
553
|
-
end
|
554
|
-
end
|
555
|
-
unless depth.last == tl
|
556
|
-
depth << tl
|
557
|
-
atts = pba( atts )
|
558
|
-
atts = shelve( atts ) if atts
|
559
|
-
lines[line_id] = "\t<#{ lT(tl) }l#{ atts }>\n\t<li>#{ content }"
|
560
|
-
else
|
561
|
-
lines[line_id] = "\t\t<li>#{ content }"
|
562
|
-
end
|
563
|
-
last_line = line_id
|
564
|
-
|
565
|
-
else
|
566
|
-
last_line = line_id
|
567
|
-
end
|
568
|
-
if line_id - last_line > 1 or line_id == lines.length - 1
|
569
|
-
depth.delete_if do |v|
|
570
|
-
lines[last_line] << "</li>\n\t</#{ lT( v ) }l>"
|
571
|
-
end
|
572
|
-
end
|
573
|
-
end
|
574
|
-
lines.join( "\n" )
|
575
|
-
end
|
576
|
-
end
|
577
|
-
|
578
|
-
CODE_RE = /(\W)
|
579
|
-
@
|
580
|
-
(?:\|(\w+?)\|)?
|
581
|
-
(.+?)
|
582
|
-
@
|
583
|
-
(?=\W)/x
|
584
|
-
|
585
|
-
def inline_textile_code( text )
|
586
|
-
text.gsub!( CODE_RE ) do |m|
|
587
|
-
before,lang,code,after = $~[1..4]
|
588
|
-
lang = " lang=\"#{ lang }\"" if lang
|
589
|
-
rip_offtags( "#{ before }<code#{ lang }>#{ code }</code>#{ after }" )
|
590
|
-
end
|
591
|
-
end
|
592
|
-
|
593
|
-
def lT( text )
|
594
|
-
text =~ /\#$/ ? 'o' : 'u'
|
595
|
-
end
|
596
|
-
|
597
|
-
def hard_break( text )
|
598
|
-
text.gsub!( /(.)\n(?!\Z| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks
|
599
|
-
end
|
600
|
-
|
601
|
-
BLOCKS_GROUP_RE = /\n{2,}(?! )/m
|
602
|
-
|
603
|
-
def blocks( text, deep_code = false )
|
604
|
-
text.replace( text.split( BLOCKS_GROUP_RE ).collect do |blk|
|
605
|
-
plain = blk !~ /\A[#*> ]/
|
606
|
-
|
607
|
-
# skip blocks that are complex HTML
|
608
|
-
if blk =~ /^<\/?(\w+).*>/ and not SIMPLE_HTML_TAGS.include? $1
|
609
|
-
blk
|
610
|
-
else
|
611
|
-
# search for indentation levels
|
612
|
-
blk.strip!
|
613
|
-
if blk.empty?
|
614
|
-
blk
|
615
|
-
else
|
616
|
-
code_blk = nil
|
617
|
-
blk.gsub!( /((?:\n(?:\n^ +[^\n]*)+)+)/m ) do |iblk|
|
618
|
-
flush_left iblk
|
619
|
-
blocks iblk, plain
|
620
|
-
iblk.gsub( /^(\S)/, "\t\\1" )
|
621
|
-
if plain
|
622
|
-
code_blk = iblk; ""
|
623
|
-
else
|
624
|
-
iblk
|
625
|
-
end
|
626
|
-
end
|
627
|
-
|
628
|
-
block_applied = 0
|
629
|
-
@rules.each do |rule_name|
|
630
|
-
block_applied += 1 if ( rule_name.to_s.match /^block_/ and method( rule_name ).call( blk ) )
|
631
|
-
end
|
632
|
-
if block_applied.zero?
|
633
|
-
if deep_code
|
634
|
-
blk = "\t<pre><code>#{ blk }</code></pre>"
|
635
|
-
else
|
636
|
-
blk = "\t<p>#{ blk }</p>"
|
637
|
-
end
|
638
|
-
end
|
639
|
-
# hard_break blk
|
640
|
-
blk + "\n#{ code_blk }"
|
641
|
-
end
|
642
|
-
end
|
643
|
-
|
644
|
-
end.join( "\n\n" ) )
|
645
|
-
end
|
646
|
-
|
647
|
-
def textile_bq( tag, atts, cite, content )
|
648
|
-
cite, cite_title = check_refs( cite )
|
649
|
-
cite = " cite=\"#{ cite }\"" if cite
|
650
|
-
atts = shelve( atts ) if atts
|
651
|
-
"\t<blockquote#{ cite }>\n\t\t<p#{ atts }>#{ content }</p>\n\t</blockquote>"
|
652
|
-
end
|
653
|
-
|
654
|
-
def textile_p( tag, atts, cite, content )
|
655
|
-
atts = shelve( atts ) if atts
|
656
|
-
"\t<#{ tag }#{ atts }>#{ content }</#{ tag }>"
|
657
|
-
end
|
658
|
-
|
659
|
-
alias textile_h1 textile_p
|
660
|
-
alias textile_h2 textile_p
|
661
|
-
alias textile_h3 textile_p
|
662
|
-
alias textile_h4 textile_p
|
663
|
-
alias textile_h5 textile_p
|
664
|
-
alias textile_h6 textile_p
|
665
|
-
|
666
|
-
def textile_fn_( tag, num, atts, cite, content )
|
667
|
-
atts << " id=\"fn#{ num }\""
|
668
|
-
content = "<sup>#{ num }</sup> #{ content }"
|
669
|
-
atts = shelve( atts ) if atts
|
670
|
-
"\t<p#{ atts }>#{ content }</p>"
|
671
|
-
end
|
672
|
-
|
673
|
-
BLOCK_RE = /^(([a-z]+)(\d*))(#{A}#{C})\.(?::(\S+))? (.*)$/m
|
674
|
-
|
675
|
-
def block_textile_prefix( text )
|
676
|
-
if text =~ BLOCK_RE
|
677
|
-
tag,tagpre,num,atts,cite,content = $~[1..6]
|
678
|
-
atts = pba( atts )
|
679
|
-
|
680
|
-
# pass to prefix handler
|
681
|
-
if respond_to? "textile_#{ tag }", true
|
682
|
-
text.gsub!( $&, method( "textile_#{ tag }" ).call( tag, atts, cite, content ) )
|
683
|
-
elsif respond_to? "textile_#{ tagpre }_", true
|
684
|
-
text.gsub!( $&, method( "textile_#{ tagpre }_" ).call( tagpre, num, atts, cite, content ) )
|
685
|
-
end
|
686
|
-
end
|
687
|
-
end
|
688
|
-
|
689
|
-
SETEXT_RE = /\A(.+?)\n([=-])[=-]* *$/m
|
690
|
-
def block_markdown_setext( text )
|
691
|
-
if text =~ SETEXT_RE
|
692
|
-
tag = if $2 == "="; "h1"; else; "h2"; end
|
693
|
-
blk, cont = "<#{ tag }>#{ $1 }</#{ tag }>", $'
|
694
|
-
blocks cont
|
695
|
-
text.replace( blk + cont )
|
696
|
-
end
|
697
|
-
end
|
698
|
-
|
699
|
-
ATX_RE = /\A(\#{1,6}) # $1 = string of #'s
|
700
|
-
[ ]*
|
701
|
-
(.+?) # $2 = Header text
|
702
|
-
[ ]*
|
703
|
-
\#* # optional closing #'s (not counted)
|
704
|
-
$/x
|
705
|
-
def block_markdown_atx( text )
|
706
|
-
if text =~ ATX_RE
|
707
|
-
tag = "h#{ $1.length }"
|
708
|
-
blk, cont = "<#{ tag }>#{ $2 }</#{ tag }>\n\n", $'
|
709
|
-
blocks cont
|
710
|
-
text.replace( blk + cont )
|
711
|
-
end
|
712
|
-
end
|
713
|
-
|
714
|
-
MARKDOWN_BQ_RE = /\A(^ *> ?.+$(.+\n)*\n*)+/m
|
715
|
-
|
716
|
-
def block_markdown_bq( text )
|
717
|
-
text.gsub!( MARKDOWN_BQ_RE ) do |blk|
|
718
|
-
blk.gsub!( /^ *> ?/, '' )
|
719
|
-
flush_left blk
|
720
|
-
blocks blk
|
721
|
-
blk.gsub!( /^(\S)/, "\t\\1" )
|
722
|
-
"<blockquote>\n#{ blk }\n</blockquote>\n\n"
|
723
|
-
end
|
724
|
-
end
|
725
|
-
|
726
|
-
MARKDOWN_RULE_RE = /^(#{
|
727
|
-
['*', '-', '_'].collect { |ch| '( ?' + Regexp::quote( ch ) + ' ?){3,}' }.join( '|' )
|
728
|
-
})$/
|
729
|
-
|
730
|
-
def block_markdown_rule( text )
|
731
|
-
text.gsub!( MARKDOWN_RULE_RE ) do |blk|
|
732
|
-
"<hr />"
|
733
|
-
end
|
734
|
-
end
|
735
|
-
|
736
|
-
# XXX TODO XXX
|
737
|
-
def block_markdown_lists( text )
|
738
|
-
end
|
739
|
-
|
740
|
-
def inline_textile_span( text )
|
741
|
-
QTAGS.each do |qtag_rc, ht, qtag_re, rtype|
|
742
|
-
text.gsub!( qtag_re ) do |m|
|
743
|
-
|
744
|
-
case rtype
|
745
|
-
when :limit
|
746
|
-
sta,qtag,atts,cite,content = $~[1..5]
|
747
|
-
else
|
748
|
-
qtag,atts,cite,content = $~[1..4]
|
749
|
-
sta = ''
|
750
|
-
end
|
751
|
-
atts = pba( atts )
|
752
|
-
atts << " cite=\"#{ cite }\"" if cite
|
753
|
-
atts = shelve( atts ) if atts
|
754
|
-
|
755
|
-
"#{ sta }<#{ ht }#{ atts }>#{ content }</#{ ht }>"
|
756
|
-
|
757
|
-
end
|
758
|
-
end
|
759
|
-
end
|
760
|
-
|
761
|
-
LINK_RE = /
|
762
|
-
([\s\[{(]|[#{PUNCT}])? # $pre
|
763
|
-
" # start
|
764
|
-
(#{C}) # $atts
|
765
|
-
([^"]+?) # $text
|
766
|
-
\s?
|
767
|
-
(?:\(([^)]+?)\)(?="))? # $title
|
768
|
-
":
|
769
|
-
(\S+?) # $url
|
770
|
-
(\/)? # $slash
|
771
|
-
([^\w\/;]*?) # $post
|
772
|
-
(?=<|\s|$)
|
773
|
-
/x
|
774
|
-
|
775
|
-
def inline_textile_link( text )
|
776
|
-
text.gsub!( LINK_RE ) do |m|
|
777
|
-
pre,atts,text,title,url,slash,post = $~[1..7]
|
778
|
-
|
779
|
-
url, url_title = check_refs( url )
|
780
|
-
title ||= url_title
|
781
|
-
|
782
|
-
atts = pba( atts )
|
783
|
-
atts = " href=\"#{ url }#{ slash }\"#{ atts }"
|
784
|
-
atts << " title=\"#{ title }\"" if title
|
785
|
-
atts = shelve( atts ) if atts
|
786
|
-
|
787
|
-
"#{ pre }<a#{ atts }>#{ text }</a>#{ post }"
|
788
|
-
end
|
789
|
-
end
|
790
|
-
|
791
|
-
MARKDOWN_REFLINK_RE = /
|
792
|
-
\[([^\[\]]+)\] # $text
|
793
|
-
[ ]? # opt. space
|
794
|
-
(?:\n[ ]*)? # one optional newline followed by spaces
|
795
|
-
\[(.*?)\] # $id
|
796
|
-
/x
|
797
|
-
|
798
|
-
def inline_markdown_reflink( text )
|
799
|
-
text.gsub!( MARKDOWN_REFLINK_RE ) do |m|
|
800
|
-
text, id = $~[1..2]
|
801
|
-
|
802
|
-
if id.empty?
|
803
|
-
url, title = check_refs( text )
|
804
|
-
else
|
805
|
-
url, title = check_refs( id )
|
806
|
-
end
|
807
|
-
|
808
|
-
atts = " href=\"#{ url }\""
|
809
|
-
atts << " title=\"#{ title }\"" if title
|
810
|
-
atts = shelve( atts )
|
811
|
-
|
812
|
-
"<a#{ atts }>#{ text }</a>"
|
813
|
-
end
|
814
|
-
end
|
815
|
-
|
816
|
-
MARKDOWN_LINK_RE = /
|
817
|
-
\[([^\[\]]+)\] # $text
|
818
|
-
\( # open paren
|
819
|
-
[ \t]* # opt space
|
820
|
-
<?(.+?)>? # $href
|
821
|
-
[ \t]* # opt space
|
822
|
-
(?: # whole title
|
823
|
-
(['"]) # $quote
|
824
|
-
(.*?) # $title
|
825
|
-
\3 # matching quote
|
826
|
-
)? # title is optional
|
827
|
-
\)
|
828
|
-
/x
|
829
|
-
|
830
|
-
def inline_markdown_link( text )
|
831
|
-
text.gsub!( MARKDOWN_LINK_RE ) do |m|
|
832
|
-
text, url, quote, title = $~[1..4]
|
833
|
-
|
834
|
-
atts = " href=\"#{ url }\""
|
835
|
-
atts << " title=\"#{ title }\"" if title
|
836
|
-
atts = shelve( atts )
|
837
|
-
|
838
|
-
"<a#{ atts }>#{ text }</a>"
|
839
|
-
end
|
840
|
-
end
|
841
|
-
|
842
|
-
TEXTILE_REFS_RE = /(^ *)\[([^\n]+?)\](#{HYPERLINK})(?=\s|$)/
|
843
|
-
MARKDOWN_REFS_RE = /(^ *)\[([^\n]+?)\]:\s+<?(#{HYPERLINK})>?(?:\s+"((?:[^"]|\\")+)")?(?=\s|$)/m
|
844
|
-
|
845
|
-
def refs( text )
|
846
|
-
@rules.each do |rule_name|
|
847
|
-
method( rule_name ).call( text ) if rule_name.to_s.match /^refs_/
|
848
|
-
end
|
849
|
-
end
|
850
|
-
|
851
|
-
def refs_textile( text )
|
852
|
-
text.gsub!( TEXTILE_REFS_RE ) do |m|
|
853
|
-
flag, url = $~[2..3]
|
854
|
-
@urlrefs[flag.downcase] = [url, nil]
|
855
|
-
nil
|
856
|
-
end
|
857
|
-
end
|
858
|
-
|
859
|
-
def refs_markdown( text )
|
860
|
-
text.gsub!( MARKDOWN_REFS_RE ) do |m|
|
861
|
-
flag, url = $~[2..3]
|
862
|
-
title = $~[6]
|
863
|
-
@urlrefs[flag.downcase] = [url, title]
|
864
|
-
nil
|
865
|
-
end
|
866
|
-
end
|
867
|
-
|
868
|
-
def check_refs( text )
|
869
|
-
ret = @urlrefs[text.downcase] if text
|
870
|
-
ret || [text, nil]
|
871
|
-
end
|
872
|
-
|
873
|
-
IMAGE_RE = /
|
874
|
-
(<p>|.|^) # start of line?
|
875
|
-
\! # opening
|
876
|
-
(\<|\=|\>)? # optional alignment atts
|
877
|
-
(#{C}) # optional style,class atts
|
878
|
-
(?:\. )? # optional dot-space
|
879
|
-
([^\s(!]+?) # presume this is the src
|
880
|
-
\s? # optional space
|
881
|
-
(?:\(((?:[^\(\)]|\([^\)]+\))+?)\))? # optional title
|
882
|
-
\! # closing
|
883
|
-
(?::#{ HYPERLINK })? # optional href
|
884
|
-
/x
|
885
|
-
|
886
|
-
def inline_textile_image( text )
|
887
|
-
text.gsub!( IMAGE_RE ) do |m|
|
888
|
-
stln,algn,atts,url,title,href,href_a1,href_a2 = $~[1..8]
|
889
|
-
atts = pba( atts )
|
890
|
-
atts = " src=\"#{ url }\"#{ atts }"
|
891
|
-
atts << " title=\"#{ title }\"" if title
|
892
|
-
atts << " alt=\"#{ title }\""
|
893
|
-
# size = @getimagesize($url);
|
894
|
-
# if($size) $atts.= " $size[3]";
|
895
|
-
|
896
|
-
href, alt_title = check_refs( href ) if href
|
897
|
-
url, url_title = check_refs( url )
|
898
|
-
|
899
|
-
out = ''
|
900
|
-
out << "<a#{ shelve( " href=\"#{ href }\"" ) }>" if href
|
901
|
-
out << "<img#{ shelve( atts ) } />"
|
902
|
-
out << "</a>#{ href_a1 }#{ href_a2 }" if href
|
903
|
-
|
904
|
-
if algn
|
905
|
-
algn = h_align( algn )
|
906
|
-
if stln == "<p>"
|
907
|
-
out = "<p style=\"float:#{ algn }\">#{ out }"
|
908
|
-
else
|
909
|
-
out = "#{ stln }<div style=\"float:#{ algn }\">#{ out }</div>"
|
910
|
-
end
|
911
|
-
else
|
912
|
-
out = stln + out
|
913
|
-
end
|
914
|
-
|
915
|
-
out
|
916
|
-
end
|
917
|
-
end
|
918
|
-
|
919
|
-
def shelve( val )
|
920
|
-
@shelf << val
|
921
|
-
" :redsh##{ @shelf.length }:"
|
922
|
-
end
|
923
|
-
|
924
|
-
def retrieve( text )
|
925
|
-
@shelf.each_with_index do |r, i|
|
926
|
-
text.gsub!( " :redsh##{ i + 1 }:", r )
|
927
|
-
end
|
928
|
-
end
|
929
|
-
|
930
|
-
def incoming_entities( text )
|
931
|
-
## turn any incoming ampersands into a dummy character for now.
|
932
|
-
## This uses a negative lookahead for alphanumerics followed by a semicolon,
|
933
|
-
## implying an incoming html entity, to be skipped
|
934
|
-
|
935
|
-
text.gsub!( /&(?![#a-z0-9]+;)/i, "x%x%" )
|
936
|
-
end
|
937
|
-
|
938
|
-
def no_textile( text )
|
939
|
-
text.gsub!( /(^|\s)==([^=]+.*?)==(\s|$)?/,
|
940
|
-
'\1<notextile>\2</notextile>\3' )
|
941
|
-
text.gsub!( /^ *==([^=]+.*?)==/m,
|
942
|
-
'\1<notextile>\2</notextile>\3' )
|
943
|
-
end
|
944
|
-
|
945
|
-
def clean_white_space( text )
|
946
|
-
# normalize line breaks
|
947
|
-
text.gsub!( /\r\n/, "\n" )
|
948
|
-
text.gsub!( /\r/, "\n" )
|
949
|
-
text.gsub!( /\t/, ' ' )
|
950
|
-
text.gsub!( /^ +$/, '' )
|
951
|
-
text.gsub!( /\n{3,}/, "\n\n" )
|
952
|
-
text.gsub!( /"$/, "\" " )
|
953
|
-
|
954
|
-
# if entire document is indented, flush
|
955
|
-
# to the left side
|
956
|
-
flush_left text
|
957
|
-
end
|
958
|
-
|
959
|
-
def flush_left( text )
|
960
|
-
indt = 0
|
961
|
-
if text =~ /^ /
|
962
|
-
while text !~ /^ {#{indt}}\S/
|
963
|
-
indt += 1
|
964
|
-
end unless text.empty?
|
965
|
-
if indt.nonzero?
|
966
|
-
text.gsub!( /^ {#{indt}}/, '' )
|
967
|
-
end
|
968
|
-
end
|
969
|
-
end
|
970
|
-
|
971
|
-
def footnote_ref( text )
|
972
|
-
text.gsub!( /\b\[([0-9]+?)\](\s)?/,
|
973
|
-
'<sup><a href="#fn\1">\1</a></sup>\2' )
|
974
|
-
end
|
975
|
-
|
976
|
-
OFFTAGS = /(code|pre|kbd|notextile)/
|
977
|
-
OFFTAG_MATCH = /(?:(<\/#{ OFFTAGS }>)|(<#{ OFFTAGS }[^>]*>))(.*?)(?=<\/?#{ OFFTAGS }|\Z)/mi
|
978
|
-
OFFTAG_OPEN = /<#{ OFFTAGS }/
|
979
|
-
OFFTAG_CLOSE = /<\/?#{ OFFTAGS }/
|
980
|
-
HASTAG_MATCH = /(<\/?\w[^\n]*?>)/m
|
981
|
-
ALLTAG_MATCH = /(<\/?\w[^\n]*?>)|.*?(?=<\/?\w[^\n]*?>|$)/m
|
982
|
-
|
983
|
-
def glyphs_textile( text, level = 0 )
|
984
|
-
if text !~ HASTAG_MATCH
|
985
|
-
pgl text
|
986
|
-
footnote_ref text
|
987
|
-
else
|
988
|
-
codepre = 0
|
989
|
-
text.gsub!( ALLTAG_MATCH ) do |line|
|
990
|
-
## matches are off if we're between <code>, <pre> etc.
|
991
|
-
if $1
|
992
|
-
if line =~ OFFTAG_OPEN
|
993
|
-
codepre += 1
|
994
|
-
elsif line =~ OFFTAG_CLOSE
|
995
|
-
codepre -= 1
|
996
|
-
codepre = 0 if codepre < 0
|
997
|
-
end
|
998
|
-
elsif codepre.zero?
|
999
|
-
glyphs_textile( line, level + 1 )
|
1000
|
-
else
|
1001
|
-
htmlesc( line, :NoQuotes )
|
1002
|
-
end
|
1003
|
-
# p [level, codepre, line]
|
1004
|
-
|
1005
|
-
line
|
1006
|
-
end
|
1007
|
-
end
|
1008
|
-
end
|
1009
|
-
|
1010
|
-
def rip_offtags( text )
|
1011
|
-
if text =~ /<.*>/
|
1012
|
-
## strip and encode <pre> content
|
1013
|
-
codepre, used_offtags = 0, {}
|
1014
|
-
text.gsub!( OFFTAG_MATCH ) do |line|
|
1015
|
-
if $3
|
1016
|
-
offtag, aftertag = $4, $5
|
1017
|
-
codepre += 1
|
1018
|
-
used_offtags[offtag] = true
|
1019
|
-
if codepre - used_offtags.length > 0
|
1020
|
-
htmlesc( line, :NoQuotes ) unless used_offtags['notextile']
|
1021
|
-
@pre_list.last << line
|
1022
|
-
line = ""
|
1023
|
-
else
|
1024
|
-
htmlesc( aftertag, :NoQuotes ) if aftertag and not used_offtags['notextile']
|
1025
|
-
line = "<redpre##{ @pre_list.length }>"
|
1026
|
-
@pre_list << "#{ $3 }#{ aftertag }"
|
1027
|
-
end
|
1028
|
-
elsif $1 and codepre > 0
|
1029
|
-
if codepre - used_offtags.length > 0
|
1030
|
-
htmlesc( line, :NoQuotes ) unless used_offtags['notextile']
|
1031
|
-
@pre_list.last << line
|
1032
|
-
line = ""
|
1033
|
-
end
|
1034
|
-
codepre -= 1 unless codepre.zero?
|
1035
|
-
used_offtags = {} if codepre.zero?
|
1036
|
-
end
|
1037
|
-
line
|
1038
|
-
end
|
1039
|
-
end
|
1040
|
-
text
|
1041
|
-
end
|
1042
|
-
|
1043
|
-
def smooth_offtags( text )
|
1044
|
-
unless @pre_list.empty?
|
1045
|
-
## replace <pre> content
|
1046
|
-
text.gsub!( /<redpre#(\d+)>/ ) { @pre_list[$1.to_i] }
|
1047
|
-
end
|
1048
|
-
end
|
1049
|
-
|
1050
|
-
def inline( text )
|
1051
|
-
[/^inline_/, /^glyphs_/].each do |meth_re|
|
1052
|
-
@rules.each do |rule_name|
|
1053
|
-
method( rule_name ).call( text ) if rule_name.to_s.match( meth_re )
|
1054
|
-
end
|
1055
|
-
end
|
1056
|
-
end
|
1057
|
-
|
1058
|
-
def h_align( text )
|
1059
|
-
H_ALGN_VALS[text]
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
def v_align( text )
|
1063
|
-
V_ALGN_VALS[text]
|
1064
|
-
end
|
1065
|
-
|
1066
|
-
def textile_popup_help( name, windowW, windowH )
|
1067
|
-
' <a target="_blank" href="http://hobix.com/textile/#' + helpvar + '" onclick="window.open(this.href, \'popupwindow\', \'width=' + windowW + ',height=' + windowH + ',scrollbars,resizable\'); return false;">' + name + '</a><br />'
|
1068
|
-
end
|
1069
|
-
|
1070
|
-
# HTML cleansing stuff
|
1071
|
-
BASIC_TAGS = {
|
1072
|
-
'a' => ['href', 'title'],
|
1073
|
-
'img' => ['src', 'alt', 'title'],
|
1074
|
-
'br' => [],
|
1075
|
-
'i' => nil,
|
1076
|
-
'u' => nil,
|
1077
|
-
'b' => nil,
|
1078
|
-
'pre' => nil,
|
1079
|
-
'kbd' => nil,
|
1080
|
-
'code' => ['lang'],
|
1081
|
-
'cite' => nil,
|
1082
|
-
'strong' => nil,
|
1083
|
-
'em' => nil,
|
1084
|
-
'ins' => nil,
|
1085
|
-
'sup' => nil,
|
1086
|
-
'sub' => nil,
|
1087
|
-
'del' => nil,
|
1088
|
-
'table' => nil,
|
1089
|
-
'tr' => nil,
|
1090
|
-
'td' => ['colspan', 'rowspan'],
|
1091
|
-
'th' => nil,
|
1092
|
-
'ol' => nil,
|
1093
|
-
'ul' => nil,
|
1094
|
-
'li' => nil,
|
1095
|
-
'p' => nil,
|
1096
|
-
'h1' => nil,
|
1097
|
-
'h2' => nil,
|
1098
|
-
'h3' => nil,
|
1099
|
-
'h4' => nil,
|
1100
|
-
'h5' => nil,
|
1101
|
-
'h6' => nil,
|
1102
|
-
'blockquote' => ['cite']
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
def clean_html( text, tags = BASIC_TAGS )
|
1106
|
-
text.gsub!( /<!\[CDATA\[/, '' )
|
1107
|
-
text.gsub!( /<(\/*)(\w+)([^>]*)>/ ) do
|
1108
|
-
raw = $~
|
1109
|
-
tag = raw[2].downcase
|
1110
|
-
if tags.has_key? tag
|
1111
|
-
pcs = [tag]
|
1112
|
-
tags[tag].each do |prop|
|
1113
|
-
['"', "'", ''].each do |q|
|
1114
|
-
q2 = ( q != '' ? q : '\s' )
|
1115
|
-
if raw[3] =~ /#{prop}\s*=\s*#{q}([^#{q2}]+)#{q}/i
|
1116
|
-
attrv = $1
|
1117
|
-
next if prop == 'src' and attrv =~ %r{^(?!http)\w+:}
|
1118
|
-
pcs << "#{prop}=\"#{$1.gsub('"', '\\"')}\""
|
1119
|
-
break
|
1120
|
-
end
|
1121
|
-
end
|
1122
|
-
end if tags[tag]
|
1123
|
-
"<#{raw[1]}#{pcs.join " "}>"
|
1124
|
-
else
|
1125
|
-
" "
|
1126
|
-
end
|
1127
|
-
end
|
1128
|
-
end
|
1129
|
-
end
|
1130
|
-
|