social_stream 2.0.0.beta2 → 2.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/README.rdoc +5 -4
  4. data/Rakefile +1 -1
  5. data/base/app/assets/images/icons/files_ico-50.png +0 -0
  6. data/base/app/assets/images/icons/files_ico-70.png +0 -0
  7. data/base/app/assets/images/logos/medium/group.png +0 -0
  8. data/base/app/assets/images/logos/medium/user.png +0 -0
  9. data/base/app/assets/images/logos/original/group.png +0 -0
  10. data/base/app/assets/images/logos/original/user.png +0 -0
  11. data/base/app/assets/images/logos/small/group.png +0 -0
  12. data/base/app/assets/images/logos/small/user.png +0 -0
  13. data/base/app/assets/javascripts/social_stream/contact.js +23 -56
  14. data/base/app/assets/javascripts/social_stream/object.js +5 -0
  15. data/base/app/assets/javascripts/social_stream/relation_customs.js +1 -1
  16. data/base/app/assets/javascripts/social_stream/wall.js +1 -0
  17. data/base/app/assets/stylesheets/social_stream-base.css.sass +81 -2
  18. data/base/app/assets/stylesheets/social_stream/base/adjust.css.sass +5 -0
  19. data/base/app/assets/stylesheets/social_stream/base/{_adjust.css.sass → adjust/_adjust.css.sass} +1 -5
  20. data/base/app/assets/stylesheets/social_stream/base/adjust/layout/_adjust.css.sass +10 -0
  21. data/base/app/assets/stylesheets/social_stream/base/buttons.css.sass +2 -0
  22. data/base/app/assets/stylesheets/social_stream/base/{_buttons.scss.sass → buttons/_buttons.scss.sass} +0 -0
  23. data/base/app/assets/stylesheets/social_stream/base/contacts.css.sass +10 -0
  24. data/base/app/assets/stylesheets/social_stream/base/contacts/_contacts.css.sass +12 -7
  25. data/base/app/assets/stylesheets/social_stream/base/contacts/layouts/_contacts.css.sass +35 -27
  26. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-1200px-min.css.sass +13 -3
  27. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-767px-max.css.sass +38 -3
  28. data/base/app/assets/stylesheets/social_stream/base/conversation.css.sass +10 -0
  29. data/base/app/assets/stylesheets/social_stream/base/conversation/_conversation.css.sass +3 -3
  30. data/base/app/assets/stylesheets/social_stream/base/conversation/layout/_conversation.css.sass +3 -0
  31. data/base/app/assets/stylesheets/social_stream/base/conversation/responsive/_responsive-767px-max.css.sass +4 -1
  32. data/base/app/assets/stylesheets/social_stream/base/explore.css.sass +18 -0
  33. data/base/app/assets/stylesheets/social_stream/base/explore/_explore.css.sass +8 -3
  34. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore-search.css.sass +1 -0
  35. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore-timeline.css.sass +9 -5
  36. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore.css.sass +4 -5
  37. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-1200px-min.css.sass +12 -10
  38. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-767px-max.css.sass +2 -0
  39. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-768px-979px.css.sass +2 -0
  40. data/base/app/assets/stylesheets/social_stream/base/footer.css.sass +2 -0
  41. data/base/app/assets/stylesheets/social_stream/base/footer/layout/_footer.css.sass +4 -3
  42. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise.css.sass +16 -0
  43. data/base/app/assets/stylesheets/social_stream/base/groups/_groups.css.sass +17 -0
  44. data/base/app/assets/stylesheets/social_stream/base/{_groups.css.sass → groups/layout/_groups.css.sass} +2 -7
  45. data/base/app/assets/stylesheets/social_stream/base/icons.css.sass +2 -0
  46. data/base/app/assets/stylesheets/social_stream/base/icons/icon.css.css +52 -38
  47. data/base/app/assets/stylesheets/social_stream/base/jquery-ui.css.sass +10 -0
  48. data/base/app/assets/stylesheets/social_stream/base/{_jquery-ui.css.sass → jquery-ui/_jquery-ui.css.sass} +0 -0
  49. data/base/app/assets/stylesheets/social_stream/base/layouts.css.sass +2 -0
  50. data/base/app/assets/stylesheets/social_stream/base/layouts/_header.css.sass +10 -5
  51. data/base/app/assets/stylesheets/social_stream/base/layouts/_layout.css.sass +4 -2
  52. data/base/app/assets/stylesheets/social_stream/base/logo.css.sass +7 -0
  53. data/base/app/assets/stylesheets/social_stream/base/mixins.css.sass +10 -0
  54. data/base/app/assets/stylesheets/social_stream/base/mixins/_buttons.css.sass +11 -12
  55. data/base/app/assets/stylesheets/social_stream/base/mixins/_colorfont.css.sass +2 -1
  56. data/base/app/assets/stylesheets/social_stream/base/notifications.css.sass +10 -0
  57. data/base/app/assets/stylesheets/social_stream/base/profile.css.sass +10 -0
  58. data/base/app/assets/stylesheets/social_stream/base/profile/_profile.css.sass +29 -19
  59. data/base/app/assets/stylesheets/social_stream/base/profile/layout/_profile.css.sass +42 -47
  60. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-1200px-min.css.sass +2 -4
  61. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-767px-max.css.sass +12 -4
  62. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-768px-979px.css.sass +4 -5
  63. data/base/app/assets/stylesheets/social_stream/base/responsive.css.sass +6 -0
  64. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-1200px-min.css.sass +7 -4
  65. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-767px-max.css.sass +1 -2
  66. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-768px-979px.css.sass +4 -1
  67. data/base/app/assets/stylesheets/social_stream/base/search.css.sass +2 -0
  68. data/base/app/assets/stylesheets/social_stream/base/select2.css.sass +5 -0
  69. data/base/app/assets/stylesheets/social_stream/base/settings.css.sass +10 -0
  70. data/base/app/assets/stylesheets/social_stream/base/settings/_settings.css.sass +1 -2
  71. data/base/app/assets/stylesheets/social_stream/base/settings/layout/_settings.css.sass +5 -0
  72. data/base/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-767px-max.css.sass +2 -1
  73. data/base/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-768px-979px.css.sass +4 -2
  74. data/base/app/assets/stylesheets/social_stream/base/sidebar.css.sass +8 -0
  75. data/base/app/assets/stylesheets/social_stream/base/sidebar/_sidebar.css.sass +1 -1
  76. data/base/app/assets/stylesheets/social_stream/base/sidebar/layout/_sidebar.css.sass +4 -1
  77. data/base/app/assets/stylesheets/social_stream/base/timeline.css.sass +14 -0
  78. data/base/app/assets/stylesheets/social_stream/base/timeline/_timeline.css.sass +4 -9
  79. data/base/app/assets/stylesheets/social_stream/base/timeline/_wrapper_activities.css.sass +4 -2
  80. data/base/app/assets/stylesheets/social_stream/base/timeline/layout/_timeline.css.sass +34 -0
  81. data/base/app/assets/stylesheets/social_stream/base/timeline/responsive/_responsive-1200px-min.css.sass +14 -0
  82. data/base/app/assets/stylesheets/social_stream/base/timeline/responsive/_responsive-767px-max.css.sass +28 -0
  83. data/base/app/assets/stylesheets/social_stream/base/timeline/responsive/_responsive-768px-979px.css.sass +14 -0
  84. data/base/app/assets/stylesheets/social_stream/base/toolbar.css.sass +10 -0
  85. data/base/app/assets/stylesheets/social_stream/base/toolbar/_toolbar.css.sass +28 -8
  86. data/base/app/assets/stylesheets/social_stream/base/toolbar/responsive/_responsive-1200px-min.css.sass +1 -2
  87. data/base/app/assets/stylesheets/social_stream/base/toolbar/responsive/_responsive-767px-max.css.sass +14 -2
  88. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_button-groups.scss +1 -1
  89. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_forms.scss +8 -0
  90. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_nav.scss +4 -0
  91. data/base/app/assets/stylesheets/social_stream/fonts/JosefinSlabOverlay.ttf +0 -0
  92. data/base/app/assets/stylesheets/social_stream/fonts/JosefinSlabRegular-Outline.ttf +0 -0
  93. data/base/app/assets/stylesheets/social_stream/fonts/JosefinSlabRegular.ttf +0 -0
  94. data/base/app/assets/stylesheets/social_stream/fonts/colorfont.css +4 -4
  95. data/base/app/assets/stylesheets/social_stream/fonts/fonts.css +4 -4
  96. data/base/app/assets/stylesheets/social_stream/fonts/social-stream:fonts:colorfont.css.sass +5 -0
  97. data/base/app/assets/stylesheets/social_stream/fonts/social-stream:fonts:fonts.css.sass +5 -0
  98. data/base/app/controllers/repositories_controller.rb +2 -3
  99. data/base/app/helpers/contacts_helper.rb +30 -17
  100. data/base/app/models/activity_object.rb +16 -17
  101. data/base/app/models/profile.rb +0 -4
  102. data/base/app/views/activities/_root.html.erb +1 -1
  103. data/base/app/views/activities/_timeline_modal.html.erb +2 -2
  104. data/base/app/views/contacts/_contact.html.erb +2 -2
  105. data/base/app/views/contacts/index.html.erb +6 -0
  106. data/base/app/views/explore/_followed.html.erb +6 -6
  107. data/base/app/views/groups/{_new.html.erb → _form.html.erb} +4 -7
  108. data/base/app/views/groups/_new_modal.html.erb +11 -0
  109. data/base/app/views/groups/new.html.erb +5 -1
  110. data/base/app/views/layouts/_footer.html.erb +1 -1
  111. data/base/app/views/layouts/application.html.erb +7 -8
  112. data/base/app/views/profiles/_avatar.html.erb +9 -9
  113. data/base/app/views/profiles/_comunication-info.html.erb +8 -8
  114. data/base/app/views/profiles/_experience.html.erb +15 -15
  115. data/base/app/views/profiles/_personal.html.erb +13 -12
  116. data/base/app/views/profiles/_profile.html.erb +33 -26
  117. data/base/app/views/profiles/_tags.html.erb +8 -12
  118. data/base/app/views/subjects/_subject.html.erb +1 -1
  119. data/base/app/views/toolbar/_logo.html.erb +6 -7
  120. data/base/app/views/toolbar/_profile.html.erb +9 -12
  121. data/base/config/locales/en.yml +462 -444
  122. data/base/config/locales/es.yml +464 -461
  123. data/base/config/locales/pt.yml +504 -379
  124. data/base/config/locales/zh.yml +479 -409
  125. data/base/lib/social_stream/base/version.rb +1 -1
  126. data/base/lib/social_stream/population/actor.rb +10 -0
  127. data/base/lib/social_stream/search.rb +11 -2
  128. data/base/lib/tasks/db/populate.rake +57 -16
  129. data/base/social_stream-base.gemspec +1 -1
  130. data/base/spec/views/profiles_spec.rb +5 -3
  131. data/documents/app/assets/javascripts/social_stream/audio.js.erb +5 -5
  132. data/documents/app/assets/javascripts/social_stream/documents.timeline.js +24 -6
  133. data/documents/app/assets/javascripts/social_stream/documents.wall.js +37 -32
  134. data/documents/app/assets/javascripts/social_stream/video.js +33 -0
  135. data/documents/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +3 -0
  136. data/documents/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +12 -7
  137. data/documents/app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass +8 -1
  138. data/documents/app/assets/stylesheets/social_stream/documents/responsive/_responsive-767px-max.css.sass +27 -2
  139. data/documents/app/assets/stylesheets/social_stream/documents/show/_show.css.sass +29 -0
  140. data/documents/app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass +36 -0
  141. data/documents/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +27 -12
  142. data/documents/app/views/audios/_audio_processed.html.erb +5 -46
  143. data/documents/app/views/audios/_audio_show.html.erb +16 -57
  144. data/documents/app/views/audios/_player.html.erb +42 -0
  145. data/documents/app/views/common_documents/_index.html.erb +3 -5
  146. data/documents/app/views/videos/_player.html.erb +36 -0
  147. data/documents/app/views/videos/_video_processed.html.erb +5 -43
  148. data/documents/app/views/videos/_video_show.html.erb +10 -60
  149. data/documents/config/locales/en.yml +67 -67
  150. data/documents/config/locales/es.yml +67 -64
  151. data/documents/config/locales/zh.yml +90 -0
  152. data/documents/lib/generators/social_stream/documents/templates/initializer.rb +1 -1
  153. data/documents/lib/social_stream-documents.rb +1 -1
  154. data/documents/lib/social_stream/documents/version.rb +1 -1
  155. data/documents/social_stream-documents.gemspec +1 -1
  156. data/events/app/assets/javascripts/social_stream/fullcalendar.js +14 -2
  157. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-767px-max.css.sass +12 -9
  158. data/events/app/controllers/events_controller.rb +7 -1
  159. data/events/app/views/events/_details.html.erb +18 -16
  160. data/events/app/views/events/_show_modal.html.erb +10 -0
  161. data/events/app/views/sidebar/_calendar.html.erb +1 -1
  162. data/events/config/locales/en.yml +32 -31
  163. data/events/config/locales/es.yml +32 -32
  164. data/events/config/locales/zh.yml +57 -0
  165. data/events/lib/social_stream/events/version.rb +1 -1
  166. data/events/social_stream-events.gemspec +1 -1
  167. data/lib/social_stream/components.rb +4 -0
  168. data/lib/social_stream/version.rb +1 -1
  169. data/lib/tasks/i18n.rake +55 -0
  170. data/linkser/app/assets/javascripts/social_stream/linkser.wall.js +12 -6
  171. data/linkser/app/assets/stylesheets/social_stream/linkser/repository/layout/_repository.css.sass +1 -0
  172. data/linkser/app/assets/stylesheets/social_stream/linkser/timeline/layout/_timeline-link.css.sass +6 -1
  173. data/linkser/app/views/links/_new_activity.html.erb +0 -1
  174. data/linkser/app/views/links/_timeline.html.erb +1 -1
  175. data/linkser/config/locales/en.yml +12 -11
  176. data/linkser/config/locales/es.yml +12 -11
  177. data/linkser/config/locales/zh.yml +17 -0
  178. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  179. data/linkser/social_stream-linkser.gemspec +1 -1
  180. data/linkser/vendor/assets/jplayer.blue.monday.video.play.hover.png +0 -0
  181. data/linkser/vendor/assets/jplayer.blue.monday.video.play.png +0 -0
  182. data/linkser/vendor/assets/stylesheets/jplayer.blue.monday.png +0 -0
  183. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/_applications-oauth2server.css.sass +1 -1
  184. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/_show-oauth2server.css.sass +1 -1
  185. data/oauth2_server/app/views/site/clients/show.html.erb +5 -1
  186. data/oauth2_server/config/locales/en.yml +16 -15
  187. data/oauth2_server/config/locales/es.yml +20 -19
  188. data/oauth2_server/config/locales/zh.yml +30 -0
  189. data/oauth2_server/lib/social_stream/oauth2_server/version.rb +1 -1
  190. data/oauth2_server/social_stream-oauth2_server.gemspec +1 -1
  191. data/ostatus/Rakefile +1 -2
  192. data/ostatus/config/locales/en.yml +34 -33
  193. data/ostatus/config/locales/zh.yml +35 -0
  194. data/ostatus/lib/social_stream/ostatus/version.rb +1 -1
  195. data/ostatus/social_stream-ostatus.gemspec +1 -1
  196. data/places/config/locales/en.yml +58 -67
  197. data/places/config/locales/es.yml +60 -61
  198. data/presence/app/assets/stylesheets/social_stream/presence/_toolbar-chat.css.sass +2 -2
  199. data/presence/config/locales/en.yml +45 -43
  200. data/presence/config/locales/es.yml +45 -43
  201. data/presence/config/locales/zh.yml +69 -0
  202. data/presence/lib/social_stream/presence/version.rb +1 -1
  203. data/presence/social_stream-presence.gemspec +1 -1
  204. data/social_stream.gemspec +7 -7
  205. metadata +68 -44
  206. data/base/app/assets/stylesheets/social_stream/fonts/BreeSerif-Regular.ttf +0 -0
  207. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Original.ttf +0 -0
  208. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Outline.ttf +0 -0
  209. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP-Overlay.ttf +0 -0
  210. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Original.ttf +0 -0
  211. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Outline.ttf +0 -0
  212. data/base/app/assets/stylesheets/social_stream/fonts/DIN_OSP/DIN_OSP-Overlay.ttf +0 -0
  213. data/base/app/assets/stylesheets/social_stream/fonts/RockSalt.ttf +0 -0
  214. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SIL OFL Font License - Source Sans Pro.txt +0 -93
  215. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Black.otf +0 -0
  216. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-BlackIt.otf +0 -0
  217. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Bold.otf +0 -0
  218. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-BoldIt.otf +0 -0
  219. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf +0 -0
  220. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf +0 -0
  221. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-It.otf +0 -0
  222. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Light.otf +0 -0
  223. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-LightIt.otf +0 -0
  224. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Regular.otf +0 -0
  225. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Semibold.otf +0 -0
  226. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf +0 -0
  227. data/documents/app/assets/javascripts/social_stream/video.js.erb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfabcee1a01b8644ba290578de8c3cd5bf08453a
4
- data.tar.gz: 3a7539a5184ebfd4db782a800d1c5b292070de6b
3
+ metadata.gz: 064288b5d926da666e5604b02cc650044f174e4e
4
+ data.tar.gz: c7afdf71eacf174be9da550d964187cb71ab688e
5
5
  SHA512:
6
- metadata.gz: 4fa4247dbffa664bf451131a8f2c8fd9dae847ef0f206c58cf3524e3fb4da68702558eee4c7e62382eff8ac676029e8ff3366abd42911c3e173df555736af5af
7
- data.tar.gz: fa690ea899119790924d5b16d740807e36ac74c55eea38c2e72973aba2b15ebc2de7b663deda2ed0f2e56a2958c42e66de4a4f605d0be1c20e3099d1c3a86f97
6
+ metadata.gz: 90516124743fdf1028a355169e1c034498131c93ffce27fc21ca64f57b6913421ff9d54785e1d1f5f0d98d17df3c29d53d0b24df5561f749efbde6a44e4ed26b
7
+ data.tar.gz: 3cbd69f236b568c55d6f410ceb72dc0dba07d35117609d9759d7e12f2328cc0c1da61fc33cb0c3989622b4e76980c454f4f1d7b685e01afff100ac4bdf57f6c5
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ source "http://rubygems.org"
8
8
  # gem 'avatars_for_rails', :path => '../avatars_for_rails'
9
9
  # gem 'rails-scheduler', path: '../rails-scheduler'
10
10
  # gem 'omniauth-socialstream', path: '../omniauth-socialstream'
11
+ # gem 'paperclip_waveform', path: '../paperclip_waveform'
11
12
  # gem 'flashy', path: '../flashy'
12
13
 
13
14
  # social_stream gems
data/README.rdoc CHANGED
@@ -9,20 +9,21 @@ with {social networking}[http://en.wikipedia.org/wiki/Social_network] features a
9
9
  = Social Stream components
10
10
 
11
11
  Social Stream is divided into components. Developers can customize their social
12
- network with the functionalities they need for each case. Current Social Stream distribution include the following components:
12
+ network with the functionalities they need for each case. Current Social Stream distribution includes the following components:
13
13
 
14
14
  * {Base}[https://github.com/ging/social_stream/tree/master/base], basic functionalities of contacts, streams and walls,
15
- along with users, group, post and comments
15
+ along with users, groups, post and comments
16
16
  * {Documents}[https://github.com/ging/social_stream/tree/master/documents], support for
17
- activities on files: pictures, audio and video with a HTML5 player
17
+ activities on files: pictures, audios and videos with a HTML5 player
18
18
  * {Events}[https://github.com/ging/social_stream/tree/master/events], sheduled events with calendar
19
19
  * {Linkser}[https://github.com/ging/social_stream/tree/master/linkser], advanced management of links to other webpages
20
20
  * {Presence}[https://github.com/ging/social_stream/tree/master/presence], XMPP based chat support
21
21
  * {Ostatus}[https://github.com/ging/social_stream/tree/master/ostatus], support for social network federation
22
+ * {Oauth2Server}[https://github.com/ging/social_stream/tree/master/oauth2_server], authentication and authorization service based on {OAuth2}[http://oauth.net/2/]
22
23
 
23
24
  = Installation
24
25
 
25
- Add the following to the Gemfile of the your Rails application:
26
+ Add the following to the Gemfile of your Rails application:
26
27
 
27
28
  gem 'social_stream', '>= 1.0.0'
28
29
 
data/Rakefile CHANGED
@@ -25,4 +25,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
25
25
  rdoc.rdoc_files.include('lib/**/*.rb', 'app/**/*.rb')
26
26
  end
27
27
 
28
- Bundler::GemHelper.install_tasks
28
+ import 'lib/tasks/i18n.rake'
@@ -1,45 +1,9 @@
1
1
  // require jquery.ba-url
2
+ //
3
+ //= require social_stream/callback
2
4
 
3
5
  SocialStream.Contact = (function($, SS, undefined) {
4
- var indexCallbacks = [];
5
-
6
- var addIndexCallback = function(callback){
7
- indexCallbacks.push(callback);
8
- };
9
-
10
- var index = function(){
11
- $.each(indexCallbacks, function(i, callback){ callback(); });
12
- };
13
-
14
- var showCallbacks = [];
15
-
16
- var addShowCallback = function(callback){
17
- showCallbacks.push(callback);
18
- };
19
-
20
- var show = function(){
21
- $.each(showCallbacks, function(i, callback){ callback(); });
22
- };
23
-
24
- var updateCallbacks = [];
25
-
26
- var addUpdateCallback = function(callback){
27
- updateCallbacks.push(callback);
28
- };
29
-
30
- var update = function(options){
31
- $.each(updateCallbacks, function(i, callback){ callback(options); });
32
- };
33
-
34
- var destroyCallbacks = [];
35
-
36
- var addDestroyCallback = function(callback){
37
- destroyCallbacks.push(callback);
38
- };
39
-
40
- var destroy = function(options){
41
- $.each(destroyCallbacks, function(i, callback){ callback(options); });
42
- };
6
+ var callback = new SS.Callback();
43
7
 
44
8
  var getForms = function(id) {
45
9
  return $('[data-contact_id="' + id + '"]');
@@ -66,7 +30,7 @@ SocialStream.Contact = (function($, SS, undefined) {
66
30
  success: function(data) {
67
31
  $(tab.attr('href')).find('.contact-list').html(data);
68
32
  tab.attr('data-loaded', 'true');
69
- index();
33
+ callback.handlers.index();
70
34
  }
71
35
  });
72
36
  };
@@ -190,7 +154,7 @@ SocialStream.Contact = (function($, SS, undefined) {
190
154
  success: function(data) {
191
155
  $('#contacts-loading').hide();
192
156
  currentTab.find('.contact-list').html(data);
193
- index();
157
+ callback.handlers.index();
194
158
  }
195
159
  });
196
160
  };
@@ -199,6 +163,10 @@ SocialStream.Contact = (function($, SS, undefined) {
199
163
  $('#contacts-loading').hide();
200
164
  };
201
165
 
166
+ var initNewGroupModal = function() {
167
+ $('.new_group-modal-link').attr('href', '#new_group-modal');
168
+ };
169
+
202
170
  var initContactFormsHtmlListener = function() {
203
171
  $('html').on('click.dropdown.data-api', saveForms);
204
172
  };
@@ -297,16 +265,19 @@ SocialStream.Contact = (function($, SS, undefined) {
297
265
  callback([ { id: element.val(), name: element.attr('data-recipient-name') } ]);
298
266
  };
299
267
 
300
- addIndexCallback(initTabs);
301
- addIndexCallback(initContactButtons);
302
- addIndexCallback(initFilter);
303
- addIndexCallback(hideLoading);
268
+ callback.register('index',
269
+ initTabs,
270
+ initContactButtons,
271
+ initFilter,
272
+ initNewGroupModal,
273
+ hideLoading);
304
274
 
305
- addUpdateCallback(updateForms);
306
- addUpdateCallback(replaceContact);
307
- addUpdateCallback(checkAndHideContact);
275
+ callback.register('update',
276
+ updateForms,
277
+ replaceContact,
278
+ checkAndHideContact);
308
279
 
309
- addDestroyCallback(hideContact);
280
+ callback.register('destroy', hideContact);
310
281
 
311
282
  // FIXME There is probably a more efficient way to do this..
312
283
  $(function() {
@@ -314,11 +285,7 @@ SocialStream.Contact = (function($, SS, undefined) {
314
285
  initContactFormsHtmlListener();
315
286
  });
316
287
 
317
- return {
318
- index: index,
319
- show: show,
320
- update: update,
321
- select2: select2,
322
- destroy: destroy
323
- };
288
+ return callback.extend({
289
+ select2: select2
290
+ });
324
291
  })(jQuery, SocialStream);
@@ -70,6 +70,10 @@ SocialStream.Object = (function(SS, $, undefined){
70
70
  $('[name$="[relation_ids][]"]').attr('name', type + '[relation_ids][]');
71
71
  };
72
72
 
73
+ var changeOwner = function(type) {
74
+ $('[name$="[owner_id]"]').attr('name', type + '[owner_id]');
75
+ };
76
+
73
77
  callback.register('show',
74
78
  SS.Comment.index,
75
79
  SS.Audience.index);
@@ -78,6 +82,7 @@ SocialStream.Object = (function(SS, $, undefined){
78
82
  initRelationSelect);
79
83
 
80
84
  return callback.extend({
85
+ changeOwner: changeOwner,
81
86
  changeRelationSelect: changeRelationSelect
82
87
  });
83
88
 
@@ -50,7 +50,7 @@ SocialStream.RelationCustom = (function(SS, $, undefined){
50
50
  };
51
51
 
52
52
  var editFormsListener = function(event) {
53
- if (event && $(event.srcElement).closest('.relation_custom').length > 0) {
53
+ if (event && $(event.target).closest('.relation_custom').length) {
54
54
  return;
55
55
  }
56
56
 
@@ -39,6 +39,7 @@ SocialStream.Wall = (function(SS, $, undefined){
39
39
 
40
40
  return callback.extend({
41
41
  changeAction: changeAction,
42
+ changeOwner: SS.Object.changeOwner,
42
43
  changeRelationSelect: SS.Object.changeRelationSelect
43
44
  });
44
45
  }) (SocialStream, jQuery);
@@ -38,7 +38,8 @@
38
38
 
39
39
  @import "social_stream/base/search/header"
40
40
 
41
- @import "social_stream/base/adjust"
41
+ @import "social_stream/base/adjust/adjust"
42
+ @import "social_stream/base/adjust/layout/adjust"
42
43
 
43
44
  @import "social_stream/base/buttons"
44
45
 
@@ -145,7 +146,7 @@
145
146
 
146
147
 
147
148
 
148
- @import "social_stream/base/groups"
149
+ @import "social_stream/base/groups/groups"
149
150
 
150
151
 
151
152
 
@@ -182,11 +183,89 @@
182
183
 
183
184
 
184
185
  @import "social_stream/base/timeline/timeline"
186
+
185
187
  @import "social_stream/base/timeline/wrapper_activities"
188
+
186
189
  @import "social_stream/base/timeline/layout/timeline"
190
+
187
191
  @import "social_stream/base/timeline/layout/wrapper_activities"
188
192
 
193
+ @import "social_stream/base/timeline/responsive/responsive-768px-979px"
194
+ @import "social_stream/base/timeline/responsive/responsive-1200px-min"
195
+ @import "social_stream/base/timeline/responsive/responsive-767px-max"
196
+
189
197
 
190
198
  @import "social_stream/base/responsive/responsive-768px-979px"
191
199
  @import "social_stream/base/responsive/responsive-1200px-min"
192
200
  @import "social_stream/base/responsive/responsive-767px-max"
201
+
202
+
203
+
204
+ /*@import "social_stream/bootstrap-rewrite/variables"
205
+ /****************************** Bootstrap
206
+ /*@import "bootstrap"
207
+
208
+ /*@import "bootstrap-responsive"
209
+
210
+
211
+ /****************************** Base
212
+ /*@import "social_stream/base/mixins"
213
+
214
+
215
+
216
+ /****************************** Bootstrap-rewrite
217
+ /*@import "social_stream/bootstrap-rewrite/alerts"
218
+
219
+ /*@import "social_stream/bootstrap-rewrite/forms"
220
+
221
+ /*@import "social_stream/bootstrap-rewrite/modal"
222
+
223
+ /*@import "social_stream/bootstrap-rewrite/navbar"
224
+
225
+ /*@import "social_stream/bootstrap-rewrite/nav"
226
+
227
+ /*@import "social_stream/bootstrap-rewrite/dropdowns"
228
+
229
+
230
+ /****************************** Fonts
231
+ /*@import "social_stream/fonts/fonts"
232
+
233
+ /*@import "social_stream/fonts/colorfont"
234
+
235
+
236
+
237
+ /****************************** Base
238
+
239
+ /*@import "social_stream/base/logo"
240
+
241
+ /*@import "social_stream/base/search"
242
+
243
+ /*@import "social_stream/base/icons"
244
+
245
+ /*@import "social_stream/base/layouts"
246
+
247
+ /*@import "social_stream/base/footer"
248
+
249
+ /*@import "social_stream/base/settings"
250
+
251
+ /*@import "social_stream/base/notifications"
252
+
253
+ /*@import "social_stream/base/conversation"
254
+
255
+ /*@import "social_stream/base/contacts"
256
+
257
+ /*@import "social_stream/base/explore"
258
+
259
+ /*@import "social_stream/base/select2"
260
+
261
+ /*@import "social_stream/base/frontpage_devise"
262
+
263
+ /*@import "social_stream/base/profile"
264
+
265
+ /*@import "social_stream/base/sidebar"
266
+
267
+ /*@import "social_stream/base/toolbar"
268
+
269
+ /*@import "social_stream/base/timeline"
270
+
271
+ /*@import "social_stream/base/responsive"
@@ -0,0 +1,5 @@
1
+ /****************************** Style
2
+ @import "social_stream/base/adjust/adjust"
3
+
4
+ /****************************** layouta
5
+ @import "social_stream/base/adjust/layouts/adjust"
@@ -2,14 +2,10 @@
2
2
  h2
3
3
  font-weight: bold
4
4
  color: #8e8e8e
5
- margin-top: 0px
6
5
 
7
6
  textarea
8
7
  resize: none
9
8
 
10
- .loading
11
- width: auto
12
-
13
9
  .avatar_profile
14
10
  @include border-radius(8px)
15
11
  .avatar
@@ -27,5 +23,5 @@ textarea
27
23
  img
28
24
  @include border-radius(4px)
29
25
 
30
- a#fbdk_tab
26
+ #fdbk_tab
31
27
  background-color: $blue !important
@@ -0,0 +1,10 @@
1
+ #content
2
+ h2
3
+ margin-top: 0px
4
+
5
+ .loading
6
+ width: auto
7
+
8
+ input
9
+ &[type="file"]
10
+ line-height: 17px
@@ -0,0 +1,2 @@
1
+ /****************************** Style
2
+ @import "social_stream/base/buttons/buttons"
@@ -0,0 +1,10 @@
1
+ /****************************** Style
2
+ @import "social_stream/base/contacts/contacts"
3
+
4
+ /****************************** Layout
5
+ @import "social_stream/base/contacts/layouts/contacts"
6
+
7
+ /****************************** Responsive
8
+ @import "social_stream/base/contacts/responsive/responsive-768px-979px"
9
+ @import "social_stream/base/contacts/responsive/responsive-1200px-min"
10
+ @import "social_stream/base/contacts/responsive/responsive-767px-max"
@@ -1,15 +1,20 @@
1
1
  #contacts
2
2
  .contacts
3
+ .new_group-modal-link
4
+ @include btn-primary
5
+ @include border-radius(5px)
3
6
  .add
4
7
  @include btn-add
5
8
 
6
9
 
7
- .tab-content
8
- .contact-list
9
- .contact
10
- .x
11
- font-size: 12px
12
- color: $black
10
+ .tab-content
11
+ .add-goup
12
+ float: right
13
+ .contact-list
14
+ .contact
15
+ .x
16
+ font-size: 12px
17
+ color: $black
13
18
 
14
19
 
15
20
  #contact-form
@@ -35,7 +40,7 @@
35
40
  #new_relation
36
41
  .new_relation_custom
37
42
  .btn
38
- @include buttonBackground($blueDark, $blue, $textColor: #fff, $textShadow: 0 -1px 0 rgba(0,0,0,.25))
43
+
39
44
 
40
45
 
41
46
  #permissions
@@ -15,8 +15,11 @@
15
15
  &[type="text"]
16
16
  margin-left: 0px
17
17
  width: 20% !important
18
- float: right
18
+ float: left
19
19
  margin-botom: 0 !important
20
+ .new_group-modal-link
21
+ float: right
22
+
20
23
  .tab-content
21
24
  .contact-list
22
25
  clear: both
@@ -90,32 +93,37 @@
90
93
  /////////////
91
94
 
92
95
 
93
- #relation_customs
94
- .relation_customs
95
- @include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
96
- float: left
97
- .relation_list
98
- @include makeColumn(3, 0)
99
- padding-right: 5px
100
- input
101
- margin-right: 10px
102
- label
103
- display: inline-block
104
96
 
105
- .actions
106
- display: inline-block
107
- float: right
108
- margin-right: 10px
97
+ .relation_customs
98
+ width: 80%
99
+ float: left
100
+ margin-left: 2.5%
101
+ .relation_list
102
+ @include makeColumn(3, 0)
103
+ padding-right: 5px
104
+ input
105
+ margin-right: 10px
106
+ label
107
+ display: inline-block
108
+
109
+ .actions
110
+ display: inline-block
111
+ float: right
112
+ margin-right: 10px
109
113
 
110
- .edit_name
111
- margin-top: -22px
112
- .edit_relation_custom
113
- margin-bottom: 0px
114
- .icon_tool16-ok
115
- margin-top: -6px
114
+ .edit_name
115
+ margin-top: -22px
116
+ .edit_relation_custom
117
+ margin-bottom: 0px
118
+ #relation_custom_name
119
+ width: 69% !important
120
+ margin-left: 23px
121
+ margin-top: -3px
122
+ .icon_tool16-ok
123
+ margin-top: -3px
116
124
 
117
- .btn
118
- margin-left: 32px
125
+ .btn
126
+ margin-left: 32px
119
127
 
120
128
  #relation_custom_name
121
129
  width: 215px
@@ -130,9 +138,9 @@
130
138
  margin-right: 10px
131
139
  .new_relation_custom
132
140
  .btn
133
- @include buttonBackground($blueDark, $blue, $textColor: #fff, $textShadow: 0 -1px 0 rgba(0,0,0,.25))
141
+ @include btn-secundary
134
142
  float: right
135
- margin: 7px 13px 0 0
143
+ margin: 7px 0px 0 0
136
144
 
137
145
 
138
146
  #new_relation_input_block
@@ -141,7 +149,7 @@
141
149
 
142
150
 
143
151
  #permissions
144
- @include makeColumn(5, 0)
152
+ @include makeColumn(4, 0)
145
153
  h4
146
154
  text-align: left
147
155
  li