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.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/icons/attach.png +0 -0
  3. data/app/assets/javascripts/{social_stream.audio.js.erb → social_stream/audio.js.erb} +7 -3
  4. data/app/assets/javascripts/social_stream/document.js +27 -0
  5. data/app/assets/javascripts/social_stream/documents.timeline.js +11 -0
  6. data/app/assets/javascripts/social_stream/documents.wall.js +48 -0
  7. data/app/assets/javascripts/{social_stream.video.js.erb → social_stream/video.js.erb} +11 -8
  8. data/app/assets/javascripts/social_stream-documents.js +1 -1
  9. data/{spec/dummy/config/navigation.rb → app/assets/stylesheets/social_stream/documents/_toolbar.css.sass} +0 -0
  10. data/app/assets/stylesheets/social_stream/documents/aside/_documents.css.sass +4 -0
  11. data/app/assets/stylesheets/social_stream/documents/aside/layout/_documents.css.sass +30 -0
  12. data/{spec/dummy/db/.gitkeep → app/assets/stylesheets/social_stream/documents/create/_new.css.sass} +0 -0
  13. data/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +32 -0
  14. data/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +4 -0
  15. data/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +52 -0
  16. data/app/assets/stylesheets/social_stream/documents/explore/_explore-documents.css.sass +12 -0
  17. data/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +20 -0
  18. data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass +21 -0
  19. data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-767px-max.css.sass +58 -0
  20. data/app/assets/stylesheets/social_stream/documents/responsive/_responsive-768px-979px.css.sass +54 -0
  21. data/app/assets/stylesheets/social_stream/documents/search/_header.css.sass +25 -0
  22. data/app/assets/stylesheets/social_stream/documents/search/layout/_header.css.sass +33 -0
  23. data/app/assets/stylesheets/social_stream/documents/show/_show.css.sass +72 -0
  24. data/app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass +112 -0
  25. data/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +21 -0
  26. data/app/assets/stylesheets/social_stream/documents/timeline/_wallinput.css.sass +10 -0
  27. data/app/assets/stylesheets/social_stream/documents/timeline/layout/_audios.css.sass +67 -0
  28. data/app/assets/stylesheets/social_stream/documents/timeline/layout/_wallinput.css.sass +10 -0
  29. data/app/assets/stylesheets/social_stream-documents.css.sass +49 -0
  30. data/app/controllers/documents_controller.rb +16 -5
  31. data/app/decorators/social_stream/base/activity_object_decorator.rb +1 -0
  32. data/app/helpers/documents_helper.rb +35 -18
  33. data/app/models/audio.rb +1 -6
  34. data/app/models/document.rb +23 -28
  35. data/app/models/picture.rb +0 -19
  36. data/app/models/video.rb +0 -5
  37. data/app/views/audios/_audio.html.erb +2 -11
  38. data/app/views/audios/_audio_processed.html.erb +28 -23
  39. data/app/views/audios/_audio_processing.html.erb +5 -5
  40. data/app/views/audios/_quick_search_result.html.erb +3 -0
  41. data/app/views/audios/_search_result.html.erb +1 -0
  42. data/app/views/audios/_timeline.html.erb +11 -0
  43. data/app/views/audios/index.html.erb +3 -1
  44. data/app/views/common_documents/_document.html.erb +18 -0
  45. data/app/views/common_documents/_filter.html.erb +1 -0
  46. data/app/views/common_documents/_form.html.erb +44 -0
  47. data/app/views/common_documents/_index.html.erb +27 -63
  48. data/app/views/common_documents/_info.html.erb +50 -0
  49. data/app/views/common_documents/_list.html.erb +2 -0
  50. data/app/views/common_documents/_new.modal.html.erb +13 -0
  51. data/app/views/common_documents/_new_button.html.erb +11 -0
  52. data/app/views/common_documents/_quick_search_result.html.erb +19 -0
  53. data/app/views/common_documents/_show.html.erb +76 -27
  54. data/app/views/documents/_document.html.erb +2 -26
  55. data/app/views/documents/_document_show.html.erb +2 -4
  56. data/app/views/documents/_new_activity.html.erb +3 -1
  57. data/app/views/documents/_quick_search_result.html.erb +3 -0
  58. data/app/views/documents/_search_result.html.erb +1 -0
  59. data/app/views/documents/_timeline.html.erb +15 -0
  60. data/app/views/documents/index.html.erb +7 -1
  61. data/app/views/documents/new.html.erb +9 -0
  62. data/app/views/documents/search.html.erb +1 -1
  63. data/app/views/pictures/_picture.html.erb +2 -41
  64. data/app/views/pictures/_picture_show.html.erb +1 -16
  65. data/app/views/pictures/_quick_search_result.html.erb +3 -0
  66. data/app/views/pictures/_search_result.html.erb +1 -0
  67. data/app/views/pictures/_timeline.html.erb +17 -0
  68. data/app/views/pictures/index.html.erb +3 -1
  69. data/app/views/videos/_quick_search_result.html.erb +3 -0
  70. data/app/views/videos/_search_result.html.erb +1 -0
  71. data/app/views/videos/_timeline.html.erb +9 -0
  72. data/app/views/videos/_video.html.erb +2 -11
  73. data/app/views/videos/_video_processed.html.erb +11 -15
  74. data/app/views/videos/_video_processing.html.erb +6 -5
  75. data/app/views/videos/_video_show.html.erb +1 -1
  76. data/app/views/videos/index.html.erb +3 -1
  77. data/config/locales/en.yml +25 -12
  78. data/config/locales/es.yml +23 -12
  79. data/lib/generators/social_stream/documents/install_generator.rb +2 -3
  80. data/lib/generators/social_stream/documents/templates/initializer.rb +37 -9
  81. data/lib/social_stream/documents/dependencies.rb +1 -0
  82. data/lib/social_stream/documents/engine.rb +5 -14
  83. data/lib/social_stream/documents/models/activity_object.rb +18 -0
  84. data/lib/social_stream/documents/version.rb +1 -1
  85. data/lib/social_stream-documents.rb +56 -13
  86. data/lib/tasks/db/populate.rake +21 -0
  87. data/social_stream-documents.gemspec +4 -1
  88. data/spec/controllers/documents_controller_spec.rb +15 -9
  89. data/spec/controllers/pictures_controller_spec.rb +8 -8
  90. data/spec/socialstream_documents_spec.rb +6 -0
  91. data/vendor/assets/stylesheets/jplayer.blue.monday.css +2 -1
  92. metadata +71 -74
  93. data/app/assets/javascripts/social_stream.repository.js.erb +0 -27
  94. data/app/assets/stylesheets/documents.css.scss +0 -302
  95. data/app/assets/stylesheets/show.css.scss +0 -111
  96. data/app/assets/stylesheets/social_stream-documents.css +0 -6
  97. data/app/views/audios/_audio_focus_search.html.erb +0 -3
  98. data/app/views/audios/_audio_global_search.html.erb +0 -3
  99. data/app/views/audios/_audio_with_details.html.erb +0 -3
  100. data/app/views/common_documents/_document_info.html.erb +0 -48
  101. data/app/views/common_documents/_edit_form.html.erb +0 -57
  102. data/app/views/common_documents/_headers.html.erb +0 -77
  103. data/app/views/documents/_document_focus_search.html.erb +0 -2
  104. data/app/views/documents/_document_global_search.html.erb +0 -2
  105. data/app/views/documents/_document_with_details.html.erb +0 -13
  106. data/app/views/documents/_new_activity_fields.html.erb +0 -15
  107. data/app/views/pictures/_picture_focus_search.html.erb +0 -2
  108. data/app/views/pictures/_picture_global_search.html.erb +0 -2
  109. data/app/views/pictures/_picture_with_details.html.erb +0 -2
  110. data/app/views/videos/_video_focus_search.html.erb +0 -2
  111. data/app/views/videos/_video_global_search.html.erb +0 -2
  112. data/app/views/videos/_video_with_details.html.erb +0 -2
  113. data/config/locales/de.yml +0 -78
  114. data/config/locales/fr.yml +0 -78
  115. data/config/locales/hu.yml +0 -77
  116. data/config/locales/nl.yml +0 -78
  117. data/lib/social_stream/views/toolbar/documents.rb +0 -28
  118. data/lib/tasks/db/populate_documents.rake +0 -19
  119. data/spec/dummy/.gitignore +0 -1
  120. data/spec/dummy/Rakefile +0 -7
  121. data/spec/dummy/app/assets/javascripts/application.js +0 -9
  122. data/spec/dummy/app/assets/stylesheets/application.css +0 -7
  123. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  124. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  125. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  126. data/spec/dummy/config/application.rb +0 -45
  127. data/spec/dummy/config/boot.rb +0 -10
  128. data/spec/dummy/config/database.yml +0 -25
  129. data/spec/dummy/config/environment.rb +0 -5
  130. data/spec/dummy/config/environments/development.rb +0 -30
  131. data/spec/dummy/config/environments/production.rb +0 -60
  132. data/spec/dummy/config/environments/test.rb +0 -39
  133. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  134. data/spec/dummy/config/initializers/devise.rb +0 -176
  135. data/spec/dummy/config/initializers/inflections.rb +0 -10
  136. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  137. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  138. data/spec/dummy/config/initializers/session_store.rb +0 -8
  139. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  140. data/spec/dummy/config/locales/en.yml +0 -5
  141. data/spec/dummy/config/relations.yml +0 -39
  142. data/spec/dummy/config/routes.rb +0 -60
  143. data/spec/dummy/config.ru +0 -4
  144. data/spec/dummy/db/schema.rb +0 -6
  145. data/spec/dummy/public/404.html +0 -26
  146. data/spec/dummy/public/422.html +0 -26
  147. data/spec/dummy/public/500.html +0 -26
  148. data/spec/dummy/public/favicon.ico +0 -0
  149. data/spec/dummy/public/javascripts/application.js +0 -2
  150. data/spec/dummy/public/javascripts/controls.js +0 -965
  151. data/spec/dummy/public/javascripts/dragdrop.js +0 -974
  152. data/spec/dummy/public/javascripts/effects.js +0 -1123
  153. data/spec/dummy/public/javascripts/prototype.js +0 -6001
  154. data/spec/dummy/public/javascripts/rails.js +0 -191
  155. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  156. data/spec/dummy/script/rails +0 -6
@@ -1,3 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => audio} %>
3
-
@@ -1,48 +0,0 @@
1
- <div id="document_info">
2
- <% if document.description %>
3
- <div id="description">
4
- <%= document.description %>
5
- </div>
6
- <% end %>
7
- <div id="actions">
8
- <%= link_to content_tag(:span,image_tag("btn/btn_write.png") + t('document.actions.details'), :class => :action, :id => :document_details_action), "javascript:SocialStream.Repository.toggleDocumentMenu('details');" %>
9
- <%= link_to content_tag(:span,image_tag("btn/download.png") + t('document.actions.download'), :class => :action), download_document_path(document) %>
10
- <% if can? :update, document %>
11
- <%= link_to content_tag(:span,image_tag("btn/edit.png") + t('document.actions.edit'), :class => :action, :id => :document_edit_action), "javascript:SocialStream.Repository.toggleDocumentMenu('edit');" %>
12
- <% end %>
13
- <% if can? :destroy, document %>
14
- <%= link_to content_tag(:span,image_tag("btn/error.png") + t('document.actions.delete'), :class => :action), document.post_activity.direct_object , :confirm => t('confirm_delete',
15
- :scope => document.post_activity.direct_object.class.to_s.underscore), :method => :delete %>
16
- <% end %>
17
- </div>
18
- <div id="document_details" class="document_menu" style="display:none;">
19
- <div class="left">
20
- <div id="date_labels">
21
- <div class="details">
22
- <%= t('document.info.date.created_at') %>
23
- </div>
24
- <div class="details">
25
- <%= t('document.info.date.updated_at') %>
26
- </div>
27
- </div>
28
- <div id="dates">
29
- <div class="date">
30
- <%= I18n.localize document.created_at, :format => :long %>
31
- </div>
32
- <div class="date">
33
- <%= I18n.localize document.updated_at, :format => :long %>
34
- </div>
35
- </div>
36
- </div>
37
- <div class="right">
38
- <div id="like_count">
39
- <%= document.like_count %> <span class="details">likes</span>
40
- </div>
41
- <div id="file_size">
42
- <span class="details">Size </span> <%= number_to_human_size document.file_file_size %>
43
- </div>
44
- </div>
45
- <br class="clearfloat" />
46
- </div>
47
- </div>
48
- <%= render :partial => "common_documents/edit_form", :locals => {:document => document} %>
@@ -1,57 +0,0 @@
1
- <div class="block document_menu" id="document_edit" style="display:none;">
2
- <%= form_for(document, :html => { :method => :put }) do |f| %>
3
- <% if document and document.errors.any? %>
4
- <%= javascript_tag do %>
5
- $(document).ready(function(){
6
- toggleDocumentEdit();
7
- });
8
- <% end %>
9
- <div class="error">
10
- <ul>
11
- <% document.errors.full_messages.each do |msg| %>
12
- <li>
13
- <%= msg %>
14
- </li>
15
- <% end %>
16
- </ul>
17
- </div>
18
- <% end %>
19
- <div class="form_row">
20
- <div class="form_label">
21
- <%= f.label t('document.info.title.title') %>
22
- </div>
23
- <div class="form_field">
24
- <%= f.text_field :title, :class => "form_tag" %>
25
- </div>
26
- </div>
27
- <div class="form_row">
28
- <div class="form_label">
29
- <%= f.label t('document.info.description.title') %>
30
- </div>
31
- <div class="form_field">
32
- <%= f.text_area :description, :class => "form_tag" %>
33
- </div>
34
- </div>
35
- <!--
36
- <div class="form_row">
37
- <div class="form_label">
38
- <%#= f.label t('document.info.file.title') %>
39
- </div>
40
- <div class="form_field">
41
- <%#= f.file_field :file, :class => "form_tag" %>
42
- </div>
43
- </div>
44
- -->
45
- <div class="actions center">
46
- <%= f.submit t('document.actions.edit'), :class => "button" %>
47
- </div>
48
- <% end %>
49
- </div>
50
-
51
- <% if params[:editing] && can?(:update, document) %>
52
- <%= javascript_tag do %>
53
- $(document).ready(function(){
54
- SocialStream.Repository.toggleDocumentMenu('edit');
55
- });
56
- <% end %>
57
- <% end %>
@@ -1,77 +0,0 @@
1
- <% content_for :title do %>
2
- <%= "#{ profile_subject && profile_subject.name + ': ' }#{ t('repository.title') }" %>
3
- <% end %>
4
-
5
- <% sidebar %>
6
-
7
- <% if profile_subject %>
8
- <%= location(
9
- link_to(profile_subject.name, polymorphic_path(profile_subject),:remote => true),
10
- link_to(t('repository.title'), polymorphic_path([profile_subject, controller.controller_name]),:remote => true)
11
- ) %>
12
- <% else %>
13
- <%= location(
14
- link_to(t('repository.title'), polymorphic_path(controller.controller_name),:remote => true)
15
- ) %>
16
- <% end %>
17
-
18
- <% if profile_subject %>
19
- <% toolbar :profile, :subject => profile_subject %>
20
- <% elsif user_signed_in? %>
21
- <% toolbar %>
22
- <% end %>
23
-
24
- <br class="clearfloat" />
25
- <div class="space_center"></div>
26
- <div id="repository_filter">
27
- <%= text_field_tag :q, nil,:autocomplete => :off, :id => :repository_filter_input %>
28
- <div id="order_by"><%= t('repository.order.by') %>: <%= t('repository.order.last_modified') %> · <%= t('repository.order.most_popular') %> </div>
29
- </div>
30
- <div class="space_center"></div>
31
-
32
- <%= javascript_tag do %>
33
- $(document).ready(function() {
34
- var last_search = "";
35
-
36
-
37
- $("#repository_filter_input").watermark("<%= escape_javascript(I18n.t('search.name')) %>");
38
-
39
- $("#repository_filter_input").keyup(function() {
40
- var searchstring = $(this).val();
41
- if((searchstring=="")){
42
- if (last_search!=searchstring){last_search=searchstring;}
43
- $("#documents_grid").html("<center><%= escape_javascript(image_tag('loading.gif', :class => :loading)) %></center>");
44
- $.ajax({
45
- type : "GET",
46
- url : "<%= polymorphic_path([ profile_subject, Document.new ], :action => :search) %>",
47
- success : function(html) {
48
- if ($("#repository_filter_input").val()==searchstring){ //Only show if input value is still the same
49
- $("#documents_grid").html(html);
50
- }
51
- },
52
- error: function(){
53
- $("#header_search_display").html("<center><%= escape_javascript(content_tag(:span,I18n.t('search.wrong'), :class => :warning)) %></center>");
54
- }
55
- });
56
- } else {
57
- if (last_search!=searchstring){
58
- last_search=searchstring;
59
- $("#documents_grid").html("<center><%= escape_javascript(image_tag('loading.gif', :class => :loading)) %></center>");
60
- $.ajax({
61
- type : "GET",
62
- url : "<%= polymorphic_path([ profile_subject, Document.new ], :action => :search) %>?q=" + searchstring,
63
- success : function(html) {
64
- if ($("#repository_filter_input").val()==searchstring){ //Only show if input value is still the same
65
- $("#documents_grid").html(html);
66
- }
67
- },
68
- error: function(){
69
- $("#header_search_display").html("<center><%= escape_javascript(content_tag(:span,I18n.t('search.wrong'), :class => :warning)) %></center>");
70
- }
71
- });
72
- }
73
- }
74
- return false;
75
- });
76
- })
77
- <% end %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => document} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => document} %>
@@ -1,13 +0,0 @@
1
- <div class="model_with_details">
2
- <div class="logo">
3
- <%= link_to thumb_for(document, 48), document %>
4
- </div>
5
- <div class="sub-block">
6
- <div class="name black" >
7
- <%= link_to truncate_name(document.file_file_name), document %>
8
- </div>
9
- <div class="brief">
10
- <%= t 'like.n', :count => document.like_count %>
11
- </div>
12
- </div>
13
- </div>
@@ -1,15 +0,0 @@
1
- <%= f.file_field :file %>
2
-
3
- <div id="new_document_title_wrapper">
4
- <%= f.label :title %> <%= f.text_field :title %>
5
- </div>
6
-
7
- <%= javascript_tag do %>
8
- $(function() {
9
- $('#new_document_title_wrapper').hide();
10
- $('#document_file').change(function(){
11
- $('#new_document_title_wrapper').show();
12
- $("#document_title").val($(this).val().replace(/C:\\fakepath\\/i, ''));
13
- });
14
- });
15
- <% end %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => picture} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => picture} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => picture} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => video} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => video} %>
@@ -1,2 +0,0 @@
1
- <%= render :partial => 'documents/document_with_details',
2
- :locals => {:document => video} %>
@@ -1,78 +0,0 @@
1
- de:
2
- activerecord:
3
- attributes:
4
- document:
5
- title: "Titel"
6
- audio:
7
- confirm_delete: "Audio löschen?"
8
- title: "Audios"
9
- mine: "Meine Audios"
10
- name: "Audio"
11
- not_mine: "Audios"
12
- one: "Ein Audio"
13
- processing: "Audio clip wird verarbeitet. Bitte warten..."
14
- title:
15
- one: "Audio"
16
- other: "Audios"
17
- details:
18
- msg: "Siehe Details..."
19
- document:
20
- actions:
21
- delete: "Löschen"
22
- details: "Details"
23
- download: "Download"
24
- edit: "Bearbeiten"
25
- all: "Alle Files"
26
- confirm_delete: "File löschen?"
27
- form:
28
- title: "File"
29
- info:
30
- date:
31
- created_at: "Erstellt am"
32
- updated_at: "Aktualisiert am"
33
- description:
34
- title: "Beschreibung"
35
- file:
36
- title: "Upload"
37
- title:
38
- title: "Titel"
39
- mine: "Meine Files"
40
- name: "File"
41
- not_mine: "Files"
42
- one: "Ein File"
43
- simple_all: "Alle"
44
- title:
45
- one: "File"
46
- other: "Files"
47
- picture:
48
- confirm_delete: "Bild löschen?"
49
- mine: "Meine Bilder"
50
- name: "Bild"
51
- not_mine: "Bilder"
52
- one: "Ein Bild"
53
- title:
54
- one: "Bild"
55
- other: "Bilder"
56
- repository:
57
- title: "Files"
58
- order:
59
- by: "Sortiert nach"
60
- last_modified: "Zuletzt geändert"
61
- most_popular: "Am beliebtesten"
62
- resource:
63
- all: "Alle Ressourcen"
64
- confirm_delete: "Ressource löschen?"
65
- title: "Ressourcen"
66
- mine: "Meine Ressourcen"
67
- not_mine: "Ressourcen"
68
- video:
69
- confirm_delete: "Video löschen?"
70
- mine: "Meine Videos"
71
- name: "Video"
72
- not_mine: "Videos"
73
- one: "Ein Video"
74
- processing: "Video wird verarbeitet. Bitte warten..."
75
- title:
76
- one: "Video"
77
- other: "Videos"
78
-
@@ -1,78 +0,0 @@
1
- fr:
2
- activerecord:
3
- attributes:
4
- document:
5
- title: "Titre"
6
- audio:
7
- confirm_delete: "Supprimer les clips audio ?"
8
- title: "Clips audio"
9
- mine: "Mes clips audio"
10
- name: "clip audio"
11
- not_mine: "Clips audio"
12
- one: "un clip audio"
13
- processing: "Traitement du clip audio en cours. Veuillez patienter..."
14
- title:
15
- one: "Clip audio"
16
- other: "Clips audio"
17
- details:
18
- msg: "Plus d'infos..."
19
- document:
20
- actions:
21
- delete: "Supprimer"
22
- details: "Détails"
23
- download: "Télécharger"
24
- edit: "Éditer"
25
- all: "Tous les fichiers"
26
- confirm_delete: "Supprimer le fichier ?"
27
- form:
28
- title: "Fichier"
29
- info:
30
- date:
31
- created_at: "Publication créée à"
32
- updated_at: "Publication mise à jour à"
33
- description:
34
- title: "Description"
35
- file:
36
- title: "Publier"
37
- title:
38
- title: "Titre"
39
- mine: "Mes fichiers"
40
- name: "fichier"
41
- not_mine: "Fichiers"
42
- one: "un fichier"
43
- simple_all: "Tous"
44
- title:
45
- one: "Fichier"
46
- other: "Fichiers"
47
- picture:
48
- confirm_delete: "Supprimer la photo ?"
49
- mine: "Mes photos"
50
- name: "photo"
51
- not_mine: "Photos"
52
- one: "une photo"
53
- title:
54
- one: "Photo"
55
- other: "Photos"
56
- repository:
57
- title: "Fichiers"
58
- order:
59
- by: "Classer par"
60
- last_modified: "Date de dernière modification"
61
- most_popular: "Popularité"
62
- resource:
63
- all: "Toutes les ressources"
64
- confirm_delete: "Supprimer la ressource ?"
65
- title: "Ressources"
66
- mine: "Mes ressources"
67
- not_mine: "Ressources"
68
- video:
69
- confirm_delete: "Supprimer la vidéo ?"
70
- mine: "Mes vidéos"
71
- name: "vidéo"
72
- not_mine: "Vidéos"
73
- one: "une vidéo"
74
- processing: "Traitement de la vidéo en cours. Veuillez patienter..."
75
- title:
76
- one: "Vidéo"
77
- other: "Vidéos"
78
-
@@ -1,77 +0,0 @@
1
- hu:
2
- activerecord:
3
- attributes:
4
- document:
5
- title: "Cím"
6
- audio:
7
- confirm_delete: "Kikapcsolod a hangot?"
8
- title: "Hangok"
9
- mine: "Saját hangok"
10
- name: "hang"
11
- not_mine: "Hangok"
12
- one: "egy hang"
13
- processing: "Audió klip feldolgozása. Kérlek, várj…"
14
- title:
15
- one: "Hang"
16
- other: "Hangok"
17
- details:
18
- msg: "Részletek..."
19
- document:
20
- actions:
21
- delete: "Törlés"
22
- details: "Részletek"
23
- download: "Letöltés"
24
- edit: "Szekesztés"
25
- all: "Minden fájl"
26
- confirm_delete: "Törlöd a fájlt?"
27
- form:
28
- title: "Fájl"
29
- info:
30
- date:
31
- created_at: "Létrehozva"
32
- updated_at: "Frissítve"
33
- description:
34
- title: "Leírás"
35
- file:
36
- title: "Feltöltés"
37
- title:
38
- title: "Cím"
39
- mine: "Saját fájljaim"
40
- name: "fájl"
41
- not_mine: "Fájlok"
42
- one: "egy fájl"
43
- simple_all: "Összes"
44
- title:
45
- one: "Fájl"
46
- other: "Fájlok"
47
- picture:
48
- confirm_delete: "Törlöd a képet?"
49
- mine: "Saját képeim"
50
- name: "kép"
51
- not_mine: "Képek"
52
- one: "egy kép"
53
- title:
54
- one: "Kép"
55
- other: "Képek"
56
- repository:
57
- title: "Fájlok"
58
- order:
59
- by: "Rendezve"
60
- last_modified: "Utoljára módosítva"
61
- most_popular: "Legnépszerűbb"
62
- resource:
63
- all: "Összes erőforrás"
64
- confirm_delete: "Törlöd az erőforrást?"
65
- title: "Erőforrások"
66
- mine: "Saját erőforrásaim"
67
- not_mine: "Erőforrások"
68
- video:
69
- confirm_delete: "Törlöd a videót?"
70
- mine: "Saját vieóim"
71
- name: "videó"
72
- not_mine: "Videók"
73
- one: "egy videó"
74
- processing: "A videó feldolgozás alatt van. Kérjük, várj..."
75
- title:
76
- one: "Videó"
77
- other: "Videók"
@@ -1,78 +0,0 @@
1
- nl:
2
- activerecord:
3
- attributes:
4
- document:
5
- title: "Titel"
6
- audio:
7
- confirm_delete: "Audio verwijderen?"
8
- title: "Audio’s"
9
- mine: "Mijn audio’s"
10
- name: "audio"
11
- not_mine: "Audio’s"
12
- one: "een audio"
13
- processing: "Bezig met bewerken audioclip. Wachten..."
14
- title:
15
- one: "Audio"
16
- other: "Audio’s"
17
- details:
18
- msg: "Zie bijzonderheden..."
19
- document:
20
- actions:
21
- delete: "Verwijderen"
22
- details: "Bijzonderheden"
23
- download: "Downloaden"
24
- edit: "Bewerken"
25
- all: "Alle bestanden"
26
- confirm_delete: "Bestand verwijderen?"
27
- form:
28
- title: "Bestand"
29
- info:
30
- date:
31
- created_at: "Gecreëerd op"
32
- updated_at: "Geüpdatet op"
33
- description:
34
- title: "Beschrijving"
35
- file:
36
- title: "Uploaden"
37
- title:
38
- title: "Titel"
39
- mine: "Mijn bestanden"
40
- name: "bestand"
41
- not_mine: "Bestanden"
42
- one: "een bestand"
43
- simple_all: "Alle"
44
- title:
45
- one: "Bestand"
46
- other: "Bestanden"
47
- picture:
48
- confirm_delete: "Afbeelding verwijderen?"
49
- mine: "Mijn afbeeldingen"
50
- name: "afbeelding"
51
- not_mine: "Afbeeldingen"
52
- one: "een afbeelding"
53
- title:
54
- one: "Afbeelding"
55
- other: "Afbeeldingen"
56
- repository:
57
- title: "Bestanden"
58
- order:
59
- by: "Rangschikken naar"
60
- last_modified: "Laatst gewijzigd"
61
- most_popular: "Meest populair"
62
- resource:
63
- all: "Alle Leermiddelen"
64
- confirm_delete: "Leermiddel verwijderen?"
65
- title: "Leermiddelen"
66
- mine: "Mijn leermiddelen"
67
- not_mine: "Leermiddelen"
68
- video:
69
- confirm_delete: "Video verwijderen?"
70
- mine: "Mijn video’s"
71
- name: "video"
72
- not_mine: "Video’s"
73
- one: "een video"
74
- processing: "Bezig met bewerken van video. Wachten..."
75
- title:
76
- one: "Video"
77
- other: "Video’s"
78
-
@@ -1,28 +0,0 @@
1
- module SocialStream
2
- module Views
3
- module Toolbar
4
- module Documents
5
- def toolbar_menu_items type, options = {}
6
- super.tap do |items|
7
- case type
8
- when :home
9
- items << {
10
- :key => :documents,
11
- :html => link_to(image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("document.title.other"),
12
- [current_subject, Document.new],
13
- :id => "toolbar_menu-documents")
14
- }
15
- when :profile
16
- items << {
17
- :key => :documents,
18
- :html => link_to(image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("document.title.other"),
19
- [options[:subject], Document.new],
20
- :id => "toolbar_menu-documents")
21
- }
22
- end
23
- end
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,19 +0,0 @@
1
- namespace :db do
2
- namespace :populate do
3
-
4
- desc "Create populate data with documents"
5
- task :create => :create_documents
6
-
7
- desc "Add documents to populate data"
8
- task :create_documents => :read_environment do
9
- SS_DOCS_PATH=Gem::Specification.find_by_name('social_stream-documents').full_gem_path
10
- doc_files = Forgery::Extensions::Array.new(Dir.glob(File.join(SS_DOCS_PATH, 'lib', 'samples', "*")))
11
-
12
- SocialStream::Population::ActivityObject.new Document do |d|
13
- d.file = File.open(doc_files.random, "r")
14
- d.title = Forgery::LoremIpsum.words(rand(4), :random => true)
15
- d.description = Forgery::LoremIpsum.sentences(rand(4), :random => true)
16
- end
17
- end
18
- end
19
- end
@@ -1 +0,0 @@
1
- documents
data/spec/dummy/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env rake
2
- # Add your own tasks in files placed in lib/tasks ending in .rake,
3
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
-
5
- require File.expand_path('../config/application', __FILE__)
6
-
7
- Dummy::Application.load_tasks
@@ -1,9 +0,0 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
4
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
6
- //
7
- //= require jquery
8
- //= require jquery_ujs
9
- //= require_tree .
@@ -1,7 +0,0 @@
1
- /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *= require_self
6
- *= require_tree .
7
- */
@@ -1,3 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= stylesheet_link_tag "application" %>
6
- <%= javascript_include_tag "application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>