phcscriptcdnpro 71.0.0 → 72.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/application_controller.rb +7 -0
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +3 -2
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +3 -2
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +3 -2
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +3 -2
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +3 -2
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +3 -2
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb +0 -63
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_side_menu.html.erb +0 -53
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64ec49b8a0221f48530de6ea350e41be3f8bf4a69145d8bdd2e83ce56c9328c1
|
4
|
+
data.tar.gz: aff22a3f9240054428962820a9b90798a3a6d630baec88144d40028a70970d78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbde29ed1bd92ca9ead9640d92097f949918e7b5b1ea0f355001c35f9246e9f54b387b1d46c321d23c355e555241ff72dcb32c72fde95287e7f01e2923534c2
|
7
|
+
data.tar.gz: '095745f7a6c7fc2fde1a89973bd08f36a53447fe1e1ee3b430ff16b6ea8e9b3c73a84a52226a9da90147fb1bf8291c678d2ce534253929b89ed0bee28845666a'
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::AuthorsController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_author, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::ExtensionsController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_extension, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::LicencesController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_licence, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::ListingsController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_listing, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::UrlsController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_url, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Script::VersionsController < ApplicationController
|
5
5
|
|
6
|
-
# Security & Action Filters
|
7
|
-
before_action :
|
6
|
+
# Security, Layouts & Action Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
before_action :phc_accounts_pro_admin_only
|
8
9
|
before_action :set_paper_trail_whodunnit
|
9
10
|
before_action :set_script_version, only: [:show, :edit, :update, :destroy]
|
10
11
|
|
@@ -76,67 +76,4 @@
|
|
76
76
|
|
77
77
|
</ul>
|
78
78
|
<% end %>
|
79
|
-
<% if current_admin %>
|
80
|
-
<ul class="navbar-nav navbar-right">
|
81
|
-
|
82
|
-
<!-- Topbar - Navigation Main - Search
|
83
|
-
<li>
|
84
|
-
<form class="navbar-form">
|
85
|
-
<div class="form-group">
|
86
|
-
<input type="text" class="form-control" placeholder="Enter keyword" />
|
87
|
-
<button type="submit" class="btn btn-search"><i class="fa fa-search"></i></button>
|
88
|
-
</div>
|
89
|
-
</form>
|
90
|
-
</li>
|
91
|
-
Topbar - Navigation Main - Search -->
|
92
|
-
|
93
|
-
<!-- Topbar - Navigation Main - Notifications Menu
|
94
|
-
<li class="dropdown">
|
95
|
-
<a href="javascript:;" data-toggle="dropdown" class="dropdown-toggle f-s-14">
|
96
|
-
<i class="fa fa-bell"></i>
|
97
|
-
<span class="label">5</span>
|
98
|
-
</a>
|
99
|
-
<ul class="dropdown-menu media-list dropdown-menu-right">
|
100
|
-
<li class="dropdown-header">NOTIFICATIONS (5)</li>
|
101
|
-
<li class="media">
|
102
|
-
<a href="javascript:;">
|
103
|
-
<div class="media-left">
|
104
|
-
<i class="fa fa-bug media-object bg-silver-darker"></i>
|
105
|
-
</div>
|
106
|
-
<div class="media-body">
|
107
|
-
<h6 class="media-heading">
|
108
|
-
Server Error Reports
|
109
|
-
<i class="fa fa-exclamation-circle text-danger"></i>
|
110
|
-
</h6>
|
111
|
-
<div class="text-muted f-s-11">3 minutes ago</div>
|
112
|
-
</div>
|
113
|
-
</a>
|
114
|
-
</li>
|
115
|
-
...
|
116
|
-
<li class="dropdown-footer text-center">
|
117
|
-
<a href="javascript:;">View more</a>
|
118
|
-
</li>
|
119
|
-
</ul>
|
120
|
-
</li>
|
121
|
-
Topbar - Navigation Main - Notifications Menu -->
|
122
|
-
|
123
|
-
<!-- Topbar - Navigation Main - User Menu -->
|
124
|
-
<li class="dropdown navbar-user">
|
125
|
-
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
|
126
|
-
<%= image_tag current_admin.gravatar_url %>
|
127
|
-
<span class="d-none d-md-inline"><%= current_admin.firstname + ' ' + current_admin.lastname %></span> <b class="caret"></b>
|
128
|
-
</a>
|
129
|
-
<div class="dropdown-menu dropdown-menu-right">
|
130
|
-
<%= link_to phcaccountspro.edit_admin_registration_path, class: "dropdown-item" do %>
|
131
|
-
<i class="fas fa-cogs"></i> Account Settings
|
132
|
-
<% end %>
|
133
|
-
<%= link_to phcaccountspro.destroy_admin_session_path, method: :delete, class: "dropdown-item" do %>
|
134
|
-
<i class="fas fa-sign-out-alt"></i> Logout
|
135
|
-
<% end %>
|
136
|
-
</div>
|
137
|
-
</li>
|
138
|
-
<!-- Topbar - Navigation Main - User Menu -->
|
139
|
-
|
140
|
-
</ul>
|
141
|
-
<% end %>
|
142
79
|
<!-- Topbar - Navigation Main -->
|
@@ -32,35 +32,6 @@
|
|
32
32
|
</ul>
|
33
33
|
</li>
|
34
34
|
<% end %>
|
35
|
-
<% if current_admin %>
|
36
|
-
<li class="nav-profile">
|
37
|
-
<a href="javascript:;" data-toggle="nav-profile">
|
38
|
-
<div class="cover with-shadow"></div>
|
39
|
-
<div class="image">
|
40
|
-
<%= image_tag current_admin.gravatar_url %>
|
41
|
-
</div>
|
42
|
-
<div class="info">
|
43
|
-
<b class="caret pull-right"></b>
|
44
|
-
<%= current_admin.firstname + ' ' + current_admin.lastname %>
|
45
|
-
<small><%= current_admin.username %></small>
|
46
|
-
</div>
|
47
|
-
</a>
|
48
|
-
</li>
|
49
|
-
<li>
|
50
|
-
<ul class="nav nav-profile">
|
51
|
-
<li>
|
52
|
-
<%= link_to phcaccountspro.edit_admin_registration_path do %>
|
53
|
-
<i class="fas fa-cogs"></i> Account Settings
|
54
|
-
<% end %>
|
55
|
-
</li>
|
56
|
-
<li>
|
57
|
-
<%= link_to phcaccountspro.destroy_admin_session_path do %>
|
58
|
-
<i class="fas fa-sign-out-alt"></i> Logout
|
59
|
-
<% end %>
|
60
|
-
</li>
|
61
|
-
</ul>
|
62
|
-
</li>
|
63
|
-
<% end %>
|
64
35
|
</ul>
|
65
36
|
<!-- Sidebar - User Profile Menu -->
|
66
37
|
<!-- Sidebar - Sidebar Navigation -->
|
@@ -152,30 +123,6 @@
|
|
152
123
|
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
|
153
124
|
<% end %>
|
154
125
|
|
155
|
-
<% if current_admin %>
|
156
|
-
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
157
|
-
<li class="nav-header">Admin Settings</li>
|
158
|
-
<li class="has-sub">
|
159
|
-
<a href="javascript:;">
|
160
|
-
<b class="caret"></b>
|
161
|
-
<i class="fas fa-user"></i>
|
162
|
-
<span>Admin Dashboard</span>
|
163
|
-
</a>
|
164
|
-
<ul class="sub-menu">
|
165
|
-
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Settings', phcaccountspro.edit_admin_registration_path) %></li>
|
166
|
-
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Logout', phcaccountspro.destroy_admin_session_path, method: :delete) %></li>
|
167
|
-
</ul>
|
168
|
-
</li>
|
169
|
-
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
170
|
-
<!-- Sidebar - Sidebar Minifier -->
|
171
|
-
<li>
|
172
|
-
<a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
|
173
|
-
<i class="fa fa-angle-double-left"></i>
|
174
|
-
</a>
|
175
|
-
</li>
|
176
|
-
<!-- Sidebar - Sidebar Minifier -->
|
177
|
-
<% end %>
|
178
|
-
|
179
126
|
<% if current_user %>
|
180
127
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
181
128
|
<li class="nav-header">Account Settings</li>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 72.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: 2019-04-
|
11
|
+
date: 2019-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -428,14 +428,14 @@ dependencies:
|
|
428
428
|
requirements:
|
429
429
|
- - "~>"
|
430
430
|
- !ruby/object:Gem::Version
|
431
|
-
version: '
|
431
|
+
version: '67.0'
|
432
432
|
type: :runtime
|
433
433
|
prerelease: false
|
434
434
|
version_requirements: !ruby/object:Gem::Requirement
|
435
435
|
requirements:
|
436
436
|
- - "~>"
|
437
437
|
- !ruby/object:Gem::Version
|
438
|
-
version: '
|
438
|
+
version: '67.0'
|
439
439
|
- !ruby/object:Gem::Dependency
|
440
440
|
name: sqlite3
|
441
441
|
requirement: !ruby/object:Gem::Requirement
|