trusty-cms 3.1.11 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -14
- data/Gemfile.lock +84 -70
- data/README.md +4 -0
- data/app/assets/images/admin/add.png +0 -0
- data/app/assets/images/admin/archive_icon.png +0 -0
- data/app/assets/images/admin/audio_icon.png +0 -0
- data/app/assets/images/admin/audio_thumbnail.png +0 -0
- data/app/assets/images/admin/c_icon.png +0 -0
- data/app/assets/images/admin/copy.png +0 -0
- data/app/assets/images/admin/css_icon.png +0 -0
- data/app/assets/images/admin/database_icon.png +0 -0
- data/app/assets/images/admin/delete.png +0 -0
- data/app/assets/images/admin/document_icon.png +0 -0
- data/app/assets/images/admin/document_thumbnail.png +0 -0
- data/app/assets/images/admin/flash_icon.png +0 -0
- data/app/assets/images/admin/flash_thumbnail.png +0 -0
- data/app/assets/images/admin/font_icon.png +0 -0
- data/app/assets/images/admin/gzip_icon.png +0 -0
- data/app/assets/images/admin/html_icon.png +0 -0
- data/app/assets/images/admin/image_icon.png +0 -0
- data/app/assets/images/admin/image_thumbnail.png +0 -0
- data/app/assets/images/admin/java_icon.png +0 -0
- data/app/assets/images/admin/page_edit.png +0 -0
- data/app/assets/images/admin/pdf_icon.png +0 -0
- data/app/assets/images/admin/pdf_thumbnail.png +0 -0
- data/app/assets/images/admin/perl_icon.png +0 -0
- data/app/assets/images/admin/php_icon.png +0 -0
- data/app/assets/images/admin/presentation_icon.png +0 -0
- data/app/assets/images/admin/python_icon.png +0 -0
- data/app/assets/images/admin/reorder_assets.png +0 -0
- data/app/assets/images/admin/ruby_icon.png +0 -0
- data/app/assets/images/admin/script_icon.png +0 -0
- data/app/assets/images/admin/spinner.gif +0 -0
- data/app/assets/images/admin/spreadsheet_icon.png +0 -0
- data/app/assets/images/admin/tar_icon.png +0 -0
- data/app/assets/images/admin/unknown_icon.png +0 -0
- data/app/assets/images/admin/unknown_thumbnail.png +0 -0
- data/app/assets/images/admin/video_icon.png +0 -0
- data/app/assets/images/admin/video_thumbnail.png +0 -0
- data/app/assets/images/admin/xml_icon.png +0 -0
- data/app/assets/images/admin/zip_icon.png +0 -0
- data/app/assets/javascripts/admin/assets.js +268 -0
- data/app/assets/javascripts/admin/assets_admin.js +16 -0
- data/app/assets/javascripts/admin/jquery.fileupload.js +1457 -0
- data/app/assets/javascripts/admin/jquery.iframe-transport.js +214 -0
- data/app/assets/javascripts/admin/jquery.ui.widget.js +558 -0
- data/app/assets/stylesheets/admin/assets.scss +283 -0
- data/app/controllers/admin/assets_controller.rb +88 -0
- data/app/controllers/admin/page_attachments_controller.rb +23 -0
- data/app/helpers/admin/assets_helper.rb +16 -0
- data/app/helpers/admin/page_attachments_helper.rb +2 -0
- data/app/models/asset.rb +251 -0
- data/app/models/asset_type.rb +239 -0
- data/app/models/old_page_attachment.rb +26 -0
- data/app/models/page_attachment.rb +20 -0
- data/app/views/admin/assets/_asset.html.haml +12 -0
- data/app/views/admin/assets/_asset_table.html.haml +30 -0
- data/app/views/admin/assets/_errors.html.haml +3 -0
- data/app/views/admin/assets/_form.html.haml +18 -0
- data/app/views/admin/assets/_page_assets.html.haml +12 -0
- data/app/views/admin/assets/_search.html.haml +17 -0
- data/app/views/admin/assets/_search_results.html.haml +17 -0
- data/app/views/admin/assets/edit.html.haml +40 -0
- data/app/views/admin/assets/index.html.haml +15 -0
- data/app/views/admin/assets/new.html.haml +24 -0
- data/app/views/admin/assets/refresh.html.haml +14 -0
- data/app/views/admin/assets/remove.html.haml +16 -0
- data/app/views/admin/configuration/_clipped_edit.html.haml +8 -0
- data/app/views/admin/configuration/_clipped_show.html.haml +12 -0
- data/app/views/admin/page_attachments/_attachment.html.haml +25 -0
- data/app/views/admin/pages/_asset_popups.html.haml +37 -0
- data/app/views/admin/pages/_assets.html.haml +13 -0
- data/app/views/admin/removed/_assets_bucket.html.haml +8 -0
- data/app/views/admin/removed/_assets_container.html.haml +54 -0
- data/app/views/admin/removed/_bucket.html.haml +11 -0
- data/app/views/admin/removed/_bucket_asset.html.haml +9 -0
- data/app/views/admin/removed/_show_bucket_link.html.haml +4 -0
- data/app/views/admin/removed/_upload_to_page.html.haml +12 -0
- data/app/views/admin/removed/bucket/_iframe.html.haml +1 -0
- data/config/application.rb +0 -37
- data/config/initializers/assets.rb +1 -0
- data/config/initializers/interpolation.rb +6 -0
- data/config/initializers/kraken.rb +7 -0
- data/config/initializers/trusty_cms_config.rb +67 -0
- data/config/locales/en.yml +101 -0
- data/config/routes.rb +14 -3
- data/coverage/index.html +26 -26
- data/db/migrate/028_create_assets.rb +12 -0
- data/db/migrate/029_create_paperclip_attributes.rb +13 -0
- data/db/migrate/030_create_user_observer.rb +13 -0
- data/db/migrate/031_create_page_attachments.rb +19 -0
- data/db/migrate/032_rename_users.rb +13 -0
- data/db/migrate/20110513205050_asset_uuid.rb +11 -0
- data/db/migrate/20110606111250_update_configuration.rb +34 -0
- data/db/migrate/20110609101438_dimensions.rb +13 -0
- data/lib/trusty_cms.rb +1 -1
- data/spec/dummy/db/schema.rb +22 -0
- data/spec/dummy/log/test.log +95620 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/spec/dummy/tmp/capybara/capybara-20180312152412265881245.html +262 -0
- data/spec/dummy/tmp/capybara/capybara-201803121526139973682798.html +149 -0
- data/spec/factories/layout.rb +1 -1
- data/spec/factories/page.rb +3 -3
- data/spec/factories/page_part.rb +1 -1
- data/spec/factories/user.rb +1 -1
- data/spec/models/layout_spec.rb +6 -6
- data/spec/spec_helper.rb +4 -4
- data/trusty_cms.gemspec +27 -22
- data/vendor/extensions/clipped-extension/clipped_extension.rb +40 -0
- data/vendor/extensions/clipped-extension/lib/asset_tags.rb +346 -0
- data/vendor/extensions/clipped-extension/lib/clipped/engine.rb +11 -0
- data/vendor/extensions/clipped-extension/lib/clipped_admin_ui.rb +28 -0
- data/vendor/extensions/clipped-extension/lib/generators/templates/clipped_config.rb +53 -0
- data/vendor/extensions/clipped-extension/lib/page_asset_associations.rb +13 -0
- data/vendor/extensions/clipped-extension/lib/paperclip/frame_grab.rb +73 -0
- data/vendor/extensions/clipped-extension/lib/paperclip/geometry_transformation.rb +80 -0
- data/vendor/extensions/clipped-extension/lib/tasks/clipped_extension_tasks.rake +124 -0
- data/vendor/extensions/clipped-extension/lib/tasks/paperclip_tasks.rake +79 -0
- data/vendor/extensions/clipped-extension/lib/trusty-clipped-extension.rb +2 -0
- data/vendor/extensions/clipped-extension/lib/trusty_cms_clipped_extension/cloud.rb +41 -0
- metadata +219 -67
- data/config/initializers/ckeditor.rb +0 -3
- data/config/initializers/haml.rb +0 -2
- data/config/initializers/rails_patch.rb +0 -2
- data/config/initializers/string_extensions.rb +0 -1
- data/config/initializers/symbol_extensions.rb +0 -1
metadata
CHANGED
@@ -1,155 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
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: 2018-03-
|
11
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: acts_as_list
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.9.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: acts_as_tree
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.6.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.6.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.7'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: cocaine
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.5.8
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.5.8
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: ckeditor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 4.2.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 4.2.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: compass-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.0.2
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 3.0.2
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: delocalize
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0.2'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0.2'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: execjs
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: '2.7'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '2.7'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: haml
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 5.0
|
131
|
+
version: '5.0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 5.0
|
138
|
+
version: '5.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: haml-rails
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 1.0.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 1.0.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: highline
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 1.7.8
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: kraken-io
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: mysql2
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +192,20 @@ dependencies:
|
|
178
192
|
- - "~>"
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: 0.4.2
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: paperclip
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '5.2'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '5.2'
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
210
|
name: rack
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +234,34 @@ dependencies:
|
|
206
234
|
- - "~>"
|
207
235
|
- !ruby/object:Gem::Version
|
208
236
|
version: '1.7'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rails
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '5.1'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '5.1'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rdoc
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '5.1'
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '5.1'
|
209
265
|
- !ruby/object:Gem::Dependency
|
210
266
|
name: radius
|
211
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,128 +280,128 @@ dependencies:
|
|
224
280
|
name: RedCloth
|
225
281
|
requirement: !ruby/object:Gem::Requirement
|
226
282
|
requirements:
|
227
|
-
- -
|
283
|
+
- - '='
|
228
284
|
- !ruby/object:Gem::Version
|
229
285
|
version: 4.3.2
|
230
286
|
type: :runtime
|
231
287
|
prerelease: false
|
232
288
|
version_requirements: !ruby/object:Gem::Requirement
|
233
289
|
requirements:
|
234
|
-
- -
|
290
|
+
- - '='
|
235
291
|
- !ruby/object:Gem::Version
|
236
292
|
version: 4.3.2
|
237
293
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
294
|
+
name: rake
|
239
295
|
requirement: !ruby/object:Gem::Requirement
|
240
296
|
requirements:
|
241
|
-
- - "
|
297
|
+
- - "<"
|
242
298
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
299
|
+
version: '11.0'
|
244
300
|
type: :runtime
|
245
301
|
prerelease: false
|
246
302
|
version_requirements: !ruby/object:Gem::Requirement
|
247
303
|
requirements:
|
248
|
-
- - "
|
304
|
+
- - "<"
|
249
305
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
306
|
+
version: '11.0'
|
251
307
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
308
|
+
name: roadie-rails
|
253
309
|
requirement: !ruby/object:Gem::Requirement
|
254
310
|
requirements:
|
255
311
|
- - "~>"
|
256
312
|
- !ruby/object:Gem::Version
|
257
|
-
version: 2.
|
313
|
+
version: 1.2.1
|
258
314
|
type: :runtime
|
259
315
|
prerelease: false
|
260
316
|
version_requirements: !ruby/object:Gem::Requirement
|
261
317
|
requirements:
|
262
318
|
- - "~>"
|
263
319
|
- !ruby/object:Gem::Version
|
264
|
-
version: 2.
|
320
|
+
version: 1.2.1
|
265
321
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
322
|
+
name: stringex
|
267
323
|
requirement: !ruby/object:Gem::Requirement
|
268
324
|
requirements:
|
269
325
|
- - "~>"
|
270
326
|
- !ruby/object:Gem::Version
|
271
|
-
version:
|
327
|
+
version: 2.7.1
|
272
328
|
type: :runtime
|
273
329
|
prerelease: false
|
274
330
|
version_requirements: !ruby/object:Gem::Requirement
|
275
331
|
requirements:
|
276
332
|
- - "~>"
|
277
333
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
334
|
+
version: 2.7.1
|
279
335
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
336
|
+
name: therubyracer
|
281
337
|
requirement: !ruby/object:Gem::Requirement
|
282
338
|
requirements:
|
283
339
|
- - "~>"
|
284
340
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
341
|
+
version: 0.12.3
|
286
342
|
type: :runtime
|
287
343
|
prerelease: false
|
288
344
|
version_requirements: !ruby/object:Gem::Requirement
|
289
345
|
requirements:
|
290
346
|
- - "~>"
|
291
347
|
- !ruby/object:Gem::Version
|
292
|
-
version:
|
348
|
+
version: 0.12.3
|
293
349
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
350
|
+
name: tzinfo
|
295
351
|
requirement: !ruby/object:Gem::Requirement
|
296
352
|
requirements:
|
297
353
|
- - "~>"
|
298
354
|
- !ruby/object:Gem::Version
|
299
|
-
version:
|
355
|
+
version: 1.2.3
|
300
356
|
type: :runtime
|
301
357
|
prerelease: false
|
302
358
|
version_requirements: !ruby/object:Gem::Requirement
|
303
359
|
requirements:
|
304
360
|
- - "~>"
|
305
361
|
- !ruby/object:Gem::Version
|
306
|
-
version:
|
362
|
+
version: 1.2.3
|
307
363
|
- !ruby/object:Gem::Dependency
|
308
|
-
name:
|
364
|
+
name: uglifier
|
309
365
|
requirement: !ruby/object:Gem::Requirement
|
310
366
|
requirements:
|
311
367
|
- - "~>"
|
312
368
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
369
|
+
version: '3.2'
|
314
370
|
type: :runtime
|
315
371
|
prerelease: false
|
316
372
|
version_requirements: !ruby/object:Gem::Requirement
|
317
373
|
requirements:
|
318
374
|
- - "~>"
|
319
375
|
- !ruby/object:Gem::Version
|
320
|
-
version:
|
376
|
+
version: '3.2'
|
321
377
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
378
|
+
name: uuidtools
|
323
379
|
requirement: !ruby/object:Gem::Requirement
|
324
380
|
requirements:
|
325
|
-
- - "
|
381
|
+
- - "~>"
|
326
382
|
- !ruby/object:Gem::Version
|
327
|
-
version:
|
383
|
+
version: 2.1.5
|
328
384
|
type: :runtime
|
329
385
|
prerelease: false
|
330
386
|
version_requirements: !ruby/object:Gem::Requirement
|
331
387
|
requirements:
|
332
|
-
- - "
|
388
|
+
- - "~>"
|
333
389
|
- !ruby/object:Gem::Version
|
334
|
-
version:
|
390
|
+
version: 2.1.5
|
335
391
|
- !ruby/object:Gem::Dependency
|
336
|
-
name:
|
392
|
+
name: will_paginate
|
337
393
|
requirement: !ruby/object:Gem::Requirement
|
338
394
|
requirements:
|
339
395
|
- - "~>"
|
340
396
|
- !ruby/object:Gem::Version
|
341
|
-
version:
|
397
|
+
version: '3.0'
|
342
398
|
type: :runtime
|
343
399
|
prerelease: false
|
344
400
|
version_requirements: !ruby/object:Gem::Requirement
|
345
401
|
requirements:
|
346
402
|
- - "~>"
|
347
403
|
- !ruby/object:Gem::Version
|
348
|
-
version:
|
404
|
+
version: '3.0'
|
349
405
|
description: |-
|
350
406
|
TrustyCms is a simple and powerful publishing system designed for small teams.
|
351
407
|
It is built with Rails and is similar to Textpattern or MovableType, but is
|
@@ -372,18 +428,37 @@ files:
|
|
372
428
|
- README.md
|
373
429
|
- Rakefile
|
374
430
|
- Vagrantfile
|
431
|
+
- app/assets/images/admin/add.png
|
375
432
|
- app/assets/images/admin/add_tab.png
|
376
433
|
- app/assets/images/admin/animated-overlay.gif
|
434
|
+
- app/assets/images/admin/archive_icon.png
|
435
|
+
- app/assets/images/admin/audio_icon.png
|
436
|
+
- app/assets/images/admin/audio_thumbnail.png
|
377
437
|
- app/assets/images/admin/avatar_32x32.png
|
378
438
|
- app/assets/images/admin/avatar_64x64.png
|
379
439
|
- app/assets/images/admin/avatar_96x96.png
|
380
440
|
- app/assets/images/admin/brown_bottom_line.gif
|
441
|
+
- app/assets/images/admin/c_icon.png
|
381
442
|
- app/assets/images/admin/calendar_down.gif
|
382
443
|
- app/assets/images/admin/calendar_down.png
|
383
444
|
- app/assets/images/admin/collapse.png
|
384
445
|
- app/assets/images/admin/collapsed.png
|
446
|
+
- app/assets/images/admin/copy.png
|
447
|
+
- app/assets/images/admin/css_icon.png
|
448
|
+
- app/assets/images/admin/database_icon.png
|
449
|
+
- app/assets/images/admin/delete.png
|
450
|
+
- app/assets/images/admin/document_icon.png
|
451
|
+
- app/assets/images/admin/document_thumbnail.png
|
385
452
|
- app/assets/images/admin/draft_page.png
|
453
|
+
- app/assets/images/admin/flash_icon.png
|
454
|
+
- app/assets/images/admin/flash_thumbnail.png
|
455
|
+
- app/assets/images/admin/font_icon.png
|
456
|
+
- app/assets/images/admin/gzip_icon.png
|
457
|
+
- app/assets/images/admin/html_icon.png
|
386
458
|
- app/assets/images/admin/image.png
|
459
|
+
- app/assets/images/admin/image_icon.png
|
460
|
+
- app/assets/images/admin/image_thumbnail.png
|
461
|
+
- app/assets/images/admin/java_icon.png
|
387
462
|
- app/assets/images/admin/javascript.png
|
388
463
|
- app/assets/images/admin/layout.png
|
389
464
|
- app/assets/images/admin/metadata_toggle.png
|
@@ -397,6 +472,11 @@ files:
|
|
397
472
|
- app/assets/images/admin/navigation_secondary_separator.gif
|
398
473
|
- app/assets/images/admin/navigation_secondary_separator.png
|
399
474
|
- app/assets/images/admin/page.png
|
475
|
+
- app/assets/images/admin/page_edit.png
|
476
|
+
- app/assets/images/admin/pdf_icon.png
|
477
|
+
- app/assets/images/admin/pdf_thumbnail.png
|
478
|
+
- app/assets/images/admin/perl_icon.png
|
479
|
+
- app/assets/images/admin/php_icon.png
|
400
480
|
- app/assets/images/admin/plus.png
|
401
481
|
- app/assets/images/admin/plus_disabled.png
|
402
482
|
- app/assets/images/admin/plus_grey.png
|
@@ -405,11 +485,17 @@ files:
|
|
405
485
|
- app/assets/images/admin/popup_border_bottom_right.png
|
406
486
|
- app/assets/images/admin/popup_border_top_left.png
|
407
487
|
- app/assets/images/admin/popup_border_top_right.png
|
488
|
+
- app/assets/images/admin/presentation_icon.png
|
489
|
+
- app/assets/images/admin/python_icon.png
|
408
490
|
- app/assets/images/admin/remove.png
|
491
|
+
- app/assets/images/admin/reorder_assets.png
|
492
|
+
- app/assets/images/admin/ruby_icon.png
|
493
|
+
- app/assets/images/admin/script_icon.png
|
409
494
|
- app/assets/images/admin/search.png
|
410
495
|
- app/assets/images/admin/single_form_shadow.png
|
411
496
|
- app/assets/images/admin/snippet.png
|
412
497
|
- app/assets/images/admin/spinner.gif
|
498
|
+
- app/assets/images/admin/spreadsheet_icon.png
|
413
499
|
- app/assets/images/admin/status_background.png
|
414
500
|
- app/assets/images/admin/status_bottom_left.png
|
415
501
|
- app/assets/images/admin/status_bottom_right.png
|
@@ -418,6 +504,7 @@ files:
|
|
418
504
|
- app/assets/images/admin/status_top_right.png
|
419
505
|
- app/assets/images/admin/stylesheet.png
|
420
506
|
- app/assets/images/admin/tab_close.png
|
507
|
+
- app/assets/images/admin/tar_icon.png
|
421
508
|
- app/assets/images/admin/ui-bg_flat_75_ffffff_40x100.png
|
422
509
|
- app/assets/images/admin/ui-bg_glass_55_fbf9ee_1x400.png
|
423
510
|
- app/assets/images/admin/ui-bg_glass_65_ffffff_1x400.png
|
@@ -430,8 +517,14 @@ files:
|
|
430
517
|
- app/assets/images/admin/ui-icons_454545_256x240.png
|
431
518
|
- app/assets/images/admin/ui-icons_888888_256x240.png
|
432
519
|
- app/assets/images/admin/ui-icons_cd0a0a_256x240.png
|
520
|
+
- app/assets/images/admin/unknown_icon.png
|
521
|
+
- app/assets/images/admin/unknown_thumbnail.png
|
433
522
|
- app/assets/images/admin/upload.png
|
523
|
+
- app/assets/images/admin/video_icon.png
|
524
|
+
- app/assets/images/admin/video_thumbnail.png
|
434
525
|
- app/assets/images/admin/virtual_page.png
|
526
|
+
- app/assets/images/admin/xml_icon.png
|
527
|
+
- app/assets/images/admin/zip_icon.png
|
435
528
|
- app/assets/images/rad_social/ajax-loader-small.gif
|
436
529
|
- app/assets/images/rad_social/ajax-loader.gif
|
437
530
|
- app/assets/images/rad_social/bg_primary-btn.png
|
@@ -443,12 +536,17 @@ files:
|
|
443
536
|
- app/assets/images/rad_social/twitter.png
|
444
537
|
- app/assets/images/radiant/radiant-badge-color.png
|
445
538
|
- app/assets/javascripts/admin.js
|
539
|
+
- app/assets/javascripts/admin/assets.js
|
540
|
+
- app/assets/javascripts/admin/assets_admin.js
|
446
541
|
- app/assets/javascripts/admin/autopopulate-breadcrumb.js
|
447
542
|
- app/assets/javascripts/admin/cookie.js
|
448
543
|
- app/assets/javascripts/admin/datecheck.js
|
449
544
|
- app/assets/javascripts/admin/dropdown.js
|
450
545
|
- app/assets/javascripts/admin/jquery.cookie.js
|
546
|
+
- app/assets/javascripts/admin/jquery.fileupload.js
|
547
|
+
- app/assets/javascripts/admin/jquery.iframe-transport.js
|
451
548
|
- app/assets/javascripts/admin/jquery.treetable.js
|
549
|
+
- app/assets/javascripts/admin/jquery.ui.widget.js
|
452
550
|
- app/assets/javascripts/admin/jquery.validate.min.js
|
453
551
|
- app/assets/javascripts/admin/modernizr.js
|
454
552
|
- app/assets/javascripts/admin/more-or-less.js
|
@@ -477,6 +575,7 @@ files:
|
|
477
575
|
- app/assets/stylesheets/admin/_base.scss
|
478
576
|
- app/assets/stylesheets/admin/_multi_site_main.scss
|
479
577
|
- app/assets/stylesheets/admin/_site_chooser.scss
|
578
|
+
- app/assets/stylesheets/admin/assets.scss
|
480
579
|
- app/assets/stylesheets/admin/main.scss
|
481
580
|
- app/assets/stylesheets/admin/modules/_boxes.scss
|
482
581
|
- app/assets/stylesheets/admin/modules/_gradients.scss
|
@@ -503,9 +602,11 @@ files:
|
|
503
602
|
- app/assets/stylesheets/admin/partials/_typography.scss
|
504
603
|
- app/assets/stylesheets/admin/partials/_validations.scss
|
505
604
|
- app/assets/stylesheets/rad_social/rad_screen.scss
|
605
|
+
- app/controllers/admin/assets_controller.rb
|
506
606
|
- app/controllers/admin/configuration_controller.rb
|
507
607
|
- app/controllers/admin/extensions_controller.rb
|
508
608
|
- app/controllers/admin/layouts_controller.rb
|
609
|
+
- app/controllers/admin/page_attachments_controller.rb
|
509
610
|
- app/controllers/admin/page_fields_controller.rb
|
510
611
|
- app/controllers/admin/page_parts_controller.rb
|
511
612
|
- app/controllers/admin/pages_controller.rb
|
@@ -520,11 +621,13 @@ files:
|
|
520
621
|
- app/controllers/application_controller.rb
|
521
622
|
- app/controllers/site_controller.rb
|
522
623
|
- app/controllers/social_mailer_controller.rb
|
624
|
+
- app/helpers/admin/assets_helper.rb
|
523
625
|
- app/helpers/admin/configuration_helper.rb
|
524
626
|
- app/helpers/admin/export_helper.rb
|
525
627
|
- app/helpers/admin/extensions_helper.rb
|
526
628
|
- app/helpers/admin/layouts_helper.rb
|
527
629
|
- app/helpers/admin/node_helper.rb
|
630
|
+
- app/helpers/admin/page_attachments_helper.rb
|
528
631
|
- app/helpers/admin/pages_helper.rb
|
529
632
|
- app/helpers/admin/preferences_helper.rb
|
530
633
|
- app/helpers/admin/references_helper.rb
|
@@ -540,12 +643,16 @@ files:
|
|
540
643
|
- app/mailers/application_mailer.rb
|
541
644
|
- app/mailers/password_mailer.rb
|
542
645
|
- app/mailers/rad_social_mailer.rb
|
646
|
+
- app/models/asset.rb
|
647
|
+
- app/models/asset_type.rb
|
543
648
|
- app/models/deprecated_tags.rb
|
544
649
|
- app/models/file_not_found_page.rb
|
545
650
|
- app/models/haml_filter.rb
|
546
651
|
- app/models/layout.rb
|
547
652
|
- app/models/menu_renderer.rb
|
653
|
+
- app/models/old_page_attachment.rb
|
548
654
|
- app/models/page.rb
|
655
|
+
- app/models/page_attachment.rb
|
549
656
|
- app/models/page_context.rb
|
550
657
|
- app/models/page_field.rb
|
551
658
|
- app/models/page_part.rb
|
@@ -562,6 +669,20 @@ files:
|
|
562
669
|
- app/models/user.rb
|
563
670
|
- app/models/user_action_observer.rb
|
564
671
|
- app/users/_choose_site.html.haml
|
672
|
+
- app/views/admin/assets/_asset.html.haml
|
673
|
+
- app/views/admin/assets/_asset_table.html.haml
|
674
|
+
- app/views/admin/assets/_errors.html.haml
|
675
|
+
- app/views/admin/assets/_form.html.haml
|
676
|
+
- app/views/admin/assets/_page_assets.html.haml
|
677
|
+
- app/views/admin/assets/_search.html.haml
|
678
|
+
- app/views/admin/assets/_search_results.html.haml
|
679
|
+
- app/views/admin/assets/edit.html.haml
|
680
|
+
- app/views/admin/assets/index.html.haml
|
681
|
+
- app/views/admin/assets/new.html.haml
|
682
|
+
- app/views/admin/assets/refresh.html.haml
|
683
|
+
- app/views/admin/assets/remove.html.haml
|
684
|
+
- app/views/admin/configuration/_clipped_edit.html.haml
|
685
|
+
- app/views/admin/configuration/_clipped_show.html.haml
|
565
686
|
- app/views/admin/configuration/edit.html.haml
|
566
687
|
- app/views/admin/configuration/show.html.haml
|
567
688
|
- app/views/admin/extensions/index.html.haml
|
@@ -573,8 +694,11 @@ files:
|
|
573
694
|
- app/views/admin/layouts/index.html.haml
|
574
695
|
- app/views/admin/layouts/new.html.haml
|
575
696
|
- app/views/admin/layouts/remove.html.haml
|
697
|
+
- app/views/admin/page_attachments/_attachment.html.haml
|
576
698
|
- app/views/admin/page_fields/_page_field.html.haml
|
577
699
|
- app/views/admin/page_parts/_page_part.html.haml
|
700
|
+
- app/views/admin/pages/_asset_popups.html.haml
|
701
|
+
- app/views/admin/pages/_assets.html.haml
|
578
702
|
- app/views/admin/pages/_fields.html.haml
|
579
703
|
- app/views/admin/pages/_meta_row.html.haml
|
580
704
|
- app/views/admin/pages/_node.html.haml
|
@@ -590,6 +714,13 @@ files:
|
|
590
714
|
- app/views/admin/references/_tag_reference.haml
|
591
715
|
- app/views/admin/references/filters.haml
|
592
716
|
- app/views/admin/references/tags.haml
|
717
|
+
- app/views/admin/removed/_assets_bucket.html.haml
|
718
|
+
- app/views/admin/removed/_assets_container.html.haml
|
719
|
+
- app/views/admin/removed/_bucket.html.haml
|
720
|
+
- app/views/admin/removed/_bucket_asset.html.haml
|
721
|
+
- app/views/admin/removed/_show_bucket_link.html.haml
|
722
|
+
- app/views/admin/removed/_upload_to_page.html.haml
|
723
|
+
- app/views/admin/removed/bucket/_iframe.html.haml
|
593
724
|
- app/views/admin/sites/_form.haml
|
594
725
|
- app/views/admin/sites/edit.haml
|
595
726
|
- app/views/admin/sites/index.haml
|
@@ -635,13 +766,10 @@ files:
|
|
635
766
|
- config/environments/test.rb
|
636
767
|
- config/initializers/active_record_extensions.rb
|
637
768
|
- config/initializers/assets.rb
|
638
|
-
- config/initializers/
|
639
|
-
- config/initializers/
|
640
|
-
- config/initializers/rails_patch.rb
|
769
|
+
- config/initializers/interpolation.rb
|
770
|
+
- config/initializers/kraken.rb
|
641
771
|
- config/initializers/response_cache_timeout.rb
|
642
772
|
- config/initializers/secret_token.rb
|
643
|
-
- config/initializers/string_extensions.rb
|
644
|
-
- config/initializers/symbol_extensions.rb
|
645
773
|
- config/initializers/tmp.rb
|
646
774
|
- config/initializers/trusty_cms_config.rb
|
647
775
|
- config/locales/en.yml
|
@@ -722,6 +850,11 @@ files:
|
|
722
850
|
- db/migrate/025_recreate_non_unique_index_on_snippets_name.rb
|
723
851
|
- db/migrate/026_add_site_id_to_pages.rb
|
724
852
|
- db/migrate/027_add_base_domain_to_sites.rb
|
853
|
+
- db/migrate/028_create_assets.rb
|
854
|
+
- db/migrate/029_create_paperclip_attributes.rb
|
855
|
+
- db/migrate/030_create_user_observer.rb
|
856
|
+
- db/migrate/031_create_page_attachments.rb
|
857
|
+
- db/migrate/032_rename_users.rb
|
725
858
|
- db/migrate/20081203140407_add_indexes.rb
|
726
859
|
- db/migrate/20090226140109_add_user_language.rb
|
727
860
|
- db/migrate/20090929164633_rename_developer_role_to_designer.rb
|
@@ -729,6 +862,9 @@ files:
|
|
729
862
|
- db/migrate/20100805154952_add_page_fields.rb
|
730
863
|
- db/migrate/20100805155020_convert_page_metas.rb
|
731
864
|
- db/migrate/20100810151922_add_field_name_index.rb
|
865
|
+
- db/migrate/20110513205050_asset_uuid.rb
|
866
|
+
- db/migrate/20110606111250_update_configuration.rb
|
867
|
+
- db/migrate/20110609101438_dimensions.rb
|
732
868
|
- db/migrate/20110902203823_add_allowed_children_cache_to_pages.rb
|
733
869
|
- db/migrate/20111016150725_extend_page_part_content_limit.rb
|
734
870
|
- db/migrate/20120209231801_change_pages_allowed_children_cache_to_text.rb
|
@@ -1068,6 +1204,8 @@ files:
|
|
1068
1204
|
- spec/dummy/public/favicon.ico
|
1069
1205
|
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
1070
1206
|
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
1207
|
+
- spec/dummy/tmp/capybara/capybara-20180312152412265881245.html
|
1208
|
+
- spec/dummy/tmp/capybara/capybara-201803121526139973682798.html
|
1071
1209
|
- spec/dummy/tmp/radiant_config_cache.txt
|
1072
1210
|
- spec/dummy/yarn.lock
|
1073
1211
|
- spec/factories/layout.rb
|
@@ -1085,6 +1223,18 @@ files:
|
|
1085
1223
|
- spec/spec_helper.rb
|
1086
1224
|
- spec/support/custom_actions.rb
|
1087
1225
|
- trusty_cms.gemspec
|
1226
|
+
- vendor/extensions/clipped-extension/clipped_extension.rb
|
1227
|
+
- vendor/extensions/clipped-extension/lib/asset_tags.rb
|
1228
|
+
- vendor/extensions/clipped-extension/lib/clipped/engine.rb
|
1229
|
+
- vendor/extensions/clipped-extension/lib/clipped_admin_ui.rb
|
1230
|
+
- vendor/extensions/clipped-extension/lib/generators/templates/clipped_config.rb
|
1231
|
+
- vendor/extensions/clipped-extension/lib/page_asset_associations.rb
|
1232
|
+
- vendor/extensions/clipped-extension/lib/paperclip/frame_grab.rb
|
1233
|
+
- vendor/extensions/clipped-extension/lib/paperclip/geometry_transformation.rb
|
1234
|
+
- vendor/extensions/clipped-extension/lib/tasks/clipped_extension_tasks.rake
|
1235
|
+
- vendor/extensions/clipped-extension/lib/tasks/paperclip_tasks.rake
|
1236
|
+
- vendor/extensions/clipped-extension/lib/trusty-clipped-extension.rb
|
1237
|
+
- vendor/extensions/clipped-extension/lib/trusty_cms_clipped_extension/cloud.rb
|
1088
1238
|
- vendor/extensions/layouts-extension/layouts_extension.rb
|
1089
1239
|
- vendor/extensions/layouts-extension/lib/haml_layouts/models/layout.rb
|
1090
1240
|
- vendor/extensions/layouts-extension/lib/haml_layouts/models/page.rb
|
@@ -1355,6 +1505,8 @@ test_files:
|
|
1355
1505
|
- spec/dummy/README.rdoc
|
1356
1506
|
- spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
1357
1507
|
- spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
1508
|
+
- spec/dummy/tmp/capybara/capybara-20180312152412265881245.html
|
1509
|
+
- spec/dummy/tmp/capybara/capybara-201803121526139973682798.html
|
1358
1510
|
- spec/dummy/tmp/radiant_config_cache.txt
|
1359
1511
|
- spec/dummy/yarn.lock
|
1360
1512
|
- spec/factories/layout.rb
|