dm_cms 4.2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +22 -0
  3. data/README.md +31 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/dm_cms/admin.js +58 -0
  6. data/app/assets/javascripts/dm_cms/application.js +16 -0
  7. data/app/assets/stylesheets/dm_cms/admin.css +3 -0
  8. data/app/assets/stylesheets/dm_cms/application.css +13 -0
  9. data/app/controllers/dm_cms/admin/admin_controller.rb +14 -0
  10. data/app/controllers/dm_cms/admin/cms_blogs_controller.rb +89 -0
  11. data/app/controllers/dm_cms/admin/cms_contentitems_controller.rb +96 -0
  12. data/app/controllers/dm_cms/admin/cms_pages_controller.rb +100 -0
  13. data/app/controllers/dm_cms/admin/cms_posts_controller.rb +67 -0
  14. data/app/controllers/dm_cms/admin/cms_snippets_controller.rb +73 -0
  15. data/app/controllers/dm_cms/admin/dashboard_controller.rb +12 -0
  16. data/app/controllers/dm_cms/admin/media_files_controller.rb +80 -0
  17. data/app/controllers/dm_cms/application_controller.rb +9 -0
  18. data/app/controllers/dm_cms/blogs_controller.rb +50 -0
  19. data/app/controllers/dm_cms/comments_controller.rb +3 -0
  20. data/app/controllers/dm_cms/contact_form_controller.rb +27 -0
  21. data/app/controllers/dm_cms/pages_controller.rb +67 -0
  22. data/app/controllers/dm_cms/posts_controller.rb +69 -0
  23. data/app/datatables/blog_user_datatable.rb +79 -0
  24. data/app/helpers/dm_cms/analytics_helper.rb +27 -0
  25. data/app/helpers/dm_cms/application_helper.rb +4 -0
  26. data/app/helpers/dm_cms/cms_contentitems_helper.rb +8 -0
  27. data/app/helpers/dm_cms/cms_pages_helper.rb +30 -0
  28. data/app/helpers/dm_cms/pages_helper.rb +204 -0
  29. data/app/helpers/dm_cms/posts_helper.rb +26 -0
  30. data/app/helpers/dm_cms/render_helper.rb +50 -0
  31. data/app/inputs/media_input.rb +17 -0
  32. data/app/liquid/tags/markdown.rb +30 -0
  33. data/app/mailers/post_notify_mailer.rb +36 -0
  34. data/app/models/cms_blog.rb +89 -0
  35. data/app/models/cms_contentitem.rb +76 -0
  36. data/app/models/cms_page.rb +227 -0
  37. data/app/models/cms_post.rb +76 -0
  38. data/app/models/cms_snippet.rb +42 -0
  39. data/app/models/contact_form.rb +28 -0
  40. data/app/models/dm_cms/concerns/ability.rb +54 -0
  41. data/app/models/dm_cms/permitted_params.rb +34 -0
  42. data/app/models/media_file.rb +102 -0
  43. data/app/presenters/cms_blog_presenter.rb +15 -0
  44. data/app/presenters/cms_page_presenter.rb +23 -0
  45. data/app/presenters/cms_post_presenter.rb +11 -0
  46. data/app/presenters/cms_snippet_presenter.rb +10 -0
  47. data/app/uploaders/media_uploader.rb +169 -0
  48. data/app/views/customized/analytics/_google_analytics.html.erb +11 -0
  49. data/app/views/dm_cms/admin/cms_blogs/_form.html.erb +34 -0
  50. data/app/views/dm_cms/admin/cms_blogs/edit.html.erb +2 -0
  51. data/app/views/dm_cms/admin/cms_blogs/index.html.erb +44 -0
  52. data/app/views/dm_cms/admin/cms_blogs/new.html.erb +2 -0
  53. data/app/views/dm_cms/admin/cms_blogs/show.html.erb +167 -0
  54. data/app/views/dm_cms/admin/cms_contentitems/_form.html.erb +43 -0
  55. data/app/views/dm_cms/admin/cms_contentitems/_form_dialog.html.erb +17 -0
  56. data/app/views/dm_cms/admin/cms_contentitems/edit.html.erb +1 -0
  57. data/app/views/dm_cms/admin/cms_contentitems/markdown.html.erb +21 -0
  58. data/app/views/dm_cms/admin/cms_contentitems/new_content.html.erb +1 -0
  59. data/app/views/dm_cms/admin/cms_pages/_content_toolbar.html.erb +11 -0
  60. data/app/views/dm_cms/admin/cms_pages/_form.html.erb +50 -0
  61. data/app/views/dm_cms/admin/cms_pages/_tree.html.erb +20 -0
  62. data/app/views/dm_cms/admin/cms_pages/_tree_sidebar.html.erb +8 -0
  63. data/app/views/dm_cms/admin/cms_pages/edit.html.erb +2 -0
  64. data/app/views/dm_cms/admin/cms_pages/index.html.erb +32 -0
  65. data/app/views/dm_cms/admin/cms_pages/new_page.html.erb +2 -0
  66. data/app/views/dm_cms/admin/cms_pages/show.html.erb +54 -0
  67. data/app/views/dm_cms/admin/cms_posts/_form.html.erb +59 -0
  68. data/app/views/dm_cms/admin/cms_posts/edit.html.erb +2 -0
  69. data/app/views/dm_cms/admin/cms_posts/new.html.erb +1 -0
  70. data/app/views/dm_cms/admin/cms_snippets/_form.html.erb +28 -0
  71. data/app/views/dm_cms/admin/cms_snippets/edit.html.erb +1 -0
  72. data/app/views/dm_cms/admin/cms_snippets/index.html.erb +29 -0
  73. data/app/views/dm_cms/admin/cms_snippets/new.html.erb +1 -0
  74. data/app/views/dm_cms/admin/dashboard/_widget_blog_comments.html.erb +37 -0
  75. data/app/views/dm_cms/admin/dashboard/widget_blog_comments.js.erb +1 -0
  76. data/app/views/dm_cms/admin/media_files/_form.html.erb +102 -0
  77. data/app/views/dm_cms/admin/media_files/edit.html.erb +3 -0
  78. data/app/views/dm_cms/admin/media_files/index.html.erb +98 -0
  79. data/app/views/dm_cms/admin/media_files/new.html.erb +3 -0
  80. data/app/views/dm_cms/admin/shared/_liquid_tags_ref.html.erb +35 -0
  81. data/app/views/dm_cms/blogs/show.html.erb +0 -0
  82. data/app/views/dm_cms/blogs/toggle_follow.js.coffee +5 -0
  83. data/app/views/dm_cms/contact_form/create.html.erb +2 -0
  84. data/app/views/dm_cms/contact_form/create.js.erb +2 -0
  85. data/app/views/dm_cms/pages/_content_fragment.html.erb +13 -0
  86. data/app/views/dm_cms/pages/_snippet_fragment.html.erb +12 -0
  87. data/app/views/dm_cms/pages/coming_soon.html.erb +2 -0
  88. data/app/views/dm_cms/pages/show.html.erb +0 -0
  89. data/app/views/dm_cms/posts/show.html.erb +0 -0
  90. data/app/views/dm_cms/shared/_comment.html.erb +22 -0
  91. data/app/views/dm_cms/shared/_comment_form.html.erb +16 -0
  92. data/app/views/dm_cms/shared/_comment_list.html.erb +11 -0
  93. data/app/views/dm_cms/shared/_social_buttons.html.erb +6 -0
  94. data/app/views/layouts/email_templates/dm_cms_email_layout.html.erb +320 -0
  95. data/app/views/layouts/email_templates/dm_cms_email_layout.text.erb +1 -0
  96. data/app/views/layouts/email_templates/dm_cms_post_notify.html.erb +13 -0
  97. data/app/views/layouts/email_templates/dm_cms_post_notify.text.erb +9 -0
  98. data/app/views/liquid_tags/_contact_form.html.erb +17 -0
  99. data/config/initializers/liquid_init.rb +2 -0
  100. data/config/locales/cms.cs.yml +42 -0
  101. data/config/locales/cms.de.yml +42 -0
  102. data/config/locales/cms.en.yml +42 -0
  103. data/config/locales/cms.fi.yml +42 -0
  104. data/config/locales/cms.ja.yml +42 -0
  105. data/config/routes.rb +70 -0
  106. data/db/migrate/20121103181909_create_cms.rb +91 -0
  107. data/db/migrate/20130206213720_add_account_to_cms.rb +10 -0
  108. data/db/migrate/20130507123255_create_blog.rb +61 -0
  109. data/db/migrate/20130531212537_add_notification_sent.rb +5 -0
  110. data/db/migrate/20130605184116_add_blog_comment.rb +7 -0
  111. data/db/migrate/20131128201053_add_blog_image.rb +5 -0
  112. data/db/migrate/20140217135228_rename_snippet_slug.rb +13 -0
  113. data/db/migrate/20140303121217_add_requires_subscription_blog.rb +7 -0
  114. data/db/migrate/20140328205246_add_pages_ranked_model.rb +22 -0
  115. data/db/migrate/20140423113417_add_blog_owner.rb +6 -0
  116. data/db/migrate/20140428122156_create_media_files.rb +29 -0
  117. data/db/migrate/20140523134543_add_cmspage_summary.rb +6 -0
  118. data/db/migrate/20140601151631_add_blog_image_email_header.rb +5 -0
  119. data/db/migrate/20141004154725_add_header_image.rb +9 -0
  120. data/db/migrate/20160821150108_index_foreign_keys_in_cms_blogs.rb +6 -0
  121. data/db/migrate/20160821150109_index_foreign_keys_in_cms_media_files.rb +6 -0
  122. data/db/migrate/20160821150110_index_foreign_keys_in_cms_posts.rb +6 -0
  123. data/lib/dm_cms.rb +4 -0
  124. data/lib/dm_cms/engine.rb +16 -0
  125. data/lib/dm_cms/liquid/filters/liquid_filters.rb +11 -0
  126. data/lib/dm_cms/liquid/tags/contact_form.rb +35 -0
  127. data/lib/dm_cms/liquid/tags/div.rb +42 -0
  128. data/lib/dm_cms/liquid/tags/image.rb +76 -0
  129. data/lib/dm_cms/liquid/tags/quote.rb +38 -0
  130. data/lib/dm_cms/liquid/tags/snippet.rb +37 -0
  131. data/lib/dm_cms/liquid/tags/url_asset.rb +41 -0
  132. data/lib/dm_cms/liquid/tags/url_media.rb +42 -0
  133. data/lib/dm_cms/liquid/tags/url_protected.rb +31 -0
  134. data/lib/tasks/dm_cms_tasks.rake +4 -0
  135. data/spec/controllers/admin/cms_blogs_controller_spec.rb +173 -0
  136. data/spec/controllers/admin/cms_pages_controller_spec.rb +182 -0
  137. data/spec/controllers/admin/cms_posts_controller_spec.rb +166 -0
  138. data/spec/dummy/README.rdoc +28 -0
  139. data/spec/dummy/Rakefile +6 -0
  140. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  141. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  142. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  143. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  144. data/spec/dummy/app/models/ability.rb +12 -0
  145. data/spec/dummy/app/models/user.rb +6 -0
  146. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  147. data/spec/dummy/bin/bundle +3 -0
  148. data/spec/dummy/bin/rails +4 -0
  149. data/spec/dummy/bin/rake +4 -0
  150. data/spec/dummy/config.ru +4 -0
  151. data/spec/dummy/config/application.rb +26 -0
  152. data/spec/dummy/config/boot.rb +5 -0
  153. data/spec/dummy/config/database.yml +25 -0
  154. data/spec/dummy/config/environment.rb +5 -0
  155. data/spec/dummy/config/environments/development.rb +37 -0
  156. data/spec/dummy/config/environments/production.rb +82 -0
  157. data/spec/dummy/config/environments/test.rb +39 -0
  158. data/spec/dummy/config/initializers/_themes_for_rails.rb +39 -0
  159. data/spec/dummy/config/initializers/account_initialization.rb +28 -0
  160. data/spec/dummy/config/initializers/assets.rb +8 -0
  161. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  162. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  163. data/spec/dummy/config/initializers/dm_core.rb +6 -0
  164. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  165. data/spec/dummy/config/initializers/inflections.rb +16 -0
  166. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  167. data/spec/dummy/config/initializers/session_store.rb +3 -0
  168. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  169. data/spec/dummy/config/locales/en.yml +23 -0
  170. data/spec/dummy/config/routes.rb +19 -0
  171. data/spec/dummy/config/secrets.yml +22 -0
  172. data/spec/dummy/db/development.sqlite3 +0 -0
  173. data/spec/dummy/db/migrate/20141114170927_add_globalize_countries.dm_core.rb +50 -0
  174. data/spec/dummy/db/migrate/20141114170928_devise_create_users.dm_core.rb +46 -0
  175. data/spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb +14 -0
  176. data/spec/dummy/db/migrate/20141114170930_rolify_create_roles.dm_core.rb +20 -0
  177. data/spec/dummy/db/migrate/20141114170931_add_last_access.dm_core.rb +10 -0
  178. data/spec/dummy/db/migrate/20141114170932_create_versions.dm_core.rb +19 -0
  179. data/spec/dummy/db/migrate/20141114170933_add_object_changes_column_to_versions.dm_core.rb +12 -0
  180. data/spec/dummy/db/migrate/20141114170934_create_dm_core_accounts.dm_core.rb +13 -0
  181. data/spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb +9 -0
  182. data/spec/dummy/db/migrate/20141114170936_create_preferences.dm_core.rb +13 -0
  183. data/spec/dummy/db/migrate/20141114170937_create_comments.dm_core.rb +22 -0
  184. data/spec/dummy/db/migrate/20141114170938_add_activity.dm_core.rb +21 -0
  185. data/spec/dummy/db/migrate/20141114170939_add_type_to_comments.dm_core.rb +9 -0
  186. data/spec/dummy/db/migrate/20141114170940_add_category.dm_core.rb +28 -0
  187. data/spec/dummy/db/migrate/20141114170941_create_email_table.dm_core.rb +26 -0
  188. data/spec/dummy/db/migrate/20141114170942_add_user_profile.dm_core.rb +46 -0
  189. data/spec/dummy/db/migrate/20141114170943_add_profile_email.dm_core.rb +14 -0
  190. data/spec/dummy/db/migrate/20141114170944_create_payment_history.dm_core.rb +37 -0
  191. data/spec/dummy/db/migrate/20141114170945_change_anchor_field.dm_core.rb +10 -0
  192. data/spec/dummy/db/migrate/20141114170946_create_user_site_profile.dm_core.rb +27 -0
  193. data/spec/dummy/db/migrate/20141114170947_add_avatar.dm_core.rb +12 -0
  194. data/spec/dummy/db/migrate/20141114170948_add_notify_to_payment_history.dm_core.rb +8 -0
  195. data/spec/dummy/db/migrate/20141114170949_acts_as_votable_migration.dm_core.rb +28 -0
  196. data/spec/dummy/db/migrate/20141114170950_add_user_site_profile_uuid.dm_core.rb +19 -0
  197. data/spec/dummy/db/migrate/20141114170951_add_invoice_id.dm_core.rb +7 -0
  198. data/spec/dummy/db/migrate/20141114170952_acts_as_follower_migration.dm_core.rb +18 -0
  199. data/spec/dummy/db/migrate/20141114170953_rename_invoice_id.dm_core.rb +12 -0
  200. data/spec/dummy/db/migrate/20141114170954_add_core_addresses.dm_core.rb +18 -0
  201. data/spec/dummy/db/migrate/20141114170955_papertrail_increase_column.dm_core.rb +9 -0
  202. data/spec/dummy/db/migrate/20141114170956_acts_as_taggable_on_migration.dm_core.rb +32 -0
  203. data/spec/dummy/db/migrate/20141114170957_add_missing_unique_indices.dm_core.rb +23 -0
  204. data/spec/dummy/db/migrate/20141114170958_add_taggings_counter_cache_to_tags.dm_core.rb +16 -0
  205. data/spec/dummy/db/migrate/20141114170959_create_custom_fields.dm_core.rb +40 -0
  206. data/spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb +11 -0
  207. data/spec/dummy/db/migrate/20141114170961_create_documents.dm_knowledge.rb +19 -0
  208. data/spec/dummy/db/migrate/20141114170962_add_document_notes.dm_knowledge.rb +7 -0
  209. data/spec/dummy/db/migrate/20160128134522_add_favored_locale.dm_core.rb +17 -0
  210. data/spec/dummy/db/migrate/20160128134523_update_papertrail_v4.dm_core.rb +41 -0
  211. data/spec/dummy/db/schema.rb +590 -0
  212. data/spec/dummy/db/seeds.rb +18 -0
  213. data/spec/dummy/public/404.html +67 -0
  214. data/spec/dummy/public/422.html +67 -0
  215. data/spec/dummy/public/500.html +66 -0
  216. data/spec/dummy/public/favicon.ico +0 -0
  217. data/spec/dummy/themes/_mbus/_readme.md +6 -0
  218. data/spec/dummy/themes/_mbus/_theme.yml +21 -0
  219. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/application.js +9 -0
  220. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.js +2114 -0
  221. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.min.js +6 -0
  222. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/contact_me.js +75 -0
  223. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jqBootstrapValidation.js +912 -0
  224. data/spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jquery-1.11.0.js +4 -0
  225. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/application.css +14 -0
  226. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.css +6203 -0
  227. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.min.css +5 -0
  228. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.css +1566 -0
  229. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.min.css +4 -0
  230. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/FontAwesome.otf +0 -0
  231. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.eot +0 -0
  232. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.svg +504 -0
  233. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.ttf +0 -0
  234. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.woff +0 -0
  235. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/bordered-pulled.less +16 -0
  236. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/core.less +12 -0
  237. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/fixed-width.less +6 -0
  238. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/font-awesome.less +17 -0
  239. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/icons.less +506 -0
  240. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/larger.less +13 -0
  241. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/list.less +19 -0
  242. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/mixins.less +20 -0
  243. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/path.less +14 -0
  244. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/rotated-flipped.less +9 -0
  245. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/spinning.less +32 -0
  246. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/stacked.less +20 -0
  247. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/variables.less +515 -0
  248. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_bordered-pulled.scss +16 -0
  249. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_core.scss +12 -0
  250. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_fixed-width.scss +6 -0
  251. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_icons.scss +506 -0
  252. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_larger.scss +13 -0
  253. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_list.scss +19 -0
  254. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_mixins.scss +20 -0
  255. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_path.scss +14 -0
  256. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_rotated-flipped.scss +9 -0
  257. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_spinning.scss +32 -0
  258. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_stacked.scss +20 -0
  259. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_variables.scss +515 -0
  260. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/font-awesome.scss +17 -0
  261. data/spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/modern-business.css +93 -0
  262. data/spec/dummy/themes/_mbus/theme_support/config/load_theme.rb +0 -0
  263. data/spec/dummy/themes/_mbus/theme_support/locales/site.cs.yml +57 -0
  264. data/spec/dummy/themes/_mbus/theme_support/locales/site.de.yml +57 -0
  265. data/spec/dummy/themes/_mbus/theme_support/locales/site.en.yml +57 -0
  266. data/spec/dummy/themes/_mbus/theme_support/locales/site.fi.yml +58 -0
  267. data/spec/dummy/themes/_mbus/theme_support/locales/site.ja.yml +57 -0
  268. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_blog_right_sidebar.html.erb +91 -0
  269. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment.html.erb +21 -0
  270. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_form.html.erb +16 -0
  271. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_list.html.erb +7 -0
  272. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_section.html.erb +17 -0
  273. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_footer.html.erb +11 -0
  274. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_header.html.erb +39 -0
  275. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_top.html.erb +24 -0
  276. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_post_summary_item.html.erb +11 -0
  277. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_social_buttons_initialization.html.erb +10 -0
  278. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog.html.erb +47 -0
  279. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog_post.html.erb +55 -0
  280. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_full_width.html.erb +28 -0
  281. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_with_left_nav.html.erb +44 -0
  282. data/spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/index.html.erb +19 -0
  283. data/spec/dummy/themes/local/_theme.yml +8 -0
  284. data/spec/factories/accounts.rb +17 -0
  285. data/spec/factories/blogs.rb +19 -0
  286. data/spec/factories/posts.rb +23 -0
  287. data/spec/factories/user_profiles.rb +10 -0
  288. data/spec/factories/users.rb +19 -0
  289. data/spec/features/admin/blog_admin_spec.rb +16 -0
  290. data/spec/models/cms_blog_spec.rb +37 -0
  291. data/spec/models/cms_page_spec.rb +9 -0
  292. data/spec/models/cms_post_spec.rb +44 -0
  293. data/spec/rails_helper.rb +70 -0
  294. data/spec/spec_helper.rb +85 -0
  295. data/spec/support/accounts.rb +17 -0
  296. data/spec/support/devise.rb +44 -0
  297. data/spec/support/fix_locale.rb +57 -0
  298. metadata +545 -0
@@ -0,0 +1,10 @@
1
+ require 'faker'
2
+
3
+ FactoryGirl.define do
4
+ factory :user_profile do
5
+ first_name { Faker::Name.first_name }
6
+ last_name { Faker::Name.last_name }
7
+ public_name { Faker::Name.first_name }
8
+ email { Faker::Internet.email }
9
+ end
10
+ end
@@ -0,0 +1,19 @@
1
+ require 'faker'
2
+
3
+ FactoryGirl.define do
4
+ factory :user do
5
+ email { Faker::Internet.email }
6
+ password "something"
7
+ confirmed_at Time.now
8
+ user_profile
9
+
10
+ factory :admin_user do
11
+ email 'admin@example.com'
12
+ password 'something_admin'
13
+
14
+ after(:build) do |user|
15
+ user.add_role :admin
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,16 @@
1
+ require 'rails_helper'
2
+ # require 'support/devise'
3
+
4
+ # include LoginMacros
5
+
6
+ feature 'myfeature' do
7
+ background do
8
+ # add setup details
9
+ end
10
+
11
+ scenario 'my first test', :pending do
12
+ # write the example!
13
+ admin = create(:admin_user)
14
+ sign_in admin
15
+ end
16
+ end
@@ -0,0 +1,37 @@
1
+ require 'rails_helper'
2
+
3
+ describe CmsBlog do
4
+ setup_account
5
+
6
+ it 'write more tests'
7
+
8
+ describe 'slug handling' do
9
+
10
+ #------------------------------------------------------------------------------
11
+ it 'allows the same blog slug per account (scoped to account)' do
12
+ blog1 = create(:blog)
13
+ Account.current = create(:second_account)
14
+ blog2 = create(:blog)
15
+ expect(blog1.account_id).not_to eq blog2.account_id
16
+ expect(blog1.slug).to eq blog2.slug
17
+ end
18
+
19
+ #------------------------------------------------------------------------------
20
+ it 'creates a unique auto-generated slug for blogs in the same account' do
21
+ blog1 = create(:blog)
22
+ blog2 = create(:blog, slug: nil)
23
+ expect(blog1.account_id).to eq blog2.account_id
24
+ expect(blog1.slug).not_to eq blog2.slug
25
+ end
26
+
27
+ #------------------------------------------------------------------------------
28
+ it 'raises an error when same slug is specified for blogs in the same account' do
29
+ blog1 = create(:blog)
30
+ blog2 = build(:blog)
31
+ expect(blog2).not_to be_valid
32
+ expect(blog2.errors[:slug]).to include("has already been taken")
33
+ end
34
+
35
+ end
36
+
37
+ end
@@ -0,0 +1,9 @@
1
+ require 'rails_helper'
2
+
3
+ describe CmsPage do
4
+ setup_account
5
+
6
+ #------------------------------------------------------------------------------
7
+ it 'write tests'
8
+
9
+ end
@@ -0,0 +1,44 @@
1
+ require 'rails_helper'
2
+
3
+ describe CmsPost do
4
+ setup_account
5
+
6
+ it 'write more tests'
7
+
8
+ describe 'slug handling' do
9
+
10
+ let(:blog1) { create(:blog) }
11
+ let(:blog2) { create(:news_blog)}
12
+
13
+ #------------------------------------------------------------------------------
14
+ it 'allows the same specified slug between two blogs (scoped to blog)' do
15
+ post1 = blog1.posts.create(attributes_for(:post, slug: 'test-slug'))
16
+ post2 = blog2.posts.create(attributes_for(:post, slug: 'test-slug'))
17
+ expect(post1.slug).to eq post2.slug
18
+ end
19
+
20
+ #------------------------------------------------------------------------------
21
+ it 'allows the same auto-generated slug between two blogs (scoped to blog)' do
22
+ post1 = blog1.posts.create(attributes_for(:post, slug: nil))
23
+ post2 = blog2.posts.create(attributes_for(:post, slug: nil))
24
+ expect(post1.slug).to eq post2.slug
25
+ end
26
+
27
+ #------------------------------------------------------------------------------
28
+ it 'raises an error when same slug is specified for posts in the same blog' do
29
+ post1 = blog1.posts.create(attributes_for(:post, slug: 'test-slug'))
30
+ post2 = blog1.posts.create(attributes_for(:post, slug: 'test-slug'))
31
+ expect(post2).not_to be_valid
32
+ expect(post2.errors[:slug]).to include("has already been taken")
33
+ end
34
+
35
+ #------------------------------------------------------------------------------
36
+ it 'creates a unique auto-generated slug for posts in the same blog' do
37
+ post1 = blog1.posts.create(attributes_for(:post, slug: nil))
38
+ post2 = blog1.posts.create(attributes_for(:post, slug: nil))
39
+ expect(post1.slug).not_to eq post2.slug
40
+ end
41
+
42
+ end
43
+
44
+ end
@@ -0,0 +1,70 @@
1
+ # Useful links for testing Engines
2
+ # http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
3
+ # http://www.andrewhavens.com/posts/27/how-to-create-a-new-rails-engine-which-uses-rspec-and-factorygirl-for-testing/
4
+ # https://www.honeybadger.io/blog/2014/01/28/rails4-engine-controller-specs
5
+ #------------------------------------------------------------------------------
6
+
7
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
8
+ ENV["RAILS_ENV"] ||= 'test'
9
+
10
+ # Zeus does not preload RSpec
11
+ require 'rspec/core' unless defined? RSpec.configure
12
+
13
+ require 'spec_helper'
14
+ require File.expand_path("../dummy/config/environment", __FILE__)
15
+ require 'rspec/rails'
16
+ # Add additional requires below this line. Rails is not loaded until this point!
17
+
18
+ # Factories were not being initialized for the engine. This fixed it
19
+ # http://stackoverflow.com/questions/16064872/rails-3-factory-girl-factory-not-registered
20
+ FactoryGirl.definition_file_paths = [File.expand_path('../factories', __FILE__)]
21
+ FactoryGirl.find_definitions
22
+
23
+ # Requires supporting ruby files with custom matchers and macros, etc, in
24
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
25
+ # run as spec files by default. This means that files in spec/support that end
26
+ # in _spec.rb will both be required and run as specs, causing the specs to be
27
+ # run twice. It is recommended that you do not name files matching this glob to
28
+ # end with _spec.rb. You can configure this pattern with the --pattern
29
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
30
+ #
31
+ # The following line is provided for convenience purposes. It has the downside
32
+ # of increasing the boot-up time by auto-requiring all files in the support
33
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
34
+ # require only the support files necessary.
35
+ #
36
+ # Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
37
+ ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
38
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
39
+
40
+ # Checks for pending migrations before tests are run.
41
+ # If you are not using ActiveRecord, you can remove this line.
42
+ ActiveRecord::Migration.maintain_test_schema!
43
+
44
+ RSpec.configure do |config|
45
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
46
+ # config.fixture_path = "#{ENGINE_RAILS_ROOT}/spec/fixtures"
47
+
48
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
49
+ # examples within a transaction, remove the following line or assign false
50
+ # instead of true.
51
+ config.use_transactional_fixtures = true
52
+
53
+ # RSpec Rails can automatically mix in different behaviours to your tests
54
+ # based on their file location, for example enabling you to call `get` and
55
+ # `post` in specs under `spec/controllers`.
56
+ #
57
+ # You can disable this behaviour by removing the line below, and instead
58
+ # explicitly tag your specs with their type, e.g.:
59
+ #
60
+ # RSpec.describe UsersController, :type => :controller do
61
+ # # ...
62
+ # end
63
+ #
64
+ # The different available types are documented in the features, such as in
65
+ # https://relishapp.com/rspec/rspec-rails/docs
66
+ config.infer_spec_type_from_file_location!
67
+
68
+ # Include Factory Girl syntax to simplify calls to factories
69
+ config.include FactoryGirl::Syntax::Methods
70
+ end
@@ -0,0 +1,85 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+ # rspec-expectations config goes here. You can use an alternate
19
+ # assertion/expectation library such as wrong or the stdlib/minitest
20
+ # assertions if you prefer.
21
+ config.expect_with :rspec do |expectations|
22
+ # This option will default to `true` in RSpec 4. It makes the `description`
23
+ # and `failure_message` of custom matchers include text for helper methods
24
+ # defined using `chain`, e.g.:
25
+ # be_bigger_than(2).and_smaller_than(4).description
26
+ # # => "be bigger than 2 and smaller than 4"
27
+ # ...rather than:
28
+ # # => "be bigger than 2"
29
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
30
+ end
31
+
32
+ # rspec-mocks config goes here. You can use an alternate test double
33
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
34
+ config.mock_with :rspec do |mocks|
35
+ # Prevents you from mocking or stubbing a method that does not exist on
36
+ # a real object. This is generally recommended, and will default to
37
+ # `true` in RSpec 4.
38
+ mocks.verify_partial_doubles = true
39
+ end
40
+
41
+ # The settings below are suggested to provide a good initial experience
42
+ # with RSpec, but feel free to customize to your heart's content.
43
+ =begin
44
+ # These two settings work together to allow you to limit a spec run
45
+ # to individual examples or groups you care about by tagging them with
46
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
47
+ # get run.
48
+ config.filter_run :focus
49
+ config.run_all_when_everything_filtered = true
50
+
51
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
52
+ # For more details, see:
53
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
54
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
55
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
56
+ config.disable_monkey_patching!
57
+
58
+ # Many RSpec users commonly either run the entire suite or an individual
59
+ # file, and it's useful to allow more verbose output when running an
60
+ # individual spec file.
61
+ if config.files_to_run.one?
62
+ # Use the documentation formatter for detailed output,
63
+ # unless a formatter has already been configured
64
+ # (e.g. via a command-line flag).
65
+ config.default_formatter = 'doc'
66
+ end
67
+
68
+ # Print the 10 slowest examples and example groups at the
69
+ # end of the spec run, to help surface which specs are running
70
+ # particularly slow.
71
+ config.profile_examples = 10
72
+
73
+ # Run specs in random order to surface order dependencies. If you find an
74
+ # order dependency and want to debug it, you can fix the order by providing
75
+ # the seed, which is printed after each run.
76
+ # --seed 1234
77
+ config.order = :random
78
+
79
+ # Seed global randomization in this process using the `--seed` CLI option.
80
+ # Setting this allows you to use `--seed` to deterministically reproduce
81
+ # test failures related to randomization by passing the same `--seed` value
82
+ # as the one that triggered the failure.
83
+ Kernel.srand config.seed
84
+ =end
85
+ end
@@ -0,0 +1,17 @@
1
+ module AccountMacros
2
+
3
+ # Setup the current account. Used for model specs. Need to use :each, otherwise
4
+ # the created Account does not get cleared between runs
5
+ #------------------------------------------------------------------------------
6
+ def setup_account
7
+ before :each do
8
+ Account.current = FactoryGirl.create(:account)
9
+ end
10
+ end
11
+
12
+ end
13
+
14
+ #------------------------------------------------------------------------------
15
+ RSpec.configure do |config|
16
+ config.extend AccountMacros, type: :model
17
+ end
@@ -0,0 +1,44 @@
1
+ require 'devise'
2
+
3
+ # from https://github.com/plataformatec/devise/wiki/How-To:-Test-controllers-with-Rails-3-and-4-(and-RSpec)
4
+ #------------------------------------------------------------------------------
5
+ module LoginMacros
6
+
7
+ #------------------------------------------------------------------------------
8
+ def login_admin
9
+ before :each do
10
+ @request.env["devise.mapping"] = Devise.mappings[:user]
11
+ @request.host = "test.example.com" # domain must match the account being used
12
+ Account.current = FactoryGirl.create(:account)
13
+ @current_user = FactoryGirl.create(:admin_user)
14
+ sign_in @current_user
15
+ end
16
+ end
17
+
18
+ #------------------------------------------------------------------------------
19
+ def login_user
20
+ before :each do
21
+ @request.env["devise.mapping"] = Devise.mappings[:user]
22
+ @request.host = "test.example.com" # domain must match the account being used
23
+ Account.current = FactoryGirl.create(:account)
24
+ @current_user = FactoryGirl.create(:user)
25
+ sign_in @current_user
26
+ end
27
+ end
28
+
29
+ #------------------------------------------------------------------------------
30
+ def sign_in(user)
31
+ visit main_app.new_user_session_path
32
+ # click_link 'Log In'
33
+ fill_in 'Email', with: user.email
34
+ fill_in 'Password', with: user.password
35
+ click_button 'Sign in'
36
+ end
37
+ end
38
+
39
+ #------------------------------------------------------------------------------
40
+ RSpec.configure do |config|
41
+ config.include Devise::TestHelpers, type: :controller
42
+ config.extend LoginMacros, type: :controller
43
+ config.include LoginMacros, type: :feature
44
+ end
@@ -0,0 +1,57 @@
1
+ # In general, the default_url_options method of our controller never
2
+ # gets called, so the default locale parameter for our url's is never
3
+ # set.
4
+ #
5
+ # There are two issues with the locale value on urls:
6
+ # 1. for routes in the code (redirects, url_for, etc), we need the monkey
7
+ # patch for ActionView and ActionDispatch
8
+ # Ref: https://github.com/rspec/rspec-rails/issues/255#issuecomment-24796864
9
+ #
10
+ # 2. for the 'get', 'post', etc, methods in our specs, use the DefaultParams
11
+ # below, which will set the locale for the get/post automatically, so we don't
12
+ # have to specify it on each invocation
13
+ # Ref: https://gist.github.com/PikachuEXE/8110084
14
+ #
15
+ # Ref: https://github.com/rspec/rspec-rails/issues/255
16
+ #------------------------------------------------------------------------------
17
+
18
+ # 1. (no longer needed in Rails 4.2)
19
+ #------------------------------------------------------------------------------
20
+ # class ActionView::TestCase::TestController
21
+ # def default_url_options(options={})
22
+ # { locale: I18n.default_locale }
23
+ # end
24
+ # end
25
+ #
26
+ # class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper
27
+ # def call(t, args)
28
+ # t.url_for(handle_positional_args(t, args, { locale: I18n.default_locale }.merge( @options ), @segment_keys))
29
+ # end
30
+ # end
31
+
32
+ # 2.
33
+ #------------------------------------------------------------------------------
34
+ require 'active_support/concern'
35
+
36
+ module DefaultParams
37
+ extend ActiveSupport::Concern
38
+
39
+ included do
40
+ let(:default_params) { {locale: I18n.locale} }
41
+
42
+ def process_with_default_params(action, http_method = 'GET', *args)
43
+ parameters = args.shift
44
+
45
+ parameters = default_params.merge(parameters || {})
46
+ args.unshift(parameters)
47
+
48
+ process_without_default_params(action, http_method, *args)
49
+ end
50
+
51
+ alias_method_chain :process, :default_params
52
+ end
53
+ end
54
+
55
+ RSpec.configure do |config|
56
+ config.include(DefaultParams, :type => :controller)
57
+ end
metadata ADDED
@@ -0,0 +1,545 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dm_cms
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.2.1.5
5
+ platform: ruby
6
+ authors:
7
+ - Brett Walker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dm_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.1.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.1.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: meta-tags-helpers
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: mail_form
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.5.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.5.0
55
+ description: Part of MokshaCms, Content/Blog Management Engine
56
+ email:
57
+ - github@digitalmoksha.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - MIT-LICENSE
63
+ - README.md
64
+ - Rakefile
65
+ - app/assets/javascripts/dm_cms/admin.js
66
+ - app/assets/javascripts/dm_cms/application.js
67
+ - app/assets/stylesheets/dm_cms/admin.css
68
+ - app/assets/stylesheets/dm_cms/application.css
69
+ - app/controllers/dm_cms/admin/admin_controller.rb
70
+ - app/controllers/dm_cms/admin/cms_blogs_controller.rb
71
+ - app/controllers/dm_cms/admin/cms_contentitems_controller.rb
72
+ - app/controllers/dm_cms/admin/cms_pages_controller.rb
73
+ - app/controllers/dm_cms/admin/cms_posts_controller.rb
74
+ - app/controllers/dm_cms/admin/cms_snippets_controller.rb
75
+ - app/controllers/dm_cms/admin/dashboard_controller.rb
76
+ - app/controllers/dm_cms/admin/media_files_controller.rb
77
+ - app/controllers/dm_cms/application_controller.rb
78
+ - app/controllers/dm_cms/blogs_controller.rb
79
+ - app/controllers/dm_cms/comments_controller.rb
80
+ - app/controllers/dm_cms/contact_form_controller.rb
81
+ - app/controllers/dm_cms/pages_controller.rb
82
+ - app/controllers/dm_cms/posts_controller.rb
83
+ - app/datatables/blog_user_datatable.rb
84
+ - app/helpers/dm_cms/analytics_helper.rb
85
+ - app/helpers/dm_cms/application_helper.rb
86
+ - app/helpers/dm_cms/cms_contentitems_helper.rb
87
+ - app/helpers/dm_cms/cms_pages_helper.rb
88
+ - app/helpers/dm_cms/pages_helper.rb
89
+ - app/helpers/dm_cms/posts_helper.rb
90
+ - app/helpers/dm_cms/render_helper.rb
91
+ - app/inputs/media_input.rb
92
+ - app/liquid/tags/markdown.rb
93
+ - app/mailers/post_notify_mailer.rb
94
+ - app/models/cms_blog.rb
95
+ - app/models/cms_contentitem.rb
96
+ - app/models/cms_page.rb
97
+ - app/models/cms_post.rb
98
+ - app/models/cms_snippet.rb
99
+ - app/models/contact_form.rb
100
+ - app/models/dm_cms/concerns/ability.rb
101
+ - app/models/dm_cms/permitted_params.rb
102
+ - app/models/media_file.rb
103
+ - app/presenters/cms_blog_presenter.rb
104
+ - app/presenters/cms_page_presenter.rb
105
+ - app/presenters/cms_post_presenter.rb
106
+ - app/presenters/cms_snippet_presenter.rb
107
+ - app/uploaders/media_uploader.rb
108
+ - app/views/customized/analytics/_google_analytics.html.erb
109
+ - app/views/dm_cms/admin/cms_blogs/_form.html.erb
110
+ - app/views/dm_cms/admin/cms_blogs/edit.html.erb
111
+ - app/views/dm_cms/admin/cms_blogs/index.html.erb
112
+ - app/views/dm_cms/admin/cms_blogs/new.html.erb
113
+ - app/views/dm_cms/admin/cms_blogs/show.html.erb
114
+ - app/views/dm_cms/admin/cms_contentitems/_form.html.erb
115
+ - app/views/dm_cms/admin/cms_contentitems/_form_dialog.html.erb
116
+ - app/views/dm_cms/admin/cms_contentitems/edit.html.erb
117
+ - app/views/dm_cms/admin/cms_contentitems/markdown.html.erb
118
+ - app/views/dm_cms/admin/cms_contentitems/new_content.html.erb
119
+ - app/views/dm_cms/admin/cms_pages/_content_toolbar.html.erb
120
+ - app/views/dm_cms/admin/cms_pages/_form.html.erb
121
+ - app/views/dm_cms/admin/cms_pages/_tree.html.erb
122
+ - app/views/dm_cms/admin/cms_pages/_tree_sidebar.html.erb
123
+ - app/views/dm_cms/admin/cms_pages/edit.html.erb
124
+ - app/views/dm_cms/admin/cms_pages/index.html.erb
125
+ - app/views/dm_cms/admin/cms_pages/new_page.html.erb
126
+ - app/views/dm_cms/admin/cms_pages/show.html.erb
127
+ - app/views/dm_cms/admin/cms_posts/_form.html.erb
128
+ - app/views/dm_cms/admin/cms_posts/edit.html.erb
129
+ - app/views/dm_cms/admin/cms_posts/new.html.erb
130
+ - app/views/dm_cms/admin/cms_snippets/_form.html.erb
131
+ - app/views/dm_cms/admin/cms_snippets/edit.html.erb
132
+ - app/views/dm_cms/admin/cms_snippets/index.html.erb
133
+ - app/views/dm_cms/admin/cms_snippets/new.html.erb
134
+ - app/views/dm_cms/admin/dashboard/_widget_blog_comments.html.erb
135
+ - app/views/dm_cms/admin/dashboard/widget_blog_comments.js.erb
136
+ - app/views/dm_cms/admin/media_files/_form.html.erb
137
+ - app/views/dm_cms/admin/media_files/edit.html.erb
138
+ - app/views/dm_cms/admin/media_files/index.html.erb
139
+ - app/views/dm_cms/admin/media_files/new.html.erb
140
+ - app/views/dm_cms/admin/shared/_liquid_tags_ref.html.erb
141
+ - app/views/dm_cms/blogs/show.html.erb
142
+ - app/views/dm_cms/blogs/toggle_follow.js.coffee
143
+ - app/views/dm_cms/contact_form/create.html.erb
144
+ - app/views/dm_cms/contact_form/create.js.erb
145
+ - app/views/dm_cms/pages/_content_fragment.html.erb
146
+ - app/views/dm_cms/pages/_snippet_fragment.html.erb
147
+ - app/views/dm_cms/pages/coming_soon.html.erb
148
+ - app/views/dm_cms/pages/show.html.erb
149
+ - app/views/dm_cms/posts/show.html.erb
150
+ - app/views/dm_cms/shared/_comment.html.erb
151
+ - app/views/dm_cms/shared/_comment_form.html.erb
152
+ - app/views/dm_cms/shared/_comment_list.html.erb
153
+ - app/views/dm_cms/shared/_social_buttons.html.erb
154
+ - app/views/layouts/email_templates/dm_cms_email_layout.html.erb
155
+ - app/views/layouts/email_templates/dm_cms_email_layout.text.erb
156
+ - app/views/layouts/email_templates/dm_cms_post_notify.html.erb
157
+ - app/views/layouts/email_templates/dm_cms_post_notify.text.erb
158
+ - app/views/liquid_tags/_contact_form.html.erb
159
+ - config/initializers/liquid_init.rb
160
+ - config/locales/cms.cs.yml
161
+ - config/locales/cms.de.yml
162
+ - config/locales/cms.en.yml
163
+ - config/locales/cms.fi.yml
164
+ - config/locales/cms.ja.yml
165
+ - config/routes.rb
166
+ - db/migrate/20121103181909_create_cms.rb
167
+ - db/migrate/20130206213720_add_account_to_cms.rb
168
+ - db/migrate/20130507123255_create_blog.rb
169
+ - db/migrate/20130531212537_add_notification_sent.rb
170
+ - db/migrate/20130605184116_add_blog_comment.rb
171
+ - db/migrate/20131128201053_add_blog_image.rb
172
+ - db/migrate/20140217135228_rename_snippet_slug.rb
173
+ - db/migrate/20140303121217_add_requires_subscription_blog.rb
174
+ - db/migrate/20140328205246_add_pages_ranked_model.rb
175
+ - db/migrate/20140423113417_add_blog_owner.rb
176
+ - db/migrate/20140428122156_create_media_files.rb
177
+ - db/migrate/20140523134543_add_cmspage_summary.rb
178
+ - db/migrate/20140601151631_add_blog_image_email_header.rb
179
+ - db/migrate/20141004154725_add_header_image.rb
180
+ - db/migrate/20160821150108_index_foreign_keys_in_cms_blogs.rb
181
+ - db/migrate/20160821150109_index_foreign_keys_in_cms_media_files.rb
182
+ - db/migrate/20160821150110_index_foreign_keys_in_cms_posts.rb
183
+ - lib/dm_cms.rb
184
+ - lib/dm_cms/engine.rb
185
+ - lib/dm_cms/liquid/filters/liquid_filters.rb
186
+ - lib/dm_cms/liquid/tags/contact_form.rb
187
+ - lib/dm_cms/liquid/tags/div.rb
188
+ - lib/dm_cms/liquid/tags/image.rb
189
+ - lib/dm_cms/liquid/tags/quote.rb
190
+ - lib/dm_cms/liquid/tags/snippet.rb
191
+ - lib/dm_cms/liquid/tags/url_asset.rb
192
+ - lib/dm_cms/liquid/tags/url_media.rb
193
+ - lib/dm_cms/liquid/tags/url_protected.rb
194
+ - lib/tasks/dm_cms_tasks.rake
195
+ - spec/controllers/admin/cms_blogs_controller_spec.rb
196
+ - spec/controllers/admin/cms_pages_controller_spec.rb
197
+ - spec/controllers/admin/cms_posts_controller_spec.rb
198
+ - spec/dummy/README.rdoc
199
+ - spec/dummy/Rakefile
200
+ - spec/dummy/app/assets/javascripts/application.js
201
+ - spec/dummy/app/assets/stylesheets/application.css
202
+ - spec/dummy/app/controllers/application_controller.rb
203
+ - spec/dummy/app/helpers/application_helper.rb
204
+ - spec/dummy/app/models/ability.rb
205
+ - spec/dummy/app/models/user.rb
206
+ - spec/dummy/app/views/layouts/application.html.erb
207
+ - spec/dummy/bin/bundle
208
+ - spec/dummy/bin/rails
209
+ - spec/dummy/bin/rake
210
+ - spec/dummy/config.ru
211
+ - spec/dummy/config/application.rb
212
+ - spec/dummy/config/boot.rb
213
+ - spec/dummy/config/database.yml
214
+ - spec/dummy/config/environment.rb
215
+ - spec/dummy/config/environments/development.rb
216
+ - spec/dummy/config/environments/production.rb
217
+ - spec/dummy/config/environments/test.rb
218
+ - spec/dummy/config/initializers/_themes_for_rails.rb
219
+ - spec/dummy/config/initializers/account_initialization.rb
220
+ - spec/dummy/config/initializers/assets.rb
221
+ - spec/dummy/config/initializers/backtrace_silencers.rb
222
+ - spec/dummy/config/initializers/cookies_serializer.rb
223
+ - spec/dummy/config/initializers/dm_core.rb
224
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
225
+ - spec/dummy/config/initializers/inflections.rb
226
+ - spec/dummy/config/initializers/mime_types.rb
227
+ - spec/dummy/config/initializers/session_store.rb
228
+ - spec/dummy/config/initializers/wrap_parameters.rb
229
+ - spec/dummy/config/locales/en.yml
230
+ - spec/dummy/config/routes.rb
231
+ - spec/dummy/config/secrets.yml
232
+ - spec/dummy/db/development.sqlite3
233
+ - spec/dummy/db/migrate/20141114170927_add_globalize_countries.dm_core.rb
234
+ - spec/dummy/db/migrate/20141114170928_devise_create_users.dm_core.rb
235
+ - spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
236
+ - spec/dummy/db/migrate/20141114170930_rolify_create_roles.dm_core.rb
237
+ - spec/dummy/db/migrate/20141114170931_add_last_access.dm_core.rb
238
+ - spec/dummy/db/migrate/20141114170932_create_versions.dm_core.rb
239
+ - spec/dummy/db/migrate/20141114170933_add_object_changes_column_to_versions.dm_core.rb
240
+ - spec/dummy/db/migrate/20141114170934_create_dm_core_accounts.dm_core.rb
241
+ - spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
242
+ - spec/dummy/db/migrate/20141114170936_create_preferences.dm_core.rb
243
+ - spec/dummy/db/migrate/20141114170937_create_comments.dm_core.rb
244
+ - spec/dummy/db/migrate/20141114170938_add_activity.dm_core.rb
245
+ - spec/dummy/db/migrate/20141114170939_add_type_to_comments.dm_core.rb
246
+ - spec/dummy/db/migrate/20141114170940_add_category.dm_core.rb
247
+ - spec/dummy/db/migrate/20141114170941_create_email_table.dm_core.rb
248
+ - spec/dummy/db/migrate/20141114170942_add_user_profile.dm_core.rb
249
+ - spec/dummy/db/migrate/20141114170943_add_profile_email.dm_core.rb
250
+ - spec/dummy/db/migrate/20141114170944_create_payment_history.dm_core.rb
251
+ - spec/dummy/db/migrate/20141114170945_change_anchor_field.dm_core.rb
252
+ - spec/dummy/db/migrate/20141114170946_create_user_site_profile.dm_core.rb
253
+ - spec/dummy/db/migrate/20141114170947_add_avatar.dm_core.rb
254
+ - spec/dummy/db/migrate/20141114170948_add_notify_to_payment_history.dm_core.rb
255
+ - spec/dummy/db/migrate/20141114170949_acts_as_votable_migration.dm_core.rb
256
+ - spec/dummy/db/migrate/20141114170950_add_user_site_profile_uuid.dm_core.rb
257
+ - spec/dummy/db/migrate/20141114170951_add_invoice_id.dm_core.rb
258
+ - spec/dummy/db/migrate/20141114170952_acts_as_follower_migration.dm_core.rb
259
+ - spec/dummy/db/migrate/20141114170953_rename_invoice_id.dm_core.rb
260
+ - spec/dummy/db/migrate/20141114170954_add_core_addresses.dm_core.rb
261
+ - spec/dummy/db/migrate/20141114170955_papertrail_increase_column.dm_core.rb
262
+ - spec/dummy/db/migrate/20141114170956_acts_as_taggable_on_migration.dm_core.rb
263
+ - spec/dummy/db/migrate/20141114170957_add_missing_unique_indices.dm_core.rb
264
+ - spec/dummy/db/migrate/20141114170958_add_taggings_counter_cache_to_tags.dm_core.rb
265
+ - spec/dummy/db/migrate/20141114170959_create_custom_fields.dm_core.rb
266
+ - spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb
267
+ - spec/dummy/db/migrate/20141114170961_create_documents.dm_knowledge.rb
268
+ - spec/dummy/db/migrate/20141114170962_add_document_notes.dm_knowledge.rb
269
+ - spec/dummy/db/migrate/20160128134522_add_favored_locale.dm_core.rb
270
+ - spec/dummy/db/migrate/20160128134523_update_papertrail_v4.dm_core.rb
271
+ - spec/dummy/db/schema.rb
272
+ - spec/dummy/db/seeds.rb
273
+ - spec/dummy/public/404.html
274
+ - spec/dummy/public/422.html
275
+ - spec/dummy/public/500.html
276
+ - spec/dummy/public/favicon.ico
277
+ - spec/dummy/themes/_mbus/_readme.md
278
+ - spec/dummy/themes/_mbus/_theme.yml
279
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/application.js
280
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.js
281
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.min.js
282
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/contact_me.js
283
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jqBootstrapValidation.js
284
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jquery-1.11.0.js
285
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/application.css
286
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.css
287
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.min.css
288
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.css
289
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.min.css
290
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/FontAwesome.otf
291
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.eot
292
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.svg
293
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.ttf
294
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.woff
295
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/bordered-pulled.less
296
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/core.less
297
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/fixed-width.less
298
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/font-awesome.less
299
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/icons.less
300
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/larger.less
301
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/list.less
302
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/mixins.less
303
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/path.less
304
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/rotated-flipped.less
305
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/spinning.less
306
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/stacked.less
307
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/variables.less
308
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_bordered-pulled.scss
309
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_core.scss
310
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_fixed-width.scss
311
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_icons.scss
312
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_larger.scss
313
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_list.scss
314
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_mixins.scss
315
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_path.scss
316
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_rotated-flipped.scss
317
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_spinning.scss
318
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_stacked.scss
319
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_variables.scss
320
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/font-awesome.scss
321
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/modern-business.css
322
+ - spec/dummy/themes/_mbus/theme_support/config/load_theme.rb
323
+ - spec/dummy/themes/_mbus/theme_support/locales/site.cs.yml
324
+ - spec/dummy/themes/_mbus/theme_support/locales/site.de.yml
325
+ - spec/dummy/themes/_mbus/theme_support/locales/site.en.yml
326
+ - spec/dummy/themes/_mbus/theme_support/locales/site.fi.yml
327
+ - spec/dummy/themes/_mbus/theme_support/locales/site.ja.yml
328
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_blog_right_sidebar.html.erb
329
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment.html.erb
330
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_form.html.erb
331
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_list.html.erb
332
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_section.html.erb
333
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_footer.html.erb
334
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_header.html.erb
335
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_top.html.erb
336
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_post_summary_item.html.erb
337
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_social_buttons_initialization.html.erb
338
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog.html.erb
339
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog_post.html.erb
340
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_full_width.html.erb
341
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_with_left_nav.html.erb
342
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/index.html.erb
343
+ - spec/dummy/themes/local/_theme.yml
344
+ - spec/factories/accounts.rb
345
+ - spec/factories/blogs.rb
346
+ - spec/factories/posts.rb
347
+ - spec/factories/user_profiles.rb
348
+ - spec/factories/users.rb
349
+ - spec/features/admin/blog_admin_spec.rb
350
+ - spec/models/cms_blog_spec.rb
351
+ - spec/models/cms_page_spec.rb
352
+ - spec/models/cms_post_spec.rb
353
+ - spec/rails_helper.rb
354
+ - spec/spec_helper.rb
355
+ - spec/support/accounts.rb
356
+ - spec/support/devise.rb
357
+ - spec/support/fix_locale.rb
358
+ homepage: https://github.com/digitalmoksha/moksha_cms
359
+ licenses:
360
+ - MIT
361
+ metadata: {}
362
+ post_install_message:
363
+ rdoc_options: []
364
+ require_paths:
365
+ - lib
366
+ required_ruby_version: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - ">="
369
+ - !ruby/object:Gem::Version
370
+ version: '0'
371
+ required_rubygems_version: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ requirements: []
377
+ rubyforge_project:
378
+ rubygems_version: 2.5.1
379
+ signing_key:
380
+ specification_version: 4
381
+ summary: Part of MokshaCms, Content Management Engine
382
+ test_files:
383
+ - spec/controllers/admin/cms_blogs_controller_spec.rb
384
+ - spec/controllers/admin/cms_pages_controller_spec.rb
385
+ - spec/controllers/admin/cms_posts_controller_spec.rb
386
+ - spec/dummy/app/assets/javascripts/application.js
387
+ - spec/dummy/app/assets/stylesheets/application.css
388
+ - spec/dummy/app/controllers/application_controller.rb
389
+ - spec/dummy/app/helpers/application_helper.rb
390
+ - spec/dummy/app/models/ability.rb
391
+ - spec/dummy/app/models/user.rb
392
+ - spec/dummy/app/views/layouts/application.html.erb
393
+ - spec/dummy/bin/bundle
394
+ - spec/dummy/bin/rails
395
+ - spec/dummy/bin/rake
396
+ - spec/dummy/config/application.rb
397
+ - spec/dummy/config/boot.rb
398
+ - spec/dummy/config/database.yml
399
+ - spec/dummy/config/environment.rb
400
+ - spec/dummy/config/environments/development.rb
401
+ - spec/dummy/config/environments/production.rb
402
+ - spec/dummy/config/environments/test.rb
403
+ - spec/dummy/config/initializers/_themes_for_rails.rb
404
+ - spec/dummy/config/initializers/account_initialization.rb
405
+ - spec/dummy/config/initializers/assets.rb
406
+ - spec/dummy/config/initializers/backtrace_silencers.rb
407
+ - spec/dummy/config/initializers/cookies_serializer.rb
408
+ - spec/dummy/config/initializers/dm_core.rb
409
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
410
+ - spec/dummy/config/initializers/inflections.rb
411
+ - spec/dummy/config/initializers/mime_types.rb
412
+ - spec/dummy/config/initializers/session_store.rb
413
+ - spec/dummy/config/initializers/wrap_parameters.rb
414
+ - spec/dummy/config/locales/en.yml
415
+ - spec/dummy/config/routes.rb
416
+ - spec/dummy/config/secrets.yml
417
+ - spec/dummy/config.ru
418
+ - spec/dummy/db/development.sqlite3
419
+ - spec/dummy/db/migrate/20141114170927_add_globalize_countries.dm_core.rb
420
+ - spec/dummy/db/migrate/20141114170928_devise_create_users.dm_core.rb
421
+ - spec/dummy/db/migrate/20141114170929_add_user_fields.dm_core.rb
422
+ - spec/dummy/db/migrate/20141114170930_rolify_create_roles.dm_core.rb
423
+ - spec/dummy/db/migrate/20141114170931_add_last_access.dm_core.rb
424
+ - spec/dummy/db/migrate/20141114170932_create_versions.dm_core.rb
425
+ - spec/dummy/db/migrate/20141114170933_add_object_changes_column_to_versions.dm_core.rb
426
+ - spec/dummy/db/migrate/20141114170934_create_dm_core_accounts.dm_core.rb
427
+ - spec/dummy/db/migrate/20141114170935_add_account_to_users.dm_core.rb
428
+ - spec/dummy/db/migrate/20141114170936_create_preferences.dm_core.rb
429
+ - spec/dummy/db/migrate/20141114170937_create_comments.dm_core.rb
430
+ - spec/dummy/db/migrate/20141114170938_add_activity.dm_core.rb
431
+ - spec/dummy/db/migrate/20141114170939_add_type_to_comments.dm_core.rb
432
+ - spec/dummy/db/migrate/20141114170940_add_category.dm_core.rb
433
+ - spec/dummy/db/migrate/20141114170941_create_email_table.dm_core.rb
434
+ - spec/dummy/db/migrate/20141114170942_add_user_profile.dm_core.rb
435
+ - spec/dummy/db/migrate/20141114170943_add_profile_email.dm_core.rb
436
+ - spec/dummy/db/migrate/20141114170944_create_payment_history.dm_core.rb
437
+ - spec/dummy/db/migrate/20141114170945_change_anchor_field.dm_core.rb
438
+ - spec/dummy/db/migrate/20141114170946_create_user_site_profile.dm_core.rb
439
+ - spec/dummy/db/migrate/20141114170947_add_avatar.dm_core.rb
440
+ - spec/dummy/db/migrate/20141114170948_add_notify_to_payment_history.dm_core.rb
441
+ - spec/dummy/db/migrate/20141114170949_acts_as_votable_migration.dm_core.rb
442
+ - spec/dummy/db/migrate/20141114170950_add_user_site_profile_uuid.dm_core.rb
443
+ - spec/dummy/db/migrate/20141114170951_add_invoice_id.dm_core.rb
444
+ - spec/dummy/db/migrate/20141114170952_acts_as_follower_migration.dm_core.rb
445
+ - spec/dummy/db/migrate/20141114170953_rename_invoice_id.dm_core.rb
446
+ - spec/dummy/db/migrate/20141114170954_add_core_addresses.dm_core.rb
447
+ - spec/dummy/db/migrate/20141114170955_papertrail_increase_column.dm_core.rb
448
+ - spec/dummy/db/migrate/20141114170956_acts_as_taggable_on_migration.dm_core.rb
449
+ - spec/dummy/db/migrate/20141114170957_add_missing_unique_indices.dm_core.rb
450
+ - spec/dummy/db/migrate/20141114170958_add_taggings_counter_cache_to_tags.dm_core.rb
451
+ - spec/dummy/db/migrate/20141114170959_create_custom_fields.dm_core.rb
452
+ - spec/dummy/db/migrate/20141114170960_add_missing_taggable_index.dm_core.rb
453
+ - spec/dummy/db/migrate/20141114170961_create_documents.dm_knowledge.rb
454
+ - spec/dummy/db/migrate/20141114170962_add_document_notes.dm_knowledge.rb
455
+ - spec/dummy/db/migrate/20160128134522_add_favored_locale.dm_core.rb
456
+ - spec/dummy/db/migrate/20160128134523_update_papertrail_v4.dm_core.rb
457
+ - spec/dummy/db/schema.rb
458
+ - spec/dummy/db/seeds.rb
459
+ - spec/dummy/public/404.html
460
+ - spec/dummy/public/422.html
461
+ - spec/dummy/public/500.html
462
+ - spec/dummy/public/favicon.ico
463
+ - spec/dummy/Rakefile
464
+ - spec/dummy/README.rdoc
465
+ - spec/dummy/themes/_mbus/_readme.md
466
+ - spec/dummy/themes/_mbus/_theme.yml
467
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/application.js
468
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.js
469
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/bootstrap.min.js
470
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/contact_me.js
471
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jqBootstrapValidation.js
472
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/javascripts/jquery-1.11.0.js
473
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/application.css
474
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.css
475
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/bootstrap.min.css
476
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.css
477
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/css/font-awesome.min.css
478
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.eot
479
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.svg
480
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.ttf
481
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/fontawesome-webfont.woff
482
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/fonts/FontAwesome.otf
483
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/bordered-pulled.less
484
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/core.less
485
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/fixed-width.less
486
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/font-awesome.less
487
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/icons.less
488
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/larger.less
489
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/list.less
490
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/mixins.less
491
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/path.less
492
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/rotated-flipped.less
493
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/spinning.less
494
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/stacked.less
495
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/less/variables.less
496
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_bordered-pulled.scss
497
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_core.scss
498
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_fixed-width.scss
499
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_icons.scss
500
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_larger.scss
501
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_list.scss
502
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_mixins.scss
503
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_path.scss
504
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_rotated-flipped.scss
505
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_spinning.scss
506
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_stacked.scss
507
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/_variables.scss
508
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/font-awesome-4.1.0/scss/font-awesome.scss
509
+ - spec/dummy/themes/_mbus/theme_assets/_mbus/stylesheets/modern-business.css
510
+ - spec/dummy/themes/_mbus/theme_support/config/load_theme.rb
511
+ - spec/dummy/themes/_mbus/theme_support/locales/site.cs.yml
512
+ - spec/dummy/themes/_mbus/theme_support/locales/site.de.yml
513
+ - spec/dummy/themes/_mbus/theme_support/locales/site.en.yml
514
+ - spec/dummy/themes/_mbus/theme_support/locales/site.fi.yml
515
+ - spec/dummy/themes/_mbus/theme_support/locales/site.ja.yml
516
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_blog_right_sidebar.html.erb
517
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment.html.erb
518
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_form.html.erb
519
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_list.html.erb
520
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_comment_section.html.erb
521
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_footer.html.erb
522
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_header.html.erb
523
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_page_top.html.erb
524
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_post_summary_item.html.erb
525
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/_social_buttons_initialization.html.erb
526
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog.html.erb
527
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/blog_post.html.erb
528
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_full_width.html.erb
529
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/content_with_left_nav.html.erb
530
+ - spec/dummy/themes/_mbus/theme_support/views/layouts/cms_templates/index.html.erb
531
+ - spec/dummy/themes/local/_theme.yml
532
+ - spec/factories/accounts.rb
533
+ - spec/factories/blogs.rb
534
+ - spec/factories/posts.rb
535
+ - spec/factories/user_profiles.rb
536
+ - spec/factories/users.rb
537
+ - spec/features/admin/blog_admin_spec.rb
538
+ - spec/models/cms_blog_spec.rb
539
+ - spec/models/cms_page_spec.rb
540
+ - spec/models/cms_post_spec.rb
541
+ - spec/rails_helper.rb
542
+ - spec/spec_helper.rb
543
+ - spec/support/accounts.rb
544
+ - spec/support/devise.rb
545
+ - spec/support/fix_locale.rb