locomotivecms 3.0.0.pre.alpha.3 → 3.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +15 -8
  3. data/app/api/locomotive/api.rb +1 -0
  4. data/app/api/locomotive/api/entities/content_entry_entity.rb +1 -0
  5. data/app/api/locomotive/api/entities/content_type_entity.rb +2 -1
  6. data/app/api/locomotive/api/entities/site_entity.rb +4 -0
  7. data/app/api/locomotive/api/entities/theme_asset_entity.rb +3 -3
  8. data/app/api/locomotive/api/forms/base_form.rb +0 -6
  9. data/app/api/locomotive/api/forms/content_type_field_form.rb +6 -10
  10. data/app/api/locomotive/api/forms/content_type_form.rb +26 -4
  11. data/app/api/locomotive/api/middlewares/params_decoder_middleware.rb +91 -0
  12. data/app/api/locomotive/api/resources/content_type_resource.rb +7 -2
  13. data/app/api/locomotive/api/resources/current_site_resource.rb +10 -2
  14. data/app/assets/images/locomotive/favicon.png +0 -0
  15. data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +11 -1
  16. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +0 -76
  17. data/app/assets/javascripts/locomotive/views/content_assets/edit_image_view.js.coffee +3 -1
  18. data/app/assets/javascripts/locomotive/views/dashboard/show_view.js.coffee +33 -1
  19. data/app/assets/javascripts/locomotive/views/developers_documentation/show_view.js.coffee +9 -0
  20. data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +3 -1
  21. data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +11 -11
  22. data/app/assets/javascripts/locomotive/views/inputs/text_view.js.coffee +16 -0
  23. data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +0 -158
  24. data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +0 -41
  25. data/app/assets/javascripts/locomotive/views/public_submission_accounts/edit_view.js.coffee +7 -0
  26. data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +11 -3
  27. data/app/assets/javascripts/locomotive/views/shared/list_view.js.coffee +4 -2
  28. data/app/assets/javascripts/locomotive/views/translations/index_view.js.coffee +5 -0
  29. data/app/assets/stylesheets/locomotive/application.scss +4 -0
  30. data/app/assets/stylesheets/locomotive/base/_fonts.scss +5 -5
  31. data/app/assets/stylesheets/locomotive/base/form/_base.scss +9 -1
  32. data/app/assets/stylesheets/locomotive/components/_activity_feed.scss +66 -0
  33. data/app/assets/stylesheets/locomotive/components/_content_assets.scss +27 -8
  34. data/app/assets/stylesheets/locomotive/components/_developers.scss +34 -0
  35. data/app/assets/stylesheets/locomotive/components/_error.scss +37 -0
  36. data/app/assets/stylesheets/locomotive/components/_list.scss +6 -0
  37. data/app/assets/stylesheets/locomotive/components/_main.scss +4 -0
  38. data/app/assets/stylesheets/locomotive/components/_misc.scss +1 -0
  39. data/app/assets/stylesheets/locomotive/components/_translations.scss +13 -0
  40. data/app/assets/stylesheets/locomotive/components/header/_base.scss +7 -2
  41. data/app/assets/stylesheets/locomotive/components/misc/_modal.scss +13 -0
  42. data/app/assets/stylesheets/locomotive/components/misc/_notify.scss +2 -2
  43. data/app/assets/stylesheets/locomotive/components/not_logged_in/_sign_in_and_up.scss +11 -1
  44. data/app/assets/stylesheets/locomotive/components/sidebar/_pages_tree.scss +2 -2
  45. data/app/assets/stylesheets/locomotive/error.scss +12 -0
  46. data/app/assets/stylesheets/locomotive/globals/_bootstrap.scss +1 -1
  47. data/app/assets/stylesheets/locomotive/globals/_mixins.scss +8 -4
  48. data/app/assets/stylesheets/locomotive/globals/_variables.scss +2 -0
  49. data/app/assets/stylesheets/locomotive/not_logged_in.scss +4 -0
  50. data/app/controllers/locomotive/accounts_controller.rb +6 -1
  51. data/app/controllers/locomotive/base_controller.rb +1 -1
  52. data/app/controllers/locomotive/concerns/exception_controller.rb +2 -1
  53. data/app/controllers/locomotive/concerns/site_dispatcher_controller.rb +2 -1
  54. data/app/controllers/locomotive/content_assets_controller.rb +2 -2
  55. data/app/controllers/locomotive/content_entries_controller.rb +2 -2
  56. data/app/controllers/locomotive/current_site_controller.rb +5 -1
  57. data/app/controllers/locomotive/custom_fields/select_options_controller.rb +1 -1
  58. data/app/controllers/locomotive/dashboard_controller.rb +2 -0
  59. data/app/controllers/locomotive/developers_documentation_controller.rb +11 -0
  60. data/app/controllers/locomotive/editable_elements_controller.rb +11 -10
  61. data/app/controllers/locomotive/errors_controller.rb +15 -0
  62. data/app/controllers/locomotive/pages_controller.rb +3 -3
  63. data/app/controllers/locomotive/public_submission_accounts_controller.rb +42 -0
  64. data/app/controllers/locomotive/translations_controller.rb +9 -23
  65. data/app/helpers/locomotive/base_helper.rb +25 -23
  66. data/app/helpers/locomotive/content_assets_helper.rb +8 -0
  67. data/app/helpers/locomotive/content_entries_helper.rb +13 -19
  68. data/app/helpers/locomotive/content_types_helper.rb +9 -12
  69. data/app/helpers/locomotive/custom_fields_helper.rb +1 -0
  70. data/app/helpers/locomotive/dashboard_helper.rb +91 -0
  71. data/app/helpers/locomotive/developers_documentation_helper.rb +32 -0
  72. data/app/helpers/locomotive/editable_elements_helper.rb +25 -14
  73. data/app/helpers/locomotive/errors_helper.rb +21 -0
  74. data/app/helpers/locomotive/my_account_helper.rb +10 -8
  75. data/app/helpers/locomotive/pages_helper.rb +1 -1
  76. data/app/helpers/locomotive/public_submission_accounts_helper.rb +11 -0
  77. data/app/helpers/locomotive/shared/accounts_helper.rb +2 -2
  78. data/app/helpers/locomotive/sites_helper.rb +15 -11
  79. data/app/helpers/locomotive/translations_helper.rb +21 -13
  80. data/app/inputs/locomotive/api_key_input.rb +2 -0
  81. data/app/inputs/locomotive/array_input.rb +8 -3
  82. data/app/inputs/locomotive/code_input.rb +1 -47
  83. data/app/inputs/locomotive/document_picker_input.rb +1 -0
  84. data/app/inputs/locomotive/rte_input.rb +2 -0
  85. data/app/inputs/locomotive/toggle_input.rb +2 -0
  86. data/app/models/locomotive/activity.rb +32 -0
  87. data/app/models/locomotive/concerns/content_entry/localized.rb +12 -1
  88. data/app/models/locomotive/concerns/content_type/entry_template.rb +52 -0
  89. data/app/models/locomotive/concerns/page/editable_elements.rb +0 -111
  90. data/app/models/locomotive/concerns/page/layout.rb +21 -6
  91. data/app/models/locomotive/concerns/site/access_points.rb +24 -3
  92. data/app/models/locomotive/concerns/site/locales.rb +7 -27
  93. data/app/models/locomotive/content_asset.rb +0 -4
  94. data/app/models/locomotive/content_entry.rb +10 -8
  95. data/app/models/locomotive/content_type.rb +12 -1
  96. data/app/models/locomotive/editable_element.rb +11 -106
  97. data/app/models/locomotive/editable_file.rb +6 -53
  98. data/app/models/locomotive/editable_model.rb +13 -0
  99. data/app/models/locomotive/editable_text.rb +0 -51
  100. data/app/models/locomotive/page.rb +31 -17
  101. data/app/models/locomotive/site.rb +12 -13
  102. data/app/models/locomotive/theme_asset.rb +0 -4
  103. data/app/models/locomotive/translation.rb +50 -35
  104. data/app/policies/locomotive/content_type_policy.rb +4 -0
  105. data/app/policies/locomotive/site_policy.rb +4 -0
  106. data/app/services/locomotive/concerns/activity_service.rb +27 -0
  107. data/app/services/locomotive/content_asset_service.rb +16 -2
  108. data/app/services/locomotive/content_entry_service.rb +77 -8
  109. data/app/services/locomotive/content_type_service.rb +6 -2
  110. data/app/services/locomotive/editable_element_service.rb +11 -4
  111. data/app/services/locomotive/membership_service.rb +20 -4
  112. data/app/services/locomotive/page_parsing_service.rb +94 -23
  113. data/app/services/locomotive/page_service.rb +61 -3
  114. data/app/services/locomotive/site_service.rb +43 -1
  115. data/app/services/locomotive/translation_service.rb +51 -0
  116. data/app/uploaders/locomotive/picture_uploader.rb +5 -1
  117. data/app/views/locomotive/accounts/{new.html.haml → new.html.slim} +0 -0
  118. data/app/views/locomotive/content_assets/{_dropzone.html.haml → _dropzone.html.slim} +4 -3
  119. data/app/views/locomotive/content_assets/{_list.html.haml → _list.html.slim} +11 -9
  120. data/app/views/locomotive/content_assets/{_nav.html.haml → _nav.html.slim} +5 -5
  121. data/app/views/locomotive/content_assets/{_search_form.html.haml → _search_form.html.slim} +1 -1
  122. data/app/views/locomotive/content_assets/edit_in_drawer.html.slim +27 -0
  123. data/app/views/locomotive/content_assets/{index.html.haml → index.html.slim} +4 -4
  124. data/app/views/locomotive/content_assets/{index_in_drawer.html.haml → index_in_drawer.html.slim} +1 -1
  125. data/app/views/locomotive/content_entries/{_entry.html.haml → _entry.html.slim} +3 -3
  126. data/app/views/locomotive/content_entries/{_list.html.haml → _list.html.slim} +9 -8
  127. data/app/views/locomotive/content_entries/{edit.html.haml → edit.html.slim} +5 -0
  128. data/app/views/locomotive/content_entries/form/{_actions.html.haml → _actions.html.slim} +0 -0
  129. data/app/views/locomotive/content_entries/form/{_advanced.html.haml → _advanced.html.slim} +0 -0
  130. data/app/views/locomotive/content_entries/form/{_main.html.haml → _main.html.slim} +0 -0
  131. data/app/views/locomotive/content_entries/form/{_panes.html.haml → _panes.html.slim} +0 -0
  132. data/app/views/locomotive/content_entries/form/{_seo.html.haml → _seo.html.slim} +0 -0
  133. data/app/views/locomotive/content_entries/form/_tabs.html.slim +13 -0
  134. data/app/views/locomotive/content_entries/{index.html.haml → index.html.slim} +22 -9
  135. data/app/views/locomotive/content_entries/{new.html.haml → new.html.slim} +0 -0
  136. data/app/views/locomotive/current_site/{_domain.html.haml → _domain.html.slim} +3 -3
  137. data/app/views/locomotive/current_site/{_locale.html.haml → _locale.html.slim} +4 -4
  138. data/app/views/locomotive/current_site/{_membership.html.haml → _membership.html.slim} +7 -6
  139. data/app/views/locomotive/current_site/{edit.html.haml → edit.html.slim} +1 -1
  140. data/app/views/locomotive/current_site/form/{_access_points.html.haml → _access_points.html.slim} +1 -0
  141. data/app/views/locomotive/current_site/form/{_advanced.html.haml → _advanced.html.slim} +0 -0
  142. data/app/views/locomotive/current_site/form/{_main.html.haml → _main.html.slim} +0 -0
  143. data/app/views/locomotive/current_site/form/{_panes.html.haml → _panes.html.slim} +0 -0
  144. data/app/views/locomotive/current_site/form/{_seo.html.haml → _seo.html.slim} +0 -0
  145. data/app/views/locomotive/current_site/form/_tabs.html.slim +14 -0
  146. data/app/views/locomotive/custom_fields/select_options/{_option.html.haml → _option.html.slim} +7 -7
  147. data/app/views/locomotive/custom_fields/select_options/{edit.html.haml → edit.html.slim} +0 -0
  148. data/app/views/locomotive/dashboard/show.html.slim +28 -0
  149. data/app/views/locomotive/developers_documentation/_api.html.slim +44 -0
  150. data/app/views/locomotive/developers_documentation/_wagon.html.slim +42 -0
  151. data/app/views/locomotive/developers_documentation/show.html.slim +11 -0
  152. data/app/views/locomotive/devise_mailer/reset_password_instructions.html.slim +12 -0
  153. data/app/views/locomotive/editable_elements/_edit.html.slim +52 -0
  154. data/app/views/locomotive/editable_elements/{_form.html.haml → _form.html.slim} +12 -3
  155. data/app/views/locomotive/editable_elements/index.html.slim +8 -0
  156. data/app/views/locomotive/editable_elements/{index_without_preview.html.haml → index_without_preview.html.slim} +5 -4
  157. data/app/views/locomotive/errors/404.html.slim +2 -0
  158. data/app/views/locomotive/errors/500.html.slim +2 -0
  159. data/app/views/locomotive/errors/no_site.html.slim +7 -0
  160. data/app/views/locomotive/layouts/application.html.slim +42 -0
  161. data/app/views/locomotive/layouts/error.html.slim +24 -0
  162. data/app/views/locomotive/layouts/{live_editing.html.haml → live_editing.html.slim} +10 -10
  163. data/app/views/locomotive/layouts/not_logged_in.html.slim +26 -0
  164. data/app/views/locomotive/layouts/{without_site.html.haml → without_site.html.slim} +9 -6
  165. data/app/views/locomotive/memberships/{edit.html.haml → edit.html.slim} +0 -0
  166. data/app/views/locomotive/memberships/{new.html.haml → new.html.slim} +0 -0
  167. data/app/views/locomotive/my_account/{edit.html.haml → edit.html.slim} +1 -1
  168. data/app/views/locomotive/my_account/form/{_actions.html.haml → _actions.html.slim} +0 -0
  169. data/app/views/locomotive/my_account/form/{_api.html.haml → _api.html.slim} +0 -1
  170. data/app/views/locomotive/my_account/form/{_credentials.html.haml → _credentials.html.slim} +0 -0
  171. data/app/views/locomotive/my_account/form/{_main.html.haml → _main.html.slim} +0 -0
  172. data/app/views/locomotive/my_account/form/{_panes.html.haml → _panes.html.slim} +1 -1
  173. data/app/views/locomotive/my_account/form/_tabs.html.slim +7 -0
  174. data/app/views/locomotive/notifications/{new_content_entry.html.haml → new_content_entry.html.slim} +11 -11
  175. data/app/views/locomotive/pages/{edit.html.haml → edit.html.slim} +0 -0
  176. data/app/views/locomotive/pages/form/{_actions.html.haml → _actions.html.slim} +0 -0
  177. data/app/views/locomotive/pages/form/{_main.html.haml → _main.html.slim} +0 -0
  178. data/app/views/locomotive/pages/form/{_panes.html.haml → _panes.html.slim} +0 -0
  179. data/app/views/locomotive/pages/form/{_seo.html.haml → _seo.html.slim} +0 -0
  180. data/app/views/locomotive/pages/form/{_tabs.html.haml → _tabs.html.slim} +1 -1
  181. data/app/views/locomotive/pages/{new.html.haml → new.html.slim} +0 -0
  182. data/app/views/locomotive/pages/show.html.slim +2 -0
  183. data/app/views/locomotive/passwords/{edit.html.haml → edit.html.slim} +6 -6
  184. data/app/views/locomotive/passwords/{new.html.haml → new.html.slim} +6 -6
  185. data/app/views/locomotive/public_submission_accounts/_account.html.slim +19 -0
  186. data/app/views/locomotive/public_submission_accounts/edit.html.slim +16 -0
  187. data/app/views/locomotive/registrations/{new.html.haml → new.html.slim} +2 -4
  188. data/app/views/locomotive/sessions/{new.html.haml → new.html.slim} +2 -4
  189. data/app/views/locomotive/shared/_footer.html.slim +2 -0
  190. data/app/views/locomotive/shared/{_form_actions.html.haml → _form_actions.html.slim} +4 -4
  191. data/app/views/locomotive/shared/_head.html.slim +39 -0
  192. data/app/views/locomotive/shared/{_header.html.haml → _header.html.slim} +10 -10
  193. data/app/views/locomotive/shared/_locale_picker_link.html.slim +11 -0
  194. data/app/views/locomotive/shared/{_main_app_head.html.haml → _main_app_head.html.slim} +0 -0
  195. data/app/views/locomotive/shared/{_main_app_head_before_backbone.html.haml → _main_app_head_before_backbone.html.slim} +0 -0
  196. data/app/views/locomotive/shared/{_main_app_header.html.haml → _main_app_header.html.slim} +0 -0
  197. data/app/views/locomotive/shared/{_sidebar.html.haml → _sidebar.html.slim} +6 -0
  198. data/app/views/locomotive/shared/{_sidebar_without_site.html.haml → _sidebar_without_site.html.slim} +0 -0
  199. data/app/views/locomotive/shared/actions/{_contents.html.haml → _contents.html.slim} +1 -1
  200. data/app/views/locomotive/shared/header/{_account.html.haml → _account.html.slim} +1 -1
  201. data/app/views/locomotive/shared/header/_account_menu.html.slim +5 -0
  202. data/app/views/locomotive/shared/header/_brand.html.slim +5 -0
  203. data/app/views/locomotive/shared/header/{_site.html.haml → _site.html.slim} +2 -2
  204. data/app/views/locomotive/shared/rte/{_image_popover.html.haml → _image_popover.html.slim} +5 -5
  205. data/app/views/locomotive/shared/rte/{_link_popover.html.haml → _link_popover.html.slim} +5 -5
  206. data/app/views/locomotive/shared/rte/_toolbar.html.slim +62 -0
  207. data/app/views/locomotive/shared/sidebar/_content_types.html.slim +16 -0
  208. data/app/views/locomotive/shared/sidebar/_link.html.slim +10 -0
  209. data/app/views/locomotive/shared/sidebar/{_my_account.html.haml → _my_account.html.slim} +2 -2
  210. data/app/views/locomotive/shared/sidebar/_page.html.slim +33 -0
  211. data/app/views/locomotive/shared/sidebar/_pages.html.slim +11 -0
  212. data/app/views/locomotive/sites/{_site.html.haml → _site.html.slim} +3 -3
  213. data/app/views/locomotive/sites/{index.html.haml → index.html.slim} +3 -3
  214. data/app/views/locomotive/sites/{new.html.haml → new.html.slim} +0 -0
  215. data/app/views/locomotive/translations/_form.html.slim +9 -0
  216. data/app/views/locomotive/translations/edit.html.slim +7 -0
  217. data/app/views/locomotive/translations/index.html.slim +41 -0
  218. data/config/initializers/slim.rb +1 -0
  219. data/config/initializers/time_format.rb +15 -0
  220. data/config/locales/admin_ui.en.yml +65 -49
  221. data/config/locales/default.en.yml +3 -0
  222. data/config/locales/default.fr.yml +4 -1
  223. data/config/locales/simple_form.en.yml +14 -8
  224. data/config/routes.rb +6 -0
  225. data/features/support/env.rb +1 -1
  226. data/lib/generators/locomotive/install/install_generator.rb +48 -0
  227. data/lib/generators/locomotive/install/templates/heroku.rb +29 -0
  228. data/lib/generators/locomotive/install/templates/locomotive.rb +5 -2
  229. data/lib/generators/locomotive/install/templates/mongoid.yml +1 -1
  230. data/lib/generators/locomotive/install/templates/mongoid_heroku.yml +78 -0
  231. data/lib/locomotive.rb +0 -1
  232. data/lib/locomotive/configuration.rb +2 -6
  233. data/lib/locomotive/dependencies.rb +1 -2
  234. data/lib/locomotive/dragonfly.rb +4 -5
  235. data/lib/locomotive/engine.rb +10 -13
  236. data/lib/locomotive/middlewares.rb +0 -1
  237. data/lib/locomotive/middlewares/custom_public_exceptions.rb +19 -0
  238. data/lib/locomotive/middlewares/site.rb +49 -16
  239. data/lib/locomotive/simple_form.rb +67 -26
  240. data/lib/locomotive/steam/middlewares/missing_translations.rb +48 -0
  241. data/lib/locomotive/steam/middlewares/page_editing.rb +48 -0
  242. data/lib/locomotive/steam/services/api_entry_submission_service.rb +38 -0
  243. data/lib/locomotive/steam_adaptor.rb +25 -6
  244. data/lib/locomotive/version.rb +1 -1
  245. data/lib/tasks/locomotive.rake +27 -47
  246. data/spec/dummy/app/views/foo/index.html.slim +1 -0
  247. data/spec/dummy/app/views/locomotive/shared/{_main_app_head.html.haml → _main_app_head.html.slim} +0 -0
  248. data/spec/dummy/config.ru +4 -0
  249. data/spec/dummy/config/application.rb +4 -0
  250. data/spec/dummy/config/environments/profile.rb +48 -0
  251. data/spec/dummy/config/mongoid.yml +6 -6
  252. data/spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb +39 -0
  253. data/spec/models/locomotive/concerns/content_type/entry_template_spec.rb +55 -0
  254. data/spec/models/locomotive/concerns/page/layout_spec.rb +2 -2
  255. data/spec/models/locomotive/concerns/site/access_points_spec.rb +87 -2
  256. data/spec/models/locomotive/concerns/site/locales_spec.rb +2 -3
  257. data/spec/models/locomotive/content_entry_spec.rb +22 -37
  258. data/spec/models/locomotive/page_spec.rb +11 -0
  259. data/spec/models/locomotive/site_spec.rb +0 -36
  260. data/spec/requests/site_spec.rb +28 -0
  261. data/spec/support/capybara.rb +27 -0
  262. data/spec/support/factories.rb +9 -0
  263. data/spec/support/features/session_helpers.rb +21 -0
  264. data/spec/support/locomotive.rb +0 -4
  265. data/spec/support/matchers.rb +0 -25
  266. data/vendor/assets/javascripts/locomotive/highlight.pack.js +1 -0
  267. data/vendor/assets/stylesheets/locomotive/highlightjs/default.css +155 -0
  268. data/vendor/assets/stylesheets/locomotive/highlightjs/github.css +123 -0
  269. metadata +179 -195
  270. data/app/assets/images/locomotive/background/body.png +0 -0
  271. data/app/assets/images/locomotive/form/error-arrow.png +0 -0
  272. data/app/assets/images/locomotive/form/input-sep.png +0 -0
  273. data/app/assets/images/locomotive/icons/start.png +0 -0
  274. data/app/assets/images/locomotive/list/empty.png +0 -0
  275. data/app/assets/images/locomotive/list/item-left.png +0 -0
  276. data/app/assets/images/locomotive/nocoffee.png +0 -0
  277. data/app/assets/images/locomotive/plugins/sites_picker_top_arrow.png +0 -0
  278. data/app/assets/images/locomotive/rails.png +0 -0
  279. data/app/assets/javascripts/locomotive/views/pages/index_view.js.coffee +0 -11
  280. data/app/cells/locomotive/content_locale_picker/show.html.haml +0 -7
  281. data/app/cells/locomotive/content_locale_picker_cell.rb +0 -21
  282. data/app/helpers/locomotive/installation_helper.rb +0 -9
  283. data/app/inputs/locomotive/locale_input.rb +0 -41
  284. data/app/inputs/locomotive/small_code_input.rb +0 -23
  285. data/app/models/locomotive/concerns/content_entry/notifications.rb +0 -33
  286. data/app/models/locomotive/concerns/content_type/item_template.rb +0 -49
  287. data/app/models/locomotive/concerns/page/parse.rb +0 -133
  288. data/app/presenters/locomotive/account_presenter.rb +0 -20
  289. data/app/presenters/locomotive/base_presenter.rb +0 -144
  290. data/app/presenters/locomotive/content_asset_presenter.rb +0 -51
  291. data/app/presenters/locomotive/content_entry_presenter.rb +0 -177
  292. data/app/presenters/locomotive/content_field_presenter.rb +0 -76
  293. data/app/presenters/locomotive/content_type_presenter.rb +0 -82
  294. data/app/presenters/locomotive/editable_control_presenter.rb +0 -19
  295. data/app/presenters/locomotive/editable_element_presenter.rb +0 -46
  296. data/app/presenters/locomotive/editable_file_presenter.rb +0 -36
  297. data/app/presenters/locomotive/editable_text_presenter.rb +0 -40
  298. data/app/presenters/locomotive/membership_presenter.rb +0 -35
  299. data/app/presenters/locomotive/page_presenter.rb +0 -81
  300. data/app/presenters/locomotive/site_presenter.rb +0 -40
  301. data/app/presenters/locomotive/snippet_presenter.rb +0 -22
  302. data/app/presenters/locomotive/theme_asset_presenter.rb +0 -61
  303. data/app/presenters/locomotive/translation_presenter.rb +0 -9
  304. data/app/views/locomotive/content_assets/edit_in_drawer.html.haml +0 -26
  305. data/app/views/locomotive/content_entries/form/_tabs.html.haml +0 -9
  306. data/app/views/locomotive/current_site/form/_tabs.html.haml +0 -14
  307. data/app/views/locomotive/dashboard/show.html.haml +0 -0
  308. data/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml +0 -12
  309. data/app/views/locomotive/editable_elements/_edit.html.haml +0 -49
  310. data/app/views/locomotive/editable_elements/_edit_with_content_entry.html.haml +0 -21
  311. data/app/views/locomotive/editable_elements/index.html.haml +0 -8
  312. data/app/views/locomotive/errors/404.html.haml +0 -7
  313. data/app/views/locomotive/errors/500.html.haml +0 -7
  314. data/app/views/locomotive/errors/no_page.html.haml +0 -1
  315. data/app/views/locomotive/errors/no_site.html.haml +0 -1
  316. data/app/views/locomotive/layouts/application.html.haml +0 -42
  317. data/app/views/locomotive/layouts/error.html.haml +0 -1
  318. data/app/views/locomotive/layouts/not_logged_in.html.haml +0 -18
  319. data/app/views/locomotive/my_account/form/_tabs.html.haml +0 -7
  320. data/app/views/locomotive/pages/_editable_elements.html.haml +0 -64
  321. data/app/views/locomotive/pages/index.html.haml +0 -22
  322. data/app/views/locomotive/pages/show.html.haml +0 -2
  323. data/app/views/locomotive/shared/_footer.html.haml +0 -2
  324. data/app/views/locomotive/shared/_head.html.haml +0 -40
  325. data/app/views/locomotive/shared/_locale_picker_link.html.haml +0 -6
  326. data/app/views/locomotive/shared/header/_account_menu.html.haml +0 -5
  327. data/app/views/locomotive/shared/header/_brand.html.haml +0 -4
  328. data/app/views/locomotive/shared/rte/_toolbar.html.haml +0 -62
  329. data/app/views/locomotive/shared/sidebar/_content_types.html.haml +0 -15
  330. data/app/views/locomotive/shared/sidebar/_link.html.haml +0 -10
  331. data/app/views/locomotive/shared/sidebar/_page.html.haml +0 -33
  332. data/app/views/locomotive/shared/sidebar/_pages.html.haml +0 -11
  333. data/app/views/locomotive/translations/_form.html.haml +0 -12
  334. data/app/views/locomotive/translations/edit.html.haml +0 -15
  335. data/app/views/locomotive/translations/index.html.haml +0 -30
  336. data/app/views/locomotive/translations/new.html.haml +0 -12
  337. data/config/initializers/haml.rb +0 -2
  338. data/config/initializers/locomotive_loaded_first.rb +0 -19
  339. data/config/locales/formtastic.bg.yml +0 -113
  340. data/config/locales/formtastic.cs.yml +0 -125
  341. data/config/locales/formtastic.de.yml +0 -106
  342. data/config/locales/formtastic.es.yml +0 -84
  343. data/config/locales/formtastic.et.yml +0 -103
  344. data/config/locales/formtastic.fr.yml +0 -109
  345. data/config/locales/formtastic.it.yml +0 -99
  346. data/config/locales/formtastic.ja.yml +0 -103
  347. data/config/locales/formtastic.nb.yml +0 -103
  348. data/config/locales/formtastic.nl.yml +0 -85
  349. data/config/locales/formtastic.pl.yml +0 -105
  350. data/config/locales/formtastic.pt-BR.yml +0 -70
  351. data/config/locales/formtastic.pt.yml +0 -70
  352. data/config/locales/formtastic.ru.yml +0 -106
  353. data/config/locales/formtastic.sk.yml +0 -125
  354. data/config/locales/formtastic.sr.yml +0 -112
  355. data/config/locales/formtastic.zh-CN.yml +0 -112
  356. data/lib/locomotive/haml.rb +0 -1
  357. data/lib/locomotive/middlewares/page_editing.rb +0 -41
  358. data/spec/dummy/app/views/foo/index.html.haml +0 -1
  359. data/spec/dummy/config/initializers/haml.rb +0 -2
  360. data/spec/support/asset_host_stubs.rb +0 -17
  361. data/spec/support/controller.rb +0 -32
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre.alpha.3
4
+ version: 3.0.0.pre.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-29 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.1
33
+ version: 4.2.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.1
40
+ version: 4.2.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-ssh
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.10.1.rc1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.10.1.rc1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: devise
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -170,28 +184,28 @@ dependencies:
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: 1.0.0.pre.alpha.3
187
+ version: 1.0.0.pre.beta.3
174
188
  type: :runtime
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
- version: 1.0.0.pre.alpha.3
194
+ version: 1.0.0.pre.beta.3
181
195
  - !ruby/object:Gem::Dependency
182
- name: haml
196
+ name: slim
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
199
  - - "~>"
186
200
  - !ruby/object:Gem::Version
187
- version: 4.0.2
201
+ version: 3.0.6
188
202
  type: :runtime
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
206
  - - "~>"
193
207
  - !ruby/object:Gem::Version
194
- version: 4.0.2
208
+ version: 3.0.6
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: simple_form
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -464,14 +478,14 @@ dependencies:
464
478
  requirements:
465
479
  - - "~>"
466
480
  - !ruby/object:Gem::Version
467
- version: 1.31.0
481
+ version: 1.32.0
468
482
  type: :runtime
469
483
  prerelease: false
470
484
  version_requirements: !ruby/object:Gem::Requirement
471
485
  requirements:
472
486
  - - "~>"
473
487
  - !ruby/object:Gem::Version
474
- version: 1.31.0
488
+ version: 1.32.0
475
489
  - !ruby/object:Gem::Dependency
476
490
  name: dragonfly
477
491
  requirement: !ruby/object:Gem::Requirement
@@ -528,20 +542,6 @@ dependencies:
528
542
  - - "~>"
529
543
  - !ruby/object:Gem::Version
530
544
  version: 1.11.0
531
- - !ruby/object:Gem::Dependency
532
- name: httparty
533
- requirement: !ruby/object:Gem::Requirement
534
- requirements:
535
- - - "~>"
536
- - !ruby/object:Gem::Version
537
- version: 0.13.3
538
- type: :runtime
539
- prerelease: false
540
- version_requirements: !ruby/object:Gem::Requirement
541
- requirements:
542
- - - "~>"
543
- - !ruby/object:Gem::Version
544
- version: 0.13.3
545
545
  - !ruby/object:Gem::Dependency
546
546
  name: actionmailer-with-request
547
547
  requirement: !ruby/object:Gem::Requirement
@@ -562,26 +562,26 @@ dependencies:
562
562
  requirements:
563
563
  - - "~>"
564
564
  - !ruby/object:Gem::Version
565
- version: 0.11.0
565
+ version: 0.12.0
566
566
  type: :runtime
567
567
  prerelease: false
568
568
  version_requirements: !ruby/object:Gem::Requirement
569
569
  requirements:
570
570
  - - "~>"
571
571
  - !ruby/object:Gem::Version
572
- version: 0.11.0
572
+ version: 0.12.0
573
573
  - !ruby/object:Gem::Dependency
574
574
  name: grape-entity
575
575
  requirement: !ruby/object:Gem::Requirement
576
576
  requirements:
577
- - - "~>"
577
+ - - '='
578
578
  - !ruby/object:Gem::Version
579
579
  version: 0.4.5
580
580
  type: :runtime
581
581
  prerelease: false
582
582
  version_requirements: !ruby/object:Gem::Requirement
583
583
  requirements:
584
- - - "~>"
584
+ - - '='
585
585
  - !ruby/object:Gem::Version
586
586
  version: 0.4.5
587
587
  - !ruby/object:Gem::Dependency
@@ -647,6 +647,7 @@ files:
647
647
  - app/api/locomotive/api/helpers/persistence_helper.rb
648
648
  - app/api/locomotive/api/middlewares/locale_middleware.rb
649
649
  - app/api/locomotive/api/middlewares/logger_middleware.rb
650
+ - app/api/locomotive/api/middlewares/params_decoder_middleware.rb
650
651
  - app/api/locomotive/api/resources/account_resource.rb
651
652
  - app/api/locomotive/api/resources/content_asset_resource.rb
652
653
  - app/api/locomotive/api/resources/content_entry_resource.rb
@@ -661,10 +662,8 @@ files:
661
662
  - app/api/locomotive/api/resources/token_resource.rb
662
663
  - app/api/locomotive/api/resources/translation_resource.rb
663
664
  - app/api/locomotive/api/resources/version_resource.rb
664
- - app/assets/images/locomotive/background/body.png
665
665
  - app/assets/images/locomotive/datepicker/ui-widget-content-top.png
666
- - app/assets/images/locomotive/form/error-arrow.png
667
- - app/assets/images/locomotive/form/input-sep.png
666
+ - app/assets/images/locomotive/favicon.png
668
667
  - app/assets/images/locomotive/icons/flags/bf.png
669
668
  - app/assets/images/locomotive/icons/flags/bg.png
670
669
  - app/assets/images/locomotive/icons/flags/cs.png
@@ -685,13 +684,7 @@ files:
685
684
  - app/assets/images/locomotive/icons/flags/sk.png
686
685
  - app/assets/images/locomotive/icons/flags/sr.png
687
686
  - app/assets/images/locomotive/icons/flags/zh-CN.png
688
- - app/assets/images/locomotive/icons/start.png
689
- - app/assets/images/locomotive/list/empty.png
690
- - app/assets/images/locomotive/list/item-left.png
691
687
  - app/assets/images/locomotive/logo.png
692
- - app/assets/images/locomotive/nocoffee.png
693
- - app/assets/images/locomotive/plugins/sites_picker_top_arrow.png
694
- - app/assets/images/locomotive/rails.png
695
688
  - app/assets/images/locomotive/site.png
696
689
  - app/assets/images/locomotive/user.png
697
690
  - app/assets/javascripts/locomotive.js
@@ -718,6 +711,7 @@ files:
718
711
  - app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee
719
712
  - app/assets/javascripts/locomotive/views/custom_fields/select_options/edit_view.js.coffee
720
713
  - app/assets/javascripts/locomotive/views/dashboard/show_view.js.coffee
714
+ - app/assets/javascripts/locomotive/views/developers_documentation/show_view.js.coffee
721
715
  - app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee
722
716
  - app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee
723
717
  - app/assets/javascripts/locomotive/views/inputs/array_view.js.coffee
@@ -726,14 +720,15 @@ files:
726
720
  - app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee
727
721
  - app/assets/javascripts/locomotive/views/inputs/rte/link_view.js.coffee
728
722
  - app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb
723
+ - app/assets/javascripts/locomotive/views/inputs/text_view.js.coffee
729
724
  - app/assets/javascripts/locomotive/views/memberships/edit_view.js.coffee
730
725
  - app/assets/javascripts/locomotive/views/memberships/new_view.js.coffee
731
726
  - app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee
732
727
  - app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee
733
728
  - app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee
734
- - app/assets/javascripts/locomotive/views/pages/index_view.js.coffee
735
729
  - app/assets/javascripts/locomotive/views/pages/list_view.js.coffee
736
730
  - app/assets/javascripts/locomotive/views/pages/new_view.js.coffee
731
+ - app/assets/javascripts/locomotive/views/public_submission_accounts/edit_view.js.coffee
737
732
  - app/assets/javascripts/locomotive/views/shared/drawer_view.js.coffee
738
733
  - app/assets/javascripts/locomotive/views/shared/form_view.js.coffee
739
734
  - app/assets/javascripts/locomotive/views/shared/header_view.js.coffee
@@ -741,6 +736,7 @@ files:
741
736
  - app/assets/javascripts/locomotive/views/shared/list_view.js.coffee
742
737
  - app/assets/javascripts/locomotive/views/shared/sidebar_view.js.coffee
743
738
  - app/assets/javascripts/locomotive/views/sites/new_view.js.coffee
739
+ - app/assets/javascripts/locomotive/views/translations/index_view.js.coffee
744
740
  - app/assets/stylesheets/locomotive/application.scss
745
741
  - app/assets/stylesheets/locomotive/base/_all.scss
746
742
  - app/assets/stylesheets/locomotive/base/_buttons.scss
@@ -766,8 +762,11 @@ files:
766
762
  - app/assets/stylesheets/locomotive/base/not_logged_in/_form.scss
767
763
  - app/assets/stylesheets/locomotive/base/not_logged_in/_messages.scss
768
764
  - app/assets/stylesheets/locomotive/base/not_logged_in/_typography.scss
765
+ - app/assets/stylesheets/locomotive/components/_activity_feed.scss
769
766
  - app/assets/stylesheets/locomotive/components/_content_assets.scss
767
+ - app/assets/stylesheets/locomotive/components/_developers.scss
770
768
  - app/assets/stylesheets/locomotive/components/_drawer.scss
769
+ - app/assets/stylesheets/locomotive/components/_error.scss
771
770
  - app/assets/stylesheets/locomotive/components/_header.scss
772
771
  - app/assets/stylesheets/locomotive/components/_list.scss
773
772
  - app/assets/stylesheets/locomotive/components/_live_editing.scss
@@ -776,9 +775,11 @@ files:
776
775
  - app/assets/stylesheets/locomotive/components/_sidebar.scss
777
776
  - app/assets/stylesheets/locomotive/components/_sites.scss
778
777
  - app/assets/stylesheets/locomotive/components/_transitions.scss
778
+ - app/assets/stylesheets/locomotive/components/_translations.scss
779
779
  - app/assets/stylesheets/locomotive/components/header/_account.scss
780
780
  - app/assets/stylesheets/locomotive/components/header/_base.scss
781
781
  - app/assets/stylesheets/locomotive/components/header/_responsive.scss
782
+ - app/assets/stylesheets/locomotive/components/misc/_modal.scss
782
783
  - app/assets/stylesheets/locomotive/components/misc/_nav.scss
783
784
  - app/assets/stylesheets/locomotive/components/misc/_notify.scss
784
785
  - app/assets/stylesheets/locomotive/components/not_logged_in/_passwords.scss
@@ -788,6 +789,7 @@ files:
788
789
  - app/assets/stylesheets/locomotive/components/sidebar/_link.scss
789
790
  - app/assets/stylesheets/locomotive/components/sidebar/_my_account.scss
790
791
  - app/assets/stylesheets/locomotive/components/sidebar/_pages_tree.scss
792
+ - app/assets/stylesheets/locomotive/error.scss
791
793
  - app/assets/stylesheets/locomotive/globals/_all.scss
792
794
  - app/assets/stylesheets/locomotive/globals/_bootstrap.scss
793
795
  - app/assets/stylesheets/locomotive/globals/_colors.scss
@@ -799,8 +801,6 @@ files:
799
801
  - app/assets/stylesheets/locomotive/layouts/_not_logged_in.scss
800
802
  - app/assets/stylesheets/locomotive/layouts/_responsive.scss
801
803
  - app/assets/stylesheets/locomotive/not_logged_in.scss
802
- - app/cells/locomotive/content_locale_picker/show.html.haml
803
- - app/cells/locomotive/content_locale_picker_cell.rb
804
804
  - app/controllers/locomotive/accounts_controller.rb
805
805
  - app/controllers/locomotive/api/accounts_controller.rb
806
806
  - app/controllers/locomotive/api/base_controller.rb
@@ -834,11 +834,14 @@ files:
834
834
  - app/controllers/locomotive/current_site_controller.rb
835
835
  - app/controllers/locomotive/custom_fields/select_options_controller.rb
836
836
  - app/controllers/locomotive/dashboard_controller.rb
837
+ - app/controllers/locomotive/developers_documentation_controller.rb
837
838
  - app/controllers/locomotive/editable_elements_controller.rb
839
+ - app/controllers/locomotive/errors_controller.rb
838
840
  - app/controllers/locomotive/memberships_controller.rb
839
841
  - app/controllers/locomotive/my_account_controller.rb
840
842
  - app/controllers/locomotive/pages_controller.rb
841
843
  - app/controllers/locomotive/passwords_controller.rb
844
+ - app/controllers/locomotive/public_submission_accounts_controller.rb
842
845
  - app/controllers/locomotive/registrations_controller.rb
843
846
  - app/controllers/locomotive/sessions_controller.rb
844
847
  - app/controllers/locomotive/sites_controller.rb
@@ -849,11 +852,14 @@ files:
849
852
  - app/helpers/locomotive/content_entries_helper.rb
850
853
  - app/helpers/locomotive/content_types_helper.rb
851
854
  - app/helpers/locomotive/custom_fields_helper.rb
855
+ - app/helpers/locomotive/dashboard_helper.rb
856
+ - app/helpers/locomotive/developers_documentation_helper.rb
852
857
  - app/helpers/locomotive/editable_elements_helper.rb
853
- - app/helpers/locomotive/installation_helper.rb
858
+ - app/helpers/locomotive/errors_helper.rb
854
859
  - app/helpers/locomotive/memberships_helper.rb
855
860
  - app/helpers/locomotive/my_account_helper.rb
856
861
  - app/helpers/locomotive/pages_helper.rb
862
+ - app/helpers/locomotive/public_submission_accounts_helper.rb
857
863
  - app/helpers/locomotive/shared/accounts_helper.rb
858
864
  - app/helpers/locomotive/shared/pages_helper.rb
859
865
  - app/helpers/locomotive/shared/sites_helper.rb
@@ -865,14 +871,13 @@ files:
865
871
  - app/inputs/locomotive/document_picker_input.rb
866
872
  - app/inputs/locomotive/editable_select_input.rb
867
873
  - app/inputs/locomotive/file_input.rb
868
- - app/inputs/locomotive/locale_input.rb
869
874
  - app/inputs/locomotive/locales_input.rb
870
875
  - app/inputs/locomotive/rte_input.rb
871
- - app/inputs/locomotive/small_code_input.rb
872
876
  - app/inputs/locomotive/toggle_input.rb
873
877
  - app/mailers/locomotive/devise_mailer.rb
874
878
  - app/mailers/locomotive/notifications.rb
875
879
  - app/models/locomotive/account.rb
880
+ - app/models/locomotive/activity.rb
876
881
  - app/models/locomotive/concerns/account/api_key.rb
877
882
  - app/models/locomotive/concerns/account/devise_patch.rb
878
883
  - app/models/locomotive/concerns/asset/checksum.rb
@@ -882,19 +887,17 @@ files:
882
887
  - app/models/locomotive/concerns/content_entry/csv.rb
883
888
  - app/models/locomotive/concerns/content_entry/localized.rb
884
889
  - app/models/locomotive/concerns/content_entry/next_previous.rb
885
- - app/models/locomotive/concerns/content_entry/notifications.rb
886
890
  - app/models/locomotive/concerns/content_entry/slug.rb
887
891
  - app/models/locomotive/concerns/content_type/class_helpers.rb
888
892
  - app/models/locomotive/concerns/content_type/default_values.rb
893
+ - app/models/locomotive/concerns/content_type/entry_template.rb
889
894
  - app/models/locomotive/concerns/content_type/group_by.rb
890
- - app/models/locomotive/concerns/content_type/item_template.rb
891
895
  - app/models/locomotive/concerns/content_type/label.rb
892
896
  - app/models/locomotive/concerns/content_type/order_by.rb
893
897
  - app/models/locomotive/concerns/content_type/sync.rb
894
898
  - app/models/locomotive/concerns/page/editable_elements.rb
895
899
  - app/models/locomotive/concerns/page/layout.rb
896
900
  - app/models/locomotive/concerns/page/listed.rb
897
- - app/models/locomotive/concerns/page/parse.rb
898
901
  - app/models/locomotive/concerns/page/redirect.rb
899
902
  - app/models/locomotive/concerns/page/render.rb
900
903
  - app/models/locomotive/concerns/page/templatized.rb
@@ -912,6 +915,7 @@ files:
912
915
  - app/models/locomotive/editable_element.rb
913
916
  - app/models/locomotive/editable_file.rb
914
917
  - app/models/locomotive/editable_long_text.rb
918
+ - app/models/locomotive/editable_model.rb
915
919
  - app/models/locomotive/editable_short_text.rb
916
920
  - app/models/locomotive/editable_text.rb
917
921
  - app/models/locomotive/membership.rb
@@ -931,22 +935,7 @@ files:
931
935
  - app/policies/locomotive/snippet_policy.rb
932
936
  - app/policies/locomotive/theme_asset_policy.rb
933
937
  - app/policies/locomotive/translation_policy.rb
934
- - app/presenters/locomotive/account_presenter.rb
935
- - app/presenters/locomotive/base_presenter.rb
936
- - app/presenters/locomotive/content_asset_presenter.rb
937
- - app/presenters/locomotive/content_entry_presenter.rb
938
- - app/presenters/locomotive/content_field_presenter.rb
939
- - app/presenters/locomotive/content_type_presenter.rb
940
- - app/presenters/locomotive/editable_control_presenter.rb
941
- - app/presenters/locomotive/editable_element_presenter.rb
942
- - app/presenters/locomotive/editable_file_presenter.rb
943
- - app/presenters/locomotive/editable_text_presenter.rb
944
- - app/presenters/locomotive/membership_presenter.rb
945
- - app/presenters/locomotive/page_presenter.rb
946
- - app/presenters/locomotive/site_presenter.rb
947
- - app/presenters/locomotive/snippet_presenter.rb
948
- - app/presenters/locomotive/theme_asset_presenter.rb
949
- - app/presenters/locomotive/translation_presenter.rb
938
+ - app/services/locomotive/concerns/activity_service.rb
950
939
  - app/services/locomotive/content_asset_service.rb
951
940
  - app/services/locomotive/content_entry_service.rb
952
941
  - app/services/locomotive/content_type_service.rb
@@ -958,119 +947,120 @@ files:
958
947
  - app/services/locomotive/page_service.rb
959
948
  - app/services/locomotive/page_tree_service.rb
960
949
  - app/services/locomotive/site_service.rb
950
+ - app/services/locomotive/translation_service.rb
961
951
  - app/uploaders/locomotive/content_asset_uploader.rb
962
952
  - app/uploaders/locomotive/editable_file_uploader.rb
963
953
  - app/uploaders/locomotive/picture_uploader.rb
964
954
  - app/uploaders/locomotive/theme_asset_uploader.rb
965
- - app/views/locomotive/accounts/new.html.haml
966
- - app/views/locomotive/content_assets/_dropzone.html.haml
967
- - app/views/locomotive/content_assets/_list.html.haml
968
- - app/views/locomotive/content_assets/_nav.html.haml
969
- - app/views/locomotive/content_assets/_search_form.html.haml
970
- - app/views/locomotive/content_assets/edit_in_drawer.html.haml
971
- - app/views/locomotive/content_assets/index.html.haml
972
- - app/views/locomotive/content_assets/index_in_drawer.html.haml
973
- - app/views/locomotive/content_entries/_entry.html.haml
974
- - app/views/locomotive/content_entries/_list.html.haml
975
- - app/views/locomotive/content_entries/edit.html.haml
976
- - app/views/locomotive/content_entries/form/_actions.html.haml
977
- - app/views/locomotive/content_entries/form/_advanced.html.haml
978
- - app/views/locomotive/content_entries/form/_main.html.haml
979
- - app/views/locomotive/content_entries/form/_panes.html.haml
980
- - app/views/locomotive/content_entries/form/_seo.html.haml
981
- - app/views/locomotive/content_entries/form/_tabs.html.haml
982
- - app/views/locomotive/content_entries/index.html.haml
983
- - app/views/locomotive/content_entries/new.html.haml
984
- - app/views/locomotive/current_site/_domain.html.haml
985
- - app/views/locomotive/current_site/_locale.html.haml
986
- - app/views/locomotive/current_site/_membership.html.haml
987
- - app/views/locomotive/current_site/edit.html.haml
988
- - app/views/locomotive/current_site/form/_access_points.html.haml
989
- - app/views/locomotive/current_site/form/_advanced.html.haml
990
- - app/views/locomotive/current_site/form/_main.html.haml
991
- - app/views/locomotive/current_site/form/_panes.html.haml
992
- - app/views/locomotive/current_site/form/_seo.html.haml
993
- - app/views/locomotive/current_site/form/_tabs.html.haml
994
- - app/views/locomotive/custom_fields/select_options/_option.html.haml
995
- - app/views/locomotive/custom_fields/select_options/edit.html.haml
996
- - app/views/locomotive/dashboard/show.html.haml
997
- - app/views/locomotive/devise_mailer/reset_password_instructions.html.haml
998
- - app/views/locomotive/editable_elements/_edit.html.haml
999
- - app/views/locomotive/editable_elements/_edit_with_content_entry.html.haml
1000
- - app/views/locomotive/editable_elements/_form.html.haml
1001
- - app/views/locomotive/editable_elements/index.html.haml
1002
- - app/views/locomotive/editable_elements/index_without_preview.html.haml
1003
- - app/views/locomotive/errors/404.html.haml
1004
- - app/views/locomotive/errors/500.html.haml
1005
- - app/views/locomotive/errors/no_page.html.haml
1006
- - app/views/locomotive/errors/no_site.html.haml
1007
- - app/views/locomotive/layouts/application.html.haml
1008
- - app/views/locomotive/layouts/error.html.haml
1009
- - app/views/locomotive/layouts/live_editing.html.haml
1010
- - app/views/locomotive/layouts/not_logged_in.html.haml
1011
- - app/views/locomotive/layouts/without_site.html.haml
1012
- - app/views/locomotive/memberships/edit.html.haml
1013
- - app/views/locomotive/memberships/new.html.haml
1014
- - app/views/locomotive/my_account/edit.html.haml
1015
- - app/views/locomotive/my_account/form/_actions.html.haml
1016
- - app/views/locomotive/my_account/form/_api.html.haml
1017
- - app/views/locomotive/my_account/form/_credentials.html.haml
1018
- - app/views/locomotive/my_account/form/_main.html.haml
1019
- - app/views/locomotive/my_account/form/_panes.html.haml
1020
- - app/views/locomotive/my_account/form/_tabs.html.haml
1021
- - app/views/locomotive/notifications/new_content_entry.html.haml
1022
- - app/views/locomotive/pages/_editable_elements.html.haml
1023
- - app/views/locomotive/pages/edit.html.haml
1024
- - app/views/locomotive/pages/form/_actions.html.haml
1025
- - app/views/locomotive/pages/form/_main.html.haml
1026
- - app/views/locomotive/pages/form/_panes.html.haml
1027
- - app/views/locomotive/pages/form/_seo.html.haml
1028
- - app/views/locomotive/pages/form/_tabs.html.haml
1029
- - app/views/locomotive/pages/index.html.haml
1030
- - app/views/locomotive/pages/new.html.haml
1031
- - app/views/locomotive/pages/show.html.haml
1032
- - app/views/locomotive/passwords/edit.html.haml
1033
- - app/views/locomotive/passwords/new.html.haml
955
+ - app/views/locomotive/accounts/new.html.slim
956
+ - app/views/locomotive/content_assets/_dropzone.html.slim
957
+ - app/views/locomotive/content_assets/_list.html.slim
958
+ - app/views/locomotive/content_assets/_nav.html.slim
959
+ - app/views/locomotive/content_assets/_search_form.html.slim
960
+ - app/views/locomotive/content_assets/edit_in_drawer.html.slim
961
+ - app/views/locomotive/content_assets/index.html.slim
962
+ - app/views/locomotive/content_assets/index_in_drawer.html.slim
963
+ - app/views/locomotive/content_entries/_entry.html.slim
964
+ - app/views/locomotive/content_entries/_list.html.slim
965
+ - app/views/locomotive/content_entries/edit.html.slim
966
+ - app/views/locomotive/content_entries/form/_actions.html.slim
967
+ - app/views/locomotive/content_entries/form/_advanced.html.slim
968
+ - app/views/locomotive/content_entries/form/_main.html.slim
969
+ - app/views/locomotive/content_entries/form/_panes.html.slim
970
+ - app/views/locomotive/content_entries/form/_seo.html.slim
971
+ - app/views/locomotive/content_entries/form/_tabs.html.slim
972
+ - app/views/locomotive/content_entries/index.html.slim
973
+ - app/views/locomotive/content_entries/new.html.slim
974
+ - app/views/locomotive/current_site/_domain.html.slim
975
+ - app/views/locomotive/current_site/_locale.html.slim
976
+ - app/views/locomotive/current_site/_membership.html.slim
977
+ - app/views/locomotive/current_site/edit.html.slim
978
+ - app/views/locomotive/current_site/form/_access_points.html.slim
979
+ - app/views/locomotive/current_site/form/_advanced.html.slim
980
+ - app/views/locomotive/current_site/form/_main.html.slim
981
+ - app/views/locomotive/current_site/form/_panes.html.slim
982
+ - app/views/locomotive/current_site/form/_seo.html.slim
983
+ - app/views/locomotive/current_site/form/_tabs.html.slim
984
+ - app/views/locomotive/custom_fields/select_options/_option.html.slim
985
+ - app/views/locomotive/custom_fields/select_options/edit.html.slim
986
+ - app/views/locomotive/dashboard/show.html.slim
987
+ - app/views/locomotive/developers_documentation/_api.html.slim
988
+ - app/views/locomotive/developers_documentation/_wagon.html.slim
989
+ - app/views/locomotive/developers_documentation/show.html.slim
990
+ - app/views/locomotive/devise_mailer/reset_password_instructions.html.slim
991
+ - app/views/locomotive/editable_elements/_edit.html.slim
992
+ - app/views/locomotive/editable_elements/_form.html.slim
993
+ - app/views/locomotive/editable_elements/index.html.slim
994
+ - app/views/locomotive/editable_elements/index_without_preview.html.slim
995
+ - app/views/locomotive/errors/404.html.slim
996
+ - app/views/locomotive/errors/500.html.slim
997
+ - app/views/locomotive/errors/no_site.html.slim
998
+ - app/views/locomotive/layouts/application.html.slim
999
+ - app/views/locomotive/layouts/error.html.slim
1000
+ - app/views/locomotive/layouts/live_editing.html.slim
1001
+ - app/views/locomotive/layouts/not_logged_in.html.slim
1002
+ - app/views/locomotive/layouts/without_site.html.slim
1003
+ - app/views/locomotive/memberships/edit.html.slim
1004
+ - app/views/locomotive/memberships/new.html.slim
1005
+ - app/views/locomotive/my_account/edit.html.slim
1006
+ - app/views/locomotive/my_account/form/_actions.html.slim
1007
+ - app/views/locomotive/my_account/form/_api.html.slim
1008
+ - app/views/locomotive/my_account/form/_credentials.html.slim
1009
+ - app/views/locomotive/my_account/form/_main.html.slim
1010
+ - app/views/locomotive/my_account/form/_panes.html.slim
1011
+ - app/views/locomotive/my_account/form/_tabs.html.slim
1012
+ - app/views/locomotive/notifications/new_content_entry.html.slim
1013
+ - app/views/locomotive/pages/edit.html.slim
1014
+ - app/views/locomotive/pages/form/_actions.html.slim
1015
+ - app/views/locomotive/pages/form/_main.html.slim
1016
+ - app/views/locomotive/pages/form/_panes.html.slim
1017
+ - app/views/locomotive/pages/form/_seo.html.slim
1018
+ - app/views/locomotive/pages/form/_tabs.html.slim
1019
+ - app/views/locomotive/pages/new.html.slim
1020
+ - app/views/locomotive/pages/show.html.slim
1021
+ - app/views/locomotive/passwords/edit.html.slim
1022
+ - app/views/locomotive/passwords/new.html.slim
1034
1023
  - app/views/locomotive/public/sitemaps/show.xml.builder
1035
- - app/views/locomotive/registrations/new.html.haml
1036
- - app/views/locomotive/sessions/new.html.haml
1037
- - app/views/locomotive/shared/_footer.html.haml
1038
- - app/views/locomotive/shared/_form_actions.html.haml
1039
- - app/views/locomotive/shared/_head.html.haml
1040
- - app/views/locomotive/shared/_header.html.haml
1041
- - app/views/locomotive/shared/_locale_picker_link.html.haml
1042
- - app/views/locomotive/shared/_main_app_head.html.haml
1043
- - app/views/locomotive/shared/_main_app_head_before_backbone.html.haml
1044
- - app/views/locomotive/shared/_main_app_header.html.haml
1045
- - app/views/locomotive/shared/_sidebar.html.haml
1046
- - app/views/locomotive/shared/_sidebar_without_site.html.haml
1047
- - app/views/locomotive/shared/actions/_contents.html.haml
1048
- - app/views/locomotive/shared/header/_account.html.haml
1049
- - app/views/locomotive/shared/header/_account_menu.html.haml
1050
- - app/views/locomotive/shared/header/_brand.html.haml
1051
- - app/views/locomotive/shared/header/_site.html.haml
1052
- - app/views/locomotive/shared/rte/_image_popover.html.haml
1053
- - app/views/locomotive/shared/rte/_link_popover.html.haml
1054
- - app/views/locomotive/shared/rte/_toolbar.html.haml
1055
- - app/views/locomotive/shared/sidebar/_content_types.html.haml
1056
- - app/views/locomotive/shared/sidebar/_link.html.haml
1057
- - app/views/locomotive/shared/sidebar/_my_account.html.haml
1058
- - app/views/locomotive/shared/sidebar/_page.html.haml
1059
- - app/views/locomotive/shared/sidebar/_pages.html.haml
1060
- - app/views/locomotive/sites/_site.html.haml
1061
- - app/views/locomotive/sites/index.html.haml
1062
- - app/views/locomotive/sites/new.html.haml
1063
- - app/views/locomotive/translations/_form.html.haml
1064
- - app/views/locomotive/translations/edit.html.haml
1065
- - app/views/locomotive/translations/index.html.haml
1066
- - app/views/locomotive/translations/new.html.haml
1024
+ - app/views/locomotive/public_submission_accounts/_account.html.slim
1025
+ - app/views/locomotive/public_submission_accounts/edit.html.slim
1026
+ - app/views/locomotive/registrations/new.html.slim
1027
+ - app/views/locomotive/sessions/new.html.slim
1028
+ - app/views/locomotive/shared/_footer.html.slim
1029
+ - app/views/locomotive/shared/_form_actions.html.slim
1030
+ - app/views/locomotive/shared/_head.html.slim
1031
+ - app/views/locomotive/shared/_header.html.slim
1032
+ - app/views/locomotive/shared/_locale_picker_link.html.slim
1033
+ - app/views/locomotive/shared/_main_app_head.html.slim
1034
+ - app/views/locomotive/shared/_main_app_head_before_backbone.html.slim
1035
+ - app/views/locomotive/shared/_main_app_header.html.slim
1036
+ - app/views/locomotive/shared/_sidebar.html.slim
1037
+ - app/views/locomotive/shared/_sidebar_without_site.html.slim
1038
+ - app/views/locomotive/shared/actions/_contents.html.slim
1039
+ - app/views/locomotive/shared/header/_account.html.slim
1040
+ - app/views/locomotive/shared/header/_account_menu.html.slim
1041
+ - app/views/locomotive/shared/header/_brand.html.slim
1042
+ - app/views/locomotive/shared/header/_site.html.slim
1043
+ - app/views/locomotive/shared/rte/_image_popover.html.slim
1044
+ - app/views/locomotive/shared/rte/_link_popover.html.slim
1045
+ - app/views/locomotive/shared/rte/_toolbar.html.slim
1046
+ - app/views/locomotive/shared/sidebar/_content_types.html.slim
1047
+ - app/views/locomotive/shared/sidebar/_link.html.slim
1048
+ - app/views/locomotive/shared/sidebar/_my_account.html.slim
1049
+ - app/views/locomotive/shared/sidebar/_page.html.slim
1050
+ - app/views/locomotive/shared/sidebar/_pages.html.slim
1051
+ - app/views/locomotive/sites/_site.html.slim
1052
+ - app/views/locomotive/sites/index.html.slim
1053
+ - app/views/locomotive/sites/new.html.slim
1054
+ - app/views/locomotive/translations/_form.html.slim
1055
+ - app/views/locomotive/translations/edit.html.slim
1056
+ - app/views/locomotive/translations/index.html.slim
1067
1057
  - config/cucumber.yml
1068
1058
  - config/initializers/csv_renderer.rb
1069
1059
  - config/initializers/deny_phantomjs_ttf.rb
1070
1060
  - config/initializers/devise.rb
1071
- - config/initializers/haml.rb
1072
- - config/initializers/locomotive_loaded_first.rb
1073
1061
  - config/initializers/simple_form.rb
1062
+ - config/initializers/slim.rb
1063
+ - config/initializers/time_format.rb
1074
1064
  - config/locales/admin_ui.bg.yml
1075
1065
  - config/locales/admin_ui.cs.yml
1076
1066
  - config/locales/admin_ui.de.yml
@@ -1161,23 +1151,6 @@ files:
1161
1151
  - config/locales/flash.sk.yml
1162
1152
  - config/locales/flash.sr.yml
1163
1153
  - config/locales/flash.zh-CN.yml
1164
- - config/locales/formtastic.bg.yml
1165
- - config/locales/formtastic.cs.yml
1166
- - config/locales/formtastic.de.yml
1167
- - config/locales/formtastic.es.yml
1168
- - config/locales/formtastic.et.yml
1169
- - config/locales/formtastic.fr.yml
1170
- - config/locales/formtastic.it.yml
1171
- - config/locales/formtastic.ja.yml
1172
- - config/locales/formtastic.nb.yml
1173
- - config/locales/formtastic.nl.yml
1174
- - config/locales/formtastic.pl.yml
1175
- - config/locales/formtastic.pt-BR.yml
1176
- - config/locales/formtastic.pt.yml
1177
- - config/locales/formtastic.ru.yml
1178
- - config/locales/formtastic.sk.yml
1179
- - config/locales/formtastic.sr.yml
1180
- - config/locales/formtastic.zh-CN.yml
1181
1154
  - config/locales/inputs.en.yml
1182
1155
  - config/locales/simple_form.en.yml
1183
1156
  - config/routes.rb
@@ -1275,8 +1248,10 @@ files:
1275
1248
  - lib/generators/locomotive/install/templates/carrierwave.rb
1276
1249
  - lib/generators/locomotive/install/templates/devise.rb
1277
1250
  - lib/generators/locomotive/install/templates/dragonfly.rb
1251
+ - lib/generators/locomotive/install/templates/heroku.rb
1278
1252
  - lib/generators/locomotive/install/templates/locomotive.rb
1279
1253
  - lib/generators/locomotive/install/templates/mongoid.yml
1254
+ - lib/generators/locomotive/install/templates/mongoid_heroku.yml
1280
1255
  - lib/locomotive.rb
1281
1256
  - lib/locomotive/action_controller.rb
1282
1257
  - lib/locomotive/action_controller/responder.rb
@@ -1292,11 +1267,10 @@ files:
1292
1267
  - lib/locomotive/devise.rb
1293
1268
  - lib/locomotive/dragonfly.rb
1294
1269
  - lib/locomotive/engine.rb
1295
- - lib/locomotive/haml.rb
1296
1270
  - lib/locomotive/kaminari.rb
1297
1271
  - lib/locomotive/logger.rb
1298
1272
  - lib/locomotive/middlewares.rb
1299
- - lib/locomotive/middlewares/page_editing.rb
1273
+ - lib/locomotive/middlewares/custom_public_exceptions.rb
1300
1274
  - lib/locomotive/middlewares/site.rb
1301
1275
  - lib/locomotive/mongoid.rb
1302
1276
  - lib/locomotive/mongoid/document.rb
@@ -1309,6 +1283,9 @@ files:
1309
1283
  - lib/locomotive/regexps.rb
1310
1284
  - lib/locomotive/simple_form.rb
1311
1285
  - lib/locomotive/simple_token_authentication.rb
1286
+ - lib/locomotive/steam/middlewares/missing_translations.rb
1287
+ - lib/locomotive/steam/middlewares/page_editing.rb
1288
+ - lib/locomotive/steam/services/api_entry_submission_service.rb
1312
1289
  - lib/locomotive/steam_adaptor.rb
1313
1290
  - lib/locomotive/version.rb
1314
1291
  - lib/locomotivecms.rb
@@ -1324,15 +1301,16 @@ files:
1324
1301
  - spec/dummy/app/controllers/foo_controller.rb
1325
1302
  - spec/dummy/app/helpers/application_helper.rb
1326
1303
  - spec/dummy/app/models/foo.rb
1327
- - spec/dummy/app/views/foo/index.html.haml
1304
+ - spec/dummy/app/views/foo/index.html.slim
1328
1305
  - spec/dummy/app/views/layouts/application.html.erb
1329
- - spec/dummy/app/views/locomotive/shared/_main_app_head.html.haml
1306
+ - spec/dummy/app/views/locomotive/shared/_main_app_head.html.slim
1330
1307
  - spec/dummy/config.ru
1331
1308
  - spec/dummy/config/application.rb
1332
1309
  - spec/dummy/config/boot.rb
1333
1310
  - spec/dummy/config/environment.rb
1334
1311
  - spec/dummy/config/environments/development.rb
1335
1312
  - spec/dummy/config/environments/production.rb
1313
+ - spec/dummy/config/environments/profile.rb
1336
1314
  - spec/dummy/config/environments/test.rb
1337
1315
  - spec/dummy/config/initializers/assets.rb
1338
1316
  - spec/dummy/config/initializers/carrierwave.rb
@@ -1340,7 +1318,6 @@ files:
1340
1318
  - spec/dummy/config/initializers/devise.rb
1341
1319
  - spec/dummy/config/initializers/dragonfly.rb
1342
1320
  - spec/dummy/config/initializers/filter_parameter_logging.rb
1343
- - spec/dummy/config/initializers/haml.rb
1344
1321
  - spec/dummy/config/initializers/locomotive.rb
1345
1322
  - spec/dummy/config/initializers/secret_token.rb
1346
1323
  - spec/dummy/config/initializers/session_store.rb
@@ -1368,10 +1345,12 @@ files:
1368
1345
  - spec/lib/action_view_spec.rb
1369
1346
  - spec/lib/core_ext_spec.rb
1370
1347
  - spec/lib/locomotive/configuration_spec.rb
1348
+ - spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb
1371
1349
  - spec/mailers/locomotive/notifications_spec.rb
1372
1350
  - spec/models/locomotive/account_spec.rb
1373
1351
  - spec/models/locomotive/concerns/content_entry/counter_spec.rb
1374
1352
  - spec/models/locomotive/concerns/content_entry/csv_spec.rb
1353
+ - spec/models/locomotive/concerns/content_type/entry_template_spec.rb
1375
1354
  - spec/models/locomotive/concerns/page/editable_elements_spec.rb
1376
1355
  - spec/models/locomotive/concerns/page/layout_spec.rb
1377
1356
  - spec/models/locomotive/concerns/page/redirect_spec.rb
@@ -1391,11 +1370,11 @@ files:
1391
1370
  - spec/models/locomotive/theme_asset_spec.rb
1392
1371
  - spec/requests/admin_ssl_spec.rb
1393
1372
  - spec/requests/site_spec.rb
1394
- - spec/support/asset_host_stubs.rb
1373
+ - spec/support/capybara.rb
1395
1374
  - spec/support/carrierwave.rb
1396
- - spec/support/controller.rb
1397
1375
  - spec/support/entity.rb
1398
1376
  - spec/support/factories.rb
1377
+ - spec/support/features/session_helpers.rb
1399
1378
  - spec/support/locomotive.rb
1400
1379
  - spec/support/matchers.rb
1401
1380
  - spec/support/middlewares.rb
@@ -1416,6 +1395,7 @@ files:
1416
1395
  - vendor/assets/javascripts/locomotive/cookies.js
1417
1396
  - vendor/assets/javascripts/locomotive/cropper.js
1418
1397
  - vendor/assets/javascripts/locomotive/datepicker_i18n.js.erb
1398
+ - vendor/assets/javascripts/locomotive/highlight.pack.js
1419
1399
  - vendor/assets/javascripts/locomotive/history.js
1420
1400
  - vendor/assets/javascripts/locomotive/jquery-ui-timepicker-addon.js
1421
1401
  - vendor/assets/javascripts/locomotive/liquid_mode.js
@@ -1431,6 +1411,8 @@ files:
1431
1411
  - vendor/assets/stylesheets/locomotive/bootstrap-switch.css
1432
1412
  - vendor/assets/stylesheets/locomotive/bootstrap-tagsinput.css
1433
1413
  - vendor/assets/stylesheets/locomotive/cropper.css
1414
+ - vendor/assets/stylesheets/locomotive/highlightjs/default.css
1415
+ - vendor/assets/stylesheets/locomotive/highlightjs/github.css
1434
1416
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
1435
1417
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_flat_75_ffffff_40x100.png
1436
1418
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
@@ -1576,10 +1558,12 @@ test_files:
1576
1558
  - spec/lib/action_view_spec.rb
1577
1559
  - spec/lib/core_ext_spec.rb
1578
1560
  - spec/lib/locomotive/configuration_spec.rb
1561
+ - spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb
1579
1562
  - spec/mailers/locomotive/notifications_spec.rb
1580
1563
  - spec/models/locomotive/account_spec.rb
1581
1564
  - spec/models/locomotive/concerns/content_entry/counter_spec.rb
1582
1565
  - spec/models/locomotive/concerns/content_entry/csv_spec.rb
1566
+ - spec/models/locomotive/concerns/content_type/entry_template_spec.rb
1583
1567
  - spec/models/locomotive/concerns/page/editable_elements_spec.rb
1584
1568
  - spec/models/locomotive/concerns/page/layout_spec.rb
1585
1569
  - spec/models/locomotive/concerns/page/redirect_spec.rb
@@ -1599,11 +1583,11 @@ test_files:
1599
1583
  - spec/models/locomotive/theme_asset_spec.rb
1600
1584
  - spec/requests/admin_ssl_spec.rb
1601
1585
  - spec/requests/site_spec.rb
1602
- - spec/support/asset_host_stubs.rb
1586
+ - spec/support/capybara.rb
1603
1587
  - spec/support/carrierwave.rb
1604
- - spec/support/controller.rb
1605
1588
  - spec/support/entity.rb
1606
1589
  - spec/support/factories.rb
1590
+ - spec/support/features/session_helpers.rb
1607
1591
  - spec/support/locomotive.rb
1608
1592
  - spec/support/matchers.rb
1609
1593
  - spec/support/middlewares.rb
@@ -1622,14 +1606,15 @@ test_files:
1622
1606
  - spec/dummy/app/controllers/foo_controller.rb
1623
1607
  - spec/dummy/app/helpers/application_helper.rb
1624
1608
  - spec/dummy/app/models/foo.rb
1625
- - spec/dummy/app/views/foo/index.html.haml
1609
+ - spec/dummy/app/views/foo/index.html.slim
1626
1610
  - spec/dummy/app/views/layouts/application.html.erb
1627
- - spec/dummy/app/views/locomotive/shared/_main_app_head.html.haml
1611
+ - spec/dummy/app/views/locomotive/shared/_main_app_head.html.slim
1628
1612
  - spec/dummy/config/application.rb
1629
1613
  - spec/dummy/config/boot.rb
1630
1614
  - spec/dummy/config/environment.rb
1631
1615
  - spec/dummy/config/environments/development.rb
1632
1616
  - spec/dummy/config/environments/production.rb
1617
+ - spec/dummy/config/environments/profile.rb
1633
1618
  - spec/dummy/config/environments/test.rb
1634
1619
  - spec/dummy/config/initializers/assets.rb
1635
1620
  - spec/dummy/config/initializers/carrierwave.rb
@@ -1637,7 +1622,6 @@ test_files:
1637
1622
  - spec/dummy/config/initializers/devise.rb
1638
1623
  - spec/dummy/config/initializers/dragonfly.rb
1639
1624
  - spec/dummy/config/initializers/filter_parameter_logging.rb
1640
- - spec/dummy/config/initializers/haml.rb
1641
1625
  - spec/dummy/config/initializers/locomotive.rb
1642
1626
  - spec/dummy/config/initializers/secret_token.rb
1643
1627
  - spec/dummy/config/initializers/session_store.rb