phcpress 6.7.3 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/views/layouts/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/phcpress/articles/posts/_form.html.erb +1 -1
- data/app/views/phcpress/articles/posts/edit.html.erb +4 -0
- data/app/views/phcpress/articles/posts/index.html.erb +5 -0
- data/app/views/phcpress/articles/posts/new.html.erb +4 -0
- data/app/views/phcpress/articles/posts/show.html.erb +3 -2
- data/app/views/phcpress/modules/categories/_form.html.erb +18 -19
- data/app/views/phcpress/modules/categories/edit.html.erb +4 -2
- data/app/views/phcpress/modules/categories/index.html.erb +5 -0
- data/app/views/phcpress/modules/categories/new.html.erb +3 -1
- data/app/views/phcpress/modules/categories/show.html.erb +2 -2
- data/app/views/phcpress/modules/connections/_form.html.erb +21 -23
- data/app/views/phcpress/modules/connections/edit.html.erb +3 -1
- data/app/views/phcpress/modules/connections/index.html.erb +6 -1
- data/app/views/phcpress/modules/connections/new.html.erb +2 -0
- data/app/views/phcpress/modules/connections/show.html.erb +3 -3
- data/lib/phcpress/version.rb +1 -1
- metadata +14 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20bd0aa632c965c80e83e17132ae117b069b863c
|
4
|
+
data.tar.gz: d28b7dc85bb1520beba38952e919c8ddd417f282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15bf35ecaa2af6bc41ae9b3bc62906bf7a6cd0e9d0be0387eb8f83f15d6716dda70c6e7be1aa7ec19863637cd60577fa8f358dcc70da0efa6149c7e452951b8a
|
7
|
+
data.tar.gz: f88ae5d63c18ca2fb4e4f140ae56a1d28c6100fb569451a53e038900e6de94004bb1f554b7a888d9e36731aad995a566817ab0da6f162e7643c9996a7c5c9b8f
|
data/README.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/phcpress.svg)](https://badge.fury.io/rb/phcpress)
|
5
5
|
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/PHCNetworks/phc-press/blob/master/MIT-LICENSE)
|
6
6
|
|
7
|
-
### PHCPress(
|
8
|
-
PHCPress(
|
7
|
+
### PHCPress(7) (News/Blog Engine) Documentation
|
8
|
+
PHCPress(7) rails CMS engine to manage your website's articles, categories and media.
|
9
9
|
|
10
10
|
* Website article posts with WYSIWYG editor.
|
11
11
|
* Upload images locally or use any popular cloud service.
|
@@ -13,7 +13,7 @@ PHCPress(6) rails CMS engine to manage your website's articles, categories and m
|
|
13
13
|
|
14
14
|
#### Step 1 - Add PHCPress to your gemfile and run command
|
15
15
|
|
16
|
-
gem 'phcpress', '~>
|
16
|
+
gem 'phcpress', '~> 7.0'
|
17
17
|
bundle install
|
18
18
|
|
19
19
|
#### Step 2 - Copy PHCPress Database Tables
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="pull-right hidden-xs">
|
2
|
-
<b>Version</b>
|
2
|
+
<b>Version</b> 7.0.0 - MAR-17-<%= Date.today.year %>
|
3
3
|
</div>
|
4
4
|
<strong>© 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
|
@@ -27,6 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Index Table -->
|
30
31
|
<div class="table-responsive">
|
31
32
|
<table class="table table-bordered table-striped table-hover">
|
32
33
|
<thead>
|
@@ -52,9 +53,13 @@
|
|
52
53
|
</tbody>
|
53
54
|
</table>
|
54
55
|
</div>
|
56
|
+
<!-- Index Table -->
|
57
|
+
|
58
|
+
<!-- Panel Footer -->
|
55
59
|
<div class="box-footer clearfix">
|
56
60
|
<%= link_to 'New Blog Post', new_articles_post_path, class: "btn btn-primary" %>
|
57
61
|
</div>
|
62
|
+
<!-- Panel Footer -->
|
58
63
|
|
59
64
|
</div>
|
60
65
|
</div>
|
@@ -27,10 +27,11 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
-
|
30
|
+
<!-- Show Content -->
|
31
31
|
<%= link_to 'Edit', edit_articles_post_path(@articles_post) %> |
|
32
32
|
<%= link_to 'Back', articles_posts_path %>
|
33
|
-
|
33
|
+
<!-- Show Content -->
|
34
|
+
|
34
35
|
</div>
|
35
36
|
</div>
|
36
37
|
</div>
|
@@ -1,21 +1,20 @@
|
|
1
|
-
|
2
|
-
<div class="col-lg-12">
|
3
|
-
|
4
|
-
<%= form_for(@modules_category) do |f| %>
|
5
|
-
|
6
|
-
<!-- PHC-Notifi Render Validation -->
|
7
|
-
<%= render 'phcnotifi/validations', :object => @modules_category %>
|
8
|
-
|
9
|
-
<div class="form-group">
|
10
|
-
<label><%= f.label :catname, "Category Name" %></label>
|
11
|
-
<%= f.text_field :catname, class: "form-control" %>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="actions">
|
15
|
-
<%= f.submit "Submit", class: "btn btn-primary" %>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<% end %>
|
1
|
+
<%= form_for(@modules_category) do |f| %>
|
19
2
|
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
|
+
<%= render 'phcnotifi/validations', :object => @modules_category %>
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
8
|
+
<div class="form-group field_with_errors">
|
9
|
+
<label><%= f.label :catname, "Category Name" %></label>
|
10
|
+
<%= f.text_field :catname, class: "form-control" %>
|
11
|
+
</div>
|
12
|
+
<!-- Form Fields -->
|
13
|
+
|
14
|
+
<!-- Form Button -->
|
15
|
+
<div class="actions">
|
16
|
+
<%= f.submit class: "btn btn-primary" %>
|
20
17
|
</div>
|
21
|
-
|
18
|
+
<!-- Form Button -->
|
19
|
+
|
20
|
+
<% end %>
|
@@ -27,11 +27,13 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Page Form (Edit) -->
|
30
31
|
<%= render 'form', modules_category: @modules_category %>
|
32
|
+
<!-- Page Form (Edit) -->
|
33
|
+
|
31
34
|
</div>
|
32
35
|
</div>
|
33
|
-
|
34
36
|
</div>
|
35
37
|
</div>
|
36
38
|
</section>
|
37
|
-
<!-- Main Content -->
|
39
|
+
<!-- Main Content -->
|
@@ -26,6 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
+
<!-- Index Table -->
|
29
30
|
<div class="table-responsive">
|
30
31
|
<table class="table table-bordered table-striped table-hover">
|
31
32
|
<thead>
|
@@ -49,9 +50,13 @@
|
|
49
50
|
</tbody>
|
50
51
|
</table>
|
51
52
|
</div>
|
53
|
+
<!-- Index Table -->
|
54
|
+
|
55
|
+
<!-- Panel Footer -->
|
52
56
|
<div class="box-footer clearfix">
|
53
57
|
<%= link_to 'New Category', new_modules_category_path, class: "btn btn-primary" %>
|
54
58
|
</div>
|
59
|
+
<!-- Panel Footer -->
|
55
60
|
|
56
61
|
</div>
|
57
62
|
</div>
|
@@ -27,11 +27,13 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Page Form (New) -->
|
30
31
|
<%= render 'form', modules_category: @modules_category %>
|
32
|
+
<!-- Page Form (New) -->
|
31
33
|
|
32
34
|
</div>
|
33
35
|
</div>
|
34
36
|
</div>
|
35
37
|
</div>
|
36
38
|
</section>
|
37
|
-
<!-- Main Content -->
|
39
|
+
<!-- Main Content -->
|
@@ -27,10 +27,10 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
<!-- Show Content -->
|
32
31
|
<%= link_to 'Edit', edit_modules_category_path(@modules_category) %> |
|
33
32
|
<%= link_to 'Back', modules_categories_path %>
|
33
|
+
<!-- Show Content -->
|
34
34
|
|
35
35
|
</div>
|
36
36
|
</div>
|
@@ -1,26 +1,24 @@
|
|
1
|
-
|
2
|
-
<div class="col-lg-12">
|
1
|
+
<%= form_for(@modules_connection) do |f| %>
|
3
2
|
|
4
|
-
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
|
+
<%= render 'phcnotifi/validations', :object => @articles_post %>
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<%= f.label :category_id, "Category ID" %>
|
11
|
-
<%= f.text_field :category_id, class: "form-control" %>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="form-group">
|
15
|
-
<%= f.label :post_id, "Post ID" %>
|
16
|
-
<%= f.text_field :post_id, class: "form-control" %>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<div class="actions">
|
20
|
-
<%= f.submit "Submit", class: "btn btn-primary" %>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<% end %>
|
24
|
-
|
7
|
+
<!-- Form Fields -->
|
8
|
+
<div class="form-group field_with_errors">
|
9
|
+
<%= f.label :category_id, "Category ID" %>
|
10
|
+
<%= f.text_field :category_id, class: "form-control" %>
|
25
11
|
</div>
|
26
|
-
|
12
|
+
<div class="form-group field_with_errors">
|
13
|
+
<%= f.label :post_id, "Post ID" %>
|
14
|
+
<%= f.text_field :post_id, class: "form-control" %>
|
15
|
+
</div>
|
16
|
+
<!-- Form Fields -->
|
17
|
+
|
18
|
+
<!-- Form Button -->
|
19
|
+
<div class="actions">
|
20
|
+
<%= f.submit class: "btn btn-primary" %>
|
21
|
+
</div>
|
22
|
+
<!-- Form Button -->
|
23
|
+
|
24
|
+
<% end %>
|
@@ -27,11 +27,13 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
+
<!-- Page Form (Edit) -->
|
30
31
|
<%= render 'form', modules_connection: @modules_connection %>
|
32
|
+
<!-- Page Form (Edit) -->
|
31
33
|
|
32
34
|
</div>
|
33
35
|
</div>
|
34
36
|
</div>
|
35
37
|
</div>
|
36
38
|
</section>
|
37
|
-
<!-- Main Content -->
|
39
|
+
<!-- Main Content -->
|
@@ -26,6 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
<div class="box-body">
|
28
28
|
|
29
|
+
<!-- Index Table -->
|
29
30
|
<div class="table-responsive">
|
30
31
|
<table class="table table-bordered table-striped table-hover">
|
31
32
|
<thead>
|
@@ -49,10 +50,14 @@
|
|
49
50
|
</tbody>
|
50
51
|
</table>
|
51
52
|
</div>
|
53
|
+
<!-- Index Table -->
|
54
|
+
|
55
|
+
<!-- Panel Footer -->
|
52
56
|
<div class="box-footer clearfix">
|
53
57
|
<%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
|
54
58
|
</div>
|
55
|
-
|
59
|
+
<!-- Panel Footer -->
|
60
|
+
|
56
61
|
</div>
|
57
62
|
</div>
|
58
63
|
</div>
|
@@ -27,8 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="box-body">
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
<!-- Show Content -->
|
32
31
|
<p>
|
33
32
|
<strong>Post:</strong>
|
34
33
|
<%= @modules_connection.post_id %>
|
@@ -41,10 +40,11 @@
|
|
41
40
|
|
42
41
|
<%= link_to 'Edit', edit_modules_connection_path(@modules_connection) %> |
|
43
42
|
<%= link_to 'Back', modules_connections_path %>
|
43
|
+
<!-- Show Content -->
|
44
44
|
|
45
45
|
</div>
|
46
46
|
</div>
|
47
47
|
</div>
|
48
48
|
</div>
|
49
49
|
</section>
|
50
|
-
<!-- Main Content -->
|
50
|
+
<!-- Main Content -->
|
data/lib/phcpress/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcpress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.20.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.20.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: paper_trail
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,60 +70,42 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 1.7.2
|
73
|
+
version: '2.0'
|
77
74
|
type: :runtime
|
78
75
|
prerelease: false
|
79
76
|
version_requirements: !ruby/object:Gem::Requirement
|
80
77
|
requirements:
|
81
78
|
- - "~>"
|
82
79
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 1.7.2
|
80
|
+
version: '2.0'
|
87
81
|
- !ruby/object:Gem::Dependency
|
88
82
|
name: phctitleseo
|
89
83
|
requirement: !ruby/object:Gem::Requirement
|
90
84
|
requirements:
|
91
85
|
- - "~>"
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 4.3.1
|
87
|
+
version: '5.0'
|
97
88
|
type: :runtime
|
98
89
|
prerelease: false
|
99
90
|
version_requirements: !ruby/object:Gem::Requirement
|
100
91
|
requirements:
|
101
92
|
- - "~>"
|
102
93
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 4.3.1
|
94
|
+
version: '5.0'
|
107
95
|
- !ruby/object:Gem::Dependency
|
108
96
|
name: phcnotifi
|
109
97
|
requirement: !ruby/object:Gem::Requirement
|
110
98
|
requirements:
|
111
99
|
- - "~>"
|
112
100
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 3.9.1
|
101
|
+
version: '4.0'
|
117
102
|
type: :runtime
|
118
103
|
prerelease: false
|
119
104
|
version_requirements: !ruby/object:Gem::Requirement
|
120
105
|
requirements:
|
121
106
|
- - "~>"
|
122
107
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: 3.9.1
|
108
|
+
version: '4.0'
|
127
109
|
- !ruby/object:Gem::Dependency
|
128
110
|
name: jquery-rails
|
129
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,7 +249,7 @@ dependencies:
|
|
267
249
|
version: '2.18'
|
268
250
|
- - ">="
|
269
251
|
- !ruby/object:Gem::Version
|
270
|
-
version: 2.18.
|
252
|
+
version: 2.18.3
|
271
253
|
type: :runtime
|
272
254
|
prerelease: false
|
273
255
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -277,7 +259,7 @@ dependencies:
|
|
277
259
|
version: '2.18'
|
278
260
|
- - ">="
|
279
261
|
- !ruby/object:Gem::Version
|
280
|
-
version: 2.18.
|
262
|
+
version: 2.18.3
|
281
263
|
- !ruby/object:Gem::Dependency
|
282
264
|
name: rabl
|
283
265
|
requirement: !ruby/object:Gem::Requirement
|
@@ -542,7 +524,7 @@ dependencies:
|
|
542
524
|
- - "~>"
|
543
525
|
- !ruby/object:Gem::Version
|
544
526
|
version: '3.3'
|
545
|
-
description: PHCPress(
|
527
|
+
description: PHCPress(7) rails CMS engine to manage your website's articles, categories
|
546
528
|
and media.
|
547
529
|
email:
|
548
530
|
- info@phcnetworks.net
|
@@ -634,5 +616,5 @@ rubyforge_project:
|
|
634
616
|
rubygems_version: 2.6.8
|
635
617
|
signing_key:
|
636
618
|
specification_version: 4
|
637
|
-
summary: PHCPress - Rails CMS Engine
|
619
|
+
summary: PHCPress(7) - Rails CMS Engine
|
638
620
|
test_files: []
|