radiant-clipped-extension-add-group 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/LICENSE +22 -0
  2. data/README.md +184 -0
  3. data/Rakefile +109 -0
  4. data/app/controllers/admin/assets_controller.rb +66 -0
  5. data/app/controllers/admin/page_attachments_controller.rb +18 -0
  6. data/app/helpers/admin/assets_helper.rb +16 -0
  7. data/app/helpers/admin/page_attachments_helper.rb +2 -0
  8. data/app/models/asset.rb +237 -0
  9. data/app/models/asset_type.rb +241 -0
  10. data/app/models/old_page_attachment.rb +26 -0
  11. data/app/models/page_attachment.rb +20 -0
  12. data/app/views/admin/assets/_asset.html.haml +12 -0
  13. data/app/views/admin/assets/_asset_table.html.haml +33 -0
  14. data/app/views/admin/assets/_errors.html.haml +3 -0
  15. data/app/views/admin/assets/_form.html.haml +25 -0
  16. data/app/views/admin/assets/_page_assets.html.haml +12 -0
  17. data/app/views/admin/assets/_search.html.haml +17 -0
  18. data/app/views/admin/assets/_search_results.html.haml +17 -0
  19. data/app/views/admin/assets/edit.html.haml +41 -0
  20. data/app/views/admin/assets/index.html.haml +19 -0
  21. data/app/views/admin/assets/new.html.haml +24 -0
  22. data/app/views/admin/assets/refresh.html.haml +14 -0
  23. data/app/views/admin/assets/remove.html.haml +16 -0
  24. data/app/views/admin/configuration/_clipped_edit.html.haml +8 -0
  25. data/app/views/admin/configuration/_clipped_show.html.haml +12 -0
  26. data/app/views/admin/page_attachments/_attachment.html.haml +25 -0
  27. data/app/views/admin/page_parts/_page_part.html.haml +21 -0
  28. data/app/views/admin/pages/_asset_popups.html.haml +42 -0
  29. data/app/views/admin/pages/_assets.html.haml +11 -0
  30. data/app/views/admin/removed/_assets_bucket.html.haml +8 -0
  31. data/app/views/admin/removed/_assets_container.html.haml +58 -0
  32. data/app/views/admin/removed/_bucket.html.haml +11 -0
  33. data/app/views/admin/removed/_bucket_asset.html.haml +9 -0
  34. data/app/views/admin/removed/_show_bucket_link.html.haml +4 -0
  35. data/app/views/admin/removed/_upload_to_page.html.haml +12 -0
  36. data/app/views/admin/removed/bucket/_iframe.html.haml +1 -0
  37. data/artwork/icons.png +0 -0
  38. data/clipped_extension.rb +52 -0
  39. data/config/initializers/interpolation.rb +6 -0
  40. data/config/initializers/processors.rb +43 -0
  41. data/config/initializers/radiant_config.rb +65 -0
  42. data/config/locales/de.yml +109 -0
  43. data/config/locales/en.yml +110 -0
  44. data/config/locales/nl.yml +107 -0
  45. data/config/locales/ru.yml +110 -0
  46. data/config/routes.rb +8 -0
  47. data/cucumber.yml +1 -0
  48. data/db/migrate/001_create_assets.rb +12 -0
  49. data/db/migrate/002_create_paperclip_attributes.rb +13 -0
  50. data/db/migrate/003_create_user_observer.rb +13 -0
  51. data/db/migrate/004_create_page_attachments.rb +19 -0
  52. data/db/migrate/005_rename_users.rb +13 -0
  53. data/db/migrate/20110513205050_asset_uuid.rb +11 -0
  54. data/db/migrate/20110606111250_update_configuration.rb +34 -0
  55. data/db/migrate/20110609101438_dimensions.rb +13 -0
  56. data/db/migrate/20121024064452_add_group_to_assets.rb +9 -0
  57. data/features/support/env.rb +11 -0
  58. data/features/support/paths.rb +22 -0
  59. data/lib/asset_tags.rb +350 -0
  60. data/lib/clipped_admin_ui.rb +32 -0
  61. data/lib/cloud.rb +41 -0
  62. data/lib/generators/templates/clipped_config.rb +53 -0
  63. data/lib/page_asset_associations.rb +13 -0
  64. data/lib/paperclip/frame_grab.rb +73 -0
  65. data/lib/paperclip/geometry_transformation.rb +80 -0
  66. data/lib/radiant-clipped-extension.rb +8 -0
  67. data/lib/tasks/clipped_extension_tasks.rake +124 -0
  68. data/lib/tasks/paperclip_tasks.rake +79 -0
  69. data/public/flash/ZeroClipboard.swf +0 -0
  70. data/public/images/admin/assets/add.png +0 -0
  71. data/public/images/admin/assets/archive_icon.png +0 -0
  72. data/public/images/admin/assets/audio_icon.png +0 -0
  73. data/public/images/admin/assets/audio_thumbnail.png +0 -0
  74. data/public/images/admin/assets/c_icon.png +0 -0
  75. data/public/images/admin/assets/copy.png +0 -0
  76. data/public/images/admin/assets/css_icon.png +0 -0
  77. data/public/images/admin/assets/database_icon.png +0 -0
  78. data/public/images/admin/assets/delete.png +0 -0
  79. data/public/images/admin/assets/document_icon.png +0 -0
  80. data/public/images/admin/assets/document_thumbnail.png +0 -0
  81. data/public/images/admin/assets/flash_icon.png +0 -0
  82. data/public/images/admin/assets/flash_thumbnail.png +0 -0
  83. data/public/images/admin/assets/font_icon.png +0 -0
  84. data/public/images/admin/assets/gzip_icon.png +0 -0
  85. data/public/images/admin/assets/html_icon.png +0 -0
  86. data/public/images/admin/assets/image_icon.png +0 -0
  87. data/public/images/admin/assets/image_thumbnail.png +0 -0
  88. data/public/images/admin/assets/java_icon.png +0 -0
  89. data/public/images/admin/assets/page_edit.png +0 -0
  90. data/public/images/admin/assets/perl_icon.png +0 -0
  91. data/public/images/admin/assets/php_icon.png +0 -0
  92. data/public/images/admin/assets/presentation_icon.png +0 -0
  93. data/public/images/admin/assets/python_icon.png +0 -0
  94. data/public/images/admin/assets/reorder_assets.png +0 -0
  95. data/public/images/admin/assets/ruby_icon.png +0 -0
  96. data/public/images/admin/assets/script_icon.png +0 -0
  97. data/public/images/admin/assets/spreadsheet_icon.png +0 -0
  98. data/public/images/admin/assets/tar_icon.png +0 -0
  99. data/public/images/admin/assets/unknown_icon.png +0 -0
  100. data/public/images/admin/assets/unknown_thumbnail.png +0 -0
  101. data/public/images/admin/assets/video_icon.png +0 -0
  102. data/public/images/admin/assets/video_thumbnail.png +0 -0
  103. data/public/images/admin/assets/xml_icon.png +0 -0
  104. data/public/images/admin/assets/zip_icon.png +0 -0
  105. data/public/javascripts/admin/assets.js +297 -0
  106. data/public/stylesheets/sass/admin/assets.sass +224 -0
  107. data/radiant-clipped-extension.gemspec +29 -0
  108. data/spec/ci/before_script +23 -0
  109. data/spec/ci/script +2 -0
  110. data/spec/controllers/admin/assets_controller_spec.rb +50 -0
  111. data/spec/controllers/admin/page_attachments_controller_spec.rb +50 -0
  112. data/spec/datasets/assets_dataset.rb +36 -0
  113. data/spec/fixtures/5k.png +0 -0
  114. data/spec/fixtures/test.flv +0 -0
  115. data/spec/lib/asset_tags_spec.rb +107 -0
  116. data/spec/lib/frame_grab_spec.rb +17 -0
  117. data/spec/lib/geometry_transformation_spec.rb +63 -0
  118. data/spec/models/asset_spec.rb +72 -0
  119. data/spec/models/asset_type_spec.rb +70 -0
  120. data/spec/models/post_processing_spec.rb +62 -0
  121. data/spec/spec.opts +7 -0
  122. data/spec/spec_helper.rb +36 -0
  123. data/wireframes/edit-page-assets-2.bmml +453 -0
  124. data/wireframes/edit-page-assets-2.png +0 -0
  125. data/wireframes/edit-page-assets-3.bmml +454 -0
  126. data/wireframes/edit-page-assets-3.png +0 -0
  127. data/wireframes/edit-page-assets.bmml +433 -0
  128. data/wireframes/edit-page-assets.png +0 -0
  129. data/wireframes/edit-page.bmml +174 -0
  130. data/wireframes/edit-page.png +0 -0
  131. metadata +281 -0
Binary file
metadata ADDED
@@ -0,0 +1,281 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: radiant-clipped-extension-add-group
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 2
10
+ version: 1.1.2
11
+ platform: ruby
12
+ authors:
13
+ - Keith Bingman
14
+ - Benny Degezelle
15
+ - William Ross
16
+ - John W. Long
17
+ - John Muhl
18
+ - Alvin Ye
19
+ autorequire:
20
+ bindir: bin
21
+ cert_chain: []
22
+
23
+ date: 2012-10-25 00:00:00 +08:00
24
+ default_executable:
25
+ dependencies:
26
+ - !ruby/object:Gem::Dependency
27
+ name: acts_as_list
28
+ prerelease: false
29
+ requirement: &id001 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - "="
33
+ - !ruby/object:Gem::Version
34
+ hash: 19
35
+ segments:
36
+ - 0
37
+ - 1
38
+ - 4
39
+ version: 0.1.4
40
+ type: :runtime
41
+ version_requirements: *id001
42
+ - !ruby/object:Gem::Dependency
43
+ name: paperclip
44
+ prerelease: false
45
+ requirement: &id002 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ~>
49
+ - !ruby/object:Gem::Version
50
+ hash: 19
51
+ segments:
52
+ - 2
53
+ - 7
54
+ - 0
55
+ version: 2.7.0
56
+ type: :runtime
57
+ version_requirements: *id002
58
+ - !ruby/object:Gem::Dependency
59
+ name: uuidtools
60
+ prerelease: false
61
+ requirement: &id003 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ hash: 15
67
+ segments:
68
+ - 2
69
+ - 1
70
+ - 2
71
+ version: 2.1.2
72
+ type: :runtime
73
+ version_requirements: *id003
74
+ - !ruby/object:Gem::Dependency
75
+ name: cocaine
76
+ prerelease: false
77
+ requirement: &id004 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ hash: 23
83
+ segments:
84
+ - 0
85
+ - 3
86
+ - 2
87
+ version: 0.3.2
88
+ type: :runtime
89
+ version_requirements: *id004
90
+ description: Asset-management derived from Keith Bingman's Paperclipped extension.
91
+ email:
92
+ - radiant@radiantcms.org
93
+ executables: []
94
+
95
+ extensions: []
96
+
97
+ extra_rdoc_files: []
98
+
99
+ files:
100
+ - app/controllers/admin/assets_controller.rb
101
+ - app/controllers/admin/page_attachments_controller.rb
102
+ - app/helpers/admin/assets_helper.rb
103
+ - app/helpers/admin/page_attachments_helper.rb
104
+ - app/models/asset.rb
105
+ - app/models/asset_type.rb
106
+ - app/models/old_page_attachment.rb
107
+ - app/models/page_attachment.rb
108
+ - app/views/admin/assets/_asset.html.haml
109
+ - app/views/admin/assets/_asset_table.html.haml
110
+ - app/views/admin/assets/_errors.html.haml
111
+ - app/views/admin/assets/_form.html.haml
112
+ - app/views/admin/assets/_page_assets.html.haml
113
+ - app/views/admin/assets/_search.html.haml
114
+ - app/views/admin/assets/_search_results.html.haml
115
+ - app/views/admin/assets/edit.html.haml
116
+ - app/views/admin/assets/index.html.haml
117
+ - app/views/admin/assets/new.html.haml
118
+ - app/views/admin/assets/refresh.html.haml
119
+ - app/views/admin/assets/remove.html.haml
120
+ - app/views/admin/configuration/_clipped_edit.html.haml
121
+ - app/views/admin/configuration/_clipped_show.html.haml
122
+ - app/views/admin/page_attachments/_attachment.html.haml
123
+ - app/views/admin/page_parts/_page_part.html.haml
124
+ - app/views/admin/pages/_asset_popups.html.haml
125
+ - app/views/admin/pages/_assets.html.haml
126
+ - app/views/admin/removed/_assets_bucket.html.haml
127
+ - app/views/admin/removed/_assets_container.html.haml
128
+ - app/views/admin/removed/_bucket.html.haml
129
+ - app/views/admin/removed/_bucket_asset.html.haml
130
+ - app/views/admin/removed/_show_bucket_link.html.haml
131
+ - app/views/admin/removed/_upload_to_page.html.haml
132
+ - app/views/admin/removed/bucket/_iframe.html.haml
133
+ - artwork/icons.png
134
+ - clipped_extension.rb
135
+ - config/initializers/interpolation.rb
136
+ - config/initializers/processors.rb
137
+ - config/initializers/radiant_config.rb
138
+ - config/locales/de.yml
139
+ - config/locales/en.yml
140
+ - config/locales/nl.yml
141
+ - config/locales/ru.yml
142
+ - config/routes.rb
143
+ - cucumber.yml
144
+ - db/migrate/001_create_assets.rb
145
+ - db/migrate/002_create_paperclip_attributes.rb
146
+ - db/migrate/003_create_user_observer.rb
147
+ - db/migrate/004_create_page_attachments.rb
148
+ - db/migrate/005_rename_users.rb
149
+ - db/migrate/20110513205050_asset_uuid.rb
150
+ - db/migrate/20110606111250_update_configuration.rb
151
+ - db/migrate/20110609101438_dimensions.rb
152
+ - db/migrate/20121024064452_add_group_to_assets.rb
153
+ - features/support/env.rb
154
+ - features/support/paths.rb
155
+ - lib/asset_tags.rb
156
+ - lib/clipped_admin_ui.rb
157
+ - lib/cloud.rb
158
+ - lib/generators/templates/clipped_config.rb
159
+ - lib/page_asset_associations.rb
160
+ - lib/paperclip/frame_grab.rb
161
+ - lib/paperclip/geometry_transformation.rb
162
+ - lib/radiant-clipped-extension.rb
163
+ - lib/tasks/clipped_extension_tasks.rake
164
+ - lib/tasks/paperclip_tasks.rake
165
+ - LICENSE
166
+ - public/flash/ZeroClipboard.swf
167
+ - public/images/admin/assets/add.png
168
+ - public/images/admin/assets/archive_icon.png
169
+ - public/images/admin/assets/audio_icon.png
170
+ - public/images/admin/assets/audio_thumbnail.png
171
+ - public/images/admin/assets/c_icon.png
172
+ - public/images/admin/assets/copy.png
173
+ - public/images/admin/assets/css_icon.png
174
+ - public/images/admin/assets/database_icon.png
175
+ - public/images/admin/assets/delete.png
176
+ - public/images/admin/assets/document_icon.png
177
+ - public/images/admin/assets/document_thumbnail.png
178
+ - public/images/admin/assets/flash_icon.png
179
+ - public/images/admin/assets/flash_thumbnail.png
180
+ - public/images/admin/assets/font_icon.png
181
+ - public/images/admin/assets/gzip_icon.png
182
+ - public/images/admin/assets/html_icon.png
183
+ - public/images/admin/assets/image_icon.png
184
+ - public/images/admin/assets/image_thumbnail.png
185
+ - public/images/admin/assets/java_icon.png
186
+ - public/images/admin/assets/page_edit.png
187
+ - public/images/admin/assets/perl_icon.png
188
+ - public/images/admin/assets/php_icon.png
189
+ - public/images/admin/assets/presentation_icon.png
190
+ - public/images/admin/assets/python_icon.png
191
+ - public/images/admin/assets/reorder_assets.png
192
+ - public/images/admin/assets/ruby_icon.png
193
+ - public/images/admin/assets/script_icon.png
194
+ - public/images/admin/assets/spreadsheet_icon.png
195
+ - public/images/admin/assets/tar_icon.png
196
+ - public/images/admin/assets/unknown_icon.png
197
+ - public/images/admin/assets/unknown_thumbnail.png
198
+ - public/images/admin/assets/video_icon.png
199
+ - public/images/admin/assets/video_thumbnail.png
200
+ - public/images/admin/assets/xml_icon.png
201
+ - public/images/admin/assets/zip_icon.png
202
+ - public/javascripts/admin/assets.js
203
+ - public/stylesheets/sass/admin/assets.sass
204
+ - radiant-clipped-extension.gemspec
205
+ - Rakefile
206
+ - README.md
207
+ - spec/ci/before_script
208
+ - spec/ci/script
209
+ - spec/controllers/admin/assets_controller_spec.rb
210
+ - spec/controllers/admin/page_attachments_controller_spec.rb
211
+ - spec/datasets/assets_dataset.rb
212
+ - spec/fixtures/5k.png
213
+ - spec/fixtures/test.flv
214
+ - spec/lib/asset_tags_spec.rb
215
+ - spec/lib/frame_grab_spec.rb
216
+ - spec/lib/geometry_transformation_spec.rb
217
+ - spec/models/asset_spec.rb
218
+ - spec/models/asset_type_spec.rb
219
+ - spec/models/post_processing_spec.rb
220
+ - spec/spec.opts
221
+ - spec/spec_helper.rb
222
+ - wireframes/edit-page-assets-2.bmml
223
+ - wireframes/edit-page-assets-2.png
224
+ - wireframes/edit-page-assets-3.bmml
225
+ - wireframes/edit-page-assets-3.png
226
+ - wireframes/edit-page-assets.bmml
227
+ - wireframes/edit-page-assets.png
228
+ - wireframes/edit-page.bmml
229
+ - wireframes/edit-page.png
230
+ has_rdoc: true
231
+ homepage: http://radiantcms.org
232
+ licenses: []
233
+
234
+ post_install_message:
235
+ rdoc_options: []
236
+
237
+ require_paths:
238
+ - lib
239
+ required_ruby_version: !ruby/object:Gem::Requirement
240
+ none: false
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ hash: 3
245
+ segments:
246
+ - 0
247
+ version: "0"
248
+ required_rubygems_version: !ruby/object:Gem::Requirement
249
+ none: false
250
+ requirements:
251
+ - - ">="
252
+ - !ruby/object:Gem::Version
253
+ hash: 3
254
+ segments:
255
+ - 0
256
+ version: "0"
257
+ requirements: []
258
+
259
+ rubyforge_project:
260
+ rubygems_version: 1.3.9.5
261
+ signing_key:
262
+ specification_version: 3
263
+ summary: Assets for Radiant CMS, add group
264
+ test_files:
265
+ - spec/ci/before_script
266
+ - spec/ci/script
267
+ - spec/controllers/admin/assets_controller_spec.rb
268
+ - spec/controllers/admin/page_attachments_controller_spec.rb
269
+ - spec/datasets/assets_dataset.rb
270
+ - spec/fixtures/5k.png
271
+ - spec/fixtures/test.flv
272
+ - spec/lib/asset_tags_spec.rb
273
+ - spec/lib/frame_grab_spec.rb
274
+ - spec/lib/geometry_transformation_spec.rb
275
+ - spec/models/asset_spec.rb
276
+ - spec/models/asset_type_spec.rb
277
+ - spec/models/post_processing_spec.rb
278
+ - spec/spec.opts
279
+ - spec/spec_helper.rb
280
+ - features/support/env.rb
281
+ - features/support/paths.rb