publify_core 9.0.0.pre6 → 9.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of publify_core might be problematic. Click here for more details.

Files changed (395) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +103 -8
  3. data/README.md +9 -0
  4. data/app/assets/javascripts/bootstrap-sprockets.js +8 -0
  5. data/app/assets/javascripts/bootstrap/affix.js +164 -0
  6. data/app/assets/javascripts/bootstrap/alert.js +95 -0
  7. data/app/assets/javascripts/bootstrap/button.js +125 -0
  8. data/app/assets/javascripts/bootstrap/collapse.js +212 -0
  9. data/app/assets/javascripts/bootstrap/dropdown.js +165 -0
  10. data/app/assets/javascripts/bootstrap/modal.js +358 -0
  11. data/app/assets/javascripts/bootstrap/tab.js +155 -0
  12. data/app/assets/javascripts/bootstrap/transition.js +59 -0
  13. data/app/assets/javascripts/lightbox.js +4 -4
  14. data/app/assets/javascripts/publify_admin.js +1 -35
  15. data/app/assets/stylesheets/_bootstrap-compass.scss +9 -0
  16. data/app/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  17. data/app/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  18. data/app/assets/stylesheets/_bootstrap.scss +42 -0
  19. data/app/assets/stylesheets/administration_structure.css.scss +1 -45
  20. data/app/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  21. data/app/assets/stylesheets/bootstrap/_button-groups.scss +242 -0
  22. data/app/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  23. data/app/assets/stylesheets/bootstrap/_close.scss +37 -0
  24. data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
  25. data/app/assets/stylesheets/bootstrap/_component-animations.scss +38 -0
  26. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +213 -0
  27. data/app/assets/stylesheets/bootstrap/_forms.scss +586 -0
  28. data/app/assets/stylesheets/bootstrap/_grid.scss +94 -0
  29. data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
  30. data/app/assets/stylesheets/bootstrap/_media.scss +66 -0
  31. data/app/assets/stylesheets/bootstrap/_mixins.scss +37 -0
  32. data/app/assets/stylesheets/bootstrap/_modals.scss +150 -0
  33. data/app/assets/stylesheets/bootstrap/_navbar.scss +479 -0
  34. data/app/assets/stylesheets/bootstrap/_navs.scss +242 -0
  35. data/app/assets/stylesheets/bootstrap/_normalize.scss +427 -0
  36. data/app/assets/stylesheets/bootstrap/_pagination.scss +86 -0
  37. data/app/assets/stylesheets/bootstrap/_panels.scss +222 -0
  38. data/app/assets/stylesheets/bootstrap/_print.scss +99 -0
  39. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +160 -0
  40. data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
  41. data/app/assets/stylesheets/bootstrap/_theme.scss +224 -0
  42. data/app/assets/stylesheets/bootstrap/_type.scss +296 -0
  43. data/app/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  44. data/app/assets/stylesheets/bootstrap/_variables.scss +638 -0
  45. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  46. data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +15 -0
  47. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  48. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  49. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +56 -0
  50. data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  51. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  52. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +82 -0
  53. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +56 -0
  54. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  55. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  56. data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  57. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +28 -0
  58. data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  59. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  60. data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  61. data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +7 -0
  62. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  63. data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +20 -0
  64. data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  65. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  66. data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +17 -0
  67. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  68. data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  69. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  70. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  71. data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  72. data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  73. data/app/assets/stylesheets/lightbox.css +3 -3
  74. data/app/assets/stylesheets/publify_admin.css.scss +0 -1
  75. data/app/controllers/accounts_controller.rb +2 -0
  76. data/app/controllers/admin/base_controller.rb +8 -22
  77. data/app/controllers/admin/content_controller.rb +69 -48
  78. data/app/controllers/admin/dashboard_controller.rb +20 -74
  79. data/app/controllers/admin/feedback_controller.rb +45 -36
  80. data/app/controllers/admin/notes_controller.rb +16 -10
  81. data/app/controllers/admin/pages_controller.rb +20 -34
  82. data/app/controllers/admin/post_types_controller.rb +7 -5
  83. data/app/controllers/admin/profiles_controller.rb +15 -5
  84. data/app/controllers/admin/redirects_controller.rb +9 -5
  85. data/app/controllers/admin/resources_controller.rb +7 -4
  86. data/app/controllers/admin/seo_controller.rb +12 -10
  87. data/app/controllers/admin/settings_controller.rb +7 -5
  88. data/app/controllers/admin/sidebar_controller.rb +7 -5
  89. data/app/controllers/admin/tags_controller.rb +7 -3
  90. data/app/controllers/admin/themes_controller.rb +10 -7
  91. data/app/controllers/admin/users_controller.rb +10 -7
  92. data/app/controllers/articles_controller.rb +92 -81
  93. data/app/controllers/authors_controller.rb +6 -3
  94. data/app/controllers/base_controller.rb +9 -11
  95. data/app/controllers/comments_controller.rb +15 -16
  96. data/app/controllers/content_controller.rb +12 -19
  97. data/app/controllers/feedback_controller.rb +7 -39
  98. data/app/controllers/notes_controller.rb +6 -6
  99. data/app/controllers/setup_controller.rb +25 -26
  100. data/app/controllers/tags_controller.rb +16 -16
  101. data/app/controllers/text_controller.rb +2 -4
  102. data/app/controllers/textfilter_controller.rb +2 -0
  103. data/app/controllers/theme_controller.rb +23 -16
  104. data/app/controllers/xml_controller.rb +13 -59
  105. data/app/helpers/admin/base_helper.rb +28 -29
  106. data/app/helpers/admin/feedback_helper.rb +34 -24
  107. data/app/helpers/articles_helper.rb +4 -2
  108. data/app/helpers/authors_helper.rb +9 -18
  109. data/app/helpers/base_helper.rb +66 -55
  110. data/app/helpers/blog_helper.rb +4 -2
  111. data/app/helpers/xml_helper.rb +5 -3
  112. data/app/jobs/application_job.rb +4 -0
  113. data/app/mailers/notification_mailer.rb +5 -3
  114. data/app/models/ability.rb +25 -23
  115. data/app/models/archives_sidebar.rb +18 -18
  116. data/app/models/article.rb +84 -99
  117. data/app/models/article/factory.rb +14 -6
  118. data/app/models/blog.rb +98 -110
  119. data/app/models/comment.rb +14 -10
  120. data/app/models/config_manager.rb +4 -2
  121. data/app/models/content.rb +45 -61
  122. data/app/models/content_base.rb +7 -6
  123. data/app/models/feedback.rb +91 -65
  124. data/app/models/meta_sidebar.rb +5 -3
  125. data/app/models/note.rb +31 -23
  126. data/app/models/page.rb +16 -10
  127. data/app/models/page_sidebar.rb +4 -2
  128. data/app/models/ping.rb +2 -113
  129. data/app/models/post_type.rb +4 -3
  130. data/app/models/redirect.rb +13 -7
  131. data/app/models/redirection.rb +3 -1
  132. data/app/models/resource.rb +6 -22
  133. data/app/models/search_sidebar.rb +4 -2
  134. data/app/models/sidebar.rb +12 -7
  135. data/app/models/static_sidebar.rb +15 -13
  136. data/app/models/tag.rb +23 -15
  137. data/app/models/tag_sidebar.rb +10 -7
  138. data/app/models/text_filter.rb +85 -11
  139. data/app/models/trackback.rb +7 -18
  140. data/app/models/trigger.rb +8 -19
  141. data/app/models/user.rb +46 -52
  142. data/app/services/title_builder.rb +52 -45
  143. data/app/uploaders/resource_uploader.rb +35 -2
  144. data/app/views/accounts/confirm.html.erb +3 -4
  145. data/app/views/admin/content/_article_list.html.erb +24 -9
  146. data/app/views/admin/content/_form.html.erb +71 -51
  147. data/app/views/admin/content/autosave.js.erb +2 -2
  148. data/app/views/admin/content/edit.html.erb +1 -1
  149. data/app/views/admin/content/index.html.erb +25 -15
  150. data/app/views/admin/content/new.html.erb +2 -2
  151. data/app/views/admin/dashboard/_comment.html.erb +5 -5
  152. data/app/views/admin/dashboard/_comments.html.erb +2 -2
  153. data/app/views/admin/dashboard/_drafts.html.erb +5 -5
  154. data/app/views/admin/dashboard/_overview.html.erb +7 -9
  155. data/app/views/admin/dashboard/_welcome.html.erb +11 -11
  156. data/app/views/admin/dashboard/index.html.erb +12 -7
  157. data/app/views/admin/feedback/_button.html.erb +6 -6
  158. data/app/views/admin/feedback/_feedback.html.erb +3 -3
  159. data/app/views/admin/feedback/_ham.html.erb +27 -9
  160. data/app/views/admin/feedback/_spam.html.erb +26 -16
  161. data/app/views/admin/feedback/article.html.erb +20 -21
  162. data/app/views/admin/feedback/edit.html.erb +14 -15
  163. data/app/views/admin/feedback/{ham.js → ham.js.erb} +0 -0
  164. data/app/views/admin/feedback/index.html.erb +25 -23
  165. data/app/views/admin/feedback/{spam.js → spam.js.erb} +0 -0
  166. data/app/views/admin/migrations/show.html.erb +10 -11
  167. data/app/views/admin/notes/_form.html.erb +13 -13
  168. data/app/views/admin/notes/_list.html.erb +19 -8
  169. data/app/views/admin/notes/_note.html.erb +12 -7
  170. data/app/views/admin/notes/edit.html.erb +6 -1
  171. data/app/views/admin/notes/index.html.erb +5 -1
  172. data/app/views/admin/notes/show.html.erb +2 -2
  173. data/app/views/admin/pages/_form.html.erb +86 -77
  174. data/app/views/admin/pages/_pages.html.erb +11 -4
  175. data/app/views/admin/pages/edit.html.erb +3 -1
  176. data/app/views/admin/pages/index.html.erb +10 -6
  177. data/app/views/admin/pages/new.html.erb +3 -1
  178. data/app/views/admin/post_types/_index_and_form.html.erb +15 -16
  179. data/app/views/admin/post_types/edit.html.erb +1 -1
  180. data/app/views/admin/post_types/index.html.erb +1 -1
  181. data/app/views/admin/profiles/index.html.erb +2 -3
  182. data/app/views/admin/redirects/_index_and_form.html.erb +10 -11
  183. data/app/views/admin/redirects/edit.html.erb +1 -1
  184. data/app/views/admin/redirects/index.html.erb +1 -1
  185. data/app/views/admin/resources/index.html.erb +19 -16
  186. data/app/views/admin/seo/_general.html.erb +40 -59
  187. data/app/views/admin/seo/_permalinks.html.erb +17 -17
  188. data/app/views/admin/seo/_titles.html.erb +81 -82
  189. data/app/views/admin/seo/show.html.erb +14 -19
  190. data/app/views/admin/settings/display.html.erb +42 -52
  191. data/app/views/admin/settings/feedback.html.erb +59 -67
  192. data/app/views/admin/settings/index.html.erb +30 -31
  193. data/app/views/admin/settings/write.html.erb +27 -46
  194. data/app/views/admin/shared/_edit.html.erb +3 -3
  195. data/app/views/admin/shared/_menu.html.erb +26 -26
  196. data/app/views/admin/shared/_twitter_alert.html.erb +1 -1
  197. data/app/views/admin/sidebar/_config.html.erb +5 -5
  198. data/app/views/admin/sidebar/_target_sidebar.html.erb +4 -4
  199. data/app/views/admin/sidebar/index.html.erb +7 -7
  200. data/app/views/admin/tags/_index_and_form.html.erb +11 -12
  201. data/app/views/admin/tags/edit.html.erb +1 -1
  202. data/app/views/admin/tags/index.html.erb +1 -1
  203. data/app/views/admin/themes/index.html.erb +5 -6
  204. data/app/views/admin/users/_form.html.erb +34 -34
  205. data/app/views/admin/users/edit.html.erb +2 -2
  206. data/app/views/admin/users/index.html.erb +10 -12
  207. data/app/views/admin/users/new.html.erb +2 -2
  208. data/app/views/archives_sidebar/_content.html.erb +2 -2
  209. data/app/views/articles/_archives_article.html.erb +9 -0
  210. data/app/views/articles/_article.html.erb +9 -9
  211. data/app/views/articles/_article_author.html.erb +4 -0
  212. data/app/views/articles/_article_collection.html.erb +1 -1
  213. data/app/views/articles/_article_content.html.erb +2 -2
  214. data/app/views/articles/_article_excerpt.html.erb +11 -9
  215. data/app/views/articles/_article_links.html.erb +5 -3
  216. data/app/views/articles/_comment_errors.html.erb +1 -1
  217. data/app/views/articles/_comment_form.html.erb +12 -12
  218. data/app/views/articles/_comment_list.html.erb +5 -5
  219. data/app/views/articles/_comment_preview.html.erb +3 -3
  220. data/app/views/articles/_full_article_content.html.erb +4 -2
  221. data/app/views/articles/_password_form.html.erb +4 -4
  222. data/app/views/articles/_trackback.html.erb +2 -2
  223. data/app/views/articles/archives.html.erb +11 -21
  224. data/app/views/articles/feedback_atom_feed.atom.builder +7 -5
  225. data/app/views/articles/feedback_rss_feed.rss.builder +11 -11
  226. data/app/views/articles/index_atom_feed.atom.builder +5 -4
  227. data/app/views/articles/index_rss_feed.rss.builder +8 -8
  228. data/app/views/articles/live_search.html.erb +3 -3
  229. data/app/views/articles/read.html.erb +19 -37
  230. data/app/views/articles/search.html.erb +3 -3
  231. data/app/views/articles/trackback.xml.builder +3 -1
  232. data/app/views/articles/view_page.html.erb +2 -2
  233. data/app/views/authors/show.html.erb +18 -28
  234. data/app/views/authors/show_atom_feed.atom.builder +5 -4
  235. data/app/views/authors/show_rss_feed.rss.builder +8 -8
  236. data/app/views/comments/_comment.html.erb +17 -16
  237. data/app/views/devise/mailer/reset_password_instructions.html.erb +7 -9
  238. data/app/views/devise/passwords/edit.html.erb +4 -4
  239. data/app/views/devise/passwords/new.html.erb +1 -1
  240. data/app/views/devise/registrations/new.html.erb +5 -5
  241. data/app/views/devise/sessions/new.html.erb +3 -3
  242. data/app/views/errors/404.html.erb +2 -2
  243. data/app/views/feedback/index.atom.builder +9 -0
  244. data/app/views/feedback/index.rss.builder +20 -0
  245. data/app/views/layouts/accounts.html.erb +26 -26
  246. data/app/views/layouts/administration.html.erb +31 -31
  247. data/app/views/layouts/default.html.erb +4 -3
  248. data/app/views/layouts/editor.html.erb +5 -19
  249. data/app/views/meta_sidebar/_content.html.erb +2 -2
  250. data/app/views/notes/_note.html.erb +16 -15
  251. data/app/views/notes/index.html.erb +2 -2
  252. data/app/views/notes/show_in_reply.html.erb +1 -1
  253. data/app/views/notification_mailer/_mail_footer.html.erb +3 -5
  254. data/app/views/notification_mailer/_mail_header.html.erb +2 -0
  255. data/app/views/notification_mailer/article.html.erb +5 -4
  256. data/app/views/notification_mailer/comment.html.erb +9 -8
  257. data/app/views/notification_mailer/notif_user.html.erb +4 -9
  258. data/app/views/page_sidebar/_content.html.erb +1 -1
  259. data/app/views/search_sidebar/_content.html.erb +2 -2
  260. data/app/views/settings/install.html.erb +2 -2
  261. data/app/views/setup/index.html.erb +9 -5
  262. data/app/views/shared/_atom_header.atom.builder +4 -4
  263. data/app/views/shared/_atom_item_article.atom.builder +19 -22
  264. data/app/views/shared/_atom_item_comment.atom.builder +5 -5
  265. data/app/views/shared/_atom_item_trackback.atom.builder +5 -4
  266. data/app/views/shared/_google_analytics.html.erb +8 -0
  267. data/app/views/shared/_page_header.html.erb +10 -13
  268. data/app/views/shared/_rss_item_article.rss.builder +12 -15
  269. data/app/views/shared/_rss_item_comment.rss.builder +2 -1
  270. data/app/views/shared/_rss_item_trackback.rss.builder +2 -0
  271. data/app/views/sidebar/display_plugins.html.erb +1 -1
  272. data/app/views/tag_sidebar/_content.html.erb +1 -1
  273. data/app/views/tags/index.html.erb +2 -2
  274. data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +2 -0
  275. data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +2 -0
  276. data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +2 -0
  277. data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +2 -0
  278. data/app/views/xml/sitemap.googlesitemap.builder +9 -0
  279. data/config/i18n-tasks.yml +0 -5
  280. data/config/initializers/devise.rb +10 -4
  281. data/config/initializers/mime_types.rb +3 -2
  282. data/config/locales/da.yml +140 -108
  283. data/config/locales/de.yml +147 -111
  284. data/config/locales/en.yml +133 -102
  285. data/config/locales/es-MX.yml +141 -106
  286. data/config/locales/fr.yml +172 -122
  287. data/config/locales/he.yml +132 -105
  288. data/config/locales/it.yml +141 -108
  289. data/config/locales/ja.yml +115 -100
  290. data/config/locales/lt.yml +158 -110
  291. data/config/locales/nb-NO.yml +128 -101
  292. data/config/locales/nl.yml +147 -113
  293. data/config/locales/pl.yml +335 -275
  294. data/config/locales/pt-BR.yml +143 -107
  295. data/config/locales/ro.yml +155 -108
  296. data/config/locales/ru.yml +166 -105
  297. data/config/locales/zh-CN.yml +112 -96
  298. data/config/locales/zh-TW.yml +116 -99
  299. data/config/routes.rb +70 -87
  300. data/db/migrate/113_initial_schema.rb +6 -6
  301. data/db/migrate/114_fixes_buggy_articles_and_notes.rb +8 -6
  302. data/db/migrate/115_drops_categories_for_tags.rb +7 -6
  303. data/db/migrate/20150207131657_add_missing_indexes.rb +3 -1
  304. data/db/migrate/20150807134129_simplify_redirect_relations.rb +6 -1
  305. data/db/migrate/20150808052637_add_blog_ids.rb +11 -7
  306. data/db/migrate/20150808191127_add_blog_id_to_redirects.rb +3 -1
  307. data/db/migrate/20150810094754_add_blog_id_to_tags.rb +3 -1
  308. data/db/migrate/20160108111120_add_devise_to_users.rb +3 -1
  309. data/db/migrate/20160108184201_move_last_connection_to_last_sign_in_at.rb +3 -1
  310. data/db/migrate/20160110094906_remove_profiles_rights.rb +3 -1
  311. data/db/migrate/20160605103918_replace_profile_id_with_string.rb +3 -3
  312. data/db/migrate/20160605154632_remove_profiles.rb +12 -7
  313. data/db/migrate/20160701061851_demand_blog_id_on_contents.rb +3 -1
  314. data/db/migrate/20160701062604_add_blog_id_to_resources.rb +3 -1
  315. data/db/migrate/20170528093024_move_resources_to_content.rb +7 -0
  316. data/db/migrate/20170528094923_move_tags_to_content.rb +8 -0
  317. data/db/migrate/20170528201606_remove_separate_published_flag.rb +7 -0
  318. data/db/migrate/20170605071626_remove_extra_state_columns_from_feedback.rb +8 -0
  319. data/db/migrate/20170702105201_remove_published_at_from_feedback.rb +7 -0
  320. data/db/migrate/20190208151235_add_text_filter_name_fields.rb +9 -0
  321. data/db/migrate/20190208152646_move_text_filter_to_name.rb +97 -0
  322. data/db/migrate/20190209155717_remove_text_filter_ids.rb +19 -0
  323. data/db/migrate/20190209160610_remove_text_filters.rb +17 -0
  324. data/db/migrate/20200413140440_add_unique_indexes.rb +10 -0
  325. data/db/seeds.rb +8 -20
  326. data/lib/email_notify.rb +3 -1
  327. data/lib/format.rb +4 -12
  328. data/lib/publify_core.rb +36 -36
  329. data/lib/publify_core/engine.rb +11 -4
  330. data/lib/publify_core/lang.rb +5 -1
  331. data/lib/publify_core/testing_support/dns_mock.rb +15 -0
  332. data/lib/publify_core/testing_support/factories.rb +240 -0
  333. data/lib/publify_core/testing_support/feed_assertions.rb +48 -0
  334. data/lib/publify_core/testing_support/fixtures/exploit.svg +4 -0
  335. data/lib/publify_core/testing_support/fixtures/fakepng.png +1 -0
  336. data/lib/publify_core/testing_support/fixtures/otherfile.txt +1 -0
  337. data/lib/publify_core/testing_support/fixtures/testfile.png +0 -0
  338. data/lib/publify_core/testing_support/fixtures/testfile.txt +1 -0
  339. data/lib/publify_core/testing_support/upload_fixtures.rb +15 -0
  340. data/lib/publify_core/version.rb +3 -1
  341. data/lib/publify_guid.rb +4 -2
  342. data/lib/publify_plugins.rb +10 -5
  343. data/lib/publify_textfilter_markdown.rb +38 -25
  344. data/lib/publify_textfilter_none.rb +5 -3
  345. data/lib/publify_textfilter_smartypants.rb +5 -3
  346. data/lib/publify_textfilter_textile.rb +7 -4
  347. data/lib/publify_textfilter_twitterfilter.rb +13 -7
  348. data/lib/publify_time.rb +6 -2
  349. data/lib/sidebar_field.rb +29 -20
  350. data/lib/sidebar_registry.rb +5 -3
  351. data/lib/spam_protection.rb +19 -17
  352. data/lib/tasks/i18n.rake +9 -0
  353. data/lib/tasks/manifest.rake +30 -0
  354. data/lib/tasks/publify_core_tasks.rake +2 -0
  355. data/lib/text_filter_plugin.rb +30 -29
  356. data/lib/theme.rb +5 -5
  357. data/lib/transforms.rb +22 -20
  358. data/{app/assets/stylesheets/publify_core/.keep → themes/plain/javascripts/theme.js} +0 -0
  359. metadata +304 -130
  360. data/.gitignore +0 -13
  361. data/.rspec +0 -2
  362. data/.rubocop.yml +0 -84
  363. data/.rubocop_todo.yml +0 -148
  364. data/.travis.yml +0 -27
  365. data/Gemfile +0 -17
  366. data/README.rdoc +0 -3
  367. data/Rakefile +0 -35
  368. data/app/assets/javascripts/widearea.js +0 -486
  369. data/app/assets/stylesheets/widearea.css +0 -133
  370. data/app/controllers/.keep +0 -0
  371. data/app/controllers/admin/migrations_controller.rb +0 -19
  372. data/app/controllers/admin/textfilters_controller.rb +0 -6
  373. data/app/controllers/concerns/.keep +0 -0
  374. data/app/controllers/trackbacks_controller.rb +0 -36
  375. data/app/helpers/.keep +0 -0
  376. data/app/mailers/.keep +0 -0
  377. data/app/models/.keep +0 -0
  378. data/app/models/article/states.rb +0 -179
  379. data/app/models/concerns/.keep +0 -0
  380. data/app/models/feedback/states.rb +0 -256
  381. data/app/services/migrator.rb +0 -25
  382. data/app/views/.keep +0 -0
  383. data/app/views/admin/dashboard/_inbound.html.erb +0 -31
  384. data/app/views/admin/notes/_header.html.erb +0 -6
  385. data/app/views/articles/_protected_article_content.html.erb +0 -6
  386. data/app/views/comments/index.html.erb +0 -1
  387. data/app/views/comments/index_atom_feed.atom.builder +0 -8
  388. data/app/views/comments/index_rss_feed.rss.builder +0 -20
  389. data/app/views/trackbacks/index_atom_feed.atom.builder +0 -7
  390. data/app/views/trackbacks/index_rss_feed.rss.builder +0 -20
  391. data/app/views/trackbacks/trackback.xml.builder +0 -4
  392. data/app/views/xml/feed.googlesitemap.builder +0 -7
  393. data/app/views/xml/rsd.rsd.builder +0 -8
  394. data/lib/stateful.rb +0 -106
  395. data/publify_core.gemspec +0 -54
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  feed.item do
2
4
  feed.title item.feed_title
3
5
  feed.description item.excerpt
@@ -1,4 +1,4 @@
1
- <% benchmark "BENCHMARK: display_plugins" do %>
1
+ <% benchmark 'BENCHMARK: display_plugins' do %>
2
2
  <% @sidebars.each do |sidebar| %>
3
3
  <%= render sidebar %>
4
4
  <% end %>
@@ -1,5 +1,5 @@
1
1
  <% unless sidebar.tags.blank? %>
2
- <h3 class="sidebar-title"><%= t(".tags")%></h3>
2
+ <h3 class="sidebar-title"><%= t('.tags') %></h3>
3
3
  <div class="sidebar-body">
4
4
  <p style="overflow:hidden">
5
5
  <% sidebar.tags.each do |tag| %>
@@ -9,7 +9,7 @@
9
9
  <% end %>
10
10
  </ul>
11
11
  <% else %>
12
- <p><%= t(".there_is_no_tags") %></p>
12
+ <p><%= t('.there_are_no_tags') %></p>
13
13
  <% end %>
14
14
  </div>
15
- <p><%= paginate(@tags, right: "#{t(".next_page")} &raquo;", left: "&laquo; #{t('.previous_page')}") %></p>
15
+ <p><%= paginate @tags %></p>
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  xm.url do
2
4
  xm.loc item.permalink_url
3
5
  xm.lastmod item.updated_at.xmlschema
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  xm.url do
2
4
  xm.loc item.permalink_url
3
5
  xm.lastmod collection_lastmod(item)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  xm.url do
2
4
  xm.loc item.permalink_url
3
5
  xm.lastmod item.updated_at.xmlschema
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  xm.url do
2
4
  xm.loc item.permalink_url
3
5
  xm.lastmod collection_lastmod(item)
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ xml.instruct! :xml, version: "1.0", encoding: "UTF-8"
4
+ xml.urlset "xmlns" => "http://www.google.com/schemas/sitemap/0.84" do
5
+ @items.each do |item|
6
+ render "googlesitemap_item_#{item.class.name.to_s.downcase}",
7
+ item: item, xm: xml
8
+ end
9
+ end
@@ -17,11 +17,6 @@ data:
17
17
  - ['*_sidebar.*', 'config/locales/sidebars.%{locale}.yml']
18
18
  - config/locales/%{locale}.yml
19
19
 
20
- yaml:
21
- write:
22
- # do not wrap lines at 80 characters
23
- line_width: -1
24
-
25
20
  # Find translate calls
26
21
  search:
27
22
  ## Paths or `File.find` patterns to search in:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Use this hook to configure devise mailer, warden hooks and so forth.
2
4
  # Many of these configuration options can be set straight in your model.
3
5
  Devise.setup do |config|
@@ -6,13 +8,15 @@ Devise.setup do |config|
6
8
  # confirmation, reset password and unlock tokens in the database.
7
9
  # Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key`
8
10
  # by default. You can change it below and use your own secret key.
9
- # config.secret_key = '99a1fd068906f7a32686e001fff91fdfb88703303de85657ab63ad5405ae7c3b215c144c0dd4eaf2e68f3e3dae8c43e132968dd0b32e4c78ac1e86b202e3c6ee'
11
+ # config.secret_key =
12
+ # '99a1fd068906f7a32686e001fff91fdfb88703303de85657ab63ad5405ae7c3b' \
13
+ # '215c144c0dd4eaf2e68f3e3dae8c43e132968dd0b32e4c78ac1e86b202e3c6ee'
10
14
 
11
15
  # ==> Mailer Configuration
12
16
  # Configure the e-mail address which will be shown in Devise::Mailer,
13
17
  # note that it will be overwritten if you use your own mailer class
14
18
  # with default "from" parameter.
15
- config.mailer_sender = 'default@publify.co'
19
+ config.mailer_sender = "change-me@example.com"
16
20
 
17
21
  # Configure the class responsible to send e-mails.
18
22
  # config.mailer = 'Devise::Mailer'
@@ -21,7 +25,7 @@ Devise.setup do |config|
21
25
  # Load and configure the ORM. Supports :active_record (default) and
22
26
  # :mongoid (bson_ext recommended) by default. Other ORMs may be
23
27
  # available as additional gems.
24
- require 'devise/orm/active_record'
28
+ require "devise/orm/active_record"
25
29
 
26
30
  # ==> Configuration for any authentication mechanism
27
31
  # Configure which keys are used when authenticating a user. The default is
@@ -99,7 +103,9 @@ Devise.setup do |config|
99
103
  config.stretches = Rails.env.test? ? 1 : 10
100
104
 
101
105
  # Setup a pepper to generate the encrypted password.
102
- # config.pepper = 'cd666dfd37982f9981838aa0bc32a04099d309a831dffcf64c3ec1814e9ae9ad4fde148638675ee2443b5c532222ff007c032e76fc0eec24c5fb4fccfd3546a3'
106
+ # config.pepper =
107
+ # 'cd666dfd37982f9981838aa0bc32a04099d309a831dffcf64c3ec1814e9ae9ad' \
108
+ # '4fde148638675ee2443b5c532222ff007c032e76fc0eec24c5fb4fccfd3546a3'
103
109
 
104
110
  # Send a notification email when the user's password is changed
105
111
  # config.send_password_change_notification = false
@@ -1,6 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Be sure to restart your server when you modify this file.
2
4
 
3
5
  # Add new mime types for use in respond_to blocks:
4
6
  # Mime::Type.register "text/richtext", :rtf
5
- Mime::Type.register_alias "application/xml", :googlesitemap
6
- Mime::Type.register "application/rsd+xml", :rsd
7
+ Mime::Type.register_alias "application/xml", :googlesitemap
@@ -5,9 +5,9 @@ da:
5
5
  back_to_login: Back to login
6
6
  confirm:
7
7
  admin: admin
8
- dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be able to login anymore
8
+ dont_lose_the_mail_sent: Don't lose the mail sent at %{email} or you won't be
9
+ able to login anymore
9
10
  login: Brugernavn %{login}
10
- password: Kodeord %{password}
11
11
  proceed_to: Proceed to %{link}
12
12
  success: You have successfully signed up.
13
13
  create_account: Create an account
@@ -30,6 +30,7 @@ da:
30
30
  access_granted:
31
31
  error: Error, you are not allowed to perform this action
32
32
  article_list:
33
+ feedback: Diskussion
33
34
  no_articles: There are no articles yet. Why don't you start and create one?
34
35
  autosave:
35
36
  success: Article was successfully saved
@@ -38,13 +39,10 @@ da:
38
39
  form:
39
40
  allow_comments: Tillad kommentarer
40
41
  allow_comments_status:
41
- one: aktiveret
42
- zero: disabled
43
- allow_pings_status:
44
- one: aktiveret
45
- zero: disabled
46
- allow_trackbacks: Tillad Trackbacks
47
- allowed_comments_and_trackbacks_html: Comments are %{allow_comment} and trackbacks are %{allow_trackback}
42
+ disabled: disabled
43
+ enabled: aktiveret
44
+ allowed_comments_html: Comments are %{allow_comment}
45
+ article_filter: Artikelfilter
48
46
  article_type: Article type
49
47
  cancel: Anuller
50
48
  default: Default
@@ -62,20 +60,28 @@ da:
62
60
  save_as_draft: Save as draft
63
61
  status: Status
64
62
  tags: Tags
65
- tags_explanation_html: Separate tags with commas. Use double quotes (&quot;) around multi-word tags, e.g. &quot;opera house&quot;.
63
+ tags_explanation_html: Separate tags with commas. Use double quotes (&quot;)
64
+ around multi-word tags, e.g. &quot;opera house&quot;.
66
65
  title: Titel
67
66
  type_your_post: Type your post
68
67
  visibility: Visibility
69
68
  index:
69
+ actions: Actions
70
70
  all_articles: All articles
71
+ author: Forfatter
72
+ created_at: Created at
71
73
  drafts: Kladder
74
+ feedback: Diskussion
72
75
  manage_articles: Administrer artikler
73
76
  new_article: Ny Artikel
74
77
  publication_date: Publication date
75
78
  publication_pending: Publication pending
76
79
  published: Offentliggjort
80
+ published_at: Publication date
77
81
  search: Search
78
82
  select_an_author: Select an author
83
+ text_filter: Text filter
84
+ title: Titel
79
85
  withdrawn: Withdrawn
80
86
  update:
81
87
  success: Article was successfully updated
@@ -88,35 +94,31 @@ da:
88
94
  drafts:
89
95
  no_drafts_yet: No drafts yet, why don't you start and write one
90
96
  your_drafts: Your drafts
91
- inbound:
92
- at: at
93
- at_an_unknown_date: at an unknown date
94
- inbound_links: Indkomne links
95
- made_a_link_to_you_on: " har lavet et link til dig, og skrevet "
96
- no_one_made_link_to_you_yet: Der er endnu ingen der har linket til dig
97
- you_have_no_internet_connection: Du har ingen internet forbindelse
98
97
  index:
98
+ textile_deprecated_html: The Textile text filter has been deprecated and will
99
+ be removed soon. Some of your content still uses this filter. Run the <code>publify:textile_to_markdown</code>
100
+ rake task to convert it to Markdown, or convert your content manually.
99
101
  welcome_back: Velkommen tilbage, %{user_name}!
100
102
  overview:
101
103
  change_your_blog_presentation: ændre din blogs udseende
102
- customization_explain_html: Du kan også tilpasse designet, %{theme_link} eller %{sidebar_link}.
103
- dashboard_explain_html: Dette sted giver dig en hurtig oversigt over, hvad der sker på din Publify blog, og hvad du kan gøre. Måske du ønsker at %{available_actions}.
104
+ customization_explain_html: Du kan også tilpasse designet, %{theme_link} eller
105
+ %{sidebar_link}.
106
+ dashboard_explain_html: Dette sted giver dig en hurtig oversigt over, hvad
107
+ der sker på din Publify blog, og hvad du kan gøre. Måske du ønsker at %{available_actions}.
104
108
  enable_plugins: tilføje plugins
105
109
  help_explain_html: If you need help, %{doc_link}.
106
110
  read_our_documentation: read our documentation
107
- update_your_profile_or_change_your_password: opdatere din profil eller rette dit kodeord
111
+ update_your_profile_or_change_your_password: opdatere din profil eller rette
112
+ dit kodeord
108
113
  write_a_page: skrive en side
109
114
  write_a_post: skrive en artikel
110
- publify_version:
111
- error: You are at least one major version of Publify out of date. You should upgrade immediately. Download and install <a href='http://publify.co/stable.tgz'>the latest Publify version</a>
112
- notice: There's a new version of Publify available. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
113
- warning: There's a new version of Publify available which may contain important bug fixes. Why don't you upgrade to <a href='http://publify.co/stable.tgz'>the latest Publify version</a>?
114
115
  welcome:
115
116
  approved_count:
116
117
  one: 1 approved
117
118
  other: "%{count} approved"
118
119
  zero: no approved
119
- articles_and_comments_count_since: "%{articles_count} articles and %{comments_count} comments were posted since your last connexion"
120
+ articles_and_comments_count_since: "%{articles_count} articles and %{comments_count}
121
+ comments were posted since your last connexion"
120
122
  articles_count:
121
123
  one: 1 artikel
122
124
  other: "%{count} artikler"
@@ -191,7 +193,7 @@ da:
191
193
  success: Deleted
192
194
  edit:
193
195
  action_or_other_html: "%{first_action} eller %{second_action}"
194
- author: Author
196
+ author: Forfatter
195
197
  cancel: Cancel
196
198
  comments_for_html: Comments for %{article_link}
197
199
  edit_a_comment: Edit a comment
@@ -199,11 +201,12 @@ da:
199
201
  save: Gem
200
202
  url: Url
201
203
  your_comment: Your comment
202
- ham:
203
- by: by
204
- created_on: 'on'
205
204
  index:
205
+ actions: Actions
206
206
  all: All
207
+ author: Forfatter
208
+ content: Indhold
209
+ created_at: Created at
207
210
  feedback: Diskussion
208
211
  ham: Ham
209
212
  no_feedback: There is no feedback yet. Why don't you create some?
@@ -211,12 +214,8 @@ da:
211
214
  presumed_spam: Presumed spam
212
215
  select_all: Select all
213
216
  spam: Spam
217
+ status: Status
214
218
  unapproved_comments: Unapproved comments
215
- spam:
216
- by: by
217
- cancel: Anuller
218
- created_on: 'on'
219
- this_comment_by_was_flagged_as_spam_html: This comment by %{author} was flagged as spam, %{cancel_link}?
220
219
  state:
221
220
  ham: Ham
222
221
  just_marked_as_ham: Just Marked As Ham
@@ -242,6 +241,8 @@ da:
242
241
  update_database_now: Updatér database nu
243
242
  you_are_up_to_date: Du er up to date!
244
243
  notes:
244
+ edit:
245
+ notes: Notes
245
246
  form:
246
247
  cancel: Anuller
247
248
  compose_new_note: Compose new note
@@ -255,8 +256,14 @@ da:
255
256
  publish_at: Offentliggjort den
256
257
  publish_settings: Publish settings
257
258
  tweet_id_like: Tweet id like 123456
258
- header:
259
+ index:
259
260
  notes: Notes
261
+ list:
262
+ actions: Actions
263
+ author: Forfatter
264
+ created_at: Created at
265
+ text_filter: Text filter
266
+ title: Titel
260
267
  show:
261
268
  action_or_other_html: "%{first_action} eller %{second_action}"
262
269
  are_you_sure: Are you sure you want to delete this note
@@ -269,20 +276,21 @@ da:
269
276
  form:
270
277
  article_filter: Artikelfilter
271
278
  cancel: Anuller
272
- offline: offline
273
279
  online: Online
274
280
  permanent_link: Permanent link
275
281
  publish: Udgiv
276
282
  publish_settings: Publish settings
277
- published: published
278
283
  save: Gem
279
284
  status: Status
280
285
  title: Titel
281
286
  type_your_post: Type your post
282
287
  index:
288
+ actions: Actions
283
289
  author: Forfatter
290
+ created_at: Created at
284
291
  manage_pages: Administrer sider
285
292
  new_page: ny Side
293
+ text_filter: Text filter
286
294
  title: Titel
287
295
  new:
288
296
  success: New page created
@@ -293,7 +301,9 @@ da:
293
301
  cancel: Anuller
294
302
  default: Default
295
303
  description: Beskrivelse
296
- explain: The template name is the filename Publify will look for when calling an article of that type. It should be in your theme under views/articles/template name.html.erb
304
+ explain: The template name is the filename Publify will look for when calling
305
+ an article of that type. It should be in your theme under views/articles/template
306
+ name.html.erb
297
307
  name: Navn
298
308
  or: or
299
309
  post_types: Post Types
@@ -323,7 +333,7 @@ da:
323
333
  are_you_sure: Are you sure?
324
334
  content_type: Indholdstype (Content Type)
325
335
  date: Dato
326
- delete: Delete
336
+ delete: Slet
327
337
  file_size: Filstørrelse
328
338
  filename: Filnavn
329
339
  media_library: Media Library
@@ -339,42 +349,47 @@ da:
339
349
  warning: No file selected
340
350
  seo:
341
351
  general:
342
- canonical_url: Canonical Url
343
352
  custom_tracking_code: Custom tracking code
344
353
  do_not_index_tags: Do not index tags
345
354
  dofollow: Dofollow
346
- explain: Here you can add anything you want to appear in your application header, such as analytics service tracking code.
347
- explain_humans_txt: It's an initiative for knowing the people behind a website. It's a TXT file that contains information about the different people who have contributed to building the website. http://humanstxt.org/
348
- explain_moderate_feedback: You may want to moderate feedback when turning this on
349
- explain_rss_description: 'You can use the following tags: %author% (author name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url% (a link to the article you want to protect)'
350
- explain_tag_index_html: Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues
355
+ explain: Here you can add anything you want to appear in your application
356
+ header, such as analytics service tracking code.
357
+ explain_moderate_feedback: You may want to moderate feedback when turning
358
+ this on
359
+ explain_rss_description: 'You can use the following tags: %author% (author
360
+ name), %blog_url% (this blog URL), %blog_name% (this blog title) and %permalink_url%
361
+ (a link to the article you want to protect)'
362
+ explain_tag_index_html: Checking this box will add <code>noindex, follow</code>
363
+ meta tags in every tags page, removing them from search engines and preventing
364
+ duplicate content issues
351
365
  general_settings: Generelle indstillinger
352
366
  google: Google
353
367
  google_analytics: Google Analytics
354
- google_webmaster_tools_validation_link: Google Webmaster Tools validation link
355
- human: Human
356
- humans_txt: Human
368
+ google_webmaster_tools_validation_link: Google Webmaster Tools validation
369
+ link
357
370
  indexing: Indexing
358
371
  meta_description: Meta description
359
372
  meta_keywords: Meta keywords
360
- read_more_about_html: Read more about %{link}
361
373
  robots_txt: Robots.txt
362
374
  rss_description_message: RSS description message
363
- this_will_display: This will display at the bottom of each post in the RSS feed
364
- use_canonical_url: Use canonical URL
375
+ this_will_display: This will display at the bottom of each post in the RSS
376
+ feed
365
377
  use_dofollow_in_comments: Use dofollow in comments
366
378
  use_meta_keywords: Use meta keywords
367
379
  use_rss_description: Use RSS description
368
380
  permalinks:
369
381
  custom: Custom
370
382
  date_and_title: Date and title
371
- explain: Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.
383
+ explain: Publify offers you the ability to create a custom URL structure for
384
+ your permalinks and archives. This can improve the aesthetics, usability,
385
+ and forward-compatibility of your links.
372
386
  help_on_permalink_settings: Help on permalink settings
373
387
  month_and_title: Month and title
374
388
  permalink_format: Permalink format
375
389
  sample: Here are some examples to get you started.
376
390
  title_only: Title only
377
- you_can_custom_your_url_structure: 'You can customize your URL structure using the following tags:'
391
+ you_can_custom_your_url_structure: 'You can customize your URL structure using
392
+ the following tags:'
378
393
  your_article_day: your article day of publication.
379
394
  your_article_month: your article month of publication.
380
395
  your_article_slug_html: your article slug. <strong>Using this slug is mandatory</strong>.
@@ -397,30 +412,35 @@ da:
397
412
  paginated_archives: Paginated archives
398
413
  replaced_by_the_archive_date: Replaced by the archive date
399
414
  replaced_by_the_content_body: Replaced by the content body
400
- replaced_with_the_article_categories: Replaced with the article categories (comma separated)
415
+ replaced_with_the_article_categories: Replaced with the article categories
416
+ (comma separated)
401
417
  replaced_with_the_article_page_title: Replaced with the article/page title
402
418
  replaced_with_the_article_tags: Replaced with the article tags (comma separated)
403
419
  replaced_with_the_category_tag_name: Replaced with the category/tag name
404
420
  replaced_with_the_current_date: Replaced with the current date
405
421
  replaced_with_the_current_month: Replaced with the current month
406
422
  replaced_with_the_current_page_number: Replaced with the current page number
407
- replaced_with_the_current_search_phrase: Replaced with the current search phrase
423
+ replaced_with_the_current_search_phrase: Replaced with the current search
424
+ phrase
408
425
  replaced_with_the_current_time: Replaced with the current time
409
426
  replaced_with_the_current_year: Replaced with the current year
410
427
  replaced_with_the_post_page_excerpt: Replaced with the post/page excerpt
411
- replaced_with_the_title_of_the_article_page: Replaced with the title of the article/page
428
+ replaced_with_the_title_of_the_article_page: Replaced with the title of the
429
+ article/page
412
430
  search_results: Search results
413
431
  short_statuses: Short statuses
414
432
  short_statuses_lists: Short statuses lists
415
433
  the_blog_s_name: The blog's name
416
434
  the_blog_s_tagline_description: The blog's tagline / description
417
- these_tags_can_be_included: These tags can be included in your templates and will be replaced when displaying the page.
435
+ these_tags_can_be_included: These tags can be included in your templates and
436
+ will be replaced when displaying the page.
418
437
  title_template: Title template
419
438
  settings:
420
439
  display:
421
440
  cancel: Anuller
422
441
  custom_url: Custom URL shortener domain
423
- custom_url_help: If you have a custom domain for URL shortening, enter it here.
442
+ custom_url_help: If you have a custom domain for URL shortening, enter it
443
+ here.
424
444
  date_format: Date format
425
445
  default_archives_show: articles on the archives page
426
446
  default_article_show: articles on the homepage
@@ -430,8 +450,6 @@ da:
430
450
  feed_articles: Article excerpts
431
451
  feed_excerpts_only: Show only article excerpts in feed
432
452
  feed_settings: RSS Feed Settings
433
- feedburner_help: Enter your FeedBurner ID if you wish to use your Google FeedBurner account instead of using the Publify feed URL.
434
- feedburner_id: FeedBurner ID
435
453
  or: or
436
454
  publishing_options: Publishing Options
437
455
  status_main_feed: Display statuses in the main feed
@@ -447,28 +465,32 @@ da:
447
465
  comments_filter: Kommentarfilter
448
466
  days: dage
449
467
  disable_comments_after: Deaktiver kommentarer efter
450
- disable_trackbacks_sitewide: Disable trackbacks site-wide
451
468
  enable_comments_by_default: Aktiver kommentarer som standard
452
469
  enable_feedback_moderation: Aktiver feedback moderation
453
470
  enable_recaptcha: Enable reCaptcha
454
471
  enable_spam_protection: Aktiver spam beskyttelse
455
- enable_trackbacks_by_default: Aktiver Trackbacks som standard
456
- explain_disable_trackbacks: Denne indstilling giver dig mulighed for at deaktivere Trackbacks for hver artikel i din blog. Det vil ikke fjerne eksisterende Trackbacks, men det vil forhindre yderligere forsøg på at tilføje Trackbacks overalt på din blog.
457
- explain_feedback_moderation: Du kan slå feedback moderation til for hele bloggen. Hvis du gør dette kommer kommentarer og trackbacks først frem når du har godkendt dem
458
- explain_reject_comments: Publify will automatically reject comments and trackbacks which contain over a certain amount of links in them
459
- explain_spam_protection: Enabling spam protection will make publify compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots
460
- explain_spamfiltering_html: Publify can (optionally) use the <a href='http://akismet.com'>Akismet</a> spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here
461
- feedback: Feedback
472
+ explain_feedback_moderation: Du kan slå feedback moderation til for hele bloggen.
473
+ Hvis du gør dette kommer kommentarer først frem når du har godkendt dem
474
+ explain_reject_comments: Publify will automatically reject comments which
475
+ contain over a certain amount of links in them
476
+ explain_spam_protection: Enabling spam protection will make publify compare
477
+ the IP address of posters as well as the contents of their posts against
478
+ local and remote blacklists. Good defense against spam bots
479
+ explain_spamfiltering_html: Publify can (optionally) use the <a href='http://akismet.com'>Akismet</a>
480
+ spam-filtering service. You need to register with Akismet and receive an
481
+ API key before you can use their service. If you have an Akismet key, enter
482
+ it here
483
+ feedback: Diskussion
462
484
  feedback_settings: Feedback settings
463
485
  max_links: Max Links
464
486
  none: none
465
487
  or: or
466
- remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside config/initializers/recaptcha.rb
488
+ remember_to_set_your_recaptcha: Remember to set your reCaptcha keys inside
489
+ config/initializers/recaptcha.rb
467
490
  set_to_0_to_never_disable_comments: Sæt til 0 for at aldrig deaktivere kommentarer
468
491
  set_to_0_to_never_reject_comments: Sæt til 0 for at aldrig forkaste kommentarer
469
492
  spam: Spam
470
493
  spam_protection: Spam beskyttelse
471
- trackbacks: Trackbacks
472
494
  update_settings: Update settings
473
495
  index:
474
496
  allow_users_to_register: Allow users to register
@@ -476,8 +498,12 @@ da:
476
498
  blog_subtitle: Blog undertitel
477
499
  blog_url: Blogadresse
478
500
  cancel: Anuller
479
- email_address_used_to_notify: E-mail adresse der bruges af Publify til at sende meddelelser
480
- explain_allow_users_to_register_html: This will allow users to register themselves as contributors, an unprivileged account level which grants them no rights beyond owning a profile on the site. If you don't want users to register, you can add them via <em>Manage users</em> under <em>Settings</em>.
501
+ email_address_used_to_notify: E-mail adresse der bruges af Publify til at
502
+ sende meddelelser
503
+ explain_allow_users_to_register_html: This will allow users to register themselves
504
+ as contributors, an unprivileged account level which grants them no rights
505
+ beyond owning a profile on the site. If you don't want users to register,
506
+ you can add them via <em>Manage users</em> under <em>Settings</em>.
481
507
  general_settings: Generelle Indstillinger
482
508
  items_to_display_in_admin_lists: Items to display in admin lists
483
509
  language: Sprog
@@ -494,7 +520,6 @@ da:
494
520
  cancel: Anuller
495
521
  display: Vis
496
522
  example: for eksempel
497
- explain: Når du udgiver artikler kan Publify sende trackbacks til de hjemmesider du linker til. Dette bør slåes fra for private blogs da det ellers kan lække privat information til hjemmesider du diskuterer. For offentlige blogs, er der ingen reel mening i at deaktivere dette.
498
523
  image_medium_size: Image medium size
499
524
  image_thumbnail_size: Image thumbnail size
500
525
  latitude_longitude: Breddegrad, længdegrad
@@ -502,12 +527,9 @@ da:
502
527
  or: or
503
528
  publish: Udgiv
504
529
  publish_on_twitter: Publish on Twitter
505
- send_trackbacks: Send trackbacks
506
- trackbacks: Trackbacks
507
530
  twitter_consumer_key: Twitter consumer key
508
531
  twitter_consumer_secret: Twitter consumer secret
509
532
  update_settings: Update settings
510
- urls_to_ping: Webadresser der automatisk pinges
511
533
  write: Skriv
512
534
  your_geoloc: din breddegrad og længdegrad
513
535
  shared:
@@ -523,9 +545,10 @@ da:
523
545
  design: Design
524
546
  display: Display
525
547
  documentation: Documentation
526
- feedback: Feedback
548
+ feedback: Diskussion
527
549
  general_settings: Generelle Indstillinger
528
550
  global_seo_settings: Global SEO settings
551
+ home: Home
529
552
  in_page_plugins: In page plugins
530
553
  logged_in_as: Logged in as %{login}
531
554
  logout_html: Log ud &raquo;
@@ -550,7 +573,8 @@ da:
550
573
  write: Write
551
574
  twitter_alert:
552
575
  fill_the_twitter_credentials: fill in the OAuth credentials
553
- how_to_setup_twitter_html: If you want to push short statuses on Twitter, you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
576
+ how_to_setup_twitter_html: If you want to push short statuses on Twitter,
577
+ you need to %{twitter_settings_link} Twitter gave you after you %{twitter_registration_link}.
554
578
  registered_your_application: registered your application
555
579
  sidebar:
556
580
  config:
@@ -559,8 +583,14 @@ da:
559
583
  you_have_no_plugins_installed: You have no plugins installed
560
584
  index:
561
585
  cancel: Anuller
562
- download_more_plugins_html: You can download and install sidebar plugins from our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin repository</a>. All you have to do is upload the theme directory in your vendor/plugins directory.
563
- explain_how_its_works: Træk og slip for at ændre indholdsoversigten der vises på denne blog. Du kan fjerne elementer fra indholdsoversigten bare ved at klikke fjern. Ændringer gemmes med det samme, men ikke aktiveret, før du klikker på 'Offentliggør' knappen.
586
+ download_more_plugins_html: You can download and install sidebar plugins from
587
+ our official <a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>plugin
588
+ repository</a>. All you have to do is upload the theme directory in your
589
+ vendor/plugins directory.
590
+ explain_how_its_works: Træk og slip for at ændre indholdsoversigten der vises
591
+ på denne blog. Du kan fjerne elementer fra indholdsoversigten bare ved at
592
+ klikke fjern. Ændringer gemmes med det samme, men ikke aktiveret, før du
593
+ klikker på 'Offentliggør' knappen.
564
594
  or: or
565
595
  publish_changes: Udgiv ændringer
566
596
  sidebar: Sidebar
@@ -577,6 +607,7 @@ da:
577
607
  no_tags: There are no tags yet. Why don't you create one?
578
608
  or: or
579
609
  save: Gem
610
+ view: View
580
611
  themes:
581
612
  index:
582
613
  active_theme: "%{name} - Aktiv tema"
@@ -642,8 +673,9 @@ da:
642
673
  articles:
643
674
  archives:
644
675
  no_articles_found: Fandt ingen artikler
645
- posted_in: Posted in
646
- article:
676
+ archives_article:
677
+ posted_in: offentliggjort i
678
+ article_author:
647
679
  posted_by: Skrevet af
648
680
  article_excerpt:
649
681
  continue_reading: Continue reading
@@ -663,7 +695,7 @@ da:
663
695
  comment_markup_help: Hjælp med kommentar markup
664
696
  leave_url_email: leave url/email
665
697
  preview_comment: Vis kommentar eksempel
666
- your_blog: your blog
698
+ your_blog: Din Blog
667
699
  your_email: Din email
668
700
  your_message: Din besked
669
701
  your_name: Dit Navn
@@ -679,12 +711,7 @@ da:
679
711
  edit: Rediger
680
712
  leave_a_response: Skriv en kommentar
681
713
  rss_feed: RSS Feed for denne artikel
682
- trackback_uri: Trackback URI
683
714
  trackbacks: Trackbacks
684
- use_the_following_link_to_trackback: Brug følgende link til lave trackback fra din egen side
685
- search:
686
- next_page: Next page
687
- previous_page: Previous page
688
715
  trackback:
689
716
  from: From
690
717
  authors:
@@ -693,17 +720,17 @@ da:
693
720
  contact_information: Contact information
694
721
  jabber: 'Jabber:'
695
722
  msn: 'MSN:'
696
- next_page: Næste side
697
- posted_in: offentliggjort i
698
- previous_page: Forrige side
699
- this_author_has_not_published_any_article_yet: This author has not published any article yet
723
+ this_author_has_not_published_any_article_yet: This author has not published
724
+ any article yet
700
725
  twitter: 'Twitter:'
701
726
  web_site: 'Web site:'
702
727
  yahoo: 'Yahoo:'
703
728
  comments:
704
729
  comment:
705
730
  said: sagde
706
- this_comment_has_been_flagged_for_moderator_approval: Denne kommentar er blevet markeret som krævende godkendelse. Den vil ikke blive vist før forfatteren godkender den.
731
+ this_comment_has_been_flagged_for_moderator_approval: Denne kommentar er blevet
732
+ markeret som krævende godkendelse. Den vil ikke blive vist før forfatteren
733
+ godkender den.
707
734
  date:
708
735
  abbr_month_names:
709
736
  -
@@ -737,17 +764,26 @@ da:
737
764
  characters_minimum: Minimum %{min} characters
738
765
  errors:
739
766
  article_type_already_exist: This article type already exists
740
- cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved to be used for feed URLs
767
+ cant_end_with_rss_or_atom: Can't end in .rss or .atom. These are reserved to be
768
+ used for feed URLs
741
769
  no_notes_found: No notes found...
742
770
  no_posts_found: No posts found...
743
771
  page_not_found: Page not found
744
772
  permalink_need_a_title: 'You need a permalink format with an identifier : %%title%%'
745
773
  problem_sending_to_twitter: Oooops something went wrong!
746
- render_sidebar: It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually
747
- the_page_you_are_looking_for: The page you are looking for has moved or does not exist.
774
+ render_sidebar: It seems something went wrong. Maybe some of your sidebars are
775
+ actually missing and you should either reinstall them or remove them manually
776
+ the_page_you_are_looking_for: The page you are looking for has moved or does not
777
+ exist.
748
778
  generic:
749
779
  change: Change
780
+ conversation: Conversation
781
+ delete: Slet
782
+ edit: Rediger
783
+ mark_as_ham: Mark as ham
784
+ mark_as_spam: Mark as spam
750
785
  save: Gem
786
+ short_url: Short url
751
787
  helper:
752
788
  at: at
753
789
  langs:
@@ -775,36 +811,32 @@ da:
775
811
  designed_by: Designed by %{designed_by}
776
812
  powered_by_html: Powered by %{powered_by}
777
813
  notes:
778
- index:
779
- next_page: Next page
780
- previous_page: Previous page
781
814
  note:
782
815
  view_on_twitter: View on Twitter
783
816
  notice:
784
817
  note_successfully_created: Note was successfully created
785
- pagination:
786
- next_page: Next page
787
- previous_page: Previous page
788
818
  profile:
789
819
  admin: Publify administrator
790
820
  contributor: Contributor
791
821
  publisher: Blog publisher
792
822
  setup:
793
823
  article:
794
- body: Welcome to Publify. This is your first article. Edit or delete it, then start blogging!'
824
+ body: Welcome to Publify. This is your first article. Edit or delete it, then
825
+ start blogging!
795
826
  title: Hello World!
796
827
  index:
797
828
  blog_name: Blog name
829
+ password: Kodeord
798
830
  welcome_to_your_blog_setup: Welcome to your blog setup
799
- your_mail: Your email
831
+ your_mail: Din email
800
832
  page:
801
833
  about: About
802
- body: This is an example of a Publify page. You can edit this to write information about yourself or your site so readers know who you are. You can create as many pages as this one as you like and manage all of your content inside Publify.
834
+ body: This is an example of a Publify page. You can edit this to write information
835
+ about yourself or your site so readers know who you are. You can create as
836
+ many pages as this one as you like and manage all of your content inside Publify.
803
837
  tags:
804
838
  index:
805
- next_page: Next page
806
- previous_page: Previous page
807
- there_is_no_tags: There is no tag
839
+ there_are_no_tags: There are no tags
808
840
  time:
809
841
  formats:
810
842
  default: "%m/%d/%Y %H:%M"