alchemy_cms 7.2.5 → 7.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
- data/app/controllers/alchemy/messages_controller.rb +1 -0
- data/app/helpers/alchemy/elements_helper.rb +1 -1
- data/app/models/alchemy/page.rb +3 -3
- data/lib/alchemy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 670e0b2cd72ba2921ac426032c27d0cb6b04a43e9fe4ae89ea0c7e56f6278f6a
|
4
|
+
data.tar.gz: 161e0a7b47c9b769730158642d1aa534d0ac7ed3d0b0a15e52b59b8dc7d2866e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81138adc31691f995fe4ce4dde485cad775f97c29435f797d8884bac65a14f111332b4d34efedd1e392166a0de1935d9ddf09509ba8cfd5963e5977a39211b5
|
7
|
+
data.tar.gz: 14d5924f88dc2df9a6edd60af8b68ec8a35a6fd8e5d543b98b629bb8e822c3889756dde244ca48b8d12b5eba9d0916fec6caad1e5d43b3e4ef370b63cd8f0e5e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.2.7 (2024-10-15)
|
4
|
+
|
5
|
+
- [7.2-stable] Fix filtering associated models by id [#3069](https://github.com/AlchemyCMS/alchemy_cms/pull/3069) ([tvdeyen](https://github.com/tvdeyen))
|
6
|
+
- [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))
|
7
|
+
|
8
|
+
## 7.2.6 (2024-09-04)
|
9
|
+
|
10
|
+
- [7.2-stable] Set Alchemy::Page.current in Messages Controller [#3021](https://github.com/AlchemyCMS/alchemy_cms/pull/3021) ([tvdeyen](https://github.com/tvdeyen))
|
11
|
+
- [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))
|
12
|
+
|
3
13
|
## 7.2.5 (2024-09-04)
|
4
14
|
|
5
15
|
- [7.2-stable] Render Datetime ingredient in local time zone [#3019](https://github.com/AlchemyCMS/alchemy_cms/pull/3019) ([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.
|
data/app/models/alchemy/page.rb
CHANGED
@@ -491,7 +491,7 @@ module Alchemy
|
|
491
491
|
# does not respond to +#name+ it returns +'unknown'+
|
492
492
|
#
|
493
493
|
def creator_name
|
494
|
-
creator.try(:
|
494
|
+
creator.try(:alchemy_display_name) || Alchemy.t("unknown")
|
495
495
|
end
|
496
496
|
|
497
497
|
# Returns the name of the last updater of this page.
|
@@ -500,7 +500,7 @@ module Alchemy
|
|
500
500
|
# does not respond to +#name+ it returns +'unknown'+
|
501
501
|
#
|
502
502
|
def updater_name
|
503
|
-
updater.try(:
|
503
|
+
updater.try(:alchemy_display_name) || Alchemy.t("unknown")
|
504
504
|
end
|
505
505
|
|
506
506
|
# Returns the name of the user currently editing this page.
|
@@ -509,7 +509,7 @@ module Alchemy
|
|
509
509
|
# does not respond to +#name+ it returns +'unknown'+
|
510
510
|
#
|
511
511
|
def locker_name
|
512
|
-
locker.try(:
|
512
|
+
locker.try(:alchemy_display_name) || Alchemy.t("unknown")
|
513
513
|
end
|
514
514
|
|
515
515
|
# Key hint translations by page layout, rather than the default name.
|
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.2.
|
4
|
+
version: 7.2.7
|
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-
|
16
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: actionmailer
|