trusty-cms 4.1.1 → 4.1.2
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/Gemfile +1 -1
- data/Gemfile.lock +64 -64
- data/app/assets/stylesheets/admin/partials/_content.scss +2 -1
- data/app/assets/stylesheets/admin/partials/_forms.scss +1 -1
- data/app/controllers/admin/assets_controller.rb +0 -11
- data/app/views/admin/assets/edit.html.haml +0 -9
- data/app/views/admin/assets/new.html.haml +0 -3
- data/app/views/admin/assets/remove.html.haml +1 -1
- data/app/views/admin/layouts/remove.html.haml +3 -2
- data/app/views/admin/page_parts/_page_part.html.haml +1 -1
- data/app/views/admin/snippets/remove.html.haml +3 -2
- data/config/locales/en.yml +4 -4
- data/config/routes.rb +0 -1
- data/lib/trusty_cms.rb +1 -1
- data/package.json +1 -1
- data/spec/dummy/package.json +1 -1
- data/spec/dummy/yarn.lock +3 -3
- data/trusty_cms.gemspec +1 -1
- data/vendor/extensions/clipped-extension/lib/clipped_admin_ui.rb +1 -1
- data/yarn.lock +4 -4
- metadata +10 -5
- data/app/views/admin/assets/refresh.html.haml +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b4c0091419c21923c64c2b6a9848821262eb761f7ec3e6fa05c7dbc16986d5d
|
|
4
|
+
data.tar.gz: 6f7f51a3f833d71df2f0f8d3bc88a47b97303be303266d9245138182bf9a190f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2c3d0d25e6daa74d683e2fd4260a157604278dcf622eebf34208ebf01317d444693f8fbe676534f2aaaf9d53ab670995fdb5133742c8c86fadca5cde3964764
|
|
7
|
+
data.tar.gz: 6a545b06e0b977518bdf314467012360c827c511381c073e73e66848ba83f8b7e96d94a59f086ff1999141d735047d07273e021983c65e16e54b94ea3db7799c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trusty-cms (4.1.
|
|
4
|
+
trusty-cms (4.1.2)
|
|
5
5
|
RedCloth (= 4.3.2)
|
|
6
6
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
|
@@ -25,7 +25,7 @@ PATH
|
|
|
25
25
|
roadie-rails
|
|
26
26
|
sassc-rails
|
|
27
27
|
stringex (>= 2.7.1, < 2.9.0)
|
|
28
|
-
tzinfo (
|
|
28
|
+
tzinfo (>= 1.2.3, < 2.1.0)
|
|
29
29
|
uglifier (>= 3.2, < 5.0)
|
|
30
30
|
uuidtools (~> 2.1.5)
|
|
31
31
|
will_paginate (~> 3.0)
|
|
@@ -34,61 +34,61 @@ GEM
|
|
|
34
34
|
remote: https://rubygems.org/
|
|
35
35
|
specs:
|
|
36
36
|
RedCloth (4.3.2)
|
|
37
|
-
actioncable (6.0.
|
|
38
|
-
actionpack (= 6.0.
|
|
37
|
+
actioncable (6.0.3.1)
|
|
38
|
+
actionpack (= 6.0.3.1)
|
|
39
39
|
nio4r (~> 2.0)
|
|
40
40
|
websocket-driver (>= 0.6.1)
|
|
41
|
-
actionmailbox (6.0.
|
|
42
|
-
actionpack (= 6.0.
|
|
43
|
-
activejob (= 6.0.
|
|
44
|
-
activerecord (= 6.0.
|
|
45
|
-
activestorage (= 6.0.
|
|
46
|
-
activesupport (= 6.0.
|
|
41
|
+
actionmailbox (6.0.3.1)
|
|
42
|
+
actionpack (= 6.0.3.1)
|
|
43
|
+
activejob (= 6.0.3.1)
|
|
44
|
+
activerecord (= 6.0.3.1)
|
|
45
|
+
activestorage (= 6.0.3.1)
|
|
46
|
+
activesupport (= 6.0.3.1)
|
|
47
47
|
mail (>= 2.7.1)
|
|
48
|
-
actionmailer (6.0.
|
|
49
|
-
actionpack (= 6.0.
|
|
50
|
-
actionview (= 6.0.
|
|
51
|
-
activejob (= 6.0.
|
|
48
|
+
actionmailer (6.0.3.1)
|
|
49
|
+
actionpack (= 6.0.3.1)
|
|
50
|
+
actionview (= 6.0.3.1)
|
|
51
|
+
activejob (= 6.0.3.1)
|
|
52
52
|
mail (~> 2.5, >= 2.5.4)
|
|
53
53
|
rails-dom-testing (~> 2.0)
|
|
54
|
-
actionpack (6.0.
|
|
55
|
-
actionview (= 6.0.
|
|
56
|
-
activesupport (= 6.0.
|
|
54
|
+
actionpack (6.0.3.1)
|
|
55
|
+
actionview (= 6.0.3.1)
|
|
56
|
+
activesupport (= 6.0.3.1)
|
|
57
57
|
rack (~> 2.0, >= 2.0.8)
|
|
58
58
|
rack-test (>= 0.6.3)
|
|
59
59
|
rails-dom-testing (~> 2.0)
|
|
60
60
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
61
|
-
actiontext (6.0.
|
|
62
|
-
actionpack (= 6.0.
|
|
63
|
-
activerecord (= 6.0.
|
|
64
|
-
activestorage (= 6.0.
|
|
65
|
-
activesupport (= 6.0.
|
|
61
|
+
actiontext (6.0.3.1)
|
|
62
|
+
actionpack (= 6.0.3.1)
|
|
63
|
+
activerecord (= 6.0.3.1)
|
|
64
|
+
activestorage (= 6.0.3.1)
|
|
65
|
+
activesupport (= 6.0.3.1)
|
|
66
66
|
nokogiri (>= 1.8.5)
|
|
67
|
-
actionview (6.0.
|
|
68
|
-
activesupport (= 6.0.
|
|
67
|
+
actionview (6.0.3.1)
|
|
68
|
+
activesupport (= 6.0.3.1)
|
|
69
69
|
builder (~> 3.1)
|
|
70
70
|
erubi (~> 1.4)
|
|
71
71
|
rails-dom-testing (~> 2.0)
|
|
72
72
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
73
|
-
activejob (6.0.
|
|
74
|
-
activesupport (= 6.0.
|
|
73
|
+
activejob (6.0.3.1)
|
|
74
|
+
activesupport (= 6.0.3.1)
|
|
75
75
|
globalid (>= 0.3.6)
|
|
76
|
-
activemodel (6.0.
|
|
77
|
-
activesupport (= 6.0.
|
|
78
|
-
activerecord (6.0.
|
|
79
|
-
activemodel (= 6.0.
|
|
80
|
-
activesupport (= 6.0.
|
|
81
|
-
activestorage (6.0.
|
|
82
|
-
actionpack (= 6.0.
|
|
83
|
-
activejob (= 6.0.
|
|
84
|
-
activerecord (= 6.0.
|
|
76
|
+
activemodel (6.0.3.1)
|
|
77
|
+
activesupport (= 6.0.3.1)
|
|
78
|
+
activerecord (6.0.3.1)
|
|
79
|
+
activemodel (= 6.0.3.1)
|
|
80
|
+
activesupport (= 6.0.3.1)
|
|
81
|
+
activestorage (6.0.3.1)
|
|
82
|
+
actionpack (= 6.0.3.1)
|
|
83
|
+
activejob (= 6.0.3.1)
|
|
84
|
+
activerecord (= 6.0.3.1)
|
|
85
85
|
marcel (~> 0.3.1)
|
|
86
|
-
activesupport (6.0.
|
|
86
|
+
activesupport (6.0.3.1)
|
|
87
87
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
88
88
|
i18n (>= 0.7, < 2)
|
|
89
89
|
minitest (~> 5.1)
|
|
90
90
|
tzinfo (~> 1.1)
|
|
91
|
-
zeitwerk (~> 2.2)
|
|
91
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
92
92
|
acts_as_list (1.0.1)
|
|
93
93
|
activerecord (>= 4.2)
|
|
94
94
|
acts_as_tree (2.8.0)
|
|
@@ -118,7 +118,7 @@ GEM
|
|
|
118
118
|
crass (1.0.6)
|
|
119
119
|
css_parser (1.7.1)
|
|
120
120
|
addressable
|
|
121
|
-
database_cleaner (1.8.
|
|
121
|
+
database_cleaner (1.8.4)
|
|
122
122
|
delocalize (1.2.0)
|
|
123
123
|
rails (>= 2)
|
|
124
124
|
devise (4.7.1)
|
|
@@ -132,10 +132,10 @@ GEM
|
|
|
132
132
|
erubi (1.9.0)
|
|
133
133
|
erubis (2.7.0)
|
|
134
134
|
execjs (2.7.0)
|
|
135
|
-
factory_bot (5.0
|
|
135
|
+
factory_bot (5.2.0)
|
|
136
136
|
activesupport (>= 4.2.0)
|
|
137
|
-
factory_bot_rails (5.0
|
|
138
|
-
factory_bot (~> 5.0
|
|
137
|
+
factory_bot_rails (5.2.0)
|
|
138
|
+
factory_bot (~> 5.2.0)
|
|
139
139
|
railties (>= 4.2.0)
|
|
140
140
|
ffi (1.12.2)
|
|
141
141
|
globalid (0.4.2)
|
|
@@ -169,7 +169,7 @@ GEM
|
|
|
169
169
|
launchy (2.5.0)
|
|
170
170
|
addressable (~> 2.7)
|
|
171
171
|
libv8 (7.3.492.27.1)
|
|
172
|
-
loofah (2.
|
|
172
|
+
loofah (2.5.0)
|
|
173
173
|
crass (~> 1.0.2)
|
|
174
174
|
nokogiri (>= 1.5.9)
|
|
175
175
|
mail (2.7.1)
|
|
@@ -179,13 +179,13 @@ GEM
|
|
|
179
179
|
method_source (1.0.0)
|
|
180
180
|
mime-types (3.3.1)
|
|
181
181
|
mime-types-data (~> 3.2015)
|
|
182
|
-
mime-types-data (3.
|
|
183
|
-
mimemagic (0.3.
|
|
182
|
+
mime-types-data (3.2020.0512)
|
|
183
|
+
mimemagic (0.3.5)
|
|
184
184
|
mini_mime (1.0.2)
|
|
185
185
|
mini_portile2 (2.4.0)
|
|
186
|
-
mini_racer (0.2.
|
|
186
|
+
mini_racer (0.2.14)
|
|
187
187
|
libv8 (> 7.3)
|
|
188
|
-
minitest (5.14.
|
|
188
|
+
minitest (5.14.1)
|
|
189
189
|
multi_xml (0.6.0)
|
|
190
190
|
multipart-post (2.1.1)
|
|
191
191
|
mysql2 (0.5.3)
|
|
@@ -216,20 +216,20 @@ GEM
|
|
|
216
216
|
rack-test (1.1.0)
|
|
217
217
|
rack (>= 1.0, < 3)
|
|
218
218
|
radius (0.7.5)
|
|
219
|
-
rails (6.0.
|
|
220
|
-
actioncable (= 6.0.
|
|
221
|
-
actionmailbox (= 6.0.
|
|
222
|
-
actionmailer (= 6.0.
|
|
223
|
-
actionpack (= 6.0.
|
|
224
|
-
actiontext (= 6.0.
|
|
225
|
-
actionview (= 6.0.
|
|
226
|
-
activejob (= 6.0.
|
|
227
|
-
activemodel (= 6.0.
|
|
228
|
-
activerecord (= 6.0.
|
|
229
|
-
activestorage (= 6.0.
|
|
230
|
-
activesupport (= 6.0.
|
|
219
|
+
rails (6.0.3.1)
|
|
220
|
+
actioncable (= 6.0.3.1)
|
|
221
|
+
actionmailbox (= 6.0.3.1)
|
|
222
|
+
actionmailer (= 6.0.3.1)
|
|
223
|
+
actionpack (= 6.0.3.1)
|
|
224
|
+
actiontext (= 6.0.3.1)
|
|
225
|
+
actionview (= 6.0.3.1)
|
|
226
|
+
activejob (= 6.0.3.1)
|
|
227
|
+
activemodel (= 6.0.3.1)
|
|
228
|
+
activerecord (= 6.0.3.1)
|
|
229
|
+
activestorage (= 6.0.3.1)
|
|
230
|
+
activesupport (= 6.0.3.1)
|
|
231
231
|
bundler (>= 1.3.0)
|
|
232
|
-
railties (= 6.0.
|
|
232
|
+
railties (= 6.0.3.1)
|
|
233
233
|
sprockets-rails (>= 2.0.0)
|
|
234
234
|
rails-dom-testing (2.0.3)
|
|
235
235
|
activesupport (>= 4.2.0)
|
|
@@ -238,9 +238,9 @@ GEM
|
|
|
238
238
|
loofah (~> 2.3)
|
|
239
239
|
rails-observers (0.1.5)
|
|
240
240
|
activemodel (>= 4.0)
|
|
241
|
-
railties (6.0.
|
|
242
|
-
actionpack (= 6.0.
|
|
243
|
-
activesupport (= 6.0.
|
|
241
|
+
railties (6.0.3.1)
|
|
242
|
+
actionpack (= 6.0.3.1)
|
|
243
|
+
activesupport (= 6.0.3.1)
|
|
244
244
|
method_source
|
|
245
245
|
rake (>= 0.8.7)
|
|
246
246
|
thor (>= 0.20.3, < 2.0)
|
|
@@ -304,7 +304,7 @@ GEM
|
|
|
304
304
|
tilt (2.0.10)
|
|
305
305
|
trustygems (0.2.1)
|
|
306
306
|
rake
|
|
307
|
-
tzinfo (1.2.
|
|
307
|
+
tzinfo (1.2.7)
|
|
308
308
|
thread_safe (~> 0.1)
|
|
309
309
|
uglifier (4.2.0)
|
|
310
310
|
execjs (>= 0.3.0, < 3)
|
|
@@ -325,7 +325,7 @@ PLATFORMS
|
|
|
325
325
|
DEPENDENCIES
|
|
326
326
|
acts_as_list
|
|
327
327
|
database_cleaner
|
|
328
|
-
factory_bot_rails (= 5.0
|
|
328
|
+
factory_bot_rails (= 5.2.0)
|
|
329
329
|
launchy (~> 2.5.0)
|
|
330
330
|
mysql2
|
|
331
331
|
poltergeist (~> 1.18.1)
|
|
@@ -64,17 +64,6 @@ class Admin::AssetsController < Admin::ResourceController
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
only_allow_access_to :regenerate,
|
|
68
|
-
:when => [:admin],
|
|
69
|
-
:denied_url => { :controller => 'admin/assets', :action => 'index' },
|
|
70
|
-
:denied_message => 'You must have admin privileges to refresh the whole asset set.'
|
|
71
|
-
|
|
72
|
-
def regenerate
|
|
73
|
-
Asset.all.each { |asset| asset.asset.reprocess! }
|
|
74
|
-
flash[:notice] = t('clipped_extension.all_thumbnails_refreshed')
|
|
75
|
-
redirect_to admin_assets_path
|
|
76
|
-
end
|
|
77
|
-
|
|
78
67
|
private
|
|
79
68
|
def compress(uploaded_asset)
|
|
80
69
|
data = $kraken.upload(uploaded_asset.tempfile.path, 'lossy' => true)
|
|
@@ -30,12 +30,3 @@
|
|
|
30
30
|
= save_model_and_continue_editing_button(@asset)
|
|
31
31
|
= t("or")
|
|
32
32
|
= link_to t("cancel"), admin_assets_path
|
|
33
|
-
|
|
34
|
-
- main.edit_regenerate do
|
|
35
|
-
- if current_user.admin? or current_user.designer?
|
|
36
|
-
%fieldset
|
|
37
|
-
= form_tag refresh_admin_asset_path(@asset), :method => :put do
|
|
38
|
-
%label= t("clipped_extension.regenerate_thumbnails")
|
|
39
|
-
%br
|
|
40
|
-
.asset_buttons
|
|
41
|
-
%input.button{ :type => "submit", :value => t("clipped_extension.regenerate") }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
= stylesheet_link_tag 'admin/assets'
|
|
3
3
|
|
|
4
4
|
%h1= t("clipped_extension.remove_asset")
|
|
5
|
-
%h4.warning= t("clipped_extension.confirm_remove_asset")
|
|
5
|
+
%h4.warning= t("clipped_extension.confirm_remove_asset").html_safe
|
|
6
6
|
|
|
7
7
|
%table.index#assets{:cellpadding => "0", :cellspacing => "0", :border => "0"}
|
|
8
8
|
%tbody
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
- body_classes << 'reversed'
|
|
2
|
+
|
|
1
3
|
%h1= t('remove_layout')
|
|
2
4
|
|
|
3
5
|
%h4= t('text.layouts.remove_warning').html_safe
|
|
4
6
|
|
|
5
|
-
%table.index#layouts
|
|
7
|
+
%table.tablesaw.index#layouts
|
|
6
8
|
%tbody
|
|
7
9
|
%tr.node.level_1
|
|
8
10
|
%td.layout
|
|
9
|
-
= image('layout', :alt => '')
|
|
10
11
|
= h @layout.name
|
|
11
12
|
|
|
12
13
|
= form_for [:admin, @layout], :html => { :method => 'delete', 'data-onsubmit_status'=>'Removing layout…' } do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
= hidden_field_tag "page[parts_attributes][#{page_part_counter}][name]", page_part.name, :id => "part_#{page_part.name.to_slug}_name"
|
|
4
4
|
= hidden_field_tag "page[parts_attributes][#{page_part_counter}][id]", page_part.id, :id => "part_#{page_part_counter}_id", :class => 'id_input' unless page_part.new_record?
|
|
5
5
|
= hidden_field_tag "page[parts_attributes][#{page_part_counter}][_destroy]", page_part._destroy, :class => 'delete_input'
|
|
6
|
-
|
|
6
|
+
.content
|
|
7
7
|
%label To use HTML or Radius tags, switch to plain text view by clicking the 'Source' button.
|
|
8
8
|
%span.reference_links
|
|
9
9
|
= t('reference')
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
- body_classes << 'reversed'
|
|
2
|
+
|
|
1
3
|
%h1= t('remove_snippet')
|
|
2
4
|
|
|
3
5
|
%h4
|
|
4
6
|
= t('text.snippets.remove_warning').html_safe
|
|
5
7
|
|
|
6
|
-
%table.index#snippets
|
|
8
|
+
%table.tablesaw.index#snippets
|
|
7
9
|
%tbody
|
|
8
10
|
%tr.node.level_1
|
|
9
11
|
%td.snippet
|
|
10
|
-
= image('snippet', :alt => '')
|
|
11
12
|
%span.title= @snippet.name
|
|
12
13
|
|
|
13
14
|
= form_for [:admin, @snippet], :html => {:method => :delete, 'data-onsubmit_status'=>'Removing snippet…'} do
|
data/config/locales/en.yml
CHANGED
|
@@ -83,7 +83,6 @@ en:
|
|
|
83
83
|
choose_file: 'Choose File'
|
|
84
84
|
documents: 'Documents'
|
|
85
85
|
caption: 'Caption'
|
|
86
|
-
confirm_refresh_assets: 'Are you sure you want to regenerate every asset thumbnail? This is likely to take a long time and use a lot of server resources: <strong class="warning">the performance of your site is very likely to be affected</strong> and your browser may time out before the operation is complete. This is only recommended if your asset collection is small!'
|
|
87
86
|
confirm_remove_asset: 'Are you sure you want to <span class="warning">permanently remove</span> the following asset?'
|
|
88
87
|
confirm_remove_from_page: 'Are you sure you want to remove this asset from the page?'
|
|
89
88
|
delete_asset: 'Delete Asset'
|
|
@@ -103,9 +102,6 @@ en:
|
|
|
103
102
|
no_assets: 'No Assets'
|
|
104
103
|
no_attached_assets: 'No assets attached.'
|
|
105
104
|
others: 'Others'
|
|
106
|
-
refresh_assets: 'Regenerate all thumbnails'
|
|
107
|
-
regenerate: 'Regenerate'
|
|
108
|
-
regenerate_thumbnails: 'Regenerate Thumbnails'
|
|
109
105
|
remove_asset: 'Remove Asset'
|
|
110
106
|
remove_from_page: 'Remove from page'
|
|
111
107
|
reorder: 'Reorder'
|
|
@@ -177,6 +173,7 @@ en:
|
|
|
177
173
|
- :month
|
|
178
174
|
- :day
|
|
179
175
|
delete_layout: 'Delete Layout'
|
|
176
|
+
delete_snippet: 'Delete Snippet'
|
|
180
177
|
delete_pages: 'Delete %{pages}'
|
|
181
178
|
delete_user: 'Delete User'
|
|
182
179
|
description: 'Description'
|
|
@@ -249,6 +246,7 @@ en:
|
|
|
249
246
|
remove: 'Remove'
|
|
250
247
|
remove_field: 'Remove Field'
|
|
251
248
|
remove_layout: 'Remove Layout'
|
|
249
|
+
remove_snippet: 'Remove Snippet'
|
|
252
250
|
remove_page: 'Remove Page'
|
|
253
251
|
remove_pages: 'Remove %{pages}'
|
|
254
252
|
remove_tab: 'Remove Tab'
|
|
@@ -280,6 +278,8 @@ en:
|
|
|
280
278
|
text:
|
|
281
279
|
layouts:
|
|
282
280
|
remove_warning: 'Are you sure you want to <span class="warning">permanently remove</span> the following layout?'
|
|
281
|
+
snippets:
|
|
282
|
+
remove_warning: 'Are you sure you want to <span class="warning">permanently remove</span> the following snippet?'
|
|
283
283
|
pages:
|
|
284
284
|
remove_warning: 'Are you sure you want to <span class="warning">permanently remove</span> the following %{pages}?'
|
|
285
285
|
users:
|
data/config/routes.rb
CHANGED
data/lib/trusty_cms.rb
CHANGED
data/package.json
CHANGED
data/spec/dummy/package.json
CHANGED
data/spec/dummy/yarn.lock
CHANGED
|
@@ -12,6 +12,6 @@ jquery-ujs@^1.2.2:
|
|
|
12
12
|
dependencies:
|
|
13
13
|
jquery ">=1.8.0"
|
|
14
14
|
|
|
15
|
-
jquery@>=1.8.0, jquery@^3.
|
|
16
|
-
version "3.
|
|
17
|
-
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.
|
|
15
|
+
jquery@>=1.8.0, jquery@^3.5.0:
|
|
16
|
+
version "3.5.0"
|
|
17
|
+
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.0.tgz#9980b97d9e4194611c36530e7dc46a58d7340fc9"
|
data/trusty_cms.gemspec
CHANGED
|
@@ -45,7 +45,7 @@ a general purpose content managment system--not merely a blogging engine.}
|
|
|
45
45
|
s.add_dependency 'roadie-rails'
|
|
46
46
|
s.add_dependency 'sassc-rails'
|
|
47
47
|
s.add_dependency 'stringex', '>= 2.7.1', '< 2.9.0'
|
|
48
|
-
s.add_dependency 'tzinfo', '
|
|
48
|
+
s.add_dependency 'tzinfo', '>= 1.2.3', '< 2.1.0'
|
|
49
49
|
s.add_dependency 'uglifier', '>= 3.2', '< 5.0'
|
|
50
50
|
s.add_dependency 'uuidtools', '~> 2.1.5'
|
|
51
51
|
s.add_dependency 'will_paginate', '~> 3.0'
|
|
@@ -8,7 +8,7 @@ module ClippedAdminUI
|
|
|
8
8
|
def load_default_asset_regions
|
|
9
9
|
OpenStruct.new.tap do |asset|
|
|
10
10
|
asset.edit = TrustyCms::AdminUI::RegionSet.new do |edit|
|
|
11
|
-
edit.main.concat %w{edit_header edit_form
|
|
11
|
+
edit.main.concat %w{edit_header edit_form}
|
|
12
12
|
edit.form.concat %w{edit_title edit_metadata}
|
|
13
13
|
end
|
|
14
14
|
asset.new = asset.edit
|
data/yarn.lock
CHANGED
|
@@ -943,10 +943,10 @@ jquery-ujs@^1.2.2:
|
|
|
943
943
|
dependencies:
|
|
944
944
|
jquery ">=1.8.0"
|
|
945
945
|
|
|
946
|
-
jquery@>=1.8.0, jquery@^3.
|
|
947
|
-
version "3.
|
|
948
|
-
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.
|
|
949
|
-
integrity sha512-
|
|
946
|
+
jquery@>=1.8.0, jquery@^3.5.0:
|
|
947
|
+
version "3.5.0"
|
|
948
|
+
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.0.tgz#9980b97d9e4194611c36530e7dc46a58d7340fc9"
|
|
949
|
+
integrity sha512-Xb7SVYMvygPxbFMpTFQiHh1J7HClEaThguL15N/Gg37Lri/qKyhRGZYzHRyLH8Stq3Aow0LsHO2O2ci86fCrNQ==
|
|
950
950
|
|
|
951
951
|
js-tokens@^4.0.0:
|
|
952
952
|
version "4.0.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: acts_as_list
|
|
@@ -378,16 +378,22 @@ dependencies:
|
|
|
378
378
|
name: tzinfo
|
|
379
379
|
requirement: !ruby/object:Gem::Requirement
|
|
380
380
|
requirements:
|
|
381
|
-
- - "
|
|
381
|
+
- - ">="
|
|
382
382
|
- !ruby/object:Gem::Version
|
|
383
383
|
version: 1.2.3
|
|
384
|
+
- - "<"
|
|
385
|
+
- !ruby/object:Gem::Version
|
|
386
|
+
version: 2.1.0
|
|
384
387
|
type: :runtime
|
|
385
388
|
prerelease: false
|
|
386
389
|
version_requirements: !ruby/object:Gem::Requirement
|
|
387
390
|
requirements:
|
|
388
|
-
- - "
|
|
391
|
+
- - ">="
|
|
389
392
|
- !ruby/object:Gem::Version
|
|
390
393
|
version: 1.2.3
|
|
394
|
+
- - "<"
|
|
395
|
+
- !ruby/object:Gem::Version
|
|
396
|
+
version: 2.1.0
|
|
391
397
|
- !ruby/object:Gem::Dependency
|
|
392
398
|
name: uglifier
|
|
393
399
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -706,7 +712,6 @@ files:
|
|
|
706
712
|
- app/views/admin/assets/edit.html.haml
|
|
707
713
|
- app/views/admin/assets/index.html.haml
|
|
708
714
|
- app/views/admin/assets/new.html.haml
|
|
709
|
-
- app/views/admin/assets/refresh.html.haml
|
|
710
715
|
- app/views/admin/assets/remove.html.haml
|
|
711
716
|
- app/views/admin/configuration/_clipped_edit.html.haml
|
|
712
717
|
- app/views/admin/configuration/_clipped_show.html.haml
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
= stylesheet_link_tag 'admin/assets'
|
|
2
|
-
|
|
3
|
-
%h1
|
|
4
|
-
= t("clipped_extension.refresh_assets")
|
|
5
|
-
%p.confirmation
|
|
6
|
-
= t("clipped_extension.confirm_refresh_assets")
|
|
7
|
-
%p.confirmation
|
|
8
|
-
=t('clipped_extension.refresh_assets_rake_task')
|
|
9
|
-
|
|
10
|
-
%form{:action => regenerate_admin_assets_path, :method => :post}
|
|
11
|
-
.buttons
|
|
12
|
-
%input.button{:type => "submit", :value => t("clipped_extension.refresh_assets")}
|
|
13
|
-
= t("or")
|
|
14
|
-
= link_to t("cancel"), admin_assets_path
|