alchemy_cms 5.3.7 → 6.0.0.b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +6 -14
  3. data/.gitignore +1 -1
  4. data/.hound.yml +1 -1
  5. data/.rubocop.yml +46 -4
  6. data/CHANGELOG.md +80 -84
  7. data/Gemfile +4 -2
  8. data/README.md +5 -2
  9. data/Rakefile +0 -18
  10. data/alchemy_cms.gemspec +78 -65
  11. data/app/assets/javascripts/alchemy/admin.js +2 -2
  12. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +0 -30
  13. data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +2 -1
  14. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +2 -7
  15. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee +0 -25
  16. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +1 -1
  17. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +2 -0
  18. data/app/assets/javascripts/alchemy/alchemy.fixed_elements.js +1 -1
  19. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +3 -1
  20. data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +1 -1
  21. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +41 -30
  22. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +24 -0
  23. data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +119 -0
  24. data/app/assets/javascripts/alchemy/page_select.js +8 -13
  25. data/app/assets/javascripts/alchemy/templates/index.js +0 -1
  26. data/app/assets/javascripts/alchemy/templates/node_folder.hbs +1 -1
  27. data/app/assets/javascripts/alchemy/templates/page.hbs +7 -17
  28. data/app/assets/stylesheets/alchemy/admin.scss +1 -1
  29. data/app/assets/stylesheets/alchemy/archive.scss +4 -8
  30. data/app/assets/stylesheets/alchemy/buttons.scss +0 -4
  31. data/app/assets/stylesheets/alchemy/elements.scss +73 -61
  32. data/app/assets/stylesheets/alchemy/images.scss +8 -0
  33. data/app/assets/stylesheets/alchemy/node-select.scss +4 -3
  34. data/app/assets/stylesheets/alchemy/page-select.scss +5 -29
  35. data/app/assets/stylesheets/alchemy/selects.scss +4 -0
  36. data/app/assets/stylesheets/alchemy/sitemap.scss +7 -9
  37. data/app/assets/stylesheets/tinymce/skins/alchemy/content.min.css.scss +3 -3
  38. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +7 -7
  39. data/app/controllers/alchemy/admin/attachments_controller.rb +6 -2
  40. data/app/controllers/alchemy/admin/base_controller.rb +8 -16
  41. data/app/controllers/alchemy/admin/elements_controller.rb +58 -34
  42. data/app/controllers/alchemy/admin/essence_audios_controller.rb +30 -0
  43. data/app/controllers/alchemy/admin/essence_files_controller.rb +0 -14
  44. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +8 -79
  45. data/app/controllers/alchemy/admin/essence_videos_controller.rb +33 -0
  46. data/app/controllers/alchemy/admin/ingredients_controller.rb +30 -0
  47. data/app/controllers/alchemy/admin/layoutpages_controller.rb +0 -1
  48. data/app/controllers/alchemy/admin/pages_controller.rb +19 -23
  49. data/app/controllers/alchemy/admin/pictures_controller.rb +35 -9
  50. data/app/controllers/alchemy/api/elements_controller.rb +10 -5
  51. data/app/controllers/alchemy/api/nodes_controller.rb +0 -1
  52. data/app/controllers/alchemy/api/pages_controller.rb +3 -15
  53. data/app/controllers/concerns/alchemy/admin/archive_overlay.rb +13 -3
  54. data/app/controllers/concerns/alchemy/admin/crop_action.rb +26 -0
  55. data/app/decorators/alchemy/element_editor.rb +23 -1
  56. data/app/decorators/alchemy/ingredient_editor.rb +154 -0
  57. data/app/helpers/alchemy/admin/elements_helper.rb +1 -0
  58. data/app/helpers/alchemy/admin/essences_helper.rb +1 -1
  59. data/app/helpers/alchemy/admin/ingredients_helper.rb +42 -0
  60. data/app/helpers/alchemy/elements_block_helper.rb +22 -7
  61. data/app/helpers/alchemy/elements_helper.rb +14 -7
  62. data/app/helpers/alchemy/pages_helper.rb +3 -11
  63. data/app/jobs/alchemy/base_job.rb +11 -0
  64. data/app/jobs/alchemy/publish_page_job.rb +11 -0
  65. data/app/models/alchemy/attachment.rb +1 -1
  66. data/app/models/alchemy/content/factory.rb +23 -27
  67. data/app/models/alchemy/content.rb +1 -6
  68. data/app/models/alchemy/element/definitions.rb +29 -27
  69. data/app/models/alchemy/element/element_contents.rb +131 -122
  70. data/app/models/alchemy/element/element_essences.rb +100 -98
  71. data/app/models/alchemy/element/element_ingredients.rb +176 -0
  72. data/app/models/alchemy/element/presenters.rb +89 -87
  73. data/app/models/alchemy/element.rb +40 -73
  74. data/app/models/alchemy/elements_repository.rb +126 -0
  75. data/app/models/alchemy/essence_audio.rb +12 -0
  76. data/app/models/alchemy/essence_headline.rb +40 -0
  77. data/app/models/alchemy/essence_picture.rb +4 -116
  78. data/app/models/alchemy/essence_richtext.rb +12 -0
  79. data/app/models/alchemy/essence_video.rb +12 -0
  80. data/app/models/alchemy/image_cropper_settings.rb +87 -0
  81. data/app/models/alchemy/ingredient.rb +219 -0
  82. data/app/models/alchemy/ingredient_validator.rb +97 -0
  83. data/app/models/alchemy/ingredients/audio.rb +29 -0
  84. data/app/models/alchemy/ingredients/boolean.rb +21 -0
  85. data/app/models/alchemy/ingredients/datetime.rb +20 -0
  86. data/app/models/alchemy/ingredients/file.rb +30 -0
  87. data/app/models/alchemy/ingredients/headline.rb +42 -0
  88. data/app/models/alchemy/ingredients/html.rb +19 -0
  89. data/app/models/alchemy/ingredients/link.rb +16 -0
  90. data/app/models/alchemy/ingredients/node.rb +23 -0
  91. data/app/models/alchemy/ingredients/page.rb +23 -0
  92. data/app/models/alchemy/ingredients/picture.rb +41 -0
  93. data/app/models/alchemy/ingredients/richtext.rb +57 -0
  94. data/app/models/alchemy/ingredients/select.rb +10 -0
  95. data/app/models/alchemy/ingredients/text.rb +17 -0
  96. data/app/models/alchemy/ingredients/video.rb +33 -0
  97. data/app/models/alchemy/language.rb +0 -11
  98. data/app/models/alchemy/node.rb +1 -1
  99. data/app/models/alchemy/page/fixed_attributes.rb +53 -51
  100. data/app/models/alchemy/page/page_elements.rb +186 -205
  101. data/app/models/alchemy/page/page_naming.rb +66 -64
  102. data/app/models/alchemy/page/page_natures.rb +139 -142
  103. data/app/models/alchemy/page/page_scopes.rb +113 -102
  104. data/app/models/alchemy/page/publisher.rb +50 -0
  105. data/app/models/alchemy/page/url_path.rb +1 -1
  106. data/app/models/alchemy/page.rb +69 -42
  107. data/app/models/alchemy/page_version.rb +58 -0
  108. data/app/models/alchemy/picture/calculations.rb +2 -8
  109. data/app/models/alchemy/picture/preprocessor.rb +2 -0
  110. data/app/models/alchemy/picture/transformations.rb +23 -95
  111. data/app/models/alchemy/picture.rb +5 -3
  112. data/app/models/alchemy/picture_variant.rb +1 -3
  113. data/app/models/concerns/alchemy/picture_thumbnails.rb +181 -0
  114. data/app/models/concerns/alchemy/touch_elements.rb +2 -2
  115. data/app/presenters/alchemy/picture_view.rb +88 -0
  116. data/app/serializers/alchemy/element_serializer.rb +5 -0
  117. data/app/serializers/alchemy/page_serializer.rb +1 -7
  118. data/app/serializers/alchemy/page_tree_serializer.rb +6 -5
  119. data/app/services/alchemy/delete_elements.rb +44 -0
  120. data/app/services/alchemy/duplicate_element.rb +56 -0
  121. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -2
  122. data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +3 -3
  123. data/app/views/alchemy/admin/attachments/assign.js.erb +11 -0
  124. data/app/views/alchemy/admin/crop.html.erb +36 -0
  125. data/app/views/alchemy/admin/elements/_element.html.erb +14 -10
  126. data/app/views/alchemy/admin/elements/{_element_footer.html.erb → _footer.html.erb} +0 -0
  127. data/app/views/alchemy/admin/elements/{_new_element_form.html.erb → _form.html.erb} +1 -1
  128. data/app/views/alchemy/admin/elements/{_element_header.html.erb → _header.html.erb} +1 -1
  129. data/app/views/alchemy/admin/elements/{_element_toolbar.html.erb → _toolbar.html.erb} +5 -6
  130. data/app/views/alchemy/admin/elements/{trash.js.erb → destroy.js.erb} +1 -3
  131. data/app/views/alchemy/admin/elements/new.html.erb +3 -3
  132. data/app/views/alchemy/admin/elements/order.js.erb +0 -17
  133. data/app/views/alchemy/admin/elements/update.js.erb +3 -2
  134. data/app/views/alchemy/admin/essence_audios/edit.html.erb +7 -0
  135. data/app/views/alchemy/admin/essence_pictures/update.js.erb +0 -1
  136. data/app/views/alchemy/admin/essence_videos/edit.html.erb +11 -0
  137. data/app/views/alchemy/admin/ingredients/_audio_fields.html.erb +4 -0
  138. data/app/views/alchemy/admin/ingredients/_file_fields.html.erb +18 -0
  139. data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +25 -0
  140. data/app/views/alchemy/admin/ingredients/_video_fields.html.erb +8 -0
  141. data/app/views/alchemy/admin/ingredients/edit.html.erb +4 -0
  142. data/app/views/alchemy/admin/layoutpages/edit.html.erb +0 -5
  143. data/app/views/alchemy/admin/nodes/_node.html.erb +2 -2
  144. data/app/views/alchemy/admin/pages/_anchor_link.html.erb +1 -1
  145. data/app/views/alchemy/admin/pages/_external_link.html.erb +1 -1
  146. data/app/views/alchemy/admin/pages/_file_link.html.erb +1 -1
  147. data/app/views/alchemy/admin/pages/_form.html.erb +0 -25
  148. data/app/views/alchemy/admin/pages/_internal_link.html.erb +1 -1
  149. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +5 -16
  150. data/app/views/alchemy/admin/pages/_page.html.erb +133 -111
  151. data/app/views/alchemy/admin/pages/_sitemap.html.erb +16 -10
  152. data/app/views/alchemy/admin/pages/_tinymce_custom_config.html.erb +5 -2
  153. data/app/views/alchemy/admin/pages/_toolbar.html.erb +12 -0
  154. data/app/views/alchemy/admin/pages/edit.html.erb +37 -25
  155. data/app/views/alchemy/admin/pages/fold.js.erb +2 -0
  156. data/app/views/alchemy/admin/pages/index.html.erb +1 -1
  157. data/app/views/alchemy/admin/pages/sort.html.erb +19 -0
  158. data/app/views/alchemy/admin/pages/update.js.erb +1 -8
  159. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -4
  160. data/app/views/alchemy/admin/partials/_routes.html.erb +8 -19
  161. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +4 -8
  162. data/app/views/alchemy/admin/pictures/_infos.html.erb +0 -1
  163. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +4 -4
  164. data/app/views/alchemy/admin/pictures/assign.js.erb +10 -0
  165. data/app/views/alchemy/admin/resources/_form.html.erb +1 -0
  166. data/app/views/alchemy/essences/_essence_audio_editor.html.erb +4 -0
  167. data/app/views/alchemy/essences/_essence_audio_view.html.erb +15 -0
  168. data/app/views/alchemy/essences/_essence_file_editor.html.erb +15 -6
  169. data/app/views/alchemy/essences/_essence_headline_editor.html.erb +36 -0
  170. data/app/views/alchemy/essences/_essence_headline_view.html.erb +10 -0
  171. data/app/views/alchemy/essences/_essence_link_editor.html.erb +8 -4
  172. data/app/views/alchemy/essences/_essence_node_editor.html.erb +1 -1
  173. data/app/views/alchemy/essences/_essence_page_editor.html.erb +1 -1
  174. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +27 -12
  175. data/app/views/alchemy/essences/_essence_text_editor.html.erb +12 -4
  176. data/app/views/alchemy/essences/_essence_video_editor.html.erb +4 -0
  177. data/app/views/alchemy/essences/_essence_video_view.html.erb +18 -0
  178. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +21 -16
  179. data/app/views/alchemy/essences/shared/_linkable_essence_tools.html.erb +2 -2
  180. data/app/views/alchemy/ingredients/_audio_editor.html.erb +5 -0
  181. data/app/views/alchemy/ingredients/_audio_view.html.erb +14 -0
  182. data/app/views/alchemy/ingredients/_boolean_editor.html.erb +11 -0
  183. data/app/views/alchemy/ingredients/_boolean_view.html.erb +1 -0
  184. data/app/views/alchemy/ingredients/_datetime_editor.html.erb +17 -0
  185. data/app/views/alchemy/ingredients/_datetime_view.html.erb +9 -0
  186. data/app/views/alchemy/ingredients/_file_editor.html.erb +50 -0
  187. data/app/views/alchemy/ingredients/_file_view.html.erb +17 -0
  188. data/app/views/alchemy/ingredients/_headline_editor.html.erb +30 -0
  189. data/app/views/alchemy/ingredients/_headline_view.html.erb +9 -0
  190. data/app/views/alchemy/ingredients/_html_editor.html.erb +8 -0
  191. data/app/views/alchemy/ingredients/_html_view.html.erb +1 -0
  192. data/app/views/alchemy/ingredients/_link_editor.html.erb +24 -0
  193. data/app/views/alchemy/ingredients/_link_view.html.erb +9 -0
  194. data/app/views/alchemy/ingredients/_node_editor.html.erb +25 -0
  195. data/app/views/alchemy/ingredients/_node_view.html.erb +1 -0
  196. data/app/views/alchemy/ingredients/_page_editor.html.erb +24 -0
  197. data/app/views/alchemy/ingredients/_page_view.html.erb +4 -0
  198. data/app/views/alchemy/ingredients/_picture_editor.html.erb +59 -0
  199. data/app/views/alchemy/ingredients/_picture_view.html.erb +5 -0
  200. data/app/views/alchemy/ingredients/_richtext_editor.html.erb +12 -0
  201. data/app/views/alchemy/ingredients/_richtext_view.html.erb +3 -0
  202. data/app/views/alchemy/ingredients/_select_editor.html.erb +29 -0
  203. data/app/views/alchemy/ingredients/_select_view.html.erb +1 -0
  204. data/app/views/alchemy/ingredients/_text_editor.html.erb +19 -0
  205. data/app/views/alchemy/ingredients/_text_view.html.erb +16 -0
  206. data/app/views/alchemy/ingredients/_video_editor.html.erb +5 -0
  207. data/app/views/alchemy/ingredients/_video_view.html.erb +17 -0
  208. data/app/views/alchemy/ingredients/shared/_link_tools.html.erb +20 -0
  209. data/app/views/alchemy/ingredients/shared/_picture_tools.html.erb +57 -0
  210. data/config/alchemy/config.yml +0 -1
  211. data/config/brakeman.ignore +66 -159
  212. data/config/initializers/dragonfly.rb +2 -2
  213. data/config/locales/alchemy.en.yml +26 -15
  214. data/config/routes.rb +19 -26
  215. data/db/migrate/20201207131309_create_page_versions.rb +19 -0
  216. data/db/migrate/20201207135820_add_page_version_id_to_alchemy_elements.rb +76 -0
  217. data/db/migrate/20210205143548_rename_public_on_and_public_until_on_alchemy_pages.rb +10 -0
  218. data/db/migrate/20210326105046_add_sanitized_body_to_alchemy_essence_richtexts.rb +7 -0
  219. data/db/migrate/20210406093436_add_alchemy_essence_headlines.rb +12 -0
  220. data/db/migrate/20210506135919_create_essence_audios.rb +19 -0
  221. data/db/migrate/20210506140258_create_essence_videos.rb +23 -0
  222. data/db/migrate/20210508091432_create_alchemy_ingredients.rb +22 -0
  223. data/lib/alchemy/admin/preview_url.rb +2 -0
  224. data/lib/alchemy/deprecation.rb +1 -1
  225. data/lib/alchemy/dragonfly/processors/auto_orient.rb +18 -0
  226. data/lib/alchemy/elements_finder.rb +14 -60
  227. data/lib/alchemy/engine.rb +1 -19
  228. data/lib/alchemy/essence.rb +1 -2
  229. data/lib/alchemy/hints.rb +1 -1
  230. data/lib/alchemy/page_layout.rb +2 -19
  231. data/lib/alchemy/permissions.rb +31 -29
  232. data/lib/alchemy/resource.rb +13 -3
  233. data/lib/alchemy/tasks/tidy.rb +29 -0
  234. data/lib/alchemy/test_support/essence_shared_examples.rb +0 -1
  235. data/lib/alchemy/test_support/factories/element_factory.rb +8 -8
  236. data/lib/alchemy/test_support/factories/essence_audio_factory.rb +7 -0
  237. data/lib/alchemy/test_support/factories/essence_video_factory.rb +7 -0
  238. data/lib/alchemy/test_support/factories/ingredient_factory.rb +25 -0
  239. data/lib/alchemy/test_support/factories/page_factory.rb +20 -1
  240. data/lib/alchemy/test_support/factories/page_version_factory.rb +23 -0
  241. data/lib/alchemy/test_support/having_crop_action_examples.rb +170 -0
  242. data/lib/alchemy/test_support/having_picture_thumbnails_examples.rb +646 -0
  243. data/lib/alchemy/test_support/shared_ingredient_editor_examples.rb +21 -0
  244. data/lib/alchemy/test_support/shared_ingredient_examples.rb +57 -0
  245. data/lib/alchemy/test_support.rb +2 -11
  246. data/lib/alchemy/tinymce.rb +17 -0
  247. data/lib/alchemy/upgrader/five_point_zero.rb +0 -32
  248. data/lib/alchemy/upgrader/six_point_zero.rb +21 -0
  249. data/lib/alchemy/upgrader/tasks/add_page_versions.rb +33 -0
  250. data/lib/alchemy/upgrader/tasks/ingredients_migrator.rb +51 -0
  251. data/lib/alchemy/version.rb +1 -1
  252. data/lib/alchemy_cms.rb +0 -1
  253. data/lib/generators/alchemy/elements/elements_generator.rb +1 -0
  254. data/lib/generators/alchemy/elements/templates/view.html.erb +9 -0
  255. data/lib/generators/alchemy/elements/templates/view.html.haml +9 -0
  256. data/lib/generators/alchemy/elements/templates/view.html.slim +9 -0
  257. data/lib/generators/alchemy/ingredient/ingredient_generator.rb +38 -0
  258. data/lib/generators/alchemy/ingredient/templates/editor.html.erb +14 -0
  259. data/lib/generators/alchemy/ingredient/templates/model.rb.tt +13 -0
  260. data/lib/generators/alchemy/ingredient/templates/view.html.erb +1 -0
  261. data/lib/generators/alchemy/install/install_generator.rb +1 -2
  262. data/lib/generators/alchemy/install/templates/dragonfly.rb.tt +1 -1
  263. data/lib/generators/alchemy/menus/templates/node.html.erb +1 -1
  264. data/lib/generators/alchemy/menus/templates/node.html.haml +1 -1
  265. data/lib/generators/alchemy/menus/templates/node.html.slim +1 -1
  266. data/lib/generators/alchemy/menus/templates/wrapper.html.erb +1 -1
  267. data/lib/generators/alchemy/menus/templates/wrapper.html.haml +1 -1
  268. data/lib/generators/alchemy/menus/templates/wrapper.html.slim +1 -1
  269. data/lib/tasks/alchemy/tidy.rake +12 -0
  270. data/lib/tasks/alchemy/upgrade.rake +21 -15
  271. data/package/admin.js +8 -4
  272. data/package/src/file_editors.js +28 -0
  273. data/package/src/image_cropper.js +103 -0
  274. data/package/src/image_loader.js +58 -0
  275. data/package/src/node_tree.js +8 -8
  276. data/package/src/picture_editors.js +169 -0
  277. data/package/src/utils/__tests__/ajax.spec.js +16 -52
  278. data/package/src/utils/ajax.js +0 -12
  279. data/package.json +3 -2
  280. data/vendor/assets/javascripts/jquery_plugins/jquery.Jcrop.min.js +3 -18
  281. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js +434 -0
  282. data/vendor/assets/stylesheets/alchemy_admin/select2.scss +1 -1
  283. data/vendor/assets/stylesheets/jquery.Jcrop.min.scss +2 -28
  284. metadata +291 -54
  285. data/.rspec +0 -1
  286. data/app/assets/javascripts/alchemy/alchemy.image_cropper.js.coffee +0 -44
  287. data/app/assets/javascripts/alchemy/alchemy.trash_window.js.coffee +0 -30
  288. data/app/assets/javascripts/alchemy/templates/page_folder.hbs +0 -3
  289. data/app/assets/stylesheets/alchemy/trash.scss +0 -8
  290. data/app/controllers/alchemy/admin/trash_controller.rb +0 -44
  291. data/app/views/alchemy/admin/essence_files/assign.js.erb +0 -3
  292. data/app/views/alchemy/admin/essence_pictures/assign.js.erb +0 -4
  293. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +0 -48
  294. data/app/views/alchemy/admin/trash/clear.js.erb +0 -4
  295. data/app/views/alchemy/admin/trash/index.html.erb +0 -31
  296. data/lib/alchemy/dragonfly/processors/thumbnail.rb +0 -27
  297. data/lib/alchemy/error_tracking/airbrake_handler.rb +0 -13
  298. data/lib/alchemy/error_tracking.rb +0 -14
  299. data/lib/alchemy/test_support/factories.rb +0 -20
  300. data/package/src/page_publication_fields.js +0 -27
  301. data/package/src/page_sorter.js +0 -62
  302. data/package/src/sitemap.js +0 -148
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: 5.3.7
4
+ version: 6.0.0.b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -10,11 +10,171 @@ 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: 2022-06-10 00:00:00.000000000 Z
16
+ date: 2021-07-05 00:00:00.000000000 Z
17
17
  dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: actionmailer
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: '6.0'
25
+ - - "<"
26
+ - !ruby/object:Gem::Version
27
+ version: '6.1'
28
+ type: :runtime
29
+ prerelease: false
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '6.0'
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: '6.1'
38
+ - !ruby/object:Gem::Dependency
39
+ name: actionpack
40
+ requirement: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '6.0'
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '6.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '6.0'
55
+ - - "<"
56
+ - !ruby/object:Gem::Version
57
+ version: '6.1'
58
+ - !ruby/object:Gem::Dependency
59
+ name: actionview
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '6.0'
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: '6.1'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '6.0'
75
+ - - "<"
76
+ - !ruby/object:Gem::Version
77
+ version: '6.1'
78
+ - !ruby/object:Gem::Dependency
79
+ name: activejob
80
+ requirement: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '6.0'
85
+ - - "<"
86
+ - !ruby/object:Gem::Version
87
+ version: '6.1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '6.0'
95
+ - - "<"
96
+ - !ruby/object:Gem::Version
97
+ version: '6.1'
98
+ - !ruby/object:Gem::Dependency
99
+ name: activemodel
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '6.0'
105
+ - - "<"
106
+ - !ruby/object:Gem::Version
107
+ version: '6.1'
108
+ type: :runtime
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '6.0'
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: '6.1'
118
+ - !ruby/object:Gem::Dependency
119
+ name: activerecord
120
+ requirement: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '6.0'
125
+ - - "<"
126
+ - !ruby/object:Gem::Version
127
+ version: '6.1'
128
+ type: :runtime
129
+ prerelease: false
130
+ version_requirements: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '6.0'
135
+ - - "<"
136
+ - !ruby/object:Gem::Version
137
+ version: '6.1'
138
+ - !ruby/object:Gem::Dependency
139
+ name: activesupport
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '6.0'
145
+ - - "<"
146
+ - !ruby/object:Gem::Version
147
+ version: '6.1'
148
+ type: :runtime
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '6.0'
155
+ - - "<"
156
+ - !ruby/object:Gem::Version
157
+ version: '6.1'
158
+ - !ruby/object:Gem::Dependency
159
+ name: railties
160
+ requirement: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '6.0'
165
+ - - "<"
166
+ - !ruby/object:Gem::Version
167
+ version: '6.1'
168
+ type: :runtime
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '6.0'
175
+ - - "<"
176
+ - !ruby/object:Gem::Version
177
+ version: '6.1'
18
178
  - !ruby/object:Gem::Dependency
19
179
  name: active_model_serializers
20
180
  requirement: !ruby/object:Gem::Requirement
@@ -241,26 +401,6 @@ dependencies:
241
401
  - - "~>"
242
402
  - !ruby/object:Gem::Version
243
403
  version: 1.0.8
244
- - !ruby/object:Gem::Dependency
245
- name: rails
246
- requirement: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - ">="
249
- - !ruby/object:Gem::Version
250
- version: 5.2.0
251
- - - "<"
252
- - !ruby/object:Gem::Version
253
- version: '6.1'
254
- type: :runtime
255
- prerelease: false
256
- version_requirements: !ruby/object:Gem::Requirement
257
- requirements:
258
- - - ">="
259
- - !ruby/object:Gem::Version
260
- version: 5.2.0
261
- - - "<"
262
- - !ruby/object:Gem::Version
263
- version: '6.1'
264
404
  - !ruby/object:Gem::Dependency
265
405
  name: ransack
266
406
  requirement: !ruby/object:Gem::Requirement
@@ -270,7 +410,7 @@ dependencies:
270
410
  version: '1.8'
271
411
  - - "<"
272
412
  - !ruby/object:Gem::Version
273
- version: '3.0'
413
+ version: 2.4.2
274
414
  type: :runtime
275
415
  prerelease: false
276
416
  version_requirements: !ruby/object:Gem::Requirement
@@ -280,7 +420,7 @@ dependencies:
280
420
  version: '1.8'
281
421
  - - "<"
282
422
  - !ruby/object:Gem::Version
283
- version: '3.0'
423
+ version: 2.4.2
284
424
  - !ruby/object:Gem::Dependency
285
425
  name: request_store
286
426
  requirement: !ruby/object:Gem::Requirement
@@ -590,7 +730,6 @@ files:
590
730
  - ".hound.yml"
591
731
  - ".localeapp/config.rb"
592
732
  - ".prettierrc"
593
- - ".rspec"
594
733
  - ".rubocop.yml"
595
734
  - ".yardopts"
596
735
  - CHANGELOG.md
@@ -628,18 +767,18 @@ files:
628
767
  - app/assets/javascripts/alchemy/alchemy.gui.js.coffee
629
768
  - app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee
630
769
  - app/assets/javascripts/alchemy/alchemy.html5.js
631
- - app/assets/javascripts/alchemy/alchemy.image_cropper.js.coffee
632
770
  - app/assets/javascripts/alchemy/alchemy.image_overlay.coffee
633
771
  - app/assets/javascripts/alchemy/alchemy.initializer.js.coffee
634
772
  - app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee
635
773
  - app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee
774
+ - app/assets/javascripts/alchemy/alchemy.page_sorter.js
636
775
  - app/assets/javascripts/alchemy/alchemy.preview.js.coffee
637
776
  - app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee
777
+ - app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee
638
778
  - app/assets/javascripts/alchemy/alchemy.spinner.js
639
779
  - app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
640
780
  - app/assets/javascripts/alchemy/alchemy.tinymce.js.coffee
641
781
  - app/assets/javascripts/alchemy/alchemy.tooltips.coffee
642
- - app/assets/javascripts/alchemy/alchemy.trash_window.js.coffee
643
782
  - app/assets/javascripts/alchemy/alchemy.uploader.js.coffee
644
783
  - app/assets/javascripts/alchemy/menubar.js.coffee
645
784
  - app/assets/javascripts/alchemy/node_select.js
@@ -649,7 +788,6 @@ files:
649
788
  - app/assets/javascripts/alchemy/templates/node.hbs
650
789
  - app/assets/javascripts/alchemy/templates/node_folder.hbs
651
790
  - app/assets/javascripts/alchemy/templates/page.hbs
652
- - app/assets/javascripts/alchemy/templates/page_folder.hbs
653
791
  - app/assets/javascripts/alchemy/templates/spinner.hbs
654
792
  - app/assets/javascripts/tinymce/plugins/alchemy_link/plugin.min.js
655
793
  - app/assets/stylesheets/alchemy/_defaults.scss
@@ -676,6 +814,7 @@ files:
676
814
  - app/assets/stylesheets/alchemy/hints.scss
677
815
  - app/assets/stylesheets/alchemy/icons.scss
678
816
  - app/assets/stylesheets/alchemy/image_library.scss
817
+ - app/assets/stylesheets/alchemy/images.scss
679
818
  - app/assets/stylesheets/alchemy/jquery-ui.scss
680
819
  - app/assets/stylesheets/alchemy/labels.scss
681
820
  - app/assets/stylesheets/alchemy/lists.scss
@@ -696,7 +835,6 @@ files:
696
835
  - app/assets/stylesheets/alchemy/tables.scss
697
836
  - app/assets/stylesheets/alchemy/tags.scss
698
837
  - app/assets/stylesheets/alchemy/toolbar.scss
699
- - app/assets/stylesheets/alchemy/trash.scss
700
838
  - app/assets/stylesheets/alchemy/typography.scss
701
839
  - app/assets/stylesheets/alchemy/upload.scss
702
840
  - app/assets/stylesheets/alchemy/welcome.sass
@@ -718,8 +856,11 @@ files:
718
856
  - app/controllers/alchemy/admin/contents_controller.rb
719
857
  - app/controllers/alchemy/admin/dashboard_controller.rb
720
858
  - app/controllers/alchemy/admin/elements_controller.rb
859
+ - app/controllers/alchemy/admin/essence_audios_controller.rb
721
860
  - app/controllers/alchemy/admin/essence_files_controller.rb
722
861
  - app/controllers/alchemy/admin/essence_pictures_controller.rb
862
+ - app/controllers/alchemy/admin/essence_videos_controller.rb
863
+ - app/controllers/alchemy/admin/ingredients_controller.rb
723
864
  - app/controllers/alchemy/admin/languages_controller.rb
724
865
  - app/controllers/alchemy/admin/layoutpages_controller.rb
725
866
  - app/controllers/alchemy/admin/legacy_page_urls_controller.rb
@@ -730,7 +871,6 @@ files:
730
871
  - app/controllers/alchemy/admin/sites_controller.rb
731
872
  - app/controllers/alchemy/admin/styleguide_controller.rb
732
873
  - app/controllers/alchemy/admin/tags_controller.rb
733
- - app/controllers/alchemy/admin/trash_controller.rb
734
874
  - app/controllers/alchemy/api/base_controller.rb
735
875
  - app/controllers/alchemy/api/contents_controller.rb
736
876
  - app/controllers/alchemy/api/elements_controller.rb
@@ -742,18 +882,21 @@ files:
742
882
  - app/controllers/alchemy/messages_controller.rb
743
883
  - app/controllers/alchemy/pages_controller.rb
744
884
  - app/controllers/concerns/alchemy/admin/archive_overlay.rb
885
+ - app/controllers/concerns/alchemy/admin/crop_action.rb
745
886
  - app/controllers/concerns/alchemy/admin/current_language.rb
746
887
  - app/controllers/concerns/alchemy/admin/uploader_responses.rb
747
888
  - app/controllers/concerns/alchemy/legacy_page_redirects.rb
748
889
  - app/controllers/concerns/alchemy/site_redirects.rb
749
890
  - app/decorators/alchemy/content_editor.rb
750
891
  - app/decorators/alchemy/element_editor.rb
892
+ - app/decorators/alchemy/ingredient_editor.rb
751
893
  - app/helpers/alchemy/admin/attachments_helper.rb
752
894
  - app/helpers/alchemy/admin/base_helper.rb
753
895
  - app/helpers/alchemy/admin/contents_helper.rb
754
896
  - app/helpers/alchemy/admin/elements_helper.rb
755
897
  - app/helpers/alchemy/admin/essences_helper.rb
756
898
  - app/helpers/alchemy/admin/form_helper.rb
899
+ - app/helpers/alchemy/admin/ingredients_helper.rb
757
900
  - app/helpers/alchemy/admin/navigation_helper.rb
758
901
  - app/helpers/alchemy/admin/pages_helper.rb
759
902
  - app/helpers/alchemy/admin/pictures_helper.rb
@@ -763,6 +906,8 @@ files:
763
906
  - app/helpers/alchemy/elements_helper.rb
764
907
  - app/helpers/alchemy/pages_helper.rb
765
908
  - app/helpers/alchemy/url_helper.rb
909
+ - app/jobs/alchemy/base_job.rb
910
+ - app/jobs/alchemy/publish_page_job.rb
766
911
  - app/mailers/alchemy/base_mailer.rb
767
912
  - app/mailers/alchemy/messages_mailer.rb
768
913
  - app/models/alchemy/attachment.rb
@@ -774,11 +919,15 @@ files:
774
919
  - app/models/alchemy/element/definitions.rb
775
920
  - app/models/alchemy/element/element_contents.rb
776
921
  - app/models/alchemy/element/element_essences.rb
922
+ - app/models/alchemy/element/element_ingredients.rb
777
923
  - app/models/alchemy/element/presenters.rb
778
924
  - app/models/alchemy/element_to_page.rb
925
+ - app/models/alchemy/elements_repository.rb
926
+ - app/models/alchemy/essence_audio.rb
779
927
  - app/models/alchemy/essence_boolean.rb
780
928
  - app/models/alchemy/essence_date.rb
781
929
  - app/models/alchemy/essence_file.rb
930
+ - app/models/alchemy/essence_headline.rb
782
931
  - app/models/alchemy/essence_html.rb
783
932
  - app/models/alchemy/essence_link.rb
784
933
  - app/models/alchemy/essence_node.rb
@@ -788,7 +937,25 @@ files:
788
937
  - app/models/alchemy/essence_richtext.rb
789
938
  - app/models/alchemy/essence_select.rb
790
939
  - app/models/alchemy/essence_text.rb
940
+ - app/models/alchemy/essence_video.rb
791
941
  - app/models/alchemy/folded_page.rb
942
+ - app/models/alchemy/image_cropper_settings.rb
943
+ - app/models/alchemy/ingredient.rb
944
+ - app/models/alchemy/ingredient_validator.rb
945
+ - app/models/alchemy/ingredients/audio.rb
946
+ - app/models/alchemy/ingredients/boolean.rb
947
+ - app/models/alchemy/ingredients/datetime.rb
948
+ - app/models/alchemy/ingredients/file.rb
949
+ - app/models/alchemy/ingredients/headline.rb
950
+ - app/models/alchemy/ingredients/html.rb
951
+ - app/models/alchemy/ingredients/link.rb
952
+ - app/models/alchemy/ingredients/node.rb
953
+ - app/models/alchemy/ingredients/page.rb
954
+ - app/models/alchemy/ingredients/picture.rb
955
+ - app/models/alchemy/ingredients/richtext.rb
956
+ - app/models/alchemy/ingredients/select.rb
957
+ - app/models/alchemy/ingredients/text.rb
958
+ - app/models/alchemy/ingredients/video.rb
792
959
  - app/models/alchemy/language.rb
793
960
  - app/models/alchemy/language/code.rb
794
961
  - app/models/alchemy/legacy_page_url.rb
@@ -800,7 +967,9 @@ files:
800
967
  - app/models/alchemy/page/page_naming.rb
801
968
  - app/models/alchemy/page/page_natures.rb
802
969
  - app/models/alchemy/page/page_scopes.rb
970
+ - app/models/alchemy/page/publisher.rb
803
971
  - app/models/alchemy/page/url_path.rb
972
+ - app/models/alchemy/page_version.rb
804
973
  - app/models/alchemy/picture.rb
805
974
  - app/models/alchemy/picture/calculations.rb
806
975
  - app/models/alchemy/picture/preprocessor.rb
@@ -815,7 +984,9 @@ files:
815
984
  - app/models/alchemy/site/layout.rb
816
985
  - app/models/alchemy/tag.rb
817
986
  - app/models/alchemy/tree_node.rb
987
+ - app/models/concerns/alchemy/picture_thumbnails.rb
818
988
  - app/models/concerns/alchemy/touch_elements.rb
989
+ - app/presenters/alchemy/picture_view.rb
819
990
  - app/serializers/alchemy/attachment_serializer.rb
820
991
  - app/serializers/alchemy/base_serializer.rb
821
992
  - app/serializers/alchemy/content_serializer.rb
@@ -833,6 +1004,8 @@ files:
833
1004
  - app/serializers/alchemy/page_serializer.rb
834
1005
  - app/serializers/alchemy/page_tree_serializer.rb
835
1006
  - app/serializers/alchemy/picture_serializer.rb
1007
+ - app/services/alchemy/delete_elements.rb
1008
+ - app/services/alchemy/duplicate_element.rb
836
1009
  - app/views/alchemy/_edit_mode.html.erb
837
1010
  - app/views/alchemy/_menubar.html.erb
838
1011
  - app/views/alchemy/_preview_mode_code.html.erb
@@ -845,6 +1018,7 @@ files:
845
1018
  - app/views/alchemy/admin/attachments/_replace_button.html.erb
846
1019
  - app/views/alchemy/admin/attachments/_tag_list.html.erb
847
1020
  - app/views/alchemy/admin/attachments/archive_overlay.js.erb
1021
+ - app/views/alchemy/admin/attachments/assign.js.erb
848
1022
  - app/views/alchemy/admin/attachments/destroy.js.erb
849
1023
  - app/views/alchemy/admin/attachments/edit.html.erb
850
1024
  - app/views/alchemy/admin/attachments/index.html.erb
@@ -854,6 +1028,7 @@ files:
854
1028
  - app/views/alchemy/admin/clipboard/insert.js.erb
855
1029
  - app/views/alchemy/admin/clipboard/remove.js.erb
856
1030
  - app/views/alchemy/admin/contents/create.js.erb
1031
+ - app/views/alchemy/admin/crop.html.erb
857
1032
  - app/views/alchemy/admin/dashboard/_locked_pages.html.erb
858
1033
  - app/views/alchemy/admin/dashboard/_recent_pages.html.erb
859
1034
  - app/views/alchemy/admin/dashboard/_sites.html.erb
@@ -862,26 +1037,30 @@ files:
862
1037
  - app/views/alchemy/admin/dashboard/index.html.erb
863
1038
  - app/views/alchemy/admin/dashboard/info.html.erb
864
1039
  - app/views/alchemy/admin/elements/_element.html.erb
865
- - app/views/alchemy/admin/elements/_element_footer.html.erb
866
- - app/views/alchemy/admin/elements/_element_header.html.erb
867
- - app/views/alchemy/admin/elements/_element_toolbar.html.erb
868
- - app/views/alchemy/admin/elements/_new_element_form.html.erb
1040
+ - app/views/alchemy/admin/elements/_footer.html.erb
1041
+ - app/views/alchemy/admin/elements/_form.html.erb
1042
+ - app/views/alchemy/admin/elements/_header.html.erb
1043
+ - app/views/alchemy/admin/elements/_toolbar.html.erb
869
1044
  - app/views/alchemy/admin/elements/create.js.erb
1045
+ - app/views/alchemy/admin/elements/destroy.js.erb
870
1046
  - app/views/alchemy/admin/elements/fold.js.erb
871
1047
  - app/views/alchemy/admin/elements/index.html.erb
872
1048
  - app/views/alchemy/admin/elements/new.html.erb
873
1049
  - app/views/alchemy/admin/elements/order.js.erb
874
1050
  - app/views/alchemy/admin/elements/publish.js.erb
875
- - app/views/alchemy/admin/elements/trash.js.erb
876
1051
  - app/views/alchemy/admin/elements/update.js.erb
877
- - app/views/alchemy/admin/essence_files/assign.js.erb
1052
+ - app/views/alchemy/admin/essence_audios/edit.html.erb
878
1053
  - app/views/alchemy/admin/essence_files/edit.html.erb
879
- - app/views/alchemy/admin/essence_pictures/assign.js.erb
880
- - app/views/alchemy/admin/essence_pictures/crop.html.erb
881
1054
  - app/views/alchemy/admin/essence_pictures/destroy.js.erb
882
1055
  - app/views/alchemy/admin/essence_pictures/edit.html.erb
883
1056
  - app/views/alchemy/admin/essence_pictures/save_link.js.erb
884
1057
  - app/views/alchemy/admin/essence_pictures/update.js.erb
1058
+ - app/views/alchemy/admin/essence_videos/edit.html.erb
1059
+ - app/views/alchemy/admin/ingredients/_audio_fields.html.erb
1060
+ - app/views/alchemy/admin/ingredients/_file_fields.html.erb
1061
+ - app/views/alchemy/admin/ingredients/_picture_fields.html.erb
1062
+ - app/views/alchemy/admin/ingredients/_video_fields.html.erb
1063
+ - app/views/alchemy/admin/ingredients/edit.html.erb
885
1064
  - app/views/alchemy/admin/languages/_form.html.erb
886
1065
  - app/views/alchemy/admin/languages/_language.html.erb
887
1066
  - app/views/alchemy/admin/languages/_table.html.erb
@@ -927,6 +1106,7 @@ files:
927
1106
  - app/views/alchemy/admin/pages/configure.html.erb
928
1107
  - app/views/alchemy/admin/pages/edit.html.erb
929
1108
  - app/views/alchemy/admin/pages/flush.js.erb
1109
+ - app/views/alchemy/admin/pages/fold.js.erb
930
1110
  - app/views/alchemy/admin/pages/index.html.erb
931
1111
  - app/views/alchemy/admin/pages/info.html.erb
932
1112
  - app/views/alchemy/admin/pages/link.html.erb
@@ -934,6 +1114,7 @@ files:
934
1114
  - app/views/alchemy/admin/pages/locked.html.erb
935
1115
  - app/views/alchemy/admin/pages/new.html.erb
936
1116
  - app/views/alchemy/admin/pages/show.html.erb
1117
+ - app/views/alchemy/admin/pages/sort.html.erb
937
1118
  - app/views/alchemy/admin/pages/unlock.js.erb
938
1119
  - app/views/alchemy/admin/pages/update.js.erb
939
1120
  - app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb
@@ -958,6 +1139,7 @@ files:
958
1139
  - app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
959
1140
  - app/views/alchemy/admin/pictures/_tag_list.html.erb
960
1141
  - app/views/alchemy/admin/pictures/archive_overlay.js.erb
1142
+ - app/views/alchemy/admin/pictures/assign.js.erb
961
1143
  - app/views/alchemy/admin/pictures/edit_multiple.html.erb
962
1144
  - app/views/alchemy/admin/pictures/index.html.erb
963
1145
  - app/views/alchemy/admin/pictures/index.js.erb
@@ -984,8 +1166,6 @@ files:
984
1166
  - app/views/alchemy/admin/tags/edit.html.erb
985
1167
  - app/views/alchemy/admin/tags/index.html.erb
986
1168
  - app/views/alchemy/admin/tags/new.html.erb
987
- - app/views/alchemy/admin/trash/clear.js.erb
988
- - app/views/alchemy/admin/trash/index.html.erb
989
1169
  - app/views/alchemy/admin/uploader/_button.html.erb
990
1170
  - app/views/alchemy/admin/uploader/_setup.html.erb
991
1171
  - app/views/alchemy/attachments/show.html.erb
@@ -1001,12 +1181,16 @@ files:
1001
1181
  - app/views/alchemy/elements/_view_not_found.html.erb
1002
1182
  - app/views/alchemy/elements/show.html.erb
1003
1183
  - app/views/alchemy/elements/show.js.erb
1184
+ - app/views/alchemy/essences/_essence_audio_editor.html.erb
1185
+ - app/views/alchemy/essences/_essence_audio_view.html.erb
1004
1186
  - app/views/alchemy/essences/_essence_boolean_editor.html.erb
1005
1187
  - app/views/alchemy/essences/_essence_boolean_view.html.erb
1006
1188
  - app/views/alchemy/essences/_essence_date_editor.html.erb
1007
1189
  - app/views/alchemy/essences/_essence_date_view.html.erb
1008
1190
  - app/views/alchemy/essences/_essence_file_editor.html.erb
1009
1191
  - app/views/alchemy/essences/_essence_file_view.html.erb
1192
+ - app/views/alchemy/essences/_essence_headline_editor.html.erb
1193
+ - app/views/alchemy/essences/_essence_headline_view.html.erb
1010
1194
  - app/views/alchemy/essences/_essence_html_editor.html.erb
1011
1195
  - app/views/alchemy/essences/_essence_html_view.html.erb
1012
1196
  - app/views/alchemy/essences/_essence_link_editor.html.erb
@@ -1023,8 +1207,40 @@ files:
1023
1207
  - app/views/alchemy/essences/_essence_select_view.html.erb
1024
1208
  - app/views/alchemy/essences/_essence_text_editor.html.erb
1025
1209
  - app/views/alchemy/essences/_essence_text_view.html.erb
1210
+ - app/views/alchemy/essences/_essence_video_editor.html.erb
1211
+ - app/views/alchemy/essences/_essence_video_view.html.erb
1026
1212
  - app/views/alchemy/essences/shared/_essence_picture_tools.html.erb
1027
1213
  - app/views/alchemy/essences/shared/_linkable_essence_tools.html.erb
1214
+ - app/views/alchemy/ingredients/_audio_editor.html.erb
1215
+ - app/views/alchemy/ingredients/_audio_view.html.erb
1216
+ - app/views/alchemy/ingredients/_boolean_editor.html.erb
1217
+ - app/views/alchemy/ingredients/_boolean_view.html.erb
1218
+ - app/views/alchemy/ingredients/_datetime_editor.html.erb
1219
+ - app/views/alchemy/ingredients/_datetime_view.html.erb
1220
+ - app/views/alchemy/ingredients/_file_editor.html.erb
1221
+ - app/views/alchemy/ingredients/_file_view.html.erb
1222
+ - app/views/alchemy/ingredients/_headline_editor.html.erb
1223
+ - app/views/alchemy/ingredients/_headline_view.html.erb
1224
+ - app/views/alchemy/ingredients/_html_editor.html.erb
1225
+ - app/views/alchemy/ingredients/_html_view.html.erb
1226
+ - app/views/alchemy/ingredients/_link_editor.html.erb
1227
+ - app/views/alchemy/ingredients/_link_view.html.erb
1228
+ - app/views/alchemy/ingredients/_node_editor.html.erb
1229
+ - app/views/alchemy/ingredients/_node_view.html.erb
1230
+ - app/views/alchemy/ingredients/_page_editor.html.erb
1231
+ - app/views/alchemy/ingredients/_page_view.html.erb
1232
+ - app/views/alchemy/ingredients/_picture_editor.html.erb
1233
+ - app/views/alchemy/ingredients/_picture_view.html.erb
1234
+ - app/views/alchemy/ingredients/_richtext_editor.html.erb
1235
+ - app/views/alchemy/ingredients/_richtext_view.html.erb
1236
+ - app/views/alchemy/ingredients/_select_editor.html.erb
1237
+ - app/views/alchemy/ingredients/_select_view.html.erb
1238
+ - app/views/alchemy/ingredients/_text_editor.html.erb
1239
+ - app/views/alchemy/ingredients/_text_view.html.erb
1240
+ - app/views/alchemy/ingredients/_video_editor.html.erb
1241
+ - app/views/alchemy/ingredients/_video_view.html.erb
1242
+ - app/views/alchemy/ingredients/shared/_link_tools.html.erb
1243
+ - app/views/alchemy/ingredients/shared/_picture_tools.html.erb
1028
1244
  - app/views/alchemy/language_links/_language.html.erb
1029
1245
  - app/views/alchemy/language_links/_spacer.html.erb
1030
1246
  - app/views/alchemy/messages_mailer/contact_form_mail.de.text.erb
@@ -1068,6 +1284,14 @@ files:
1068
1284
  - db/migrate/20200519073500_remove_visible_from_alchemy_pages.rb
1069
1285
  - db/migrate/20200617110713_create_alchemy_picture_thumbs.rb
1070
1286
  - db/migrate/20200907111332_remove_tri_state_booleans.rb
1287
+ - db/migrate/20201207131309_create_page_versions.rb
1288
+ - db/migrate/20201207135820_add_page_version_id_to_alchemy_elements.rb
1289
+ - db/migrate/20210205143548_rename_public_on_and_public_until_on_alchemy_pages.rb
1290
+ - db/migrate/20210326105046_add_sanitized_body_to_alchemy_essence_richtexts.rb
1291
+ - db/migrate/20210406093436_add_alchemy_essence_headlines.rb
1292
+ - db/migrate/20210506135919_create_essence_audios.rb
1293
+ - db/migrate/20210506140258_create_essence_videos.rb
1294
+ - db/migrate/20210508091432_create_alchemy_ingredients.rb
1071
1295
  - lib/alchemy.rb
1072
1296
  - lib/alchemy/ability_helper.rb
1073
1297
  - lib/alchemy/admin/locale.rb
@@ -1078,13 +1302,11 @@ files:
1078
1302
  - lib/alchemy/configuration_methods.rb
1079
1303
  - lib/alchemy/controller_actions.rb
1080
1304
  - lib/alchemy/deprecation.rb
1305
+ - lib/alchemy/dragonfly/processors/auto_orient.rb
1081
1306
  - lib/alchemy/dragonfly/processors/crop_resize.rb
1082
- - lib/alchemy/dragonfly/processors/thumbnail.rb
1083
1307
  - lib/alchemy/element_definition.rb
1084
1308
  - lib/alchemy/elements_finder.rb
1085
1309
  - lib/alchemy/engine.rb
1086
- - lib/alchemy/error_tracking.rb
1087
- - lib/alchemy/error_tracking/airbrake_handler.rb
1088
1310
  - lib/alchemy/errors.rb
1089
1311
  - lib/alchemy/essence.rb
1090
1312
  - lib/alchemy/filetypes.rb
@@ -1110,30 +1332,40 @@ files:
1110
1332
  - lib/alchemy/test_support.rb
1111
1333
  - lib/alchemy/test_support/config_stubbing.rb
1112
1334
  - lib/alchemy/test_support/essence_shared_examples.rb
1113
- - lib/alchemy/test_support/factories.rb
1114
1335
  - lib/alchemy/test_support/factories/attachment_factory.rb
1115
1336
  - lib/alchemy/test_support/factories/content_factory.rb
1116
1337
  - lib/alchemy/test_support/factories/dummy_user_factory.rb
1117
1338
  - lib/alchemy/test_support/factories/element_factory.rb
1339
+ - lib/alchemy/test_support/factories/essence_audio_factory.rb
1118
1340
  - lib/alchemy/test_support/factories/essence_file_factory.rb
1119
1341
  - lib/alchemy/test_support/factories/essence_page_factory.rb
1120
1342
  - lib/alchemy/test_support/factories/essence_picture_factory.rb
1121
1343
  - lib/alchemy/test_support/factories/essence_text_factory.rb
1344
+ - lib/alchemy/test_support/factories/essence_video_factory.rb
1345
+ - lib/alchemy/test_support/factories/ingredient_factory.rb
1122
1346
  - lib/alchemy/test_support/factories/language_factory.rb
1123
1347
  - lib/alchemy/test_support/factories/node_factory.rb
1124
1348
  - lib/alchemy/test_support/factories/page_factory.rb
1349
+ - lib/alchemy/test_support/factories/page_version_factory.rb
1125
1350
  - lib/alchemy/test_support/factories/picture_factory.rb
1126
1351
  - lib/alchemy/test_support/factories/picture_thumb_factory.rb
1127
1352
  - lib/alchemy/test_support/factories/site_factory.rb
1128
1353
  - lib/alchemy/test_support/fixtures/image.png
1354
+ - lib/alchemy/test_support/having_crop_action_examples.rb
1355
+ - lib/alchemy/test_support/having_picture_thumbnails_examples.rb
1129
1356
  - lib/alchemy/test_support/integration_helpers.rb
1130
1357
  - lib/alchemy/test_support/shared_contexts.rb
1358
+ - lib/alchemy/test_support/shared_ingredient_editor_examples.rb
1359
+ - lib/alchemy/test_support/shared_ingredient_examples.rb
1131
1360
  - lib/alchemy/test_support/shared_uploader_examples.rb
1132
1361
  - lib/alchemy/tinymce.rb
1133
1362
  - lib/alchemy/upgrader.rb
1134
1363
  - lib/alchemy/upgrader/five_point_zero.rb
1364
+ - lib/alchemy/upgrader/six_point_zero.rb
1365
+ - lib/alchemy/upgrader/tasks/add_page_versions.rb
1135
1366
  - lib/alchemy/upgrader/tasks/element_views_updater.rb
1136
1367
  - lib/alchemy/upgrader/tasks/harden_gutentag_migrations.rb
1368
+ - lib/alchemy/upgrader/tasks/ingredients_migrator.rb
1137
1369
  - lib/alchemy/version.rb
1138
1370
  - lib/alchemy_cms.rb
1139
1371
  - lib/generators/alchemy/base.rb
@@ -1144,6 +1376,10 @@ files:
1144
1376
  - lib/generators/alchemy/essence/essence_generator.rb
1145
1377
  - lib/generators/alchemy/essence/templates/editor.html.erb
1146
1378
  - lib/generators/alchemy/essence/templates/view.html.erb
1379
+ - lib/generators/alchemy/ingredient/ingredient_generator.rb
1380
+ - lib/generators/alchemy/ingredient/templates/editor.html.erb
1381
+ - lib/generators/alchemy/ingredient/templates/model.rb.tt
1382
+ - lib/generators/alchemy/ingredient/templates/view.html.erb
1147
1383
  - lib/generators/alchemy/install/files/_article.html.erb
1148
1384
  - lib/generators/alchemy/install/files/_standard.html.erb
1149
1385
  - lib/generators/alchemy/install/files/alchemy.en.yml
@@ -1186,11 +1422,12 @@ files:
1186
1422
  - package.json
1187
1423
  - package/admin.js
1188
1424
  - package/src/__tests__/i18n.spec.js
1425
+ - package/src/file_editors.js
1189
1426
  - package/src/i18n.js
1427
+ - package/src/image_cropper.js
1428
+ - package/src/image_loader.js
1190
1429
  - package/src/node_tree.js
1191
- - package/src/page_publication_fields.js
1192
- - package/src/page_sorter.js
1193
- - package/src/sitemap.js
1430
+ - package/src/picture_editors.js
1194
1431
  - package/src/translations.js
1195
1432
  - package/src/utils/__tests__/ajax.spec.js
1196
1433
  - package/src/utils/__tests__/events.spec.js
@@ -1215,6 +1452,7 @@ files:
1215
1452
  - vendor/assets/javascripts/flatpickr/flatpickr.min.js
1216
1453
  - vendor/assets/javascripts/jquery_plugins/jquery.Jcrop.min.js
1217
1454
  - vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js
1455
+ - vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js
1218
1456
  - vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js
1219
1457
  - vendor/assets/javascripts/jquery_plugins/select2.js
1220
1458
  - vendor/assets/javascripts/keymaster.js
@@ -1270,17 +1508,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
1270
1508
  requirements:
1271
1509
  - - ">="
1272
1510
  - !ruby/object:Gem::Version
1273
- version: 2.3.0
1511
+ version: 2.5.0
1274
1512
  required_rubygems_version: !ruby/object:Gem::Requirement
1275
1513
  requirements:
1276
- - - ">="
1514
+ - - ">"
1277
1515
  - !ruby/object:Gem::Version
1278
- version: '0'
1516
+ version: 1.3.1
1279
1517
  requirements:
1280
1518
  - ImageMagick (libmagick), v6.6 or greater.
1281
- rubygems_version: 3.1.6
1282
- signing_key:
1519
+ rubygems_version: 3.1.4
1520
+ signing_key:
1283
1521
  specification_version: 4
1284
1522
  summary: A powerful, userfriendly and flexible CMS for Rails
1285
1523
  test_files: []
1286
- ...
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper