social_stream 1.1.12 → 2.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1360) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -0
  3. data/CONTRIBUTING.md +14 -0
  4. data/Gemfile +3 -0
  5. data/README.rdoc +11 -12
  6. data/Rakefile +2 -0
  7. data/base/app/assets/images/brand-index.png +0 -0
  8. data/base/app/assets/images/btn/error.png +0 -0
  9. data/base/app/assets/images/btn/facebook.png +0 -0
  10. data/base/app/assets/images/btn/linkedin.png +0 -0
  11. data/base/app/assets/images/characteristic/flexible.png +0 -0
  12. data/base/app/assets/images/characteristic/github.png +0 -0
  13. data/base/app/assets/images/characteristic/modular.png +0 -0
  14. data/base/app/assets/images/facebook.png +0 -0
  15. data/base/app/assets/images/fiware.png +0 -0
  16. data/base/app/assets/images/group.png +0 -0
  17. data/base/app/assets/images/header-logo-index.png +0 -0
  18. data/base/app/assets/images/header-logo.png +0 -0
  19. data/base/app/assets/images/icons/favicon.ico +0 -0
  20. data/base/app/assets/images/icons/files_ico-50.png +0 -0
  21. data/base/app/assets/images/icons/files_ico-70.png +0 -0
  22. data/base/app/assets/images/icons/mess_ico-50.png +0 -0
  23. data/base/app/assets/images/icons/navbar_ico-20.png +0 -0
  24. data/base/app/assets/images/icons/tools_ico-16.png +0 -0
  25. data/base/app/assets/images/linkedin.png +0 -0
  26. data/base/app/assets/images/logo-index.png +0 -0
  27. data/base/app/assets/images/logos/medium/group.png +0 -0
  28. data/base/app/assets/images/logos/medium/user.png +0 -0
  29. data/base/app/assets/images/logos/original/user.png +0 -0
  30. data/base/app/assets/images/logos/small/group.png +0 -0
  31. data/base/app/assets/images/logos/small/site.png +0 -0
  32. data/base/app/assets/images/logos/small/user.png +0 -0
  33. data/base/app/assets/images/nota.png +0 -0
  34. data/base/app/assets/images/pattern.png +0 -0
  35. data/base/app/assets/images/socialstream.png +0 -0
  36. data/base/app/assets/images/user.png +0 -0
  37. data/base/app/assets/javascripts/social_stream-base.js +4 -4
  38. data/base/app/assets/javascripts/social_stream/action.js +32 -0
  39. data/base/app/assets/javascripts/social_stream/audience.js +30 -0
  40. data/base/app/assets/javascripts/social_stream/callback.js +69 -0
  41. data/base/app/assets/javascripts/social_stream/comment.js +153 -0
  42. data/base/app/assets/javascripts/social_stream/contact.js +324 -0
  43. data/base/app/assets/javascripts/social_stream/conversation.js +22 -0
  44. data/base/app/assets/javascripts/social_stream/explore.js +52 -0
  45. data/base/app/assets/javascripts/social_stream/flash.js +13 -0
  46. data/base/app/assets/javascripts/social_stream/follow.js +28 -0
  47. data/base/app/assets/javascripts/social_stream/group.js +32 -0
  48. data/base/app/assets/javascripts/social_stream/message.js.erb +30 -0
  49. data/base/app/assets/javascripts/social_stream/notification.js +32 -0
  50. data/base/app/assets/javascripts/social_stream/object.js +84 -0
  51. data/base/app/assets/javascripts/social_stream/pagination.js +48 -0
  52. data/base/app/assets/javascripts/social_stream/permission.js +20 -0
  53. data/base/app/assets/javascripts/{posts.js → social_stream/post.js} +0 -0
  54. data/base/app/assets/javascripts/social_stream/profile.js +42 -0
  55. data/base/app/assets/javascripts/social_stream/relation_customs.js +175 -0
  56. data/base/app/assets/javascripts/social_stream/repository.js +41 -0
  57. data/base/app/assets/javascripts/social_stream/search.js +17 -0
  58. data/base/app/assets/javascripts/social_stream/search_header.js +51 -0
  59. data/base/app/assets/javascripts/social_stream/tag.js +46 -0
  60. data/base/app/assets/javascripts/social_stream/tie.js +67 -0
  61. data/base/app/assets/javascripts/social_stream/timeline.js +74 -0
  62. data/base/app/assets/javascripts/social_stream/user.js +1 -0
  63. data/base/app/assets/javascripts/social_stream/wall.js +44 -0
  64. data/base/app/assets/stylesheets/social_stream-base.css.sass +185 -0
  65. data/base/app/assets/stylesheets/social_stream/base/_adjust.css.sass +31 -0
  66. data/base/app/assets/stylesheets/social_stream/base/_buttons.scss.sass +2 -0
  67. data/base/app/assets/stylesheets/social_stream/base/_groups.css.sass +45 -0
  68. data/base/app/assets/stylesheets/social_stream/base/_jquery-ui.css.sass +6 -0
  69. data/base/app/assets/stylesheets/social_stream/base/contacts/_contacts.css.sass +55 -0
  70. data/base/app/assets/stylesheets/social_stream/base/contacts/layouts/_contacts.css.sass +162 -0
  71. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-1200px-min.css.sass +16 -0
  72. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-767px-max.css.sass +53 -0
  73. data/base/app/assets/stylesheets/social_stream/base/contacts/responsive/_responsive-768px-979px.css.sass +16 -0
  74. data/base/app/assets/stylesheets/social_stream/base/conversation/_conversation.css.sass +98 -0
  75. data/base/app/assets/stylesheets/social_stream/base/conversation/layout/_conversation.css.sass +123 -0
  76. data/base/app/assets/stylesheets/social_stream/base/conversation/responsive/_responsive-1200px-min.css.sass +72 -0
  77. data/base/app/assets/stylesheets/social_stream/base/conversation/responsive/_responsive-767px-max.css.sass +134 -0
  78. data/base/app/assets/stylesheets/social_stream/base/conversation/responsive/_responsive-768px-979px.css.sass +76 -0
  79. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-search.css.sass +102 -0
  80. data/base/app/assets/stylesheets/social_stream/base/explore/_explore-timeline.css.sass +19 -0
  81. data/base/app/assets/stylesheets/social_stream/base/explore/_explore.css.sass +29 -0
  82. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore-search.css.sass +151 -0
  83. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore-timeline.css.sass +141 -0
  84. data/base/app/assets/stylesheets/social_stream/base/explore/layout/_explore.css.sass +92 -0
  85. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-1200px-min.css.sass +41 -0
  86. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-767px-max.css.sass +75 -0
  87. data/base/app/assets/stylesheets/social_stream/base/explore/responsive/_responsive-768px-979px.css.sass +42 -0
  88. data/base/app/assets/stylesheets/social_stream/base/footer/layout/_footer.css.sass +11 -0
  89. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/_devise.css.sass +35 -0
  90. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/_frontpage.css.sass +47 -0
  91. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/layout/_devise.css.sass +67 -0
  92. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/layout/_frontpage.css.sass +88 -0
  93. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/responsive/_responsive-1200px-min.css.sass +45 -0
  94. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/responsive/_responsive-767px-max.css.sass +126 -0
  95. data/base/app/assets/stylesheets/social_stream/base/frontpage_devise/responsive/_responsive-768px-979px.css.sass +34 -0
  96. data/base/app/assets/stylesheets/social_stream/base/icons/icon.css.css +386 -0
  97. data/base/app/assets/stylesheets/social_stream/base/layouts/_header.css.sass +115 -0
  98. data/base/app/assets/stylesheets/social_stream/base/layouts/_layout.css.sass +40 -0
  99. data/base/app/assets/stylesheets/social_stream/base/logo/_logo-in.css +93 -0
  100. data/base/app/assets/stylesheets/social_stream/base/logo/_logo-out.css +93 -0
  101. data/base/app/assets/stylesheets/social_stream/base/logo/layout/_logo-in.css +93 -0
  102. data/base/app/assets/stylesheets/social_stream/base/logo/layout/_logo-out.css +93 -0
  103. data/base/app/assets/stylesheets/social_stream/base/logo/responsive/_responsive-767px-max.css.sass +52 -0
  104. data/base/app/assets/stylesheets/social_stream/base/mixins/_buttons.css.sass +150 -0
  105. data/base/app/assets/stylesheets/social_stream/base/mixins/_inputs.css.sass +5 -0
  106. data/base/app/assets/stylesheets/social_stream/base/mixins/_layout.css.sass +35 -0
  107. data/base/app/assets/stylesheets/social_stream/base/notifications/_notifications.css.sass +5 -0
  108. data/base/app/assets/stylesheets/social_stream/base/notifications/layout/_notifications.css.sass +44 -0
  109. data/base/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-1200px-min.css.sass +6 -0
  110. data/base/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-767px-max.css.sass +36 -0
  111. data/base/app/assets/stylesheets/social_stream/base/notifications/responsive/_responsive-768px-979px.css.sass +12 -0
  112. data/base/app/assets/stylesheets/social_stream/base/profile/_profile.css.sass +37 -0
  113. data/base/app/assets/stylesheets/social_stream/base/profile/layout/_profile.css.sass +100 -0
  114. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-1200px-min.css.sass +30 -0
  115. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-767px-max.css.sass +33 -0
  116. data/base/app/assets/stylesheets/social_stream/base/profile/responsive/_responsive-768px-979px.css.sass +23 -0
  117. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-1200px-min.css.sass +86 -0
  118. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-767px-max.css.sass +178 -0
  119. data/base/app/assets/stylesheets/social_stream/base/responsive/_responsive-768px-979px.css.sass +102 -0
  120. data/base/app/assets/stylesheets/social_stream/base/search/_header.css.sass +46 -0
  121. data/base/app/assets/stylesheets/social_stream/base/select2/_sselect2.css.sass +43 -0
  122. data/base/app/assets/stylesheets/social_stream/base/select2/layout/_sselect2.css.sass +25 -0
  123. data/base/app/assets/stylesheets/social_stream/base/settings/layout/_settings.css.sass +47 -0
  124. data/base/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-1200px-min.css.sass +11 -0
  125. data/base/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-767px-max.css.sass +44 -0
  126. data/base/app/assets/stylesheets/social_stream/base/settings/responsive/_responsive-768px-979px.css.sass +34 -0
  127. data/base/app/assets/stylesheets/social_stream/base/sidebar/_sidebar.css.sass +42 -0
  128. data/base/app/assets/stylesheets/social_stream/base/sidebar/layout/_sidebar.css.sass +60 -0
  129. data/base/app/assets/stylesheets/social_stream/base/timeline/_timeline.css.sass +159 -0
  130. data/base/app/assets/stylesheets/social_stream/base/timeline/_wrapper_activities.css.sass +71 -0
  131. data/base/app/assets/stylesheets/social_stream/base/timeline/layout/_timeline.css.sass +161 -0
  132. data/base/app/assets/stylesheets/social_stream/base/timeline/layout/_wrapper_activities.css.sass +53 -0
  133. data/base/app/assets/stylesheets/social_stream/base/toolbar/_toolbar.css.sass +99 -0
  134. data/base/app/assets/stylesheets/social_stream/base/toolbar/layout/_toolbar.css.sass +91 -0
  135. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_alerts.scss +8 -0
  136. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_button-groups.scss +162 -0
  137. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_dropdowns.scss +237 -0
  138. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_forms.scss +9 -0
  139. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_modal.scss +9 -0
  140. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_nav.scss +24 -0
  141. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_navbar.scss +54 -0
  142. data/base/app/assets/stylesheets/social_stream/bootstrap-rewrite/_variables.scss +308 -0
  143. data/base/app/assets/stylesheets/social_stream/fonts/BreeSerif-Regular.ttf +0 -0
  144. data/base/app/assets/stylesheets/social_stream/fonts/GiveYouGlory.ttf +0 -0
  145. data/base/app/assets/stylesheets/social_stream/fonts/RockSalt.ttf +0 -0
  146. data/base/app/assets/stylesheets/social_stream/fonts/fonts.css +16 -0
  147. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular-webfont.eot +0 -0
  148. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular-webfont.svg +244 -0
  149. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular-webfont.woff +0 -0
  150. data/base/app/assets/stylesheets/social_stream/fonts/opensans-regular.ttf +0 -0
  151. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SIL OFL Font License - Source Sans Pro.txt +93 -0
  152. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Black.otf +0 -0
  153. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-BlackIt.otf +0 -0
  154. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Bold.otf +0 -0
  155. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-BoldIt.otf +0 -0
  156. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf +0 -0
  157. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf +0 -0
  158. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-It.otf +0 -0
  159. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Light.otf +0 -0
  160. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-LightIt.otf +0 -0
  161. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Regular.otf +0 -0
  162. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-Semibold.otf +0 -0
  163. data/base/app/assets/stylesheets/social_stream/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf +0 -0
  164. data/base/app/controllers/activities_controller.rb +13 -5
  165. data/base/app/controllers/contacts_controller.rb +56 -47
  166. data/base/app/controllers/conversations_controller.rb +8 -4
  167. data/base/app/controllers/explore_controller.rb +11 -0
  168. data/base/app/controllers/frontpage_controller.rb +2 -0
  169. data/base/app/controllers/groups_controller.rb +1 -7
  170. data/base/app/controllers/messages_controller.rb +6 -7
  171. data/base/app/controllers/notifications_controller.rb +10 -6
  172. data/base/app/controllers/omniauth_callbacks_controller.rb +7 -10
  173. data/base/app/controllers/permissions_controller.rb +13 -8
  174. data/base/app/controllers/profiles_controller.rb +10 -5
  175. data/base/app/controllers/repositories_controller.rb +33 -0
  176. data/base/app/controllers/search_controller.rb +15 -7
  177. data/base/app/controllers/tags_controller.rb +24 -6
  178. data/base/app/controllers/users_controller.rb +9 -7
  179. data/base/app/helpers/activities_helper.rb +6 -21
  180. data/base/app/helpers/contacts_helper.rb +9 -1
  181. data/base/app/helpers/explore_helper.rb +16 -0
  182. data/base/app/helpers/layouts_helper.rb +31 -0
  183. data/base/app/helpers/profiles_helper.rb +1 -30
  184. data/base/app/helpers/search_helper.rb +0 -25
  185. data/base/app/helpers/tags_helper.rb +13 -0
  186. data/base/app/models/activity.rb +19 -3
  187. data/base/app/models/activity_object.rb +72 -21
  188. data/base/app/models/activity_object/properties.rb +115 -0
  189. data/base/app/models/activity_object_property.rb +41 -2
  190. data/base/app/models/actor.rb +39 -96
  191. data/base/app/models/contact.rb +5 -1
  192. data/base/app/models/group.rb +3 -8
  193. data/base/app/models/post.rb +3 -1
  194. data/base/app/models/profile.rb +44 -5
  195. data/base/app/models/relation.rb +4 -0
  196. data/base/app/models/relation/custom.rb +3 -14
  197. data/base/app/models/relation/reject.rb +5 -0
  198. data/base/app/models/site.rb +2 -3
  199. data/base/app/models/site/current.rb +8 -0
  200. data/base/app/models/tie.rb +1 -1
  201. data/base/app/models/user.rb +12 -8
  202. data/base/app/views/activities/_actions.html.erb +18 -0
  203. data/base/app/views/activities/_audience.html.erb +15 -0
  204. data/base/app/views/activities/_child.html.erb +13 -10
  205. data/base/app/views/activities/_comment.html.erb +4 -0
  206. data/base/app/views/activities/_comments.html.erb +1 -1
  207. data/base/app/views/activities/_index.html.erb +10 -13
  208. data/base/app/views/activities/_like.html.erb +5 -0
  209. data/base/app/views/activities/_likes.html.erb +3 -3
  210. data/base/app/views/activities/_new.html.erb +22 -51
  211. data/base/app/views/activities/_root.html.erb +23 -24
  212. data/base/app/views/activities/_time_ago.html.erb +3 -0
  213. data/base/app/views/activities/_timeline.html.erb +21 -0
  214. data/base/app/views/activities/_timeline_modal.html.erb +12 -0
  215. data/base/app/views/activity_actions/_follow_form.html.erb +3 -1
  216. data/base/app/views/activity_objects/_activity_object.html.erb +1 -7
  217. data/base/app/views/activity_objects/_timeline.html.erb +3 -0
  218. data/base/app/views/audience/_list.html.erb +1 -1
  219. data/base/app/views/comments/_comment.html.erb +3 -1
  220. data/base/app/views/comments/_new.html.erb +8 -28
  221. data/base/app/views/comments/_new_form.html.erb +11 -0
  222. data/base/app/views/comments/_quick_search_result.html.erb +3 -0
  223. data/base/app/views/comments/_search_result.html.erb +1 -0
  224. data/base/app/views/comments/create.js.erb +5 -7
  225. data/base/app/views/contacts/_contact.html.erb +19 -14
  226. data/base/app/views/contacts/_form.html.erb +4 -3
  227. data/base/app/views/contacts/_link_custom.html.erb +2 -8
  228. data/base/app/views/contacts/_pendings.html.erb +7 -15
  229. data/base/app/views/contacts/_suggestions.html.erb +10 -13
  230. data/base/app/views/contacts/destroy.js.erb +7 -6
  231. data/base/app/views/contacts/index.html.erb +37 -30
  232. data/base/app/views/contacts/update.js.erb +7 -0
  233. data/base/app/views/conversations/_conversation.html.erb +45 -37
  234. data/base/app/views/conversations/_conversation_full.html.erb +38 -35
  235. data/base/app/views/conversations/_index.html.erb +8 -9
  236. data/base/app/views/conversations/_show.html.erb +1 -11
  237. data/base/app/views/conversations/index.html.erb +9 -7
  238. data/base/app/views/conversations/show.html.erb +5 -5
  239. data/base/app/views/devise/confirmations/new.html.erb +14 -0
  240. data/base/app/views/devise/passwords/edit.html.erb +27 -18
  241. data/base/app/views/devise/passwords/new.html.erb +25 -22
  242. data/base/app/views/devise/registrations/_delete_account.html.erb +10 -18
  243. data/base/app/views/devise/registrations/_edit_user.html.erb +28 -46
  244. data/base/app/views/devise/registrations/edit.html.erb +6 -12
  245. data/base/app/views/devise/registrations/new.html.erb +39 -39
  246. data/base/app/views/devise/sessions/_form.html.erb +34 -0
  247. data/base/app/views/devise/sessions/new.html.erb +4 -33
  248. data/base/app/views/devise/shared/_links.erb +21 -19
  249. data/base/app/views/explore/_explore.html.erb +19 -0
  250. data/base/app/views/explore/_followed.html.erb +16 -0
  251. data/base/app/views/explore/_header.html.erb +12 -0
  252. data/base/app/views/explore/_index.html.erb +19 -0
  253. data/base/app/views/explore/_last.html.erb +18 -0
  254. data/base/app/views/explore/_last_active.html.erb +12 -0
  255. data/base/app/views/explore/_last_registered.html.erb +11 -0
  256. data/base/app/views/explore/_likes.html.erb +15 -0
  257. data/base/app/views/explore/_members.html.erb +12 -0
  258. data/base/app/views/explore/_participants.html.erb +17 -0
  259. data/base/app/views/explore/_resources.html.erb +19 -0
  260. data/base/app/views/explore/_resources_last_uploaded.html.erb +11 -0
  261. data/base/app/views/explore/_resources_most_visited.html.erb +11 -0
  262. data/base/app/views/explore/_search.html.erb +1 -0
  263. data/base/app/views/explore/_tags.html.erb +145 -0
  264. data/base/app/views/explore/_timeline.html.erb +2 -0
  265. data/base/app/views/explore/_trending.html.erb +18 -0
  266. data/base/app/views/explore/index.html.erb +1 -0
  267. data/base/app/views/followers/index.html.erb +29 -25
  268. data/base/app/views/followers/update.js.erb +1 -1
  269. data/base/app/views/frontpage/_characteristics.html.erb +23 -0
  270. data/base/app/views/frontpage/_presentation.html.erb +3 -0
  271. data/base/app/views/frontpage/_presentation_default.html.erb +27 -0
  272. data/base/app/views/frontpage/_sponsor.html.erb +3 -12
  273. data/base/app/views/frontpage/index.html.erb +5 -67
  274. data/base/app/views/groups/_group.html.erb +2 -4
  275. data/base/app/views/groups/_index.html.erb +1 -1
  276. data/base/app/views/groups/_new.html.erb +43 -77
  277. data/base/app/views/groups/_quick_search_result.html.erb +1 -0
  278. data/base/app/views/groups/_search_result.html.erb +1 -0
  279. data/base/app/views/groups/_show.html.erb +7 -31
  280. data/base/app/views/groups/_timeline.html.erb +3 -0
  281. data/base/app/views/groups/new.html.erb +7 -7
  282. data/base/app/views/groups/show.html.erb +16 -0
  283. data/base/app/views/home/index.html.erb +7 -17
  284. data/base/app/views/home/index.js.erb +2 -2
  285. data/base/app/views/invitations/_new.html.erb +15 -23
  286. data/base/app/views/invitations/new.html.erb +5 -7
  287. data/base/app/views/layouts/_account.html.erb +17 -15
  288. data/base/app/views/layouts/_explanation.html.erb +10 -0
  289. data/base/app/views/layouts/_footer.html.erb +16 -13
  290. data/base/app/views/layouts/_header.erb +4 -4
  291. data/base/app/views/layouts/_header_dropdown_menu.html.erb +28 -18
  292. data/base/app/views/layouts/_header_dropdown_menu_sessions.html.erb +14 -14
  293. data/base/app/views/layouts/_header_signed_in.erb +72 -41
  294. data/base/app/views/layouts/_header_signed_out.erb +6 -33
  295. data/base/app/views/layouts/_loading.html.erb +6 -0
  296. data/base/app/views/layouts/_logo-in.html.erb +17 -0
  297. data/base/app/views/layouts/_logo-out.html.erb +17 -0
  298. data/base/app/views/layouts/_logo_in.html.erb +17 -0
  299. data/base/app/views/layouts/_more.html.erb +7 -0
  300. data/base/app/views/layouts/application.html.erb +12 -29
  301. data/base/app/views/likes/create.js.erb +1 -1
  302. data/base/app/views/likes/destroy.js.erb +1 -1
  303. data/base/app/views/{activities/index.html.erb → loading/_loaging.html.erb} +0 -0
  304. data/base/app/views/messages/_form.html.erb +33 -35
  305. data/base/app/views/messages/_message.html.erb +24 -29
  306. data/base/app/views/messages/_new.html.erb +0 -7
  307. data/base/app/views/messages/new.html.erb +9 -30
  308. data/base/app/views/messages/new.js.erb +1 -24
  309. data/base/app/views/notifications/_index.html.erb +17 -18
  310. data/base/app/views/notifications/_notification.html.erb +11 -40
  311. data/base/app/views/notifications/activities/_follow.html.erb +2 -7
  312. data/base/app/views/notifications/activities/_follow.text.erb +0 -2
  313. data/base/app/views/notifications/activities/_join.text.erb +0 -2
  314. data/base/app/views/notifications/activities/_like.html.erb +4 -17
  315. data/base/app/views/notifications/activities/_make-friend.html.erb +4 -10
  316. data/base/app/views/notifications/activities/_post.html.erb +2 -5
  317. data/base/app/views/notifications/activities/_update.html.erb +3 -11
  318. data/base/app/views/notifications/index.html.erb +5 -6
  319. data/base/app/views/objects/_counters.html.erb +5 -0
  320. data/base/app/views/objects/_form_privacy.html.erb +4 -0
  321. data/base/app/views/objects/_show.html.erb +2 -2
  322. data/base/app/views/objects/_timeline_description.html.erb +3 -0
  323. data/base/app/views/permissions/_index.html.erb +15 -37
  324. data/base/app/views/posts/_post.html.erb +1 -1
  325. data/base/app/views/posts/_quick_search_result.html.erb +3 -0
  326. data/base/app/views/posts/_search_result.html.erb +1 -0
  327. data/base/app/views/posts/_timeline.html.erb +1 -0
  328. data/base/app/views/posts/create.js.erb +1 -1
  329. data/base/app/views/posts/show.html.erb +5 -3
  330. data/base/app/views/profiles/_avatar.html.erb +16 -0
  331. data/base/app/views/profiles/_comunication-info.html.erb +98 -0
  332. data/base/app/views/profiles/_edit_icon.html.erb +6 -0
  333. data/base/app/views/profiles/_empty.html.erb +1 -0
  334. data/base/app/views/profiles/_experience.html.erb +26 -21
  335. data/base/app/views/profiles/_personal.html.erb +104 -71
  336. data/base/app/views/profiles/_profile.html.erb +29 -36
  337. data/base/app/views/profiles/_tags.html.erb +24 -20
  338. data/base/app/views/profiles/show.html.erb +9 -9
  339. data/base/app/views/profiles/update.js.erb +9 -8
  340. data/base/app/views/relation/customs/_custom.html.erb +27 -0
  341. data/base/app/views/relation/customs/_form.html.erb +3 -3
  342. data/base/app/views/relation/customs/_list.html.erb +13 -67
  343. data/base/app/views/relation/customs/create.js.erb +8 -18
  344. data/base/app/views/relation/customs/destroy.js.erb +8 -0
  345. data/base/app/views/relation/customs/index.html.erb +20 -39
  346. data/base/app/views/relation/customs/update.js.erb +9 -9
  347. data/base/app/views/repositories/_filter.html.erb +1 -0
  348. data/base/app/views/repositories/show.html.erb +26 -0
  349. data/base/app/views/search/_index.html.erb +39 -12
  350. data/base/app/views/search/_quick.html.erb +13 -0
  351. data/base/app/views/search/_results.html.erb +4 -0
  352. data/base/app/views/search/index.html.erb +1 -5
  353. data/base/app/views/settings/_api_key.html.erb +8 -16
  354. data/base/app/views/settings/_destroy.html.erb +7 -7
  355. data/base/app/views/settings/_index.html.erb +27 -8
  356. data/base/app/views/settings/_language.html.erb +15 -24
  357. data/base/app/views/settings/_notifications.html.erb +21 -32
  358. data/base/app/views/settings/index.html.erb +4 -11
  359. data/base/app/views/sidebar/_groups.html.erb +7 -0
  360. data/base/app/views/sidebar/_groups_tag_cloud.html.erb +22 -0
  361. data/base/app/views/sidebar/_show.html.erb +5 -0
  362. data/base/app/views/sidebar/_suggestions_and_pendings.html.erb +4 -0
  363. data/base/app/views/subjects/_show.js.erb +1 -1
  364. data/base/app/views/subjects/_subject.html.erb +13 -6
  365. data/base/app/views/subjects/_timeline.html.erb +8 -0
  366. data/base/app/views/toolbar/_contacts.html.erb +18 -0
  367. data/base/app/views/toolbar/_groups.html.erb +18 -0
  368. data/base/app/views/toolbar/_home.html.erb +5 -0
  369. data/base/app/views/toolbar/_logo.html.erb +9 -11
  370. data/base/app/views/toolbar/_messages.html.erb +26 -0
  371. data/base/app/views/toolbar/_profile.html.erb +48 -0
  372. data/base/app/views/toolbar/_subject.html.erb +6 -10
  373. data/base/app/views/users/_index.html.erb +14 -17
  374. data/base/app/views/users/_quick_search_result.html.erb +1 -0
  375. data/base/app/views/users/_search_result.html.erb +1 -0
  376. data/base/app/views/users/_show.html.erb +7 -32
  377. data/base/app/views/users/_timeline.html.erb +3 -0
  378. data/base/app/views/users/_user.html.erb +2 -2
  379. data/base/app/views/users/show.html.erb +16 -0
  380. data/base/config/locales/devise.es.yml +59 -0
  381. data/base/config/locales/en.yml +109 -50
  382. data/base/config/locales/es.yml +105 -46
  383. data/base/config/routes.rb +29 -16
  384. data/base/db/migrate/20120326083509_create_social_stream.rb +31 -23
  385. data/base/db/migrate/20130125100112_sites_as_actor.rb +10 -0
  386. data/base/db/migrate/20130212092035_main_activity_object_properties.rb +18 -0
  387. data/base/db/migrate/20130305101231_move_avatars.rb +45 -0
  388. data/base/lib/generators/social_stream/base/install_generator.rb +5 -1
  389. data/base/lib/generators/social_stream/base/templates/initializer.rb +8 -0
  390. data/base/lib/generators/social_stream/base/templates/social_stream.css.sass +8 -0
  391. data/base/lib/logos/users/2.jpg +0 -0
  392. data/base/lib/mailboxer/social_stream.rb +4 -0
  393. data/base/lib/social_stream-base.rb +1 -143
  394. data/base/lib/social_stream/base.rb +61 -0
  395. data/base/lib/social_stream/base/ability.rb +1 -1
  396. data/base/lib/social_stream/base/autoload.rb +63 -0
  397. data/base/lib/social_stream/base/dependencies.rb +10 -4
  398. data/base/lib/social_stream/base/engine.rb +1 -29
  399. data/base/lib/social_stream/base/version.rb +1 -1
  400. data/base/lib/social_stream/controllers/helpers.rb +3 -3
  401. data/base/lib/social_stream/controllers/mark_notifications_read.rb +1 -1
  402. data/base/lib/social_stream/controllers/objects.rb +41 -33
  403. data/base/lib/social_stream/devise/controllers/user_sign_in.rb +36 -0
  404. data/base/lib/social_stream/models/object.rb +5 -0
  405. data/base/lib/social_stream/models/subject.rb +11 -0
  406. data/base/lib/social_stream/population/activity_object.rb +4 -3
  407. data/base/lib/social_stream/population/actor.rb +12 -0
  408. data/base/lib/social_stream/population/timestamps.rb +8 -2
  409. data/base/lib/social_stream/search.rb +25 -15
  410. data/base/lib/tasks/attachments.rake +12 -15
  411. data/base/lib/tasks/db/populate.rake +169 -177
  412. data/base/social_stream-base.gemspec +15 -11
  413. data/base/spec/controllers/contacts_controller_spec.rb +18 -20
  414. data/base/spec/controllers/explore_controller_spec.rb +41 -0
  415. data/base/spec/controllers/groups_controller_spec.rb +3 -21
  416. data/base/spec/controllers/home_controller_spec.rb +2 -2
  417. data/base/spec/controllers/notifications_controller_spec.rb +1 -1
  418. data/base/spec/controllers/permissions_controller_spec.rb +3 -3
  419. data/base/spec/controllers/profiles_controller_spec.rb +6 -26
  420. data/base/spec/controllers/users_controller_spec.rb +0 -12
  421. data/base/spec/factories/activity.rb +2 -2
  422. data/base/spec/models/activity_object_property_spec.rb +59 -0
  423. data/base/spec/models/activity_spec.rb +34 -19
  424. data/base/spec/models/actor_spec.rb +0 -29
  425. data/base/spec/models/like_spec.rb +46 -26
  426. data/base/spec/models/site/current_spec.rb +16 -0
  427. data/base/spec/models/site_spec.rb +0 -12
  428. data/base/spec/views/profiles_spec.rb +92 -0
  429. data/base/spec/views/settings_spec.rb +39 -0
  430. data/base/vendor/assets/javascripts/bootstrap-multiselect.js +231 -0
  431. data/base/vendor/assets/javascripts/jquery.autosize.js +180 -0
  432. data/base/vendor/assets/javascripts/jquery.browser.js +43 -0
  433. data/base/vendor/assets/javascripts/jquery.cleditor.js +1132 -0
  434. data/base/vendor/assets/javascripts/jquery.inview.js +125 -0
  435. data/config/locales/en.yml +3 -0
  436. data/config/locales/es.yml +3 -0
  437. data/documents/app/assets/images/icons/attach.png +0 -0
  438. data/documents/app/assets/javascripts/social_stream-documents.js +1 -1
  439. data/documents/app/assets/javascripts/social_stream/audio.js.erb +29 -0
  440. data/documents/app/assets/javascripts/social_stream/document.js +27 -0
  441. data/documents/app/assets/javascripts/social_stream/documents.timeline.js +11 -0
  442. data/documents/app/assets/javascripts/social_stream/documents.wall.js +48 -0
  443. data/documents/app/assets/javascripts/social_stream/video.js.erb +42 -0
  444. data/documents/app/assets/stylesheets/social_stream-documents.css.sass +49 -0
  445. data/documents/{spec/dummy/config/navigation.rb → app/assets/stylesheets/social_stream/documents/_toolbar.css.sass} +0 -0
  446. data/documents/app/assets/stylesheets/social_stream/documents/aside/_documents.css.sass +4 -0
  447. data/documents/app/assets/stylesheets/social_stream/documents/aside/layout/_documents.css.sass +30 -0
  448. data/documents/{spec/dummy/db/.gitkeep → app/assets/stylesheets/social_stream/documents/create/_new.css.sass} +0 -0
  449. data/documents/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +32 -0
  450. data/documents/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +4 -0
  451. data/documents/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +52 -0
  452. data/documents/app/assets/stylesheets/social_stream/documents/explore/_explore-documents.css.sass +12 -0
  453. data/documents/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +20 -0
  454. data/documents/app/assets/stylesheets/social_stream/documents/responsive/_responsive-1200px-min.css.sass +21 -0
  455. data/documents/app/assets/stylesheets/social_stream/documents/responsive/_responsive-767px-max.css.sass +58 -0
  456. data/documents/app/assets/stylesheets/social_stream/documents/responsive/_responsive-768px-979px.css.sass +54 -0
  457. data/documents/app/assets/stylesheets/social_stream/documents/search/_header.css.sass +25 -0
  458. data/documents/app/assets/stylesheets/social_stream/documents/search/layout/_header.css.sass +33 -0
  459. data/documents/app/assets/stylesheets/social_stream/documents/show/_show.css.sass +72 -0
  460. data/documents/app/assets/stylesheets/social_stream/documents/show/layout/_show.css.sass +112 -0
  461. data/documents/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +21 -0
  462. data/documents/app/assets/stylesheets/social_stream/documents/timeline/_wallinput.css.sass +10 -0
  463. data/documents/app/assets/stylesheets/social_stream/documents/timeline/layout/_audios.css.sass +67 -0
  464. data/documents/app/assets/stylesheets/social_stream/documents/timeline/layout/_wallinput.css.sass +10 -0
  465. data/documents/app/controllers/documents_controller.rb +16 -5
  466. data/documents/app/decorators/social_stream/base/activity_object_decorator.rb +1 -0
  467. data/documents/app/helpers/documents_helper.rb +35 -18
  468. data/documents/app/models/audio.rb +1 -6
  469. data/documents/app/models/document.rb +23 -28
  470. data/documents/app/models/picture.rb +0 -19
  471. data/documents/app/models/video.rb +0 -5
  472. data/documents/app/views/audios/_audio.html.erb +2 -11
  473. data/documents/app/views/audios/_audio_processed.html.erb +28 -23
  474. data/documents/app/views/audios/_audio_processing.html.erb +5 -5
  475. data/documents/app/views/audios/_quick_search_result.html.erb +3 -0
  476. data/documents/app/views/audios/_search_result.html.erb +1 -0
  477. data/documents/app/views/audios/_timeline.html.erb +11 -0
  478. data/documents/app/views/audios/index.html.erb +3 -1
  479. data/documents/app/views/common_documents/_document.html.erb +18 -0
  480. data/documents/app/views/common_documents/_filter.html.erb +1 -0
  481. data/documents/app/views/common_documents/_form.html.erb +44 -0
  482. data/documents/app/views/common_documents/_index.html.erb +27 -63
  483. data/documents/app/views/common_documents/_info.html.erb +50 -0
  484. data/documents/app/views/common_documents/_list.html.erb +2 -0
  485. data/documents/app/views/common_documents/_new.modal.html.erb +13 -0
  486. data/documents/app/views/common_documents/_new_button.html.erb +11 -0
  487. data/documents/app/views/common_documents/_quick_search_result.html.erb +19 -0
  488. data/documents/app/views/common_documents/_show.html.erb +76 -27
  489. data/documents/app/views/documents/_document.html.erb +2 -26
  490. data/documents/app/views/documents/_document_show.html.erb +2 -4
  491. data/documents/app/views/documents/_new_activity.html.erb +3 -1
  492. data/documents/app/views/documents/_quick_search_result.html.erb +3 -0
  493. data/documents/app/views/documents/_search_result.html.erb +1 -0
  494. data/documents/app/views/documents/_timeline.html.erb +15 -0
  495. data/documents/app/views/documents/index.html.erb +7 -1
  496. data/documents/app/views/documents/new.html.erb +9 -0
  497. data/documents/app/views/documents/search.html.erb +1 -1
  498. data/documents/app/views/pictures/_picture.html.erb +2 -41
  499. data/documents/app/views/pictures/_picture_show.html.erb +1 -16
  500. data/documents/app/views/pictures/_quick_search_result.html.erb +3 -0
  501. data/documents/app/views/pictures/_search_result.html.erb +1 -0
  502. data/documents/app/views/pictures/_timeline.html.erb +17 -0
  503. data/documents/app/views/pictures/index.html.erb +3 -1
  504. data/documents/app/views/videos/_quick_search_result.html.erb +3 -0
  505. data/documents/app/views/videos/_search_result.html.erb +1 -0
  506. data/documents/app/views/videos/_timeline.html.erb +9 -0
  507. data/documents/app/views/videos/_video.html.erb +2 -11
  508. data/documents/app/views/videos/_video_processed.html.erb +11 -15
  509. data/documents/app/views/videos/_video_processing.html.erb +6 -5
  510. data/documents/app/views/videos/_video_show.html.erb +1 -1
  511. data/documents/app/views/videos/index.html.erb +3 -1
  512. data/documents/config/locales/en.yml +25 -12
  513. data/documents/config/locales/es.yml +23 -12
  514. data/documents/lib/generators/social_stream/documents/install_generator.rb +2 -3
  515. data/documents/lib/generators/social_stream/documents/templates/initializer.rb +37 -9
  516. data/documents/lib/social_stream-documents.rb +56 -13
  517. data/documents/lib/social_stream/documents/dependencies.rb +1 -0
  518. data/documents/lib/social_stream/documents/engine.rb +5 -14
  519. data/documents/lib/social_stream/documents/models/activity_object.rb +18 -0
  520. data/documents/lib/social_stream/documents/version.rb +1 -1
  521. data/documents/lib/tasks/db/populate.rake +21 -0
  522. data/documents/social_stream-documents.gemspec +4 -1
  523. data/documents/spec/controllers/documents_controller_spec.rb +15 -9
  524. data/documents/spec/controllers/pictures_controller_spec.rb +8 -8
  525. data/documents/spec/socialstream_documents_spec.rb +6 -0
  526. data/documents/vendor/assets/stylesheets/jplayer.blue.monday.css +2 -1
  527. data/events/app/assets/javascripts/social_stream-events.js +1 -1
  528. data/events/app/assets/javascripts/social_stream/calendar.js.erb +135 -0
  529. data/events/app/assets/javascripts/social_stream/event.js +44 -0
  530. data/events/app/assets/javascripts/social_stream/events.action.js +36 -0
  531. data/events/app/assets/javascripts/social_stream/events.poster.js +23 -0
  532. data/events/app/assets/javascripts/social_stream/events.timeline.js +6 -0
  533. data/events/app/assets/javascripts/social_stream/fullcalendar.js +135 -0
  534. data/events/app/assets/stylesheets/social_stream-events.css.sass +42 -0
  535. data/events/app/assets/stylesheets/social_stream/events/calendar/_calendar.css.sass +63 -0
  536. data/events/app/assets/stylesheets/social_stream/events/calendar/_calendar_modal.css.sass +15 -0
  537. data/events/app/assets/stylesheets/social_stream/events/calendar/_calendar_sidebar.css.sass +50 -0
  538. data/events/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar.css.sass +28 -0
  539. data/events/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_modal.css.sass +60 -0
  540. data/events/app/assets/stylesheets/social_stream/events/calendar/layout/_calendar_sidebar.css.sass +26 -0
  541. data/events/app/assets/stylesheets/social_stream/events/explore/layout/_explore_timeline_events.css.sass +6 -0
  542. data/events/app/assets/stylesheets/social_stream/events/header_nav/layout/_header_nav_events.css.sass +2 -0
  543. data/events/app/assets/stylesheets/social_stream/events/repository/_repository.css.sass +16 -0
  544. data/events/app/assets/stylesheets/social_stream/events/repository/layout/_repository.css.sass +24 -0
  545. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-1200px-min.css.sass +34 -0
  546. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-767px-max.css.sass +77 -0
  547. data/events/app/assets/stylesheets/social_stream/events/responsive/_responsive-768px-979px.css.sass +32 -0
  548. data/events/app/assets/stylesheets/social_stream/events/timeline/_timeline_events.css.sass +66 -0
  549. data/events/app/assets/stylesheets/social_stream/events/timeline/layout/_timeline_events.css.sass +70 -0
  550. data/events/app/helpers/events_helper.rb +12 -1
  551. data/events/app/models/event.rb +7 -9
  552. data/events/app/overrides/layouts/_header_signed_in/icon_nav.html.erb.deface +8 -0
  553. data/events/app/overrides/settings/_index/add_rooms.html.erb.deface +6 -0
  554. data/events/app/overrides/sidebar/_show/add_calendar.html.erb.deface +5 -0
  555. data/events/app/views/events/_calendar_month.erb +3 -1
  556. data/events/app/views/events/_date.html.erb +17 -0
  557. data/events/app/views/events/_date_sidebar.html.erb +14 -0
  558. data/events/app/views/events/_details.html.erb +24 -0
  559. data/events/app/views/events/_event.html.erb +17 -9
  560. data/events/app/views/events/_event_sidebar.html.erb +3 -3
  561. data/events/app/views/events/_form_poster.html.erb +2 -2
  562. data/events/app/views/events/_new.html.erb +11 -20
  563. data/events/app/views/events/_poster.html.erb +13 -0
  564. data/events/app/views/events/_quick_search_result.html.erb +1 -0
  565. data/events/app/views/events/_search_result.html.erb +1 -0
  566. data/events/app/views/events/_timeline.html.erb +8 -0
  567. data/events/app/views/events/create.js.erb +4 -16
  568. data/events/app/views/events/edit.js.erb +2 -2
  569. data/events/app/views/events/index.html.erb +23 -91
  570. data/events/app/views/events/index.js.erb +1 -1
  571. data/events/app/views/rooms/_form.html.erb +11 -16
  572. data/events/app/views/rooms/_index.html.erb +3 -7
  573. data/events/app/views/settings/_rooms.html.erb +11 -0
  574. data/events/app/views/sidebar/_calendar.html.erb +48 -0
  575. data/events/config/locales/en.yml +6 -0
  576. data/events/config/locales/es.yml +6 -0
  577. data/events/lib/generators/social_stream/events/install_generator.rb +2 -3
  578. data/events/lib/social_stream-events.rb +3 -12
  579. data/events/lib/social_stream/events/engine.rb +0 -12
  580. data/events/lib/social_stream/events/version.rb +1 -1
  581. data/events/lib/tasks/db/populate.rake +44 -0
  582. data/events/social_stream-events.gemspec +2 -2
  583. data/events/spec/controllers/events_controller_spec.rb +20 -0
  584. data/events/spec/views/settings_spec.rb +39 -0
  585. data/lib/social_stream.rb +11 -1
  586. data/lib/social_stream/release/global/version_file.rb +1 -1
  587. data/lib/social_stream/version.rb +1 -1
  588. data/linkser/app/assets/javascripts/social_stream-linkser.js +1 -1
  589. data/linkser/app/assets/javascripts/social_stream/link.js +30 -0
  590. data/linkser/app/assets/javascripts/social_stream/linkser.timeline.js +6 -0
  591. data/linkser/app/assets/javascripts/social_stream/linkser.wall.js +91 -0
  592. data/linkser/app/assets/stylesheets/social_stream-linkser.css.sass +20 -0
  593. data/linkser/app/assets/stylesheets/social_stream/linkser/explore/search/layout/_search-result.css.sass +13 -0
  594. data/linkser/app/assets/stylesheets/social_stream/linkser/explore/timeline/layout/_timeline-result.css.sass +15 -0
  595. data/linkser/app/assets/stylesheets/social_stream/linkser/repository/_repository.css.sass +15 -0
  596. data/linkser/app/assets/stylesheets/social_stream/linkser/repository/layout/_repository.css.sass +27 -0
  597. data/linkser/app/assets/stylesheets/social_stream/linkser/timeline/_timeline-link.css.sass +26 -0
  598. data/linkser/app/assets/stylesheets/social_stream/linkser/timeline/layout/_timeline-link.css.sass +44 -0
  599. data/linkser/app/controllers/links_controller.rb +1 -1
  600. data/linkser/app/models/link.rb +14 -7
  601. data/linkser/app/views/links/_link.html.erb +14 -35
  602. data/linkser/app/views/links/_link_preview.html.erb +1 -1
  603. data/linkser/app/views/links/_new_activity.html.erb +6 -0
  604. data/linkser/app/views/links/_quick_search_result.html.erb +7 -0
  605. data/linkser/app/views/links/_search_result.html.erb +1 -0
  606. data/linkser/app/views/links/_timeline.html.erb +26 -0
  607. data/linkser/app/views/links/create.js.erb +3 -10
  608. data/linkser/app/views/links/show.html.erb +5 -3
  609. data/linkser/config/locales/en.yml +3 -1
  610. data/linkser/config/locales/es.yml +4 -2
  611. data/linkser/lib/generators/social_stream/linkser/install_generator.rb +2 -3
  612. data/linkser/lib/social_stream-linkser.rb +3 -4
  613. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  614. data/linkser/lib/tasks/db/populate.rake +20 -0
  615. data/linkser/social_stream-linkser.gemspec +1 -1
  616. data/oauth2_server/.gitignore +10 -0
  617. data/oauth2_server/Gemfile +5 -0
  618. data/oauth2_server/README.rdoc +3 -0
  619. data/oauth2_server/Rakefile +26 -0
  620. data/oauth2_server/app/assets/images/logos/small/site.png +0 -0
  621. data/oauth2_server/app/assets/javascripts/social_stream-oauth2_server.js +6 -0
  622. data/oauth2_server/app/assets/javascripts/social_stream/site_client.js +15 -0
  623. data/oauth2_server/app/assets/stylesheets/social_stream-oauth2_server.css.sass +24 -0
  624. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/_applications-oauth2server.css.sass +45 -0
  625. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/layout/_applications-oauth2server.css.sass +51 -0
  626. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/responsive/_responsive-1200px-min.css.sass +7 -0
  627. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/responsive/_responsive-767px-max.css.sass +35 -0
  628. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/applications/responsive/_responsive-768px-979px.css.sass +8 -0
  629. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/_create-oauth2server.css.sass +11 -0
  630. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/_error_create-oauth2server.css.sass +13 -0
  631. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/layout/_create-oauth2server.css.sass +19 -0
  632. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/responsive/_responsive-1200px-min.css.sass +7 -0
  633. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/responsive/_responsive-767px-max.css.sass +16 -0
  634. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/create/responsive/_responsive-768px-979px.css.sass +8 -0
  635. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/_show-oauth2server.css.sass +42 -0
  636. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/layout/_show-oauth2server.css.sass +71 -0
  637. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/responsive/_responsive-1200px-min.css.sass +7 -0
  638. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/responsive/_responsive-767px-max.css.sass +16 -0
  639. data/oauth2_server/app/assets/stylesheets/social_stream/oauth2_server/show/responsive/_responsive-768px-979px.css.sass +8 -0
  640. data/oauth2_server/app/controllers/authorizations_controller.rb +67 -0
  641. data/oauth2_server/app/controllers/site/clients_controller.rb +39 -0
  642. data/oauth2_server/app/decorators/social_stream/base/actor_decorator.rb +3 -0
  643. data/oauth2_server/app/decorators/social_stream/base/user_decorator.rb +3 -0
  644. data/oauth2_server/app/helpers/site_client_helper.rb +17 -0
  645. data/oauth2_server/app/models/oauth2_token.rb +33 -0
  646. data/oauth2_server/app/models/oauth2_token/access_token.rb +32 -0
  647. data/oauth2_server/app/models/oauth2_token/authorization_code.rb +5 -0
  648. data/oauth2_server/app/models/oauth2_token/refresh_token.rb +7 -0
  649. data/oauth2_server/app/models/relation/admin.rb +9 -0
  650. data/oauth2_server/app/models/relation/auth.rb +8 -0
  651. data/oauth2_server/app/models/site/client.rb +38 -0
  652. data/oauth2_server/app/overrides/frontpage/_presentation/client_site_presentation.html.erb.deface +8 -0
  653. data/oauth2_server/app/overrides/layouts/_header_dropdown_menu/applications_entry.html.erb.deface +4 -0
  654. data/oauth2_server/app/views/authorizations/error.html.erb +4 -0
  655. data/oauth2_server/app/views/authorizations/new.html.erb +27 -0
  656. data/oauth2_server/app/views/site/clients/_form.html.erb +39 -0
  657. data/oauth2_server/app/views/site/clients/_new.modal.html.erb +9 -0
  658. data/oauth2_server/app/views/site/clients/_presentation.html.erb +13 -0
  659. data/oauth2_server/app/views/site/clients/index.html.erb +42 -0
  660. data/oauth2_server/app/views/site/clients/new.html.erb +10 -0
  661. data/oauth2_server/app/views/site/clients/show.html.erb +44 -0
  662. data/oauth2_server/config/locales/en.yml +29 -0
  663. data/oauth2_server/config/locales/es.yml +29 -0
  664. data/oauth2_server/config/routes.rb +10 -0
  665. data/oauth2_server/db/migrate/20130115102300_create_social_stream_oauth2_server.rb +25 -0
  666. data/oauth2_server/lib/generators/social_stream/oauth2_server/install_generator.rb +23 -0
  667. data/oauth2_server/lib/social_stream-oauth2_server.rb +19 -0
  668. data/oauth2_server/lib/social_stream/migrations/oauth2_server.rb +8 -0
  669. data/oauth2_server/lib/social_stream/oauth2_server.rb +5 -0
  670. data/oauth2_server/lib/social_stream/oauth2_server/controllers/helpers.rb +41 -0
  671. data/oauth2_server/lib/social_stream/oauth2_server/engine.rb +21 -0
  672. data/oauth2_server/lib/social_stream/oauth2_server/models/actor.rb +11 -0
  673. data/oauth2_server/lib/social_stream/oauth2_server/models/user.rb +35 -0
  674. data/oauth2_server/lib/social_stream/oauth2_server/token_endpoint.rb +41 -0
  675. data/oauth2_server/lib/social_stream/oauth2_server/version.rb +5 -0
  676. data/oauth2_server/lib/tasks/db/populate.rake +37 -0
  677. data/oauth2_server/social_stream-oauth2_server.gemspec +19 -0
  678. data/oauth2_server/spec/controllers/authorizations_controller_spec.rb +179 -0
  679. data/oauth2_server/spec/controllers/dummy_controller_spec.rb +43 -0
  680. data/oauth2_server/spec/factories/site_client.rb +6 -0
  681. data/oauth2_server/spec/models/relation/auth_spec.rb +15 -0
  682. data/oauth2_server/spec/models/site/client_spec.rb +22 -0
  683. data/ostatus/Rakefile +2 -0
  684. data/ostatus/app/assets/images/logos/medium/remote_subject.png +0 -0
  685. data/ostatus/app/assets/images/logos/small/remote_subject.png +0 -0
  686. data/ostatus/app/assets/images/logos/small/site.png +0 -0
  687. data/ostatus/app/views/remote_subjects/_show.html.erb +6 -5
  688. data/ostatus/db/migrate/20120905145030_create_social_stream_ostatus.rb +13 -7
  689. data/ostatus/lib/social_stream/ostatus/version.rb +1 -1
  690. data/ostatus/social_stream-ostatus.gemspec +1 -1
  691. data/places/.gitignore +10 -0
  692. data/places/Gemfile +5 -0
  693. data/places/README.rdoc +3 -0
  694. data/places/Rakefile +26 -0
  695. data/places/app/assets/images/icons/places_ico-50.png +0 -0
  696. data/places/app/assets/javascripts/form.js +120 -0
  697. data/places/app/assets/javascripts/social_stream-places.js +10 -0
  698. data/places/app/assets/stylesheets/social_stream-places.css.sass +4 -0
  699. data/places/app/assets/stylesheets/social_stream/places/_carousel.css.sass +14 -0
  700. data/places/app/assets/stylesheets/social_stream/places/_maps.css.sass +16 -0
  701. data/places/app/assets/stylesheets/social_stream/places/_places.css.sass +9 -0
  702. data/places/app/assets/stylesheets/social_stream/places/icons/places_icon.css.css +22 -0
  703. data/places/app/controllers/places_controller.rb +32 -0
  704. data/places/app/decorators/social_stream/base/activity_object_decorator.rb +3 -0
  705. data/places/app/helpers/places_helper.rb +32 -0
  706. data/places/app/models/address.rb +30 -0
  707. data/places/app/models/geotag.rb +20 -0
  708. data/places/app/models/place.rb +45 -0
  709. data/places/app/views/places/_carousel.html.erb +21 -0
  710. data/places/app/views/places/_form.html.erb +64 -0
  711. data/places/app/views/places/_form_description.html.erb +9 -0
  712. data/places/app/views/places/_form_photo.html.erb +12 -0
  713. data/places/app/views/places/_info.html.erb +35 -0
  714. data/places/app/views/places/_map_form.html.erb +7 -0
  715. data/places/app/views/places/_place.html.erb +14 -0
  716. data/places/app/views/places/_place_info.html.erb +7 -0
  717. data/places/app/views/places/index.html.erb +7 -0
  718. data/places/app/views/places/new.html.erb +10 -0
  719. data/places/app/views/places/show.html.erb +73 -0
  720. data/places/app/views/shared/_address_form.html.erb +15 -0
  721. data/places/config/locales/en.yml +93 -0
  722. data/places/config/locales/es.yml +85 -0
  723. data/places/config/routes.rb +2 -0
  724. data/places/db/migrate/20130114184300_create_social_stream_places.rb +42 -0
  725. data/places/lib/generators/social_stream/places/install_generator.rb +25 -0
  726. data/places/lib/social_stream-places.rb +16 -0
  727. data/places/lib/social_stream/migrations/places.rb +8 -0
  728. data/places/lib/social_stream/places/engine.rb +7 -0
  729. data/places/lib/social_stream/places/models/activity_object.rb +38 -0
  730. data/places/lib/social_stream/places/version.rb +5 -0
  731. data/places/lib/tasks/db/populate.rake +63 -0
  732. data/places/social_stream-places.gemspec +20 -0
  733. data/places/vendor/assets/javascripts/gmaps4rails/gmaps4rails.base.js.coffee +501 -0
  734. data/places/vendor/assets/javascripts/gmaps4rails/gmaps4rails.bing.js.coffee +163 -0
  735. data/places/vendor/assets/javascripts/gmaps4rails/gmaps4rails.googlemaps.js.coffee +263 -0
  736. data/places/vendor/assets/javascripts/gmaps4rails/gmaps4rails.mapquest.js.coffee +134 -0
  737. data/places/vendor/assets/javascripts/gmaps4rails/gmaps4rails.openlayers.js.coffee +209 -0
  738. data/places/vendor/assets/stylesheets/gmaps4rails.css +24 -0
  739. data/presence/app/assets/images/chat-off.png +0 -0
  740. data/presence/app/assets/images/chat-on.png +0 -0
  741. data/presence/app/assets/javascripts/jquery.ui.chatbox.sstreampresence.js +3 -5
  742. data/presence/app/assets/javascripts/presence_XmppClient.js.erb +6 -2
  743. data/presence/app/assets/javascripts/presence_uiManager.js.erb +1 -1
  744. data/presence/app/assets/javascripts/presence_windowManager.js +1 -1
  745. data/presence/app/assets/stylesheets/social_stream-presence.css.sass +9 -0
  746. data/presence/app/assets/stylesheets/social_stream/presence/_toolbar-chat.css.sass +65 -0
  747. data/presence/app/assets/stylesheets/social_stream/presence/_wrapper-chatBox.css.sass +25 -0
  748. data/presence/app/assets/stylesheets/social_stream/responsive/_responsive-1200px-min.css.sass +9 -0
  749. data/presence/app/assets/stylesheets/social_stream/responsive/_responsive-767px-max.css.sass +16 -0
  750. data/presence/app/assets/stylesheets/social_stream/responsive/_responsive-768px-979px.css.sass +9 -0
  751. data/presence/app/overrides/settings/_index/add_chat.html.erb.deface +6 -0
  752. data/presence/app/overrides/toolbar/_home/add_chat.html.erb.deface +3 -0
  753. data/presence/app/overrides/toolbar/_profile/add_chat.html.erb.deface +4 -0
  754. data/presence/app/views/chat/_contacts.html.erb +1 -1
  755. data/presence/app/views/chat/_index.html.erb +126 -94
  756. data/presence/app/views/settings/_chat.html.erb +23 -0
  757. data/presence/config/locales/en.yml +5 -5
  758. data/presence/config/locales/es.yml +5 -5
  759. data/presence/lib/generators/social_stream/presence/install_generator.rb +2 -3
  760. data/presence/lib/social_stream-presence.rb +0 -10
  761. data/presence/lib/social_stream/presence/engine.rb +0 -11
  762. data/presence/lib/social_stream/presence/version.rb +1 -1
  763. data/presence/social_stream-presence.gemspec +2 -2
  764. data/presence/spec/views/settings_spec.rb +41 -0
  765. data/social_stream.gemspec +14 -16
  766. data/spec/dummy/.gitignore +2 -1
  767. data/spec/dummy/app/assets/javascripts/application.js +1 -0
  768. data/spec/dummy/app/assets/stylesheets/application.css.sass +8 -0
  769. data/spec/dummy/app/assets/stylesheets/social_stream.css.sass +13 -0
  770. data/spec/dummy/app/controllers/dummy_controller.rb +4 -0
  771. data/{documents/spec/dummy/public/favicon.ico → spec/dummy/app/views/dummy/index.html.erb} +0 -0
  772. data/spec/dummy/config/database.yml +10 -8
  773. data/spec/dummy/config/environments/development.rb +2 -0
  774. data/spec/dummy/config/initializers/devise.rb +67 -25
  775. data/spec/dummy/config/initializers/social_stream-presence.rb +44 -0
  776. data/spec/dummy/config/routes.rb +2 -0
  777. data/spec/dummy/config/sphinx.yml +12 -0
  778. data/spec/dummy/public/404.html +321 -24
  779. data/spec/dummy/public/500.html +72 -17
  780. data/spec/support/db.rb +7 -1
  781. metadata +554 -610
  782. data/base/app/assets/images/Jcrop.gif +0 -0
  783. data/base/app/assets/images/arrow-end.png +0 -0
  784. data/base/app/assets/images/arrow-start.png +0 -0
  785. data/base/app/assets/images/arrow.png +0 -0
  786. data/base/app/assets/images/big-logo.png +0 -0
  787. data/base/app/assets/images/btn/1-facebook.png +0 -0
  788. data/base/app/assets/images/btn/activity.png +0 -0
  789. data/base/app/assets/images/btn/arrowBlue.png +0 -0
  790. data/base/app/assets/images/btn/arrow_session_change.png +0 -0
  791. data/base/app/assets/images/btn/arrows-ffffff.png +0 -0
  792. data/base/app/assets/images/btn/bold.png +0 -0
  793. data/base/app/assets/images/btn/btn_account.png +0 -0
  794. data/base/app/assets/images/btn/btn_activities.png +0 -0
  795. data/base/app/assets/images/btn/btn_bookmark.png +0 -0
  796. data/base/app/assets/images/btn/btn_browse.png +0 -0
  797. data/base/app/assets/images/btn/btn_check.png +0 -0
  798. data/base/app/assets/images/btn/btn_close.png +0 -0
  799. data/base/app/assets/images/btn/btn_comment.png +0 -0
  800. data/base/app/assets/images/btn/btn_comment_add.png +0 -0
  801. data/base/app/assets/images/btn/btn_config.png +0 -0
  802. data/base/app/assets/images/btn/btn_date.png +0 -0
  803. data/base/app/assets/images/btn/btn_delete.png +0 -0
  804. data/base/app/assets/images/btn/btn_down.png +0 -0
  805. data/base/app/assets/images/btn/btn_edit.png +0 -0
  806. data/base/app/assets/images/btn/btn_exit.png +0 -0
  807. data/base/app/assets/images/btn/btn_find.png +0 -0
  808. data/base/app/assets/images/btn/btn_follow.png +0 -0
  809. data/base/app/assets/images/btn/btn_foward.png +0 -0
  810. data/base/app/assets/images/btn/btn_friend.png +0 -0
  811. data/base/app/assets/images/btn/btn_gallery.png +0 -0
  812. data/base/app/assets/images/btn/btn_group.png +0 -0
  813. data/base/app/assets/images/btn/btn_help.png +0 -0
  814. data/base/app/assets/images/btn/btn_home.png +0 -0
  815. data/base/app/assets/images/btn/btn_inbox.png +0 -0
  816. data/base/app/assets/images/btn/btn_info.png +0 -0
  817. data/base/app/assets/images/btn/btn_invitation.png +0 -0
  818. data/base/app/assets/images/btn/btn_like.png +0 -0
  819. data/base/app/assets/images/btn/btn_next.png +0 -0
  820. data/base/app/assets/images/btn/btn_notification.png +0 -0
  821. data/base/app/assets/images/btn/btn_notification_delete.png +0 -0
  822. data/base/app/assets/images/btn/btn_notification_read.png +0 -0
  823. data/base/app/assets/images/btn/btn_notifications.png +0 -0
  824. data/base/app/assets/images/btn/btn_page_link.png +0 -0
  825. data/base/app/assets/images/btn/btn_partner.png +0 -0
  826. data/base/app/assets/images/btn/btn_photo.png +0 -0
  827. data/base/app/assets/images/btn/btn_play.png +0 -0
  828. data/base/app/assets/images/btn/btn_printer.png +0 -0
  829. data/base/app/assets/images/btn/btn_profile.png +0 -0
  830. data/base/app/assets/images/btn/btn_rank.png +0 -0
  831. data/base/app/assets/images/btn/btn_read.png +0 -0
  832. data/base/app/assets/images/btn/btn_send.png +0 -0
  833. data/base/app/assets/images/btn/btn_spam.png +0 -0
  834. data/base/app/assets/images/btn/btn_star.png +0 -0
  835. data/base/app/assets/images/btn/btn_tag.png +0 -0
  836. data/base/app/assets/images/btn/btn_write.png +0 -0
  837. data/base/app/assets/images/btn/cheese_close_edit.png +0 -0
  838. data/base/app/assets/images/btn/cheese_edit.png +0 -0
  839. data/base/app/assets/images/btn/close.png +0 -0
  840. data/base/app/assets/images/btn/date.png +0 -0
  841. data/base/app/assets/images/btn/delete.png +0 -0
  842. data/base/app/assets/images/btn/download.png +0 -0
  843. data/base/app/assets/images/btn/flag.png +0 -0
  844. data/base/app/assets/images/btn/group_left.png +0 -0
  845. data/base/app/assets/images/btn/group_right.png +0 -0
  846. data/base/app/assets/images/btn/header_notifications.png +0 -0
  847. data/base/app/assets/images/btn/index_71.png +0 -0
  848. data/base/app/assets/images/btn/info.png +0 -0
  849. data/base/app/assets/images/btn/italic.png +0 -0
  850. data/base/app/assets/images/btn/like.png +0 -0
  851. data/base/app/assets/images/btn/message_conversation.png +0 -0
  852. data/base/app/assets/images/btn/message_inbox.png +0 -0
  853. data/base/app/assets/images/btn/message_new.png +0 -0
  854. data/base/app/assets/images/btn/message_sentbox.png +0 -0
  855. data/base/app/assets/images/btn/message_trash.png +0 -0
  856. data/base/app/assets/images/btn/new.png +0 -0
  857. data/base/app/assets/images/btn/next_conference.png +0 -0
  858. data/base/app/assets/images/btn/next_space.png +0 -0
  859. data/base/app/assets/images/btn/nolike.png +0 -0
  860. data/base/app/assets/images/btn/notifications.png +0 -0
  861. data/base/app/assets/images/btn/permission_negative.png +0 -0
  862. data/base/app/assets/images/btn/permission_positive.png +0 -0
  863. data/base/app/assets/images/btn/pixel.png +0 -0
  864. data/base/app/assets/images/btn/point_blue.png +0 -0
  865. data/base/app/assets/images/btn/point_gray.png +0 -0
  866. data/base/app/assets/images/btn/post.png +0 -0
  867. data/base/app/assets/images/btn/public.png +0 -0
  868. data/base/app/assets/images/btn/restricted.png +0 -0
  869. data/base/app/assets/images/btn/search.png +0 -0
  870. data/base/app/assets/images/btn/search_icon.png +0 -0
  871. data/base/app/assets/images/btn/shadow.png +0 -0
  872. data/base/app/assets/images/btn/share.png +0 -0
  873. data/base/app/assets/images/btn/subtime.png +0 -0
  874. data/base/app/assets/images/btn/success.png +0 -0
  875. data/base/app/assets/images/btn/tag_cloud.png +0 -0
  876. data/base/app/assets/images/btn/twitter-follow-icon.png +0 -0
  877. data/base/app/assets/images/btn/twitter.png +0 -0
  878. data/base/app/assets/images/btn/uno.png +0 -0
  879. data/base/app/assets/images/btn/viewer.png +0 -0
  880. data/base/app/assets/images/btn/warning.png +0 -0
  881. data/base/app/assets/images/flags/de.png +0 -0
  882. data/base/app/assets/images/flags/fr.png +0 -0
  883. data/base/app/assets/images/flags/hu.png +0 -0
  884. data/base/app/assets/images/flags/nl.png +0 -0
  885. data/base/app/assets/images/frontpage/collaborate.png +0 -0
  886. data/base/app/assets/images/frontpage/comments.png +0 -0
  887. data/base/app/assets/images/frontpage/green_sq.png +0 -0
  888. data/base/app/assets/images/frontpage/meet.png +0 -0
  889. data/base/app/assets/images/frontpage/people.png +0 -0
  890. data/base/app/assets/images/frontpage/purple_sq.png +0 -0
  891. data/base/app/assets/images/frontpage/right_comments.gif +0 -0
  892. data/base/app/assets/images/frontpage/right_conference.png +0 -0
  893. data/base/app/assets/images/frontpage/right_organizers.gif +0 -0
  894. data/base/app/assets/images/frontpage/right_people.gif +0 -0
  895. data/base/app/assets/images/frontpage/right_social.gif +0 -0
  896. data/base/app/assets/images/frontpage/right_tags.gif +0 -0
  897. data/base/app/assets/images/frontpage/right_webcam.gif +0 -0
  898. data/base/app/assets/images/frontpage/share.png +0 -0
  899. data/base/app/assets/images/frontpage/tags.png +0 -0
  900. data/base/app/assets/images/frontpage/yellow_sq.png +0 -0
  901. data/base/app/assets/images/icon_checkbox.png +0 -0
  902. data/base/app/assets/images/left.png +0 -0
  903. data/base/app/assets/images/lightbox-blank.gif +0 -0
  904. data/base/app/assets/images/lightbox-btn-close.gif +0 -0
  905. data/base/app/assets/images/lightbox-btn-next.gif +0 -0
  906. data/base/app/assets/images/lightbox-btn-prev.gif +0 -0
  907. data/base/app/assets/images/lightbox-ico-loading.gif +0 -0
  908. data/base/app/assets/images/loader.gif +0 -0
  909. data/base/app/assets/images/loading.gif +0 -0
  910. data/base/app/assets/images/logo.png +0 -0
  911. data/base/app/assets/images/logos/actor/group.png +0 -0
  912. data/base/app/assets/images/logos/actor/user.png +0 -0
  913. data/base/app/assets/images/logos/contact/group.png +0 -0
  914. data/base/app/assets/images/logos/contact/user.png +0 -0
  915. data/base/app/assets/images/logos/profile/group.png +0 -0
  916. data/base/app/assets/images/logos/profile/user.png +0 -0
  917. data/base/app/assets/images/logos/representation/group.png +0 -0
  918. data/base/app/assets/images/logos/representation/user.png +0 -0
  919. data/base/app/assets/images/mini-loading.gif +0 -0
  920. data/base/app/assets/images/right.png +0 -0
  921. data/base/app/assets/images/tipsy.gif +0 -0
  922. data/base/app/assets/javascripts/activities.js.erb +0 -49
  923. data/base/app/assets/javascripts/activities_security_chosen-modified.jquery.js +0 -767
  924. data/base/app/assets/javascripts/cheesecake.js +0 -6
  925. data/base/app/assets/javascripts/contacts.js +0 -4
  926. data/base/app/assets/javascripts/conversations.js +0 -3
  927. data/base/app/assets/javascripts/groups.js +0 -5
  928. data/base/app/assets/javascripts/invitations.js +0 -8
  929. data/base/app/assets/javascripts/jquery.ad-gallery.js +0 -850
  930. data/base/app/assets/javascripts/jquery.ad-gallery.pack.js +0 -10
  931. data/base/app/assets/javascripts/layouts.js +0 -20
  932. data/base/app/assets/javascripts/messages.js +0 -4
  933. data/base/app/assets/javascripts/preloader.js +0 -6
  934. data/base/app/assets/javascripts/profiles.js +0 -9
  935. data/base/app/assets/javascripts/relation_customs.js +0 -32
  936. data/base/app/assets/javascripts/search.js.erb +0 -3
  937. data/base/app/assets/javascripts/settings.js +0 -14
  938. data/base/app/assets/javascripts/social_stream.action.js +0 -40
  939. data/base/app/assets/javascripts/social_stream.activity.js +0 -16
  940. data/base/app/assets/javascripts/social_stream.comments.js +0 -95
  941. data/base/app/assets/javascripts/social_stream.follow.js +0 -23
  942. data/base/app/assets/javascripts/social_stream.objects.js +0 -23
  943. data/base/app/assets/javascripts/social_stream.search.js.erb +0 -29
  944. data/base/app/assets/javascripts/social_stream.timeline.js +0 -79
  945. data/base/app/assets/javascripts/social_stream.toolbar.js +0 -41
  946. data/base/app/assets/javascripts/social_stream.wall.js.erb +0 -159
  947. data/base/app/assets/javascripts/ties.js +0 -67
  948. data/base/app/assets/javascripts/users.js +0 -2
  949. data/base/app/assets/stylesheets/_colors.scss +0 -26
  950. data/base/app/assets/stylesheets/activities.css.scss.erb +0 -101
  951. data/base/app/assets/stylesheets/base.css.scss +0 -257
  952. data/base/app/assets/stylesheets/cheesecake.css.scss +0 -372
  953. data/base/app/assets/stylesheets/contacts.css.scss +0 -100
  954. data/base/app/assets/stylesheets/conversations.css +0 -4
  955. data/base/app/assets/stylesheets/footer.css.scss +0 -22
  956. data/base/app/assets/stylesheets/frontpage.css.scss +0 -70
  957. data/base/app/assets/stylesheets/groups.css +0 -4
  958. data/base/app/assets/stylesheets/header.css.scss +0 -205
  959. data/base/app/assets/stylesheets/home.css.scss +0 -53
  960. data/base/app/assets/stylesheets/images/add-policy.png +0 -0
  961. data/base/app/assets/stylesheets/images/fcbkcomplete/close.gif +0 -0
  962. data/base/app/assets/stylesheets/images/loading.gif +0 -0
  963. data/base/app/assets/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  964. data/base/app/assets/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  965. data/base/app/assets/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  966. data/base/app/assets/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  967. data/base/app/assets/stylesheets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  968. data/base/app/assets/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  969. data/base/app/assets/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  970. data/base/app/assets/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  971. data/base/app/assets/stylesheets/images/ui-icons_222222_256x240.png +0 -0
  972. data/base/app/assets/stylesheets/images/ui-icons_2e83ff_256x240.png +0 -0
  973. data/base/app/assets/stylesheets/images/ui-icons_454545_256x240.png +0 -0
  974. data/base/app/assets/stylesheets/images/ui-icons_888888_256x240.png +0 -0
  975. data/base/app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png +0 -0
  976. data/base/app/assets/stylesheets/invitations.css +0 -3
  977. data/base/app/assets/stylesheets/location.css.scss +0 -38
  978. data/base/app/assets/stylesheets/menu.css.scss +0 -19
  979. data/base/app/assets/stylesheets/messages.css.scss +0 -141
  980. data/base/app/assets/stylesheets/opa75.png +0 -0
  981. data/base/app/assets/stylesheets/profiles.css +0 -4
  982. data/base/app/assets/stylesheets/relation_customs.css.scss +0 -233
  983. data/base/app/assets/stylesheets/search.css.scss +0 -165
  984. data/base/app/assets/stylesheets/settings.css +0 -21
  985. data/base/app/assets/stylesheets/social_stream-base.css.scss +0 -13
  986. data/base/app/assets/stylesheets/ties.css.scss +0 -12
  987. data/base/app/assets/stylesheets/toolbar.css +0 -10
  988. data/base/app/assets/stylesheets/users.css +0 -4
  989. data/base/app/controllers/cheesecake_controller.rb +0 -21
  990. data/base/app/helpers/settings_helper.rb +0 -9
  991. data/base/app/helpers/sidebar_helper.rb +0 -10
  992. data/base/app/helpers/toolbar_helper.rb +0 -93
  993. data/base/app/views/activities/_options.html.erb +0 -32
  994. data/base/app/views/activities/_wall.html.erb +0 -11
  995. data/base/app/views/activities/index.js.erb +0 -3
  996. data/base/app/views/actors/_actor_cheesecake.html.erb +0 -24
  997. data/base/app/views/cheesecake/_cheesecake.html.erb +0 -224
  998. data/base/app/views/cheesecake/_index.html.erb +0 -141
  999. data/base/app/views/cheesecake/_sector_form.html.erb +0 -269
  1000. data/base/app/views/cheesecake/index.html.erb +0 -12
  1001. data/base/app/views/cheesecake/update.js.erb +0 -3
  1002. data/base/app/views/comments/_comment_focus_search.html.erb +0 -37
  1003. data/base/app/views/comments/_comment_global_search.html.erb +0 -18
  1004. data/base/app/views/comments/_comment_with_details.html.erb +0 -3
  1005. data/base/app/views/contacts/_index.html.erb +0 -40
  1006. data/base/app/views/contacts/_suggestions_and_pendings.html.erb +0 -6
  1007. data/base/app/views/contacts/edit.html.erb +0 -6
  1008. data/base/app/views/contacts/index.js.erb +0 -3
  1009. data/base/app/views/conversations/_conversations.html.erb +0 -5
  1010. data/base/app/views/frontpage/_caracteristics.html.erb +0 -23
  1011. data/base/app/views/frontpage/_social_networks.html.erb +0 -3
  1012. data/base/app/views/groups/_group_focus_search.html.erb +0 -2
  1013. data/base/app/views/groups/_group_global_search.html.erb +0 -2
  1014. data/base/app/views/groups/_group_with_details.html.erb +0 -2
  1015. data/base/app/views/groups/_tag_cloud.html.erb +0 -25
  1016. data/base/app/views/groups/index.html.erb +0 -57
  1017. data/base/app/views/home/_groups.html.erb +0 -24
  1018. data/base/app/views/layouts/_devise_style.html.erb +0 -30
  1019. data/base/app/views/layouts/_flash.html.erb +0 -5
  1020. data/base/app/views/layouts/_representation.html.erb +0 -28
  1021. data/base/app/views/layouts/_search.html.erb +0 -62
  1022. data/base/app/views/layouts/frontpage.html.erb +0 -43
  1023. data/base/app/views/message_mailer/new_message_email.html.erb +0 -36
  1024. data/base/app/views/message_mailer/reply_message_email.html.erb +0 -36
  1025. data/base/app/views/notification_mailer/new_notification_email.html.erb +0 -36
  1026. data/base/app/views/objects/_new_activity.html.erb +0 -8
  1027. data/base/app/views/posts/_new_activity.html.erb +0 -1
  1028. data/base/app/views/posts/_new_activity_fields.erb +0 -1
  1029. data/base/app/views/posts/_post_focus_search.html.erb +0 -37
  1030. data/base/app/views/posts/_post_global_search.html.erb +0 -18
  1031. data/base/app/views/posts/_post_with_details.html.erb +0 -3
  1032. data/base/app/views/profiles/_contact.html.erb +0 -81
  1033. data/base/app/views/profiles/edit.html.erb +0 -205
  1034. data/base/app/views/relation/customs/_update_rules.js.erb +0 -5
  1035. data/base/app/views/search/_form.html.erb +0 -33
  1036. data/base/app/views/search/_header_search.html.erb +0 -16
  1037. data/base/app/views/subjects/_contacts.html.erb +0 -18
  1038. data/base/app/views/subjects/_subject_with_details.html.erb +0 -17
  1039. data/base/app/views/users/_groups.html.erb +0 -22
  1040. data/base/app/views/users/_user_focus_search.html.erb +0 -2
  1041. data/base/app/views/users/_user_global_search.html.erb +0 -2
  1042. data/base/app/views/users/_user_with_details.html.erb +0 -2
  1043. data/base/app/views/users/index.html.erb +0 -41
  1044. data/base/config/locales/de.yml +0 -552
  1045. data/base/config/locales/fr.yml +0 -550
  1046. data/base/config/locales/hu.yml +0 -551
  1047. data/base/config/locales/nl.yml +0 -551
  1048. data/base/config/locales/rails.de.yml +0 -203
  1049. data/base/config/locales/rails.fr.yml +0 -222
  1050. data/base/config/locales/rails.hu.yml +0 -199
  1051. data/base/config/locales/rails.nl.yml +0 -199
  1052. data/base/db/migrate/20120403175913_create_activity_object_audiences.rb +0 -34
  1053. data/base/db/migrate/20120411132550_add_visit_count_to_activity_object.rb +0 -9
  1054. data/base/db/migrate/20120411151413_relation_public_permissions.rb +0 -8
  1055. data/base/db/migrate/20120526171311_remove_activity_channels.rb +0 -35
  1056. data/base/db/migrate/20120621135650_add_comment_count_to_activity_object.rb +0 -24
  1057. data/base/db/migrate/20120627115244_fix_activity_object_follower_count.rb +0 -17
  1058. data/base/db/migrate/20121031111857_create_sites.rb +0 -9
  1059. data/base/db/migrate/20130114114602_add_missing_activivity_indexes.rb +0 -17
  1060. data/base/lib/social_stream/views/settings/base.rb +0 -48
  1061. data/base/lib/social_stream/views/sidebar/base.rb +0 -27
  1062. data/base/lib/social_stream/views/toolbar/base.rb +0 -149
  1063. data/base/spec/dummy/.gitignore +0 -5
  1064. data/base/spec/dummy/Rakefile +0 -7
  1065. data/base/spec/dummy/app/assets/javascripts/application.js +0 -8
  1066. data/base/spec/dummy/app/assets/stylesheets/application.css +0 -8
  1067. data/base/spec/dummy/app/controllers/application_controller.rb +0 -3
  1068. data/base/spec/dummy/config.ru +0 -4
  1069. data/base/spec/dummy/config/application.rb +0 -44
  1070. data/base/spec/dummy/config/boot.rb +0 -10
  1071. data/base/spec/dummy/config/database.yml +0 -40
  1072. data/base/spec/dummy/config/environment.rb +0 -5
  1073. data/base/spec/dummy/config/environments/development.rb +0 -30
  1074. data/base/spec/dummy/config/environments/production.rb +0 -54
  1075. data/base/spec/dummy/config/environments/test.rb +0 -40
  1076. data/base/spec/dummy/config/environments/test_pg.rb +0 -35
  1077. data/base/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  1078. data/base/spec/dummy/config/initializers/devise.rb +0 -214
  1079. data/base/spec/dummy/config/initializers/inflections.rb +0 -10
  1080. data/base/spec/dummy/config/initializers/mailboxer.rb +0 -8
  1081. data/base/spec/dummy/config/initializers/mime_types.rb +0 -5
  1082. data/base/spec/dummy/config/initializers/secret_token.rb +0 -7
  1083. data/base/spec/dummy/config/initializers/session_store.rb +0 -8
  1084. data/base/spec/dummy/config/initializers/social_stream.rb +0 -47
  1085. data/base/spec/dummy/config/initializers/wrap_parameters.rb +0 -12
  1086. data/base/spec/dummy/config/locales/en.yml +0 -5
  1087. data/base/spec/dummy/config/navigation.rb +0 -4
  1088. data/base/spec/dummy/config/relations.yml +0 -39
  1089. data/base/spec/dummy/config/routes.rb +0 -60
  1090. data/base/spec/dummy/db/schema.rb +0 -5
  1091. data/base/spec/dummy/db/seeds.rb +0 -8
  1092. data/base/spec/dummy/public/404.html +0 -26
  1093. data/base/spec/dummy/public/422.html +0 -26
  1094. data/base/spec/dummy/public/500.html +0 -26
  1095. data/base/spec/dummy/public/favicon.ico +0 -0
  1096. data/base/spec/dummy/script/rails +0 -6
  1097. data/base/spec/models/activity_wall_spec.rb +0 -96
  1098. data/base/vendor/assets/javascripts/ajax.paginate.js +0 -46
  1099. data/base/vendor/assets/javascripts/jquery.cleditor.min.js +0 -31
  1100. data/base/vendor/assets/javascripts/jquery.fcbkcomplete.js +0 -553
  1101. data/base/vendor/assets/javascripts/jquery.lightbox-with-resize-plugin.js +0 -533
  1102. data/base/vendor/assets/javascripts/jquery.livequery.js +0 -250
  1103. data/base/vendor/assets/javascripts/jquery.screw.js +0 -186
  1104. data/documents/app/assets/javascripts/social_stream.audio.js.erb +0 -25
  1105. data/documents/app/assets/javascripts/social_stream.repository.js.erb +0 -27
  1106. data/documents/app/assets/javascripts/social_stream.video.js.erb +0 -39
  1107. data/documents/app/assets/stylesheets/documents.css.scss +0 -302
  1108. data/documents/app/assets/stylesheets/show.css.scss +0 -111
  1109. data/documents/app/assets/stylesheets/social_stream-documents.css +0 -6
  1110. data/documents/app/views/audios/_audio_focus_search.html.erb +0 -3
  1111. data/documents/app/views/audios/_audio_global_search.html.erb +0 -3
  1112. data/documents/app/views/audios/_audio_with_details.html.erb +0 -3
  1113. data/documents/app/views/common_documents/_document_info.html.erb +0 -48
  1114. data/documents/app/views/common_documents/_edit_form.html.erb +0 -57
  1115. data/documents/app/views/common_documents/_headers.html.erb +0 -77
  1116. data/documents/app/views/documents/_document_focus_search.html.erb +0 -2
  1117. data/documents/app/views/documents/_document_global_search.html.erb +0 -2
  1118. data/documents/app/views/documents/_document_with_details.html.erb +0 -13
  1119. data/documents/app/views/documents/_new_activity_fields.html.erb +0 -15
  1120. data/documents/app/views/pictures/_picture_focus_search.html.erb +0 -2
  1121. data/documents/app/views/pictures/_picture_global_search.html.erb +0 -2
  1122. data/documents/app/views/pictures/_picture_with_details.html.erb +0 -2
  1123. data/documents/app/views/videos/_video_focus_search.html.erb +0 -2
  1124. data/documents/app/views/videos/_video_global_search.html.erb +0 -2
  1125. data/documents/app/views/videos/_video_with_details.html.erb +0 -2
  1126. data/documents/config/locales/de.yml +0 -78
  1127. data/documents/config/locales/fr.yml +0 -78
  1128. data/documents/config/locales/hu.yml +0 -77
  1129. data/documents/config/locales/nl.yml +0 -78
  1130. data/documents/lib/social_stream/views/toolbar/documents.rb +0 -28
  1131. data/documents/lib/tasks/db/populate_documents.rake +0 -19
  1132. data/documents/spec/dummy/.gitignore +0 -1
  1133. data/documents/spec/dummy/Rakefile +0 -7
  1134. data/documents/spec/dummy/app/assets/javascripts/application.js +0 -9
  1135. data/documents/spec/dummy/app/assets/stylesheets/application.css +0 -7
  1136. data/documents/spec/dummy/app/controllers/application_controller.rb +0 -3
  1137. data/documents/spec/dummy/app/helpers/application_helper.rb +0 -2
  1138. data/documents/spec/dummy/app/views/layouts/application.html.erb +0 -14
  1139. data/documents/spec/dummy/config.ru +0 -4
  1140. data/documents/spec/dummy/config/application.rb +0 -45
  1141. data/documents/spec/dummy/config/boot.rb +0 -10
  1142. data/documents/spec/dummy/config/database.yml +0 -25
  1143. data/documents/spec/dummy/config/environment.rb +0 -5
  1144. data/documents/spec/dummy/config/environments/development.rb +0 -30
  1145. data/documents/spec/dummy/config/environments/production.rb +0 -60
  1146. data/documents/spec/dummy/config/environments/test.rb +0 -39
  1147. data/documents/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  1148. data/documents/spec/dummy/config/initializers/devise.rb +0 -176
  1149. data/documents/spec/dummy/config/initializers/inflections.rb +0 -10
  1150. data/documents/spec/dummy/config/initializers/mime_types.rb +0 -5
  1151. data/documents/spec/dummy/config/initializers/secret_token.rb +0 -7
  1152. data/documents/spec/dummy/config/initializers/session_store.rb +0 -8
  1153. data/documents/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  1154. data/documents/spec/dummy/config/locales/en.yml +0 -5
  1155. data/documents/spec/dummy/config/relations.yml +0 -39
  1156. data/documents/spec/dummy/config/routes.rb +0 -60
  1157. data/documents/spec/dummy/db/schema.rb +0 -6
  1158. data/documents/spec/dummy/public/404.html +0 -26
  1159. data/documents/spec/dummy/public/422.html +0 -26
  1160. data/documents/spec/dummy/public/500.html +0 -26
  1161. data/documents/spec/dummy/public/javascripts/application.js +0 -2
  1162. data/documents/spec/dummy/public/javascripts/controls.js +0 -965
  1163. data/documents/spec/dummy/public/javascripts/dragdrop.js +0 -974
  1164. data/documents/spec/dummy/public/javascripts/effects.js +0 -1123
  1165. data/documents/spec/dummy/public/javascripts/prototype.js +0 -6001
  1166. data/documents/spec/dummy/public/javascripts/rails.js +0 -191
  1167. data/documents/spec/dummy/public/stylesheets/.gitkeep +0 -0
  1168. data/documents/spec/dummy/script/rails +0 -6
  1169. data/events/app/assets/javascripts/social_stream.calendar.js.erb +0 -104
  1170. data/events/app/assets/javascripts/social_stream.event.js +0 -55
  1171. data/events/app/assets/javascripts/social_stream.events.action.js +0 -31
  1172. data/events/app/assets/javascripts/social_stream.events.poster.js +0 -22
  1173. data/events/app/assets/stylesheets/events.css.scss +0 -218
  1174. data/events/app/assets/stylesheets/social_stream-events.css +0 -3
  1175. data/events/app/decorators/social_stream/base/document_decorator.rb +0 -3
  1176. data/events/app/models/activity_object_property/poster.rb +0 -2
  1177. data/events/app/views/events/_event_date.html.erb +0 -20
  1178. data/events/app/views/events/_event_date_sidebar.html.erb +0 -14
  1179. data/events/app/views/events/_event_details.html.erb +0 -21
  1180. data/events/app/views/events/_event_poster.html.erb +0 -9
  1181. data/events/app/views/events/_sidebar_calendar.html.erb +0 -45
  1182. data/events/app/views/rooms/_settings.html.erb +0 -23
  1183. data/events/lib/social_stream/events/models/document.rb +0 -26
  1184. data/events/lib/social_stream/views/settings/events.rb +0 -18
  1185. data/events/lib/social_stream/views/sidebar/events.rb +0 -17
  1186. data/linkser/app/assets/javascripts/linkser.js.erb +0 -82
  1187. data/linkser/app/assets/stylesheets/linkser.css.scss +0 -69
  1188. data/linkser/app/assets/stylesheets/social_stream-linkser.css +0 -3
  1189. data/linkser/config/locales/de.yml +0 -14
  1190. data/linkser/config/locales/fr.yml +0 -14
  1191. data/linkser/config/locales/hu.yml +0 -14
  1192. data/linkser/config/locales/nl.yml +0 -14
  1193. data/linkser/lib/tasks/db/populate_links.rake +0 -16
  1194. data/linkser/spec/dummy/Rakefile +0 -7
  1195. data/linkser/spec/dummy/app/controllers/application_controller.rb +0 -3
  1196. data/linkser/spec/dummy/app/helpers/application_helper.rb +0 -2
  1197. data/linkser/spec/dummy/app/views/layouts/application.html.erb +0 -14
  1198. data/linkser/spec/dummy/config.ru +0 -4
  1199. data/linkser/spec/dummy/config/application.rb +0 -45
  1200. data/linkser/spec/dummy/config/boot.rb +0 -10
  1201. data/linkser/spec/dummy/config/database.yml +0 -22
  1202. data/linkser/spec/dummy/config/environment.rb +0 -5
  1203. data/linkser/spec/dummy/config/environments/development.rb +0 -25
  1204. data/linkser/spec/dummy/config/environments/production.rb +0 -49
  1205. data/linkser/spec/dummy/config/environments/test.rb +0 -37
  1206. data/linkser/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  1207. data/linkser/spec/dummy/config/initializers/devise.rb +0 -172
  1208. data/linkser/spec/dummy/config/initializers/inflections.rb +0 -10
  1209. data/linkser/spec/dummy/config/initializers/mime_types.rb +0 -5
  1210. data/linkser/spec/dummy/config/initializers/secret_token.rb +0 -7
  1211. data/linkser/spec/dummy/config/initializers/session_store.rb +0 -8
  1212. data/linkser/spec/dummy/config/locales/en.yml +0 -5
  1213. data/linkser/spec/dummy/config/navigation.rb +0 -0
  1214. data/linkser/spec/dummy/config/relations.yml +0 -39
  1215. data/linkser/spec/dummy/config/routes.rb +0 -60
  1216. data/linkser/spec/dummy/db/.gitkeep +0 -0
  1217. data/linkser/spec/dummy/documents/documents/000/000/001/original.pdf +0 -157
  1218. data/linkser/spec/dummy/documents/documents/000/000/002/original.pdf +0 -157
  1219. data/linkser/spec/dummy/documents/documents/000/000/003/original.pdf +0 -157
  1220. data/linkser/spec/dummy/documents/documents/000/000/004/original.pdf +0 -157
  1221. data/linkser/spec/dummy/documents/documents/000/000/005/original.pdf +0 -157
  1222. data/linkser/spec/dummy/documents/documents/000/000/006/original.pdf +0 -157
  1223. data/linkser/spec/dummy/documents/documents/000/000/007/original.pdf +0 -157
  1224. data/linkser/spec/dummy/documents/documents/000/000/008/original.pdf +0 -157
  1225. data/linkser/spec/dummy/documents/documents/000/000/009/original.pdf +0 -157
  1226. data/linkser/spec/dummy/documents/documents/000/000/010/original.pdf +0 -157
  1227. data/linkser/spec/dummy/documents/pictures/000/000/011/original.png +0 -0
  1228. data/linkser/spec/dummy/documents/pictures/000/000/011/thumb.png +0 -0
  1229. data/linkser/spec/dummy/documents/pictures/000/000/011/thumb0.png +0 -0
  1230. data/linkser/spec/dummy/documents/pictures/000/000/012/original.png +0 -0
  1231. data/linkser/spec/dummy/documents/pictures/000/000/012/thumb.png +0 -0
  1232. data/linkser/spec/dummy/documents/pictures/000/000/012/thumb0.png +0 -0
  1233. data/linkser/spec/dummy/documents/pictures/000/000/013/original.png +0 -0
  1234. data/linkser/spec/dummy/documents/pictures/000/000/013/thumb.png +0 -0
  1235. data/linkser/spec/dummy/documents/pictures/000/000/013/thumb0.png +0 -0
  1236. data/linkser/spec/dummy/documents/pictures/000/000/014/original.png +0 -0
  1237. data/linkser/spec/dummy/documents/pictures/000/000/014/thumb.png +0 -0
  1238. data/linkser/spec/dummy/documents/pictures/000/000/014/thumb0.png +0 -0
  1239. data/linkser/spec/dummy/documents/pictures/000/000/015/original.png +0 -0
  1240. data/linkser/spec/dummy/documents/pictures/000/000/015/thumb.png +0 -0
  1241. data/linkser/spec/dummy/documents/pictures/000/000/015/thumb0.png +0 -0
  1242. data/linkser/spec/dummy/documents/pictures/000/000/016/original.png +0 -0
  1243. data/linkser/spec/dummy/documents/pictures/000/000/016/thumb.png +0 -0
  1244. data/linkser/spec/dummy/documents/pictures/000/000/016/thumb0.png +0 -0
  1245. data/linkser/spec/dummy/documents/pictures/000/000/017/original.png +0 -0
  1246. data/linkser/spec/dummy/documents/pictures/000/000/017/thumb.png +0 -0
  1247. data/linkser/spec/dummy/documents/pictures/000/000/017/thumb0.png +0 -0
  1248. data/linkser/spec/dummy/documents/pictures/000/000/018/original.png +0 -0
  1249. data/linkser/spec/dummy/documents/pictures/000/000/018/thumb.png +0 -0
  1250. data/linkser/spec/dummy/documents/pictures/000/000/018/thumb0.png +0 -0
  1251. data/linkser/spec/dummy/documents/pictures/000/000/019/original.png +0 -0
  1252. data/linkser/spec/dummy/documents/pictures/000/000/019/thumb.png +0 -0
  1253. data/linkser/spec/dummy/documents/pictures/000/000/019/thumb0.png +0 -0
  1254. data/linkser/spec/dummy/documents/pictures/000/000/020/original.png +0 -0
  1255. data/linkser/spec/dummy/documents/pictures/000/000/020/thumb.png +0 -0
  1256. data/linkser/spec/dummy/documents/pictures/000/000/020/thumb0.png +0 -0
  1257. data/linkser/spec/dummy/public/404.html +0 -26
  1258. data/linkser/spec/dummy/public/422.html +0 -26
  1259. data/linkser/spec/dummy/public/500.html +0 -26
  1260. data/linkser/spec/dummy/public/favicon.ico +0 -0
  1261. data/linkser/spec/dummy/public/javascripts/application.js +0 -2
  1262. data/linkser/spec/dummy/public/javascripts/controls.js +0 -965
  1263. data/linkser/spec/dummy/public/javascripts/dragdrop.js +0 -974
  1264. data/linkser/spec/dummy/public/javascripts/effects.js +0 -1123
  1265. data/linkser/spec/dummy/public/javascripts/prototype.js +0 -6001
  1266. data/linkser/spec/dummy/public/javascripts/rails.js +0 -191
  1267. data/linkser/spec/dummy/public/stylesheets/.gitkeep +0 -0
  1268. data/linkser/spec/dummy/script/rails +0 -6
  1269. data/ostatus/app/assets/images/logos/actor/remote_subject.png +0 -0
  1270. data/ostatus/app/assets/images/logos/contact/remote_subject.png +0 -0
  1271. data/ostatus/app/assets/images/logos/original/remote_subject.png +0 -0
  1272. data/ostatus/app/assets/images/logos/profile/remote_subject.png +0 -0
  1273. data/ostatus/db/migrate/20120918194708_create_actor_keys.rb +0 -18
  1274. data/ostatus/spec/dummy/Rakefile +0 -7
  1275. data/ostatus/spec/dummy/app/controllers/application_controller.rb +0 -3
  1276. data/ostatus/spec/dummy/app/helpers/application_helper.rb +0 -2
  1277. data/ostatus/spec/dummy/app/views/layouts/application.html.erb +0 -14
  1278. data/ostatus/spec/dummy/config.ru +0 -4
  1279. data/ostatus/spec/dummy/config/application.rb +0 -45
  1280. data/ostatus/spec/dummy/config/boot.rb +0 -10
  1281. data/ostatus/spec/dummy/config/database.yml +0 -22
  1282. data/ostatus/spec/dummy/config/environment.rb +0 -5
  1283. data/ostatus/spec/dummy/config/environments/development.rb +0 -26
  1284. data/ostatus/spec/dummy/config/environments/production.rb +0 -49
  1285. data/ostatus/spec/dummy/config/environments/test.rb +0 -35
  1286. data/ostatus/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  1287. data/ostatus/spec/dummy/config/initializers/inflections.rb +0 -10
  1288. data/ostatus/spec/dummy/config/initializers/mime_types.rb +0 -5
  1289. data/ostatus/spec/dummy/config/initializers/secret_token.rb +0 -7
  1290. data/ostatus/spec/dummy/config/initializers/session_store.rb +0 -8
  1291. data/ostatus/spec/dummy/config/locales/en.yml +0 -5
  1292. data/ostatus/spec/dummy/config/routes.rb +0 -58
  1293. data/ostatus/spec/dummy/public/404.html +0 -26
  1294. data/ostatus/spec/dummy/public/422.html +0 -26
  1295. data/ostatus/spec/dummy/public/500.html +0 -26
  1296. data/ostatus/spec/dummy/public/favicon.ico +0 -0
  1297. data/ostatus/spec/dummy/public/javascripts/application.js +0 -2
  1298. data/ostatus/spec/dummy/public/javascripts/controls.js +0 -965
  1299. data/ostatus/spec/dummy/public/javascripts/dragdrop.js +0 -974
  1300. data/ostatus/spec/dummy/public/javascripts/effects.js +0 -1123
  1301. data/ostatus/spec/dummy/public/javascripts/prototype.js +0 -6001
  1302. data/ostatus/spec/dummy/public/javascripts/rails.js +0 -191
  1303. data/ostatus/spec/dummy/public/stylesheets/.gitkeep +0 -0
  1304. data/ostatus/spec/dummy/script/rails +0 -6
  1305. data/presence/app/assets/stylesheets/TresEnRaya.css +0 -57
  1306. data/presence/app/assets/stylesheets/chat.css.scss +0 -521
  1307. data/presence/app/assets/stylesheets/social_stream-presence.css +0 -5
  1308. data/presence/app/views/chat/_settings.html.erb +0 -34
  1309. data/presence/lib/social_stream/views/settings/presence.rb +0 -20
  1310. data/presence/lib/social_stream/views/toolbar/presence.rb +0 -28
  1311. data/presence/spec/demo/.gitignore +0 -5
  1312. data/presence/spec/demo/.rspec +0 -1
  1313. data/presence/spec/demo/README +0 -261
  1314. data/presence/spec/demo/Rakefile +0 -7
  1315. data/presence/spec/demo/app/assets/images/rails.png +0 -0
  1316. data/presence/spec/demo/app/assets/javascripts/application.js +0 -9
  1317. data/presence/spec/demo/app/assets/stylesheets/application.css +0 -7
  1318. data/presence/spec/demo/app/controllers/application_controller.rb +0 -3
  1319. data/presence/spec/demo/app/helpers/application_helper.rb +0 -2
  1320. data/presence/spec/demo/app/mailers/.gitkeep +0 -0
  1321. data/presence/spec/demo/app/models/.gitkeep +0 -0
  1322. data/presence/spec/demo/app/views/layouts/application.html.erb +0 -14
  1323. data/presence/spec/demo/autotest/discover.rb +0 -2
  1324. data/presence/spec/demo/config.ru +0 -4
  1325. data/presence/spec/demo/config/application.rb +0 -41
  1326. data/presence/spec/demo/config/boot.rb +0 -6
  1327. data/presence/spec/demo/config/database.yml +0 -25
  1328. data/presence/spec/demo/config/environment.rb +0 -5
  1329. data/presence/spec/demo/config/environments/development.rb +0 -27
  1330. data/presence/spec/demo/config/environments/production.rb +0 -54
  1331. data/presence/spec/demo/config/environments/test.rb +0 -39
  1332. data/presence/spec/demo/config/initializers/backtrace_silencers.rb +0 -7
  1333. data/presence/spec/demo/config/initializers/inflections.rb +0 -10
  1334. data/presence/spec/demo/config/initializers/mime_types.rb +0 -5
  1335. data/presence/spec/demo/config/initializers/secret_token.rb +0 -7
  1336. data/presence/spec/demo/config/initializers/session_store.rb +0 -8
  1337. data/presence/spec/demo/config/initializers/wrap_parameters.rb +0 -12
  1338. data/presence/spec/demo/config/locales/en.yml +0 -5
  1339. data/presence/spec/demo/config/routes.rb +0 -58
  1340. data/presence/spec/demo/db/seeds.rb +0 -7
  1341. data/presence/spec/demo/doc/README_FOR_APP +0 -2
  1342. data/presence/spec/demo/lib/tasks/.gitkeep +0 -0
  1343. data/presence/spec/demo/log/.gitkeep +0 -0
  1344. data/presence/spec/demo/public/404.html +0 -26
  1345. data/presence/spec/demo/public/422.html +0 -26
  1346. data/presence/spec/demo/public/500.html +0 -26
  1347. data/presence/spec/demo/public/favicon.ico +0 -0
  1348. data/presence/spec/demo/public/index.html +0 -241
  1349. data/presence/spec/demo/public/robots.txt +0 -5
  1350. data/presence/spec/demo/script/rails +0 -6
  1351. data/presence/spec/demo/spec/spec_helper.rb +0 -27
  1352. data/presence/spec/demo/test/fixtures/.gitkeep +0 -0
  1353. data/presence/spec/demo/test/functional/.gitkeep +0 -0
  1354. data/presence/spec/demo/test/integration/.gitkeep +0 -0
  1355. data/presence/spec/demo/test/performance/browsing_test.rb +0 -12
  1356. data/presence/spec/demo/test/test_helper.rb +0 -13
  1357. data/presence/spec/demo/test/unit/.gitkeep +0 -0
  1358. data/presence/spec/demo/vendor/assets/stylesheets/.gitkeep +0 -0
  1359. data/presence/spec/demo/vendor/plugins/.gitkeep +0 -0
  1360. data/spec/dummy/app/assets/stylesheets/application.css +0 -12
@@ -1,31 +0,0 @@
1
- /*
2
- CLEditor WYSIWYG HTML Editor v1.3.0
3
- http://premiumsoftware.net/cleditor
4
- requires jQuery v1.4.2 or later
5
-
6
- Copyright 2010, Chris Landowski, Premium Software, LLC
7
- Dual licensed under the MIT or GPL Version 2 licenses.
8
- */
9
- (function(e){function aa(a){var b=this,c=a.target,d=e.data(c,x),h=s[d],f=h.popupName,i=p[f];if(!(b.disabled||e(c).attr(n)==n)){var g={editor:b,button:c,buttonName:d,popup:i,popupName:f,command:h.command,useCSS:b.options.useCSS};if(h.buttonClick&&h.buttonClick(a,g)===false)return false;if(d=="source"){if(t(b)){delete b.range;b.$area.hide();b.$frame.show();c.title=h.title}else{b.$frame.hide();b.$area.show();c.title="Show Rich Text"}setTimeout(function(){u(b)},100)}else if(!t(b))if(f){var j=e(i);if(f==
10
- "url"){if(d=="link"&&M(b)===""){z(b,"A selection is required when inserting a link.",c);return false}j.children(":button").unbind(q).bind(q,function(){var k=j.find(":text"),o=e.trim(k.val());o!==""&&v(b,g.command,o,null,g.button);k.val("http://");r();w(b)})}else f=="pastetext"&&j.children(":button").unbind(q).bind(q,function(){var k=j.find("textarea"),o=k.val().replace(/\n/g,"<br />");o!==""&&v(b,g.command,o,null,g.button);k.val("");r();w(b)});if(c!==e.data(i,A)){N(b,i,c);return false}return}else if(d==
11
- "print")b.$frame[0].contentWindow.print();else if(!v(b,g.command,g.value,g.useCSS,c))return false;w(b)}}function O(a){a=e(a.target).closest("div");a.css(H,a.data(x)?"#FFF":"#FFC")}function P(a){e(a.target).closest("div").css(H,"transparent")}function ba(a){var b=a.data.popup,c=a.target;if(!(b===p.msg||e(b).hasClass(B))){var d=e.data(b,A),h=e.data(d,x),f=s[h],i=f.command,g,j=this.options.useCSS;if(h=="font")g=c.style.fontFamily.replace(/"/g,"");else if(h=="size"){if(c.tagName=="DIV")c=c.children[0];
12
- g=c.innerHTML}else if(h=="style")g="<"+c.tagName+">";else if(h=="color")g=Q(c.style.backgroundColor);else if(h=="highlight"){g=Q(c.style.backgroundColor);if(l)i="backcolor";else j=true}b={editor:this,button:d,buttonName:h,popup:b,popupName:f.popupName,command:i,value:g,useCSS:j};if(!(f.popupClick&&f.popupClick(a,b)===false)){if(b.command&&!v(this,b.command,b.value,b.useCSS,d))return false;r();w(this)}}}function C(a){for(var b=1,c=0,d=0;d<a.length;++d){b=(b+a.charCodeAt(d))%65521;c=(c+b)%65521}return c<<
13
- 16|b}function R(a,b,c,d,h){if(p[a])return p[a];var f=e(m).hide().addClass(ca).appendTo("body");if(d)f.html(d);else if(a=="color"){b=b.colors.split(" ");b.length<10&&f.width("auto");e.each(b,function(i,g){e(m).appendTo(f).css(H,"#"+g)});c=da}else if(a=="font")e.each(b.fonts.split(","),function(i,g){e(m).appendTo(f).css("fontFamily",g).html(g)});else if(a=="size")e.each(b.sizes.split(","),function(i,g){e(m).appendTo(f).html("<font size="+g+">"+g+"</font>")});else if(a=="style")e.each(b.styles,function(i,
14
- g){e(m).appendTo(f).html(g[1]+g[0]+g[1].replace("<","</"))});else if(a=="url"){f.html('Enter URL:<br><input type=text value="http://" size=35><br><input type=button value="Submit">');c=B}else if(a=="pastetext"){f.html("Paste your content here and click submit.<br /><textarea cols=40 rows=3></textarea><br /><input type=button value=Submit>");c=B}if(!c&&!d)c=S;f.addClass(c);l&&f.attr(I,"on").find("div,font,p,h1,h2,h3,h4,h5,h6").attr(I,"on");if(f.hasClass(S)||h===true)f.children().hover(O,P);p[a]=f[0];
15
- return f[0]}function T(a,b){if(b){a.$area.attr(n,n);a.disabled=true}else{a.$area.removeAttr(n);delete a.disabled}try{if(l)a.doc.body.contentEditable=!b;else a.doc.designMode=!b?"on":"off"}catch(c){}u(a)}function v(a,b,c,d,h){D(a);if(!l){if(d===undefined||d===null)d=a.options.useCSS;a.doc.execCommand("styleWithCSS",0,d.toString())}d=true;var f;if(l&&b.toLowerCase()=="inserthtml")y(a).pasteHTML(c);else{try{d=a.doc.execCommand(b,0,c||null)}catch(i){f=i.description;d=false}d||("cutcopypaste".indexOf(b)>
16
- -1?z(a,"For security reasons, your browser does not support the "+b+" command. Try using the keyboard shortcut or context menu instead.",h):z(a,f?f:"Error executing the "+b+" command.",h))}u(a);return d}function w(a){setTimeout(function(){t(a)?a.$area.focus():a.$frame[0].contentWindow.focus();u(a)},0)}function y(a){if(l)return J(a).createRange();return J(a).getRangeAt(0)}function J(a){if(l)return a.doc.selection;return a.$frame[0].contentWindow.getSelection()}function Q(a){var b=/rgba?\((\d+), (\d+), (\d+)/.exec(a),
17
- c=a.split("");if(b)for(a=(b[1]<<16|b[2]<<8|b[3]).toString(16);a.length<6;)a="0"+a;return"#"+(a.length==6?a:c[1]+c[1]+c[2]+c[2]+c[3]+c[3])}function r(){e.each(p,function(a,b){e(b).hide().unbind(q).removeData(A)})}function U(){var a=e("link[href$='jquery.cleditor.css']").attr("href");return a.substr(0,a.length-19)+"images/"}function K(a){var b=a.$main,c=a.options;a.$frame&&a.$frame.remove();var d=a.$frame=e('<iframe frameborder="0" src="javascript:true;">').hide().appendTo(b),h=d[0].contentWindow,f=
18
- a.doc=h.document,i=e(f);f.open();f.write(c.docType+"<html>"+(c.docCSSFile===""?"":'<head><link rel="stylesheet" type="text/css" href="'+c.docCSSFile+'" /></head>')+'<body style="'+c.bodyStyle+'"></body></html>');f.close();l&&i.click(function(){w(a)});E(a);if(l){i.bind("beforedeactivate beforeactivate selectionchange keypress",function(g){if(g.type=="beforedeactivate")a.inactive=true;else if(g.type=="beforeactivate"){!a.inactive&&a.range&&a.range.length>1&&a.range.shift();delete a.inactive}else if(!a.inactive){if(!a.range)a.range=
19
- [];for(a.range.unshift(y(a));a.range.length>2;)a.range.pop()}});d.focus(function(){D(a)})}(e.browser.mozilla?i:e(h)).blur(function(){V(a,true)});i.click(r).bind("keyup mouseup",function(){u(a)});L?a.$area.show():d.show();e(function(){var g=a.$toolbar,j=g.children("div:last"),k=b.width();j=j.offset().top+j.outerHeight()-g.offset().top+1;g.height(j);j=(/%/.test(""+c.height)?b.height():parseInt(c.height))-j;d.width(k).height(j);a.$area.width(k).height(ea?j-2:j);T(a,a.disabled);u(a)})}function u(a){if(!L&&
20
- e.browser.webkit&&!a.focused){a.$frame[0].contentWindow.focus();window.focus();a.focused=true}var b=a.doc;if(l)b=y(a);var c=t(a);e.each(a.$toolbar.find("."+W),function(d,h){var f=e(h),i=e.cleditor.buttons[e.data(h,x)],g=i.command,j=true;if(a.disabled)j=false;else if(i.getEnabled){j=i.getEnabled({editor:a,button:h,buttonName:i.name,popup:p[i.popupName],popupName:i.popupName,command:i.command,useCSS:a.options.useCSS});if(j===undefined)j=true}else if((c||L)&&i.name!="source"||l&&(g=="undo"||g=="redo"))j=
21
- false;else if(g&&g!="print"){if(l&&g=="hilitecolor")g="backcolor";if(!l||g!="inserthtml")try{j=b.queryCommandEnabled(g)}catch(k){j=false}}if(j){f.removeClass(X);f.removeAttr(n)}else{f.addClass(X);f.attr(n,n)}})}function D(a){l&&a.range&&a.range[0].select()}function M(a){D(a);if(l)return y(a).text;return J(a).toString()}function z(a,b,c){var d=R("msg",a.options,fa);d.innerHTML=b;N(a,d,c)}function N(a,b,c){var d,h,f=e(b);if(c){var i=e(c);d=i.offset();h=--d.left;d=d.top+i.height()}else{i=a.$toolbar;
22
- d=i.offset();h=Math.floor((i.width()-f.width())/2)+d.left;d=d.top+i.height()-2}r();f.css({left:h,top:d}).show();if(c){e.data(b,A,c);f.bind(q,{popup:b},e.proxy(ba,a))}setTimeout(function(){f.find(":text,textarea").eq(0).focus().select()},100)}function t(a){return a.$area.is(":visible")}function E(a,b){var c=a.$area.val(),d=a.options,h=d.updateFrame,f=e(a.doc.body);if(h){var i=C(c);if(b&&a.areaChecksum==i)return;a.areaChecksum=i}c=h?h(c):c;c=c.replace(/<(?=\/?script)/ig,"&lt;");if(d.updateTextArea)a.frameChecksum=
23
- C(c);if(c!=f.html()){f.html(c);e(a).triggerHandler(F)}}function V(a,b){var c=e(a.doc.body).html(),d=a.options,h=d.updateTextArea,f=a.$area;if(h){var i=C(c);if(b&&a.frameChecksum==i)return;a.frameChecksum=i}c=h?h(c):c;if(d.updateFrame)a.areaChecksum=C(c);if(c!=f.val()){f.val(c);e(a).triggerHandler(F)}}e.cleditor={defaultOptions:{width:500,height:250,controls:"bold italic underline strikethrough subscript superscript | font size style | color highlight removeformat | bullets numbering | outdent indent | alignleft center alignright justify | undo redo | rule image link unlink | cut copy paste pastetext | print source",
24
- colors:"FFF FCC FC9 FF9 FFC 9F9 9FF CFF CCF FCF CCC F66 F96 FF6 FF3 6F9 3FF 6FF 99F F9F BBB F00 F90 FC6 FF0 3F3 6CC 3CF 66C C6C 999 C00 F60 FC3 FC0 3C0 0CC 36F 63F C3C 666 900 C60 C93 990 090 399 33F 60C 939 333 600 930 963 660 060 366 009 339 636 000 300 630 633 330 030 033 006 309 303",fonts:"Arial,Arial Black,Comic Sans MS,Courier New,Narrow,Garamond,Georgia,Impact,Sans Serif,Serif,Tahoma,Trebuchet MS,Verdana",sizes:"1,2,3,4,5,6,7",styles:[["Paragraph","<p>"],["Header 1","<h1>"],["Header 2","<h2>"],
25
- ["Header 3","<h3>"],["Header 4","<h4>"],["Header 5","<h5>"],["Header 6","<h6>"]],useCSS:false,docType:'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',docCSSFile:"",bodyStyle:"margin:4px; font:10pt Arial,Verdana; cursor:text"},buttons:{init:"bold,,|italic,,|underline,,|strikethrough,,|subscript,,|superscript,,|font,,fontname,|size,Font Size,fontsize,|style,,formatblock,|color,Font Color,forecolor,|highlight,Text Highlight Color,hilitecolor,color|removeformat,Remove Formatting,|bullets,,insertunorderedlist|numbering,,insertorderedlist|outdent,,|indent,,|alignleft,Align Text Left,justifyleft|center,,justifycenter|alignright,Align Text Right,justifyright|justify,,justifyfull|undo,,|redo,,|rule,Insert Horizontal Rule,inserthorizontalrule|image,Insert Image,insertimage,url|link,Insert Hyperlink,createlink,url|unlink,Remove Hyperlink,|cut,,|copy,,|paste,,|pastetext,Paste as Text,inserthtml,|print,,|source,Show Source"},
26
- imagesPath:function(){return U()}};e.fn.cleditor=function(a){var b=e([]);this.each(function(c,d){if(d.tagName=="TEXTAREA"){var h=e.data(d,Y);h||(h=new cleditor(d,a));b=b.add(h)}});return b};var H="backgroundColor",A="button",x="buttonName",F="change",Y="cleditor",q="click",n="disabled",m="<div>",I="unselectable",W="cleditorButton",X="cleditorDisabled",ca="cleditorPopup",S="cleditorList",da="cleditorColor",B="cleditorPrompt",fa="cleditorMsg",l=e.browser.msie,ea=/msie\s6/i.test(navigator.userAgent),
27
- L=/iphone|ipad|ipod/i.test(navigator.userAgent),p={},Z,s=e.cleditor.buttons;e.each(s.init.split("|"),function(a,b){var c=b.split(","),d=c[0];s[d]={stripIndex:a,name:d,title:c[1]===""?d.charAt(0).toUpperCase()+d.substr(1):c[1],command:c[2]===""?d:c[2],popupName:c[3]===""?d:c[3]}});delete s.init;cleditor=function(a,b){var c=this;c.options=b=e.extend({},e.cleditor.defaultOptions,b);var d=c.$area=e(a).hide().data(Y,c).blur(function(){E(c,true)}),h=c.$main=e(m).addClass("cleditorMain").width(b.width).height(b.height),
28
- f=c.$toolbar=e(m).addClass("cleditorToolbar").appendTo(h),i=e(m).addClass("cleditorGroup").appendTo(f);e.each(b.controls.split(" "),function(g,j){if(j==="")return true;if(j=="|"){e(m).addClass("cleditorDivider").appendTo(i);i=e(m).addClass("cleditorGroup").appendTo(f)}else{var k=s[j],o=e(m).data(x,k.name).addClass(W).attr("title",k.title).bind(q,e.proxy(aa,c)).appendTo(i).hover(O,P),G={};if(k.css)G=k.css;else if(k.image)G.backgroundImage="url("+U()+k.image+")";if(k.stripIndex)G.backgroundPosition=
29
- k.stripIndex*-24;o.css(G);l&&o.attr(I,"on");k.popupName&&R(k.popupName,b,k.popupClass,k.popupContent,k.popupHover)}});h.insertBefore(d).append(d);if(!Z){e(document).click(function(g){g=e(g.target);g.add(g.parents()).is("."+B)||r()});Z=true}/auto|%/.test(""+b.width+b.height)&&e(window).resize(function(){K(c)});K(c)};var $=cleditor.prototype;e.each([["clear",function(a){a.$area.val("");E(a)}],["disable",T],["execCommand",v],["focus",w],["hidePopups",r],["sourceMode",t,true],["refresh",K],["select",
30
- function(a){setTimeout(function(){t(a)?a.$area.select():v(a,"selectall")},0)}],["selectedHTML",function(a){D(a);a=y(a);if(l)return a.htmlText;var b=e("<layer>")[0];b.appendChild(a.cloneContents());return b.innerHTML},true],["selectedText",M,true],["showMessage",z],["updateFrame",E],["updateTextArea",V]],function(a,b){$[b[0]]=function(){for(var c=[this],d=0;d<arguments.length;d++)c.push(arguments[d]);c=b[1].apply(this,c);if(b[2])return c;return this}});$.change=function(a){var b=e(this);return a?b.bind(F,
31
- a):b.trigger(F)}})(jQuery);
@@ -1,553 +0,0 @@
1
- /**
2
- FCBKcomplete v2.8.6 is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
3
- - Jquery version required: 1.6.x
4
- */
5
-
6
- /* Based on TextboxList by Guillermo Rauch http://devthought.com/ */
7
-
8
- /**
9
- * json_url - url to fetch json object
10
- * cache - use cache
11
- * height - maximum number of element shown before scroll will apear
12
- * newel - show typed text like a element
13
- * firstselected - automaticly select first element from dropdown
14
- * filter_case - case sensitive filter
15
- * filter_selected - filter selected items from list
16
- * complete_text - text for complete page
17
- * maxshownitems - maximum numbers that will be shown at dropdown list (less better performance)
18
- * onselect - fire event on item select
19
- * onremove - fire event on item remove
20
- * maxitimes - maximum items that can be added
21
- * delay - delay between ajax request (bigger delay, lower server time request)
22
- * addontab - add first visible element on tab or enter hit
23
- * attachto - after this element fcbkcomplete insert own elements
24
- * bricket - use square bricket with select (needed for asp or php) enabled by default
25
- */
26
-
27
- (function( $, undefined ) {
28
- $.fn.fcbkcomplete = function(opt) {
29
- return this.queue( function() {
30
- function init() {
31
- createFCBK();
32
- addInput(0);
33
- }
34
-
35
- function createFCBK() {
36
- holder = $('<ul class="holder"></ul>');
37
- if (options.attachto) {
38
- if (typeof(options.attachto) == "object") {
39
- options.attachto.append(holder);
40
- } else {
41
- $(options.attachto).append(holder);
42
- }
43
- } else {
44
- element.after(holder);
45
- }
46
- complete = $('<div class="facebook-auto">').append('<div class="default">' + options.complete_text + "</div>");
47
- complete.hover(function() {complete_hover = 0;}, function() {complete_hover = 1;});
48
- feed = $('<ul id="'+elemid+'_feed"></ul>');
49
- holder.after(complete.prepend(feed));
50
- feed.css("width", complete.width());
51
- elPrepare();
52
- }
53
-
54
- function elPrepare() {
55
- name = element.attr("name");
56
- if (options.bricket) {
57
- if (name.indexOf("[]") == -1) {
58
- name = name + "[]";
59
- }
60
- }
61
-
62
- var temp_elem = $('<'+element.get(0).tagName+' name="'+name+'" id="'+elemid+'" multiple="multiple" class="hidden">');
63
-
64
- $.each(element.children('option'), function(i, option) {
65
- option = $(option);
66
- temp_elem.data(option.val(), option.text());
67
- if (option.hasClass("selected")) {
68
- var id = addItem(option.text(), option.val(), true, option.hasClass("locked"));
69
- temp_elem.append('<option value="'+option.val()+'" selected="selected" id="opt_'+id+'"class="selected">'+option.text()+'</option>');
70
- }
71
- });
72
-
73
- element.after(temp_elem);
74
- element.remove();
75
- element = temp_elem;
76
-
77
- //public method to add new item
78
- $(element).bind("addItem", function(event, data) {
79
- addItem(data.title, data.value, 0, 0, 0);
80
- });
81
-
82
- //public method to remove item
83
- $(element).bind("removeItem", function(event, data) {
84
- var item = holder.children('li[rel=' + data.value + ']');
85
- if (item.length) {
86
- removeItem(item);
87
- }
88
- });
89
-
90
- //public method to remove item
91
- $(element).bind("destroy", function(event, data) {
92
- holder.remove();
93
- complete.remove();
94
- element.show();
95
- });
96
- }
97
-
98
- function addItem(title, value, preadded, locked, focusme) {
99
- if (!maxItems()) {
100
- return false;
101
- }
102
- var liclass = "bit-box" + (locked ? " locked": "");
103
- var id = randomId();
104
- var txt = document.createTextNode(xssDisplay(title));
105
- var aclose = $('<a class="closebutton" href="#"></a>');
106
- var li = $('<li class="'+liclass+'" rel="'+value+'" id="pt_'+id+'"></li>').prepend(txt).append(aclose);
107
-
108
- holder.append(li);
109
-
110
- aclose.click( function() {
111
- removeItem($(this).parent("li"));
112
- return false;
113
- });
114
- if (!preadded) {
115
- $("#" + elemid + "_annoninput").remove();
116
- addInput(focusme);
117
- var _item = $('<option value="'+xssDisplay(value, 1)+'" id="opt_'+id+'" class="selected" selected="selected">'+xssDisplay(title)+'</option>');
118
- element.append(_item);
119
- if (options.onselect) {
120
- funCall(options.onselect, _item);
121
- }
122
- element.change();
123
- }
124
- holder.children("li.bit-box.deleted").removeClass("deleted");
125
- feed.hide();
126
- return id;
127
- }
128
-
129
- function removeItem(item) {
130
- if (!item.hasClass('locked')) {
131
- item.fadeOut("fast");
132
- var id = item.attr('id');
133
- if (options.onremove) {
134
- var _item = id ? $("#o" + id + "") : element.children("option[value=" + item.attr("rel") + "]");
135
- funCall(options.onremove, _item);
136
- }
137
- if (id) {
138
- $("#o" + id + "").remove();
139
- } else {
140
- element.children('option[value="' + item.attr("rel") + '"]').remove();
141
- }
142
- item.remove();
143
- element.change();
144
- deleting = 0;
145
- }
146
- }
147
-
148
- function addInput(focusme) {
149
- var li = $('<li class="bit-input" id="'+elemid + '_annoninput">');
150
- var input = $('<input type="text" class="maininput" size="1" autocomplete="off">');
151
- var getBoxTimeout = 0;
152
-
153
- holder.append(li.append(input));
154
-
155
- input.focus( function() {
156
- if (maxItems()) {
157
- complete.fadeIn("fast");
158
- }
159
- });
160
-
161
- input.blur( function() {
162
- if (complete_hover) {
163
- complete.fadeOut("fast");
164
- } else {
165
- input.focus();
166
- }
167
- });
168
-
169
- holder.click( function() {
170
- input.focus();
171
- if (feed.length && input.val().length) {
172
- feed.show();
173
- } else {
174
- feed.hide();
175
- complete.children(".default").show();
176
- }
177
- });
178
-
179
- input.keypress( function(event) {
180
- if (event.keyCode == _key.enter) {
181
- return false;
182
- }
183
- //auto expand input
184
- input.attr("size", input.val().length + 1);
185
- });
186
-
187
- input.keyup( function(event) {
188
- var etext = xssPrevent(input.val(), 1);
189
-
190
- if (event.keyCode == _key.backspace && etext.length == 0) {
191
- feed.hide();
192
- if (!holder.children("li.bit-box:last").hasClass('locked')) {
193
- if (holder.children("li.bit-box.deleted").length == 0) {
194
- holder.children("li.bit-box:last").addClass("deleted");
195
- return false;
196
- } else {
197
- if (deleting) {
198
- return;
199
- }
200
- deleting = 1;
201
- holder.children("li.bit-box.deleted").fadeOut("fast", function() {
202
- removeItem($(this));
203
- return false;
204
- });
205
- }
206
- }
207
- }
208
-
209
- if (event.keyCode != _key.downarrow && event.keyCode != _key.uparrow && event.keyCode!= _key.leftarrow && event.keyCode!= _key.rightarrow && etext.length != 0) {
210
- counter = 0;
211
- if (options.json_url && maxItems()) {
212
- if (options.cache && json_cache_object.get(etext)) {
213
- addMembers(etext);
214
- bindEvents();
215
- } else {
216
- getBoxTimeout++;
217
- var getBoxTimeoutValue = getBoxTimeout;
218
- setTimeout( function() {
219
- if (getBoxTimeoutValue != getBoxTimeout) return;
220
- $.getJSON(options.json_url, {"tag": xssDisplay(etext)}, function(data) {
221
- addMembers(etext, data);
222
- json_cache_object.set(etext, 1);
223
- bindEvents();
224
- });
225
- }, options.delay);
226
- }
227
- } else {
228
- addMembers(etext);
229
- bindEvents();
230
- }
231
- complete.children(".default").hide();
232
- feed.show();
233
- }
234
- });
235
- if (focusme) {
236
- setTimeout( function() {
237
- input.focus();
238
- complete.children(".default").show();
239
- }, 1);
240
- }
241
- }
242
-
243
- function addMembers(etext, data) {
244
- feed.html('');
245
- if (!options.cache && data != null) {
246
- cache.clear();
247
- }
248
- addTextItem(etext);
249
- if (data != null && data.length) {
250
- $.each(data, function(i, val) {
251
- cache.set(xssPrevent(val.key), xssPrevent(val.value));
252
- });
253
- }
254
- var maximum = options.maxshownitems < cache.length() ? options.maxshownitems: cache.length();
255
- var content = '';
256
- $.each(cache.search(etext), function (i, object) {
257
- if (options.filter_selected && element.children("option[value=" + object.key + "]").hasClass("selected")) {
258
- //nothing here...
259
- } else {
260
- content += '<li rel="' + object.key + '">' + xssDisplay(itemIllumination(object.value, etext)) + '</li>';
261
- counter++;
262
- maximum--;
263
- }
264
- });
265
- feed.append(content);
266
- if (options.firstselected) {
267
- focuson = feed.children("li:visible:first");
268
- focuson.addClass("auto-focus");
269
- }
270
-
271
- if (counter > options.height) {
272
- feed.css({
273
- "height": (options.height * 24) + "px",
274
- "overflow": "auto"
275
- });
276
- } else {
277
- feed.css("height", "auto");
278
- }
279
-
280
- if (maxItems() && complete.is(':hidden')) {
281
- complete.show();
282
- }
283
- }
284
-
285
- function itemIllumination(text, etext) {
286
- if (options.filter_case) {
287
- try {
288
- var regex = new RegExp("(.*)(" + etext + ")(.*)", ((options.filter_case) ?"g":"gi"));
289
- var text = text.replace(regex,'$1<em>$2</em>$3');
290
- } catch(ex) {};
291
- } else {
292
- try {
293
- var regex = new RegExp("(.*)(" + etext.toLowerCase() + ")(.*)", "gi");
294
- var text = text.replace(regex,'$1<em>$2</em>$3');
295
- } catch(ex) {};
296
- }
297
- return text;
298
- }
299
-
300
- function bindFeedEvent() {
301
- feed.children("li").mouseover( function() {
302
- feed.children("li").removeClass("auto-focus");
303
- focuson = $(this);
304
- focuson.addClass("auto-focus");
305
- });
306
- feed.children("li").mouseout( function() {
307
- $(this).removeClass("auto-focus");
308
- focuson = null;
309
- });
310
- }
311
-
312
- function removeFeedEvent() {
313
- feed.unbind("mouseover").unbind("mouseout").mousemove( function() {
314
- bindFeedEvent();
315
- feed.unbind("mousemove");
316
- });
317
- }
318
-
319
- function bindEvents() {
320
- var maininput = $("#" + elemid + "_annoninput").children(".maininput");
321
- bindFeedEvent();
322
-
323
- feed.children("li").unbind("mousedown").mousedown( function() {
324
- var option = $(this);
325
- addItem(option.text(), option.attr("rel"), 0, 0, 1);
326
- feed.hide();
327
- complete.hide();
328
- });
329
-
330
- maininput.unbind("keydown");
331
- maininput.keydown( function(event) {
332
-
333
- if (event.keyCode != _key.backspace) {
334
- holder.children("li.bit-box.deleted").removeClass("deleted");
335
- }
336
-
337
- if ((event.keyCode == _key.enter || event.keyCode == _key.tab) && checkFocusOn()) {
338
- var option = focuson;
339
- addItem(option.text(), option.attr("rel"), 0, 0, 1);
340
- return _preventDefault(event);
341
- }
342
-
343
- if ((event.keyCode == _key.enter || event.keyCode == _key.tab) && !checkFocusOn()) {
344
- if (options.newel) {
345
- var value = xssPrevent($(this).val());
346
- addItem(value, value, 0, 0, 1);
347
- return _preventDefault(event);
348
- }
349
- if (options.addontab && options.newel) {
350
- focuson = feed.children("li:visible:first");
351
- var option = focuson;
352
- addItem(option.text(), option.attr("rel"), 0, 0, 1);
353
- return _preventDefault(event);
354
- }
355
- }
356
-
357
- if (event.keyCode == _key.downarrow) {
358
- nextItem('first');
359
- }
360
- if (event.keyCode == _key.uparrow) {
361
- nextItem('last');
362
- }
363
- });
364
- }
365
-
366
- function nextItem(position) {
367
- removeFeedEvent();
368
- if (focuson == null || focuson.length == 0) {
369
- focuson = feed.children("li:visible:" + position);
370
- feed.get(0).scrollTop = position == 'first' ? 0 : parseInt(focuson.get(0).scrollHeight, 10) * (parseInt(feed.children("li:visible").length, 10) - Math.round(options.height / 2));
371
- } else {
372
- focuson.removeClass("auto-focus");
373
- focuson = position == 'first' ? focuson.nextAll("li:visible:first") : focuson.prevAll("li:visible:first");
374
- var prev = parseInt(focuson.prevAll("li:visible").length, 10);
375
- var next = parseInt(focuson.nextAll("li:visible").length, 10);
376
- if (((position == 'first' ? prev : next) > Math.round(options.height / 2) || (position == 'first' ? prev : next) <= Math.round(options.height / 2)) && typeof(focuson.get(0)) != "undefined") {
377
- feed.get(0).scrollTop = parseInt(focuson.get(0).scrollHeight, 10) * (prev - Math.round(options.height / 2));
378
- }
379
- }
380
- feed.children("li").removeClass("auto-focus");
381
- focuson.addClass("auto-focus");
382
- }
383
-
384
- function _preventDefault(event) {
385
- complete.hide();
386
- event.preventDefault();
387
- focuson = null;
388
- return false;
389
- }
390
-
391
- function maxItems() {
392
- return options.maxitems != 0 && (holder.children("li.bit-box").length < options.maxitems);
393
- }
394
-
395
- function addTextItem(value) {
396
- if (options.newel && maxItems()) {
397
- feed.children("li[fckb=1]").remove();
398
- if (value.length == 0) {
399
- return;
400
- }
401
- var li = $('<li rel="'+value+'" fckb="1"">').html(xssDisplay(value));
402
- feed.prepend(li);
403
- counter++;
404
- }
405
- return;
406
- }
407
-
408
- function funCall(func, item) {
409
- var _object = {};
410
- for (i = 0; i < item.get(0).attributes.length; i++) {
411
- if (item.get(0).attributes[i].nodeValue != null) {
412
- _object["_" + item.get(0).attributes[i].nodeName] = item.get(0).attributes[i].nodeValue;
413
- }
414
- }
415
- return func.call(func, _object);
416
- }
417
-
418
- function checkFocusOn() {
419
- if (focuson == null || focuson.length == 0) {
420
- return false;
421
- }
422
- return true;
423
- }
424
-
425
- function xssPrevent(string, flag) {
426
- if (typeof flag != "undefined") {
427
- for(i = 0; i < string.length; i++) {
428
- var charcode = string.charCodeAt(i);
429
- if ((_key.exclamation <= charcode && charcode <= _key.slash) ||
430
- (_key.colon <= charcode && charcode <= _key.at) ||
431
- (_key.squarebricket_left <= charcode && charcode <= _key.apostrof)) {
432
- string = string.replace(string[i], escape(string[i]));
433
- }
434
- }
435
- string = string.replace(/(\{|\}|\*)/i, "\\$1");
436
- }
437
- return string.replace(/script(.*)/g, "");
438
- }
439
-
440
- function xssDisplay(string, flag) {
441
- string = string.replace('\\', "");
442
- if (typeof flag != "undefined") {
443
- return string;
444
- }
445
- return unescape(string);
446
- }
447
-
448
- var options = $.extend({
449
- json_url: null,
450
- cache: false,
451
- height: "10",
452
- newel: false,
453
- addontab: false,
454
- firstselected: false,
455
- filter_case: false,
456
- filter_selected: false,
457
- complete_text: "Start to type...",
458
- maxshownitems: 30,
459
- maxitems: 10,
460
- onselect: null,
461
- onremove: null,
462
- attachto: null,
463
- delay: 350,
464
- bricket: true
465
- },
466
- opt);
467
-
468
- //system variables
469
- var holder = null;
470
- var feed = null;
471
- var complete = null;
472
- var counter = 0;
473
-
474
- var focuson = null;
475
- var deleting = 0;
476
- var complete_hover = 1;
477
-
478
- var element = $(this);
479
- var elemid = element.attr("id");
480
-
481
- var json_cache = $('<div></div>').after(element);
482
- var json_cache_object = {
483
- 'set': function (id, val) {
484
- json_cache.data(id, val);
485
- },
486
- 'get': function(id) {
487
- return json_cache.data(id);
488
- }
489
- };
490
-
491
- var _key = { 'enter': 13,
492
- 'tab': 9,
493
- 'backspace': 8,
494
- 'leftarrow': 37,
495
- 'uparrow': 38,
496
- 'rightarrow': 39,
497
- 'downarrow': 40,
498
- 'exclamation': 33,
499
- 'slash': 47,
500
- 'colon': 58,
501
- 'at': 64,
502
- 'squarebricket_left': 91,
503
- 'apostrof': 96
504
- };
505
-
506
- var randomId = function() {
507
- var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
508
- var randomstring = '';
509
- for (var i = 0; i < 32; i++) {
510
- var rnum = Math.floor(Math.random() * chars.length);
511
- randomstring += chars.substring(rnum, rnum + 1);
512
- }
513
- return randomstring;
514
- };
515
-
516
- var cache = {
517
- 'search': function (text, callback) {
518
- var temp = new Array();
519
- var regex = new RegExp(text, (options.filter_case ? "g": "gi"));
520
- $.each(element.data(), function (i, _elem) {
521
- if (typeof _elem.search === 'function') {
522
- if (_elem.search(regex) != -1) {
523
- temp.push({'key': i, 'value': _elem});
524
- }
525
- }
526
- });
527
- return temp;
528
- },
529
- 'set': function (id, val) {
530
- element.data(id, val);
531
- },
532
- 'get': function(id) {
533
- return element.data(id);
534
- },
535
- 'clear': function() {
536
- element.removeData();
537
- },
538
- 'length': function() {
539
- var count = 0;
540
- for (var k in this) {
541
- if (this.hasOwnProperty(k)) {
542
- ++count;
543
- }
544
- }
545
- return count;
546
- }
547
- };
548
-
549
- init();
550
- return this;
551
- });
552
- };
553
- })(jQuery);