alchemy_cms 7.1.7 → 7.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c18c4c0bf8d1eca13517eb239dd21c2995e35078d4bf652ac8ad6ad60fe0604
4
- data.tar.gz: 0461d163fbeacc70b4949c82f363eaca684a380b0a6a97668bd0145c30248740
3
+ metadata.gz: 6a82845cee38ba91586099fdb89a526869147dc6f53393c50fdef44d32ea2f59
4
+ data.tar.gz: 3d011de3b9ae8ef17d6aa203b890d3967eb8f2daf0a1788ddc39af5d38be1f95
5
5
  SHA512:
6
- metadata.gz: 350a8d8456af8acf413ebd125b974f95edeecf5abe4b3cad1cd6ef9515f19d3371905b63074250dd2a2f7349b0c0aae679d71f7f81c2b661190acbc8ed8a66c8
7
- data.tar.gz: a90eb673042a0b72f67f75dcd02dec0b95aaae850c6d45d250d3d6f0d8f03ce230cb081e05e95ced98ccf8c7d86fd278d3dca31117b9dc566e52f92c8144c1bb
6
+ metadata.gz: fe14f48b4623340deb4b2b48bb0370d353b609d2de2b03e15a38fadc140d3bc1c4c46d1dbd7207a3233fb85a95ba550c4fcb2c0c47c2005db13214c5d14b8e0d
7
+ data.tar.gz: c75236dbe97961a5dcac977d803c2d5026bd62f972c8db9fbd574b4dbc2117e9b9605be3b6035eb7eb44feb609f59fb4b941702b6a00cfcddeee2e279e5d8ccf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.1.9 (2024-06-04)
4
+
5
+ - [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))
6
+ - [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))
7
+
8
+ ## 7.1.8 (2024-05-29)
9
+
10
+ - [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))
11
+ - [7.1-stable] Fix Preview Window width [#2881](https://github.com/AlchemyCMS/alchemy_cms/pull/2881) ([alchemycms-bot](https://github.com/alchemycms-bot))
12
+ - [7.1-stable] Fix preview window resize transition [#2872](https://github.com/AlchemyCMS/alchemy_cms/pull/2872) ([alchemycms-bot](https://github.com/alchemycms-bot))
13
+ - [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))
14
+
3
15
  ## 7.1.7 (2024-04-12)
4
16
 
5
17
  - [7.1-stable] Fix Ingredient Boolean View [#2838](https://github.com/AlchemyCMS/alchemy_cms/pull/2838) ([alchemycms-bot](https://github.com/alchemycms-bot))
@@ -616,15 +616,13 @@ alchemy-publish-element-button {
616
616
  .picture_ingredient_css_class {
617
617
  position: absolute;
618
618
  z-index: 1;
619
- bottom: 24px;
620
- width: 99px;
621
- background-color: white;
619
+ bottom: 34px;
622
620
  background-color: rgba(255, 254, 255, 0.7);
623
621
  padding: 4px 8px;
624
622
  font-size: $small-font-size;
625
- text-align: right;
626
- height: 12px;
627
623
  overflow: hidden;
624
+ max-width: 100%;
625
+ text-overflow: ellipsis;
628
626
  }
629
627
  }
630
628
 
@@ -7,7 +7,7 @@
7
7
  border: 0 none;
8
8
  background: #fff;
9
9
  border-right: $default-border;
10
- transition: $transition-duration ease-in-out;
10
+ transition: width $transition-duration ease-in-out;
11
11
 
12
12
  .collapsed-menu & {
13
13
  left: $collapsed-main-menu-width;
@@ -15,10 +15,14 @@
15
15
  }
16
16
 
17
17
  .collapsed-menu.elements-window-visible & {
18
- width: calc(100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width});
18
+ width: calc(
19
+ 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width}
20
+ );
19
21
 
20
- @media screen and (min-width: $large-screen-break-point) {
21
- max-width: calc(100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width});
22
+ @media screen and (min-width: 1777px) {
23
+ width: calc(
24
+ 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width}
25
+ );
22
26
  }
23
27
  }
24
28
  }
@@ -26,6 +26,17 @@ module Alchemy
26
26
  def preview_text(max_length = 30)
27
27
  name.to_s[0..max_length - 1]
28
28
  end
29
+
30
+ %i[
31
+ autoplay
32
+ controls
33
+ loop
34
+ muted
35
+ ].each do |method|
36
+ define_method(:"#{method}=") do |value|
37
+ super(ActiveModel::Type::Boolean.new.cast(value))
38
+ end
39
+ end
29
40
  end
30
41
  end
31
42
  end
@@ -31,6 +31,18 @@ module Alchemy
31
31
  def preview_text(max_length = 30)
32
32
  name.to_s[0..max_length - 1]
33
33
  end
34
+
35
+ %i[
36
+ autoplay
37
+ controls
38
+ loop
39
+ muted
40
+ playsinline
41
+ ].each do |method|
42
+ define_method(:"#{method}=") do |value|
43
+ super(ActiveModel::Type::Boolean.new.cast(value))
44
+ end
45
+ end
34
46
  end
35
47
  end
36
48
  end
@@ -27,7 +27,7 @@ module Alchemy
27
27
  # because it could be a legacy route that needs to be redirected.
28
28
  #
29
29
  def handable_format?
30
- @request.format.symbol.nil? || (@request.format.symbol == :html)
30
+ @request.format.symbol.nil? || @request.format.html?
31
31
  end
32
32
 
33
33
  # We don't want to handle the Rails info routes.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.1.7"
4
+ VERSION = "7.1.9"
5
5
 
6
6
  def self.version
7
7
  VERSION
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.1.7
4
+ version: 7.1.9
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: 2024-06-04 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer
@@ -1442,7 +1442,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1442
1442
  version: '0'
1443
1443
  requirements:
1444
1444
  - ImageMagick (libmagick), v6.6 or greater.
1445
- rubygems_version: 3.4.19
1445
+ rubygems_version: 3.5.9
1446
1446
  signing_key:
1447
1447
  specification_version: 4
1448
1448
  summary: A powerful, userfriendly and flexible CMS for Rails