HornsAndHooves-publify_core 10.1.0 → 10.2.0
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 +4 -4
- data/app/controllers/admin/content_controller.rb +5 -4
- data/db/migrate/20150207131657_add_missing_indexes.rb +4 -4
- data/db/migrate/20160605154632_remove_profiles.rb +6 -6
- data/db/migrate/20220815155148_add_image_alt_field_to_contents_table.rb +7 -0
- data/lib/publify_core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a09dce0d55773731cef11473dcf8be31314f3aa1098d3f8dd317c11af86c2b9
|
4
|
+
data.tar.gz: e6b94c596692f5e7c70e84ed1305b127ade475cbf202ff2eefa5342f8ecae9ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 107f21bd932909c13c19fc87e6b6e73e7f9e62f54981981213c593d1b1eaf1aa0659deff10d36c051c20d6dc1e82bc711babee1d7b94cd822fc3359871dbde0a
|
7
|
+
data.tar.gz: ad597f44c029a425659d95257190c134d022e955b6e9d56a79968e18358425402f40726e4a6e48e1ddf346c0017664bd9deb9456e0bfc1af258dfe28810cc947
|
@@ -179,14 +179,15 @@ class Admin::ContentController < Admin::BaseController
|
|
179
179
|
:allow_pings,
|
180
180
|
:body,
|
181
181
|
:body_and_extended,
|
182
|
-
:resource_id,
|
183
182
|
:draft,
|
183
|
+
:excerpt,
|
184
184
|
:extended,
|
185
|
+
:image_alt,
|
186
|
+
:keywords,
|
185
187
|
:permalink,
|
186
188
|
:published_at,
|
187
|
-
:
|
188
|
-
:
|
189
|
-
:excerpt)
|
189
|
+
:resource_id,
|
190
|
+
:title)
|
190
191
|
end
|
191
192
|
|
192
193
|
def default_text_filter
|
@@ -4,18 +4,18 @@ class AddMissingIndexes < ActiveRecord::Migration[4.2]
|
|
4
4
|
set_role "blog_content"
|
5
5
|
|
6
6
|
def change
|
7
|
-
add_index :feedback, [
|
7
|
+
add_index :feedback, %i[id type]
|
8
8
|
add_index :feedback, :user_id
|
9
|
-
add_index :sidebars, [
|
9
|
+
add_index :sidebars, %i[id type]
|
10
10
|
add_index :contents, :user_id
|
11
|
-
add_index :contents, [
|
11
|
+
add_index :contents, %i[id type]
|
12
12
|
add_index :articles_tags, :tag_id
|
13
13
|
add_index :articles_tags, :article_id
|
14
14
|
add_index :profiles_rights, :profile_id
|
15
15
|
add_index :users, :profile_id
|
16
16
|
add_index :users, :text_filter_id
|
17
17
|
add_index :users, :resource_id
|
18
|
-
add_index :triggers, [
|
18
|
+
add_index :triggers, %i[pending_item_id pending_item_type]
|
19
19
|
add_index :redirections, :content_id
|
20
20
|
add_index :redirections, :redirect_id
|
21
21
|
add_index :resources, :article_id
|
@@ -19,13 +19,13 @@ class RemoveProfiles < ActiveRecord::Migration[4.2]
|
|
19
19
|
end
|
20
20
|
|
21
21
|
Profile.create!(label: "admin", nicename: "Publify administrator",
|
22
|
-
modules: [
|
23
|
-
|
24
|
-
|
22
|
+
modules: %i[dashboard articles notes pages feedback
|
23
|
+
media themes sidebar profile users
|
24
|
+
settings seo])
|
25
25
|
Profile.create!(label: "publisher", nicename: "Blog publisher",
|
26
|
-
modules: [
|
27
|
-
|
26
|
+
modules: %i[dashboard articles notes pages feedback
|
27
|
+
media profile])
|
28
28
|
Profile.create!(label: "contributor", nicename: "Contributor",
|
29
|
-
modules: [
|
29
|
+
modules: %i[dashboard profile])
|
30
30
|
end
|
31
31
|
end
|
data/lib/publify_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: HornsAndHooves-publify_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2023-11-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: aasm
|
@@ -1001,6 +1001,7 @@ files:
|
|
1001
1001
|
- db/migrate/20190208152646_move_text_filter_to_name.rb
|
1002
1002
|
- db/migrate/20190209155717_remove_text_filter_ids.rb
|
1003
1003
|
- db/migrate/20190209160610_remove_text_filters.rb
|
1004
|
+
- db/migrate/20220815155148_add_image_alt_field_to_contents_table.rb
|
1004
1005
|
- db/seeds.rb
|
1005
1006
|
- lib/email_notify.rb
|
1006
1007
|
- lib/format.rb
|