alchemy_cms 7.0.12 → 7.1.0.pre.b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/backport.yml +36 -0
  3. data/.github/workflows/test.yml +3 -2
  4. data/.gitignore +1 -0
  5. data/.standard.yml +1 -1
  6. data/CHANGELOG.md +144 -22
  7. data/Gemfile +8 -10
  8. data/README.md +10 -8
  9. data/alchemy_cms.gemspec +4 -3
  10. data/app/assets/config/alchemy_manifest.js +0 -1
  11. data/app/assets/javascripts/alchemy/admin.js +1 -19
  12. data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +2 -3
  13. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +19 -34
  14. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +38 -13
  15. data/app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee +1 -1
  16. data/app/assets/javascripts/alchemy/alchemy.fixed_elements.js +32 -25
  17. data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +1 -1
  18. data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +3 -5
  19. data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +0 -57
  20. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +22 -63
  21. data/app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee +2 -2
  22. data/app/assets/javascripts/alchemy/alchemy.preview.js.coffee +5 -4
  23. data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +5 -5
  24. data/app/assets/javascripts/alchemy/templates/index.js +0 -2
  25. data/app/assets/javascripts/alchemy/templates/node_folder.hbs +1 -1
  26. data/app/assets/javascripts/alchemy/templates/page.hbs +1 -1
  27. data/app/assets/javascripts/alchemy/templates/page_folder.hbs +2 -2
  28. data/app/assets/stylesheets/alchemy/_custom-properties.scss +82 -0
  29. data/app/assets/stylesheets/alchemy/_mixins.scss +38 -30
  30. data/app/assets/stylesheets/alchemy/_variables.scss +12 -5
  31. data/app/assets/stylesheets/alchemy/admin.scss +3 -4
  32. data/app/assets/stylesheets/alchemy/archive.scss +107 -50
  33. data/app/assets/stylesheets/alchemy/attachments.scss +5 -4
  34. data/app/assets/stylesheets/alchemy/buttons.scss +38 -164
  35. data/app/assets/stylesheets/alchemy/dashboard.scss +31 -6
  36. data/app/assets/stylesheets/alchemy/dialogs.scss +12 -28
  37. data/app/assets/stylesheets/alchemy/elements.scss +273 -282
  38. data/app/assets/stylesheets/alchemy/flash.scss +20 -12
  39. data/app/assets/stylesheets/alchemy/forms.scss +21 -34
  40. data/app/assets/stylesheets/alchemy/frame.scss +11 -32
  41. data/app/assets/stylesheets/alchemy/hints.scss +4 -62
  42. data/app/assets/stylesheets/alchemy/image_library.scss +36 -33
  43. data/app/assets/stylesheets/alchemy/labels.scss +4 -1
  44. data/app/assets/stylesheets/alchemy/menubar.scss +7 -6
  45. data/app/assets/stylesheets/alchemy/navigation.scss +27 -15
  46. data/app/assets/stylesheets/alchemy/nodes.scss +11 -7
  47. data/app/assets/stylesheets/alchemy/notices.scss +16 -4
  48. data/app/assets/stylesheets/alchemy/page-select.scss +10 -2
  49. data/app/assets/stylesheets/alchemy/pagination.scss +22 -13
  50. data/app/assets/stylesheets/alchemy/resource_info.scss +7 -5
  51. data/app/assets/stylesheets/alchemy/selects.scss +49 -42
  52. data/app/assets/stylesheets/alchemy/shoelace.scss +345 -0
  53. data/app/assets/stylesheets/alchemy/sitemap.scss +24 -14
  54. data/app/assets/stylesheets/alchemy/spinner.scss +9 -19
  55. data/app/assets/stylesheets/alchemy/tables.scss +16 -24
  56. data/app/assets/stylesheets/alchemy/tags.scss +4 -0
  57. data/app/assets/stylesheets/alchemy/toolbar.scss +29 -25
  58. data/app/assets/stylesheets/alchemy/upload.scss +140 -89
  59. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +80 -108
  60. data/app/components/alchemy/admin/node_select.rb +39 -0
  61. data/app/components/alchemy/admin/page_select.rb +42 -0
  62. data/app/components/alchemy/ingredients/audio_view.rb +1 -1
  63. data/app/components/alchemy/ingredients/base_view.rb +1 -1
  64. data/app/components/alchemy/ingredients/boolean_view.rb +1 -1
  65. data/app/components/alchemy/ingredients/datetime_view.rb +1 -1
  66. data/app/components/alchemy/ingredients/file_view.rb +1 -1
  67. data/app/components/alchemy/ingredients/headline_view.rb +7 -16
  68. data/app/components/alchemy/ingredients/link_view.rb +1 -1
  69. data/app/components/alchemy/ingredients/page_view.rb +1 -1
  70. data/app/components/alchemy/ingredients/picture_view.rb +1 -1
  71. data/app/components/alchemy/ingredients/richtext_view.rb +1 -1
  72. data/app/components/alchemy/ingredients/text_view.rb +1 -1
  73. data/app/components/alchemy/ingredients/video_view.rb +1 -1
  74. data/app/controllers/alchemy/admin/base_controller.rb +5 -6
  75. data/app/controllers/alchemy/admin/elements_controller.rb +63 -35
  76. data/app/controllers/alchemy/admin/languages_controller.rb +1 -2
  77. data/app/controllers/alchemy/base_controller.rb +4 -2
  78. data/app/controllers/concerns/alchemy/admin/current_language.rb +1 -5
  79. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +1 -1
  80. data/app/controllers/concerns/alchemy/site_redirects.rb +1 -1
  81. data/app/decorators/alchemy/element_editor.rb +0 -2
  82. data/app/helpers/alchemy/admin/attachments_helper.rb +6 -5
  83. data/app/helpers/alchemy/admin/base_helper.rb +17 -12
  84. data/app/helpers/alchemy/admin/ingredients_helper.rb +4 -1
  85. data/app/helpers/alchemy/admin/pages_helper.rb +5 -11
  86. data/app/helpers/alchemy/base_helper.rb +47 -13
  87. data/app/javascript/alchemy_admin/components/alchemy_html_element.js +129 -0
  88. data/app/javascript/alchemy_admin/components/button.js +59 -0
  89. data/app/javascript/alchemy_admin/components/char_counter.js +40 -0
  90. data/app/javascript/alchemy_admin/components/datepicker.js +39 -0
  91. data/app/javascript/alchemy_admin/components/dialog_link.js +45 -0
  92. data/app/javascript/alchemy_admin/components/element_editor/publish_element_button.js +36 -0
  93. data/app/javascript/alchemy_admin/components/element_editor.js +553 -0
  94. data/app/javascript/alchemy_admin/components/ingredient_group.js +54 -0
  95. data/app/javascript/alchemy_admin/components/link_buttons/link_button.js +48 -0
  96. data/app/javascript/alchemy_admin/components/link_buttons/unlink_button.js +38 -0
  97. data/app/javascript/alchemy_admin/components/link_buttons.js +79 -0
  98. data/app/javascript/alchemy_admin/components/node_select.js +45 -0
  99. data/app/javascript/alchemy_admin/components/overlay.js +18 -0
  100. data/app/javascript/alchemy_admin/components/page_select.js +63 -0
  101. data/app/javascript/alchemy_admin/components/remote_select.js +134 -0
  102. data/app/javascript/alchemy_admin/components/select.js +12 -0
  103. data/app/javascript/alchemy_admin/components/spinner.js +31 -0
  104. data/app/javascript/alchemy_admin/components/tinymce.js +146 -0
  105. data/app/javascript/alchemy_admin/components/uploader/file_upload.js +266 -0
  106. data/app/javascript/alchemy_admin/components/uploader/progress.js +258 -0
  107. data/app/javascript/alchemy_admin/components/uploader.js +132 -0
  108. data/app/javascript/alchemy_admin/dirty.js +49 -0
  109. data/app/javascript/alchemy_admin/file_editors.js +1 -1
  110. data/app/javascript/alchemy_admin/gui.js +14 -0
  111. data/app/javascript/alchemy_admin/i18n.js +12 -8
  112. data/app/javascript/alchemy_admin/image_cropper.js +6 -3
  113. data/app/javascript/alchemy_admin/image_loader.js +7 -15
  114. data/app/javascript/alchemy_admin/ingredient_anchor_link.js +2 -5
  115. data/app/javascript/alchemy_admin/initializer.js +65 -0
  116. data/app/javascript/alchemy_admin/locales/en.js +31 -0
  117. data/app/javascript/alchemy_admin/picture_editors.js +2 -2
  118. data/app/javascript/alchemy_admin/picture_selector.js +38 -0
  119. data/app/javascript/alchemy_admin/please_wait_overlay.js +8 -0
  120. data/app/javascript/alchemy_admin/sortable_elements.js +78 -0
  121. data/app/javascript/alchemy_admin/spinner.js +36 -0
  122. data/app/javascript/alchemy_admin/tags_autocomplete.js +46 -0
  123. data/app/javascript/alchemy_admin/utils/ajax.js +6 -5
  124. data/app/javascript/alchemy_admin/utils/dom_helpers.js +20 -0
  125. data/app/javascript/alchemy_admin/utils/format.js +11 -0
  126. data/app/javascript/alchemy_admin/utils/string_conversions.js +10 -0
  127. data/app/javascript/alchemy_admin.js +70 -13
  128. data/app/javascript/menubar.js +10 -0
  129. data/app/models/alchemy/attachment.rb +9 -11
  130. data/app/models/alchemy/element.rb +11 -0
  131. data/app/models/alchemy/ingredients/richtext.rb +1 -10
  132. data/app/models/alchemy/node.rb +4 -0
  133. data/app/models/alchemy/page/page_elements.rb +2 -11
  134. data/app/models/alchemy/page/page_natures.rb +10 -2
  135. data/app/models/alchemy/page.rb +9 -51
  136. data/app/models/alchemy/picture/url.rb +1 -9
  137. data/app/serializers/alchemy/page_tree_serializer.rb +2 -1
  138. data/app/services/alchemy/copy_page.rb +98 -0
  139. data/app/views/alchemy/_menubar.html.erb +17 -13
  140. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +14 -10
  141. data/app/views/alchemy/admin/attachments/_attachment.html.erb +44 -36
  142. data/app/views/alchemy/admin/attachments/_replace_button.html.erb +15 -21
  143. data/app/views/alchemy/admin/attachments/archive_overlay.js.erb +0 -1
  144. data/app/views/alchemy/admin/attachments/assign.js.erb +1 -1
  145. data/app/views/alchemy/admin/attachments/index.html.erb +6 -4
  146. data/app/views/alchemy/admin/attachments/show.html.erb +8 -8
  147. data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
  148. data/app/views/alchemy/admin/clipboard/index.html.erb +3 -7
  149. data/app/views/alchemy/admin/clipboard/insert.js.erb +1 -1
  150. data/app/views/alchemy/admin/crop.html.erb +1 -1
  151. data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +1 -1
  152. data/app/views/alchemy/admin/dashboard/index.html.erb +13 -11
  153. data/app/views/alchemy/admin/dashboard/info.html.erb +7 -7
  154. data/app/views/alchemy/admin/elements/_add_nested_element_form.html.erb +21 -23
  155. data/app/views/alchemy/admin/elements/_element.html.erb +52 -44
  156. data/app/views/alchemy/admin/elements/_footer.html.erb +1 -1
  157. data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
  158. data/app/views/alchemy/admin/elements/_header.html.erb +11 -12
  159. data/app/views/alchemy/admin/elements/_toolbar.html.erb +33 -45
  160. data/app/views/alchemy/admin/elements/create.js.erb +7 -15
  161. data/app/views/alchemy/admin/elements/destroy.js.erb +0 -2
  162. data/app/views/alchemy/admin/elements/index.html.erb +27 -24
  163. data/app/views/alchemy/admin/elements/new.html.erb +9 -11
  164. data/app/views/alchemy/admin/ingredients/_file_fields.html.erb +2 -2
  165. data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +3 -3
  166. data/app/views/alchemy/admin/ingredients/_video_fields.html.erb +1 -2
  167. data/app/views/alchemy/admin/languages/_form.html.erb +2 -3
  168. data/app/views/alchemy/admin/languages/_language.html.erb +15 -8
  169. data/app/views/alchemy/admin/languages/_table.html.erb +1 -0
  170. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +28 -16
  171. data/app/views/alchemy/admin/layoutpages/index.html.erb +2 -2
  172. data/app/views/alchemy/admin/legacy_page_urls/_legacy_page_url.html.erb +12 -8
  173. data/app/views/alchemy/admin/legacy_page_urls/_new.html.erb +1 -1
  174. data/app/views/alchemy/admin/nodes/_form.html.erb +20 -21
  175. data/app/views/alchemy/admin/nodes/_node.html.erb +39 -34
  176. data/app/views/alchemy/admin/nodes/index.html.erb +1 -1
  177. data/app/views/alchemy/admin/pages/_anchor_link.html.erb +4 -4
  178. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +2 -2
  179. data/app/views/alchemy/admin/pages/_current_page.html.erb +1 -1
  180. data/app/views/alchemy/admin/pages/_external_link.html.erb +4 -4
  181. data/app/views/alchemy/admin/pages/_file_link.html.erb +5 -5
  182. data/app/views/alchemy/admin/pages/_form.html.erb +10 -21
  183. data/app/views/alchemy/admin/pages/_internal_link.html.erb +4 -4
  184. data/app/views/alchemy/admin/pages/_locked_page.html.erb +2 -2
  185. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +4 -17
  186. data/app/views/alchemy/admin/pages/_page.html.erb +76 -72
  187. data/app/views/alchemy/admin/pages/_page_infos.html.erb +23 -7
  188. data/app/views/alchemy/admin/pages/_page_layout_filter.html.erb +2 -1
  189. data/app/views/alchemy/admin/pages/_page_status.html.erb +11 -21
  190. data/app/views/alchemy/admin/pages/_publication_fields.html.erb +2 -5
  191. data/app/views/alchemy/admin/pages/_table.html.erb +1 -1
  192. data/app/views/alchemy/admin/pages/_table_row.html.erb +43 -39
  193. data/app/views/alchemy/admin/pages/_toolbar.html.erb +43 -38
  194. data/app/views/alchemy/admin/pages/configure.html.erb +12 -14
  195. data/app/views/alchemy/admin/pages/edit.html.erb +80 -103
  196. data/app/views/alchemy/admin/pages/info.html.erb +20 -11
  197. data/app/views/alchemy/admin/pages/link.html.erb +22 -16
  198. data/app/views/alchemy/admin/pages/new.html.erb +9 -11
  199. data/app/views/alchemy/admin/pages/unlock.js.erb +10 -3
  200. data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +15 -13
  201. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +3 -5
  202. data/app/views/alchemy/admin/partials/_routes.html.erb +10 -2
  203. data/app/views/alchemy/admin/partials/_site_select.html.erb +6 -5
  204. data/app/views/alchemy/admin/partials/_toolbar_button.html.erb +28 -23
  205. data/app/views/alchemy/admin/pictures/_archive.html.erb +5 -5
  206. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +1 -1
  207. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +21 -23
  208. data/app/views/alchemy/admin/pictures/_infos.html.erb +2 -6
  209. data/app/views/alchemy/admin/pictures/_picture.html.erb +15 -17
  210. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +17 -16
  211. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +1 -1
  212. data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +1 -1
  213. data/app/views/alchemy/admin/pictures/assign.js.erb +1 -1
  214. data/app/views/alchemy/admin/pictures/index.html.erb +34 -30
  215. data/app/views/alchemy/admin/pictures/show.html.erb +3 -3
  216. data/app/views/alchemy/admin/resources/_filter.html.erb +2 -2
  217. data/app/views/alchemy/admin/resources/_form.html.erb +2 -2
  218. data/app/views/alchemy/admin/resources/_per_page_select.html.erb +1 -1
  219. data/app/views/alchemy/admin/resources/_resource.html.erb +16 -9
  220. data/app/views/alchemy/admin/resources/_table.html.erb +4 -1
  221. data/app/views/alchemy/admin/resources/index.html.erb +22 -19
  222. data/app/views/alchemy/admin/sites/index.html.erb +2 -1
  223. data/app/views/alchemy/admin/styleguide/index.html.erb +54 -28
  224. data/app/views/alchemy/admin/tags/_tag.html.erb +16 -18
  225. data/app/views/alchemy/admin/tags/index.html.erb +15 -12
  226. data/app/views/alchemy/admin/tinymce/_setup.html.erb +29 -0
  227. data/app/views/alchemy/admin/uploader/_button.html.erb +23 -29
  228. data/app/views/alchemy/admin/uploader/_setup.html.erb +3 -8
  229. data/app/views/alchemy/base/500.html.erb +1 -1
  230. data/app/views/alchemy/base/error_notice.js.erb +0 -1
  231. data/app/views/alchemy/ingredients/_boolean_editor.html.erb +1 -1
  232. data/app/views/alchemy/ingredients/_datetime_editor.html.erb +1 -1
  233. data/app/views/alchemy/ingredients/_file_editor.html.erb +5 -5
  234. data/app/views/alchemy/ingredients/_link_editor.html.erb +1 -1
  235. data/app/views/alchemy/ingredients/_node_editor.html.erb +6 -19
  236. data/app/views/alchemy/ingredients/_page_editor.html.erb +7 -19
  237. data/app/views/alchemy/ingredients/_picture_editor.html.erb +2 -2
  238. data/app/views/alchemy/ingredients/_richtext_editor.html.erb +6 -15
  239. data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
  240. data/app/views/alchemy/ingredients/_text_editor.html.erb +1 -1
  241. data/app/views/alchemy/ingredients/shared/_anchor.html.erb +1 -1
  242. data/app/views/alchemy/ingredients/shared/_link_tools.html.erb +10 -20
  243. data/app/views/alchemy/ingredients/shared/_picture_tools.html.erb +42 -49
  244. data/app/views/kaminari/alchemy/_first_page.html.erb +4 -2
  245. data/app/views/kaminari/alchemy/_gap.html.erb +1 -1
  246. data/app/views/kaminari/alchemy/_last_page.html.erb +4 -2
  247. data/app/views/kaminari/alchemy/_next_page.html.erb +4 -2
  248. data/app/views/kaminari/alchemy/_prev_page.html.erb +4 -2
  249. data/app/views/layouts/alchemy/admin.html.erb +10 -29
  250. data/config/alchemy/modules.yml +30 -30
  251. data/config/importmap.rb +10 -1
  252. data/config/initializers/rails_live_reload.rb +13 -0
  253. data/config/locales/alchemy.en.yml +23 -9
  254. data/config/routes.rb +2 -1
  255. data/lib/alchemy/auth_accessors.rb +6 -1
  256. data/lib/alchemy/controller_actions.rb +17 -4
  257. data/lib/alchemy/dev_support/live_reload_watcher.rb +5 -0
  258. data/lib/alchemy/engine.rb +8 -2
  259. data/lib/alchemy/forms/builder.rb +18 -12
  260. data/lib/alchemy/modules.rb +2 -2
  261. data/lib/alchemy/resources_helper.rb +3 -3
  262. data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
  263. data/lib/alchemy/test_support/rspec_matchers.rb +14 -0
  264. data/lib/alchemy/test_support/shared_uploader_examples.rb +1 -1
  265. data/lib/alchemy/tinymce.rb +8 -3
  266. data/lib/alchemy/version.rb +1 -1
  267. data/package.json +14 -5
  268. data/vendor/assets/fonts/remixicon.eot +0 -0
  269. data/vendor/assets/fonts/remixicon.svg +7816 -0
  270. data/vendor/assets/fonts/remixicon.ttf +0 -0
  271. data/vendor/assets/fonts/remixicon.woff +0 -0
  272. data/vendor/assets/fonts/remixicon.woff2 +0 -0
  273. data/vendor/assets/stylesheets/remixicon.scss +10480 -0
  274. metadata +85 -97
  275. data/.gem_release.yml +0 -9
  276. data/app/assets/javascripts/alchemy/alchemy.autocomplete.js.coffee +0 -30
  277. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +0 -53
  278. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +0 -45
  279. data/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee +0 -19
  280. data/app/assets/javascripts/alchemy/alchemy.dirty.js.coffee +0 -59
  281. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee +0 -79
  282. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +0 -267
  283. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +0 -27
  284. data/app/assets/javascripts/alchemy/alchemy.spinner.js +0 -32
  285. data/app/assets/javascripts/alchemy/alchemy.tooltips.coffee +0 -10
  286. data/app/assets/javascripts/alchemy/alchemy.uploader.js.coffee +0 -131
  287. data/app/assets/javascripts/alchemy/menubar.js.coffee +0 -8
  288. data/app/assets/javascripts/alchemy/node_select.js +0 -39
  289. data/app/assets/javascripts/alchemy/page_select.js +0 -46
  290. data/app/assets/javascripts/alchemy/templates/node.hbs +0 -16
  291. data/app/assets/javascripts/alchemy/templates/spinner.hbs +0 -7
  292. data/app/assets/stylesheets/alchemy/jquery-ui.scss +0 -435
  293. data/app/javascript/alchemy_admin/datepicker.js +0 -40
  294. data/app/javascript/alchemy_admin/tinymce.js +0 -146
  295. data/app/javascript/alchemy_admin/translations.js +0 -32
  296. data/app/views/alchemy/admin/elements/fold.js.erb +0 -33
  297. data/app/views/alchemy/admin/elements/order.js.erb +0 -11
  298. data/app/views/alchemy/admin/elements/publish.js.erb +0 -21
  299. data/app/views/alchemy/admin/elements/update.js.erb +0 -27
  300. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  301. data/vendor/assets/fonts/fa-regular-400.svg +0 -803
  302. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  303. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  304. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  305. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  306. data/vendor/assets/fonts/fa-solid-900.svg +0 -4938
  307. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  308. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  309. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  310. data/vendor/assets/javascripts/fileupload/jquery.fileupload-process.js +0 -178
  311. data/vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js +0 -125
  312. data/vendor/assets/javascripts/fileupload/jquery.fileupload.js +0 -1502
  313. data/vendor/assets/javascripts/fileupload/jquery.iframe-transport.js +0 -224
  314. data/vendor/assets/javascripts/jquery-ui/data.js +0 -45
  315. data/vendor/assets/javascripts/jquery-ui/ie.js +0 -20
  316. data/vendor/assets/javascripts/jquery-ui/keycode.js +0 -51
  317. data/vendor/assets/javascripts/jquery-ui/plugin.js +0 -49
  318. data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
  319. data/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -27
  320. data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -50
  321. data/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -54
  322. data/vendor/assets/javascripts/jquery-ui/version.js +0 -20
  323. data/vendor/assets/javascripts/jquery-ui/widget.js +0 -754
  324. data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1268
  325. data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -241
  326. data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1623
  327. data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
  328. data/vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js +0 -7
  329. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js +0 -296
  330. data/vendor/assets/stylesheets/fontawesome/_animated.scss +0 -20
  331. data/vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss +0 -20
  332. data/vendor/assets/stylesheets/fontawesome/_core.scss +0 -21
  333. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +0 -6
  334. data/vendor/assets/stylesheets/fontawesome/_icons.scss +0 -1441
  335. data/vendor/assets/stylesheets/fontawesome/_larger.scss +0 -23
  336. data/vendor/assets/stylesheets/fontawesome/_list.scss +0 -18
  337. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +0 -56
  338. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +0 -24
  339. data/vendor/assets/stylesheets/fontawesome/_screen-reader.scss +0 -5
  340. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +0 -31
  341. data/vendor/assets/stylesheets/fontawesome/_variables.scss +0 -1458
  342. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +0 -16
  343. data/vendor/assets/stylesheets/fontawesome/regular.scss +0 -23
  344. data/vendor/assets/stylesheets/fontawesome/solid.scss +0 -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: 7.0.12
4
+ version: 7.1.0.pre.b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2024-04-12 00:00:00.000000000 Z
16
+ date: 2023-12-28 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: '6.1'
24
+ version: '7.0'
25
25
  - - "<"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '7.2'
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '6.1'
34
+ version: '7.0'
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
37
  version: '7.2'
@@ -41,7 +41,7 @@ dependencies:
41
41
  requirements:
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: '6.1'
44
+ version: '7.0'
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '7.2'
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '6.1'
54
+ version: '7.0'
55
55
  - - "<"
56
56
  - !ruby/object:Gem::Version
57
57
  version: '7.2'
@@ -61,7 +61,7 @@ dependencies:
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: '6.1'
64
+ version: '7.0'
65
65
  - - "<"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '7.2'
@@ -71,7 +71,7 @@ dependencies:
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: '6.1'
74
+ version: '7.0'
75
75
  - - "<"
76
76
  - !ruby/object:Gem::Version
77
77
  version: '7.2'
@@ -81,7 +81,7 @@ dependencies:
81
81
  requirements:
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: '6.1'
84
+ version: '7.0'
85
85
  - - "<"
86
86
  - !ruby/object:Gem::Version
87
87
  version: '7.2'
@@ -91,7 +91,7 @@ dependencies:
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: '6.1'
94
+ version: '7.0'
95
95
  - - "<"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '7.2'
@@ -101,7 +101,7 @@ dependencies:
101
101
  requirements:
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: '6.1'
104
+ version: '7.0'
105
105
  - - "<"
106
106
  - !ruby/object:Gem::Version
107
107
  version: '7.2'
@@ -111,7 +111,7 @@ dependencies:
111
111
  requirements:
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: '6.1'
114
+ version: '7.0'
115
115
  - - "<"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '7.2'
@@ -121,7 +121,7 @@ dependencies:
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: '6.1'
124
+ version: '7.0'
125
125
  - - "<"
126
126
  - !ruby/object:Gem::Version
127
127
  version: '7.2'
@@ -131,7 +131,7 @@ dependencies:
131
131
  requirements:
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: '6.1'
134
+ version: '7.0'
135
135
  - - "<"
136
136
  - !ruby/object:Gem::Version
137
137
  version: '7.2'
@@ -141,7 +141,7 @@ dependencies:
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '6.1'
144
+ version: '7.0'
145
145
  - - "<"
146
146
  - !ruby/object:Gem::Version
147
147
  version: '7.2'
@@ -151,7 +151,7 @@ dependencies:
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: '6.1'
154
+ version: '7.0'
155
155
  - - "<"
156
156
  - !ruby/object:Gem::Version
157
157
  version: '7.2'
@@ -161,7 +161,7 @@ dependencies:
161
161
  requirements:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- version: '6.1'
164
+ version: '7.0'
165
165
  - - "<"
166
166
  - !ruby/object:Gem::Version
167
167
  version: '7.2'
@@ -171,7 +171,7 @@ dependencies:
171
171
  requirements:
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: '6.1'
174
+ version: '7.0'
175
175
  - - "<"
176
176
  - !ruby/object:Gem::Version
177
177
  version: '7.2'
@@ -508,9 +508,6 @@ dependencies:
508
508
  - - ">="
509
509
  - !ruby/object:Gem::Version
510
510
  version: '1.4'
511
- - - "<"
512
- - !ruby/object:Gem::Version
513
- version: '2'
514
511
  type: :runtime
515
512
  prerelease: false
516
513
  version_requirements: !ruby/object:Gem::Requirement
@@ -518,9 +515,6 @@ dependencies:
518
515
  - - ">="
519
516
  - !ruby/object:Gem::Version
520
517
  version: '1.4'
521
- - - "<"
522
- - !ruby/object:Gem::Version
523
- version: '2'
524
518
  - !ruby/object:Gem::Dependency
525
519
  name: view_component
526
520
  requirement: !ruby/object:Gem::Requirement
@@ -563,6 +557,20 @@ dependencies:
563
557
  - - "~>"
564
558
  - !ruby/object:Gem::Version
565
559
  version: '1.0'
560
+ - !ruby/object:Gem::Dependency
561
+ name: capybara-shadowdom
562
+ requirement: !ruby/object:Gem::Requirement
563
+ requirements:
564
+ - - "~>"
565
+ - !ruby/object:Gem::Version
566
+ version: '0.3'
567
+ type: :development
568
+ prerelease: false
569
+ version_requirements: !ruby/object:Gem::Requirement
570
+ requirements:
571
+ - - "~>"
572
+ - !ruby/object:Gem::Version
573
+ version: '0.3'
566
574
  - !ruby/object:Gem::Dependency
567
575
  name: factory_bot_rails
568
576
  requirement: !ruby/object:Gem::Requirement
@@ -681,14 +689,14 @@ dependencies:
681
689
  requirements:
682
690
  - - "~>"
683
691
  - !ruby/object:Gem::Version
684
- version: '5.0'
692
+ version: '6.0'
685
693
  type: :development
686
694
  prerelease: false
687
695
  version_requirements: !ruby/object:Gem::Requirement
688
696
  requirements:
689
697
  - - "~>"
690
698
  - !ruby/object:Gem::Version
691
- version: '5.0'
699
+ version: '6.0'
692
700
  - !ruby/object:Gem::Dependency
693
701
  name: timecop
694
702
  requirement: !ruby/object:Gem::Requirement
@@ -712,11 +720,11 @@ extra_rdoc_files: []
712
720
  files:
713
721
  - ".codeclimate.yml"
714
722
  - ".editorconfig"
715
- - ".gem_release.yml"
716
723
  - ".github/FUNDING.yml"
717
724
  - ".github/ISSUE_TEMPLATE/Bug_report.md"
718
725
  - ".github/ISSUE_TEMPLATE/Feature_request.md"
719
726
  - ".github/PULL_REQUEST_TEMPLATE.md"
727
+ - ".github/workflows/backport.yml"
720
728
  - ".github/workflows/brakeman-analysis.yml"
721
729
  - ".github/workflows/lint.yml"
722
730
  - ".github/workflows/stale.yml"
@@ -747,20 +755,12 @@ files:
747
755
  - app/assets/images/alchemy/lupe.cur
748
756
  - app/assets/images/alchemy/missing-image.svg
749
757
  - app/assets/javascripts/alchemy/admin.js
750
- - app/assets/javascripts/alchemy/alchemy.autocomplete.js.coffee
751
- - app/assets/javascripts/alchemy/alchemy.base.js.coffee
752
- - app/assets/javascripts/alchemy/alchemy.buttons.js.coffee
753
- - app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee
754
758
  - app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee
755
759
  - app/assets/javascripts/alchemy/alchemy.dialog.js.coffee
756
- - app/assets/javascripts/alchemy/alchemy.dirty.js.coffee
757
- - app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee
758
- - app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee
759
760
  - app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee
760
761
  - app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee
761
762
  - app/assets/javascripts/alchemy/alchemy.fixed_elements.js
762
763
  - app/assets/javascripts/alchemy/alchemy.growler.js.coffee
763
- - app/assets/javascripts/alchemy/alchemy.gui.js.coffee
764
764
  - app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee
765
765
  - app/assets/javascripts/alchemy/alchemy.image_overlay.coffee
766
766
  - app/assets/javascripts/alchemy/alchemy.initializer.js.coffee
@@ -768,21 +768,14 @@ files:
768
768
  - app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee
769
769
  - app/assets/javascripts/alchemy/alchemy.preview.js.coffee
770
770
  - app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee
771
- - app/assets/javascripts/alchemy/alchemy.spinner.js
772
771
  - app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee
773
- - app/assets/javascripts/alchemy/alchemy.tooltips.coffee
774
- - app/assets/javascripts/alchemy/alchemy.uploader.js.coffee
775
- - app/assets/javascripts/alchemy/menubar.js.coffee
776
- - app/assets/javascripts/alchemy/node_select.js
777
- - app/assets/javascripts/alchemy/page_select.js
778
772
  - app/assets/javascripts/alchemy/preview.js
779
773
  - app/assets/javascripts/alchemy/templates/index.js
780
- - app/assets/javascripts/alchemy/templates/node.hbs
781
774
  - app/assets/javascripts/alchemy/templates/node_folder.hbs
782
775
  - app/assets/javascripts/alchemy/templates/page.hbs
783
776
  - app/assets/javascripts/alchemy/templates/page_folder.hbs
784
- - app/assets/javascripts/alchemy/templates/spinner.hbs
785
777
  - app/assets/javascripts/tinymce/plugins/alchemy_link/plugin.min.js
778
+ - app/assets/stylesheets/alchemy/_custom-properties.scss
786
779
  - app/assets/stylesheets/alchemy/_defaults.scss
787
780
  - app/assets/stylesheets/alchemy/_extends.scss
788
781
  - app/assets/stylesheets/alchemy/_mixins.scss
@@ -808,7 +801,6 @@ files:
808
801
  - app/assets/stylesheets/alchemy/icons.scss
809
802
  - app/assets/stylesheets/alchemy/image_library.scss
810
803
  - app/assets/stylesheets/alchemy/images.scss
811
- - app/assets/stylesheets/alchemy/jquery-ui.scss
812
804
  - app/assets/stylesheets/alchemy/labels.scss
813
805
  - app/assets/stylesheets/alchemy/lists.scss
814
806
  - app/assets/stylesheets/alchemy/menubar.scss
@@ -823,6 +815,7 @@ files:
823
815
  - app/assets/stylesheets/alchemy/resource_info.scss
824
816
  - app/assets/stylesheets/alchemy/search.scss
825
817
  - app/assets/stylesheets/alchemy/selects.scss
818
+ - app/assets/stylesheets/alchemy/shoelace.scss
826
819
  - app/assets/stylesheets/alchemy/sitemap.scss
827
820
  - app/assets/stylesheets/alchemy/spinner.scss
828
821
  - app/assets/stylesheets/alchemy/tables.scss
@@ -843,6 +836,8 @@ files:
843
836
  - app/assets/stylesheets/tinymce/skins/alchemy/img/object.gif
844
837
  - app/assets/stylesheets/tinymce/skins/alchemy/img/trans.gif
845
838
  - app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss
839
+ - app/components/alchemy/admin/node_select.rb
840
+ - app/components/alchemy/admin/page_select.rb
846
841
  - app/components/alchemy/ingredients/audio_view.rb
847
842
  - app/components/alchemy/ingredients/base_view.rb
848
843
  - app/components/alchemy/ingredients/boolean_view.rb
@@ -907,21 +902,52 @@ files:
907
902
  - app/helpers/alchemy/pages_helper.rb
908
903
  - app/helpers/alchemy/url_helper.rb
909
904
  - app/javascript/alchemy_admin.js
910
- - app/javascript/alchemy_admin/datepicker.js
905
+ - app/javascript/alchemy_admin/components/alchemy_html_element.js
906
+ - app/javascript/alchemy_admin/components/button.js
907
+ - app/javascript/alchemy_admin/components/char_counter.js
908
+ - app/javascript/alchemy_admin/components/datepicker.js
909
+ - app/javascript/alchemy_admin/components/dialog_link.js
910
+ - app/javascript/alchemy_admin/components/element_editor.js
911
+ - app/javascript/alchemy_admin/components/element_editor/publish_element_button.js
912
+ - app/javascript/alchemy_admin/components/ingredient_group.js
913
+ - app/javascript/alchemy_admin/components/link_buttons.js
914
+ - app/javascript/alchemy_admin/components/link_buttons/link_button.js
915
+ - app/javascript/alchemy_admin/components/link_buttons/unlink_button.js
916
+ - app/javascript/alchemy_admin/components/node_select.js
917
+ - app/javascript/alchemy_admin/components/overlay.js
918
+ - app/javascript/alchemy_admin/components/page_select.js
919
+ - app/javascript/alchemy_admin/components/remote_select.js
920
+ - app/javascript/alchemy_admin/components/select.js
921
+ - app/javascript/alchemy_admin/components/spinner.js
922
+ - app/javascript/alchemy_admin/components/tinymce.js
923
+ - app/javascript/alchemy_admin/components/uploader.js
924
+ - app/javascript/alchemy_admin/components/uploader/file_upload.js
925
+ - app/javascript/alchemy_admin/components/uploader/progress.js
926
+ - app/javascript/alchemy_admin/dirty.js
911
927
  - app/javascript/alchemy_admin/file_editors.js
928
+ - app/javascript/alchemy_admin/gui.js
912
929
  - app/javascript/alchemy_admin/i18n.js
913
930
  - app/javascript/alchemy_admin/image_cropper.js
914
931
  - app/javascript/alchemy_admin/image_loader.js
915
932
  - app/javascript/alchemy_admin/ingredient_anchor_link.js
933
+ - app/javascript/alchemy_admin/initializer.js
934
+ - app/javascript/alchemy_admin/locales/en.js
916
935
  - app/javascript/alchemy_admin/node_tree.js
917
936
  - app/javascript/alchemy_admin/page_publication_fields.js
918
937
  - app/javascript/alchemy_admin/page_sorter.js
919
938
  - app/javascript/alchemy_admin/picture_editors.js
939
+ - app/javascript/alchemy_admin/picture_selector.js
940
+ - app/javascript/alchemy_admin/please_wait_overlay.js
920
941
  - app/javascript/alchemy_admin/sitemap.js
921
- - app/javascript/alchemy_admin/tinymce.js
922
- - app/javascript/alchemy_admin/translations.js
942
+ - app/javascript/alchemy_admin/sortable_elements.js
943
+ - app/javascript/alchemy_admin/spinner.js
944
+ - app/javascript/alchemy_admin/tags_autocomplete.js
923
945
  - app/javascript/alchemy_admin/utils/ajax.js
946
+ - app/javascript/alchemy_admin/utils/dom_helpers.js
924
947
  - app/javascript/alchemy_admin/utils/events.js
948
+ - app/javascript/alchemy_admin/utils/format.js
949
+ - app/javascript/alchemy_admin/utils/string_conversions.js
950
+ - app/javascript/menubar.js
925
951
  - app/jobs/alchemy/base_job.rb
926
952
  - app/jobs/alchemy/publish_page_job.rb
927
953
  - app/mailers/alchemy/base_mailer.rb
@@ -997,6 +1023,7 @@ files:
997
1023
  - app/serializers/alchemy/page_serializer.rb
998
1024
  - app/serializers/alchemy/page_tree_serializer.rb
999
1025
  - app/serializers/alchemy/picture_serializer.rb
1026
+ - app/services/alchemy/copy_page.rb
1000
1027
  - app/services/alchemy/delete_elements.rb
1001
1028
  - app/services/alchemy/duplicate_element.rb
1002
1029
  - app/services/alchemy/tag_validations.rb
@@ -1036,12 +1063,8 @@ files:
1036
1063
  - app/views/alchemy/admin/elements/_toolbar.html.erb
1037
1064
  - app/views/alchemy/admin/elements/create.js.erb
1038
1065
  - app/views/alchemy/admin/elements/destroy.js.erb
1039
- - app/views/alchemy/admin/elements/fold.js.erb
1040
1066
  - app/views/alchemy/admin/elements/index.html.erb
1041
1067
  - app/views/alchemy/admin/elements/new.html.erb
1042
- - app/views/alchemy/admin/elements/order.js.erb
1043
- - app/views/alchemy/admin/elements/publish.js.erb
1044
- - app/views/alchemy/admin/elements/update.js.erb
1045
1068
  - app/views/alchemy/admin/ingredients/_audio_fields.html.erb
1046
1069
  - app/views/alchemy/admin/ingredients/_dom_id_fields.html.erb
1047
1070
  - app/views/alchemy/admin/ingredients/_file_fields.html.erb
@@ -1153,6 +1176,7 @@ files:
1153
1176
  - app/views/alchemy/admin/tags/edit.html.erb
1154
1177
  - app/views/alchemy/admin/tags/index.html.erb
1155
1178
  - app/views/alchemy/admin/tags/new.html.erb
1179
+ - app/views/alchemy/admin/tinymce/_setup.html.erb
1156
1180
  - app/views/alchemy/admin/uploader/_button.html.erb
1157
1181
  - app/views/alchemy/admin/uploader/_setup.html.erb
1158
1182
  - app/views/alchemy/attachments/show.html.erb
@@ -1232,6 +1256,7 @@ files:
1232
1256
  - config/initializers/dragonfly.rb
1233
1257
  - config/initializers/mime_types.rb
1234
1258
  - config/initializers/mini_profiler.rb
1259
+ - config/initializers/rails_live_reload.rb
1235
1260
  - config/initializers/simple_form.rb
1236
1261
  - config/locales/alchemy.en.yml
1237
1262
  - config/routes.rb
@@ -1250,6 +1275,7 @@ files:
1250
1275
  - lib/alchemy/configuration_methods.rb
1251
1276
  - lib/alchemy/controller_actions.rb
1252
1277
  - lib/alchemy/deprecation.rb
1278
+ - lib/alchemy/dev_support/live_reload_watcher.rb
1253
1279
  - lib/alchemy/dragonfly/processors/auto_orient.rb
1254
1280
  - lib/alchemy/dragonfly/processors/crop_resize.rb
1255
1281
  - lib/alchemy/dragonfly/processors/thumbnail.rb
@@ -1300,6 +1326,7 @@ files:
1300
1326
  - lib/alchemy/test_support/having_crop_action_examples.rb
1301
1327
  - lib/alchemy/test_support/having_picture_thumbnails_examples.rb
1302
1328
  - lib/alchemy/test_support/integration_helpers.rb
1329
+ - lib/alchemy/test_support/rspec_matchers.rb
1303
1330
  - lib/alchemy/test_support/shared_contexts.rb
1304
1331
  - lib/alchemy/test_support/shared_dom_ids_examples.rb
1305
1332
  - lib/alchemy/test_support/shared_ingredient_editor_examples.rb
@@ -1361,61 +1388,22 @@ files:
1361
1388
  - lib/tasks/alchemy/upgrade.rake
1362
1389
  - lib/tasks/alchemy/usage.rake
1363
1390
  - package.json
1364
- - vendor/assets/fonts/fa-regular-400.eot
1365
- - vendor/assets/fonts/fa-regular-400.svg
1366
- - vendor/assets/fonts/fa-regular-400.ttf
1367
- - vendor/assets/fonts/fa-regular-400.woff
1368
- - vendor/assets/fonts/fa-regular-400.woff2
1369
- - vendor/assets/fonts/fa-solid-900.eot
1370
- - vendor/assets/fonts/fa-solid-900.svg
1371
- - vendor/assets/fonts/fa-solid-900.ttf
1372
- - vendor/assets/fonts/fa-solid-900.woff
1373
- - vendor/assets/fonts/fa-solid-900.woff2
1391
+ - vendor/assets/fonts/remixicon.eot
1392
+ - vendor/assets/fonts/remixicon.svg
1393
+ - vendor/assets/fonts/remixicon.ttf
1394
+ - vendor/assets/fonts/remixicon.woff
1395
+ - vendor/assets/fonts/remixicon.woff2
1374
1396
  - vendor/assets/images/Jcrop.gif
1375
1397
  - vendor/assets/javascripts/clipboard.min.js
1376
- - vendor/assets/javascripts/fileupload/jquery.fileupload-process.js
1377
- - vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js
1378
- - vendor/assets/javascripts/fileupload/jquery.fileupload.js
1379
- - vendor/assets/javascripts/fileupload/jquery.iframe-transport.js
1380
- - vendor/assets/javascripts/jquery-ui/data.js
1381
- - vendor/assets/javascripts/jquery-ui/ie.js
1382
- - vendor/assets/javascripts/jquery-ui/keycode.js
1383
- - vendor/assets/javascripts/jquery-ui/plugin.js
1384
- - vendor/assets/javascripts/jquery-ui/safe-active-element.js
1385
- - vendor/assets/javascripts/jquery-ui/safe-blur.js
1386
- - vendor/assets/javascripts/jquery-ui/scroll-parent.js
1387
- - vendor/assets/javascripts/jquery-ui/unique-id.js
1388
- - vendor/assets/javascripts/jquery-ui/version.js
1389
- - vendor/assets/javascripts/jquery-ui/widget.js
1390
- - vendor/assets/javascripts/jquery-ui/widgets/draggable.js
1391
- - vendor/assets/javascripts/jquery-ui/widgets/mouse.js
1392
- - vendor/assets/javascripts/jquery-ui/widgets/sortable.js
1393
- - vendor/assets/javascripts/jquery-ui/widgets/tabs.js
1394
1398
  - vendor/assets/javascripts/jquery_plugins/jquery.Jcrop.min.js
1395
- - vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js
1396
- - vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js
1397
1399
  - vendor/assets/javascripts/jquery_plugins/select2.js
1398
1400
  - vendor/assets/javascripts/keymaster.js
1399
1401
  - vendor/assets/javascripts/requestAnimationFrame.js
1400
1402
  - vendor/assets/javascripts/tinymce/license.txt
1401
1403
  - vendor/assets/javascripts/tinymce/tinymce.min.js
1402
1404
  - vendor/assets/stylesheets/alchemy_admin/select2.scss
1403
- - vendor/assets/stylesheets/fontawesome/_animated.scss
1404
- - vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss
1405
- - vendor/assets/stylesheets/fontawesome/_core.scss
1406
- - vendor/assets/stylesheets/fontawesome/_fixed-width.scss
1407
- - vendor/assets/stylesheets/fontawesome/_icons.scss
1408
- - vendor/assets/stylesheets/fontawesome/_larger.scss
1409
- - vendor/assets/stylesheets/fontawesome/_list.scss
1410
- - vendor/assets/stylesheets/fontawesome/_mixins.scss
1411
- - vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss
1412
- - vendor/assets/stylesheets/fontawesome/_screen-reader.scss
1413
- - vendor/assets/stylesheets/fontawesome/_stacked.scss
1414
- - vendor/assets/stylesheets/fontawesome/_variables.scss
1415
- - vendor/assets/stylesheets/fontawesome/fontawesome.scss
1416
- - vendor/assets/stylesheets/fontawesome/regular.scss
1417
- - vendor/assets/stylesheets/fontawesome/solid.scss
1418
1405
  - vendor/assets/stylesheets/jquery.Jcrop.min.scss
1406
+ - vendor/assets/stylesheets/remixicon.scss
1419
1407
  homepage: https://alchemy-cms.com
1420
1408
  licenses:
1421
1409
  - BSD New
@@ -1456,7 +1444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1456
1444
  version: '0'
1457
1445
  requirements:
1458
1446
  - ImageMagick (libmagick), v6.6 or greater.
1459
- rubygems_version: 3.4.19
1447
+ rubygems_version: 3.5.3
1460
1448
  signing_key:
1461
1449
  specification_version: 4
1462
1450
  summary: A powerful, userfriendly and flexible CMS for Rails
data/.gem_release.yml DELETED
@@ -1,9 +0,0 @@
1
- bump:
2
- file: lib/alchemy/version.rb
3
- remote: upstream
4
- version: patch
5
- tag:
6
- remote: upstream
7
- release:
8
- github: true
9
- repo: AlchemyCMS/alchemy_cms
@@ -1,30 +0,0 @@
1
- window.Alchemy = {} if typeof(window.Alchemy) is 'undefined'
2
-
3
- Alchemy.Autocomplete =
4
-
5
- tags: (scope) ->
6
- field = $('[data-autocomplete]', scope)
7
- url = field.data('autocomplete')
8
- field.select2
9
- tags: true
10
- tokenSeparators: [","]
11
- minimumInputLength: 1
12
- openOnEnter: false
13
- createSearchChoice: @_createResultItem
14
- ajax:
15
- url: url
16
- dataType: 'json'
17
- data: (term, page) -> term: term
18
- results: (data, page) -> results: data
19
- initSelection: @_initializeSelection
20
-
21
- _createResultItem: (term, data) ->
22
- if $(data).filter(-> @text.localeCompare(term) is 0).length is 0
23
- id: term
24
- text: term
25
-
26
- _initializeSelection: (element, callback) ->
27
- data = []
28
- $(element.val().split(",")).each ->
29
- data.push id: $.trim(this), text: this
30
- callback(data)
@@ -1,53 +0,0 @@
1
- window.Alchemy = {} if typeof(window.Alchemy) is 'undefined'
2
-
3
- # Setting jQueryUIs global animation duration to something more snappy
4
- $.fx.speeds._default = 400
5
-
6
- # The Alchemy object contains all base functions, that don't fit in its own module.
7
- # All other modules uses this global Alchemy object as namespace.
8
- $.extend Alchemy,
9
-
10
- # Multiple picture select handler for the picture archive.
11
- pictureSelector: ->
12
- $selected_item_tools = $(".selected_item_tools")
13
- $picture_selects = $(".picture_tool.select input")
14
- $picture_selects.on "change", ->
15
- if $picture_selects.filter(":checked").size() > 0
16
- $selected_item_tools.show()
17
- else
18
- $selected_item_tools.hide()
19
- if @checked
20
- $(this).parent().addClass("visible").removeClass "hidden"
21
- else
22
- $(this).parent().removeClass("visible").addClass "hidden"
23
- return
24
- $("a#edit_multiple_pictures").on "click", (e) ->
25
- $this = $(this)
26
- picture_ids = $("input:checkbox", "#picture_archive").serialize()
27
- url = $this.attr("href") + "?" + picture_ids
28
- Alchemy.openDialog url, {title: $this.attr("title"), size: '400x295'}
29
- false
30
- return
31
-
32
- # To show the "Please wait" overlay.
33
- # Pass false to hide it.
34
- pleaseWaitOverlay: (show = true) ->
35
- $overlay = $('#overlay')
36
- if show
37
- spinner = new Alchemy.Spinner('medium')
38
- spinner.spin $overlay
39
- $overlay.show()
40
- else
41
- $overlay.find('.spinner').remove()
42
- $overlay.hide()
43
- return
44
-
45
- # Initializes all select tag with .alchemy_selectbox class as select2 instance
46
- # Pass a jQuery scope to only init a subset of selectboxes.
47
- SelectBox: (scope) ->
48
- $("select.alchemy_selectbox", scope).select2
49
- minimumResultsForSearch: 7
50
- dropdownAutoWidth: true
51
- return
52
-
53
-
@@ -1,45 +0,0 @@
1
- window.Alchemy = {} if typeof(window.Alchemy) is 'undefined'
2
-
3
- Alchemy.Buttons =
4
-
5
- observe: (scope) ->
6
- $('form', scope).not('.button_with_label form').on 'submit', (event) ->
7
- $form = $(this)
8
- $btn = $form.find(':submit')
9
- $outside_button = $('[data-alchemy-button][form="'+$form.attr('id')+'"]')
10
-
11
- if ($btn.attr('disabled') == 'disabled') || ($outside_button.attr('disabled') == 'disabled')
12
- event.preventDefault()
13
- event.stopPropagation()
14
- false
15
- else
16
- Alchemy.Buttons.disable($btn)
17
- if $outside_button
18
- Alchemy.Buttons.disable($outside_button)
19
- true
20
-
21
- disable: (button) ->
22
- $button = $(button)
23
- spinner = new Alchemy.Spinner('small')
24
- $button.data('content', $button.html())
25
- $button.attr('disabled', true)
26
- $button.attr('tabindex', '-1')
27
- $button.addClass('disabled')
28
- $button.css
29
- width: $button.outerWidth()
30
- height: $button.outerHeight()
31
- $button.empty()
32
- spinner.spin($button)
33
- return true
34
-
35
- enable: (scope) ->
36
- $buttons = $('form :submit:disabled, [data-alchemy-button].disabled', scope)
37
- $.each $buttons, ->
38
- $button = $(this)
39
- $button.removeClass('disabled')
40
- $button.removeAttr('disabled')
41
- $button.removeAttr('tabindex')
42
- $button.css("width", "")
43
- $button.css("height", "")
44
- $button.html($button.data('content'))
45
- return true
@@ -1,19 +0,0 @@
1
- class window.Alchemy.CharCounter
2
-
3
- constructor: (field) ->
4
- @$field = $(field)
5
- @max_chars = @$field.data('alchemy-char-counter')
6
- @text = Alchemy.t('allowed_chars', @max_chars)
7
- @$display = $('<small class="alchemy-char-counter"/>')
8
- @$field.after(@$display)
9
- countChars.call(this)
10
- @$field.keyup =>
11
- countChars.call(this)
12
- true
13
-
14
- countChars = ->
15
- char_length = @$field.val().length
16
- @$display.removeClass('too-long')
17
- @$display.text("#{char_length} #{@text}")
18
- if char_length > @max_chars
19
- @$display.addClass('too-long')