social_stream-documents 1.1.4 → 2.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/icons/attach.png +0 -0
- data/app/assets/javascripts/{social_stream.audio.js.erb → social_stream/audio.js.erb} +7 -3
- data/app/assets/javascripts/social_stream/document.js +27 -0
- data/app/assets/javascripts/social_stream/documents.timeline.js +11 -0
- data/app/assets/javascripts/social_stream/documents.wall.js +48 -0
- data/app/assets/javascripts/{social_stream.video.js.erb → social_stream/video.js.erb} +11 -8
- data/app/assets/javascripts/social_stream-documents.js +1 -1
- data/{spec/dummy/config/navigation.rb → app/assets/stylesheets/social_stream/documents/_toolbar.css.sass} +0 -0
- data/app/assets/stylesheets/social_stream/documents/aside/_documents.css.sass +4 -0
- data/app/assets/stylesheets/social_stream/documents/aside/layout/_documents.css.sass +30 -0
- data/{spec/dummy/db/.gitkeep → app/assets/stylesheets/social_stream/documents/create/_new.css.sass} +0 -0
- data/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +32 -0
- data/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +4 -0
- data/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +52 -0
- data/app/assets/stylesheets/social_stream/documents/explore/_explore-documents.css.sass +12 -0
- data/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +20 -0
- data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass +21 -0
- data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-767px-max.css.sass +58 -0
- data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-768px-979px.css.sass +54 -0
- data/app/assets/stylesheets/social_stream/documents/search/_header.css.sass +25 -0
- data/app/assets/stylesheets/social_stream/documents/search/layout/_header.css.sass +33 -0
- data/app/assets/stylesheets/social_stream/documents/show/_show.css.sass +72 -0
- data/app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass +112 -0
- data/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +21 -0
- data/app/assets/stylesheets/social_stream/documents/timeline/_wallinput.css.sass +10 -0
- data/app/assets/stylesheets/social_stream/documents/timeline/layout/_audios.css.sass +67 -0
- data/app/assets/stylesheets/social_stream/documents/timeline/layout/_wallinput.css.sass +10 -0
- data/app/assets/stylesheets/social_stream-documents.css.sass +49 -0
- data/app/controllers/documents_controller.rb +16 -5
- data/app/decorators/social_stream/base/activity_object_decorator.rb +1 -0
- data/app/helpers/documents_helper.rb +35 -18
- data/app/models/audio.rb +1 -6
- data/app/models/document.rb +23 -28
- data/app/models/picture.rb +0 -19
- data/app/models/video.rb +0 -5
- data/app/views/audios/_audio.html.erb +2 -11
- data/app/views/audios/_audio_processed.html.erb +28 -23
- data/app/views/audios/_audio_processing.html.erb +5 -5
- data/app/views/audios/_quick_search_result.html.erb +3 -0
- data/app/views/audios/_search_result.html.erb +1 -0
- data/app/views/audios/_timeline.html.erb +11 -0
- data/app/views/audios/index.html.erb +3 -1
- data/app/views/common_documents/_document.html.erb +18 -0
- data/app/views/common_documents/_filter.html.erb +1 -0
- data/app/views/common_documents/_form.html.erb +44 -0
- data/app/views/common_documents/_index.html.erb +27 -63
- data/app/views/common_documents/_info.html.erb +50 -0
- data/app/views/common_documents/_list.html.erb +2 -0
- data/app/views/common_documents/_new.modal.html.erb +13 -0
- data/app/views/common_documents/_new_button.html.erb +11 -0
- data/app/views/common_documents/_quick_search_result.html.erb +19 -0
- data/app/views/common_documents/_show.html.erb +76 -27
- data/app/views/documents/_document.html.erb +2 -26
- data/app/views/documents/_document_show.html.erb +2 -4
- data/app/views/documents/_new_activity.html.erb +3 -1
- data/app/views/documents/_quick_search_result.html.erb +3 -0
- data/app/views/documents/_search_result.html.erb +1 -0
- data/app/views/documents/_timeline.html.erb +15 -0
- data/app/views/documents/index.html.erb +7 -1
- data/app/views/documents/new.html.erb +9 -0
- data/app/views/documents/search.html.erb +1 -1
- data/app/views/pictures/_picture.html.erb +2 -41
- data/app/views/pictures/_picture_show.html.erb +1 -16
- data/app/views/pictures/_quick_search_result.html.erb +3 -0
- data/app/views/pictures/_search_result.html.erb +1 -0
- data/app/views/pictures/_timeline.html.erb +17 -0
- data/app/views/pictures/index.html.erb +3 -1
- data/app/views/videos/_quick_search_result.html.erb +3 -0
- data/app/views/videos/_search_result.html.erb +1 -0
- data/app/views/videos/_timeline.html.erb +9 -0
- data/app/views/videos/_video.html.erb +2 -11
- data/app/views/videos/_video_processed.html.erb +11 -15
- data/app/views/videos/_video_processing.html.erb +6 -5
- data/app/views/videos/_video_show.html.erb +1 -1
- data/app/views/videos/index.html.erb +3 -1
- data/config/locales/en.yml +25 -12
- data/config/locales/es.yml +23 -12
- data/lib/generators/social_stream/documents/install_generator.rb +2 -3
- data/lib/generators/social_stream/documents/templates/initializer.rb +37 -9
- data/lib/social_stream/documents/dependencies.rb +1 -0
- data/lib/social_stream/documents/engine.rb +5 -14
- data/lib/social_stream/documents/models/activity_object.rb +18 -0
- data/lib/social_stream/documents/version.rb +1 -1
- data/lib/social_stream-documents.rb +56 -13
- data/lib/tasks/db/populate.rake +21 -0
- data/social_stream-documents.gemspec +4 -1
- data/spec/controllers/documents_controller_spec.rb +15 -9
- data/spec/controllers/pictures_controller_spec.rb +8 -8
- data/spec/socialstream_documents_spec.rb +6 -0
- data/vendor/assets/stylesheets/jplayer.blue.monday.css +2 -1
- metadata +71 -74
- data/app/assets/javascripts/social_stream.repository.js.erb +0 -27
- data/app/assets/stylesheets/documents.css.scss +0 -302
- data/app/assets/stylesheets/show.css.scss +0 -111
- data/app/assets/stylesheets/social_stream-documents.css +0 -6
- data/app/views/audios/_audio_focus_search.html.erb +0 -3
- data/app/views/audios/_audio_global_search.html.erb +0 -3
- data/app/views/audios/_audio_with_details.html.erb +0 -3
- data/app/views/common_documents/_document_info.html.erb +0 -48
- data/app/views/common_documents/_edit_form.html.erb +0 -57
- data/app/views/common_documents/_headers.html.erb +0 -77
- data/app/views/documents/_document_focus_search.html.erb +0 -2
- data/app/views/documents/_document_global_search.html.erb +0 -2
- data/app/views/documents/_document_with_details.html.erb +0 -13
- data/app/views/documents/_new_activity_fields.html.erb +0 -15
- data/app/views/pictures/_picture_focus_search.html.erb +0 -2
- data/app/views/pictures/_picture_global_search.html.erb +0 -2
- data/app/views/pictures/_picture_with_details.html.erb +0 -2
- data/app/views/videos/_video_focus_search.html.erb +0 -2
- data/app/views/videos/_video_global_search.html.erb +0 -2
- data/app/views/videos/_video_with_details.html.erb +0 -2
- data/config/locales/de.yml +0 -78
- data/config/locales/fr.yml +0 -78
- data/config/locales/hu.yml +0 -77
- data/config/locales/nl.yml +0 -78
- data/lib/social_stream/views/toolbar/documents.rb +0 -28
- data/lib/tasks/db/populate_documents.rake +0 -19
- data/spec/dummy/.gitignore +0 -1
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/assets/javascripts/application.js +0 -9
- data/spec/dummy/app/assets/stylesheets/application.css +0 -7
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/config/application.rb +0 -45
- data/spec/dummy/config/boot.rb +0 -10
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -30
- data/spec/dummy/config/environments/production.rb +0 -60
- data/spec/dummy/config/environments/test.rb +0 -39
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/devise.rb +0 -176
- data/spec/dummy/config/initializers/inflections.rb +0 -10
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/relations.yml +0 -39
- data/spec/dummy/config/routes.rb +0 -60
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/schema.rb +0 -6
- data/spec/dummy/public/404.html +0 -26
- data/spec/dummy/public/422.html +0 -26
- data/spec/dummy/public/500.html +0 -26
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +0 -2
- data/spec/dummy/public/javascripts/controls.js +0 -965
- data/spec/dummy/public/javascripts/dragdrop.js +0 -974
- data/spec/dummy/public/javascripts/effects.js +0 -1123
- data/spec/dummy/public/javascripts/prototype.js +0 -6001
- data/spec/dummy/public/javascripts/rails.js +0 -191
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-documents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Víctor Sánchez Belmar
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: social_stream-base
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 2.0.0.beta1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 2.0.0.beta1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: paperclip
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +67,20 @@ dependencies:
|
|
67
67
|
- - '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 2.4.5.2
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: paperclip_waveform
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
70
84
|
- !ruby/object:Gem::Dependency
|
71
85
|
name: sqlite3-ruby
|
72
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,77 +201,100 @@ files:
|
|
187
201
|
- app/assets/images/btn/btn_video.png
|
188
202
|
- app/assets/images/btn/btn_word.png
|
189
203
|
- app/assets/images/btn/document.png
|
204
|
+
- app/assets/images/icons/attach.png
|
190
205
|
- app/assets/javascripts/social_stream-documents.js
|
191
|
-
- app/assets/javascripts/social_stream
|
192
|
-
- app/assets/javascripts/social_stream.
|
193
|
-
- app/assets/javascripts/social_stream.
|
194
|
-
- app/assets/
|
195
|
-
- app/assets/
|
196
|
-
- app/assets/stylesheets/social_stream-documents.css
|
206
|
+
- app/assets/javascripts/social_stream/audio.js.erb
|
207
|
+
- app/assets/javascripts/social_stream/document.js
|
208
|
+
- app/assets/javascripts/social_stream/documents.timeline.js
|
209
|
+
- app/assets/javascripts/social_stream/documents.wall.js
|
210
|
+
- app/assets/javascripts/social_stream/video.js.erb
|
211
|
+
- app/assets/stylesheets/social_stream-documents.css.sass
|
212
|
+
- app/assets/stylesheets/social_stream/documents/_toolbar.css.sass
|
213
|
+
- app/assets/stylesheets/social_stream/documents/aside/_documents.css.sass
|
214
|
+
- app/assets/stylesheets/social_stream/documents/aside/layout/_documents.css.sass
|
215
|
+
- app/assets/stylesheets/social_stream/documents/create/_new.css.sass
|
216
|
+
- app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass
|
217
|
+
- app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass
|
218
|
+
- app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass
|
219
|
+
- app/assets/stylesheets/social_stream/documents/explore/_explore-documents.css.sass
|
220
|
+
- app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass
|
221
|
+
- app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass
|
222
|
+
- app/assets/stylesheets/social_stream/documents/responsive/_responsive-767px-max.css.sass
|
223
|
+
- app/assets/stylesheets/social_stream/documents/responsive/_responsive-768px-979px.css.sass
|
224
|
+
- app/assets/stylesheets/social_stream/documents/search/_header.css.sass
|
225
|
+
- app/assets/stylesheets/social_stream/documents/search/layout/_header.css.sass
|
226
|
+
- app/assets/stylesheets/social_stream/documents/show/_show.css.sass
|
227
|
+
- app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass
|
228
|
+
- app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass
|
229
|
+
- app/assets/stylesheets/social_stream/documents/timeline/_wallinput.css.sass
|
230
|
+
- app/assets/stylesheets/social_stream/documents/timeline/layout/_audios.css.sass
|
231
|
+
- app/assets/stylesheets/social_stream/documents/timeline/layout/_wallinput.css.sass
|
197
232
|
- app/controllers/audios_controller.rb
|
198
233
|
- app/controllers/documents_controller.rb
|
199
234
|
- app/controllers/pictures_controller.rb
|
200
235
|
- app/controllers/videos_controller.rb
|
236
|
+
- app/decorators/social_stream/base/activity_object_decorator.rb
|
201
237
|
- app/helpers/documents_helper.rb
|
202
238
|
- app/models/audio.rb
|
203
239
|
- app/models/document.rb
|
204
240
|
- app/models/picture.rb
|
205
241
|
- app/models/video.rb
|
206
242
|
- app/views/audios/_audio.html.erb
|
207
|
-
- app/views/audios/_audio_focus_search.html.erb
|
208
|
-
- app/views/audios/_audio_global_search.html.erb
|
209
243
|
- app/views/audios/_audio_processed.html.erb
|
210
244
|
- app/views/audios/_audio_processing.html.erb
|
211
245
|
- app/views/audios/_audio_show.html.erb
|
212
|
-
- app/views/audios/_audio_with_details.html.erb
|
213
246
|
- app/views/audios/_new.html.erb
|
247
|
+
- app/views/audios/_quick_search_result.html.erb
|
248
|
+
- app/views/audios/_search_result.html.erb
|
249
|
+
- app/views/audios/_timeline.html.erb
|
214
250
|
- app/views/audios/destroy.js.erb
|
215
251
|
- app/views/audios/index.html.erb
|
216
252
|
- app/views/audios/show.html.erb
|
217
|
-
- app/views/common_documents/
|
218
|
-
- app/views/common_documents/
|
219
|
-
- app/views/common_documents/
|
253
|
+
- app/views/common_documents/_document.html.erb
|
254
|
+
- app/views/common_documents/_filter.html.erb
|
255
|
+
- app/views/common_documents/_form.html.erb
|
220
256
|
- app/views/common_documents/_index.html.erb
|
257
|
+
- app/views/common_documents/_info.html.erb
|
258
|
+
- app/views/common_documents/_list.html.erb
|
259
|
+
- app/views/common_documents/_new.modal.html.erb
|
260
|
+
- app/views/common_documents/_new_button.html.erb
|
261
|
+
- app/views/common_documents/_quick_search_result.html.erb
|
221
262
|
- app/views/common_documents/_show.html.erb
|
222
263
|
- app/views/documents/_document.html.erb
|
223
|
-
- app/views/documents/_document_focus_search.html.erb
|
224
|
-
- app/views/documents/_document_global_search.html.erb
|
225
264
|
- app/views/documents/_document_show.html.erb
|
226
|
-
- app/views/documents/_document_with_details.html.erb
|
227
265
|
- app/views/documents/_new_activity.html.erb
|
228
|
-
- app/views/documents/
|
266
|
+
- app/views/documents/_quick_search_result.html.erb
|
267
|
+
- app/views/documents/_search_result.html.erb
|
268
|
+
- app/views/documents/_timeline.html.erb
|
229
269
|
- app/views/documents/destroy.js.erb
|
230
270
|
- app/views/documents/index.html.erb
|
271
|
+
- app/views/documents/new.html.erb
|
231
272
|
- app/views/documents/search.html.erb
|
232
273
|
- app/views/documents/show.html.erb
|
233
274
|
- app/views/pictures/_new.html.erb
|
234
275
|
- app/views/pictures/_picture.html.erb
|
235
|
-
- app/views/pictures/_picture_focus_search.html.erb
|
236
|
-
- app/views/pictures/_picture_global_search.html.erb
|
237
276
|
- app/views/pictures/_picture_show.html.erb
|
238
|
-
- app/views/pictures/
|
277
|
+
- app/views/pictures/_quick_search_result.html.erb
|
278
|
+
- app/views/pictures/_search_result.html.erb
|
279
|
+
- app/views/pictures/_timeline.html.erb
|
239
280
|
- app/views/pictures/destroy.js.erb
|
240
281
|
- app/views/pictures/index.html.erb
|
241
282
|
- app/views/pictures/show.html.erb
|
242
283
|
- app/views/videos/_new.html.erb
|
284
|
+
- app/views/videos/_quick_search_result.html.erb
|
285
|
+
- app/views/videos/_search_result.html.erb
|
286
|
+
- app/views/videos/_timeline.html.erb
|
243
287
|
- app/views/videos/_video.html.erb
|
244
|
-
- app/views/videos/_video_focus_search.html.erb
|
245
|
-
- app/views/videos/_video_global_search.html.erb
|
246
288
|
- app/views/videos/_video_processed.html.erb
|
247
289
|
- app/views/videos/_video_processing.html.erb
|
248
290
|
- app/views/videos/_video_show.html.erb
|
249
|
-
- app/views/videos/_video_with_details.html.erb
|
250
291
|
- app/views/videos/destroy.js.erb
|
251
292
|
- app/views/videos/index.html.erb
|
252
293
|
- app/views/videos/show.html.erb
|
253
294
|
- app/worker/audioencoder.rb
|
254
295
|
- app/worker/videoencoder.rb
|
255
|
-
- config/locales/de.yml
|
256
296
|
- config/locales/en.yml
|
257
297
|
- config/locales/es.yml
|
258
|
-
- config/locales/fr.yml
|
259
|
-
- config/locales/hu.yml
|
260
|
-
- config/locales/nl.yml
|
261
298
|
- config/routes.rb
|
262
299
|
- db/migrate/20120208143721_create_social_stream_documents.rb
|
263
300
|
- lib/delayed_paperclip/social_stream-documents.rb
|
@@ -272,53 +309,13 @@ files:
|
|
272
309
|
- lib/social_stream-documents.rb
|
273
310
|
- lib/social_stream/documents/dependencies.rb
|
274
311
|
- lib/social_stream/documents/engine.rb
|
312
|
+
- lib/social_stream/documents/models/activity_object.rb
|
275
313
|
- lib/social_stream/documents/version.rb
|
276
314
|
- lib/social_stream/migrations/documents.rb
|
277
|
-
- lib/
|
278
|
-
- lib/tasks/db/populate_documents.rake
|
315
|
+
- lib/tasks/db/populate.rake
|
279
316
|
- social_stream-documents.gemspec
|
280
317
|
- spec/controllers/documents_controller_spec.rb
|
281
318
|
- spec/controllers/pictures_controller_spec.rb
|
282
|
-
- spec/dummy/.gitignore
|
283
|
-
- spec/dummy/Rakefile
|
284
|
-
- spec/dummy/app/assets/javascripts/application.js
|
285
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
286
|
-
- spec/dummy/app/controllers/application_controller.rb
|
287
|
-
- spec/dummy/app/helpers/application_helper.rb
|
288
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
289
|
-
- spec/dummy/config.ru
|
290
|
-
- spec/dummy/config/application.rb
|
291
|
-
- spec/dummy/config/boot.rb
|
292
|
-
- spec/dummy/config/database.yml
|
293
|
-
- spec/dummy/config/environment.rb
|
294
|
-
- spec/dummy/config/environments/development.rb
|
295
|
-
- spec/dummy/config/environments/production.rb
|
296
|
-
- spec/dummy/config/environments/test.rb
|
297
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
298
|
-
- spec/dummy/config/initializers/devise.rb
|
299
|
-
- spec/dummy/config/initializers/inflections.rb
|
300
|
-
- spec/dummy/config/initializers/mime_types.rb
|
301
|
-
- spec/dummy/config/initializers/secret_token.rb
|
302
|
-
- spec/dummy/config/initializers/session_store.rb
|
303
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
304
|
-
- spec/dummy/config/locales/en.yml
|
305
|
-
- spec/dummy/config/navigation.rb
|
306
|
-
- spec/dummy/config/relations.yml
|
307
|
-
- spec/dummy/config/routes.rb
|
308
|
-
- spec/dummy/db/.gitkeep
|
309
|
-
- spec/dummy/db/schema.rb
|
310
|
-
- spec/dummy/public/404.html
|
311
|
-
- spec/dummy/public/422.html
|
312
|
-
- spec/dummy/public/500.html
|
313
|
-
- spec/dummy/public/favicon.ico
|
314
|
-
- spec/dummy/public/javascripts/application.js
|
315
|
-
- spec/dummy/public/javascripts/controls.js
|
316
|
-
- spec/dummy/public/javascripts/dragdrop.js
|
317
|
-
- spec/dummy/public/javascripts/effects.js
|
318
|
-
- spec/dummy/public/javascripts/prototype.js
|
319
|
-
- spec/dummy/public/javascripts/rails.js
|
320
|
-
- spec/dummy/public/stylesheets/.gitkeep
|
321
|
-
- spec/dummy/script/rails
|
322
319
|
- spec/factories/document.rb
|
323
320
|
- spec/factories/files/privado.png
|
324
321
|
- spec/factories/files/rails.png
|
@@ -354,9 +351,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
354
351
|
version: '0'
|
355
352
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
356
353
|
requirements:
|
357
|
-
- - '
|
354
|
+
- - '>'
|
358
355
|
- !ruby/object:Gem::Version
|
359
|
-
version:
|
356
|
+
version: 1.3.1
|
360
357
|
requirements: []
|
361
358
|
rubyforge_project:
|
362
359
|
rubygems_version: 2.0.0
|
@@ -1,27 +0,0 @@
|
|
1
|
-
SocialStream.Repository = (function(SS, $, undefined){
|
2
|
-
var init = function(){
|
3
|
-
$("body").screw({
|
4
|
-
loadingHTML: '<img src="<%= asset_path('loading.gif') %>">'
|
5
|
-
});
|
6
|
-
}
|
7
|
-
|
8
|
-
var toggleDocumentMenu = function(name){
|
9
|
-
$(".document_menu").each(function(){
|
10
|
-
console.log($(this));
|
11
|
-
if($(this).css("display")!="none"){
|
12
|
-
$(this).slideToggle("slow");
|
13
|
-
$("#" + $(this).attr('id') + "_action").removeClass("selected");
|
14
|
-
}
|
15
|
-
});
|
16
|
-
if($("#document_" + name).css("display")=="none"){
|
17
|
-
$("#document_" + name).slideToggle("slow");
|
18
|
-
$("#document_" + name + "_action").addClass("selected");
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
return {
|
23
|
-
init: init,
|
24
|
-
toggleDocumentMenu: toggleDocumentMenu
|
25
|
-
}
|
26
|
-
|
27
|
-
})(SocialStream, jQuery)
|
@@ -1,302 +0,0 @@
|
|
1
|
-
@import "colors";
|
2
|
-
|
3
|
-
.attachment
|
4
|
-
{
|
5
|
-
padding-top: 10px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.attachment_content
|
9
|
-
{
|
10
|
-
position: relative;
|
11
|
-
width: 90%;
|
12
|
-
vertical-align: middle;
|
13
|
-
line-height: 20px;
|
14
|
-
height: auto;
|
15
|
-
float:left;
|
16
|
-
font-size:13px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.attachment_text
|
20
|
-
{
|
21
|
-
float: left;
|
22
|
-
font-size:11px;
|
23
|
-
margin-bottom: 3px;
|
24
|
-
text-align: left;
|
25
|
-
width: 310px;
|
26
|
-
}
|
27
|
-
|
28
|
-
.attachment_text .title
|
29
|
-
{
|
30
|
-
font-weight: bold;
|
31
|
-
margin: 10px 0 3px 0;
|
32
|
-
}
|
33
|
-
|
34
|
-
.attachment_text_link
|
35
|
-
{
|
36
|
-
color: #2A3890;
|
37
|
-
text-decoration: underline;
|
38
|
-
}
|
39
|
-
|
40
|
-
.attachment_text audio
|
41
|
-
{
|
42
|
-
position:relative;
|
43
|
-
}
|
44
|
-
|
45
|
-
.attachment_text video
|
46
|
-
{
|
47
|
-
position:relative;
|
48
|
-
height: 180px;
|
49
|
-
}
|
50
|
-
|
51
|
-
.attachment_thumb
|
52
|
-
{
|
53
|
-
position: relative;
|
54
|
-
/*width: 10%;*/
|
55
|
-
float: left;
|
56
|
-
/*height: 50px;*/
|
57
|
-
padding-right:5px;
|
58
|
-
vertical-align: middle;
|
59
|
-
}
|
60
|
-
|
61
|
-
#new_document{
|
62
|
-
margin-left: 10px;
|
63
|
-
clear: both;
|
64
|
-
padding-top: 5px;
|
65
|
-
text-align: left;
|
66
|
-
}
|
67
|
-
|
68
|
-
#new_document_title_wrapper {
|
69
|
-
margin-top: 5px;
|
70
|
-
}
|
71
|
-
|
72
|
-
#new_document_title_wrapper input[type="text"] {
|
73
|
-
display: inline;
|
74
|
-
width: 30%;
|
75
|
-
}
|
76
|
-
|
77
|
-
.attachment_tile{
|
78
|
-
margin: 5px;
|
79
|
-
width: 90px;
|
80
|
-
height: 70px;
|
81
|
-
border-bottom: 2px solid transparent;
|
82
|
-
float: left;
|
83
|
-
text-align: center;
|
84
|
-
overflow: hidden;
|
85
|
-
border: 1px solid transparent;
|
86
|
-
padding: 5px;
|
87
|
-
position: relative;
|
88
|
-
}
|
89
|
-
|
90
|
-
.attachment_tile_thumb img{
|
91
|
-
width: 48px;
|
92
|
-
height: 48px;
|
93
|
-
}
|
94
|
-
|
95
|
-
.attachment_tile_tipsy{
|
96
|
-
position: absolute;
|
97
|
-
top: 0px;
|
98
|
-
right: 9px;
|
99
|
-
}
|
100
|
-
|
101
|
-
.attachment_tile:hover{
|
102
|
-
border: 1px solid $main-color;
|
103
|
-
}
|
104
|
-
|
105
|
-
.attachment_tile.selected{
|
106
|
-
background-color: #e0edf2;
|
107
|
-
border-bottom: 2px solid green;
|
108
|
-
}
|
109
|
-
|
110
|
-
.attachment_section_header{
|
111
|
-
margin-top: 15px;
|
112
|
-
margin-bottom: 5px;
|
113
|
-
padding-left: 10px;
|
114
|
-
position: relative;
|
115
|
-
width:90%;
|
116
|
-
border-left: 3px solid #2A3890;
|
117
|
-
background-color: #e0edf2;
|
118
|
-
}
|
119
|
-
|
120
|
-
.attachment_tile_tipsy_menu.tipsy {
|
121
|
-
padding-top: 0px;
|
122
|
-
display: none;
|
123
|
-
}
|
124
|
-
.attachment_tile_tipsy_menu.tipsy .tipsy-arrow {
|
125
|
-
display: none;
|
126
|
-
}
|
127
|
-
.attachment_tile_tipsy_menu.tipsy .tipsy-inner {
|
128
|
-
background-color: $text-over-main;
|
129
|
-
border-radius: 0px;
|
130
|
-
-moz-border-radius: 0px;
|
131
|
-
-webkit-border-radius: 0px;
|
132
|
-
padding:0px;
|
133
|
-
}
|
134
|
-
.attachment_tile_tipsy_menu.tipsy .actions {
|
135
|
-
border-bottom: 1px solid $main-color;
|
136
|
-
text-align: left;
|
137
|
-
}
|
138
|
-
.attachment_tile_tipsy_menu.tipsy .actions .action {
|
139
|
-
border: 1px solid $main-color;
|
140
|
-
border-bottom: 0px;
|
141
|
-
padding:5px;
|
142
|
-
width: 80px;
|
143
|
-
}
|
144
|
-
.attachment_tile_tipsy_menu.tipsy .actions .action:hover {
|
145
|
-
background-color: $secondary-color;
|
146
|
-
}
|
147
|
-
.attachment_tile_tipsy_menu.tipsy .actions a:hover {
|
148
|
-
text-decoration: none;
|
149
|
-
}
|
150
|
-
.attachment_tile_tipsy_menu.tipsy .actions .action img {
|
151
|
-
vertical-align: middle;
|
152
|
-
padding-bottom: 3px;
|
153
|
-
padding-right: 3px;
|
154
|
-
padding-left: 3px;
|
155
|
-
display: inline-block;
|
156
|
-
}
|
157
|
-
#repository_filter {
|
158
|
-
margin-left: 10px;
|
159
|
-
}
|
160
|
-
|
161
|
-
#repository_filter #order_by{
|
162
|
-
margin: 5px 5px 5px 15px;
|
163
|
-
}
|
164
|
-
|
165
|
-
#repository_filter input {
|
166
|
-
padding: 0 3px 0 22px;
|
167
|
-
background: url('btn/search_icon.png') 5px 50% no-repeat white;
|
168
|
-
font-size: 11px;
|
169
|
-
color: $main-color;
|
170
|
-
border: solid 1px $input-border-color;
|
171
|
-
height: 25px;
|
172
|
-
width: 200px;
|
173
|
-
}
|
174
|
-
|
175
|
-
.player{
|
176
|
-
position: fixed;
|
177
|
-
border-left: 24px solid #2A3890;
|
178
|
-
border-right: 24px solid #2A3890;
|
179
|
-
background-color: #e0edf2;
|
180
|
-
bottom: 0px;
|
181
|
-
right: 0px;
|
182
|
-
max-height: 300px;
|
183
|
-
}
|
184
|
-
|
185
|
-
#downloadButton{
|
186
|
-
position: fixed;
|
187
|
-
bottom: 5px;
|
188
|
-
right: 0px;
|
189
|
-
width: 24px;
|
190
|
-
}
|
191
|
-
|
192
|
-
.media_preview{
|
193
|
-
float:left;
|
194
|
-
margin: 10px;
|
195
|
-
width: 140px;
|
196
|
-
height: 110px;
|
197
|
-
text-align:center;
|
198
|
-
}
|
199
|
-
|
200
|
-
.media_preview_image{
|
201
|
-
position: relative;
|
202
|
-
top: 0px;
|
203
|
-
width:130px;
|
204
|
-
height: 80px;
|
205
|
-
}
|
206
|
-
|
207
|
-
.media_preview_title{
|
208
|
-
position:relative;
|
209
|
-
width: 100%;
|
210
|
-
overflow:hidden;
|
211
|
-
font-size: 12px;
|
212
|
-
color: #2A3890;
|
213
|
-
}
|
214
|
-
|
215
|
-
.media_preview_detail{
|
216
|
-
position: relative;
|
217
|
-
width: 100%;
|
218
|
-
overflow:hidden;
|
219
|
-
font-size: 11px;
|
220
|
-
color: #2A3890;
|
221
|
-
}
|
222
|
-
|
223
|
-
.size_19px {
|
224
|
-
width: 19px;
|
225
|
-
}
|
226
|
-
|
227
|
-
|
228
|
-
#jpId {
|
229
|
-
|
230
|
-
}
|
231
|
-
|
232
|
-
.jp-audio, .jp-video {
|
233
|
-
margin: 5px 0 5px 0;
|
234
|
-
}
|
235
|
-
|
236
|
-
.hidenJplayer {
|
237
|
-
height: 0px;
|
238
|
-
width: 0px;
|
239
|
-
}
|
240
|
-
|
241
|
-
.video_thumbnail_show {
|
242
|
-
width: 130px;
|
243
|
-
height: 97px;
|
244
|
-
padding: 10px;
|
245
|
-
float: left;
|
246
|
-
}
|
247
|
-
|
248
|
-
.video_thumbnail_image{
|
249
|
-
position: relative;
|
250
|
-
top:0px;
|
251
|
-
width: 130px;
|
252
|
-
z-index:1;
|
253
|
-
height: 97px;
|
254
|
-
overflow: hidden;
|
255
|
-
}
|
256
|
-
|
257
|
-
.video_thumbnail_play_over {
|
258
|
-
background: transparent url("jplayer.blue.monday.video.play.png") no-repeat center;
|
259
|
-
position: relative;
|
260
|
-
cursor:pointer;
|
261
|
-
z-index:2;
|
262
|
-
top:-97px;
|
263
|
-
width:130px;
|
264
|
-
height:97px;
|
265
|
-
}
|
266
|
-
|
267
|
-
.video_thumbnail_play_over:hover {
|
268
|
-
background: transparent url("jplayer.blue.monday.video.play.hover.png") no-repeat center;
|
269
|
-
}
|
270
|
-
|
271
|
-
/* needed to hide the flash element when used */
|
272
|
-
.jpId_size0{
|
273
|
-
width: 0px;
|
274
|
-
height: 0px;
|
275
|
-
}
|
276
|
-
|
277
|
-
|
278
|
-
.processing_text{
|
279
|
-
padding: 10px 0px 10px 50px;
|
280
|
-
}
|
281
|
-
|
282
|
-
.screw{
|
283
|
-
width: 100%;
|
284
|
-
text-align: center;
|
285
|
-
}
|
286
|
-
|
287
|
-
/* Uploaded images, audio and vids */
|
288
|
-
.picture_thumbnail_show {
|
289
|
-
padding: 10px;
|
290
|
-
}
|
291
|
-
|
292
|
-
.picture_thumbnail_show, .picture_thumbnail_show img {
|
293
|
-
position: relative;
|
294
|
-
float: left;
|
295
|
-
max-height: 100px;
|
296
|
-
width: 130px;
|
297
|
-
}
|
298
|
-
|
299
|
-
.attachment_thumb {
|
300
|
-
position: relative;
|
301
|
-
float: left;
|
302
|
-
}
|
@@ -1,111 +0,0 @@
|
|
1
|
-
@import "colors";
|
2
|
-
|
3
|
-
.picture.content_size .picture_show img{
|
4
|
-
max-width: 500px;
|
5
|
-
max-height: 500px;
|
6
|
-
margin-left: 30px;
|
7
|
-
border: 2px solid black;
|
8
|
-
-moz-border-radius: 5px;
|
9
|
-
-webkit-border-radius: 5px;
|
10
|
-
border-radius: 5px;
|
11
|
-
}
|
12
|
-
|
13
|
-
.video_show div.jp-video-270p{
|
14
|
-
padding-left: 40px;
|
15
|
-
}
|
16
|
-
.audio_show div.jp-audio{
|
17
|
-
padding-left: 40px;
|
18
|
-
}
|
19
|
-
.document_show{
|
20
|
-
padding-left: 40px;
|
21
|
-
}
|
22
|
-
|
23
|
-
#document_info .details{
|
24
|
-
color: $details-color;
|
25
|
-
}
|
26
|
-
#document_info #dates, #document_info #date_labels{
|
27
|
-
display: inline-block;
|
28
|
-
}
|
29
|
-
|
30
|
-
#document_info {
|
31
|
-
margin-top: 10px;
|
32
|
-
}
|
33
|
-
#document_info .right, #document_info .left{
|
34
|
-
}
|
35
|
-
#document_info .right{
|
36
|
-
float: right;
|
37
|
-
margin-right: 30px;
|
38
|
-
text-align: right;
|
39
|
-
}
|
40
|
-
#document_info .left{
|
41
|
-
float: left;
|
42
|
-
margin-left: 30px;
|
43
|
-
}
|
44
|
-
#document_info #description{
|
45
|
-
margin: 15px 40px;
|
46
|
-
text-align: justify;
|
47
|
-
}
|
48
|
-
#document_info #actions{
|
49
|
-
margin-top: 10px;
|
50
|
-
margin-left: 30px;
|
51
|
-
}
|
52
|
-
#document_info #actions .action{
|
53
|
-
margin-right: 10px;
|
54
|
-
padding: 5px;
|
55
|
-
}
|
56
|
-
#document_info #actions .action.selected{
|
57
|
-
border: thin solid $separation-color;
|
58
|
-
background: $secondary-color;
|
59
|
-
}
|
60
|
-
#document_info #actions .action img{
|
61
|
-
width: 16px;
|
62
|
-
height: 16px;
|
63
|
-
}
|
64
|
-
#document_details {
|
65
|
-
padding: 10px 0px;
|
66
|
-
}
|
67
|
-
#document_edit, #document_details {
|
68
|
-
margin: 5px 5px 0px 5px;
|
69
|
-
border: thin solid $separation-color;
|
70
|
-
background: $secondary-color;
|
71
|
-
|
72
|
-
}
|
73
|
-
#document_edit textarea{
|
74
|
-
resize: none;
|
75
|
-
height: 75px;
|
76
|
-
}
|
77
|
-
#document_edit .form_row {
|
78
|
-
padding: 5px 10px;
|
79
|
-
}
|
80
|
-
#document_edit .form_label {
|
81
|
-
width: 100px;
|
82
|
-
}
|
83
|
-
#document_edit .form_field {
|
84
|
-
width: 415px;
|
85
|
-
padding: 0;
|
86
|
-
}
|
87
|
-
#document_edit .form_tag {
|
88
|
-
width: 100%;
|
89
|
-
}
|
90
|
-
|
91
|
-
#document_comments {
|
92
|
-
margin-top: 20px;
|
93
|
-
padding-top: 10px;
|
94
|
-
border-top: thin solid $separation-color;
|
95
|
-
}
|
96
|
-
|
97
|
-
#document_comments .new_comment.new_comment_shown {
|
98
|
-
width: 500px;
|
99
|
-
}
|
100
|
-
|
101
|
-
#document_comments .new_comment {
|
102
|
-
width: 550px;
|
103
|
-
}
|
104
|
-
|
105
|
-
#document_comments .activity, #document_comments .subactivity {
|
106
|
-
background: transparent;
|
107
|
-
border: none;
|
108
|
-
}
|
109
|
-
#document_comments .activity_new_comment {
|
110
|
-
display:block;
|
111
|
-
}
|