alchemy_cms 7.4.7 → 7.4.9

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.

Potentially problematic release.


This version of alchemy_cms might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9754354a6b9530ecde9ada3fa1e44591860745eb64698b3d0e5401c414225bc6
4
- data.tar.gz: 105995a8e3db31e893fdeea3426b9f02c25384add19cb579fc93aab9f7d44802
3
+ metadata.gz: 599bd5102e32131bf2e09816138effbe10a42f7a566b20d546daa5b9d10d6005
4
+ data.tar.gz: ad5ae57a1ca11863b2467fa36fc4f87289b077e652e2de6b1e039f085255adf2
5
5
  SHA512:
6
- metadata.gz: 9aa9d02d5af4b97d2083b3756575d5eff12378efbb777094140122959476f1dcca618482d371f120356ce9146325d30f6da1185b451b4bb2f33e4f528bf20a0e
7
- data.tar.gz: e7c5e0e08f8b337a1e38ac437ed593b19d14d0ac1db2d6d7782572ba4ba94f94f270f994c2b38f212b3e44d4191fa72af8f7c907d9a11d7b930fac9d176a5d6c
6
+ metadata.gz: 2271fbba51fd74d0019764845a54a892ed896276a57c516b2b2261d6bc00ab02c2c13f4f71e02cd1b227f4a94ed08b262b72f0fac08dcadb114499e6a9021ffa
7
+ data.tar.gz: c1ddedb6f0fc7d326b34ef88042aa505c4e6a882c0984a7fb728ae1d795d90f3ec16b6b8e00da450d70ef6f70576ab20f8bdc29224867f29ffd8a86c92d97982
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.4.9 (2025-09-04)
4
+
5
+ - [7.4-stable] Alchemy TinyMCE: Remove frontend presence validation [#3361](https://github.com/AlchemyCMS/alchemy_cms/pull/3361) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
+ - [7.4-stable] Fix page info url path display [#3355](https://github.com/AlchemyCMS/alchemy_cms/pull/3355) ([alchemycms-bot](https://github.com/alchemycms-bot))
7
+
8
+ ## 7.4.8 (2025-08-15)
9
+
10
+ - [7.4-stable] fix(DatetimeView): Use settings value if present [#3350](https://github.com/AlchemyCMS/alchemy_cms/pull/3350) ([alchemycms-bot](https://github.com/alchemycms-bot))
11
+
3
12
  ## 7.4.7 (2025-07-22)
4
13
 
5
14
  - [7.4-stable] Harden picture descriptions integration spec [#3342](https://github.com/AlchemyCMS/alchemy_cms/pull/3342) ([alchemycms-bot](https://github.com/alchemycms-bot))
@@ -1,13 +1,15 @@
1
1
  module Alchemy
2
2
  module Ingredients
3
3
  class DatetimeView < BaseView
4
+ DEFAULT_DATE_FORMAT = :"alchemy.default"
5
+
4
6
  attr_reader :date_format
5
7
 
6
8
  # @param ingredient [Alchemy::Ingredient]
7
9
  # @param date_format [String] The date format to use. Use either a strftime format string, a I18n format symbol or "rfc822". Defaults to "time.formats.alchemy.default".
8
- def initialize(ingredient, date_format: :"alchemy.default", html_options: {})
10
+ def initialize(ingredient, date_format: nil, html_options: {})
9
11
  super(ingredient)
10
- @date_format = settings_value(:date_format, value: date_format)
12
+ @date_format = settings_value(:date_format, value: date_format) || DEFAULT_DATE_FORMAT
11
13
  end
12
14
 
13
15
  def call
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div class="value">
17
17
  <label><%= Alchemy::Page.human_attribute_name(:urlname) %></label>
18
- <p><%= "/#{@page.urlname}" %></p>
18
+ <p><%= @page.url_path %></p>
19
19
  </div>
20
20
  <div class="value">
21
21
  <label><%= Alchemy.t(:page_status) %></label>
@@ -7,7 +7,6 @@
7
7
  <%= f.text_field :page_id,
8
8
  value: page_editor.page&.id,
9
9
  id: page_editor.form_field_id(:page_id),
10
- required: page_editor.presence_validation?,
11
10
  class: 'full_width' %>
12
11
  <% end %>
13
12
  <% end %>
@@ -9,7 +9,6 @@
9
9
  <%= f.text_area :value,
10
10
  minlength: richtext_editor.length_validation&.fetch(:minimum, nil),
11
11
  maxlength: richtext_editor.length_validation&.fetch(:maximum, nil),
12
- required: richtext_editor.presence_validation?,
13
12
  id: richtext_editor.form_field_id(:value) %>
14
13
  <% end %>
15
14
  <% end %>
@@ -24,8 +24,7 @@
24
24
  <%= f.select :value, options_tags, {}, {
25
25
  id: select_editor.form_field_id,
26
26
  class: ["ingredient-editor-select"],
27
- is: "alchemy-select",
28
- required: select_editor.presence_validation?
27
+ is: "alchemy-select"
29
28
  } %>
30
29
  <% end %>
31
30
  <% end %>
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.4.7"
4
+ VERSION = "7.4.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.4.7
4
+ version: 7.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -1409,7 +1409,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1409
1409
  version: '0'
1410
1410
  requirements:
1411
1411
  - ImageMagick (libmagick), v6.6 or greater.
1412
- rubygems_version: 3.6.7
1412
+ rubygems_version: 3.6.9
1413
1413
  specification_version: 4
1414
1414
  summary: A powerful, userfriendly and flexible CMS for Rails
1415
1415
  test_files: []