alchemy_cms 4.5.0 → 5.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (388) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +56 -18
  3. data/.github/workflows/stale.yml +1 -1
  4. data/.gitignore +20 -2
  5. data/.hound.yml +2 -1
  6. data/.prettierrc +6 -0
  7. data/.rubocop.yml +33 -20
  8. data/CHANGELOG.md +117 -0
  9. data/Gemfile +24 -22
  10. data/README.md +32 -20
  11. data/Rakefile +11 -8
  12. data/alchemy_cms.gemspec +6 -5
  13. data/app/assets/javascripts/alchemy/admin.js +1 -5
  14. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +2 -1
  15. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +0 -2
  16. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +5 -5
  17. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +17 -17
  18. data/app/assets/javascripts/alchemy/node_select.js +39 -0
  19. data/app/assets/javascripts/alchemy/templates/index.js +1 -0
  20. data/app/assets/javascripts/alchemy/templates/node.hbs +16 -0
  21. data/app/assets/javascripts/alchemy/templates/page.hbs +1 -1
  22. data/app/assets/stylesheets/alchemy/_mixins.scss +2 -3
  23. data/app/assets/stylesheets/alchemy/_variables.scss +2 -2
  24. data/app/assets/stylesheets/alchemy/admin.scss +3 -2
  25. data/app/assets/stylesheets/alchemy/base.scss +0 -1
  26. data/app/assets/stylesheets/alchemy/elements.scss +1 -1
  27. data/app/assets/stylesheets/alchemy/forms.scss +5 -0
  28. data/app/assets/stylesheets/alchemy/lists.scss +0 -8
  29. data/app/assets/stylesheets/alchemy/node-select.scss +43 -0
  30. data/app/assets/stylesheets/alchemy/nodes.scss +2 -2
  31. data/app/assets/stylesheets/alchemy/sitemap.scss +63 -21
  32. data/app/assets/stylesheets/alchemy/tables.scss +1 -24
  33. data/app/controllers/alchemy/admin/attachments_controller.rb +8 -7
  34. data/app/controllers/alchemy/admin/base_controller.rb +13 -33
  35. data/app/controllers/alchemy/admin/clipboard_controller.rb +5 -4
  36. data/app/controllers/alchemy/admin/contents_controller.rb +1 -2
  37. data/app/controllers/alchemy/admin/dashboard_controller.rb +10 -9
  38. data/app/controllers/alchemy/admin/elements_controller.rb +20 -20
  39. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +12 -14
  40. data/app/controllers/alchemy/admin/languages_controller.rb +35 -2
  41. data/app/controllers/alchemy/admin/layoutpages_controller.rb +5 -2
  42. data/app/controllers/alchemy/admin/nodes_controller.rb +5 -4
  43. data/app/controllers/alchemy/admin/pages_controller.rb +50 -63
  44. data/app/controllers/alchemy/admin/pictures_controller.rb +16 -16
  45. data/app/controllers/alchemy/admin/resources_controller.rb +21 -13
  46. data/app/controllers/alchemy/admin/sites_controller.rb +18 -0
  47. data/app/controllers/alchemy/admin/styleguide_controller.rb +1 -0
  48. data/app/controllers/alchemy/admin/tags_controller.rb +5 -3
  49. data/app/controllers/alchemy/admin/trash_controller.rb +6 -6
  50. data/app/controllers/alchemy/api/base_controller.rb +2 -2
  51. data/app/controllers/alchemy/api/contents_controller.rb +4 -4
  52. data/app/controllers/alchemy/api/elements_controller.rb +8 -8
  53. data/app/controllers/alchemy/api/nodes_controller.rb +37 -1
  54. data/app/controllers/alchemy/api/pages_controller.rb +15 -22
  55. data/app/controllers/alchemy/attachments_controller.rb +5 -5
  56. data/app/controllers/alchemy/base_controller.rb +10 -9
  57. data/app/controllers/alchemy/messages_controller.rb +16 -23
  58. data/app/controllers/alchemy/pages_controller.rb +13 -11
  59. data/app/controllers/concerns/alchemy/admin/archive_overlay.rb +3 -2
  60. data/app/controllers/concerns/alchemy/admin/current_language.rb +23 -0
  61. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +5 -5
  62. data/app/controllers/concerns/alchemy/legacy_page_redirects.rb +4 -4
  63. data/app/controllers/concerns/alchemy/page_redirects.rb +2 -9
  64. data/app/controllers/concerns/alchemy/site_redirects.rb +2 -2
  65. data/app/decorators/alchemy/content_editor.rb +55 -0
  66. data/app/decorators/alchemy/element_editor.rb +39 -0
  67. data/app/helpers/alchemy/admin/attachments_helper.rb +6 -6
  68. data/app/helpers/alchemy/admin/base_helper.rb +36 -35
  69. data/app/helpers/alchemy/admin/contents_helper.rb +3 -3
  70. data/app/helpers/alchemy/admin/elements_helper.rb +3 -88
  71. data/app/helpers/alchemy/admin/essences_helper.rb +8 -117
  72. data/app/helpers/alchemy/admin/form_helper.rb +1 -1
  73. data/app/helpers/alchemy/admin/navigation_helper.rb +24 -23
  74. data/app/helpers/alchemy/admin/pages_helper.rb +12 -12
  75. data/app/helpers/alchemy/admin/pictures_helper.rb +4 -6
  76. data/app/helpers/alchemy/admin/tags_helper.rb +8 -7
  77. data/app/helpers/alchemy/base_helper.rb +13 -8
  78. data/app/helpers/alchemy/elements_block_helper.rb +2 -31
  79. data/app/helpers/alchemy/elements_helper.rb +12 -58
  80. data/app/helpers/alchemy/pages_helper.rb +24 -174
  81. data/app/helpers/alchemy/url_helper.rb +2 -1
  82. data/app/mailers/alchemy/base_mailer.rb +1 -1
  83. data/app/mailers/alchemy/messages_mailer.rb +1 -1
  84. data/app/models/alchemy/attachment.rb +20 -18
  85. data/app/models/alchemy/base_record.rb +2 -5
  86. data/app/models/alchemy/content.rb +33 -52
  87. data/app/models/alchemy/content/factory.rb +24 -31
  88. data/app/models/alchemy/element.rb +45 -53
  89. data/app/models/alchemy/element/definitions.rb +4 -4
  90. data/app/models/alchemy/element/element_contents.rb +9 -6
  91. data/app/models/alchemy/element/element_essences.rb +4 -3
  92. data/app/models/alchemy/element/presenters.rb +3 -2
  93. data/app/models/alchemy/element_to_page.rb +1 -1
  94. data/app/models/alchemy/essence_boolean.rb +1 -3
  95. data/app/models/alchemy/essence_date.rb +2 -3
  96. data/app/models/alchemy/essence_file.rb +4 -4
  97. data/app/models/alchemy/essence_html.rb +1 -3
  98. data/app/models/alchemy/essence_link.rb +1 -3
  99. data/app/models/alchemy/essence_node.rb +18 -0
  100. data/app/models/alchemy/essence_page.rb +3 -16
  101. data/app/models/alchemy/essence_picture.rb +17 -16
  102. data/app/models/alchemy/essence_picture_view.rb +7 -6
  103. data/app/models/alchemy/essence_richtext.rb +1 -3
  104. data/app/models/alchemy/essence_select.rb +1 -3
  105. data/app/models/alchemy/essence_text.rb +0 -2
  106. data/app/models/alchemy/folded_page.rb +1 -0
  107. data/app/models/alchemy/language.rb +21 -35
  108. data/app/models/alchemy/language/code.rb +4 -4
  109. data/app/models/alchemy/legacy_page_url.rb +1 -1
  110. data/app/models/alchemy/message.rb +3 -3
  111. data/app/models/alchemy/node.rb +34 -10
  112. data/app/models/alchemy/page.rb +53 -123
  113. data/app/models/alchemy/page/fixed_attributes.rb +3 -2
  114. data/app/models/alchemy/page/page_elements.rb +35 -44
  115. data/app/models/alchemy/page/page_naming.rb +20 -70
  116. data/app/models/alchemy/page/page_natures.rb +7 -34
  117. data/app/models/alchemy/page/page_scopes.rb +23 -29
  118. data/app/models/alchemy/page/url_path.rb +64 -0
  119. data/app/models/alchemy/picture.rb +40 -30
  120. data/app/models/alchemy/picture/preprocessor.rb +26 -0
  121. data/app/models/alchemy/picture/transformations.rb +9 -7
  122. data/app/models/alchemy/picture/url.rb +5 -5
  123. data/app/models/alchemy/site.rb +6 -36
  124. data/app/models/alchemy/site/layout.rb +2 -2
  125. data/app/models/concerns/alchemy/touch_elements.rb +24 -0
  126. data/app/serializers/alchemy/content_serializer.rb +0 -3
  127. data/app/serializers/alchemy/essence_boolean_serializer.rb +3 -3
  128. data/app/serializers/alchemy/essence_date_serializer.rb +3 -3
  129. data/app/serializers/alchemy/essence_file_serializer.rb +4 -2
  130. data/app/serializers/alchemy/essence_html_serializer.rb +3 -3
  131. data/app/serializers/alchemy/essence_link_serializer.rb +3 -3
  132. data/app/serializers/alchemy/essence_picture_serializer.rb +5 -4
  133. data/app/serializers/alchemy/essence_richtext_serializer.rb +3 -3
  134. data/app/serializers/alchemy/essence_select_serializer.rb +3 -3
  135. data/app/serializers/alchemy/essence_text_serializer.rb +5 -4
  136. data/app/serializers/alchemy/node_serializer.rb +2 -0
  137. data/app/serializers/alchemy/page_serializer.rb +2 -1
  138. data/app/serializers/alchemy/page_tree_serializer.rb +11 -14
  139. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -2
  140. data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +1 -2
  141. data/app/views/alchemy/admin/attachments/_files_list.html.erb +4 -4
  142. data/app/views/alchemy/admin/contents/create.js.erb +1 -3
  143. data/app/views/alchemy/admin/elements/_element.html.erb +9 -18
  144. data/app/views/alchemy/admin/elements/create.js.erb +1 -1
  145. data/app/views/alchemy/admin/elements/fold.js.erb +1 -1
  146. data/app/views/alchemy/admin/elements/index.html.erb +3 -3
  147. data/app/views/alchemy/admin/essence_files/assign.js.erb +1 -6
  148. data/app/views/alchemy/admin/essence_files/edit.html.erb +1 -1
  149. data/app/views/alchemy/admin/essence_pictures/assign.js.erb +1 -7
  150. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +1 -1
  151. data/app/views/alchemy/admin/essence_pictures/edit.html.erb +7 -7
  152. data/app/views/alchemy/admin/essence_pictures/update.js.erb +1 -1
  153. data/app/views/alchemy/admin/languages/_form.html.erb +5 -5
  154. data/app/views/alchemy/admin/languages/_table.html.erb +3 -3
  155. data/app/views/alchemy/admin/languages/edit.html.erb +1 -0
  156. data/app/views/alchemy/admin/languages/index.html.erb +23 -4
  157. data/app/views/alchemy/admin/languages/new.html.erb +1 -0
  158. data/app/views/alchemy/admin/layoutpages/index.html.erb +6 -2
  159. data/app/views/alchemy/admin/nodes/_form.html.erb +20 -17
  160. data/app/views/alchemy/admin/nodes/_node.html.erb +1 -5
  161. data/app/views/alchemy/admin/nodes/index.html.erb +3 -4
  162. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +0 -8
  163. data/app/views/alchemy/admin/pages/_form.html.erb +1 -2
  164. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -0
  165. data/app/views/alchemy/admin/pages/_page.html.erb +14 -25
  166. data/app/views/alchemy/admin/pages/_page_infos.html.erb +0 -4
  167. data/app/views/alchemy/admin/pages/_sitemap.html.erb +6 -0
  168. data/app/views/alchemy/admin/pages/edit.html.erb +1 -1
  169. data/app/views/alchemy/admin/pages/info.html.erb +0 -9
  170. data/app/views/alchemy/admin/pages/unlock.js.erb +13 -6
  171. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +0 -2
  172. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +1 -5
  173. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +1 -1
  174. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +1 -2
  175. data/app/views/alchemy/admin/pictures/index.html.erb +18 -3
  176. data/app/views/alchemy/admin/resources/_resource.html.erb +1 -1
  177. data/app/views/alchemy/admin/resources/_table.html.erb +2 -2
  178. data/app/views/alchemy/admin/sites/_form.html.erb +8 -0
  179. data/app/views/alchemy/admin/sites/edit.html.erb +1 -0
  180. data/app/views/alchemy/admin/sites/index.html.erb +21 -9
  181. data/app/views/alchemy/admin/sites/new.html.erb +1 -0
  182. data/app/views/alchemy/admin/tags/index.html.erb +2 -2
  183. data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +10 -12
  184. data/app/views/alchemy/essences/_essence_date_editor.html.erb +11 -8
  185. data/app/views/alchemy/essences/_essence_file_editor.html.erb +16 -17
  186. data/app/views/alchemy/essences/_essence_html_editor.html.erb +8 -5
  187. data/app/views/alchemy/essences/_essence_link_editor.html.erb +18 -15
  188. data/app/views/alchemy/essences/_essence_node_editor.html.erb +27 -0
  189. data/app/views/alchemy/essences/_essence_node_view.html.erb +1 -0
  190. data/app/views/alchemy/essences/_essence_page_editor.html.erb +14 -11
  191. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +22 -20
  192. data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +10 -7
  193. data/app/views/alchemy/essences/_essence_select_editor.html.erb +12 -16
  194. data/app/views/alchemy/essences/_essence_text_editor.html.erb +18 -17
  195. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +6 -11
  196. data/app/views/alchemy/pages/show.rss.builder +3 -2
  197. data/app/views/layouts/alchemy/admin.html.erb +1 -0
  198. data/babel.config.js +12 -0
  199. data/bin/rails +5 -4
  200. data/config/alchemy/config.yml +23 -22
  201. data/config/brakeman.ignore +1 -1
  202. data/config/initializers/assets.rb +2 -1
  203. data/config/initializers/dragonfly.rb +2 -1
  204. data/config/initializers/mime_types.rb +1 -0
  205. data/config/initializers/mini_profiler.rb +3 -2
  206. data/config/initializers/simple_form.rb +6 -6
  207. data/config/locales/alchemy.en.yml +29 -14
  208. data/config/routes.rb +25 -24
  209. data/config/spring.rb +3 -2
  210. data/db/migrate/20200226213334_alchemy_four_point_four.rb +313 -0
  211. data/db/migrate/20200423073425_create_alchemy_essence_nodes.rb +11 -0
  212. data/db/migrate/20200504210159_remove_site_id_from_nodes.rb +28 -0
  213. data/db/migrate/20200505215518_add_language_id_foreign_key_to_alchemy_pages.rb +8 -0
  214. data/db/migrate/20200511113603_add_menu_type_to_alchemy_nodes.rb +27 -0
  215. data/db/migrate/20200514091507_make_page_layoutpage_null_false.rb +6 -0
  216. data/db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb +24 -0
  217. data/lib/alchemy/admin/locale.rb +3 -1
  218. data/lib/alchemy/admin/preview_url.rb +85 -0
  219. data/lib/alchemy/auth_accessors.rb +8 -7
  220. data/lib/alchemy/cache_digests/template_tracker.rb +5 -4
  221. data/lib/alchemy/config.rb +28 -2
  222. data/lib/alchemy/configuration_methods.rb +3 -1
  223. data/lib/alchemy/controller_actions.rb +6 -5
  224. data/lib/alchemy/deprecation.rb +2 -1
  225. data/lib/alchemy/elements_finder.rb +5 -5
  226. data/lib/alchemy/engine.rb +23 -8
  227. data/lib/alchemy/errors.rb +0 -7
  228. data/lib/alchemy/essence.rb +17 -16
  229. data/lib/alchemy/filetypes.rb +5 -5
  230. data/lib/alchemy/forms/builder.rb +4 -4
  231. data/lib/alchemy/hints.rb +1 -1
  232. data/lib/alchemy/i18n.rb +2 -1
  233. data/lib/alchemy/install/tasks.rb +41 -0
  234. data/lib/alchemy/modules.rb +12 -12
  235. data/lib/alchemy/name_conversions.rb +5 -5
  236. data/lib/alchemy/on_page_layout/callbacks_runner.rb +1 -0
  237. data/lib/alchemy/page_layout.rb +15 -12
  238. data/lib/alchemy/paths.rb +1 -1
  239. data/lib/alchemy/permissions.rb +7 -6
  240. data/lib/alchemy/resource.rb +23 -13
  241. data/lib/alchemy/resources_helper.rb +12 -18
  242. data/lib/alchemy/routing_constraints.rb +1 -1
  243. data/lib/alchemy/seeder.rb +42 -14
  244. data/lib/alchemy/shell.rb +13 -10
  245. data/lib/alchemy/taggable.rb +1 -0
  246. data/lib/alchemy/tasks/tidy.rb +4 -3
  247. data/lib/alchemy/test_support/config_stubbing.rb +1 -0
  248. data/lib/alchemy/test_support/essence_shared_examples.rb +72 -72
  249. data/lib/alchemy/test_support/factories.rb +1 -1
  250. data/lib/alchemy/test_support/factories/attachment_factory.rb +5 -5
  251. data/lib/alchemy/test_support/factories/content_factory.rb +6 -6
  252. data/lib/alchemy/test_support/factories/dummy_user_factory.rb +7 -7
  253. data/lib/alchemy/test_support/factories/element_factory.rb +9 -9
  254. data/lib/alchemy/test_support/factories/essence_file_factory.rb +3 -3
  255. data/lib/alchemy/test_support/factories/essence_page_factory.rb +3 -3
  256. data/lib/alchemy/test_support/factories/essence_picture_factory.rb +4 -4
  257. data/lib/alchemy/test_support/factories/essence_text_factory.rb +3 -3
  258. data/lib/alchemy/test_support/factories/language_factory.rb +21 -14
  259. data/lib/alchemy/test_support/factories/node_factory.rb +8 -8
  260. data/lib/alchemy/test_support/factories/page_factory.rb +15 -27
  261. data/lib/alchemy/test_support/factories/picture_factory.rb +5 -5
  262. data/lib/alchemy/test_support/factories/site_factory.rb +7 -6
  263. data/lib/alchemy/test_support/integration_helpers.rb +1 -0
  264. data/lib/alchemy/test_support/shared_contexts.rb +5 -4
  265. data/lib/alchemy/test_support/shared_uploader_examples.rb +4 -3
  266. data/lib/alchemy/tinymce.rb +15 -13
  267. data/lib/alchemy/upgrader.rb +8 -7
  268. data/lib/alchemy/upgrader/five_point_zero.rb +41 -0
  269. data/lib/alchemy/upgrader/tasks/element_views_updater.rb +4 -4
  270. data/lib/alchemy/upgrader/tasks/harden_gutentag_migrations.rb +29 -0
  271. data/lib/alchemy/version.rb +1 -1
  272. data/lib/alchemy_cms.rb +52 -50
  273. data/lib/{rails/generators → generators}/alchemy/base.rb +5 -4
  274. data/lib/{rails/generators → generators}/alchemy/elements/elements_generator.rb +13 -9
  275. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.erb +0 -0
  276. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.haml +0 -0
  277. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.slim +0 -0
  278. data/lib/{rails/generators → generators}/alchemy/essence/essence_generator.rb +15 -13
  279. data/lib/generators/alchemy/essence/templates/editor.html.erb +17 -0
  280. data/lib/{rails/generators → generators}/alchemy/essence/templates/view.html.erb +0 -0
  281. data/lib/{rails/generators → generators}/alchemy/install/files/_article.html.erb +0 -0
  282. data/lib/{rails/generators → generators}/alchemy/install/files/_standard.html.erb +0 -0
  283. data/lib/{rails/generators → generators}/alchemy/install/files/alchemy.en.yml +0 -0
  284. data/lib/generators/alchemy/install/files/alchemy_admin.js +1 -0
  285. data/lib/{rails/generators → generators}/alchemy/install/files/all.css +0 -0
  286. data/lib/{rails/generators → generators}/alchemy/install/files/all.js +0 -0
  287. data/lib/{rails/generators → generators}/alchemy/install/files/application.html.erb +0 -0
  288. data/lib/{rails/generators → generators}/alchemy/install/files/article.scss +0 -0
  289. data/lib/generators/alchemy/install/install_generator.rb +169 -0
  290. data/lib/{rails/generators → generators}/alchemy/install/templates/dragonfly.rb.tt +0 -0
  291. data/lib/{rails/generators → generators}/alchemy/install/templates/elements.yml.tt +0 -0
  292. data/lib/{rails/generators → generators}/alchemy/install/templates/menus.yml.tt +0 -0
  293. data/lib/{rails/generators → generators}/alchemy/install/templates/page_layouts.yml.tt +0 -0
  294. data/lib/{rails/generators → generators}/alchemy/menus/menus_generator.rb +2 -2
  295. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.erb +1 -4
  296. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.haml +1 -4
  297. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.slim +1 -4
  298. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.erb +1 -1
  299. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.haml +1 -1
  300. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.slim +1 -1
  301. data/lib/{rails/generators → generators}/alchemy/module/module_generator.rb +3 -2
  302. data/lib/{rails/generators → generators}/alchemy/module/templates/ability.rb.tt +0 -0
  303. data/lib/{rails/generators → generators}/alchemy/module/templates/controller.rb.tt +0 -0
  304. data/lib/{rails/generators → generators}/alchemy/module/templates/module_config.rb.tt +0 -0
  305. data/lib/{rails/generators → generators}/alchemy/page_layouts/page_layouts_generator.rb +5 -4
  306. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.erb +0 -0
  307. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.haml +0 -0
  308. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.slim +0 -0
  309. data/lib/{rails/generators → generators}/alchemy/site_layouts/site_layouts_generator.rb +4 -2
  310. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.erb +0 -0
  311. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.haml +0 -0
  312. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.slim +0 -0
  313. data/lib/{rails/generators → generators}/alchemy/views/views_generator.rb +7 -6
  314. data/lib/kaminari/scoped_pagination_url_helper.rb +1 -0
  315. data/lib/tasks/alchemy/db.rake +3 -19
  316. data/lib/tasks/alchemy/install.rake +5 -48
  317. data/lib/tasks/alchemy/tidy.rake +9 -8
  318. data/lib/tasks/alchemy/upgrade.rake +28 -105
  319. data/package.json +45 -0
  320. data/package/admin.js +14 -0
  321. data/package/src/__tests__/i18n.spec.js +70 -0
  322. data/package/src/i18n.js +48 -0
  323. data/package/src/node_tree.js +72 -0
  324. data/package/src/translations.js +32 -0
  325. data/package/src/utils/__tests__/ajax.spec.js +124 -0
  326. data/package/src/utils/__tests__/events.spec.js +38 -0
  327. data/package/src/utils/ajax.js +48 -0
  328. data/package/src/utils/events.js +16 -0
  329. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  330. data/vendor/assets/fonts/fa-regular-400.svg +798 -358
  331. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  332. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  333. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  334. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  335. data/vendor/assets/fonts/fa-solid-900.svg +4933 -1408
  336. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  337. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  338. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  339. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js +1 -2
  340. data/vendor/assets/stylesheets/fontawesome/_core.scss +5 -0
  341. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +1 -1
  342. data/vendor/assets/stylesheets/fontawesome/_icons.scss +651 -2
  343. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +0 -1
  344. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +3 -2
  345. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +1 -1
  346. data/vendor/assets/stylesheets/fontawesome/_variables.scss +662 -9
  347. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +2 -2
  348. data/vendor/assets/stylesheets/fontawesome/regular.scss +23 -0
  349. data/vendor/assets/stylesheets/fontawesome/solid.scss +24 -0
  350. metadata +115 -87
  351. data/app/assets/javascripts/alchemy/alchemy.i18n.js.coffee +0 -32
  352. data/app/assets/javascripts/alchemy/alchemy.node_tree.js +0 -66
  353. data/app/assets/javascripts/alchemy/alchemy.translations.js.coffee +0 -29
  354. data/app/assets/javascripts/alchemy/alchemy.utils.js +0 -45
  355. data/app/helpers/alchemy/essences_helper.rb +0 -119
  356. data/app/models/concerns/alchemy/content_touching.rb +0 -23
  357. data/app/serializers/alchemy/legacy_element_serializer.rb +0 -15
  358. data/app/views/alchemy/admin/contents/_missing.html.erb +0 -17
  359. data/app/views/alchemy/admin/pages/_menu_fields.html.erb +0 -33
  360. data/app/views/alchemy/admin/pages/configure_external.html.erb +0 -32
  361. data/app/views/alchemy/elements/_editor_not_found.html.erb +0 -4
  362. data/app/views/alchemy/navigation/_image_link.html.erb +0 -14
  363. data/app/views/alchemy/navigation/_link.html.erb +0 -19
  364. data/app/views/alchemy/navigation/_renderer.html.erb +0 -29
  365. data/db/migrate/20180226123013_alchemy_four_point_zero.rb +0 -363
  366. data/db/migrate/20180227224537_migrate_tags_to_gutentag.rb +0 -41
  367. data/db/migrate/20180519204655_add_fixed_to_alchemy_elements.rb +0 -6
  368. data/db/migrate/20191016073858_create_alchemy_essence_pages.rb +0 -8
  369. data/db/migrate/20191029212236_create_alchemy_nodes.rb +0 -24
  370. data/db/migrate/20200226081535_add_site_id_to_alchemy_nodes.rb +0 -15
  371. data/lib/alchemy/ssl_protection.rb +0 -32
  372. data/lib/alchemy/tasks/helpers.rb +0 -81
  373. data/lib/alchemy/test_support/controller_requests.rb +0 -93
  374. data/lib/alchemy/upgrader/four_point_four.rb +0 -52
  375. data/lib/alchemy/upgrader/four_point_one.rb +0 -42
  376. data/lib/alchemy/upgrader/four_point_two.rb +0 -85
  377. data/lib/alchemy/upgrader/tasks/cells_migration.rb +0 -43
  378. data/lib/alchemy/upgrader/tasks/cells_upgrader.rb +0 -148
  379. data/lib/alchemy/upgrader/tasks/element_partial_name_variable_updater.rb +0 -28
  380. data/lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb +0 -27
  381. data/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb +0 -65
  382. data/lib/alchemy/upgrader/tasks/picture_gallery_upgrader.rb +0 -210
  383. data/lib/rails/generators/alchemy/essence/templates/editor.html.erb +0 -15
  384. data/lib/rails/generators/alchemy/install/install_generator.rb +0 -60
  385. data/lib/tasks/alchemy/convert.rake +0 -95
  386. data/vendor/assets/javascripts/sortable/Sortable.min.js +0 -2
  387. data/vendor/assets/stylesheets/fontawesome/fa-regular.scss +0 -22
  388. data/vendor/assets/stylesheets/fontawesome/fa-solid.scss +0 -23
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Font Awesome Free 5.0.2 by @fontawesome - http://fontawesome.com
3
- * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2
+ * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  */
5
5
  @import 'variables';
6
6
  @import 'mixins';
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+
7
+ @font-face {
8
+ font-family: 'Font Awesome 5 Free';
9
+ font-style: normal;
10
+ font-weight: 400;
11
+ font-display: $fa-font-display;
12
+ src: asset_url('fa-regular-400.eot');
13
+ src: asset_url('fa-regular-400.eot?#iefix') format('embedded-opentype'),
14
+ asset_url('fa-regular-400.woff2') format('woff2'),
15
+ asset_url('fa-regular-400.woff') format('woff'),
16
+ asset_url('fa-regular-400.ttf') format('truetype'),
17
+ asset_url('fa-regular-400.svg#fontawesome') format('svg');
18
+ }
19
+
20
+ .far {
21
+ font-family: 'Font Awesome 5 Free';
22
+ font-weight: 400;
23
+ }
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+
7
+ @font-face {
8
+ font-family: 'Font Awesome 5 Free';
9
+ font-style: normal;
10
+ font-weight: 900;
11
+ font-display: $fa-font-display;
12
+ src: asset_url('fa-solid-900.eot');
13
+ src: asset_url('fa-solid-900.eot?#iefix') format('embedded-opentype'),
14
+ asset_url('fa-solid-900.woff2') format('woff2'),
15
+ asset_url('fa-solid-900.woff') format('woff'),
16
+ asset_url('fa-solid-900.ttf') format('truetype'),
17
+ asset_url('fa-solid-900.svg#fontawesome') format('svg');
18
+ }
19
+
20
+ .fa,
21
+ .fas {
22
+ font-family: 'Font Awesome 5 Free';
23
+ font-weight: 900;
24
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.0
4
+ version: 5.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2020-03-30 00:00:00.000000000 Z
16
+ date: 2020-07-14 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: active_model_serializers
@@ -253,7 +253,7 @@ dependencies:
253
253
  requirements:
254
254
  - - ">="
255
255
  - !ruby/object:Gem::Version
256
- version: 5.0.0
256
+ version: 5.2.0
257
257
  - - "<"
258
258
  - !ruby/object:Gem::Version
259
259
  version: '6.1'
@@ -263,7 +263,7 @@ dependencies:
263
263
  requirements:
264
264
  - - ">="
265
265
  - !ruby/object:Gem::Version
266
- version: 5.0.0
266
+ version: 5.2.0
267
267
  - - "<"
268
268
  - !ruby/object:Gem::Version
269
269
  version: '6.1'
@@ -409,6 +409,26 @@ dependencies:
409
409
  - - ">="
410
410
  - !ruby/object:Gem::Version
411
411
  version: '2.5'
412
+ - !ruby/object:Gem::Dependency
413
+ name: webpacker
414
+ requirement: !ruby/object:Gem::Requirement
415
+ requirements:
416
+ - - ">="
417
+ - !ruby/object:Gem::Version
418
+ version: '4.0'
419
+ - - "<"
420
+ - !ruby/object:Gem::Version
421
+ version: '6'
422
+ type: :runtime
423
+ prerelease: false
424
+ version_requirements: !ruby/object:Gem::Requirement
425
+ requirements:
426
+ - - ">="
427
+ - !ruby/object:Gem::Version
428
+ version: '4.0'
429
+ - - "<"
430
+ - !ruby/object:Gem::Version
431
+ version: '6'
412
432
  - !ruby/object:Gem::Dependency
413
433
  name: capybara
414
434
  requirement: !ruby/object:Gem::Requirement
@@ -443,14 +463,14 @@ dependencies:
443
463
  requirements:
444
464
  - - "~>"
445
465
  - !ruby/object:Gem::Version
446
- version: '5.0'
466
+ version: '6.0'
447
467
  type: :development
448
468
  prerelease: false
449
469
  version_requirements: !ruby/object:Gem::Requirement
450
470
  requirements:
451
471
  - - "~>"
452
472
  - !ruby/object:Gem::Version
453
- version: '5.0'
473
+ version: '6.0'
454
474
  - !ruby/object:Gem::Dependency
455
475
  name: puma
456
476
  requirement: !ruby/object:Gem::Requirement
@@ -563,9 +583,9 @@ dependencies:
563
583
  - - "~>"
564
584
  - !ruby/object:Gem::Version
565
585
  version: '4.0'
566
- description: Alchemy is a powerful, userfriendly and flexible Rails 5 CMS.
586
+ description: Alchemy is a powerful, userfriendly and flexible Rails CMS.
567
587
  email:
568
- - alchemy@magiclabs.de
588
+ - hello@alchemy-cms.com
569
589
  executables: []
570
590
  extensions: []
571
591
  extra_rdoc_files: []
@@ -582,6 +602,7 @@ files:
582
602
  - ".gitignore"
583
603
  - ".hound.yml"
584
604
  - ".localeapp/config.rb"
605
+ - ".prettierrc"
585
606
  - ".rubocop.yml"
586
607
  - ".yardopts"
587
608
  - CHANGELOG.md
@@ -618,13 +639,11 @@ files:
618
639
  - app/assets/javascripts/alchemy/alchemy.gui.js.coffee
619
640
  - app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee
620
641
  - app/assets/javascripts/alchemy/alchemy.html5.js
621
- - app/assets/javascripts/alchemy/alchemy.i18n.js.coffee
622
642
  - app/assets/javascripts/alchemy/alchemy.image_cropper.js.coffee
623
643
  - app/assets/javascripts/alchemy/alchemy.image_overlay.coffee
624
644
  - app/assets/javascripts/alchemy/alchemy.initializer.js.coffee
625
645
  - app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee
626
646
  - app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee
627
- - app/assets/javascripts/alchemy/alchemy.node_tree.js
628
647
  - app/assets/javascripts/alchemy/alchemy.page_sorter.js
629
648
  - app/assets/javascripts/alchemy/alchemy.preview.js.coffee
630
649
  - app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee
@@ -633,14 +652,14 @@ files:
633
652
  - app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
634
653
  - app/assets/javascripts/alchemy/alchemy.tinymce.js.coffee
635
654
  - app/assets/javascripts/alchemy/alchemy.tooltips.coffee
636
- - app/assets/javascripts/alchemy/alchemy.translations.js.coffee
637
655
  - app/assets/javascripts/alchemy/alchemy.trash_window.js.coffee
638
656
  - app/assets/javascripts/alchemy/alchemy.uploader.js.coffee
639
- - app/assets/javascripts/alchemy/alchemy.utils.js
640
657
  - app/assets/javascripts/alchemy/menubar.js.coffee
658
+ - app/assets/javascripts/alchemy/node_select.js
641
659
  - app/assets/javascripts/alchemy/page_select.js
642
660
  - app/assets/javascripts/alchemy/preview.js
643
661
  - app/assets/javascripts/alchemy/templates/index.js
662
+ - app/assets/javascripts/alchemy/templates/node.hbs
644
663
  - app/assets/javascripts/alchemy/templates/node_folder.hbs
645
664
  - app/assets/javascripts/alchemy/templates/page.hbs
646
665
  - app/assets/javascripts/alchemy/templates/spinner.hbs
@@ -674,6 +693,7 @@ files:
674
693
  - app/assets/stylesheets/alchemy/lists.scss
675
694
  - app/assets/stylesheets/alchemy/menubar.scss
676
695
  - app/assets/stylesheets/alchemy/navigation.scss
696
+ - app/assets/stylesheets/alchemy/node-select.scss
677
697
  - app/assets/stylesheets/alchemy/nodes.scss
678
698
  - app/assets/stylesheets/alchemy/notices.scss
679
699
  - app/assets/stylesheets/alchemy/page-select.scss
@@ -734,11 +754,14 @@ files:
734
754
  - app/controllers/alchemy/messages_controller.rb
735
755
  - app/controllers/alchemy/pages_controller.rb
736
756
  - app/controllers/concerns/alchemy/admin/archive_overlay.rb
757
+ - app/controllers/concerns/alchemy/admin/current_language.rb
737
758
  - app/controllers/concerns/alchemy/admin/uploader_responses.rb
738
759
  - app/controllers/concerns/alchemy/legacy_page_redirects.rb
739
760
  - app/controllers/concerns/alchemy/locale_redirects.rb
740
761
  - app/controllers/concerns/alchemy/page_redirects.rb
741
762
  - app/controllers/concerns/alchemy/site_redirects.rb
763
+ - app/decorators/alchemy/content_editor.rb
764
+ - app/decorators/alchemy/element_editor.rb
742
765
  - app/helpers/alchemy/admin/attachments_helper.rb
743
766
  - app/helpers/alchemy/admin/base_helper.rb
744
767
  - app/helpers/alchemy/admin/contents_helper.rb
@@ -752,7 +775,6 @@ files:
752
775
  - app/helpers/alchemy/base_helper.rb
753
776
  - app/helpers/alchemy/elements_block_helper.rb
754
777
  - app/helpers/alchemy/elements_helper.rb
755
- - app/helpers/alchemy/essences_helper.rb
756
778
  - app/helpers/alchemy/pages_helper.rb
757
779
  - app/helpers/alchemy/url_helper.rb
758
780
  - app/mailers/alchemy/base_mailer.rb
@@ -772,6 +794,7 @@ files:
772
794
  - app/models/alchemy/essence_file.rb
773
795
  - app/models/alchemy/essence_html.rb
774
796
  - app/models/alchemy/essence_link.rb
797
+ - app/models/alchemy/essence_node.rb
775
798
  - app/models/alchemy/essence_page.rb
776
799
  - app/models/alchemy/essence_picture.rb
777
800
  - app/models/alchemy/essence_picture_view.rb
@@ -790,14 +813,16 @@ files:
790
813
  - app/models/alchemy/page/page_naming.rb
791
814
  - app/models/alchemy/page/page_natures.rb
792
815
  - app/models/alchemy/page/page_scopes.rb
816
+ - app/models/alchemy/page/url_path.rb
793
817
  - app/models/alchemy/picture.rb
818
+ - app/models/alchemy/picture/preprocessor.rb
794
819
  - app/models/alchemy/picture/transformations.rb
795
820
  - app/models/alchemy/picture/url.rb
796
821
  - app/models/alchemy/site.rb
797
822
  - app/models/alchemy/site/layout.rb
798
823
  - app/models/alchemy/tag.rb
799
824
  - app/models/alchemy/tree_node.rb
800
- - app/models/concerns/alchemy/content_touching.rb
825
+ - app/models/concerns/alchemy/touch_elements.rb
801
826
  - app/serializers/alchemy/attachment_serializer.rb
802
827
  - app/serializers/alchemy/base_serializer.rb
803
828
  - app/serializers/alchemy/content_serializer.rb
@@ -811,7 +836,6 @@ files:
811
836
  - app/serializers/alchemy/essence_richtext_serializer.rb
812
837
  - app/serializers/alchemy/essence_select_serializer.rb
813
838
  - app/serializers/alchemy/essence_text_serializer.rb
814
- - app/serializers/alchemy/legacy_element_serializer.rb
815
839
  - app/serializers/alchemy/node_serializer.rb
816
840
  - app/serializers/alchemy/page_serializer.rb
817
841
  - app/serializers/alchemy/page_tree_serializer.rb
@@ -836,7 +860,6 @@ files:
836
860
  - app/views/alchemy/admin/clipboard/index.html.erb
837
861
  - app/views/alchemy/admin/clipboard/insert.js.erb
838
862
  - app/views/alchemy/admin/clipboard/remove.js.erb
839
- - app/views/alchemy/admin/contents/_missing.html.erb
840
863
  - app/views/alchemy/admin/contents/create.js.erb
841
864
  - app/views/alchemy/admin/dashboard/_locked_pages.html.erb
842
865
  - app/views/alchemy/admin/dashboard/_recent_pages.html.erb
@@ -869,7 +892,9 @@ files:
869
892
  - app/views/alchemy/admin/languages/_form.html.erb
870
893
  - app/views/alchemy/admin/languages/_language.html.erb
871
894
  - app/views/alchemy/admin/languages/_table.html.erb
895
+ - app/views/alchemy/admin/languages/edit.html.erb
872
896
  - app/views/alchemy/admin/languages/index.html.erb
897
+ - app/views/alchemy/admin/languages/new.html.erb
873
898
  - app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
874
899
  - app/views/alchemy/admin/layoutpages/edit.html.erb
875
900
  - app/views/alchemy/admin/layoutpages/index.html.erb
@@ -895,7 +920,6 @@ files:
895
920
  - app/views/alchemy/admin/pages/_internal_link.html.erb
896
921
  - app/views/alchemy/admin/pages/_legacy_urls.html.erb
897
922
  - app/views/alchemy/admin/pages/_locked_page.html.erb
898
- - app/views/alchemy/admin/pages/_menu_fields.html.erb
899
923
  - app/views/alchemy/admin/pages/_new_page_form.html.erb
900
924
  - app/views/alchemy/admin/pages/_page.html.erb
901
925
  - app/views/alchemy/admin/pages/_page_infos.html.erb
@@ -904,7 +928,6 @@ files:
904
928
  - app/views/alchemy/admin/pages/_sitemap.html.erb
905
929
  - app/views/alchemy/admin/pages/_tinymce_custom_config.html.erb
906
930
  - app/views/alchemy/admin/pages/configure.html.erb
907
- - app/views/alchemy/admin/pages/configure_external.html.erb
908
931
  - app/views/alchemy/admin/pages/edit.html.erb
909
932
  - app/views/alchemy/admin/pages/flush.js.erb
910
933
  - app/views/alchemy/admin/pages/fold.js.erb
@@ -955,7 +978,10 @@ files:
955
978
  - app/views/alchemy/admin/resources/index.csv.erb
956
979
  - app/views/alchemy/admin/resources/index.html.erb
957
980
  - app/views/alchemy/admin/resources/new.html.erb
981
+ - app/views/alchemy/admin/sites/_form.html.erb
982
+ - app/views/alchemy/admin/sites/edit.html.erb
958
983
  - app/views/alchemy/admin/sites/index.html.erb
984
+ - app/views/alchemy/admin/sites/new.html.erb
959
985
  - app/views/alchemy/admin/styleguide/index.html.erb
960
986
  - app/views/alchemy/admin/tags/_radio_tag.html.erb
961
987
  - app/views/alchemy/admin/tags/_tag.html.erb
@@ -976,7 +1002,6 @@ files:
976
1002
  - app/views/alchemy/breadcrumb/_page.html.erb
977
1003
  - app/views/alchemy/breadcrumb/_separator.html.erb
978
1004
  - app/views/alchemy/breadcrumb/_wrapper.html.erb
979
- - app/views/alchemy/elements/_editor_not_found.html.erb
980
1005
  - app/views/alchemy/elements/_view_not_found.html.erb
981
1006
  - app/views/alchemy/elements/show.html.erb
982
1007
  - app/views/alchemy/elements/show.js.erb
@@ -990,6 +1015,8 @@ files:
990
1015
  - app/views/alchemy/essences/_essence_html_view.html.erb
991
1016
  - app/views/alchemy/essences/_essence_link_editor.html.erb
992
1017
  - app/views/alchemy/essences/_essence_link_view.html.erb
1018
+ - app/views/alchemy/essences/_essence_node_editor.html.erb
1019
+ - app/views/alchemy/essences/_essence_node_view.html.erb
993
1020
  - app/views/alchemy/essences/_essence_page_editor.html.erb
994
1021
  - app/views/alchemy/essences/_essence_page_view.html.erb
995
1022
  - app/views/alchemy/essences/_essence_picture_editor.html.erb
@@ -1008,9 +1035,6 @@ files:
1008
1035
  - app/views/alchemy/messages_mailer/contact_form_mail.en.text.erb
1009
1036
  - app/views/alchemy/messages_mailer/contact_form_mail.es.text.erb
1010
1037
  - app/views/alchemy/messages_mailer/new.html.erb
1011
- - app/views/alchemy/navigation/_image_link.html.erb
1012
- - app/views/alchemy/navigation/_link.html.erb
1013
- - app/views/alchemy/navigation/_renderer.html.erb
1014
1038
  - app/views/alchemy/pages/_meta_data.html.erb
1015
1039
  - app/views/alchemy/pages/show.html.erb
1016
1040
  - app/views/alchemy/pages/show.rss.builder
@@ -1025,6 +1049,7 @@ files:
1025
1049
  - app/views/kaminari/alchemy/_prev_page.html.erb
1026
1050
  - app/views/layouts/alchemy/admin.html.erb
1027
1051
  - app/views/layouts/alchemy/sitemap.xml.erb
1052
+ - babel.config.js
1028
1053
  - bin/rails
1029
1054
  - bin/rspec
1030
1055
  - config/alchemy/config.yml
@@ -1038,14 +1063,16 @@ files:
1038
1063
  - config/locales/alchemy.en.yml
1039
1064
  - config/routes.rb
1040
1065
  - config/spring.rb
1041
- - db/migrate/20180226123013_alchemy_four_point_zero.rb
1042
- - db/migrate/20180227224537_migrate_tags_to_gutentag.rb
1043
- - db/migrate/20180519204655_add_fixed_to_alchemy_elements.rb
1044
- - db/migrate/20191016073858_create_alchemy_essence_pages.rb
1045
- - db/migrate/20191029212236_create_alchemy_nodes.rb
1046
- - db/migrate/20200226081535_add_site_id_to_alchemy_nodes.rb
1066
+ - db/migrate/20200226213334_alchemy_four_point_four.rb
1067
+ - db/migrate/20200423073425_create_alchemy_essence_nodes.rb
1068
+ - db/migrate/20200504210159_remove_site_id_from_nodes.rb
1069
+ - db/migrate/20200505215518_add_language_id_foreign_key_to_alchemy_pages.rb
1070
+ - db/migrate/20200511113603_add_menu_type_to_alchemy_nodes.rb
1071
+ - db/migrate/20200514091507_make_page_layoutpage_null_false.rb
1072
+ - db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb
1047
1073
  - lib/alchemy/ability_helper.rb
1048
1074
  - lib/alchemy/admin/locale.rb
1075
+ - lib/alchemy/admin/preview_url.rb
1049
1076
  - lib/alchemy/auth_accessors.rb
1050
1077
  - lib/alchemy/cache_digests/template_tracker.rb
1051
1078
  - lib/alchemy/config.rb
@@ -1060,6 +1087,7 @@ files:
1060
1087
  - lib/alchemy/forms/builder.rb
1061
1088
  - lib/alchemy/hints.rb
1062
1089
  - lib/alchemy/i18n.rb
1090
+ - lib/alchemy/install/tasks.rb
1063
1091
  - lib/alchemy/logger.rb
1064
1092
  - lib/alchemy/modules.rb
1065
1093
  - lib/alchemy/name_conversions.rb
@@ -1073,12 +1101,9 @@ files:
1073
1101
  - lib/alchemy/routing_constraints.rb
1074
1102
  - lib/alchemy/seeder.rb
1075
1103
  - lib/alchemy/shell.rb
1076
- - lib/alchemy/ssl_protection.rb
1077
1104
  - lib/alchemy/taggable.rb
1078
- - lib/alchemy/tasks/helpers.rb
1079
1105
  - lib/alchemy/tasks/tidy.rb
1080
1106
  - lib/alchemy/test_support/config_stubbing.rb
1081
- - lib/alchemy/test_support/controller_requests.rb
1082
1107
  - lib/alchemy/test_support/essence_shared_examples.rb
1083
1108
  - lib/alchemy/test_support/factories.rb
1084
1109
  - lib/alchemy/test_support/factories/attachment_factory.rb
@@ -1100,65 +1125,68 @@ files:
1100
1125
  - lib/alchemy/test_support/shared_uploader_examples.rb
1101
1126
  - lib/alchemy/tinymce.rb
1102
1127
  - lib/alchemy/upgrader.rb
1103
- - lib/alchemy/upgrader/four_point_four.rb
1104
- - lib/alchemy/upgrader/four_point_one.rb
1105
- - lib/alchemy/upgrader/four_point_two.rb
1106
- - lib/alchemy/upgrader/tasks/cells_migration.rb
1107
- - lib/alchemy/upgrader/tasks/cells_upgrader.rb
1108
- - lib/alchemy/upgrader/tasks/element_partial_name_variable_updater.rb
1128
+ - lib/alchemy/upgrader/five_point_zero.rb
1109
1129
  - lib/alchemy/upgrader/tasks/element_views_updater.rb
1110
- - lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb
1111
- - lib/alchemy/upgrader/tasks/picture_gallery_migration.rb
1112
- - lib/alchemy/upgrader/tasks/picture_gallery_upgrader.rb
1130
+ - lib/alchemy/upgrader/tasks/harden_gutentag_migrations.rb
1113
1131
  - lib/alchemy/userstamp.rb
1114
1132
  - lib/alchemy/version.rb
1115
1133
  - lib/alchemy_cms.rb
1134
+ - lib/generators/alchemy/base.rb
1135
+ - lib/generators/alchemy/elements/elements_generator.rb
1136
+ - lib/generators/alchemy/elements/templates/view.html.erb
1137
+ - lib/generators/alchemy/elements/templates/view.html.haml
1138
+ - lib/generators/alchemy/elements/templates/view.html.slim
1139
+ - lib/generators/alchemy/essence/essence_generator.rb
1140
+ - lib/generators/alchemy/essence/templates/editor.html.erb
1141
+ - lib/generators/alchemy/essence/templates/view.html.erb
1142
+ - lib/generators/alchemy/install/files/_article.html.erb
1143
+ - lib/generators/alchemy/install/files/_standard.html.erb
1144
+ - lib/generators/alchemy/install/files/alchemy.en.yml
1145
+ - lib/generators/alchemy/install/files/alchemy_admin.js
1146
+ - lib/generators/alchemy/install/files/all.css
1147
+ - lib/generators/alchemy/install/files/all.js
1148
+ - lib/generators/alchemy/install/files/application.html.erb
1149
+ - lib/generators/alchemy/install/files/article.scss
1150
+ - lib/generators/alchemy/install/install_generator.rb
1151
+ - lib/generators/alchemy/install/templates/dragonfly.rb.tt
1152
+ - lib/generators/alchemy/install/templates/elements.yml.tt
1153
+ - lib/generators/alchemy/install/templates/menus.yml.tt
1154
+ - lib/generators/alchemy/install/templates/page_layouts.yml.tt
1155
+ - lib/generators/alchemy/menus/menus_generator.rb
1156
+ - lib/generators/alchemy/menus/templates/node.html.erb
1157
+ - lib/generators/alchemy/menus/templates/node.html.haml
1158
+ - lib/generators/alchemy/menus/templates/node.html.slim
1159
+ - lib/generators/alchemy/menus/templates/wrapper.html.erb
1160
+ - lib/generators/alchemy/menus/templates/wrapper.html.haml
1161
+ - lib/generators/alchemy/menus/templates/wrapper.html.slim
1162
+ - lib/generators/alchemy/module/module_generator.rb
1163
+ - lib/generators/alchemy/module/templates/ability.rb.tt
1164
+ - lib/generators/alchemy/module/templates/controller.rb.tt
1165
+ - lib/generators/alchemy/module/templates/module_config.rb.tt
1166
+ - lib/generators/alchemy/page_layouts/page_layouts_generator.rb
1167
+ - lib/generators/alchemy/page_layouts/templates/layout.html.erb
1168
+ - lib/generators/alchemy/page_layouts/templates/layout.html.haml
1169
+ - lib/generators/alchemy/page_layouts/templates/layout.html.slim
1170
+ - lib/generators/alchemy/site_layouts/site_layouts_generator.rb
1171
+ - lib/generators/alchemy/site_layouts/templates/layout.html.erb
1172
+ - lib/generators/alchemy/site_layouts/templates/layout.html.haml
1173
+ - lib/generators/alchemy/site_layouts/templates/layout.html.slim
1174
+ - lib/generators/alchemy/views/views_generator.rb
1116
1175
  - lib/kaminari/scoped_pagination_url_helper.rb
1117
- - lib/rails/generators/alchemy/base.rb
1118
- - lib/rails/generators/alchemy/elements/elements_generator.rb
1119
- - lib/rails/generators/alchemy/elements/templates/view.html.erb
1120
- - lib/rails/generators/alchemy/elements/templates/view.html.haml
1121
- - lib/rails/generators/alchemy/elements/templates/view.html.slim
1122
- - lib/rails/generators/alchemy/essence/essence_generator.rb
1123
- - lib/rails/generators/alchemy/essence/templates/editor.html.erb
1124
- - lib/rails/generators/alchemy/essence/templates/view.html.erb
1125
- - lib/rails/generators/alchemy/install/files/_article.html.erb
1126
- - lib/rails/generators/alchemy/install/files/_standard.html.erb
1127
- - lib/rails/generators/alchemy/install/files/alchemy.en.yml
1128
- - lib/rails/generators/alchemy/install/files/all.css
1129
- - lib/rails/generators/alchemy/install/files/all.js
1130
- - lib/rails/generators/alchemy/install/files/application.html.erb
1131
- - lib/rails/generators/alchemy/install/files/article.scss
1132
- - lib/rails/generators/alchemy/install/install_generator.rb
1133
- - lib/rails/generators/alchemy/install/templates/dragonfly.rb.tt
1134
- - lib/rails/generators/alchemy/install/templates/elements.yml.tt
1135
- - lib/rails/generators/alchemy/install/templates/menus.yml.tt
1136
- - lib/rails/generators/alchemy/install/templates/page_layouts.yml.tt
1137
- - lib/rails/generators/alchemy/menus/menus_generator.rb
1138
- - lib/rails/generators/alchemy/menus/templates/node.html.erb
1139
- - lib/rails/generators/alchemy/menus/templates/node.html.haml
1140
- - lib/rails/generators/alchemy/menus/templates/node.html.slim
1141
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.erb
1142
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.haml
1143
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.slim
1144
- - lib/rails/generators/alchemy/module/module_generator.rb
1145
- - lib/rails/generators/alchemy/module/templates/ability.rb.tt
1146
- - lib/rails/generators/alchemy/module/templates/controller.rb.tt
1147
- - lib/rails/generators/alchemy/module/templates/module_config.rb.tt
1148
- - lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb
1149
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.erb
1150
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.haml
1151
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.slim
1152
- - lib/rails/generators/alchemy/site_layouts/site_layouts_generator.rb
1153
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.erb
1154
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.haml
1155
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.slim
1156
- - lib/rails/generators/alchemy/views/views_generator.rb
1157
- - lib/tasks/alchemy/convert.rake
1158
1176
  - lib/tasks/alchemy/db.rake
1159
1177
  - lib/tasks/alchemy/install.rake
1160
1178
  - lib/tasks/alchemy/tidy.rake
1161
1179
  - lib/tasks/alchemy/upgrade.rake
1180
+ - package.json
1181
+ - package/admin.js
1182
+ - package/src/__tests__/i18n.spec.js
1183
+ - package/src/i18n.js
1184
+ - package/src/node_tree.js
1185
+ - package/src/translations.js
1186
+ - package/src/utils/__tests__/ajax.spec.js
1187
+ - package/src/utils/__tests__/events.spec.js
1188
+ - package/src/utils/ajax.js
1189
+ - package/src/utils/events.js
1162
1190
  - vendor/assets/fonts/fa-regular-400.eot
1163
1191
  - vendor/assets/fonts/fa-regular-400.svg
1164
1192
  - vendor/assets/fonts/fa-regular-400.ttf
@@ -1182,7 +1210,6 @@ files:
1182
1210
  - vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js
1183
1211
  - vendor/assets/javascripts/keymaster.js
1184
1212
  - vendor/assets/javascripts/requestAnimationFrame.js
1185
- - vendor/assets/javascripts/sortable/Sortable.min.js
1186
1213
  - vendor/assets/javascripts/tinymce/license.txt
1187
1214
  - vendor/assets/javascripts/tinymce/tinymce.min.js
1188
1215
  - vendor/assets/stylesheets/fontawesome/_animated.scss
@@ -1197,9 +1224,9 @@ files:
1197
1224
  - vendor/assets/stylesheets/fontawesome/_screen-reader.scss
1198
1225
  - vendor/assets/stylesheets/fontawesome/_stacked.scss
1199
1226
  - vendor/assets/stylesheets/fontawesome/_variables.scss
1200
- - vendor/assets/stylesheets/fontawesome/fa-regular.scss
1201
- - vendor/assets/stylesheets/fontawesome/fa-solid.scss
1202
1227
  - vendor/assets/stylesheets/fontawesome/fontawesome.scss
1228
+ - vendor/assets/stylesheets/fontawesome/regular.scss
1229
+ - vendor/assets/stylesheets/fontawesome/solid.scss
1203
1230
  - vendor/assets/stylesheets/jquery.Jcrop.min.scss
1204
1231
  homepage: https://alchemy-cms.com
1205
1232
  licenses:
@@ -1236,13 +1263,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1236
1263
  version: 2.3.0
1237
1264
  required_rubygems_version: !ruby/object:Gem::Requirement
1238
1265
  requirements:
1239
- - - ">="
1266
+ - - ">"
1240
1267
  - !ruby/object:Gem::Version
1241
- version: '0'
1268
+ version: 1.3.1
1242
1269
  requirements:
1243
1270
  - ImageMagick (libmagick), v6.6 or greater.
1244
1271
  rubygems_version: 3.0.3
1245
1272
  signing_key:
1246
1273
  specification_version: 4
1247
- summary: A powerful, userfriendly and flexible CMS for Rails 5
1274
+ summary: A powerful, userfriendly and flexible CMS for Rails
1248
1275
  test_files: []
1276
+ ...