typo 5.4.4 → 5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +59 -28
- data/MAINTAINERS +9 -17
- data/README +28 -20
- data/UPGRADE +6 -2
- data/app/controllers/accounts_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +1 -1
- data/app/controllers/admin/feedback_controller.rb +3 -3
- data/app/controllers/admin/pages_controller.rb +2 -0
- data/app/controllers/application_controller.rb +6 -1
- data/app/controllers/articles_controller.rb +13 -1
- data/app/helpers/application_helper.rb +5 -2
- data/app/helpers/authors_helper.rb +14 -3
- data/app/models/article.rb +6 -4
- data/app/models/blog.rb +0 -4
- data/app/models/blog_sweeper.rb +1 -1
- data/app/models/content.rb +10 -5
- data/app/models/page_cache.rb +6 -7
- data/app/models/user.rb +1 -0
- data/app/views/admin/content/_form.html.erb +13 -11
- data/app/views/admin/content/_images.html.erb +1 -1
- data/app/views/admin/content/_simple_editor.html.erb +1 -0
- data/app/views/admin/content/_visual_editor.html.erb +1 -0
- data/app/views/admin/dashboard/_overview.html.erb +7 -7
- data/app/views/admin/pages/_form.html.erb +1 -0
- data/app/views/admin/pages/_images.html.erb +18 -0
- data/app/views/admin/pages/_simple_editor.html.erb +1 -2
- data/app/views/admin/pages/_visual_editor.html.erb +2 -1
- data/app/views/admin/pages/index.html.erb +1 -1
- data/app/views/admin/settings/feedback.html.erb +2 -1
- data/app/views/admin/tags/edit.html.erb +1 -1
- data/app/views/articles/_article.html.erb +17 -13
- data/app/views/articles/_article_content.html.erb +1 -0
- data/app/views/articles/_comment_box.html.erb +1 -1
- data/app/views/articles/_password_form.html.erb +10 -0
- data/app/views/articles/groupings.html.erb +1 -1
- data/app/views/articles/index.html.erb +1 -2
- data/app/views/articles/read.html.erb +1 -4
- data/app/views/articles/search.html.erb +1 -1
- data/app/views/layouts/administration.html.erb +1 -1
- data/app/views/shared/_search.html.erb +1 -1
- data/config/ckeditor.yml +14 -0
- data/config/environment.rb +13 -25
- data/config/environments/test.rb +1 -3
- data/config/filemanager.yml +16 -0
- data/config/initializers/access_rules.rb +5 -0
- data/config/routes.rb +5 -1
- data/db/migrate/004_add_sidebars.rb +3 -9
- data/db/migrate/089_drop_cache_information_table.rb +31 -0
- data/db/migrate/090_remove_keywords_from_posts.rb +9 -0
- data/db/migrate/091_adds_password_protection_to_posts.rb +9 -0
- data/doc/CACHE.SETUP.README +36 -0
- data/lang/de_DE.rb +6 -1
- data/lang/pl_PL.rb +221 -89
- data/lib/filemanager.rb +53 -0
- data/lib/filemanager/controller.rb +217 -0
- data/lib/i18n_interpolation_deprecation.rb +26 -0
- data/lib/rails_patch/active_support.rb +4 -0
- data/lib/tasks/release.rake +4 -131
- data/lib/typo_version.rb +1 -1
- data/public/.htaccess +6 -5
- data/public/filemanager/images/avi.gif +0 -0
- data/public/filemanager/images/box.gif +0 -0
- data/public/filemanager/images/bullet.gif +0 -0
- data/public/filemanager/images/close.gif +0 -0
- data/public/filemanager/images/closelabel.gif +0 -0
- data/public/filemanager/images/doc.gif +0 -0
- data/public/filemanager/images/donate-button.gif +0 -0
- data/public/filemanager/images/download-icon.gif +0 -0
- data/public/filemanager/images/folder.gif +0 -0
- data/public/filemanager/images/gif.gif +0 -0
- data/public/filemanager/images/htm.gif +0 -0
- data/public/filemanager/images/html.gif +0 -0
- data/public/filemanager/images/image-1.jpg +0 -0
- data/public/filemanager/images/image.gif +0 -0
- data/public/filemanager/images/jpg.gif +0 -0
- data/public/filemanager/images/loading.gif +0 -0
- data/public/filemanager/images/mov.gif +0 -0
- data/public/filemanager/images/nextlabel.gif +0 -0
- data/public/filemanager/images/pdf.gif +0 -0
- data/public/filemanager/images/png.gif +0 -0
- data/public/filemanager/images/ppt.gif +0 -0
- data/public/filemanager/images/prevlabel.gif +0 -0
- data/public/filemanager/images/rar.gif +0 -0
- data/public/filemanager/images/rm.gif +0 -0
- data/public/filemanager/images/rmvb.gif +0 -0
- data/public/filemanager/images/separator.gif +0 -0
- data/public/filemanager/images/spacer.gif +0 -0
- data/public/filemanager/images/swf.gif +0 -0
- data/public/filemanager/images/thumb-1.jpg +0 -0
- data/public/filemanager/images/tool_copy.gif +0 -0
- data/public/filemanager/images/tool_cut.gif +0 -0
- data/public/filemanager/images/tool_del.gif +0 -0
- data/public/filemanager/images/tool_folder.gif +0 -0
- data/public/filemanager/images/tool_imagemanager.gif +0 -0
- data/public/filemanager/images/tool_new.gif +0 -0
- data/public/filemanager/images/tool_paste.gif +0 -0
- data/public/filemanager/images/tool_props.gif +0 -0
- data/public/filemanager/images/tool_refresh.gif +0 -0
- data/public/filemanager/images/tool_unzip.gif +0 -0
- data/public/filemanager/images/tool_upload.gif +0 -0
- data/public/filemanager/images/tool_zip.gif +0 -0
- data/public/filemanager/images/txt.gif +0 -0
- data/public/filemanager/images/unknown.gif +0 -0
- data/public/filemanager/images/wmv.gif +0 -0
- data/public/filemanager/images/xls.gif +0 -0
- data/public/filemanager/images/zip.gif +0 -0
- data/public/filemanager/javascripts/filemanager.js +6 -0
- data/public/filemanager/javascripts/lang/en.js +31 -0
- data/public/filemanager/javascripts/lang/zh_CN.js +31 -0
- data/public/filemanager/javascripts/lightbox.js +497 -0
- data/public/filemanager/javascripts/translate.js +42 -0
- data/public/filemanager/resources/resources.txt +1 -0
- data/public/filemanager/stylesheets/filelist.css +147 -0
- data/public/filemanager/stylesheets/general.css +135 -0
- data/public/filemanager/stylesheets/lightbox.css +27 -0
- data/public/javascripts/prototype_ext.js +117 -0
- data/public/stylesheets/administration.css +19 -2
- data/themes/dirtylicious/views/articles/_article.html.erb +16 -12
- data/themes/dirtylicious/views/articles/_article_content.html.erb +1 -0
- data/themes/dirtylicious/views/articles/_password_form.html.erb +10 -0
- data/themes/scribbish/views/articles/_article.html.erb +18 -14
- data/themes/scribbish/views/articles/_article_content.html.erb +1 -0
- data/themes/scribbish/views/articles/_password_form.html.erb +10 -0
- data/themes/standard_issue/views/articles/_article.html.erb +16 -12
- data/themes/standard_issue/views/articles/_article_content.html.erb +1 -0
- data/themes/standard_issue/views/articles/_password_form.html.erb +10 -0
- data/themes/true-blue-3/helpers/theme_helper.rb +2 -2
- data/themes/true-blue-3/images/submit_form.jpg +0 -0
- data/themes/true-blue-3/stylesheets/style.css +27 -3
- data/themes/true-blue-3/views/articles/_article.html.erb +13 -8
- data/themes/true-blue-3/views/articles/_article_content.html.erb +1 -0
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +1 -1
- data/themes/true-blue-3/views/articles/_password_form.html.erb +10 -0
- data/themes/true-blue-3/views/categories/_article.html.erb +5 -0
- data/themes/true-blue-3/views/tags/_article.html.erb +4 -0
- data/themes/typographic/views/articles/_article.html.erb +16 -12
- data/themes/typographic/views/articles/_article_content.html.erb +1 -0
- data/themes/typographic/views/articles/_password_form.html.erb +10 -0
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +2 -1
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +1 -20
- data/vendor/plugins/easy-ckeditor/{tasks → lib/tasks}/ckeditor_tasks.rake +0 -0
- data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +22 -0
- data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +512 -0
- data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +67 -0
- data/vendor/plugins/filemanager/filemanager.yml +16 -0
- data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +4 -2
- data/vendor/plugins/typo_converter/{tasks → lib/tasks}/typo_converters_tasks.rake +0 -0
- data/vendor/plugins/typo_login_system/lib/access_control.rb +24 -1
- data/vendor/plugins/typo_textfilter_code/{tasks → lib/tasks}/typo_textfilter_code_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +4 -3
- data/vendor/plugins/typo_textfilter_flickr/{tasks → lib/tasks}/typo_textfilter_flickr_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_htmlfilter/{tasks → lib/tasks}/typo_textfilter_htmlfilter_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_lightbox/{tasks → lib/tasks}/typo_textfilter_lightbox_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_markdown/{tasks → lib/tasks}/typo_textfilter_markdown_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_none/{tasks → lib/tasks}/typo_textfilter_none_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_smartypants/{tasks → lib/tasks}/typo_textfilter_smartypants_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_textile/{tasks → lib/tasks}/typo_textfilter_textile_tasks.rake +0 -0
- data/vendor/plugins/typo_textfilter_textile_and_markdown/{tasks → lib/tasks}/typo_textfilter_textile_and_markdown_tasks.rake +0 -0
- data/vendor/plugins/xml_sidebar/views/content.rhtml +1 -1
- metadata +190 -195
- data/app/controllers/admin/cache_controller.rb +0 -9
- data/app/models/cache_information.rb +0 -19
- data/db/schema.rb +0 -242
- data/doc/test_themes.rb +0 -50
- data/public/javascripts/ckeditor/config.js +0 -27
- data/spec/controllers/accounts_controller_spec.rb +0 -414
- data/spec/controllers/admin/cache_controller_spec.rb +0 -18
- data/spec/controllers/admin/categories_controller_spec.rb +0 -73
- data/spec/controllers/admin/content_controller_spec.rb +0 -443
- data/spec/controllers/admin/dashboard_controller_spec.rb +0 -13
- data/spec/controllers/admin/feedback_controller_spec.rb +0 -308
- data/spec/controllers/admin/pages_controller_spec.rb +0 -80
- data/spec/controllers/admin/profiles_controller_spec.rb +0 -22
- data/spec/controllers/admin/resources_controller_spec.rb +0 -53
- data/spec/controllers/admin/settings_controller_spec.rb +0 -80
- data/spec/controllers/admin/tags_controller_spec.rb +0 -64
- data/spec/controllers/admin/textfilters_controller_spec.rb +0 -20
- data/spec/controllers/admin/themes_controller_spec.rb +0 -30
- data/spec/controllers/admin/users_controller_spec.rb +0 -109
- data/spec/controllers/application_controller_spec.rb +0 -18
- data/spec/controllers/articles_controller_spec.rb +0 -440
- data/spec/controllers/authors_controller_spec.rb +0 -42
- data/spec/controllers/backend_controller_spec.rb +0 -337
- data/spec/controllers/categories_controller_spec.rb +0 -117
- data/spec/controllers/comments_controller_spec.rb +0 -137
- data/spec/controllers/routes/articles_routing_spec.rb +0 -31
- data/spec/controllers/routes/xml_routing_spec.rb +0 -71
- data/spec/controllers/setup_controller_spec.rb +0 -24
- data/spec/controllers/tags_controller_spec.rb +0 -147
- data/spec/controllers/textfilter_controller_spec.rb +0 -192
- data/spec/controllers/theme_controller_spec.rb +0 -39
- data/spec/controllers/xml_controller_spec.rb +0 -185
- data/spec/factories.rb +0 -69
- data/spec/helpers/application_helper_spec.rb +0 -25
- data/spec/helpers/content_helper_spec.rb +0 -28
- data/spec/lib/text_filter_plugin_spec.rb +0 -15
- data/spec/models/amazon_sidebar_spec.rb +0 -40
- data/spec/models/article_closing_spec.rb +0 -42
- data/spec/models/article_spec.rb +0 -515
- data/spec/models/blog_spec.rb +0 -116
- data/spec/models/cache_information_spec.rb +0 -42
- data/spec/models/cache_support_spec.rb +0 -51
- data/spec/models/category_spec.rb +0 -44
- data/spec/models/comment_spec.rb +0 -240
- data/spec/models/configuration_spec.rb +0 -91
- data/spec/models/content_state/feedback_states_spec.rb +0 -64
- data/spec/models/notification_spec.rb +0 -8
- data/spec/models/page_cache_spec.rb +0 -30
- data/spec/models/page_spec.rb +0 -91
- data/spec/models/ping_pinger_spec.rb +0 -33
- data/spec/models/ping_spec.rb +0 -154
- data/spec/models/redirect_spec.rb +0 -17
- data/spec/models/resource_spec.rb +0 -39
- data/spec/models/route_cache_spec.rb +0 -11
- data/spec/models/sidebar_spec.rb +0 -7
- data/spec/models/static_sidebar_spec.rb +0 -17
- data/spec/models/tag_spec.rb +0 -65
- data/spec/models/text_filter_spec.rb +0 -34
- data/spec/models/theme_spec.rb +0 -45
- data/spec/models/trackback_spec.rb +0 -60
- data/spec/models/trigger_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -198
- data/spec/rcov.opts +0 -2
- data/spec/spec.opts +0 -4
- data/spec/spec_helper.rb +0 -133
- data/spec/views/articles/index_spec.rb +0 -63
- data/spec/views/articles/read_spec.rb +0 -67
- data/spec/views/comments/html_sanitization_spec.rb +0 -119
- data/test/fixtures/blogs.yml +0 -27
- data/test/fixtures/categories.yml +0 -29
- data/test/fixtures/categorizations.yml +0 -31
- data/test/fixtures/contents.yml +0 -231
- data/test/fixtures/feedback.yml +0 -180
- data/test/fixtures/notification_mailer/article +0 -3
- data/test/fixtures/notification_mailer/comment +0 -3
- data/test/fixtures/notification_mailer/trackback +0 -3
- data/test/fixtures/notifications.yml +0 -0
- data/test/fixtures/page_caches.yml +0 -7
- data/test/fixtures/profiles.yml +0 -27
- data/test/fixtures/redirects.yml +0 -10
- data/test/fixtures/resources.yml +0 -21
- data/test/fixtures/sidebars.yml +0 -10
- data/test/fixtures/tags.yml +0 -10
- data/test/fixtures/text_filters.yml +0 -37
- data/test/fixtures/triggers.yml +0 -1
- data/test/fixtures/users.yml +0 -101
- data/test/mocks/test/dns_mock.rb +0 -13
- data/test/mocks/test/flickr_mock.rb +0 -30
- data/test/mocks/test/http_mock.rb +0 -39
- data/test/mocks/test/theme_mock.rb +0 -5
- data/test/mocks/test/xmlrpc_mock.rb +0 -28
- data/test/mocks/themes/123-numbers-in-path/about.markdown +0 -0
- data/test/mocks/themes/CamelCaseDirectory/about.markdown +0 -0
- data/test/mocks/themes/i-have-special-chars/about.markdown +0 -0
- data/test/mocks/themes/typographic/about.markdown +0 -7
- data/test/mocks/themes/typographic/images/Thumbs.db +0 -0
- data/test/mocks/themes/typographic/images/accept.png +0 -0
- data/test/mocks/themes/typographic/images/accept50.png +0 -0
- data/test/mocks/themes/typographic/images/bg_body.jpg +0 -0
- data/test/mocks/themes/typographic/images/bg_white.png +0 -0
- data/test/mocks/themes/typographic/images/bg_wrapper.jpg +0 -0
- data/test/mocks/themes/typographic/images/bullet_bottom.png +0 -0
- data/test/mocks/themes/typographic/images/bullet_right.png +0 -0
- data/test/mocks/themes/typographic/images/email_open.png +0 -0
- data/test/mocks/themes/typographic/images/email_open50.png +0 -0
- data/test/mocks/themes/typographic/images/meta.png +0 -0
- data/test/mocks/themes/typographic/images/page_edit.png +0 -0
- data/test/mocks/themes/typographic/images/page_edit50.png +0 -0
- data/test/mocks/themes/typographic/images/tag.png +0 -0
- data/test/mocks/themes/typographic/images/user.png +0 -0
- data/test/mocks/themes/typographic/images/user50.png +0 -0
- data/test/mocks/themes/typographic/images/world_link.png +0 -0
- data/test/mocks/themes/typographic/images/world_link50.png +0 -0
- data/test/mocks/themes/typographic/layouts/default.html.erb +0 -42
- data/test/mocks/themes/typographic/preview.png +0 -0
- data/test/mocks/themes/typographic/stylesheets/colors.css +0 -51
- data/test/mocks/themes/typographic/stylesheets/layout.css +0 -346
- data/test/mocks/themes/typographic/stylesheets/reset.css +0 -5
- data/test/mocks/themes/typographic/stylesheets/style.css +0 -36
- data/test/mocks/themes/typographic/views/articles/_article.html.erb +0 -41
- data/test/mocks/themes/typographic/views/articles/_comment.html.erb +0 -14
- data/test/mocks/themes/typographic/views/articles/_comment_form.html.erb +0 -48
- data/test/mocks/themes/typographic/views/articles/_comment_list.html.erb +0 -7
- data/test/mocks/themes/typographic/views/articles/_trackback.html.erb +0 -9
- data/test/mocks/themes/typographic/views/articles/comment_preview.html.erb +0 -10
- data/test/mocks/themes/typographic/views/articles/index.html.erb +0 -5
- data/test/mocks/themes/typographic/views/articles/read.html.erb +0 -42
- data/test/mocks/themes/typographic/views/shared/_search.html.erb +0 -17
- data/test/mocks/themes/typographic/views/theme/static_view_test.html.erb +0 -1
- data/test/test_helper.rb +0 -13
- data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
- data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
@@ -1,31 +0,0 @@
|
|
1
|
-
articles_categories1:
|
2
|
-
article: article1
|
3
|
-
category: software
|
4
|
-
|
5
|
-
articles_categories2:
|
6
|
-
article: article1
|
7
|
-
category: hardware
|
8
|
-
|
9
|
-
articles_categories3:
|
10
|
-
article: article1
|
11
|
-
category: personal
|
12
|
-
|
13
|
-
articles_categories4:
|
14
|
-
article: article2
|
15
|
-
category: personal
|
16
|
-
|
17
|
-
articles_categories5:
|
18
|
-
article: article3
|
19
|
-
category: personal
|
20
|
-
|
21
|
-
articles_categories6:
|
22
|
-
article: article4
|
23
|
-
category: personal
|
24
|
-
|
25
|
-
articles_categories7:
|
26
|
-
article: article1
|
27
|
-
category: strangelynamed
|
28
|
-
|
29
|
-
articles_categories8:
|
30
|
-
article: xmltest
|
31
|
-
category: xmltest
|
data/test/fixtures/contents.yml
DELETED
@@ -1,231 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
article1:
|
4
|
-
title: Article 1!
|
5
|
-
body: body
|
6
|
-
extended: "extended content"
|
7
|
-
created_at: <%= (Time.now - 2.days).to_s(:db) %>
|
8
|
-
updated_at: <%= (Time.now - 2.days).to_s(:db) %>
|
9
|
-
published_at: <%= (Time.now - 2.days).to_s(:db) %>
|
10
|
-
allow_comments: true
|
11
|
-
allow_pings: true
|
12
|
-
permalink: article-1
|
13
|
-
user: tobi
|
14
|
-
author: Tobi
|
15
|
-
guid: a87c4220-18d4-11da-aadd-0002a5d5c51b
|
16
|
-
type: Article
|
17
|
-
published: true
|
18
|
-
state: published
|
19
|
-
tags: foo, bar
|
20
|
-
text_filter: markdown_filter
|
21
|
-
|
22
|
-
article2:
|
23
|
-
type: Article
|
24
|
-
title: Article 2!
|
25
|
-
body: body
|
26
|
-
extended: extended content
|
27
|
-
created_at: <%= (Time.now - 1.days).to_s(:db) %>
|
28
|
-
updated_at: <%= (Time.now - 1.days).to_s(:db) %>
|
29
|
-
published_at: <%= (Time.now - 1.days).to_s(:db) %>
|
30
|
-
allow_comments: true
|
31
|
-
allow_pings: true
|
32
|
-
permalink: article-2
|
33
|
-
user: longbob
|
34
|
-
author: Bob
|
35
|
-
guid: bbbbb
|
36
|
-
published: true
|
37
|
-
state: published
|
38
|
-
tags: foo
|
39
|
-
|
40
|
-
|
41
|
-
article3:
|
42
|
-
type: Article
|
43
|
-
title: Article 3!
|
44
|
-
body: body
|
45
|
-
extended: extended content
|
46
|
-
created_at: 2004-06-01 20:00:02
|
47
|
-
updated_at: 2004-06-01 20:00:02
|
48
|
-
published_at: 2004-06-01 20:00:02
|
49
|
-
allow_comments: true
|
50
|
-
allow_pings: true
|
51
|
-
permalink: article-3
|
52
|
-
user: tobi
|
53
|
-
author: Tobi
|
54
|
-
guid: ccccc
|
55
|
-
published: true
|
56
|
-
state: published
|
57
|
-
|
58
|
-
article4:
|
59
|
-
type: Article
|
60
|
-
title: Article 4!
|
61
|
-
body: I'm not "public":http://www.example.com/public!
|
62
|
-
published: false
|
63
|
-
state: draft
|
64
|
-
created_at: 2004-06-01 20:00:01
|
65
|
-
updated_at: 2004-06-01 20:00:01
|
66
|
-
published_at: 2004-06-01 20:00:01
|
67
|
-
allow_comments: true
|
68
|
-
allow_pings: true
|
69
|
-
permalink: article-4
|
70
|
-
user: tobi
|
71
|
-
author: Tobi
|
72
|
-
guid: ddddd
|
73
|
-
tags: bar, bazz
|
74
|
-
|
75
|
-
first_page:
|
76
|
-
type: Page
|
77
|
-
name: page_one
|
78
|
-
title: Page One Title
|
79
|
-
body: ho ho ho
|
80
|
-
created_at: 2005-05-05 01:00:01
|
81
|
-
published_at: 2005-05-05 01:00:01
|
82
|
-
updated_at: 2005-05-05 01:00:01
|
83
|
-
user: tobi
|
84
|
-
published: true
|
85
|
-
state: published
|
86
|
-
|
87
|
-
another_page:
|
88
|
-
type: Page
|
89
|
-
name: page/two
|
90
|
-
title: Another Page Title
|
91
|
-
body: another body for yet another page
|
92
|
-
updated_at: 2005-05-05 01:00:00
|
93
|
-
created_at: 2005-05-05 01:00:00
|
94
|
-
published_at: 2005-05-05 01:00:00
|
95
|
-
user: tobi
|
96
|
-
published: true
|
97
|
-
state: published
|
98
|
-
|
99
|
-
markdown_page:
|
100
|
-
type: Page
|
101
|
-
name: markdown-page
|
102
|
-
title: Markdown Page
|
103
|
-
text_filter: markdown_filter
|
104
|
-
body: this is *markdown*.
|
105
|
-
created_at: 2005-05-05 01:00:02
|
106
|
-
updated_at: 2005-05-05 01:00:02
|
107
|
-
published_at: 2005-05-05 01:00:02
|
108
|
-
user: tobi
|
109
|
-
published: true
|
110
|
-
state: published
|
111
|
-
|
112
|
-
inactive_article:
|
113
|
-
type: Article
|
114
|
-
title: Inactive Article
|
115
|
-
body: body
|
116
|
-
extended: extended content
|
117
|
-
created_at: 2004-05-01 20:00:02
|
118
|
-
updated_at: 2004-05-01 20:00:02
|
119
|
-
published_at: 2004-05-01 20:00:02
|
120
|
-
allow_comments: true
|
121
|
-
allow_pings: true
|
122
|
-
permalink: inactive-article
|
123
|
-
user: tobi
|
124
|
-
author: Tobi
|
125
|
-
guid: i1n2a3c4t5i6v7e
|
126
|
-
published: true
|
127
|
-
state: published
|
128
|
-
|
129
|
-
search_target:
|
130
|
-
type: Article
|
131
|
-
title: Find me!
|
132
|
-
body: search target
|
133
|
-
extended: extended content
|
134
|
-
allow_comments: true
|
135
|
-
allow_pings: true
|
136
|
-
permalink: second-blog-article
|
137
|
-
created_at: 2004-04-01 12:00:00
|
138
|
-
updated_at: 2004-04-01 12:00:00
|
139
|
-
published_at: 2004-04-01 12:00:00
|
140
|
-
user: tobi
|
141
|
-
author: Tobi
|
142
|
-
guid: 2b1l0o6g4ar7
|
143
|
-
published: true
|
144
|
-
state: published
|
145
|
-
|
146
|
-
xmltest:
|
147
|
-
type: Article
|
148
|
-
title: Associations aren't :dependent => true anymore
|
149
|
-
body: originally seen on <a href="http://blog.rubyonrails.org/">blog.rubyonrails.org</a>
|
150
|
-
extended: extended content
|
151
|
-
allow_comments: true
|
152
|
-
allow_pings: true
|
153
|
-
permalink: associations-arent-dependent-true-anymore
|
154
|
-
created_at: 2003-04-28 05:31:01
|
155
|
-
updated_at: 2003-04-28 05:31:01
|
156
|
-
published_at: 2003-04-28 05:31:01
|
157
|
-
user: tobi
|
158
|
-
author: Tobi
|
159
|
-
guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3032
|
160
|
-
published: true
|
161
|
-
state: published
|
162
|
-
|
163
|
-
markdown_article:
|
164
|
-
type: Article
|
165
|
-
title: How made link with markdown
|
166
|
-
body: "in markdown format\n\n * we\n * use\n [ok](http://blog.ok.com) to define a link"
|
167
|
-
extended: extended content
|
168
|
-
allow_comments: true
|
169
|
-
allow_pings: true
|
170
|
-
permalink: associations-arent-dependent-true-anymore
|
171
|
-
created_at: 2003-04-28 05:31:00
|
172
|
-
updated_at: 2003-04-28 05:31:00
|
173
|
-
published_at: 2003-04-28 05:31:00
|
174
|
-
user: tobi
|
175
|
-
author: Tobi
|
176
|
-
guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3033
|
177
|
-
published: true
|
178
|
-
state: published
|
179
|
-
text_filter: markdown_filter
|
180
|
-
|
181
|
-
spammed_article:
|
182
|
-
type: Article
|
183
|
-
title: C'mon Spam Me!
|
184
|
-
body: A bunch of innocuous content
|
185
|
-
allow_comments: true
|
186
|
-
allow_pings: true
|
187
|
-
permalink: cmon-spam-me
|
188
|
-
created_at: 2001-01-01
|
189
|
-
updated_at: 2001-01-01
|
190
|
-
published_at: 2001-01-01
|
191
|
-
user: tobi
|
192
|
-
author: Tobi
|
193
|
-
guid: urn:uuid:0d676c66-4135-4a8b-9d65-b6a3248d3023
|
194
|
-
published: true
|
195
|
-
state: published
|
196
|
-
|
197
|
-
publisher_article:
|
198
|
-
title: Article write by publisher
|
199
|
-
body: body
|
200
|
-
extended: extended content
|
201
|
-
created_at: 2004-06-02 20:00:03
|
202
|
-
updated_at: 2004-06-02 20:00:03
|
203
|
-
published_at: 2004-06-02 20:00:03
|
204
|
-
allow_comments: true
|
205
|
-
allow_pings: true
|
206
|
-
permalink: article-write-by-publisher
|
207
|
-
user: user_publisher
|
208
|
-
author: user_publisher
|
209
|
-
guid: a87c4220-18d4-11db-aadd-1002a5d5c51c
|
210
|
-
type: Article
|
211
|
-
published: true
|
212
|
-
state: published
|
213
|
-
tags: foo, bar
|
214
|
-
|
215
|
-
utf8_article:
|
216
|
-
title: ルビー
|
217
|
-
body: body
|
218
|
-
extended: extended content
|
219
|
-
created_at: 2004-06-02 20:00:04
|
220
|
-
updated_at: 2004-06-02 20:00:04
|
221
|
-
published_at: 2004-06-02 20:00:04
|
222
|
-
allow_comments: true
|
223
|
-
allow_pings: true
|
224
|
-
permalink: ルビー
|
225
|
-
user: user_publisher
|
226
|
-
author: user_publisher
|
227
|
-
guid: a87c4220-18d4-11db-aadd-1002a5d5c51d
|
228
|
-
type: Article
|
229
|
-
published: true
|
230
|
-
state: published
|
231
|
-
tags: foo2, bar2
|
data/test/fixtures/feedback.yml
DELETED
@@ -1,180 +0,0 @@
|
|
1
|
-
spam_comment:
|
2
|
-
type: Comment
|
3
|
-
published: true
|
4
|
-
article: article2
|
5
|
-
author: Bob Foo
|
6
|
-
url: http://fakeurl.com
|
7
|
-
body: Test <a href="http://fakeurl.co.uk">body</a>
|
8
|
-
created_at: 2005-01-01 02:00:00
|
9
|
-
updated_at: 2005-01-01 02:00:00
|
10
|
-
published_at: 2005-01-01 02:00:00
|
11
|
-
guid: 12313123123123123
|
12
|
-
state: ham
|
13
|
-
|
14
|
-
comment_article2_spam:
|
15
|
-
type: Comment
|
16
|
-
published: true
|
17
|
-
article: article2
|
18
|
-
author: Bob Foo2
|
19
|
-
url: http://fakeurl.com
|
20
|
-
body: Test <a href="http://fakeurl.co.uk">body</a>
|
21
|
-
created_at: 2005-01-01 02:00:00
|
22
|
-
updated_at: 2005-01-01 02:00:00
|
23
|
-
published_at: 2005-01-01 02:00:00
|
24
|
-
guid: 12313123123123123
|
25
|
-
state: spam
|
26
|
-
|
27
|
-
comment2:
|
28
|
-
type: Comment
|
29
|
-
published: true
|
30
|
-
article: article1
|
31
|
-
author: John Bar
|
32
|
-
user: longbob
|
33
|
-
url: www.google.com
|
34
|
-
email: john.bar@google.com
|
35
|
-
body: Comment body _italic_ *bold*
|
36
|
-
created_at: 2005-01-01 02:00:01
|
37
|
-
updated_at: 2005-01-01 02:00:01
|
38
|
-
published_at: 2005-01-01 02:00:01
|
39
|
-
guid: 453456456456456
|
40
|
-
state: ham
|
41
|
-
|
42
|
-
comment3:
|
43
|
-
type: Comment
|
44
|
-
published: false
|
45
|
-
state: presumed_spam
|
46
|
-
status_confirmed: false
|
47
|
-
article: article1
|
48
|
-
author: Foo Bar
|
49
|
-
body: Zzzzzz
|
50
|
-
created_at: 2005-01-01 02:00:07
|
51
|
-
updated_at: 2005-01-01 02:00:07
|
52
|
-
published_at: 2005-01-01 02:00:07
|
53
|
-
guid: 4534564564564567
|
54
|
-
|
55
|
-
trackback1:
|
56
|
-
type: Trackback
|
57
|
-
article: article2
|
58
|
-
published: false
|
59
|
-
state: presumed_spam
|
60
|
-
status_confirmed: false
|
61
|
-
blog_name: Trackback Blog
|
62
|
-
title: Trackback Entry
|
63
|
-
url: http://www.example.com
|
64
|
-
excerpt: This is an excerpt
|
65
|
-
created_at: 2005-01-01 03:00:00
|
66
|
-
updated_at: 2005-01-01 03:00:00
|
67
|
-
published_at: 2005-01-01 03:00:00
|
68
|
-
guid: dsafsadffsdsf
|
69
|
-
|
70
|
-
trackback2:
|
71
|
-
type: Trackback
|
72
|
-
article: article1
|
73
|
-
state: presumed_ham
|
74
|
-
published: true
|
75
|
-
blog_name: Trackback Blog
|
76
|
-
title: Trackback Entry
|
77
|
-
url: http://www.example.com
|
78
|
-
excerpt: This is an excerpt
|
79
|
-
created_at: 2005-01-01 03:00:01
|
80
|
-
updated_at: 2005-01-01 03:00:01
|
81
|
-
published_at: 2005-01-01 03:00:01
|
82
|
-
guid: qweqweqddsfcs
|
83
|
-
|
84
|
-
trackback3:
|
85
|
-
type: Trackback
|
86
|
-
article: article1
|
87
|
-
published: true
|
88
|
-
state: presumed_ham
|
89
|
-
blog_name: Trackback Blog 2
|
90
|
-
title: Trackback Entry 2
|
91
|
-
url: http://www.example.com
|
92
|
-
excerpt: This is an excerpt
|
93
|
-
created_at: 2005-01-01 03:00:03
|
94
|
-
updated_at: 2005-01-01 03:00:03
|
95
|
-
published_at: 2005-01-01 03:00:03
|
96
|
-
guid: qweqweqddsfcs3
|
97
|
-
|
98
|
-
trackback4:
|
99
|
-
type: Trackback
|
100
|
-
article: search_target
|
101
|
-
published: true
|
102
|
-
state: presumed_ham
|
103
|
-
blog_name: Trackback Blog 2
|
104
|
-
title: Trackback Entry 2
|
105
|
-
url: http://www.example.com
|
106
|
-
excerpt: This is an excerpt
|
107
|
-
created_at: 2005-01-01 03:00:04
|
108
|
-
updated_at: 2005-01-01 03:00:04
|
109
|
-
published_at: 2005-01-01 03:00:04
|
110
|
-
guid: qweqweqddsfcs4
|
111
|
-
|
112
|
-
old_comment:
|
113
|
-
type: Comment
|
114
|
-
article: inactive_article
|
115
|
-
author: John Bar
|
116
|
-
guid: b1i2n3g4o5t6i7v
|
117
|
-
url: www.google.com
|
118
|
-
email: john.bar@google.com
|
119
|
-
body: Comment body _italic_ *bold*
|
120
|
-
created_at: 2004-05-02 20:00:02
|
121
|
-
updated_at: 2004-05-02 20:00:02
|
122
|
-
published_at: 2004-05-02 20:00:02
|
123
|
-
published: true
|
124
|
-
state: ham
|
125
|
-
|
126
|
-
probably_spam_comment:
|
127
|
-
type: Comment
|
128
|
-
published: false
|
129
|
-
article: spammed_article
|
130
|
-
author: Bob Foo
|
131
|
-
url: http://fakeurl.com
|
132
|
-
body: Test <a href="http://fakeurl.co.uk">body</a>
|
133
|
-
created_at: 2005-01-01 02:00:00
|
134
|
-
updated_at: 2005-01-01 02:00:00
|
135
|
-
published_at: 2005-01-01 02:00:00
|
136
|
-
guid: 12313123123123124
|
137
|
-
state: presumed_spam
|
138
|
-
status_confirmed: false
|
139
|
-
|
140
|
-
definitely_spam_comment:
|
141
|
-
type: Comment
|
142
|
-
published: false
|
143
|
-
article: spammed_article
|
144
|
-
author: Bob Foo
|
145
|
-
url: http://fakeurl.com
|
146
|
-
body: Test <a href="http://fakeurl.co.uk">body</a>
|
147
|
-
created_at: 2005-01-01 02:00:01
|
148
|
-
updated_at: 2005-01-01 02:00:01
|
149
|
-
published_at: 2005-01-01 02:00:01
|
150
|
-
guid: 12313123123123125
|
151
|
-
state: spam
|
152
|
-
status_confirmed: true
|
153
|
-
|
154
|
-
comment_on_publisher_article:
|
155
|
-
type: Comment
|
156
|
-
published: true
|
157
|
-
article: publisher_article
|
158
|
-
author: Bob Foo
|
159
|
-
url: http://fakeurl.com
|
160
|
-
body: Test <a href="http://fakeurl.co.uk">body</a>
|
161
|
-
created_at: 2005-01-01 02:00:01
|
162
|
-
updated_at: 2005-01-01 02:00:01
|
163
|
-
published_at: 2005-01-01 02:00:01
|
164
|
-
guid: 12313123123123126
|
165
|
-
state: ham
|
166
|
-
status_confirmed: true
|
167
|
-
|
168
|
-
comment_for_auto_link:
|
169
|
-
type: Comment
|
170
|
-
published: true
|
171
|
-
state: ham
|
172
|
-
status_confirmed: true
|
173
|
-
article: article3
|
174
|
-
author: Foo Bar
|
175
|
-
body: Hello foo@bar.com http://www.bar.com
|
176
|
-
created_at: 2005-01-01 02:00:07
|
177
|
-
updated_at: 2005-01-01 02:00:07
|
178
|
-
published_at: 2005-01-01 02:00:07
|
179
|
-
guid: 4534564564564568
|
180
|
-
|