alchemy_cms 4.6.0 → 5.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +33 -1
  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 +30 -9
  8. data/CHANGELOG.md +100 -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.page_sorter.js +17 -17
  17. data/app/assets/javascripts/alchemy/node_select.js +39 -0
  18. data/app/assets/javascripts/alchemy/templates/index.js +1 -0
  19. data/app/assets/javascripts/alchemy/templates/node.hbs +16 -0
  20. data/app/assets/stylesheets/alchemy/admin.scss +3 -2
  21. data/app/assets/stylesheets/alchemy/base.scss +0 -1
  22. data/app/assets/stylesheets/alchemy/elements.scss +1 -1
  23. data/app/assets/stylesheets/alchemy/forms.scss +5 -0
  24. data/app/assets/stylesheets/alchemy/navigation.scss +1 -0
  25. data/app/assets/stylesheets/alchemy/node-select.scss +43 -0
  26. data/app/assets/stylesheets/alchemy/nodes.scss +1 -1
  27. data/app/assets/stylesheets/alchemy/sitemap.scss +5 -1
  28. data/app/assets/stylesheets/alchemy/tables.scss +1 -24
  29. data/app/assets/stylesheets/alchemy/tags.scss +2 -2
  30. data/app/controllers/alchemy/admin/attachments_controller.rb +8 -7
  31. data/app/controllers/alchemy/admin/base_controller.rb +13 -33
  32. data/app/controllers/alchemy/admin/clipboard_controller.rb +5 -4
  33. data/app/controllers/alchemy/admin/contents_controller.rb +1 -2
  34. data/app/controllers/alchemy/admin/dashboard_controller.rb +10 -9
  35. data/app/controllers/alchemy/admin/elements_controller.rb +20 -20
  36. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +12 -14
  37. data/app/controllers/alchemy/admin/languages_controller.rb +35 -2
  38. data/app/controllers/alchemy/admin/layoutpages_controller.rb +5 -2
  39. data/app/controllers/alchemy/admin/nodes_controller.rb +5 -4
  40. data/app/controllers/alchemy/admin/pages_controller.rb +50 -62
  41. data/app/controllers/alchemy/admin/pictures_controller.rb +16 -16
  42. data/app/controllers/alchemy/admin/resources_controller.rb +21 -13
  43. data/app/controllers/alchemy/admin/sites_controller.rb +18 -0
  44. data/app/controllers/alchemy/admin/styleguide_controller.rb +1 -0
  45. data/app/controllers/alchemy/admin/tags_controller.rb +5 -3
  46. data/app/controllers/alchemy/admin/trash_controller.rb +6 -6
  47. data/app/controllers/alchemy/api/base_controller.rb +2 -2
  48. data/app/controllers/alchemy/api/contents_controller.rb +4 -4
  49. data/app/controllers/alchemy/api/elements_controller.rb +8 -8
  50. data/app/controllers/alchemy/api/nodes_controller.rb +37 -1
  51. data/app/controllers/alchemy/api/pages_controller.rb +14 -23
  52. data/app/controllers/alchemy/attachments_controller.rb +5 -5
  53. data/app/controllers/alchemy/base_controller.rb +10 -9
  54. data/app/controllers/alchemy/messages_controller.rb +16 -23
  55. data/app/controllers/alchemy/pages_controller.rb +13 -11
  56. data/app/controllers/concerns/alchemy/admin/archive_overlay.rb +3 -2
  57. data/app/controllers/concerns/alchemy/admin/current_language.rb +23 -0
  58. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +5 -5
  59. data/app/controllers/concerns/alchemy/legacy_page_redirects.rb +4 -4
  60. data/app/controllers/concerns/alchemy/page_redirects.rb +2 -9
  61. data/app/controllers/concerns/alchemy/site_redirects.rb +2 -2
  62. data/app/decorators/alchemy/element_editor.rb +39 -0
  63. data/app/helpers/alchemy/admin/attachments_helper.rb +6 -6
  64. data/app/helpers/alchemy/admin/base_helper.rb +36 -35
  65. data/app/helpers/alchemy/admin/contents_helper.rb +3 -3
  66. data/app/helpers/alchemy/admin/elements_helper.rb +3 -88
  67. data/app/helpers/alchemy/admin/essences_helper.rb +8 -117
  68. data/app/helpers/alchemy/admin/form_helper.rb +1 -1
  69. data/app/helpers/alchemy/admin/navigation_helper.rb +24 -23
  70. data/app/helpers/alchemy/admin/pages_helper.rb +4 -4
  71. data/app/helpers/alchemy/admin/pictures_helper.rb +4 -6
  72. data/app/helpers/alchemy/admin/tags_helper.rb +8 -7
  73. data/app/helpers/alchemy/base_helper.rb +13 -8
  74. data/app/helpers/alchemy/elements_block_helper.rb +2 -31
  75. data/app/helpers/alchemy/elements_helper.rb +12 -58
  76. data/app/helpers/alchemy/pages_helper.rb +24 -174
  77. data/app/helpers/alchemy/url_helper.rb +2 -1
  78. data/app/mailers/alchemy/base_mailer.rb +1 -1
  79. data/app/mailers/alchemy/messages_mailer.rb +1 -1
  80. data/app/models/alchemy/attachment.rb +20 -18
  81. data/app/models/alchemy/base_record.rb +2 -5
  82. data/app/models/alchemy/content.rb +33 -38
  83. data/app/models/alchemy/content/factory.rb +24 -31
  84. data/app/models/alchemy/element.rb +45 -53
  85. data/app/models/alchemy/element/definitions.rb +4 -4
  86. data/app/models/alchemy/element/element_contents.rb +9 -6
  87. data/app/models/alchemy/element/element_essences.rb +4 -3
  88. data/app/models/alchemy/element/presenters.rb +3 -2
  89. data/app/models/alchemy/element_to_page.rb +1 -1
  90. data/app/models/alchemy/essence_boolean.rb +1 -3
  91. data/app/models/alchemy/essence_date.rb +2 -3
  92. data/app/models/alchemy/essence_file.rb +4 -4
  93. data/app/models/alchemy/essence_html.rb +1 -3
  94. data/app/models/alchemy/essence_link.rb +1 -3
  95. data/app/models/alchemy/essence_node.rb +18 -0
  96. data/app/models/alchemy/essence_page.rb +3 -16
  97. data/app/models/alchemy/essence_picture.rb +17 -16
  98. data/app/models/alchemy/essence_picture_view.rb +7 -6
  99. data/app/models/alchemy/essence_richtext.rb +1 -3
  100. data/app/models/alchemy/essence_select.rb +1 -3
  101. data/app/models/alchemy/essence_text.rb +0 -2
  102. data/app/models/alchemy/folded_page.rb +1 -0
  103. data/app/models/alchemy/language.rb +21 -35
  104. data/app/models/alchemy/language/code.rb +4 -4
  105. data/app/models/alchemy/legacy_page_url.rb +1 -1
  106. data/app/models/alchemy/message.rb +3 -3
  107. data/app/models/alchemy/node.rb +27 -4
  108. data/app/models/alchemy/page.rb +46 -127
  109. data/app/models/alchemy/page/fixed_attributes.rb +3 -2
  110. data/app/models/alchemy/page/page_elements.rb +35 -44
  111. data/app/models/alchemy/page/page_naming.rb +20 -70
  112. data/app/models/alchemy/page/page_natures.rb +7 -34
  113. data/app/models/alchemy/page/page_scopes.rb +23 -29
  114. data/app/models/alchemy/page/url_path.rb +0 -2
  115. data/app/models/alchemy/picture.rb +40 -30
  116. data/app/models/alchemy/picture/preprocessor.rb +26 -0
  117. data/app/models/alchemy/picture/transformations.rb +9 -7
  118. data/app/models/alchemy/picture/url.rb +5 -5
  119. data/app/models/alchemy/site.rb +6 -36
  120. data/app/models/alchemy/site/layout.rb +2 -2
  121. data/app/models/concerns/alchemy/touch_elements.rb +24 -0
  122. data/app/serializers/alchemy/content_serializer.rb +0 -3
  123. data/app/serializers/alchemy/essence_boolean_serializer.rb +3 -3
  124. data/app/serializers/alchemy/essence_date_serializer.rb +3 -3
  125. data/app/serializers/alchemy/essence_file_serializer.rb +4 -2
  126. data/app/serializers/alchemy/essence_html_serializer.rb +3 -3
  127. data/app/serializers/alchemy/essence_link_serializer.rb +3 -3
  128. data/app/serializers/alchemy/essence_picture_serializer.rb +5 -4
  129. data/app/serializers/alchemy/essence_richtext_serializer.rb +3 -3
  130. data/app/serializers/alchemy/essence_select_serializer.rb +3 -3
  131. data/app/serializers/alchemy/essence_text_serializer.rb +5 -4
  132. data/app/serializers/alchemy/node_serializer.rb +2 -0
  133. data/app/serializers/alchemy/page_tree_serializer.rb +9 -13
  134. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -2
  135. data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +1 -2
  136. data/app/views/alchemy/admin/attachments/_files_list.html.erb +4 -4
  137. data/app/views/alchemy/admin/contents/create.js.erb +1 -3
  138. data/app/views/alchemy/admin/elements/_element.html.erb +9 -18
  139. data/app/views/alchemy/admin/elements/create.js.erb +1 -1
  140. data/app/views/alchemy/admin/elements/fold.js.erb +1 -1
  141. data/app/views/alchemy/admin/elements/index.html.erb +3 -3
  142. data/app/views/alchemy/admin/essence_files/assign.js.erb +1 -6
  143. data/app/views/alchemy/admin/essence_files/edit.html.erb +1 -1
  144. data/app/views/alchemy/admin/essence_pictures/assign.js.erb +1 -7
  145. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +1 -1
  146. data/app/views/alchemy/admin/essence_pictures/edit.html.erb +7 -7
  147. data/app/views/alchemy/admin/essence_pictures/update.js.erb +1 -1
  148. data/app/views/alchemy/admin/languages/_form.html.erb +5 -5
  149. data/app/views/alchemy/admin/languages/_table.html.erb +3 -3
  150. data/app/views/alchemy/admin/languages/edit.html.erb +1 -0
  151. data/app/views/alchemy/admin/languages/index.html.erb +23 -4
  152. data/app/views/alchemy/admin/languages/new.html.erb +1 -0
  153. data/app/views/alchemy/admin/layoutpages/index.html.erb +3 -3
  154. data/app/views/alchemy/admin/nodes/_form.html.erb +18 -15
  155. data/app/views/alchemy/admin/nodes/_node.html.erb +1 -5
  156. data/app/views/alchemy/admin/nodes/index.html.erb +3 -4
  157. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +0 -8
  158. data/app/views/alchemy/admin/pages/_form.html.erb +0 -1
  159. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -0
  160. data/app/views/alchemy/admin/pages/_page.html.erb +11 -19
  161. data/app/views/alchemy/admin/pages/_page_infos.html.erb +0 -4
  162. data/app/views/alchemy/admin/pages/edit.html.erb +1 -1
  163. data/app/views/alchemy/admin/pages/info.html.erb +0 -9
  164. data/app/views/alchemy/admin/pages/unlock.js.erb +13 -6
  165. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +0 -2
  166. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +1 -5
  167. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +1 -1
  168. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +1 -2
  169. data/app/views/alchemy/admin/pictures/index.html.erb +18 -3
  170. data/app/views/alchemy/admin/resources/_resource.html.erb +1 -1
  171. data/app/views/alchemy/admin/resources/_table.html.erb +2 -2
  172. data/app/views/alchemy/admin/sites/_form.html.erb +8 -0
  173. data/app/views/alchemy/admin/sites/edit.html.erb +1 -0
  174. data/app/views/alchemy/admin/sites/index.html.erb +21 -9
  175. data/app/views/alchemy/admin/sites/new.html.erb +1 -0
  176. data/app/views/alchemy/admin/tags/index.html.erb +2 -2
  177. data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +10 -12
  178. data/app/views/alchemy/essences/_essence_date_editor.html.erb +11 -8
  179. data/app/views/alchemy/essences/_essence_file_editor.html.erb +16 -17
  180. data/app/views/alchemy/essences/_essence_html_editor.html.erb +8 -5
  181. data/app/views/alchemy/essences/_essence_link_editor.html.erb +18 -15
  182. data/app/views/alchemy/essences/_essence_node_editor.html.erb +27 -0
  183. data/app/views/alchemy/essences/_essence_node_view.html.erb +1 -0
  184. data/app/views/alchemy/essences/_essence_page_editor.html.erb +14 -11
  185. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +22 -20
  186. data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +10 -7
  187. data/app/views/alchemy/essences/_essence_select_editor.html.erb +12 -16
  188. data/app/views/alchemy/essences/_essence_text_editor.html.erb +18 -17
  189. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +6 -11
  190. data/app/views/alchemy/pages/show.rss.builder +3 -2
  191. data/app/views/layouts/alchemy/admin.html.erb +1 -0
  192. data/babel.config.js +12 -0
  193. data/bin/rails +5 -4
  194. data/config/alchemy/config.yml +23 -16
  195. data/config/brakeman.ignore +1 -1
  196. data/config/initializers/assets.rb +2 -1
  197. data/config/initializers/dragonfly.rb +2 -1
  198. data/config/initializers/mime_types.rb +1 -0
  199. data/config/initializers/mini_profiler.rb +3 -2
  200. data/config/initializers/simple_form.rb +6 -6
  201. data/config/locales/alchemy.en.yml +23 -8
  202. data/config/routes.rb +25 -24
  203. data/config/spring.rb +3 -2
  204. data/db/migrate/20200226213334_alchemy_four_point_four.rb +313 -0
  205. data/db/migrate/20200423073425_create_alchemy_essence_nodes.rb +11 -0
  206. data/db/migrate/20200504210159_remove_site_id_from_nodes.rb +28 -0
  207. data/db/migrate/20200505215518_add_language_id_foreign_key_to_alchemy_pages.rb +8 -0
  208. data/db/migrate/20200511113603_add_menu_type_to_alchemy_nodes.rb +27 -0
  209. data/db/migrate/20200514091507_make_page_layoutpage_null_false.rb +6 -0
  210. data/db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb +24 -0
  211. data/lib/alchemy/admin/locale.rb +3 -1
  212. data/lib/alchemy/admin/preview_url.rb +85 -0
  213. data/lib/alchemy/auth_accessors.rb +8 -7
  214. data/lib/alchemy/cache_digests/template_tracker.rb +5 -4
  215. data/lib/alchemy/config.rb +3 -5
  216. data/lib/alchemy/configuration_methods.rb +3 -1
  217. data/lib/alchemy/controller_actions.rb +6 -5
  218. data/lib/alchemy/deprecation.rb +2 -1
  219. data/lib/alchemy/elements_finder.rb +5 -5
  220. data/lib/alchemy/engine.rb +23 -8
  221. data/lib/alchemy/errors.rb +0 -7
  222. data/lib/alchemy/essence.rb +17 -16
  223. data/lib/alchemy/filetypes.rb +5 -5
  224. data/lib/alchemy/forms/builder.rb +4 -4
  225. data/lib/alchemy/hints.rb +1 -1
  226. data/lib/alchemy/i18n.rb +2 -1
  227. data/lib/alchemy/install/tasks.rb +41 -0
  228. data/lib/alchemy/modules.rb +12 -12
  229. data/lib/alchemy/name_conversions.rb +5 -5
  230. data/lib/alchemy/on_page_layout/callbacks_runner.rb +1 -0
  231. data/lib/alchemy/page_layout.rb +15 -12
  232. data/lib/alchemy/paths.rb +1 -1
  233. data/lib/alchemy/permissions.rb +7 -6
  234. data/lib/alchemy/resource.rb +25 -15
  235. data/lib/alchemy/resources_helper.rb +12 -18
  236. data/lib/alchemy/routing_constraints.rb +1 -1
  237. data/lib/alchemy/seeder.rb +42 -14
  238. data/lib/alchemy/shell.rb +13 -10
  239. data/lib/alchemy/taggable.rb +1 -0
  240. data/lib/alchemy/tasks/tidy.rb +4 -3
  241. data/lib/alchemy/test_support/config_stubbing.rb +1 -0
  242. data/lib/alchemy/test_support/essence_shared_examples.rb +72 -72
  243. data/lib/alchemy/test_support/factories.rb +1 -1
  244. data/lib/alchemy/test_support/factories/attachment_factory.rb +5 -5
  245. data/lib/alchemy/test_support/factories/content_factory.rb +6 -6
  246. data/lib/alchemy/test_support/factories/dummy_user_factory.rb +7 -7
  247. data/lib/alchemy/test_support/factories/element_factory.rb +9 -9
  248. data/lib/alchemy/test_support/factories/essence_file_factory.rb +3 -3
  249. data/lib/alchemy/test_support/factories/essence_page_factory.rb +3 -3
  250. data/lib/alchemy/test_support/factories/essence_picture_factory.rb +4 -4
  251. data/lib/alchemy/test_support/factories/essence_text_factory.rb +3 -3
  252. data/lib/alchemy/test_support/factories/language_factory.rb +21 -14
  253. data/lib/alchemy/test_support/factories/node_factory.rb +8 -8
  254. data/lib/alchemy/test_support/factories/page_factory.rb +15 -27
  255. data/lib/alchemy/test_support/factories/picture_factory.rb +5 -5
  256. data/lib/alchemy/test_support/factories/site_factory.rb +7 -6
  257. data/lib/alchemy/test_support/integration_helpers.rb +1 -0
  258. data/lib/alchemy/test_support/shared_contexts.rb +5 -4
  259. data/lib/alchemy/test_support/shared_uploader_examples.rb +4 -3
  260. data/lib/alchemy/tinymce.rb +15 -13
  261. data/lib/alchemy/upgrader.rb +8 -7
  262. data/lib/alchemy/upgrader/five_point_zero.rb +41 -0
  263. data/lib/alchemy/upgrader/tasks/element_views_updater.rb +4 -4
  264. data/lib/alchemy/upgrader/tasks/harden_gutentag_migrations.rb +29 -0
  265. data/lib/alchemy/version.rb +1 -1
  266. data/lib/alchemy_cms.rb +52 -50
  267. data/lib/{rails/generators → generators}/alchemy/base.rb +5 -4
  268. data/lib/{rails/generators → generators}/alchemy/elements/elements_generator.rb +13 -9
  269. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.erb +0 -0
  270. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.haml +0 -0
  271. data/lib/{rails/generators → generators}/alchemy/elements/templates/view.html.slim +0 -0
  272. data/lib/{rails/generators → generators}/alchemy/essence/essence_generator.rb +15 -13
  273. data/lib/generators/alchemy/essence/templates/editor.html.erb +17 -0
  274. data/lib/{rails/generators → generators}/alchemy/essence/templates/view.html.erb +0 -0
  275. data/lib/{rails/generators → generators}/alchemy/install/files/_article.html.erb +0 -0
  276. data/lib/{rails/generators → generators}/alchemy/install/files/_standard.html.erb +0 -0
  277. data/lib/{rails/generators → generators}/alchemy/install/files/alchemy.en.yml +0 -0
  278. data/lib/generators/alchemy/install/files/alchemy_admin.js +1 -0
  279. data/lib/{rails/generators → generators}/alchemy/install/files/all.css +0 -0
  280. data/lib/{rails/generators → generators}/alchemy/install/files/all.js +0 -0
  281. data/lib/{rails/generators → generators}/alchemy/install/files/application.html.erb +0 -0
  282. data/lib/{rails/generators → generators}/alchemy/install/files/article.scss +0 -0
  283. data/lib/generators/alchemy/install/install_generator.rb +169 -0
  284. data/lib/{rails/generators → generators}/alchemy/install/templates/dragonfly.rb.tt +0 -0
  285. data/lib/{rails/generators → generators}/alchemy/install/templates/elements.yml.tt +0 -0
  286. data/lib/{rails/generators → generators}/alchemy/install/templates/menus.yml.tt +0 -0
  287. data/lib/{rails/generators → generators}/alchemy/install/templates/page_layouts.yml.tt +0 -0
  288. data/lib/{rails/generators → generators}/alchemy/menus/menus_generator.rb +2 -2
  289. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.erb +1 -4
  290. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.haml +1 -4
  291. data/lib/{rails/generators → generators}/alchemy/menus/templates/node.html.slim +1 -4
  292. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.erb +1 -1
  293. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.haml +1 -1
  294. data/lib/{rails/generators → generators}/alchemy/menus/templates/wrapper.html.slim +1 -1
  295. data/lib/{rails/generators → generators}/alchemy/module/module_generator.rb +3 -2
  296. data/lib/{rails/generators → generators}/alchemy/module/templates/ability.rb.tt +0 -0
  297. data/lib/{rails/generators → generators}/alchemy/module/templates/controller.rb.tt +0 -0
  298. data/lib/{rails/generators → generators}/alchemy/module/templates/module_config.rb.tt +0 -0
  299. data/lib/{rails/generators → generators}/alchemy/page_layouts/page_layouts_generator.rb +5 -4
  300. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.erb +0 -0
  301. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.haml +0 -0
  302. data/lib/{rails/generators → generators}/alchemy/page_layouts/templates/layout.html.slim +0 -0
  303. data/lib/{rails/generators → generators}/alchemy/site_layouts/site_layouts_generator.rb +4 -2
  304. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.erb +0 -0
  305. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.haml +0 -0
  306. data/lib/{rails/generators → generators}/alchemy/site_layouts/templates/layout.html.slim +0 -0
  307. data/lib/{rails/generators → generators}/alchemy/views/views_generator.rb +7 -6
  308. data/lib/kaminari/scoped_pagination_url_helper.rb +1 -0
  309. data/lib/tasks/alchemy/db.rake +3 -19
  310. data/lib/tasks/alchemy/install.rake +5 -48
  311. data/lib/tasks/alchemy/tidy.rake +9 -8
  312. data/lib/tasks/alchemy/upgrade.rake +18 -116
  313. data/package.json +45 -0
  314. data/package/admin.js +14 -0
  315. data/package/src/__tests__/i18n.spec.js +70 -0
  316. data/package/src/i18n.js +48 -0
  317. data/package/src/node_tree.js +72 -0
  318. data/package/src/translations.js +32 -0
  319. data/package/src/utils/__tests__/ajax.spec.js +124 -0
  320. data/package/src/utils/__tests__/events.spec.js +38 -0
  321. data/package/src/utils/ajax.js +48 -0
  322. data/package/src/utils/events.js +16 -0
  323. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  324. data/vendor/assets/fonts/fa-regular-400.svg +798 -358
  325. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  326. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  327. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  328. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  329. data/vendor/assets/fonts/fa-solid-900.svg +4933 -1408
  330. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  331. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  332. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  333. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js +1 -2
  334. data/vendor/assets/stylesheets/fontawesome/_core.scss +5 -0
  335. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +1 -1
  336. data/vendor/assets/stylesheets/fontawesome/_icons.scss +651 -2
  337. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +0 -1
  338. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +3 -2
  339. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +1 -1
  340. data/vendor/assets/stylesheets/fontawesome/_variables.scss +662 -9
  341. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +2 -2
  342. data/vendor/assets/stylesheets/fontawesome/regular.scss +23 -0
  343. data/vendor/assets/stylesheets/fontawesome/solid.scss +24 -0
  344. metadata +114 -90
  345. data/app/assets/javascripts/alchemy/alchemy.i18n.js.coffee +0 -32
  346. data/app/assets/javascripts/alchemy/alchemy.node_tree.js +0 -66
  347. data/app/assets/javascripts/alchemy/alchemy.translations.js.coffee +0 -29
  348. data/app/assets/javascripts/alchemy/alchemy.utils.js +0 -45
  349. data/app/helpers/alchemy/essences_helper.rb +0 -119
  350. data/app/models/concerns/alchemy/content_touching.rb +0 -23
  351. data/app/serializers/alchemy/legacy_element_serializer.rb +0 -15
  352. data/app/views/alchemy/admin/contents/_missing.html.erb +0 -17
  353. data/app/views/alchemy/admin/pages/_menu_fields.html.erb +0 -37
  354. data/app/views/alchemy/admin/pages/configure_external.html.erb +0 -32
  355. data/app/views/alchemy/elements/_editor_not_found.html.erb +0 -4
  356. data/app/views/alchemy/navigation/_image_link.html.erb +0 -14
  357. data/app/views/alchemy/navigation/_link.html.erb +0 -19
  358. data/app/views/alchemy/navigation/_renderer.html.erb +0 -29
  359. data/db/migrate/20180226123013_alchemy_four_point_zero.rb +0 -363
  360. data/db/migrate/20180227224537_migrate_tags_to_gutentag.rb +0 -41
  361. data/db/migrate/20180519204655_add_fixed_to_alchemy_elements.rb +0 -6
  362. data/db/migrate/20191016073858_create_alchemy_essence_pages.rb +0 -8
  363. data/db/migrate/20191029212236_create_alchemy_nodes.rb +0 -24
  364. data/db/migrate/20200226081535_add_site_id_to_alchemy_nodes.rb +0 -15
  365. data/lib/alchemy/ssl_protection.rb +0 -34
  366. data/lib/alchemy/tasks/helpers.rb +0 -81
  367. data/lib/alchemy/test_support/controller_requests.rb +0 -93
  368. data/lib/alchemy/upgrader/four_point_four.rb +0 -52
  369. data/lib/alchemy/upgrader/four_point_one.rb +0 -42
  370. data/lib/alchemy/upgrader/four_point_six.rb +0 -50
  371. data/lib/alchemy/upgrader/four_point_two.rb +0 -85
  372. data/lib/alchemy/upgrader/tasks/cells_migration.rb +0 -43
  373. data/lib/alchemy/upgrader/tasks/cells_upgrader.rb +0 -148
  374. data/lib/alchemy/upgrader/tasks/element_partial_name_variable_updater.rb +0 -28
  375. data/lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb +0 -27
  376. data/lib/alchemy/upgrader/tasks/picture_gallery_migration.rb +0 -65
  377. data/lib/alchemy/upgrader/tasks/picture_gallery_upgrader.rb +0 -210
  378. data/lib/rails/generators/alchemy/essence/templates/editor.html.erb +0 -15
  379. data/lib/rails/generators/alchemy/install/install_generator.rb +0 -60
  380. data/lib/tasks/alchemy/convert.rake +0 -97
  381. data/vendor/assets/javascripts/sortable/Sortable.min.js +0 -2
  382. data/vendor/assets/stylesheets/fontawesome/fa-regular.scss +0 -22
  383. 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.6.0
4
+ version: 5.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -10,10 +10,10 @@ authors:
10
10
  - Hendrik Mans
11
11
  - Carsten Fregin
12
12
  - Martin Meyerhoff
13
- autorequire:
13
+ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2020-06-04 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,12 +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
742
763
  - app/decorators/alchemy/content_editor.rb
764
+ - app/decorators/alchemy/element_editor.rb
743
765
  - app/helpers/alchemy/admin/attachments_helper.rb
744
766
  - app/helpers/alchemy/admin/base_helper.rb
745
767
  - app/helpers/alchemy/admin/contents_helper.rb
@@ -753,7 +775,6 @@ files:
753
775
  - app/helpers/alchemy/base_helper.rb
754
776
  - app/helpers/alchemy/elements_block_helper.rb
755
777
  - app/helpers/alchemy/elements_helper.rb
756
- - app/helpers/alchemy/essences_helper.rb
757
778
  - app/helpers/alchemy/pages_helper.rb
758
779
  - app/helpers/alchemy/url_helper.rb
759
780
  - app/mailers/alchemy/base_mailer.rb
@@ -773,6 +794,7 @@ files:
773
794
  - app/models/alchemy/essence_file.rb
774
795
  - app/models/alchemy/essence_html.rb
775
796
  - app/models/alchemy/essence_link.rb
797
+ - app/models/alchemy/essence_node.rb
776
798
  - app/models/alchemy/essence_page.rb
777
799
  - app/models/alchemy/essence_picture.rb
778
800
  - app/models/alchemy/essence_picture_view.rb
@@ -793,13 +815,14 @@ files:
793
815
  - app/models/alchemy/page/page_scopes.rb
794
816
  - app/models/alchemy/page/url_path.rb
795
817
  - app/models/alchemy/picture.rb
818
+ - app/models/alchemy/picture/preprocessor.rb
796
819
  - app/models/alchemy/picture/transformations.rb
797
820
  - app/models/alchemy/picture/url.rb
798
821
  - app/models/alchemy/site.rb
799
822
  - app/models/alchemy/site/layout.rb
800
823
  - app/models/alchemy/tag.rb
801
824
  - app/models/alchemy/tree_node.rb
802
- - app/models/concerns/alchemy/content_touching.rb
825
+ - app/models/concerns/alchemy/touch_elements.rb
803
826
  - app/serializers/alchemy/attachment_serializer.rb
804
827
  - app/serializers/alchemy/base_serializer.rb
805
828
  - app/serializers/alchemy/content_serializer.rb
@@ -813,7 +836,6 @@ files:
813
836
  - app/serializers/alchemy/essence_richtext_serializer.rb
814
837
  - app/serializers/alchemy/essence_select_serializer.rb
815
838
  - app/serializers/alchemy/essence_text_serializer.rb
816
- - app/serializers/alchemy/legacy_element_serializer.rb
817
839
  - app/serializers/alchemy/node_serializer.rb
818
840
  - app/serializers/alchemy/page_serializer.rb
819
841
  - app/serializers/alchemy/page_tree_serializer.rb
@@ -838,7 +860,6 @@ files:
838
860
  - app/views/alchemy/admin/clipboard/index.html.erb
839
861
  - app/views/alchemy/admin/clipboard/insert.js.erb
840
862
  - app/views/alchemy/admin/clipboard/remove.js.erb
841
- - app/views/alchemy/admin/contents/_missing.html.erb
842
863
  - app/views/alchemy/admin/contents/create.js.erb
843
864
  - app/views/alchemy/admin/dashboard/_locked_pages.html.erb
844
865
  - app/views/alchemy/admin/dashboard/_recent_pages.html.erb
@@ -871,7 +892,9 @@ files:
871
892
  - app/views/alchemy/admin/languages/_form.html.erb
872
893
  - app/views/alchemy/admin/languages/_language.html.erb
873
894
  - app/views/alchemy/admin/languages/_table.html.erb
895
+ - app/views/alchemy/admin/languages/edit.html.erb
874
896
  - app/views/alchemy/admin/languages/index.html.erb
897
+ - app/views/alchemy/admin/languages/new.html.erb
875
898
  - app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
876
899
  - app/views/alchemy/admin/layoutpages/edit.html.erb
877
900
  - app/views/alchemy/admin/layoutpages/index.html.erb
@@ -897,7 +920,6 @@ files:
897
920
  - app/views/alchemy/admin/pages/_internal_link.html.erb
898
921
  - app/views/alchemy/admin/pages/_legacy_urls.html.erb
899
922
  - app/views/alchemy/admin/pages/_locked_page.html.erb
900
- - app/views/alchemy/admin/pages/_menu_fields.html.erb
901
923
  - app/views/alchemy/admin/pages/_new_page_form.html.erb
902
924
  - app/views/alchemy/admin/pages/_page.html.erb
903
925
  - app/views/alchemy/admin/pages/_page_infos.html.erb
@@ -906,7 +928,6 @@ files:
906
928
  - app/views/alchemy/admin/pages/_sitemap.html.erb
907
929
  - app/views/alchemy/admin/pages/_tinymce_custom_config.html.erb
908
930
  - app/views/alchemy/admin/pages/configure.html.erb
909
- - app/views/alchemy/admin/pages/configure_external.html.erb
910
931
  - app/views/alchemy/admin/pages/edit.html.erb
911
932
  - app/views/alchemy/admin/pages/flush.js.erb
912
933
  - app/views/alchemy/admin/pages/fold.js.erb
@@ -957,7 +978,10 @@ files:
957
978
  - app/views/alchemy/admin/resources/index.csv.erb
958
979
  - app/views/alchemy/admin/resources/index.html.erb
959
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
960
983
  - app/views/alchemy/admin/sites/index.html.erb
984
+ - app/views/alchemy/admin/sites/new.html.erb
961
985
  - app/views/alchemy/admin/styleguide/index.html.erb
962
986
  - app/views/alchemy/admin/tags/_radio_tag.html.erb
963
987
  - app/views/alchemy/admin/tags/_tag.html.erb
@@ -978,7 +1002,6 @@ files:
978
1002
  - app/views/alchemy/breadcrumb/_page.html.erb
979
1003
  - app/views/alchemy/breadcrumb/_separator.html.erb
980
1004
  - app/views/alchemy/breadcrumb/_wrapper.html.erb
981
- - app/views/alchemy/elements/_editor_not_found.html.erb
982
1005
  - app/views/alchemy/elements/_view_not_found.html.erb
983
1006
  - app/views/alchemy/elements/show.html.erb
984
1007
  - app/views/alchemy/elements/show.js.erb
@@ -992,6 +1015,8 @@ files:
992
1015
  - app/views/alchemy/essences/_essence_html_view.html.erb
993
1016
  - app/views/alchemy/essences/_essence_link_editor.html.erb
994
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
995
1020
  - app/views/alchemy/essences/_essence_page_editor.html.erb
996
1021
  - app/views/alchemy/essences/_essence_page_view.html.erb
997
1022
  - app/views/alchemy/essences/_essence_picture_editor.html.erb
@@ -1010,9 +1035,6 @@ files:
1010
1035
  - app/views/alchemy/messages_mailer/contact_form_mail.en.text.erb
1011
1036
  - app/views/alchemy/messages_mailer/contact_form_mail.es.text.erb
1012
1037
  - app/views/alchemy/messages_mailer/new.html.erb
1013
- - app/views/alchemy/navigation/_image_link.html.erb
1014
- - app/views/alchemy/navigation/_link.html.erb
1015
- - app/views/alchemy/navigation/_renderer.html.erb
1016
1038
  - app/views/alchemy/pages/_meta_data.html.erb
1017
1039
  - app/views/alchemy/pages/show.html.erb
1018
1040
  - app/views/alchemy/pages/show.rss.builder
@@ -1027,6 +1049,7 @@ files:
1027
1049
  - app/views/kaminari/alchemy/_prev_page.html.erb
1028
1050
  - app/views/layouts/alchemy/admin.html.erb
1029
1051
  - app/views/layouts/alchemy/sitemap.xml.erb
1052
+ - babel.config.js
1030
1053
  - bin/rails
1031
1054
  - bin/rspec
1032
1055
  - config/alchemy/config.yml
@@ -1040,14 +1063,16 @@ files:
1040
1063
  - config/locales/alchemy.en.yml
1041
1064
  - config/routes.rb
1042
1065
  - config/spring.rb
1043
- - db/migrate/20180226123013_alchemy_four_point_zero.rb
1044
- - db/migrate/20180227224537_migrate_tags_to_gutentag.rb
1045
- - db/migrate/20180519204655_add_fixed_to_alchemy_elements.rb
1046
- - db/migrate/20191016073858_create_alchemy_essence_pages.rb
1047
- - db/migrate/20191029212236_create_alchemy_nodes.rb
1048
- - 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
1049
1073
  - lib/alchemy/ability_helper.rb
1050
1074
  - lib/alchemy/admin/locale.rb
1075
+ - lib/alchemy/admin/preview_url.rb
1051
1076
  - lib/alchemy/auth_accessors.rb
1052
1077
  - lib/alchemy/cache_digests/template_tracker.rb
1053
1078
  - lib/alchemy/config.rb
@@ -1062,6 +1087,7 @@ files:
1062
1087
  - lib/alchemy/forms/builder.rb
1063
1088
  - lib/alchemy/hints.rb
1064
1089
  - lib/alchemy/i18n.rb
1090
+ - lib/alchemy/install/tasks.rb
1065
1091
  - lib/alchemy/logger.rb
1066
1092
  - lib/alchemy/modules.rb
1067
1093
  - lib/alchemy/name_conversions.rb
@@ -1075,12 +1101,9 @@ files:
1075
1101
  - lib/alchemy/routing_constraints.rb
1076
1102
  - lib/alchemy/seeder.rb
1077
1103
  - lib/alchemy/shell.rb
1078
- - lib/alchemy/ssl_protection.rb
1079
1104
  - lib/alchemy/taggable.rb
1080
- - lib/alchemy/tasks/helpers.rb
1081
1105
  - lib/alchemy/tasks/tidy.rb
1082
1106
  - lib/alchemy/test_support/config_stubbing.rb
1083
- - lib/alchemy/test_support/controller_requests.rb
1084
1107
  - lib/alchemy/test_support/essence_shared_examples.rb
1085
1108
  - lib/alchemy/test_support/factories.rb
1086
1109
  - lib/alchemy/test_support/factories/attachment_factory.rb
@@ -1102,66 +1125,68 @@ files:
1102
1125
  - lib/alchemy/test_support/shared_uploader_examples.rb
1103
1126
  - lib/alchemy/tinymce.rb
1104
1127
  - lib/alchemy/upgrader.rb
1105
- - lib/alchemy/upgrader/four_point_four.rb
1106
- - lib/alchemy/upgrader/four_point_one.rb
1107
- - lib/alchemy/upgrader/four_point_six.rb
1108
- - lib/alchemy/upgrader/four_point_two.rb
1109
- - lib/alchemy/upgrader/tasks/cells_migration.rb
1110
- - lib/alchemy/upgrader/tasks/cells_upgrader.rb
1111
- - lib/alchemy/upgrader/tasks/element_partial_name_variable_updater.rb
1128
+ - lib/alchemy/upgrader/five_point_zero.rb
1112
1129
  - lib/alchemy/upgrader/tasks/element_views_updater.rb
1113
- - lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb
1114
- - lib/alchemy/upgrader/tasks/picture_gallery_migration.rb
1115
- - lib/alchemy/upgrader/tasks/picture_gallery_upgrader.rb
1130
+ - lib/alchemy/upgrader/tasks/harden_gutentag_migrations.rb
1116
1131
  - lib/alchemy/userstamp.rb
1117
1132
  - lib/alchemy/version.rb
1118
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
1119
1175
  - lib/kaminari/scoped_pagination_url_helper.rb
1120
- - lib/rails/generators/alchemy/base.rb
1121
- - lib/rails/generators/alchemy/elements/elements_generator.rb
1122
- - lib/rails/generators/alchemy/elements/templates/view.html.erb
1123
- - lib/rails/generators/alchemy/elements/templates/view.html.haml
1124
- - lib/rails/generators/alchemy/elements/templates/view.html.slim
1125
- - lib/rails/generators/alchemy/essence/essence_generator.rb
1126
- - lib/rails/generators/alchemy/essence/templates/editor.html.erb
1127
- - lib/rails/generators/alchemy/essence/templates/view.html.erb
1128
- - lib/rails/generators/alchemy/install/files/_article.html.erb
1129
- - lib/rails/generators/alchemy/install/files/_standard.html.erb
1130
- - lib/rails/generators/alchemy/install/files/alchemy.en.yml
1131
- - lib/rails/generators/alchemy/install/files/all.css
1132
- - lib/rails/generators/alchemy/install/files/all.js
1133
- - lib/rails/generators/alchemy/install/files/application.html.erb
1134
- - lib/rails/generators/alchemy/install/files/article.scss
1135
- - lib/rails/generators/alchemy/install/install_generator.rb
1136
- - lib/rails/generators/alchemy/install/templates/dragonfly.rb.tt
1137
- - lib/rails/generators/alchemy/install/templates/elements.yml.tt
1138
- - lib/rails/generators/alchemy/install/templates/menus.yml.tt
1139
- - lib/rails/generators/alchemy/install/templates/page_layouts.yml.tt
1140
- - lib/rails/generators/alchemy/menus/menus_generator.rb
1141
- - lib/rails/generators/alchemy/menus/templates/node.html.erb
1142
- - lib/rails/generators/alchemy/menus/templates/node.html.haml
1143
- - lib/rails/generators/alchemy/menus/templates/node.html.slim
1144
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.erb
1145
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.haml
1146
- - lib/rails/generators/alchemy/menus/templates/wrapper.html.slim
1147
- - lib/rails/generators/alchemy/module/module_generator.rb
1148
- - lib/rails/generators/alchemy/module/templates/ability.rb.tt
1149
- - lib/rails/generators/alchemy/module/templates/controller.rb.tt
1150
- - lib/rails/generators/alchemy/module/templates/module_config.rb.tt
1151
- - lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb
1152
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.erb
1153
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.haml
1154
- - lib/rails/generators/alchemy/page_layouts/templates/layout.html.slim
1155
- - lib/rails/generators/alchemy/site_layouts/site_layouts_generator.rb
1156
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.erb
1157
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.haml
1158
- - lib/rails/generators/alchemy/site_layouts/templates/layout.html.slim
1159
- - lib/rails/generators/alchemy/views/views_generator.rb
1160
- - lib/tasks/alchemy/convert.rake
1161
1176
  - lib/tasks/alchemy/db.rake
1162
1177
  - lib/tasks/alchemy/install.rake
1163
1178
  - lib/tasks/alchemy/tidy.rake
1164
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
1165
1190
  - vendor/assets/fonts/fa-regular-400.eot
1166
1191
  - vendor/assets/fonts/fa-regular-400.svg
1167
1192
  - vendor/assets/fonts/fa-regular-400.ttf
@@ -1185,7 +1210,6 @@ files:
1185
1210
  - vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js
1186
1211
  - vendor/assets/javascripts/keymaster.js
1187
1212
  - vendor/assets/javascripts/requestAnimationFrame.js
1188
- - vendor/assets/javascripts/sortable/Sortable.min.js
1189
1213
  - vendor/assets/javascripts/tinymce/license.txt
1190
1214
  - vendor/assets/javascripts/tinymce/tinymce.min.js
1191
1215
  - vendor/assets/stylesheets/fontawesome/_animated.scss
@@ -1200,9 +1224,9 @@ files:
1200
1224
  - vendor/assets/stylesheets/fontawesome/_screen-reader.scss
1201
1225
  - vendor/assets/stylesheets/fontawesome/_stacked.scss
1202
1226
  - vendor/assets/stylesheets/fontawesome/_variables.scss
1203
- - vendor/assets/stylesheets/fontawesome/fa-regular.scss
1204
- - vendor/assets/stylesheets/fontawesome/fa-solid.scss
1205
1227
  - vendor/assets/stylesheets/fontawesome/fontawesome.scss
1228
+ - vendor/assets/stylesheets/fontawesome/regular.scss
1229
+ - vendor/assets/stylesheets/fontawesome/solid.scss
1206
1230
  - vendor/assets/stylesheets/jquery.Jcrop.min.scss
1207
1231
  homepage: https://alchemy-cms.com
1208
1232
  licenses:
@@ -1239,14 +1263,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1239
1263
  version: 2.3.0
1240
1264
  required_rubygems_version: !ruby/object:Gem::Requirement
1241
1265
  requirements:
1242
- - - ">="
1266
+ - - ">"
1243
1267
  - !ruby/object:Gem::Version
1244
- version: '0'
1268
+ version: 1.3.1
1245
1269
  requirements:
1246
1270
  - ImageMagick (libmagick), v6.6 or greater.
1247
1271
  rubygems_version: 3.0.3
1248
- signing_key:
1272
+ signing_key:
1249
1273
  specification_version: 4
1250
- summary: A powerful, userfriendly and flexible CMS for Rails 5
1274
+ summary: A powerful, userfriendly and flexible CMS for Rails
1251
1275
  test_files: []
1252
1276
  ...