alchemy_cms 5.0.7 → 5.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +6 -6
- data/app/models/alchemy/attachment.rb +1 -1
- data/app/models/alchemy/element.rb +1 -1
- data/app/models/alchemy/node.rb +1 -1
- data/app/models/alchemy/page.rb +1 -1
- data/app/models/alchemy/picture.rb +1 -1
- data/lib/alchemy/userstamp.rb +1 -1
- data/lib/alchemy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f7ac2a39b679dbdfce2dff63b5751ea6207aa85e9e3c037a54c60db2519eb2e
|
4
|
+
data.tar.gz: acef683479517554b1449fbae83b98cd9334a6269b49b253ef0c019ef302e9df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 255cdc036c8d21e35121fc3a714a5a267ffcdc0339ef96c0c7c38066598fdfcf868272558ef36f63c480e526fef2a1296df5885613ff811a234bec7f04051a17
|
7
|
+
data.tar.gz: 913f322105840103a4e453c2ed5e6a8b0a363268d678a8e8a20d7fe5d527986242eb1d526ba231cd784ed4b639156e5f0935f38e6070770c4b026c0210c5afd8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 5.0.8 (2021-11-17)
|
2
|
+
|
3
|
+
- Set stampable user_class_name without root identifier ([tvdeyen](https://github.com/tvdeyen))
|
4
|
+
- Use relative path for tinymce font-face ([tvdeyen](https://github.com/tvdeyen))
|
5
|
+
|
1
6
|
## 5.0.7 (2021-10-26)
|
2
7
|
|
3
8
|
- Make sure to install correct npm package ([tvdeyen](https://github.com/tvdeyen))
|
@@ -1566,18 +1566,18 @@ i.mce-i-resize {
|
|
1566
1566
|
|
1567
1567
|
@font-face {
|
1568
1568
|
font-family: 'tinymce';
|
1569
|
-
src: url('fonts/tinymce.woff') format('woff'),
|
1570
|
-
url('fonts/tinymce.ttf') format('truetype'),
|
1571
|
-
url('fonts/tinymce.svg#tinymce') format('svg');
|
1569
|
+
src: url('./fonts/tinymce.woff') format('woff'),
|
1570
|
+
url('./fonts/tinymce.ttf') format('truetype'),
|
1571
|
+
url('./fonts/tinymce.svg#tinymce') format('svg');
|
1572
1572
|
font-weight: normal;
|
1573
1573
|
font-style: normal;
|
1574
1574
|
}
|
1575
1575
|
|
1576
1576
|
@font-face {
|
1577
1577
|
font-family: 'tinymce-small';
|
1578
|
-
src: url('fonts/tinymce-small.woff') format('woff'),
|
1579
|
-
url('fonts/tinymce-small.ttf') format('truetype'),
|
1580
|
-
url('fonts/tinymce-small.svg#tinymce') format('svg');
|
1578
|
+
src: url('./fonts/tinymce-small.woff') format('woff'),
|
1579
|
+
url('./fonts/tinymce-small.ttf') format('truetype'),
|
1580
|
+
url('./fonts/tinymce-small.svg#tinymce') format('svg');
|
1581
1581
|
font-weight: normal;
|
1582
1582
|
font-style: normal;
|
1583
1583
|
}
|
@@ -28,7 +28,7 @@ module Alchemy
|
|
28
28
|
after_assign { |f| write_attribute(:file_mime_type, f.mime_type) }
|
29
29
|
end
|
30
30
|
|
31
|
-
stampable stamper_class_name: Alchemy.
|
31
|
+
stampable stamper_class_name: Alchemy.user_class.name
|
32
32
|
|
33
33
|
has_many :essence_files, class_name: "Alchemy::EssenceFile", foreign_key: "attachment_id"
|
34
34
|
has_many :contents, through: :essence_files
|
@@ -60,7 +60,7 @@ module Alchemy
|
|
60
60
|
#
|
61
61
|
acts_as_list scope: [:page_id, :fixed, :parent_element_id]
|
62
62
|
|
63
|
-
stampable stamper_class_name: Alchemy.
|
63
|
+
stampable stamper_class_name: Alchemy.user_class.name
|
64
64
|
|
65
65
|
has_many :contents, dependent: :destroy, inverse_of: :element
|
66
66
|
|
data/app/models/alchemy/node.rb
CHANGED
@@ -7,7 +7,7 @@ module Alchemy
|
|
7
7
|
before_destroy :check_if_related_essence_nodes_present
|
8
8
|
|
9
9
|
acts_as_nested_set scope: "language_id", touch: true
|
10
|
-
stampable stamper_class_name: Alchemy.
|
10
|
+
stampable stamper_class_name: Alchemy.user_class.name
|
11
11
|
|
12
12
|
belongs_to :language, class_name: "Alchemy::Language"
|
13
13
|
belongs_to :page, class_name: "Alchemy::Page", optional: true, inverse_of: :nodes
|
data/app/models/alchemy/page.rb
CHANGED
@@ -93,7 +93,7 @@ module Alchemy
|
|
93
93
|
case_sensitive: false,
|
94
94
|
message: Alchemy.t("not a valid image")
|
95
95
|
|
96
|
-
stampable stamper_class_name: Alchemy.
|
96
|
+
stampable stamper_class_name: Alchemy.user_class.name
|
97
97
|
|
98
98
|
scope :named, ->(name) { where("#{table_name}.name LIKE ?", "%#{name}%") }
|
99
99
|
scope :recent, -> { where("#{table_name}.created_at > ?", Time.current - 24.hours).order(:created_at) }
|
data/lib/alchemy/userstamp.rb
CHANGED
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: 5.0.
|
4
|
+
version: 5.0.8
|
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: 2021-
|
16
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|
@@ -1274,7 +1274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1274
1274
|
version: '0'
|
1275
1275
|
requirements:
|
1276
1276
|
- ImageMagick (libmagick), v6.6 or greater.
|
1277
|
-
rubygems_version: 3.
|
1277
|
+
rubygems_version: 3.1.6
|
1278
1278
|
signing_key:
|
1279
1279
|
specification_version: 4
|
1280
1280
|
summary: A powerful, userfriendly and flexible CMS for Rails
|