alchemy_cms 7.2.9 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +97 -29
  3. data/Gemfile +3 -11
  4. data/Rakefile +1 -0
  5. data/alchemy_cms.gemspec +7 -7
  6. data/app/assets/builds/alchemy/admin/print.css +1 -0
  7. data/app/assets/builds/alchemy/admin/print.css.map +1 -0
  8. data/app/assets/builds/alchemy/admin.css +1 -0
  9. data/app/assets/builds/alchemy/admin.css.map +1 -0
  10. data/app/assets/builds/alchemy/welcome.css +1 -0
  11. data/app/assets/builds/alchemy/welcome.css.map +1 -0
  12. data/app/assets/builds/tinymce/skins/content/alchemy/content.css +1 -0
  13. data/app/assets/builds/tinymce/skins/content/alchemy/content.css.map +1 -0
  14. data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css +1 -0
  15. data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css.map +1 -0
  16. data/app/assets/builds/tinymce/skins/ui/alchemy/skin.css +1 -0
  17. data/app/assets/builds/tinymce/skins/ui/alchemy/skin.css.map +1 -0
  18. data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css +1 -0
  19. data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css.map +1 -0
  20. data/app/assets/config/alchemy_manifest.js +1 -5
  21. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +4 -0
  22. data/app/assets/stylesheets/alchemy/{_custom-properties.scss → _custom-properties.css} +28 -25
  23. data/app/assets/stylesheets/alchemy/_deprecated_variables.scss +41 -0
  24. data/app/assets/stylesheets/alchemy/_deprecation.scss +17 -0
  25. data/app/assets/stylesheets/alchemy/_extends.scss +1 -1
  26. data/app/assets/stylesheets/alchemy/_mixins.scss +20 -23
  27. data/app/assets/stylesheets/alchemy/_variables.scss +98 -94
  28. data/app/assets/stylesheets/alchemy/{archive.scss → admin/archive.scss} +23 -23
  29. data/app/assets/stylesheets/alchemy/{attachment-select.scss → admin/attachment-select.scss} +2 -2
  30. data/app/assets/stylesheets/alchemy/{attachments.scss → admin/attachments.scss} +4 -4
  31. data/app/assets/stylesheets/alchemy/{base.scss → admin/base.scss} +9 -9
  32. data/app/assets/stylesheets/alchemy/{buttons.scss → admin/buttons.scss} +3 -3
  33. data/app/assets/stylesheets/alchemy/{clipboard.scss → admin/clipboard.scss} +9 -6
  34. data/app/assets/stylesheets/alchemy/{dashboard.scss → admin/dashboard.scss} +8 -8
  35. data/app/assets/stylesheets/alchemy/{dialogs.scss → admin/dialogs.scss} +20 -20
  36. data/app/assets/stylesheets/alchemy/{elements.scss → admin/elements.scss} +129 -89
  37. data/app/assets/stylesheets/alchemy/{errors.scss → admin/errors.scss} +22 -6
  38. data/app/assets/stylesheets/alchemy/{flash.scss → admin/flash.scss} +3 -3
  39. data/app/assets/stylesheets/alchemy/{flatpickr.scss → admin/flatpickr.scss} +55 -35
  40. data/app/assets/stylesheets/alchemy/{form_fields.scss → admin/form_fields.scss} +8 -6
  41. data/app/assets/stylesheets/alchemy/{forms.scss → admin/forms.scss} +20 -16
  42. data/app/assets/stylesheets/alchemy/{frame.scss → admin/frame.scss} +9 -9
  43. data/app/assets/stylesheets/alchemy/{image_library.scss → admin/image_library.scss} +34 -33
  44. data/app/assets/stylesheets/alchemy/admin/labels.scss +3 -0
  45. data/app/assets/stylesheets/alchemy/{list_filter.scss → admin/list_filter.scss} +4 -4
  46. data/app/assets/stylesheets/alchemy/{lists.scss → admin/lists.scss} +9 -7
  47. data/app/assets/stylesheets/alchemy/{navigation.scss → admin/navigation.scss} +17 -17
  48. data/app/assets/stylesheets/alchemy/{node-select.scss → admin/node-select.scss} +5 -5
  49. data/app/assets/stylesheets/alchemy/{nodes.scss → admin/nodes.scss} +11 -11
  50. data/app/assets/stylesheets/alchemy/{notices.scss → admin/notices.scss} +11 -7
  51. data/app/assets/stylesheets/alchemy/{page-select.scss → admin/page-select.scss} +10 -10
  52. data/app/assets/stylesheets/alchemy/{pagination.scss → admin/pagination.scss} +10 -10
  53. data/app/assets/stylesheets/alchemy/{print.scss → admin/print.scss} +2 -6
  54. data/app/assets/stylesheets/alchemy/{resource_info.scss → admin/resource_info.scss} +6 -7
  55. data/app/assets/stylesheets/alchemy/{search.scss → admin/search.scss} +6 -6
  56. data/app/assets/stylesheets/alchemy/{selects.scss → admin/selects.scss} +46 -39
  57. data/app/assets/stylesheets/alchemy/{shoelace.scss → admin/shoelace.scss} +10 -10
  58. data/app/assets/stylesheets/alchemy/{sitemap.scss → admin/sitemap.scss} +18 -19
  59. data/app/assets/stylesheets/alchemy/{tables.scss → admin/tables.scss} +26 -22
  60. data/app/assets/stylesheets/alchemy/admin/tags.scss +158 -0
  61. data/app/assets/stylesheets/alchemy/{toolbar.scss → admin/toolbar.scss} +10 -10
  62. data/app/assets/stylesheets/alchemy/{typography.scss → admin/typography.scss} +3 -3
  63. data/app/assets/stylesheets/alchemy/{upload.scss → admin/upload.scss} +1 -1
  64. data/app/assets/stylesheets/alchemy/admin.scss +40 -45
  65. data/app/assets/stylesheets/alchemy/welcome.scss +57 -0
  66. data/app/assets/stylesheets/tinymce/skins/content/alchemy/{content.min.scss → content.scss} +5 -4
  67. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/{skin.min.scss → skin.scss} +40 -40
  68. data/app/components/alchemy/admin/link_dialog/internal_tab.rb +1 -2
  69. data/app/components/alchemy/admin/resource/action.rb +46 -0
  70. data/app/components/alchemy/admin/resource/cell.rb +34 -0
  71. data/app/components/alchemy/admin/resource/header.rb +46 -0
  72. data/app/components/alchemy/admin/resource/table.rb +153 -0
  73. data/app/components/alchemy/ingredients/datetime_view.rb +2 -2
  74. data/app/components/alchemy/ingredients/link_view.rb +1 -7
  75. data/app/components/alchemy/ingredients/picture_view.rb +2 -5
  76. data/app/components/alchemy/ingredients/text_view.rb +1 -4
  77. data/app/controllers/alchemy/admin/base_controller.rb +4 -27
  78. data/app/controllers/alchemy/admin/elements_controller.rb +7 -3
  79. data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
  80. data/app/controllers/alchemy/admin/legacy_page_urls_controller.rb +1 -1
  81. data/app/controllers/alchemy/admin/pages_controller.rb +6 -2
  82. data/app/controllers/alchemy/admin/pictures_controller.rb +2 -2
  83. data/app/controllers/alchemy/admin/resources_controller.rb +3 -3
  84. data/app/controllers/alchemy/base_controller.rb +2 -0
  85. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +2 -11
  86. data/app/decorators/alchemy/ingredient_editor.rb +17 -0
  87. data/app/helpers/alchemy/admin/pages_helper.rb +6 -10
  88. data/app/helpers/alchemy/base_helper.rb +2 -2
  89. data/app/helpers/alchemy/elements_block_helper.rb +13 -1
  90. data/app/helpers/alchemy/pages_helper.rb +2 -2
  91. data/app/javascript/alchemy_admin/components/element_editor.js +23 -31
  92. data/app/javascript/alchemy_admin/components/preview_window.js +2 -3
  93. data/app/javascript/alchemy_admin/picture_selector.js +38 -10
  94. data/app/models/alchemy/attachment.rb +0 -8
  95. data/app/models/alchemy/element/dom_id.rb +1 -0
  96. data/app/models/alchemy/element/element_ingredients.rb +0 -73
  97. data/app/models/alchemy/element/presenters.rb +4 -1
  98. data/app/models/alchemy/element.rb +6 -0
  99. data/app/models/alchemy/elements_repository.rb +2 -2
  100. data/app/models/alchemy/ingredient_validator.rb +10 -0
  101. data/app/models/alchemy/page/page_scopes.rb +1 -1
  102. data/app/models/alchemy/picture.rb +0 -10
  103. data/app/models/concerns/alchemy/picture_thumbnails.rb +5 -4
  104. data/app/views/alchemy/admin/attachments/_files_list.html.erb +74 -16
  105. data/app/views/alchemy/admin/clipboard/index.html.erb +38 -33
  106. data/app/views/alchemy/admin/dashboard/_dashboard.html.erb +3 -0
  107. data/app/views/alchemy/admin/dashboard/_left_column.html.erb +4 -0
  108. data/app/views/alchemy/admin/dashboard/_right_column.html.erb +9 -0
  109. data/app/views/alchemy/admin/dashboard/_top.html.erb +12 -0
  110. data/app/views/alchemy/admin/dashboard/index.html.erb +1 -25
  111. data/app/views/alchemy/admin/elements/_element.html.erb +1 -2
  112. data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
  113. data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +10 -3
  114. data/app/views/alchemy/admin/ingredients/update.turbo_stream.erb +7 -0
  115. data/app/views/alchemy/admin/languages/_table.html.erb +16 -42
  116. data/app/views/alchemy/admin/nodes/_form.html.erb +1 -1
  117. data/app/views/alchemy/admin/pages/_table.html.erb +92 -27
  118. data/app/views/alchemy/admin/pages/edit.html.erb +6 -8
  119. data/app/views/alchemy/admin/pages/index.html.erb +0 -4
  120. data/app/views/alchemy/admin/pictures/_form.html.erb +14 -12
  121. data/app/views/alchemy/admin/pictures/index.html.erb +1 -11
  122. data/app/views/alchemy/admin/pictures/update.turbo_stream.erb +6 -0
  123. data/app/views/alchemy/admin/resources/_resource_table.html.erb +3 -0
  124. data/app/views/alchemy/admin/resources/_table.html.erb +2 -0
  125. data/app/views/alchemy/admin/resources/index.html.erb +1 -1
  126. data/app/views/alchemy/admin/sites/index.html.erb +1 -1
  127. data/app/views/alchemy/admin/styleguide/index.html.erb +0 -4
  128. data/app/views/alchemy/admin/tags/index.html.erb +15 -14
  129. data/app/views/alchemy/base/403.html.erb +6 -0
  130. data/app/views/alchemy/base/500.html.erb +14 -12
  131. data/app/views/alchemy/ingredients/_datetime_editor.html.erb +13 -11
  132. data/app/views/alchemy/ingredients/_headline_editor.html.erb +29 -22
  133. data/app/views/alchemy/ingredients/_link_editor.html.erb +17 -11
  134. data/app/views/alchemy/ingredients/_page_editor.html.erb +1 -0
  135. data/app/views/alchemy/ingredients/_picture_editor.html.erb +3 -4
  136. data/app/views/alchemy/ingredients/_richtext_editor.html.erb +5 -1
  137. data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
  138. data/app/views/alchemy/ingredients/_text_editor.html.erb +20 -14
  139. data/app/views/alchemy/ingredients/shared/_picture_css_class.html.erb +6 -0
  140. data/app/views/layouts/alchemy/admin.html.erb +4 -2
  141. data/bin/setup +2 -0
  142. data/bin/start +1 -1
  143. data/bun.lockb +0 -0
  144. data/config/alchemy/config.yml +9 -0
  145. data/config/locales/alchemy.en.yml +8 -29
  146. data/config/routes.rb +22 -22
  147. data/lib/alchemy/config.rb +3 -3
  148. data/lib/alchemy/install/tasks.rb +5 -2
  149. data/lib/alchemy/resource.rb +4 -14
  150. data/lib/alchemy/resources_helper.rb +3 -1
  151. data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
  152. data/lib/alchemy/test_support/shared_uploader_examples.rb +0 -1
  153. data/lib/alchemy/upgrader/seven_point_three.rb +52 -0
  154. data/lib/alchemy/version.rb +1 -1
  155. data/lib/alchemy_cms.rb +1 -1
  156. data/lib/generators/alchemy/install/files/article.css +25 -0
  157. data/lib/generators/alchemy/install/files/custom.css +4 -0
  158. data/lib/generators/alchemy/install/install_generator.rb +6 -6
  159. data/lib/tasks/alchemy/upgrade.rake +29 -1
  160. data/vendor/assets/stylesheets/alchemy_admin/select2.css +1 -0
  161. data/vendor/assets/stylesheets/jquery.Jcrop.min.css +2 -0
  162. data/vendor/javascript/shoelace.min.js +62 -63
  163. data/vendor/javascript/tinymce.min.js +1 -1
  164. metadata +135 -107
  165. data/app/assets/images/alchemy/lupe.cur +0 -0
  166. data/app/assets/stylesheets/alchemy/labels.scss +0 -3
  167. data/app/assets/stylesheets/alchemy/tags.scss +0 -155
  168. data/app/assets/stylesheets/alchemy/welcome.sass +0 -49
  169. data/app/components/concerns/alchemy/ingredients/link_target.rb +0 -18
  170. data/app/views/alchemy/admin/attachments/_attachment.html.erb +0 -81
  171. data/app/views/alchemy/admin/languages/_language.html.erb +0 -50
  172. data/app/views/alchemy/admin/pages/_table_row.html.erb +0 -111
  173. data/app/views/alchemy/admin/pages/list/_table.html.erb +0 -31
  174. data/app/views/alchemy/admin/pictures/update.js.erb +0 -6
  175. data/app/views/alchemy/admin/tags/_tag.html.erb +0 -32
  176. data/app/views/alchemy/base/update.js.erb +0 -5
  177. data/lib/generators/alchemy/install/files/all.css +0 -11
  178. data/lib/generators/alchemy/install/files/article.scss +0 -30
  179. data/package.json +0 -52
  180. data/vendor/assets/stylesheets/alchemy_admin/select2.scss +0 -741
  181. data/vendor/assets/stylesheets/jquery.Jcrop.min.scss +0 -2
  182. /data/app/assets/stylesheets/alchemy/{fonts.scss → _fonts.scss} +0 -0
  183. /data/app/assets/stylesheets/alchemy/{hints.scss → admin/hints.scss} +0 -0
  184. /data/app/assets/stylesheets/alchemy/{icons.scss → admin/icons.scss} +0 -0
  185. /data/app/assets/stylesheets/alchemy/{images.scss → admin/images.scss} +0 -0
  186. /data/app/assets/stylesheets/alchemy/{preview_window.scss → admin/preview_window.scss} +0 -0
  187. /data/app/assets/stylesheets/alchemy/{spinner.scss → admin/spinner.scss} +0 -0
  188. /data/app/views/alchemy/admin/dashboard/{_locked_pages.html.erb → widgets/_locked_pages.html.erb} +0 -0
  189. /data/app/views/alchemy/admin/dashboard/{_recent_pages.html.erb → widgets/_recent_pages.html.erb} +0 -0
  190. /data/app/views/alchemy/admin/dashboard/{_sites.html.erb → widgets/_sites.html.erb} +0 -0
  191. /data/app/views/alchemy/admin/dashboard/{_users.html.erb → widgets/_users.html.erb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca577f0e46713ddcda567834a14df89269d469c463d40b9ef45a94cb75c51d5c
4
- data.tar.gz: 7f2697e309ebf31067618f09c84f6b41811bc3ea3764047e2d9cbb4a69c9e5d3
3
+ metadata.gz: b10e2d8d58398e5e0384ee6563fdd437c48148aa4ff8ac8723db5c2e932df480
4
+ data.tar.gz: 4b6557d7f561f1f8df88583e2545e84812d7900c6d2619bc21f9b1679926601f
5
5
  SHA512:
6
- metadata.gz: f4060445469483578207a2e432bf9b63c4729e47eeb21ea6cc43a1019f677b2e699b531dcf3d56515c8ec599185e5ce2859d87ac12410cc7b600ffee344e1f1a
7
- data.tar.gz: 364bd7003f899d43e2f3ee5023f62f8c49be6c572af6c2730f98ca612345e56f5656423ae0b950513c19028734fed908a398a4e5e52cdacfb198c0d7cd0de9cf
6
+ metadata.gz: 1db715819601298f8384aa3d073b74760c11b953159023f83132c1a30a466134d8029590cda98a834de5130af767d16ac0a8a5efed3cebe560391a4f856886fe
7
+ data.tar.gz: f90a885956efb5984fbdac88f2b8badf2dc570d2a71d881e685f485fe3e5f5057b14d3ede36b956800be283cf84a309d72674a002d3fac14c06b420ead06368a
data/CHANGELOG.md CHANGED
@@ -1,34 +1,77 @@
1
1
  # Changelog
2
2
 
3
- ## 7.2.9 (2025-03-17)
4
-
5
- - [7.2-stable] Fix link dialog for links with url scheme mailto [#3205](https://github.com/AlchemyCMS/alchemy_cms/pull/3205) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
- - [7.2-stable] CI: Use own script to check changes files [#3201](https://github.com/AlchemyCMS/alchemy_cms/pull/3201) ([tvdeyen](https://github.com/tvdeyen))
7
- - [7.2-stable] Add rel="noopener noreferrer" to external links [#3184](https://github.com/AlchemyCMS/alchemy_cms/pull/3184) ([alchemycms-bot](https://github.com/alchemycms-bot))
8
-
9
- ## 7.2.8 (2025-01-24)
10
-
11
- - [7.2-stable] fix attribute sorting across Ruby versions [#3162](https://github.com/AlchemyCMS/alchemy_cms/pull/3162) ([alchemycms-bot](https://github.com/alchemycms-bot))
12
- - [7.2-stable] fix missing logger issue in github actions [#3157](https://github.com/AlchemyCMS/alchemy_cms/pull/3157) ([alchemycms-bot](https://github.com/alchemycms-bot))
13
- - [7.2-stable] CI: Set workflow permissions [#3142](https://github.com/AlchemyCMS/alchemy_cms/pull/3142) ([tvdeyen](https://github.com/tvdeyen))
14
- - [7.2-stable] Use safe redirect paths in admin redirects [#3136](https://github.com/AlchemyCMS/alchemy_cms/pull/3136) ([tvdeyen](https://github.com/tvdeyen))
15
- - [7.2-stable] CI: Run actions on ubuntu-22.04 [#3125](https://github.com/AlchemyCMS/alchemy_cms/pull/3125) ([tvdeyen](https://github.com/tvdeyen))
16
- - Fix tinymce fullscreen mode [#3101](https://github.com/AlchemyCMS/alchemy_cms/pull/3101) ([tvdeyen](https://github.com/tvdeyen))
17
-
18
- ## 7.2.7 (2024-10-15)
19
-
20
- - [7.2-stable] Fix filtering associated models by id [#3069](https://github.com/AlchemyCMS/alchemy_cms/pull/3069) ([tvdeyen](https://github.com/tvdeyen))
21
- - [7.2-stable] Use alchemy_display_name for page actor names [#3030](https://github.com/AlchemyCMS/alchemy_cms/pull/3030) ([alchemycms-bot](https://github.com/alchemycms-bot))
22
-
23
- ## 7.2.6 (2024-09-04)
24
-
25
- - [7.2-stable] Set Alchemy::Page.current in Messages Controller [#3021](https://github.com/AlchemyCMS/alchemy_cms/pull/3021) ([tvdeyen](https://github.com/tvdeyen))
26
- - [7.2-stable] Fallback to @page var if no Current.page is set [#3020](https://github.com/AlchemyCMS/alchemy_cms/pull/3020) ([tvdeyen](https://github.com/tvdeyen))
27
-
28
- ## 7.2.5 (2024-09-04)
29
-
30
- - [7.2-stable] Render Datetime ingredient in local time zone [#3019](https://github.com/AlchemyCMS/alchemy_cms/pull/3019) ([tvdeyen](https://github.com/tvdeyen))
31
- - [7.2-stable] Allow to set input_type on Datetime ingredient editor [#3016](https://github.com/AlchemyCMS/alchemy_cms/pull/3016) ([tvdeyen](https://github.com/tvdeyen))
3
+ ## 7.3.0 (2024-09-11)
4
+
5
+ - fix(Ingredient::Picture): Do not try to localize CSS class if empty [#3031](https://github.com/AlchemyCMS/alchemy_cms/pull/3031) ([tvdeyen](https://github.com/tvdeyen))
6
+ - Use alchemy_display_name for page actor names [#3027](https://github.com/AlchemyCMS/alchemy_cms/pull/3027) ([tvdeyen](https://github.com/tvdeyen))
7
+ - Move alchemy resources table into resource_table partial [#3026](https://github.com/AlchemyCMS/alchemy_cms/pull/3026) ([tvdeyen](https://github.com/tvdeyen))
8
+ - Resource table fixes [#3025](https://github.com/AlchemyCMS/alchemy_cms/pull/3025) ([tvdeyen](https://github.com/tvdeyen))
9
+ - Fix asset precompilation [#3024](https://github.com/AlchemyCMS/alchemy_cms/pull/3024) ([mamhoff](https://github.com/mamhoff))
10
+ - Set Alchemy::Page.current in Messages Controller [#3012](https://github.com/AlchemyCMS/alchemy_cms/pull/3012) ([tvdeyen](https://github.com/tvdeyen))
11
+ - Fallback to @page var if no Current.page is set [#3011](https://github.com/AlchemyCMS/alchemy_cms/pull/3011) ([tvdeyen](https://github.com/tvdeyen))
12
+ - CSS: Fix tag styles [#3010](https://github.com/AlchemyCMS/alchemy_cms/pull/3010) ([tvdeyen](https://github.com/tvdeyen))
13
+ - Generate CSS entrypoint for Custom Admin CSS [#3009](https://github.com/AlchemyCMS/alchemy_cms/pull/3009) ([mamhoff](https://github.com/mamhoff))
14
+ - Add 7.3 upgrader [#3008](https://github.com/AlchemyCMS/alchemy_cms/pull/3008) ([tvdeyen](https://github.com/tvdeyen))
15
+ - Update Tinymce to v7.3.0 [#3007](https://github.com/AlchemyCMS/alchemy_cms/pull/3007) ([tvdeyen](https://github.com/tvdeyen))
16
+ - [CI] Fix builds [#3006](https://github.com/AlchemyCMS/alchemy_cms/pull/3006) ([tvdeyen](https://github.com/tvdeyen))
17
+ - Deprecate element dom_id and dom_id_class [#3005](https://github.com/AlchemyCMS/alchemy_cms/pull/3005) ([tvdeyen](https://github.com/tvdeyen))
18
+ - Render Datetime ingredient in local time zone [#3003](https://github.com/AlchemyCMS/alchemy_cms/pull/3003) ([tvdeyen](https://github.com/tvdeyen))
19
+ - Allow to set input_type on Datetime ingredient editor [#3002](https://github.com/AlchemyCMS/alchemy_cms/pull/3002) ([tvdeyen](https://github.com/tvdeyen))
20
+ - Use time.formats.alchemy.default for datetime view [#3001](https://github.com/AlchemyCMS/alchemy_cms/pull/3001) ([tvdeyen](https://github.com/tvdeyen))
21
+ - Fix Datetime view with rfc822 format option [#3000](https://github.com/AlchemyCMS/alchemy_cms/pull/3000) ([tvdeyen](https://github.com/tvdeyen))
22
+ - Allow Rails 7.2 [#2999](https://github.com/AlchemyCMS/alchemy_cms/pull/2999) ([tvdeyen](https://github.com/tvdeyen))
23
+ - Add sprockets-rails as dependency [#2997](https://github.com/AlchemyCMS/alchemy_cms/pull/2997) ([tvdeyen](https://github.com/tvdeyen))
24
+ - [js] Update all development npm dependencies (2024-08-15) [#2996](https://github.com/AlchemyCMS/alchemy_cms/pull/2996) ([depfu](https://github.com/apps/depfu))
25
+ - Switch to Bun as bundler and script runner [#2994](https://github.com/AlchemyCMS/alchemy_cms/pull/2994) ([tvdeyen](https://github.com/tvdeyen))
26
+ - [js] Update @shoelace-style/shoelace 2.15.1 2.16.0 (minor) [#2990](https://github.com/AlchemyCMS/alchemy_cms/pull/2990) ([depfu](https://github.com/apps/depfu))
27
+ - Tackle Sass deprecation with mixed declarations [#2989](https://github.com/AlchemyCMS/alchemy_cms/pull/2989) ([tvdeyen](https://github.com/tvdeyen))
28
+ - Fix margin of alchemy-message in alchemy-dialog [#2988](https://github.com/AlchemyCMS/alchemy_cms/pull/2988) ([tvdeyen](https://github.com/tvdeyen))
29
+ - fix PictureEditor defaultCropSize [#2987](https://github.com/AlchemyCMS/alchemy_cms/pull/2987) ([tvdeyen](https://github.com/tvdeyen))
30
+ - Use keywords in routes mapping [#2986](https://github.com/AlchemyCMS/alchemy_cms/pull/2986) ([tvdeyen](https://github.com/tvdeyen))
31
+ - Display ingredient validation errors inline [#2984](https://github.com/AlchemyCMS/alchemy_cms/pull/2984) ([tvdeyen](https://github.com/tvdeyen))
32
+ - Resource Controller: Allow additional Ransack filters [#2979](https://github.com/AlchemyCMS/alchemy_cms/pull/2979) ([mamhoff](https://github.com/mamhoff))
33
+ - Fix combining search filters and pagination [#2978](https://github.com/AlchemyCMS/alchemy_cms/pull/2978) ([mamhoff](https://github.com/mamhoff))
34
+ - Fix displaying element validation errors. [#2977](https://github.com/AlchemyCMS/alchemy_cms/pull/2977) ([tvdeyen](https://github.com/tvdeyen))
35
+ - Add ingredient length validation [#2976](https://github.com/AlchemyCMS/alchemy_cms/pull/2976) ([tvdeyen](https://github.com/tvdeyen))
36
+ - [js] Update all development Yarn dependencies (2024-07-25) [#2975](https://github.com/AlchemyCMS/alchemy_cms/pull/2975) ([depfu](https://github.com/apps/depfu))
37
+ - Resource Table Component [#2972](https://github.com/AlchemyCMS/alchemy_cms/pull/2972) ([kulturbande](https://github.com/kulturbande))
38
+ - [js] Update all development Yarn dependencies (2024-07-18) [#2971](https://github.com/AlchemyCMS/alchemy_cms/pull/2971) ([depfu](https://github.com/apps/depfu))
39
+ - [js] Update all development Yarn dependencies (2024-07-11) [#2970](https://github.com/AlchemyCMS/alchemy_cms/pull/2970) ([depfu](https://github.com/apps/depfu))
40
+ - [js] Update tinymce 7.2.0 → 7.2.1 (patch) [#2969](https://github.com/AlchemyCMS/alchemy_cms/pull/2969) ([depfu](https://github.com/apps/depfu))
41
+ - Only allow to assign contentpages in menu node form [#2967](https://github.com/AlchemyCMS/alchemy_cms/pull/2967) ([tvdeyen](https://github.com/tvdeyen))
42
+ - Update _autocomplete_tag_list.html.erb [#2965](https://github.com/AlchemyCMS/alchemy_cms/pull/2965) ([dbwinger](https://github.com/dbwinger))
43
+ - Fix picture selector behavior [#2964](https://github.com/AlchemyCMS/alchemy_cms/pull/2964) ([ovinix](https://github.com/ovinix))
44
+ - Remove call to missing content_positions task [#2959](https://github.com/AlchemyCMS/alchemy_cms/pull/2959) ([afdev82](https://github.com/afdev82))
45
+ - Clear current language when switching sites [#2957](https://github.com/AlchemyCMS/alchemy_cms/pull/2957) ([dbwinger](https://github.com/dbwinger))
46
+ - Remove unused resource `update.js.erb` template [#2955](https://github.com/AlchemyCMS/alchemy_cms/pull/2955) ([tvdeyen](https://github.com/tvdeyen))
47
+ - Fix re-render of layoutpages form if validation fails [#2951](https://github.com/AlchemyCMS/alchemy_cms/pull/2951) ([tvdeyen](https://github.com/tvdeyen))
48
+ - Use Turbo Frame for picture dialog for [#2950](https://github.com/AlchemyCMS/alchemy_cms/pull/2950) ([tvdeyen](https://github.com/tvdeyen))
49
+ - Wrap error responses in turbo-frame tags [#2949](https://github.com/AlchemyCMS/alchemy_cms/pull/2949) ([tvdeyen](https://github.com/tvdeyen))
50
+ - Split dashboard into partials [#2948](https://github.com/AlchemyCMS/alchemy_cms/pull/2948) ([tvdeyen](https://github.com/tvdeyen))
51
+ - Disable Turbo Prefetch in Admin [#2944](https://github.com/AlchemyCMS/alchemy_cms/pull/2944) ([sascha-karnatz](https://github.com/sascha-karnatz))
52
+ - Disable Turbo Cache in Admin [#2943](https://github.com/AlchemyCMS/alchemy_cms/pull/2943) ([sascha-karnatz](https://github.com/sascha-karnatz))
53
+ - Prevent Javascript error if the page will be unlocked [#2942](https://github.com/AlchemyCMS/alchemy_cms/pull/2942) ([sascha-karnatz](https://github.com/sascha-karnatz))
54
+ - Remove dartsass-rails requirement from alchemy_cms.rb [#2941](https://github.com/AlchemyCMS/alchemy_cms/pull/2941) ([sascha-karnatz](https://github.com/sascha-karnatz))
55
+ - [js] Update all development Yarn dependencies (2024-06-27) [#2940](https://github.com/AlchemyCMS/alchemy_cms/pull/2940) ([depfu](https://github.com/apps/depfu))
56
+ - Fix grey color variables [#2939](https://github.com/AlchemyCMS/alchemy_cms/pull/2939) ([tvdeyen](https://github.com/tvdeyen))
57
+ - Use custom properties for color variables [#2938](https://github.com/AlchemyCMS/alchemy_cms/pull/2938) ([tvdeyen](https://github.com/tvdeyen))
58
+ - 🚨 [security] [js] Update tinymce 7.1.1 → 7.2.0 (minor) [#2935](https://github.com/AlchemyCMS/alchemy_cms/pull/2935) ([depfu](https://github.com/apps/depfu))
59
+ - Bump ws from 8.14.2 to 8.17.1 [#2933](https://github.com/AlchemyCMS/alchemy_cms/pull/2933) ([dependabot](https://github.com/apps/dependabot))
60
+ - Bump braces from 3.0.2 to 3.0.3 [#2932](https://github.com/AlchemyCMS/alchemy_cms/pull/2932) ([dependabot](https://github.com/apps/dependabot))
61
+ - Remove to_jq_upload [#2931](https://github.com/AlchemyCMS/alchemy_cms/pull/2931) ([tvdeyen](https://github.com/tvdeyen))
62
+ - [js] Update all development Yarn dependencies (2024-06-13) [#2930](https://github.com/AlchemyCMS/alchemy_cms/pull/2930) ([depfu](https://github.com/apps/depfu))
63
+ - fix(ContactMessages): Use alchemy route proxy [#2926](https://github.com/AlchemyCMS/alchemy_cms/pull/2926) ([tvdeyen](https://github.com/tvdeyen))
64
+ - CSS: Use custom properties for spacing [#2925](https://github.com/AlchemyCMS/alchemy_cms/pull/2925) ([tvdeyen](https://github.com/tvdeyen))
65
+ - Adjustable preview sizes [#2923](https://github.com/AlchemyCMS/alchemy_cms/pull/2923) ([tvdeyen](https://github.com/tvdeyen))
66
+ - [js] Update all development Yarn dependencies (2024-06-06) [#2922](https://github.com/AlchemyCMS/alchemy_cms/pull/2922) ([depfu](https://github.com/apps/depfu))
67
+ - [js] Update tinymce 7.1.0 → 7.1.1 (patch) [#2920](https://github.com/AlchemyCMS/alchemy_cms/pull/2920) ([depfu](https://github.com/apps/depfu))
68
+ - Fix clipboard items styling [#2919](https://github.com/AlchemyCMS/alchemy_cms/pull/2919) ([tvdeyen](https://github.com/tvdeyen))
69
+ - Enable element select if only one is available [#2918](https://github.com/AlchemyCMS/alchemy_cms/pull/2918) ([tvdeyen](https://github.com/tvdeyen))
70
+ - Replace picture css class after update [#2917](https://github.com/AlchemyCMS/alchemy_cms/pull/2917) ([tvdeyen](https://github.com/tvdeyen))
71
+ - fix(RoutingConstraints): Allow Turbo Stream requests [#2913](https://github.com/AlchemyCMS/alchemy_cms/pull/2913) ([tvdeyen](https://github.com/tvdeyen))
72
+ - fix Ingredient Audio and Video boolean type casting [#2909](https://github.com/AlchemyCMS/alchemy_cms/pull/2909) ([tvdeyen](https://github.com/tvdeyen))
73
+ - Precompile CSS files into Gem [#2886](https://github.com/AlchemyCMS/alchemy_cms/pull/2886) ([tvdeyen](https://github.com/tvdeyen))
74
+ - Return 422 on validation error [#2869](https://github.com/AlchemyCMS/alchemy_cms/pull/2869) ([tvdeyen](https://github.com/tvdeyen))
32
75
 
33
76
  ## 7.2.4 (2024-08-10)
34
77
 
@@ -198,6 +241,31 @@
198
241
  - Add nodes to page dialog [#2699](https://github.com/AlchemyCMS/alchemy_cms/pull/2699) ([sascha-karnatz](https://github.com/sascha-karnatz))
199
242
  - Fixes language switching to default language [#2689](https://github.com/AlchemyCMS/alchemy_cms/pull/2689) ([robinboening](https://github.com/robinboening))
200
243
 
244
+ ## 7.1.11 (2024-08-10)
245
+
246
+ - [7.1-stable] fix PictureEditor defaultCropSize [#2991](https://github.com/AlchemyCMS/alchemy_cms/pull/2991) ([alchemycms-bot](https://github.com/alchemycms-bot))
247
+ - [7.1-stable] Fix combining search filters and pagination [#2981](https://github.com/AlchemyCMS/alchemy_cms/pull/2981) ([alchemycms-bot](https://github.com/alchemycms-bot))
248
+ - [7.1-stable] Clear current language when switching sites [#2973](https://github.com/AlchemyCMS/alchemy_cms/pull/2973) ([alchemycms-bot](https://github.com/alchemycms-bot))
249
+ - [7.1-stable] Remove call to missing content_positions task [#2962](https://github.com/AlchemyCMS/alchemy_cms/pull/2962) ([alchemycms-bot](https://github.com/alchemycms-bot))
250
+ - [7.1-stable] Fix re-render of layoutpages form if validation fails [#2953](https://github.com/AlchemyCMS/alchemy_cms/pull/2953) ([alchemycms-bot](https://github.com/alchemycms-bot))
251
+
252
+ ## 7.1.10 (2024-06-27)
253
+
254
+ - [7.1-stable] Prevent Javascript error if the page will be unlocked [#2945](https://github.com/AlchemyCMS/alchemy_cms/pull/2945) ([alchemycms-bot](https://github.com/alchemycms-bot))
255
+ - [7.1-stable] fix(ContactMessages): Use alchemy route proxy [#2928](https://github.com/AlchemyCMS/alchemy_cms/pull/2928) ([alchemycms-bot](https://github.com/alchemycms-bot))
256
+
257
+ ## 7.1.9 (2024-06-04)
258
+
259
+ - [7.1-stable] fix(RoutingConstraints): Allow Turbo Stream requests [#2915](https://github.com/AlchemyCMS/alchemy_cms/pull/2915) ([alchemycms-bot](https://github.com/alchemycms-bot))
260
+ - [7.1-stable] fix Ingredient Audio and Video boolean type casting [#2911](https://github.com/AlchemyCMS/alchemy_cms/pull/2911) ([alchemycms-bot](https://github.com/alchemycms-bot))
261
+
262
+ ## 7.1.8 (2024-05-29)
263
+
264
+ - [7.1-stable] Fix preview window width for smaller viewports [#2890](https://github.com/AlchemyCMS/alchemy_cms/pull/2890) ([alchemycms-bot](https://github.com/alchemycms-bot))
265
+ - [7.1-stable] Fix Preview Window width [#2881](https://github.com/AlchemyCMS/alchemy_cms/pull/2881) ([alchemycms-bot](https://github.com/alchemycms-bot))
266
+ - [7.1-stable] Fix preview window resize transition [#2872](https://github.com/AlchemyCMS/alchemy_cms/pull/2872) ([alchemycms-bot](https://github.com/alchemycms-bot))
267
+ - [7.1-stable] UI fixes for picture css class display [#2846](https://github.com/AlchemyCMS/alchemy_cms/pull/2846) ([alchemycms-bot](https://github.com/alchemycms-bot))
268
+
201
269
  ## 7.1.7 (2024-04-12)
202
270
 
203
271
  - [7.1-stable] Fix Ingredient Boolean View [#2838](https://github.com/AlchemyCMS/alchemy_cms/pull/2838) ([alchemycms-bot](https://github.com/alchemycms-bot))
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- rails_version = ENV.fetch("RAILS_VERSION", "7.1")
7
+ rails_version = ENV.fetch("RAILS_VERSION", "7.2")
8
8
  gem "rails", "~> #{rails_version}.0"
9
9
 
10
10
  if ENV["DB"].nil? || ENV["DB"] == "sqlite"
@@ -26,26 +26,18 @@ group :development, :test do
26
26
  gem "simplecov-cobertura", "~> 2.1"
27
27
  # Necessary because GH Actions gem cache does not have this "Bundled with Ruby" gem installed
28
28
  gem "rexml", "~> 3.2.4"
29
- gem "sassc", "~> 2.4.0" # https://github.com/sass/sassc-ruby/issues/146
30
29
 
31
30
  # https://github.com/hotwired/turbo-rails/issues/512
32
31
  if rails_version == "7.1"
33
32
  gem "actioncable", "~> #{rails_version}.0"
34
33
  end
35
-
36
- # concurrent-ruby v1.3.5 has removed the dependency on logger,
37
- # effecting Rails 6.1 up to including 7.0.
38
- # https://github.com/rails/rails/pull/54264
39
- if ("6.1".to_f.."7.0".to_f).cover?(rails_version.to_f)
40
- gem "concurrent-ruby", "< 1.3.5"
41
- end
42
34
  else
43
35
  gem "launchy"
44
36
  gem "annotate"
45
37
  gem "bumpy"
46
38
  gem "yard"
47
39
  gem "redcarpet"
48
- gem "pry-byebug"
40
+ gem "debug"
49
41
  gem "listen"
50
42
  gem "localeapp", "~> 3.0", require: false
51
43
  gem "dotenv", "~> 3.0"
@@ -67,4 +59,4 @@ gem "web-console", "~> 4.2", group: :development
67
59
 
68
60
  gem "rails_live_reload", "~> 0.3.5"
69
61
 
70
- gem "gem-release", "~> 2.2"
62
+ gem "dartsass-rails", "~> 0.5.0"
data/Rakefile CHANGED
@@ -47,6 +47,7 @@ namespace :alchemy do
47
47
  bin/rake db:environment:set && \
48
48
  bin/rake db:migrate:reset && \
49
49
  bin/rails g alchemy:install --skip --skip-demo-files --auto-accept --skip-db-create && \
50
+ bin/rails dartsass:build && \
50
51
  cd -
51
52
  BASH
52
53
  ) || fail
data/alchemy_cms.gemspec CHANGED
@@ -14,9 +14,9 @@ Gem::Specification.new do |gem|
14
14
  gem.summary = "A powerful, userfriendly and flexible CMS for Rails"
15
15
  gem.description = "Alchemy is a powerful, userfriendly and flexible Rails CMS."
16
16
  gem.requirements << "ImageMagick (libmagick), v6.6 or greater."
17
- gem.required_ruby_version = ">= 3.0.0"
17
+ gem.required_ruby_version = ">= 3.1.0"
18
18
  gem.license = "BSD-3-Clause"
19
- gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/|yarn|^\.}) }
19
+ gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/|bun\.lockdb|package\.json|^\.}) }
20
20
  gem.require_paths = ["lib"]
21
21
 
22
22
  %w[
@@ -29,14 +29,15 @@ Gem::Specification.new do |gem|
29
29
  activesupport
30
30
  railties
31
31
  ].each do |rails_gem|
32
- gem.add_runtime_dependency rails_gem, [">= 7.0", "< 7.2"]
32
+ gem.add_runtime_dependency rails_gem, [">= 7.0", "< 7.3"]
33
33
  end
34
34
 
35
35
  gem.add_runtime_dependency "active_model_serializers", ["~> 0.10.14"]
36
36
  gem.add_runtime_dependency "acts_as_list", [">= 0.3", "< 2"]
37
- gem.add_runtime_dependency "awesome_nested_set", ["~> 3.1"]
37
+ gem.add_runtime_dependency "awesome_nested_set", ["~> 3.1", ">= 3.7.0"]
38
38
  gem.add_runtime_dependency "cancancan", [">= 2.1", "< 4.0"]
39
39
  gem.add_runtime_dependency "coffee-rails", [">= 4.0", "< 6.0"]
40
+ gem.add_runtime_dependency "csv", ["~> 3.3"]
40
41
  gem.add_runtime_dependency "dragonfly", ["~> 1.4"]
41
42
  gem.add_runtime_dependency "dragonfly_svg", ["~> 0.0.4"]
42
43
  gem.add_runtime_dependency "gutentag", ["~> 2.2", ">= 2.2.1"]
@@ -46,9 +47,8 @@ Gem::Specification.new do |gem|
46
47
  gem.add_runtime_dependency "kaminari", ["~> 1.1"]
47
48
  gem.add_runtime_dependency "originator", ["~> 3.1"]
48
49
  gem.add_runtime_dependency "ransack", [">= 1.8", "< 5.0"]
49
- gem.add_runtime_dependency "sassc-rails", ["~> 2.1"]
50
50
  gem.add_runtime_dependency "simple_form", [">= 4.0", "< 6"]
51
- gem.add_runtime_dependency "sprockets", [">= 3.0", "< 5"]
51
+ gem.add_runtime_dependency "sprockets-rails", [">= 3.5", "< 4"]
52
52
  gem.add_runtime_dependency "turbo-rails", [">= 1.4", "< 2.1"]
53
53
  gem.add_runtime_dependency "view_component", ["~> 3.0"]
54
54
 
@@ -59,7 +59,7 @@ Gem::Specification.new do |gem|
59
59
  gem.add_development_dependency "puma", ["~> 6.0"]
60
60
  gem.add_development_dependency "rails-controller-testing", ["~> 1.0"]
61
61
  gem.add_development_dependency "rspec-activemodel-mocks", ["~> 1.0"]
62
- gem.add_development_dependency "rspec-rails", [">= 4.0.0.beta2"]
62
+ gem.add_development_dependency "rspec-rails", ["~> 6.1"]
63
63
  gem.add_development_dependency "simplecov", ["~> 0.20"]
64
64
  gem.add_development_dependency "selenium-webdriver", ["~> 4.10"]
65
65
  gem.add_development_dependency "webmock", ["~> 3.3"]
@@ -0,0 +1 @@
1
+ div#main_menu,div#top_menu,div#corner,div#flash_notices,div.pagination span,div.pagination a{display:none}div#archive_all{padding:0}span.icon.true:before{content:"x"}div.pagination{text-align:right}div.pagination em.current{border:none;text-shadow:none}div.pagination em:before{content:"Page "}/*# sourceMappingURL=print.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../stylesheets/alchemy/admin/print.scss"],"names":[],"mappings":"AAEA,6FAME,aAGF,gBACE,UAGF,sBACE,YAGF,eACE,iBAGF,0BACE,YACA,iBAGF,yBACE","file":"print.css"}