alchemy_cms 7.3.1 → 7.3.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1c14706898ccb67fa43de10bd8201bf7adb47c836535066b9fe617e7f17a605
|
|
4
|
+
data.tar.gz: 7792bae3328cf7ab0bc486c83cb7d49190e867afbccc990d0d3ee442caaeb4e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24c15fa0ba50316c14365f471eefe5ec0440523811b5f2b49f925d585c698cc25cb02c8f35399464482f3415b70839650206166bdff93c1374a1ec43f9a4eb7b
|
|
7
|
+
data.tar.gz: de7441196f5451858b2005511963c2c2ea1efbf7bdfe98ac28b16137d6a6a79629bc48db4c6cc7ad322b16081b73ab24e23cf338c9966ecce9d3f6e334a5d4c7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.3.2 (2024-10-15)
|
|
4
|
+
|
|
5
|
+
- [7.3-stable] Fix filtering associated models by id [#3068](https://github.com/AlchemyCMS/alchemy_cms/pull/3068) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
|
6
|
+
- [7.3-stable] fix new page form [#3064](https://github.com/AlchemyCMS/alchemy_cms/pull/3064) ([tvdeyen](https://github.com/tvdeyen))
|
|
7
|
+
|
|
3
8
|
## 7.3.1 (2024-10-04)
|
|
4
9
|
|
|
5
10
|
- [7.3-stable] Add tinymce skin files to Sprockets manifest [#3063](https://github.com/AlchemyCMS/alchemy_cms/pull/3063) ([tvdeyen](https://github.com/tvdeyen))
|
|
@@ -138,7 +138,7 @@ module Alchemy
|
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
def eligible_resource_filter_values
|
|
141
|
-
resource_filters.map(&:values).flatten
|
|
141
|
+
resource_filters.map(&:values).flatten!.map!(&:to_s)
|
|
142
142
|
end
|
|
143
143
|
|
|
144
144
|
# Returns a translated +flash[:notice]+ for current controller action.
|
|
@@ -13,7 +13,7 @@ module Alchemy
|
|
|
13
13
|
unless: -> { name.blank? }
|
|
14
14
|
|
|
15
15
|
validates :name,
|
|
16
|
-
presence: true
|
|
16
|
+
presence: true, uniqueness: {scope: [:parent_id], case_sensitive: false, unless: -> { parent_id.nil? }}
|
|
17
17
|
validates :urlname,
|
|
18
18
|
uniqueness: {scope: [:language_id, :layoutpage], if: -> { urlname.present? }, case_sensitive: false},
|
|
19
19
|
exclusion: {in: RESERVED_URLNAMES},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
label: Alchemy.t(:page_type),
|
|
15
15
|
include_blank: @page_layouts.length == 1 ? nil : Alchemy.t('Please choose'),
|
|
16
16
|
required: true,
|
|
17
|
-
selected: @page_layouts.length == 1 ? @page_layouts.first :
|
|
17
|
+
selected: @page_layouts.length == 1 ? @page_layouts.first : @page.page_layout,
|
|
18
18
|
input_html: {is: 'alchemy-select'} %>
|
|
19
19
|
<%= f.input :name %>
|
|
20
20
|
<%= f.submit Alchemy.t(:create) %>
|
data/lib/alchemy/version.rb
CHANGED
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.3.
|
|
4
|
+
version: 7.3.2
|
|
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-10-
|
|
16
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: actionmailer
|