alchemy_cms 7.2.6 → 7.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +103 -9
  3. data/Gemfile +4 -3
  4. data/Rakefile +1 -0
  5. data/alchemy_cms.gemspec +7 -7
  6. data/app/assets/builds/alchemy/admin/page-select.css +1 -0
  7. data/app/assets/builds/alchemy/admin/page-select.css.map +1 -0
  8. data/app/assets/builds/alchemy/admin/print.css +1 -0
  9. data/app/assets/builds/alchemy/admin/print.css.map +1 -0
  10. data/app/assets/builds/alchemy/admin.css +1 -0
  11. data/app/assets/builds/alchemy/admin.css.map +1 -0
  12. data/app/assets/builds/alchemy/welcome.css +1 -0
  13. data/app/assets/builds/alchemy/welcome.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.min.css +1 -0
  17. data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css.map +1 -0
  18. data/app/assets/config/alchemy_manifest.js +2 -5
  19. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +4 -0
  20. data/app/assets/stylesheets/alchemy/{_custom-properties.scss → _custom-properties.css} +28 -25
  21. data/app/assets/stylesheets/alchemy/_deprecated_variables.scss +45 -0
  22. data/app/assets/stylesheets/alchemy/_deprecation.scss +17 -0
  23. data/app/assets/stylesheets/alchemy/_extends.scss +1 -1
  24. data/app/assets/stylesheets/alchemy/_mixins.scss +21 -24
  25. data/app/assets/stylesheets/alchemy/_variables.scss +99 -95
  26. data/app/assets/stylesheets/alchemy/{archive.scss → admin/archive.scss} +23 -23
  27. data/app/assets/stylesheets/alchemy/{attachment-select.scss → admin/attachment-select.scss} +2 -2
  28. data/app/assets/stylesheets/alchemy/{attachments.scss → admin/attachments.scss} +4 -4
  29. data/app/assets/stylesheets/alchemy/{base.scss → admin/base.scss} +9 -9
  30. data/app/assets/stylesheets/alchemy/{buttons.scss → admin/buttons.scss} +3 -3
  31. data/app/assets/stylesheets/alchemy/{clipboard.scss → admin/clipboard.scss} +9 -6
  32. data/app/assets/stylesheets/alchemy/{dashboard.scss → admin/dashboard.scss} +8 -8
  33. data/app/assets/stylesheets/alchemy/{dialogs.scss → admin/dialogs.scss} +20 -20
  34. data/app/assets/stylesheets/alchemy/{elements.scss → admin/elements.scss} +136 -96
  35. data/app/assets/stylesheets/alchemy/{errors.scss → admin/errors.scss} +22 -6
  36. data/app/assets/stylesheets/alchemy/{flash.scss → admin/flash.scss} +3 -3
  37. data/app/assets/stylesheets/alchemy/{flatpickr.scss → admin/flatpickr.scss} +55 -35
  38. data/app/assets/stylesheets/alchemy/{form_fields.scss → admin/form_fields.scss} +8 -6
  39. data/app/assets/stylesheets/alchemy/{forms.scss → admin/forms.scss} +20 -16
  40. data/app/assets/stylesheets/alchemy/{frame.scss → admin/frame.scss} +9 -9
  41. data/app/assets/stylesheets/alchemy/{image_library.scss → admin/image_library.scss} +34 -33
  42. data/app/assets/stylesheets/alchemy/admin/labels.scss +3 -0
  43. data/app/assets/stylesheets/alchemy/{list_filter.scss → admin/list_filter.scss} +4 -4
  44. data/app/assets/stylesheets/alchemy/{lists.scss → admin/lists.scss} +9 -7
  45. data/app/assets/stylesheets/alchemy/{navigation.scss → admin/navigation.scss} +19 -19
  46. data/app/assets/stylesheets/alchemy/{node-select.scss → admin/node-select.scss} +6 -6
  47. data/app/assets/stylesheets/alchemy/{nodes.scss → admin/nodes.scss} +12 -12
  48. data/app/assets/stylesheets/alchemy/{notices.scss → admin/notices.scss} +12 -8
  49. data/app/assets/stylesheets/alchemy/admin/page-select.scss +81 -0
  50. data/app/assets/stylesheets/alchemy/{pagination.scss → admin/pagination.scss} +10 -10
  51. data/app/assets/stylesheets/alchemy/{print.scss → admin/print.scss} +2 -6
  52. data/app/assets/stylesheets/alchemy/{resource_info.scss → admin/resource_info.scss} +6 -7
  53. data/app/assets/stylesheets/alchemy/{search.scss → admin/search.scss} +6 -6
  54. data/app/assets/stylesheets/alchemy/{selects.scss → admin/selects.scss} +46 -39
  55. data/app/assets/stylesheets/alchemy/{shoelace.scss → admin/shoelace.scss} +14 -14
  56. data/app/assets/stylesheets/alchemy/{sitemap.scss → admin/sitemap.scss} +19 -20
  57. data/app/assets/stylesheets/alchemy/{tables.scss → admin/tables.scss} +26 -22
  58. data/app/assets/stylesheets/alchemy/admin/tags.scss +158 -0
  59. data/app/assets/stylesheets/alchemy/{toolbar.scss → admin/toolbar.scss} +10 -10
  60. data/app/assets/stylesheets/alchemy/{typography.scss → admin/typography.scss} +3 -3
  61. data/app/assets/stylesheets/alchemy/{upload.scss → admin/upload.scss} +1 -1
  62. data/app/assets/stylesheets/alchemy/admin.scss +39 -45
  63. data/app/assets/stylesheets/alchemy/welcome.scss +57 -0
  64. data/app/assets/stylesheets/tinymce/skins/content/alchemy/{content.min.scss → content.scss} +5 -4
  65. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/{skin.min.scss → skin.scss} +41 -41
  66. data/app/components/alchemy/admin/page_select.rb +3 -1
  67. data/app/components/alchemy/admin/resource/action.rb +46 -0
  68. data/app/components/alchemy/admin/resource/cell.rb +34 -0
  69. data/app/components/alchemy/admin/resource/header.rb +46 -0
  70. data/app/components/alchemy/admin/resource/table.rb +153 -0
  71. data/app/components/alchemy/ingredients/datetime_view.rb +2 -2
  72. data/app/controllers/alchemy/admin/base_controller.rb +2 -1
  73. data/app/controllers/alchemy/admin/elements_controller.rb +7 -3
  74. data/app/controllers/alchemy/admin/legacy_page_urls_controller.rb +1 -1
  75. data/app/controllers/alchemy/admin/pages_controller.rb +1 -1
  76. data/app/controllers/alchemy/admin/pictures_controller.rb +2 -2
  77. data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
  78. data/app/controllers/alchemy/base_controller.rb +2 -0
  79. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +2 -11
  80. data/app/decorators/alchemy/ingredient_editor.rb +17 -0
  81. data/app/helpers/alchemy/admin/pages_helper.rb +6 -10
  82. data/app/helpers/alchemy/base_helper.rb +2 -2
  83. data/app/helpers/alchemy/elements_block_helper.rb +13 -1
  84. data/app/helpers/alchemy/pages_helper.rb +2 -2
  85. data/app/javascript/alchemy_admin/components/element_editor.js +23 -31
  86. data/app/javascript/alchemy_admin/components/preview_window.js +2 -3
  87. data/app/javascript/alchemy_admin/picture_selector.js +38 -10
  88. data/app/models/alchemy/attachment.rb +0 -8
  89. data/app/models/alchemy/element/dom_id.rb +1 -0
  90. data/app/models/alchemy/element/element_ingredients.rb +0 -73
  91. data/app/models/alchemy/element/presenters.rb +4 -1
  92. data/app/models/alchemy/element.rb +6 -0
  93. data/app/models/alchemy/elements_repository.rb +2 -2
  94. data/app/models/alchemy/ingredient_validator.rb +10 -0
  95. data/app/models/alchemy/page/page_scopes.rb +1 -1
  96. data/app/models/alchemy/page.rb +3 -3
  97. data/app/models/alchemy/picture.rb +0 -10
  98. data/app/views/alchemy/admin/attachments/_files_list.html.erb +74 -16
  99. data/app/views/alchemy/admin/clipboard/index.html.erb +38 -33
  100. data/app/views/alchemy/admin/dashboard/_dashboard.html.erb +3 -0
  101. data/app/views/alchemy/admin/dashboard/_left_column.html.erb +4 -0
  102. data/app/views/alchemy/admin/dashboard/_right_column.html.erb +9 -0
  103. data/app/views/alchemy/admin/dashboard/_top.html.erb +12 -0
  104. data/app/views/alchemy/admin/dashboard/index.html.erb +1 -25
  105. data/app/views/alchemy/admin/elements/_element.html.erb +1 -2
  106. data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
  107. data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +10 -3
  108. data/app/views/alchemy/admin/ingredients/update.turbo_stream.erb +7 -0
  109. data/app/views/alchemy/admin/languages/_table.html.erb +16 -42
  110. data/app/views/alchemy/admin/nodes/_form.html.erb +1 -1
  111. data/app/views/alchemy/admin/pages/_table.html.erb +92 -27
  112. data/app/views/alchemy/admin/pages/_toolbar.html.erb +1 -1
  113. data/app/views/alchemy/admin/pages/edit.html.erb +6 -8
  114. data/app/views/alchemy/admin/pages/index.html.erb +0 -4
  115. data/app/views/alchemy/admin/pictures/_form.html.erb +14 -12
  116. data/app/views/alchemy/admin/pictures/index.html.erb +1 -11
  117. data/app/views/alchemy/admin/pictures/update.turbo_stream.erb +6 -0
  118. data/app/views/alchemy/admin/resources/_resource.html.erb +2 -0
  119. data/app/views/alchemy/admin/resources/_resource_table.html.erb +3 -0
  120. data/app/views/alchemy/admin/resources/_table.html.erb +2 -0
  121. data/app/views/alchemy/admin/resources/index.html.erb +1 -1
  122. data/app/views/alchemy/admin/sites/index.html.erb +1 -1
  123. data/app/views/alchemy/admin/styleguide/index.html.erb +0 -4
  124. data/app/views/alchemy/admin/tags/index.html.erb +15 -14
  125. data/app/views/alchemy/base/403.html.erb +6 -0
  126. data/app/views/alchemy/base/500.html.erb +14 -12
  127. data/app/views/alchemy/ingredients/_datetime_editor.html.erb +13 -11
  128. data/app/views/alchemy/ingredients/_headline_editor.html.erb +29 -22
  129. data/app/views/alchemy/ingredients/_link_editor.html.erb +17 -11
  130. data/app/views/alchemy/ingredients/_page_editor.html.erb +1 -0
  131. data/app/views/alchemy/ingredients/_picture_editor.html.erb +3 -4
  132. data/app/views/alchemy/ingredients/_richtext_editor.html.erb +5 -1
  133. data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
  134. data/app/views/alchemy/ingredients/_text_editor.html.erb +20 -14
  135. data/app/views/alchemy/ingredients/shared/_picture_css_class.html.erb +6 -0
  136. data/app/views/layouts/alchemy/admin.html.erb +4 -2
  137. data/bin/setup +2 -0
  138. data/bin/start +1 -1
  139. data/bun.lockb +0 -0
  140. data/config/alchemy/config.yml +9 -0
  141. data/config/locales/alchemy.en.yml +8 -29
  142. data/config/routes.rb +22 -22
  143. data/lib/alchemy/config.rb +3 -3
  144. data/lib/alchemy/install/tasks.rb +5 -2
  145. data/lib/alchemy/resources_helper.rb +7 -3
  146. data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
  147. data/lib/alchemy/test_support/shared_uploader_examples.rb +0 -1
  148. data/lib/alchemy/upgrader/seven_point_three.rb +52 -0
  149. data/lib/alchemy/version.rb +1 -1
  150. data/lib/alchemy_cms.rb +1 -1
  151. data/lib/generators/alchemy/install/files/article.css +25 -0
  152. data/lib/generators/alchemy/install/files/custom.css +4 -0
  153. data/lib/generators/alchemy/install/install_generator.rb +6 -6
  154. data/lib/tasks/alchemy/upgrade.rake +29 -1
  155. data/vendor/assets/stylesheets/alchemy_admin/select2.css +1 -0
  156. data/vendor/assets/stylesheets/jquery.Jcrop.min.css +2 -0
  157. data/vendor/javascript/shoelace.min.js +62 -63
  158. data/vendor/javascript/tinymce.min.js +1 -1
  159. metadata +130 -105
  160. data/app/assets/images/alchemy/lupe.cur +0 -0
  161. data/app/assets/stylesheets/alchemy/labels.scss +0 -3
  162. data/app/assets/stylesheets/alchemy/page-select.scss +0 -66
  163. data/app/assets/stylesheets/alchemy/tags.scss +0 -155
  164. data/app/assets/stylesheets/alchemy/welcome.sass +0 -49
  165. data/app/views/alchemy/admin/attachments/_attachment.html.erb +0 -81
  166. data/app/views/alchemy/admin/languages/_language.html.erb +0 -50
  167. data/app/views/alchemy/admin/pages/_table_row.html.erb +0 -111
  168. data/app/views/alchemy/admin/pages/list/_table.html.erb +0 -31
  169. data/app/views/alchemy/admin/pictures/update.js.erb +0 -6
  170. data/app/views/alchemy/admin/tags/_tag.html.erb +0 -32
  171. data/app/views/alchemy/base/update.js.erb +0 -5
  172. data/lib/generators/alchemy/install/files/all.css +0 -11
  173. data/lib/generators/alchemy/install/files/article.scss +0 -30
  174. data/package.json +0 -52
  175. data/vendor/assets/stylesheets/alchemy_admin/select2.scss +0 -741
  176. data/vendor/assets/stylesheets/jquery.Jcrop.min.scss +0 -2
  177. /data/app/assets/stylesheets/alchemy/{fonts.scss → _fonts.scss} +0 -0
  178. /data/app/assets/stylesheets/alchemy/{hints.scss → admin/hints.scss} +0 -0
  179. /data/app/assets/stylesheets/alchemy/{icons.scss → admin/icons.scss} +0 -0
  180. /data/app/assets/stylesheets/alchemy/{images.scss → admin/images.scss} +0 -0
  181. /data/app/assets/stylesheets/alchemy/{preview_window.scss → admin/preview_window.scss} +0 -0
  182. /data/app/assets/stylesheets/alchemy/{spinner.scss → admin/spinner.scss} +0 -0
  183. /data/app/views/alchemy/admin/dashboard/{_locked_pages.html.erb → widgets/_locked_pages.html.erb} +0 -0
  184. /data/app/views/alchemy/admin/dashboard/{_recent_pages.html.erb → widgets/_recent_pages.html.erb} +0 -0
  185. /data/app/views/alchemy/admin/dashboard/{_sites.html.erb → widgets/_sites.html.erb} +0 -0
  186. /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: 5761f973ebc69f26df9000e33ac1116dd900943e4beca826a5cfda2951d4cc09
4
- data.tar.gz: '0242947c5e00faa5f006713192c28b35996b85202d7ea20557c3a05b56a0879a'
3
+ metadata.gz: '08de5259f351b2a8faa9784320c8b5c667979f472742af2696f113c51152bb64'
4
+ data.tar.gz: 2858554eb0559b32200519ac66a5d276946c7c877c9aa8ede7e20a5809e74aa5
5
5
  SHA512:
6
- metadata.gz: ddc9484e053fcd6b359449737f3eac7b88def44eaaad1f1bf2f281e7f863829ad1a8fec8848911c2e888dbb66731c523dd53bf5ef1ef5ec55c56540cd5a66e96
7
- data.tar.gz: 9608c346894b1a9f36d9ffe62da010666405ae97320330921dfdfe5cebb1369cdbe63a77f06a8ef044b3370342a7d0b655c3e64231557b1ae2abf9554defebec
6
+ metadata.gz: 9809938a08efb003e27194dafbe185cfdd075d0d88748f014a6e2376086f98d147b17772675c7110b54dbc642f8da8a560cf71567eaec9ea5faa97ddd60001c9
7
+ data.tar.gz: 775b7ddb09ab2969a234f03507b04914dff43d6d6e196475a439db40a9aa2c8ff93f445b9f3e2410d135bd401a5203528b44bca4bce43cfa87d1eb325246f961
data/CHANGELOG.md CHANGED
@@ -1,14 +1,83 @@
1
1
  # Changelog
2
2
 
3
- ## 7.2.6 (2024-09-04)
4
-
5
- - [7.2-stable] Set Alchemy::Page.current in Messages Controller [#3021](https://github.com/AlchemyCMS/alchemy_cms/pull/3021) ([tvdeyen](https://github.com/tvdeyen))
6
- - [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))
7
-
8
- ## 7.2.5 (2024-09-04)
9
-
10
- - [7.2-stable] Render Datetime ingredient in local time zone [#3019](https://github.com/AlchemyCMS/alchemy_cms/pull/3019) ([tvdeyen](https://github.com/tvdeyen))
11
- - [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.1 (2024-10-04)
4
+
5
+ - [7.3-stable] Add tinymce skin files to Sprockets manifest [#3063](https://github.com/AlchemyCMS/alchemy_cms/pull/3063) ([tvdeyen](https://github.com/tvdeyen))
6
+ - [7.3] Deprecate resources helpers [#3040](https://github.com/AlchemyCMS/alchemy_cms/pull/3040) ([tvdeyen](https://github.com/tvdeyen))
7
+ - [7.3-stable] Make page select portable [#3038](https://github.com/AlchemyCMS/alchemy_cms/pull/3038) ([tvdeyen](https://github.com/tvdeyen))
8
+
9
+ ## 7.3.0 (2024-09-11)
10
+
11
+ - 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))
12
+ - Use alchemy_display_name for page actor names [#3027](https://github.com/AlchemyCMS/alchemy_cms/pull/3027) ([tvdeyen](https://github.com/tvdeyen))
13
+ - Move alchemy resources table into resource_table partial [#3026](https://github.com/AlchemyCMS/alchemy_cms/pull/3026) ([tvdeyen](https://github.com/tvdeyen))
14
+ - Resource table fixes [#3025](https://github.com/AlchemyCMS/alchemy_cms/pull/3025) ([tvdeyen](https://github.com/tvdeyen))
15
+ - Fix asset precompilation [#3024](https://github.com/AlchemyCMS/alchemy_cms/pull/3024) ([mamhoff](https://github.com/mamhoff))
16
+ - Set Alchemy::Page.current in Messages Controller [#3012](https://github.com/AlchemyCMS/alchemy_cms/pull/3012) ([tvdeyen](https://github.com/tvdeyen))
17
+ - Fallback to @page var if no Current.page is set [#3011](https://github.com/AlchemyCMS/alchemy_cms/pull/3011) ([tvdeyen](https://github.com/tvdeyen))
18
+ - CSS: Fix tag styles [#3010](https://github.com/AlchemyCMS/alchemy_cms/pull/3010) ([tvdeyen](https://github.com/tvdeyen))
19
+ - Generate CSS entrypoint for Custom Admin CSS [#3009](https://github.com/AlchemyCMS/alchemy_cms/pull/3009) ([mamhoff](https://github.com/mamhoff))
20
+ - Add 7.3 upgrader [#3008](https://github.com/AlchemyCMS/alchemy_cms/pull/3008) ([tvdeyen](https://github.com/tvdeyen))
21
+ - Update Tinymce to v7.3.0 [#3007](https://github.com/AlchemyCMS/alchemy_cms/pull/3007) ([tvdeyen](https://github.com/tvdeyen))
22
+ - [CI] Fix builds [#3006](https://github.com/AlchemyCMS/alchemy_cms/pull/3006) ([tvdeyen](https://github.com/tvdeyen))
23
+ - Deprecate element dom_id and dom_id_class [#3005](https://github.com/AlchemyCMS/alchemy_cms/pull/3005) ([tvdeyen](https://github.com/tvdeyen))
24
+ - Render Datetime ingredient in local time zone [#3003](https://github.com/AlchemyCMS/alchemy_cms/pull/3003) ([tvdeyen](https://github.com/tvdeyen))
25
+ - Allow to set input_type on Datetime ingredient editor [#3002](https://github.com/AlchemyCMS/alchemy_cms/pull/3002) ([tvdeyen](https://github.com/tvdeyen))
26
+ - Use time.formats.alchemy.default for datetime view [#3001](https://github.com/AlchemyCMS/alchemy_cms/pull/3001) ([tvdeyen](https://github.com/tvdeyen))
27
+ - Fix Datetime view with rfc822 format option [#3000](https://github.com/AlchemyCMS/alchemy_cms/pull/3000) ([tvdeyen](https://github.com/tvdeyen))
28
+ - Allow Rails 7.2 [#2999](https://github.com/AlchemyCMS/alchemy_cms/pull/2999) ([tvdeyen](https://github.com/tvdeyen))
29
+ - Add sprockets-rails as dependency [#2997](https://github.com/AlchemyCMS/alchemy_cms/pull/2997) ([tvdeyen](https://github.com/tvdeyen))
30
+ - [js] Update all development npm dependencies (2024-08-15) [#2996](https://github.com/AlchemyCMS/alchemy_cms/pull/2996) ([depfu](https://github.com/apps/depfu))
31
+ - Switch to Bun as bundler and script runner [#2994](https://github.com/AlchemyCMS/alchemy_cms/pull/2994) ([tvdeyen](https://github.com/tvdeyen))
32
+ - [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))
33
+ - Tackle Sass deprecation with mixed declarations [#2989](https://github.com/AlchemyCMS/alchemy_cms/pull/2989) ([tvdeyen](https://github.com/tvdeyen))
34
+ - Fix margin of alchemy-message in alchemy-dialog [#2988](https://github.com/AlchemyCMS/alchemy_cms/pull/2988) ([tvdeyen](https://github.com/tvdeyen))
35
+ - fix PictureEditor defaultCropSize [#2987](https://github.com/AlchemyCMS/alchemy_cms/pull/2987) ([tvdeyen](https://github.com/tvdeyen))
36
+ - Use keywords in routes mapping [#2986](https://github.com/AlchemyCMS/alchemy_cms/pull/2986) ([tvdeyen](https://github.com/tvdeyen))
37
+ - Display ingredient validation errors inline [#2984](https://github.com/AlchemyCMS/alchemy_cms/pull/2984) ([tvdeyen](https://github.com/tvdeyen))
38
+ - Resource Controller: Allow additional Ransack filters [#2979](https://github.com/AlchemyCMS/alchemy_cms/pull/2979) ([mamhoff](https://github.com/mamhoff))
39
+ - Fix combining search filters and pagination [#2978](https://github.com/AlchemyCMS/alchemy_cms/pull/2978) ([mamhoff](https://github.com/mamhoff))
40
+ - Fix displaying element validation errors. [#2977](https://github.com/AlchemyCMS/alchemy_cms/pull/2977) ([tvdeyen](https://github.com/tvdeyen))
41
+ - Add ingredient length validation [#2976](https://github.com/AlchemyCMS/alchemy_cms/pull/2976) ([tvdeyen](https://github.com/tvdeyen))
42
+ - [js] Update all development Yarn dependencies (2024-07-25) [#2975](https://github.com/AlchemyCMS/alchemy_cms/pull/2975) ([depfu](https://github.com/apps/depfu))
43
+ - Resource Table Component [#2972](https://github.com/AlchemyCMS/alchemy_cms/pull/2972) ([kulturbande](https://github.com/kulturbande))
44
+ - [js] Update all development Yarn dependencies (2024-07-18) [#2971](https://github.com/AlchemyCMS/alchemy_cms/pull/2971) ([depfu](https://github.com/apps/depfu))
45
+ - [js] Update all development Yarn dependencies (2024-07-11) [#2970](https://github.com/AlchemyCMS/alchemy_cms/pull/2970) ([depfu](https://github.com/apps/depfu))
46
+ - [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))
47
+ - Only allow to assign contentpages in menu node form [#2967](https://github.com/AlchemyCMS/alchemy_cms/pull/2967) ([tvdeyen](https://github.com/tvdeyen))
48
+ - Update _autocomplete_tag_list.html.erb [#2965](https://github.com/AlchemyCMS/alchemy_cms/pull/2965) ([dbwinger](https://github.com/dbwinger))
49
+ - Fix picture selector behavior [#2964](https://github.com/AlchemyCMS/alchemy_cms/pull/2964) ([ovinix](https://github.com/ovinix))
50
+ - Remove call to missing content_positions task [#2959](https://github.com/AlchemyCMS/alchemy_cms/pull/2959) ([afdev82](https://github.com/afdev82))
51
+ - Clear current language when switching sites [#2957](https://github.com/AlchemyCMS/alchemy_cms/pull/2957) ([dbwinger](https://github.com/dbwinger))
52
+ - Remove unused resource `update.js.erb` template [#2955](https://github.com/AlchemyCMS/alchemy_cms/pull/2955) ([tvdeyen](https://github.com/tvdeyen))
53
+ - Fix re-render of layoutpages form if validation fails [#2951](https://github.com/AlchemyCMS/alchemy_cms/pull/2951) ([tvdeyen](https://github.com/tvdeyen))
54
+ - Use Turbo Frame for picture dialog for [#2950](https://github.com/AlchemyCMS/alchemy_cms/pull/2950) ([tvdeyen](https://github.com/tvdeyen))
55
+ - Wrap error responses in turbo-frame tags [#2949](https://github.com/AlchemyCMS/alchemy_cms/pull/2949) ([tvdeyen](https://github.com/tvdeyen))
56
+ - Split dashboard into partials [#2948](https://github.com/AlchemyCMS/alchemy_cms/pull/2948) ([tvdeyen](https://github.com/tvdeyen))
57
+ - Disable Turbo Prefetch in Admin [#2944](https://github.com/AlchemyCMS/alchemy_cms/pull/2944) ([sascha-karnatz](https://github.com/sascha-karnatz))
58
+ - Disable Turbo Cache in Admin [#2943](https://github.com/AlchemyCMS/alchemy_cms/pull/2943) ([sascha-karnatz](https://github.com/sascha-karnatz))
59
+ - 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))
60
+ - Remove dartsass-rails requirement from alchemy_cms.rb [#2941](https://github.com/AlchemyCMS/alchemy_cms/pull/2941) ([sascha-karnatz](https://github.com/sascha-karnatz))
61
+ - [js] Update all development Yarn dependencies (2024-06-27) [#2940](https://github.com/AlchemyCMS/alchemy_cms/pull/2940) ([depfu](https://github.com/apps/depfu))
62
+ - Fix grey color variables [#2939](https://github.com/AlchemyCMS/alchemy_cms/pull/2939) ([tvdeyen](https://github.com/tvdeyen))
63
+ - Use custom properties for color variables [#2938](https://github.com/AlchemyCMS/alchemy_cms/pull/2938) ([tvdeyen](https://github.com/tvdeyen))
64
+ - 🚨 [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))
65
+ - 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))
66
+ - 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))
67
+ - Remove to_jq_upload [#2931](https://github.com/AlchemyCMS/alchemy_cms/pull/2931) ([tvdeyen](https://github.com/tvdeyen))
68
+ - [js] Update all development Yarn dependencies (2024-06-13) [#2930](https://github.com/AlchemyCMS/alchemy_cms/pull/2930) ([depfu](https://github.com/apps/depfu))
69
+ - fix(ContactMessages): Use alchemy route proxy [#2926](https://github.com/AlchemyCMS/alchemy_cms/pull/2926) ([tvdeyen](https://github.com/tvdeyen))
70
+ - CSS: Use custom properties for spacing [#2925](https://github.com/AlchemyCMS/alchemy_cms/pull/2925) ([tvdeyen](https://github.com/tvdeyen))
71
+ - Adjustable preview sizes [#2923](https://github.com/AlchemyCMS/alchemy_cms/pull/2923) ([tvdeyen](https://github.com/tvdeyen))
72
+ - [js] Update all development Yarn dependencies (2024-06-06) [#2922](https://github.com/AlchemyCMS/alchemy_cms/pull/2922) ([depfu](https://github.com/apps/depfu))
73
+ - [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))
74
+ - Fix clipboard items styling [#2919](https://github.com/AlchemyCMS/alchemy_cms/pull/2919) ([tvdeyen](https://github.com/tvdeyen))
75
+ - Enable element select if only one is available [#2918](https://github.com/AlchemyCMS/alchemy_cms/pull/2918) ([tvdeyen](https://github.com/tvdeyen))
76
+ - Replace picture css class after update [#2917](https://github.com/AlchemyCMS/alchemy_cms/pull/2917) ([tvdeyen](https://github.com/tvdeyen))
77
+ - fix(RoutingConstraints): Allow Turbo Stream requests [#2913](https://github.com/AlchemyCMS/alchemy_cms/pull/2913) ([tvdeyen](https://github.com/tvdeyen))
78
+ - fix Ingredient Audio and Video boolean type casting [#2909](https://github.com/AlchemyCMS/alchemy_cms/pull/2909) ([tvdeyen](https://github.com/tvdeyen))
79
+ - Precompile CSS files into Gem [#2886](https://github.com/AlchemyCMS/alchemy_cms/pull/2886) ([tvdeyen](https://github.com/tvdeyen))
80
+ - Return 422 on validation error [#2869](https://github.com/AlchemyCMS/alchemy_cms/pull/2869) ([tvdeyen](https://github.com/tvdeyen))
12
81
 
13
82
  ## 7.2.4 (2024-08-10)
14
83
 
@@ -178,6 +247,31 @@
178
247
  - Add nodes to page dialog [#2699](https://github.com/AlchemyCMS/alchemy_cms/pull/2699) ([sascha-karnatz](https://github.com/sascha-karnatz))
179
248
  - Fixes language switching to default language [#2689](https://github.com/AlchemyCMS/alchemy_cms/pull/2689) ([robinboening](https://github.com/robinboening))
180
249
 
250
+ ## 7.1.11 (2024-08-10)
251
+
252
+ - [7.1-stable] fix PictureEditor defaultCropSize [#2991](https://github.com/AlchemyCMS/alchemy_cms/pull/2991) ([alchemycms-bot](https://github.com/alchemycms-bot))
253
+ - [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))
254
+ - [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))
255
+ - [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))
256
+ - [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))
257
+
258
+ ## 7.1.10 (2024-06-27)
259
+
260
+ - [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))
261
+ - [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))
262
+
263
+ ## 7.1.9 (2024-06-04)
264
+
265
+ - [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))
266
+ - [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))
267
+
268
+ ## 7.1.8 (2024-05-29)
269
+
270
+ - [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))
271
+ - [7.1-stable] Fix Preview Window width [#2881](https://github.com/AlchemyCMS/alchemy_cms/pull/2881) ([alchemycms-bot](https://github.com/alchemycms-bot))
272
+ - [7.1-stable] Fix preview window resize transition [#2872](https://github.com/AlchemyCMS/alchemy_cms/pull/2872) ([alchemycms-bot](https://github.com/alchemycms-bot))
273
+ - [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))
274
+
181
275
  ## 7.1.7 (2024-04-12)
182
276
 
183
277
  - [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,7 +26,6 @@ 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"
@@ -38,7 +37,7 @@ group :development, :test do
38
37
  gem "bumpy"
39
38
  gem "yard"
40
39
  gem "redcarpet"
41
- gem "pry-byebug"
40
+ gem "debug"
42
41
  gem "listen"
43
42
  gem "localeapp", "~> 3.0", require: false
44
43
  gem "dotenv", "~> 3.0"
@@ -59,3 +58,5 @@ end
59
58
  gem "web-console", "~> 4.2", group: :development
60
59
 
61
60
  gem "rails_live_reload", "~> 0.3.5"
61
+
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
+ .page-select--page,.page-select--page-name,.page-select--page-urlname{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.page-select--page{--size-1: var(--spacing-0, 2px);--size-2: var(--spacing-1, 4px);--size-3: var(--spacing-2, 8px);--small-font-size: var(--font-size_small, 10px);--grey: var(--color-grey_light, hsl(0deg, 0%, 94%));--color: var(--color-text, hsla(224deg, 23%, 26%, 0.8));--highlight-color: var(--grey);display:flex;flex-direction:column;color:var(--color)}.page-select--page alchemy-icon{margin-right:var(--size-2)}.page-select--page alchemy-icon .icon{fill:currentColor}.select2-highlighted .page-select--page{color:var(--highlight-color)}.page-select--top,.page-select--bottom{display:flex;flex-direction:row;align-items:center}.page-select--bottom{font-size:var(--small-font-size);padding-left:var(--size-1)}.page-select--page-urlname{color:var(--color-text_muted, hsla(224, 23%, 26%, 0.5));padding-right:var(--size-2)}.select2-highlighted .page-select--page-urlname{color:var(--highlight-color)}.page-select--language-code{--bg-color: var(--grey);--highlight-bg-color: var(--color-white, hsl(0deg, 0%, 100%));--border-radius: var(--border-radius_medium, 3px);display:inline-block;background-color:var(--bg-color);margin-left:auto;border-radius:var(--border-radius);padding:var(--size-1) var(--size-2);text-transform:uppercase}.select2-highlighted .page-select--language-code{color:var(--color);background-color:var(--highlight-bg-color)}.page-select--site-name{margin-left:auto;padding:var(--size-2) 0 var(--size-2) var(--size-3);font-size:var(--small-font-size)}/*# sourceMappingURL=page-select.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../stylesheets/alchemy/admin/page-select.scss"],"names":[],"mappings":"AAAA,sEAGE,uBACA,gBACA,mBAGF,mBAIE,gCACA,gCACA,gCACA,gDACA,oDACA,wDACA,+BAEA,aACA,sBACA,mBAEA,gCACE,2BAEA,sCACE,kBAIJ,wCACE,6BAIJ,uCAEE,aACA,mBACA,mBAGF,qBACE,iCACA,2BAGF,2BACE,wDACA,4BAEA,gDACE,6BAIJ,4BACE,wBACA,8DACA,kDAEA,qBACA,iCACA,iBACA,mCACA,oCACA,yBAEA,iDACE,mBACA,2CAIJ,wBACE,iBACA,oDACA","file":"page-select.css"}
@@ -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"}