muck-raker 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (585) hide show
  1. data/.gitignore +1 -0
  2. data/README.rdoc +39 -4
  3. data/VERSION +1 -1
  4. data/app/controllers/muck/feeds_controller.rb +8 -2
  5. data/app/controllers/muck/identity_feeds_controller.rb +154 -0
  6. data/app/controllers/muck/visits_controller.rb +7 -1
  7. data/app/helpers/muck_raker_services_helper.rb +117 -0
  8. data/app/models/aggregation.rb +17 -0
  9. data/app/models/amazon.rb +59 -0
  10. data/app/models/amazon_request.rb +83 -0
  11. data/app/models/click.rb +0 -8
  12. data/app/models/entry.rb +2 -1
  13. data/app/models/feed.rb +53 -57
  14. data/app/models/feed_parent.rb +0 -5
  15. data/app/models/identity_feed.rb +26 -0
  16. data/app/models/recommendation.rb +0 -5
  17. data/app/models/service.rb +53 -8
  18. data/app/models/service_category.rb +14 -0
  19. data/app/models/tag_cloud.rb +0 -4
  20. data/app/views/activity_templates/_entry_comment.html.erb +8 -0
  21. data/app/views/activity_templates/_entry_share.html.erb +8 -0
  22. data/app/views/identity_feeds/_form.html.erb +20 -0
  23. data/app/views/identity_feeds/_service_categories.html.erb +13 -0
  24. data/app/views/identity_feeds/_services_for_user.html.erb +25 -0
  25. data/app/views/identity_feeds/edit.html.erb +2 -0
  26. data/app/views/identity_feeds/index.html.erb +32 -0
  27. data/app/views/identity_feeds/new.html.erb +1 -0
  28. data/app/views/parts/_add_extended_feed.html.erb +1 -1
  29. data/app/views/parts/_add_feed.html.erb +1 -1
  30. data/app/views/parts/_add_single_feed.html.erb +1 -1
  31. data/app/views/service_templates/_facebook.html.erb +4 -0
  32. data/app/views/service_templates/_friendfeed.html.erb +2 -0
  33. data/app/views/service_templates/_goodreads.html.erb +2 -0
  34. data/app/views/service_templates/_linkedin.html.erb +2 -0
  35. data/app/views/service_templates/_netflix.html.erb +2 -0
  36. data/app/views/service_templates/_polyvore.html.erb +2 -0
  37. data/app/views/service_templates/_zotero_group.html.erb +2 -0
  38. data/app/views/services/_edit_service.html.erb +1 -0
  39. data/app/views/services/_new_service.html.erb +1 -0
  40. data/app/views/services/_summary.html.erb +5 -0
  41. data/app/views/services/_view_service.html.erb +1 -0
  42. data/app/views/visits/_comments_tool.html.erb +19 -0
  43. data/app/views/visits/_frame_scripts.html.erb +26 -0
  44. data/app/views/visits/_share_tool.html.erb +22 -0
  45. data/app/views/visits/_toolbar.html.erb +25 -0
  46. data/app/views/visits/show.html.erb +4 -96
  47. data/config/muck_raker_routes.rb +2 -0
  48. data/db/bootstrap/service_categories.yml +40 -0
  49. data/db/bootstrap/services.yml +605 -153
  50. data/db/migrate/20090826220530_change_services_sequence_to_sort.rb +9 -0
  51. data/db/migrate/20090826225652_create_identity_feeds.rb +14 -0
  52. data/db/migrate/20090827005105_add_identity_fields_to_services.rb +13 -0
  53. data/db/migrate/20090827015308_create_service_categories.rb +12 -0
  54. data/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +11 -0
  55. data/lib/active_record/acts/muck_feed_owner.rb +31 -0
  56. data/lib/active_record/acts/muck_feed_parent.rb +3 -2
  57. data/lib/active_record/acts/muck_raker_comment.rb +39 -0
  58. data/lib/active_record/acts/muck_raker_share.rb +32 -0
  59. data/lib/muck_raker/tasks.rb +19 -0
  60. data/lib/muck_raker.rb +6 -0
  61. data/locales/ar.yml +98 -61
  62. data/locales/bg.yml +90 -53
  63. data/locales/ca.yml +87 -50
  64. data/locales/cs.yml +82 -45
  65. data/locales/da.yml +69 -32
  66. data/locales/de.yml +75 -38
  67. data/locales/el.yml +78 -41
  68. data/locales/en.yml +39 -2
  69. data/locales/es.yml +82 -45
  70. data/locales/et.yml +89 -52
  71. data/locales/fa.yml +82 -45
  72. data/locales/fi.yml +95 -58
  73. data/locales/fr.yml +80 -43
  74. data/locales/gl.yml +94 -57
  75. data/locales/hi.yml +77 -40
  76. data/locales/hr.yml +84 -47
  77. data/locales/hu.yml +101 -64
  78. data/locales/id.yml +81 -44
  79. data/locales/it.yml +84 -47
  80. data/locales/iw.yml +91 -54
  81. data/locales/ja.yml +96 -59
  82. data/locales/ko.yml +77 -40
  83. data/locales/lt.yml +85 -48
  84. data/locales/lv.yml +87 -50
  85. data/locales/mt.yml +90 -53
  86. data/locales/nl.yml +75 -38
  87. data/locales/no.yml +77 -40
  88. data/locales/pl.yml +79 -42
  89. data/locales/pt-PT.yml +87 -50
  90. data/locales/ro.yml +100 -63
  91. data/locales/ru.yml +94 -57
  92. data/locales/sk.yml +83 -46
  93. data/locales/sl.yml +84 -47
  94. data/locales/sq.yml +101 -64
  95. data/locales/sr.yml +106 -69
  96. data/locales/sv.yml +87 -50
  97. data/locales/th.yml +100 -63
  98. data/locales/tl.yml +73 -36
  99. data/locales/tr.yml +84 -47
  100. data/locales/uk.yml +98 -61
  101. data/locales/vi.yml +87 -50
  102. data/locales/zh-CN.yml +82 -45
  103. data/locales/zh-TW.yml +82 -45
  104. data/locales/zh.yml +83 -46
  105. data/muck-raker.gemspec +517 -5
  106. data/public/ecs_to_rss-wishlist.xslt +41 -0
  107. data/public/images/service_icons/16/blogger.png +0 -0
  108. data/public/images/service_icons/16/citeulike.png +0 -0
  109. data/public/images/service_icons/16/clipmarks.png +0 -0
  110. data/public/images/service_icons/16/dailymotion.png +0 -0
  111. data/public/images/service_icons/16/delicious.png +0 -0
  112. data/public/images/service_icons/16/digg.png +0 -0
  113. data/public/images/service_icons/16/diigo.png +0 -0
  114. data/public/images/service_icons/16/facebook.png +0 -0
  115. data/public/images/service_icons/16/feed.png +0 -0
  116. data/public/images/service_icons/16/flickr.png +0 -0
  117. data/public/images/service_icons/16/fotolog.png +0 -0
  118. data/public/images/service_icons/16/friendfeed.png +0 -0
  119. data/public/images/service_icons/16/friendster.png +0 -0
  120. data/public/images/service_icons/16/furl.png +0 -0
  121. data/public/images/service_icons/16/goodreads.png +0 -0
  122. data/public/images/service_icons/16/google.png +0 -0
  123. data/public/images/service_icons/16/googleblog.png +0 -0
  124. data/public/images/service_icons/16/googlenews.png +0 -0
  125. data/public/images/service_icons/16/identica.png +0 -0
  126. data/public/images/service_icons/16/joost.png +0 -0
  127. data/public/images/service_icons/16/lastfm.png +0 -0
  128. data/public/images/service_icons/16/librarything.png +0 -0
  129. data/public/images/service_icons/16/linkedin.png +0 -0
  130. data/public/images/service_icons/16/livejournal.png +0 -0
  131. data/public/images/service_icons/16/magnolia.png +0 -0
  132. data/public/images/service_icons/16/mendeley.png +0 -0
  133. data/public/images/service_icons/16/mixx.png +0 -0
  134. data/public/images/service_icons/16/myspace.png +0 -0
  135. data/public/images/service_icons/16/netflix.png +0 -0
  136. data/public/images/service_icons/16/netvibes.png +0 -0
  137. data/public/images/service_icons/16/newsvine.png +0 -0
  138. data/public/images/service_icons/16/oai.png +0 -0
  139. data/public/images/service_icons/16/odeo.png +0 -0
  140. data/public/images/service_icons/16/opml.png +0 -0
  141. data/public/images/service_icons/16/pandora.png +0 -0
  142. data/public/images/service_icons/16/photobucket.png +0 -0
  143. data/public/images/service_icons/16/picasa.png +0 -0
  144. data/public/images/service_icons/16/polyvore.png +0 -0
  145. data/public/images/service_icons/16/pownce.png +0 -0
  146. data/public/images/service_icons/16/reddit.png +0 -0
  147. data/public/images/service_icons/16/simpy.png +0 -0
  148. data/public/images/service_icons/16/smugmug.png +0 -0
  149. data/public/images/service_icons/16/stumbleupon.png +0 -0
  150. data/public/images/service_icons/16/tag.png +0 -0
  151. data/public/images/service_icons/16/technorati.png +0 -0
  152. data/public/images/service_icons/16/tumblr.png +0 -0
  153. data/public/images/service_icons/16/twitter.png +0 -0
  154. data/public/images/service_icons/16/vimeo.png +0 -0
  155. data/public/images/service_icons/16/webshots.png +0 -0
  156. data/public/images/service_icons/16/wordpress.png +0 -0
  157. data/public/images/service_icons/16/xanga.png +0 -0
  158. data/public/images/service_icons/16/yahoo.png +0 -0
  159. data/public/images/service_icons/16/yelp.png +0 -0
  160. data/public/images/service_icons/16/youtube.png +0 -0
  161. data/public/images/service_icons/16/zooomr.png +0 -0
  162. data/public/images/service_icons/16/zotero.png +0 -0
  163. data/public/images/service_icons/24/amazon.png +0 -0
  164. data/public/images/service_icons/24/blogger.png +0 -0
  165. data/public/images/service_icons/24/citeulike.png +0 -0
  166. data/public/images/service_icons/24/clipmarks.png +0 -0
  167. data/public/images/service_icons/24/dailymotion.png +0 -0
  168. data/public/images/service_icons/24/delicious.png +0 -0
  169. data/public/images/service_icons/24/digg.png +0 -0
  170. data/public/images/service_icons/24/diigo.png +0 -0
  171. data/public/images/service_icons/24/facebook.png +0 -0
  172. data/public/images/service_icons/24/feed.png +0 -0
  173. data/public/images/service_icons/24/flickr.png +0 -0
  174. data/public/images/service_icons/24/fotolog.png +0 -0
  175. data/public/images/service_icons/24/friendfeed.png +0 -0
  176. data/public/images/service_icons/24/friendster.png +0 -0
  177. data/public/images/service_icons/24/furl.png +0 -0
  178. data/public/images/service_icons/24/goodreads.png +0 -0
  179. data/public/images/service_icons/24/google.png +0 -0
  180. data/public/images/service_icons/24/googleblog.png +0 -0
  181. data/public/images/service_icons/24/googlenews.png +0 -0
  182. data/public/images/service_icons/24/identica.png +0 -0
  183. data/public/images/service_icons/24/joost.png +0 -0
  184. data/public/images/service_icons/24/lastfm.png +0 -0
  185. data/public/images/service_icons/24/librarything.png +0 -0
  186. data/public/images/service_icons/24/linkedin.png +0 -0
  187. data/public/images/service_icons/24/livejournal.png +0 -0
  188. data/public/images/service_icons/24/magnolia.png +0 -0
  189. data/public/images/service_icons/24/mendeley.png +0 -0
  190. data/public/images/service_icons/24/mixx.png +0 -0
  191. data/public/images/service_icons/24/myspace.png +0 -0
  192. data/public/images/service_icons/24/netflix.png +0 -0
  193. data/public/images/service_icons/24/netvibes.png +0 -0
  194. data/public/images/service_icons/24/newsvine.png +0 -0
  195. data/public/images/service_icons/24/oai.png +0 -0
  196. data/public/images/service_icons/24/odeo.png +0 -0
  197. data/public/images/service_icons/24/opml.png +0 -0
  198. data/public/images/service_icons/24/pandora.png +0 -0
  199. data/public/images/service_icons/24/photobucket.png +0 -0
  200. data/public/images/service_icons/24/picasa.png +0 -0
  201. data/public/images/service_icons/24/polyvore.png +0 -0
  202. data/public/images/service_icons/24/pownce.png +0 -0
  203. data/public/images/service_icons/24/reddit.png +0 -0
  204. data/public/images/service_icons/24/simpy.png +0 -0
  205. data/public/images/service_icons/24/smugmug.png +0 -0
  206. data/public/images/service_icons/24/stumbleupon.png +0 -0
  207. data/public/images/service_icons/24/tag.png +0 -0
  208. data/public/images/service_icons/24/technorati.png +0 -0
  209. data/public/images/service_icons/24/tumblr.png +0 -0
  210. data/public/images/service_icons/24/twitter.png +0 -0
  211. data/public/images/service_icons/24/vimeo.png +0 -0
  212. data/public/images/service_icons/24/webshots.png +0 -0
  213. data/public/images/service_icons/24/wordpress.png +0 -0
  214. data/public/images/service_icons/24/xanga.png +0 -0
  215. data/public/images/service_icons/24/yahoo.png +0 -0
  216. data/public/images/service_icons/24/yelp.png +0 -0
  217. data/public/images/service_icons/24/youtube.png +0 -0
  218. data/public/images/service_icons/24/zooomr.png +0 -0
  219. data/public/images/service_icons/24/zotero.png +0 -0
  220. data/public/images/service_icons/48/amazon.png +0 -0
  221. data/public/images/service_icons/48/blogger.png +0 -0
  222. data/public/images/service_icons/48/citeulike.png +0 -0
  223. data/public/images/service_icons/48/clipmarks.png +0 -0
  224. data/public/images/service_icons/48/dailymotion.png +0 -0
  225. data/public/images/service_icons/48/delicious.png +0 -0
  226. data/public/images/service_icons/48/digg.png +0 -0
  227. data/public/images/service_icons/48/diigo.png +0 -0
  228. data/public/images/service_icons/48/facebook.png +0 -0
  229. data/public/images/service_icons/48/feed.png +0 -0
  230. data/public/images/service_icons/48/flickr.png +0 -0
  231. data/public/images/service_icons/48/fotolog.png +0 -0
  232. data/public/images/service_icons/48/friendfeed.png +0 -0
  233. data/public/images/service_icons/48/friendster.png +0 -0
  234. data/public/images/service_icons/48/furl.png +0 -0
  235. data/public/images/service_icons/48/goodreads.png +0 -0
  236. data/public/images/service_icons/48/google.png +0 -0
  237. data/public/images/service_icons/48/googleblog.png +0 -0
  238. data/public/images/service_icons/48/googlenews.png +0 -0
  239. data/public/images/service_icons/48/identica.png +0 -0
  240. data/public/images/service_icons/48/joost.png +0 -0
  241. data/public/images/service_icons/48/lastfm.png +0 -0
  242. data/public/images/service_icons/48/librarything.png +0 -0
  243. data/public/images/service_icons/48/linkedin.png +0 -0
  244. data/public/images/service_icons/48/livejournal.png +0 -0
  245. data/public/images/service_icons/48/magnolia.png +0 -0
  246. data/public/images/service_icons/48/mendeley.png +0 -0
  247. data/public/images/service_icons/48/mixx.png +0 -0
  248. data/public/images/service_icons/48/myspace.png +0 -0
  249. data/public/images/service_icons/48/netflix.png +0 -0
  250. data/public/images/service_icons/48/netvibes.png +0 -0
  251. data/public/images/service_icons/48/newsvine.png +0 -0
  252. data/public/images/service_icons/48/oai.png +0 -0
  253. data/public/images/service_icons/48/odeo.png +0 -0
  254. data/public/images/service_icons/48/opml.png +0 -0
  255. data/public/images/service_icons/48/pandora.png +0 -0
  256. data/public/images/service_icons/48/photobucket.png +0 -0
  257. data/public/images/service_icons/48/picasa.png +0 -0
  258. data/public/images/service_icons/48/polyvore.png +0 -0
  259. data/public/images/service_icons/48/pownce.png +0 -0
  260. data/public/images/service_icons/48/reddit.png +0 -0
  261. data/public/images/service_icons/48/simpy.png +0 -0
  262. data/public/images/service_icons/48/smugmug.png +0 -0
  263. data/public/images/service_icons/48/stumbleupon.png +0 -0
  264. data/public/images/service_icons/48/tag.png +0 -0
  265. data/public/images/service_icons/48/technorati.png +0 -0
  266. data/public/images/service_icons/48/tumblr.png +0 -0
  267. data/public/images/service_icons/48/twitter.png +0 -0
  268. data/public/images/service_icons/48/vimeo.png +0 -0
  269. data/public/images/service_icons/48/webshots.png +0 -0
  270. data/public/images/service_icons/48/wordpress.png +0 -0
  271. data/public/images/service_icons/48/xanga.png +0 -0
  272. data/public/images/service_icons/48/yahoo.png +0 -0
  273. data/public/images/service_icons/48/yelp.png +0 -0
  274. data/public/images/service_icons/48/youtube.png +0 -0
  275. data/public/images/service_icons/48/zooomr.png +0 -0
  276. data/public/images/service_icons/48/zotero.png +0 -0
  277. data/public/images/service_icons/60/amazon.png +0 -0
  278. data/public/images/service_icons/60/blogger.png +0 -0
  279. data/public/images/service_icons/60/citeulike.png +0 -0
  280. data/public/images/service_icons/60/clipmarks.png +0 -0
  281. data/public/images/service_icons/60/dailymotion.png +0 -0
  282. data/public/images/service_icons/60/delicious.png +0 -0
  283. data/public/images/service_icons/60/digg.png +0 -0
  284. data/public/images/service_icons/60/diigo.png +0 -0
  285. data/public/images/service_icons/60/facebook.png +0 -0
  286. data/public/images/service_icons/60/feed.png +0 -0
  287. data/public/images/service_icons/60/flickr.png +0 -0
  288. data/public/images/service_icons/60/fotolog.png +0 -0
  289. data/public/images/service_icons/60/friendfeed.png +0 -0
  290. data/public/images/service_icons/60/friendster.png +0 -0
  291. data/public/images/service_icons/60/furl.png +0 -0
  292. data/public/images/service_icons/60/goodreads.png +0 -0
  293. data/public/images/service_icons/60/google.png +0 -0
  294. data/public/images/service_icons/60/googleblog.png +0 -0
  295. data/public/images/service_icons/60/googlenews.png +0 -0
  296. data/public/images/service_icons/60/identica.png +0 -0
  297. data/public/images/service_icons/60/joost.png +0 -0
  298. data/public/images/service_icons/60/lastfm.png +0 -0
  299. data/public/images/service_icons/60/librarything.png +0 -0
  300. data/public/images/service_icons/60/linkedin.png +0 -0
  301. data/public/images/service_icons/60/livejournal.png +0 -0
  302. data/public/images/service_icons/60/magnolia.png +0 -0
  303. data/public/images/service_icons/60/mendeley.png +0 -0
  304. data/public/images/service_icons/60/mixx.png +0 -0
  305. data/public/images/service_icons/60/myspace.png +0 -0
  306. data/public/images/service_icons/60/netflix.png +0 -0
  307. data/public/images/service_icons/60/netvibes.png +0 -0
  308. data/public/images/service_icons/60/newsvine.png +0 -0
  309. data/public/images/service_icons/60/oai.png +0 -0
  310. data/public/images/service_icons/60/odeo.png +0 -0
  311. data/public/images/service_icons/60/opml.png +0 -0
  312. data/public/images/service_icons/60/pandora.png +0 -0
  313. data/public/images/service_icons/60/photobucket.png +0 -0
  314. data/public/images/service_icons/60/picasa.png +0 -0
  315. data/public/images/service_icons/60/polyvore.png +0 -0
  316. data/public/images/service_icons/60/pownce.png +0 -0
  317. data/public/images/service_icons/60/reddit.png +0 -0
  318. data/public/images/service_icons/60/simpy.png +0 -0
  319. data/public/images/service_icons/60/smugmug.png +0 -0
  320. data/public/images/service_icons/60/stumbleupon.png +0 -0
  321. data/public/images/service_icons/60/tag.png +0 -0
  322. data/public/images/service_icons/60/technorati.png +0 -0
  323. data/public/images/service_icons/60/tumblr.png +0 -0
  324. data/public/images/service_icons/60/twitter.png +0 -0
  325. data/public/images/service_icons/60/vimeo.png +0 -0
  326. data/public/images/service_icons/60/webshots.png +0 -0
  327. data/public/images/service_icons/60/wordpress.png +0 -0
  328. data/public/images/service_icons/60/xanga.png +0 -0
  329. data/public/images/service_icons/60/yahoo.png +0 -0
  330. data/public/images/service_icons/60/yelp.png +0 -0
  331. data/public/images/service_icons/60/youtube.png +0 -0
  332. data/public/images/service_icons/60/zooomr.png +0 -0
  333. data/public/images/service_icons/60/zotero.png +0 -0
  334. data/public/images/service_icons/amazon.png +0 -0
  335. data/public/images/service_icons/facebook_friend_links.jpg +0 -0
  336. data/public/images/service_icons/facebook_my_links.jpg +0 -0
  337. data/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  338. data/public/images/service_icons/source/Google.psd +0 -0
  339. data/public/images/service_icons/source/Quake 9 Design.webloc +0 -0
  340. data/public/images/service_icons/source/ReadMe.rtf +52 -0
  341. data/public/images/service_icons/source/aquaticus.social.png +0 -0
  342. data/public/images/service_icons/source/citeulike.png +0 -0
  343. data/public/images/service_icons/source/clipmarks.png +0 -0
  344. data/public/images/service_icons/source/netflix.png +0 -0
  345. data/public/images/service_icons/source/oai.png +0 -0
  346. data/public/images/service_icons/source/odeo.png +0 -0
  347. data/public/images/service_icons/source/opml.png +0 -0
  348. data/public/images/service_icons/source/pandora.png +0 -0
  349. data/public/images/service_icons/source/simpy.png +0 -0
  350. data/public/images/service_icons/source/template.png +0 -0
  351. data/public/images/service_icons/source/xanga.png +0 -0
  352. data/public/javascripts/muck_raker.js +19 -5
  353. data/public/stylesheets/frame.css +52 -0
  354. data/raker/lib/aggregatord.jar +0 -0
  355. data/test/rails_root/app/controllers/application_controller.rb +2 -0
  356. data/test/rails_root/app/models/activity.rb +22 -1
  357. data/test/rails_root/app/models/comment.rb +21 -1
  358. data/test/rails_root/app/models/share.rb +19 -2
  359. data/test/rails_root/app/models/user.rb +2 -1
  360. data/test/rails_root/config/global_config.yml +4 -1
  361. data/test/rails_root/config/routes.rb +8 -1
  362. data/test/rails_root/db/bootstrap/service_categories.yml +40 -0
  363. data/test/rails_root/db/bootstrap/services.yml +605 -153
  364. data/test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
  365. data/test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
  366. data/test/rails_root/db/migrate/20090826220530_change_services_sequence_to_sort.rb +9 -0
  367. data/test/rails_root/db/migrate/20090826225652_create_identity_feeds.rb +14 -0
  368. data/test/rails_root/db/migrate/20090827005105_add_identity_fields_to_services.rb +13 -0
  369. data/test/rails_root/db/migrate/20090827015308_create_service_categories.rb +12 -0
  370. data/test/rails_root/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +11 -0
  371. data/test/rails_root/public/ecs_to_rss-wishlist.xslt +41 -0
  372. data/test/rails_root/public/images/icons/comment.png +0 -0
  373. data/test/rails_root/public/images/service_icons/16/blogger.png +0 -0
  374. data/test/rails_root/public/images/service_icons/16/citeulike.png +0 -0
  375. data/test/rails_root/public/images/service_icons/16/clipmarks.png +0 -0
  376. data/test/rails_root/public/images/service_icons/16/delicious.png +0 -0
  377. data/test/rails_root/public/images/service_icons/16/digg.png +0 -0
  378. data/test/rails_root/public/images/service_icons/16/facebook.png +0 -0
  379. data/test/rails_root/public/images/service_icons/16/feed.png +0 -0
  380. data/test/rails_root/public/images/service_icons/16/flickr.png +0 -0
  381. data/test/rails_root/public/images/service_icons/16/friendfeed.png +0 -0
  382. data/test/rails_root/public/images/service_icons/16/friendster.png +0 -0
  383. data/test/rails_root/public/images/service_icons/16/furl.png +0 -0
  384. data/test/rails_root/public/images/service_icons/16/google.png +0 -0
  385. data/test/rails_root/public/images/service_icons/16/lastfm.png +0 -0
  386. data/test/rails_root/public/images/service_icons/16/linkedin.png +0 -0
  387. data/test/rails_root/public/images/service_icons/16/livejournal.png +0 -0
  388. data/test/rails_root/public/images/service_icons/16/magnolia.png +0 -0
  389. data/test/rails_root/public/images/service_icons/16/mixx.png +0 -0
  390. data/test/rails_root/public/images/service_icons/16/myspace.png +0 -0
  391. data/test/rails_root/public/images/service_icons/16/netflix.png +0 -0
  392. data/test/rails_root/public/images/service_icons/16/netvibes.png +0 -0
  393. data/test/rails_root/public/images/service_icons/16/newsvine.png +0 -0
  394. data/test/rails_root/public/images/service_icons/16/oai.png +0 -0
  395. data/test/rails_root/public/images/service_icons/16/odeo.png +0 -0
  396. data/test/rails_root/public/images/service_icons/16/opml.png +0 -0
  397. data/test/rails_root/public/images/service_icons/16/pandora.png +0 -0
  398. data/test/rails_root/public/images/service_icons/16/picasa.png +0 -0
  399. data/test/rails_root/public/images/service_icons/16/pownce.png +0 -0
  400. data/test/rails_root/public/images/service_icons/16/reddit.png +0 -0
  401. data/test/rails_root/public/images/service_icons/16/simpy.png +0 -0
  402. data/test/rails_root/public/images/service_icons/16/stumbleupon.png +0 -0
  403. data/test/rails_root/public/images/service_icons/16/technorati.png +0 -0
  404. data/test/rails_root/public/images/service_icons/16/twitter.png +0 -0
  405. data/test/rails_root/public/images/service_icons/16/vimeo.png +0 -0
  406. data/test/rails_root/public/images/service_icons/16/webshots.png +0 -0
  407. data/test/rails_root/public/images/service_icons/16/wordpress.png +0 -0
  408. data/test/rails_root/public/images/service_icons/16/xanga.png +0 -0
  409. data/test/rails_root/public/images/service_icons/16/yahoo.png +0 -0
  410. data/test/rails_root/public/images/service_icons/16/yelp.png +0 -0
  411. data/test/rails_root/public/images/service_icons/16/youtube.png +0 -0
  412. data/test/rails_root/public/images/service_icons/24/blogger.png +0 -0
  413. data/test/rails_root/public/images/service_icons/24/citeulike.png +0 -0
  414. data/test/rails_root/public/images/service_icons/24/clipmarks.png +0 -0
  415. data/test/rails_root/public/images/service_icons/24/delicious.png +0 -0
  416. data/test/rails_root/public/images/service_icons/24/digg.png +0 -0
  417. data/test/rails_root/public/images/service_icons/24/facebook.png +0 -0
  418. data/test/rails_root/public/images/service_icons/24/feed.png +0 -0
  419. data/test/rails_root/public/images/service_icons/24/flickr.png +0 -0
  420. data/test/rails_root/public/images/service_icons/24/friendfeed.png +0 -0
  421. data/test/rails_root/public/images/service_icons/24/friendster.png +0 -0
  422. data/test/rails_root/public/images/service_icons/24/furl.png +0 -0
  423. data/test/rails_root/public/images/service_icons/24/google.png +0 -0
  424. data/test/rails_root/public/images/service_icons/24/lastfm.png +0 -0
  425. data/test/rails_root/public/images/service_icons/24/linkedin.png +0 -0
  426. data/test/rails_root/public/images/service_icons/24/livejournal.png +0 -0
  427. data/test/rails_root/public/images/service_icons/24/magnolia.png +0 -0
  428. data/test/rails_root/public/images/service_icons/24/mixx.png +0 -0
  429. data/test/rails_root/public/images/service_icons/24/myspace.png +0 -0
  430. data/test/rails_root/public/images/service_icons/24/netflix.png +0 -0
  431. data/test/rails_root/public/images/service_icons/24/netvibes.png +0 -0
  432. data/test/rails_root/public/images/service_icons/24/newsvine.png +0 -0
  433. data/test/rails_root/public/images/service_icons/24/oai.png +0 -0
  434. data/test/rails_root/public/images/service_icons/24/odeo.png +0 -0
  435. data/test/rails_root/public/images/service_icons/24/opml.png +0 -0
  436. data/test/rails_root/public/images/service_icons/24/pandora.png +0 -0
  437. data/test/rails_root/public/images/service_icons/24/picasa.png +0 -0
  438. data/test/rails_root/public/images/service_icons/24/pownce.png +0 -0
  439. data/test/rails_root/public/images/service_icons/24/reddit.png +0 -0
  440. data/test/rails_root/public/images/service_icons/24/simpy.png +0 -0
  441. data/test/rails_root/public/images/service_icons/24/stumbleupon.png +0 -0
  442. data/test/rails_root/public/images/service_icons/24/technorati.png +0 -0
  443. data/test/rails_root/public/images/service_icons/24/twitter.png +0 -0
  444. data/test/rails_root/public/images/service_icons/24/vimeo.png +0 -0
  445. data/test/rails_root/public/images/service_icons/24/webshots.png +0 -0
  446. data/test/rails_root/public/images/service_icons/24/wordpress.png +0 -0
  447. data/test/rails_root/public/images/service_icons/24/xanga.png +0 -0
  448. data/test/rails_root/public/images/service_icons/24/yahoo.png +0 -0
  449. data/test/rails_root/public/images/service_icons/24/yelp.png +0 -0
  450. data/test/rails_root/public/images/service_icons/24/youtube.png +0 -0
  451. data/test/rails_root/public/images/service_icons/48/blogger.png +0 -0
  452. data/test/rails_root/public/images/service_icons/48/citeulike.png +0 -0
  453. data/test/rails_root/public/images/service_icons/48/clipmarks.png +0 -0
  454. data/test/rails_root/public/images/service_icons/48/delicious.png +0 -0
  455. data/test/rails_root/public/images/service_icons/48/digg.png +0 -0
  456. data/test/rails_root/public/images/service_icons/48/facebook.png +0 -0
  457. data/test/rails_root/public/images/service_icons/48/feed.png +0 -0
  458. data/test/rails_root/public/images/service_icons/48/flickr.png +0 -0
  459. data/test/rails_root/public/images/service_icons/48/friendfeed.png +0 -0
  460. data/test/rails_root/public/images/service_icons/48/friendster.png +0 -0
  461. data/test/rails_root/public/images/service_icons/48/furl.png +0 -0
  462. data/test/rails_root/public/images/service_icons/48/google.png +0 -0
  463. data/test/rails_root/public/images/service_icons/48/lastfm.png +0 -0
  464. data/test/rails_root/public/images/service_icons/48/linkedin.png +0 -0
  465. data/test/rails_root/public/images/service_icons/48/livejournal.png +0 -0
  466. data/test/rails_root/public/images/service_icons/48/magnolia.png +0 -0
  467. data/test/rails_root/public/images/service_icons/48/mixx.png +0 -0
  468. data/test/rails_root/public/images/service_icons/48/myspace.png +0 -0
  469. data/test/rails_root/public/images/service_icons/48/netflix.png +0 -0
  470. data/test/rails_root/public/images/service_icons/48/netvibes.png +0 -0
  471. data/test/rails_root/public/images/service_icons/48/newsvine.png +0 -0
  472. data/test/rails_root/public/images/service_icons/48/oai.png +0 -0
  473. data/test/rails_root/public/images/service_icons/48/odeo.png +0 -0
  474. data/test/rails_root/public/images/service_icons/48/opml.png +0 -0
  475. data/test/rails_root/public/images/service_icons/48/pandora.png +0 -0
  476. data/test/rails_root/public/images/service_icons/48/picasa.png +0 -0
  477. data/test/rails_root/public/images/service_icons/48/pownce.png +0 -0
  478. data/test/rails_root/public/images/service_icons/48/reddit.png +0 -0
  479. data/test/rails_root/public/images/service_icons/48/simpy.png +0 -0
  480. data/test/rails_root/public/images/service_icons/48/stumbleupon.png +0 -0
  481. data/test/rails_root/public/images/service_icons/48/technorati.png +0 -0
  482. data/test/rails_root/public/images/service_icons/48/twitter.png +0 -0
  483. data/test/rails_root/public/images/service_icons/48/vimeo.png +0 -0
  484. data/test/rails_root/public/images/service_icons/48/webshots.png +0 -0
  485. data/test/rails_root/public/images/service_icons/48/wordpress.png +0 -0
  486. data/test/rails_root/public/images/service_icons/48/xanga.png +0 -0
  487. data/test/rails_root/public/images/service_icons/48/yahoo.png +0 -0
  488. data/test/rails_root/public/images/service_icons/48/yelp.png +0 -0
  489. data/test/rails_root/public/images/service_icons/48/youtube.png +0 -0
  490. data/test/rails_root/public/images/service_icons/60/blogger.png +0 -0
  491. data/test/rails_root/public/images/service_icons/60/citeulike.png +0 -0
  492. data/test/rails_root/public/images/service_icons/60/clipmarks.png +0 -0
  493. data/test/rails_root/public/images/service_icons/60/delicious.png +0 -0
  494. data/test/rails_root/public/images/service_icons/60/digg.png +0 -0
  495. data/test/rails_root/public/images/service_icons/60/facebook.png +0 -0
  496. data/test/rails_root/public/images/service_icons/60/feed.png +0 -0
  497. data/test/rails_root/public/images/service_icons/60/flickr.png +0 -0
  498. data/test/rails_root/public/images/service_icons/60/friendfeed.png +0 -0
  499. data/test/rails_root/public/images/service_icons/60/friendster.png +0 -0
  500. data/test/rails_root/public/images/service_icons/60/furl.png +0 -0
  501. data/test/rails_root/public/images/service_icons/60/google.png +0 -0
  502. data/test/rails_root/public/images/service_icons/60/lastfm.png +0 -0
  503. data/test/rails_root/public/images/service_icons/60/linkedin.png +0 -0
  504. data/test/rails_root/public/images/service_icons/60/livejournal.png +0 -0
  505. data/test/rails_root/public/images/service_icons/60/magnolia.png +0 -0
  506. data/test/rails_root/public/images/service_icons/60/mixx.png +0 -0
  507. data/test/rails_root/public/images/service_icons/60/myspace.png +0 -0
  508. data/test/rails_root/public/images/service_icons/60/netflix.png +0 -0
  509. data/test/rails_root/public/images/service_icons/60/netvibes.png +0 -0
  510. data/test/rails_root/public/images/service_icons/60/newsvine.png +0 -0
  511. data/test/rails_root/public/images/service_icons/60/oai.png +0 -0
  512. data/test/rails_root/public/images/service_icons/60/odeo.png +0 -0
  513. data/test/rails_root/public/images/service_icons/60/opml.png +0 -0
  514. data/test/rails_root/public/images/service_icons/60/pandora.png +0 -0
  515. data/test/rails_root/public/images/service_icons/60/picasa.png +0 -0
  516. data/test/rails_root/public/images/service_icons/60/pownce.png +0 -0
  517. data/test/rails_root/public/images/service_icons/60/reddit.png +0 -0
  518. data/test/rails_root/public/images/service_icons/60/simpy.png +0 -0
  519. data/test/rails_root/public/images/service_icons/60/stumbleupon.png +0 -0
  520. data/test/rails_root/public/images/service_icons/60/technorati.png +0 -0
  521. data/test/rails_root/public/images/service_icons/60/twitter.png +0 -0
  522. data/test/rails_root/public/images/service_icons/60/vimeo.png +0 -0
  523. data/test/rails_root/public/images/service_icons/60/webshots.png +0 -0
  524. data/test/rails_root/public/images/service_icons/60/wordpress.png +0 -0
  525. data/test/rails_root/public/images/service_icons/60/xanga.png +0 -0
  526. data/test/rails_root/public/images/service_icons/60/yahoo.png +0 -0
  527. data/test/rails_root/public/images/service_icons/60/yelp.png +0 -0
  528. data/test/rails_root/public/images/service_icons/60/youtube.png +0 -0
  529. data/test/rails_root/public/images/service_icons/ReadMe.rtf +52 -0
  530. data/test/rails_root/public/images/service_icons/facebook_friend_links.jpg +0 -0
  531. data/test/rails_root/public/images/service_icons/facebook_my_links.jpg +0 -0
  532. data/test/rails_root/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  533. data/test/rails_root/public/images/service_icons/source/Google.psd +0 -0
  534. data/test/rails_root/public/images/service_icons/source/Quake 9 Design.webloc +0 -0
  535. data/test/rails_root/public/images/service_icons/source/ReadMe.rtf +52 -0
  536. data/test/rails_root/public/images/service_icons/source/aquaticus.social.png +0 -0
  537. data/test/rails_root/public/images/service_icons/source/citeulike.png +0 -0
  538. data/test/rails_root/public/images/service_icons/source/clipmarks.png +0 -0
  539. data/test/rails_root/public/images/service_icons/source/netflix.png +0 -0
  540. data/test/rails_root/public/images/service_icons/source/oai.png +0 -0
  541. data/test/rails_root/public/images/service_icons/source/odeo.png +0 -0
  542. data/test/rails_root/public/images/service_icons/source/opml.png +0 -0
  543. data/test/rails_root/public/images/service_icons/source/pandora.png +0 -0
  544. data/test/rails_root/public/images/service_icons/source/simpy.png +0 -0
  545. data/test/rails_root/public/images/service_icons/source/template.png +0 -0
  546. data/test/rails_root/public/images/service_icons/source/xanga.png +0 -0
  547. data/test/rails_root/public/javascripts/jquery-ui.js +188 -0
  548. data/test/rails_root/public/javascripts/jquery.js +19 -0
  549. data/test/rails_root/public/javascripts/jrails.js +1 -0
  550. data/test/rails_root/public/javascripts/muck.js +5 -18
  551. data/test/rails_root/public/javascripts/muck_activities.js +3 -3
  552. data/test/rails_root/public/javascripts/muck_raker.js +19 -5
  553. data/test/rails_root/public/stylesheets/application.css +48 -2
  554. data/test/rails_root/public/stylesheets/frame.css +52 -0
  555. data/test/rails_root/public/stylesheets/styles.css +1 -1
  556. data/test/rails_root/test/factories.rb +16 -0
  557. data/test/rails_root/test/functional/feeds_controller_test.rb +2 -2
  558. data/test/rails_root/test/functional/identity_feeds_controller_test.rb +107 -0
  559. data/test/rails_root/test/test_helper.rb +1 -0
  560. data/test/rails_root/test/unit/comment_test.rb +38 -0
  561. data/test/rails_root/test/unit/feed_parent_test.rb +0 -5
  562. data/test/rails_root/test/unit/feed_test.rb +45 -7
  563. data/test/rails_root/test/unit/identity_feed_test.rb +8 -0
  564. data/test/rails_root/test/unit/service_category_test.rb +19 -0
  565. data/test/rails_root/test/unit/service_test.rb +68 -0
  566. data/test/rails_root/test/unit/share_test.rb +31 -0
  567. data/test/rails_root/test/unit/tag_cloud_test.rb +0 -4
  568. data/test/rails_root/test/unit/user_test.rb +30 -1
  569. data/test/rails_root/vendor/plugins/jrails/CHANGELOG +43 -0
  570. data/test/rails_root/vendor/plugins/jrails/LICENSE +18 -0
  571. data/test/rails_root/vendor/plugins/jrails/README.rdoc +21 -0
  572. data/test/rails_root/vendor/plugins/jrails/Rakefile +18 -0
  573. data/test/rails_root/vendor/plugins/jrails/VERSION.yml +4 -0
  574. data/test/rails_root/vendor/plugins/jrails/bin/jrails +30 -0
  575. data/test/rails_root/vendor/plugins/jrails/init.rb +1 -0
  576. data/test/rails_root/vendor/plugins/jrails/install.rb +9 -0
  577. data/test/rails_root/vendor/plugins/jrails/javascripts/jquery-ui.js +188 -0
  578. data/test/rails_root/vendor/plugins/jrails/javascripts/jquery.js +19 -0
  579. data/test/rails_root/vendor/plugins/jrails/javascripts/jrails.js +1 -0
  580. data/test/rails_root/vendor/plugins/jrails/javascripts/sources/jrails.js +197 -0
  581. data/test/rails_root/vendor/plugins/jrails/jrails.gemspec +50 -0
  582. data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +421 -0
  583. data/test/rails_root/vendor/plugins/jrails/rails/init.rb +15 -0
  584. data/test/rails_root/vendor/plugins/jrails/tasks/jrails.rake +25 -0
  585. metadata +519 -4
@@ -0,0 +1,9 @@
1
+ class ChangeServicesSequenceToSort < ActiveRecord::Migration
2
+ def self.up
3
+ rename_column :services, 'sequence', 'sort'
4
+ end
5
+
6
+ def self.down
7
+ rename_column :services, 'sort', 'sequence'
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ class CreateIdentityFeeds < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :identity_feeds, :force => true do |t|
4
+ t.integer "feed_id", :null => false
5
+ t.integer "ownable_id", :null => false
6
+ t.string "ownable_type", :null => false
7
+ end
8
+ add_index :identity_feeds, ["ownable_id", "ownable_type"]
9
+ end
10
+
11
+ def self.down
12
+ drop_table :identity_feeds
13
+ end
14
+ end
@@ -0,0 +1,13 @@
1
+ class AddIdentityFieldsToServices < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :services, :use_for, :string
4
+ add_column :services, :service_category_id, :integer
5
+ add_column :services, :active, :boolean, :default => true
6
+ end
7
+
8
+ def self.down
9
+ remove_column :services, :use_for
10
+ remove_column :services, :service_category_id
11
+ remove_column :services, :active
12
+ end
13
+ end
@@ -0,0 +1,12 @@
1
+ class CreateServiceCategories < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :service_categories, :force => true do |t|
4
+ t.string 'name', :null => false
5
+ t.integer 'sort', :default => 0
6
+ end
7
+ end
8
+
9
+ def self.down
10
+ drop_table :service_categories
11
+ end
12
+ end
@@ -0,0 +1,11 @@
1
+ class AddPromptAndTemplateToServices < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :services, :prompt, :string
4
+ add_column :services, :template, :string
5
+ end
6
+
7
+ def self.down
8
+ remove_column :services, :prompt
9
+ remove_column :services, :template
10
+ end
11
+ end
@@ -0,0 +1,31 @@
1
+ module ActiveRecord
2
+ module Acts #:nodoc:
3
+ module MuckFeedOwner # :nodoc:
4
+
5
+ def self.included(base)
6
+ base.extend(ClassMethods)
7
+ end
8
+
9
+ module ClassMethods
10
+
11
+ # +acts_as_muck_feed_owner+ adds identity feeds to a given object. The feeds
12
+ # attached to the object in this way are then assumed to be produced by the object.
13
+ # For example, if a user writes a blog the blog could be associated with the user in this way.
14
+ def acts_as_muck_feed_owner
15
+ has_many :identity_feeds, :as => :ownable
16
+ has_many :own_feeds, :through => :identity_feeds, :source => :feed, :order => 'created_at desc'
17
+ include ActiveRecord::Acts::MuckFeedOwner::InstanceMethods
18
+ extend ActiveRecord::Acts::MuckFeedOwner::SingletonMethods
19
+ end
20
+ end
21
+
22
+ # class methods
23
+ module SingletonMethods
24
+ end
25
+
26
+ module InstanceMethods
27
+ end
28
+
29
+ end
30
+ end
31
+ end
@@ -8,9 +8,10 @@ module ActiveRecord
8
8
 
9
9
  module ClassMethods
10
10
 
11
- # +has_feeds+ gives the class it is called on access to feeds.
11
+ # +has_muck_feeds+ gives the class it is called on access to feeds.
12
12
  # Retrieve feeds via object.feeds. ie @user.feeds.
13
- def has_feeds
13
+ # This is used to indicate which feeds a user would like to have access to.
14
+ def has_muck_feeds
14
15
  has_many :feed_parents, :as => :ownable
15
16
  has_many :feeds, :through => :feed_parents, :order => 'created_at desc'
16
17
  end
@@ -0,0 +1,39 @@
1
+ module ActiveRecord
2
+ module Acts #:nodoc:
3
+ module MuckRakerComment # :nodoc:
4
+
5
+ def self.included(base)
6
+ base.extend(ClassMethods)
7
+ end
8
+
9
+ module ClassMethods
10
+
11
+ def acts_as_muck_raker_comment(options = {})
12
+ include ActiveRecord::Acts::MuckRakerComment::InstanceMethods
13
+ extend ActiveRecord::Acts::MuckRakerComment::SingletonMethods
14
+ end
15
+ end
16
+
17
+ # class methods
18
+ module SingletonMethods
19
+ end
20
+
21
+ module InstanceMethods
22
+
23
+ def after_create
24
+ if self.commentable.is_a?(Entry)
25
+ # Create a new entry_comment activity. Attach the activity to the entry via self.commentable
26
+ # Include all users in the discussion ie all users from all comments attached to self.commentable
27
+ feed_to = []
28
+ feed_to << self.user.feed_to
29
+ self.commentable.comments.each do |c|
30
+ feed_to << c.user if !c.user.blank?
31
+ end
32
+ add_activity(feed_to, self.user, self, 'entry_comment', '', '', nil, self.commentable)
33
+ end
34
+ end
35
+ end
36
+
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,32 @@
1
+ module ActiveRecord
2
+ module Acts #:nodoc:
3
+ module MuckRakerShare # :nodoc:
4
+
5
+ def self.included(base)
6
+ base.extend(ClassMethods)
7
+ end
8
+
9
+ module ClassMethods
10
+
11
+ def acts_as_muck_raker_share(options = {})
12
+ belongs_to :entry
13
+ include ActiveRecord::Acts::MuckRakerShare::InstanceMethods
14
+ extend ActiveRecord::Acts::MuckRakerShare::SingletonMethods
15
+ end
16
+ end
17
+
18
+ # class methods
19
+ module SingletonMethods
20
+ end
21
+
22
+ module InstanceMethods
23
+
24
+ def discover_attach_to
25
+ self.entry
26
+ end
27
+
28
+ end
29
+
30
+ end
31
+ end
32
+ end
@@ -53,12 +53,31 @@ module MuckRaker
53
53
  yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"feeds")
54
54
  Fixtures.new(Feed.connection,"feeds",Feed,yml).insert_fixtures
55
55
 
56
+ ServiceCategory.delete_all
57
+ yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"service_categories")
58
+ Fixtures.new(Service.connection,"service_categories",ServiceCategory,yml).insert_fixtures
59
+
56
60
  Service.delete_all
57
61
  yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"services")
58
62
  Fixtures.new(Service.connection,"services",Service,yml).insert_fixtures
59
63
 
60
64
  end
61
65
 
66
+ desc "Deletes and reloads all services and service categories"
67
+ task :bootstrap_services => :environment do
68
+ require 'active_record/fixtures'
69
+ ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
70
+
71
+ ServiceCategory.delete_all
72
+ yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"service_categories")
73
+ Fixtures.new(Service.connection,"service_categories",ServiceCategory,yml).insert_fixtures
74
+
75
+ Service.delete_all
76
+ yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"services")
77
+ Fixtures.new(Service.connection,"services",Service,yml).insert_fixtures
78
+
79
+ end
80
+
62
81
  end
63
82
 
64
83
  desc "Sync files from muck raker."
data/lib/muck_raker.rb CHANGED
@@ -3,7 +3,13 @@ require 'muck_raker/services'
3
3
 
4
4
  ActionController::Base.send :helper, MuckRakerHelper
5
5
  ActionController::Base.send :helper, MuckRakerFeedsHelper
6
+ ActionController::Base.send :helper, MuckRakerServicesHelper
7
+
6
8
  ActiveRecord::Base.class_eval { include ActiveRecord::Acts::MuckFeedParent }
9
+ ActiveRecord::Base.class_eval { include ActiveRecord::Acts::MuckRakerComment }
10
+ ActiveRecord::Base.class_eval { include ActiveRecord::Acts::MuckRakerShare }
11
+ ActiveRecord::Base.class_eval { include ActiveRecord::Acts::MuckFeedOwner }
12
+
7
13
 
8
14
  I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
9
15
 
data/locales/ar.yml CHANGED
@@ -1,104 +1,141 @@
1
1
  ---
2
2
  ar:
3
3
  muck:
4
+ activity_templates:
5
+ entry_comment: التعليق
4
6
  raker:
5
- add_extended_feed_sub_title: "المساهمة في مصدر جديد للبيانات"
7
+ add_extended_feed_sub_title: "تسهم مصدر بيانات جديد"
6
8
  add_extended_feed_title: "إضافة تغذية جديدة"
7
- add_feed: "إضافة الأعلاف"
8
- add_feed_advanced: "إضافة الأعلاف (المتقدم)"
9
- add_feed_title: "إضافة جديدة للتغذية"
10
- add_feed_url: "العنوان :"
11
- adding_comment_message: "واضاف التعليق"
9
+ add_feed: "إضافة تغذية"
10
+ add_feed_advanced: "إضافة تغذية (متقدم)"
11
+ add_feed_title: "إضافة تغذية جديدة"
12
+ add_feed_url: "عنوان الموقع :"
12
13
  all_resources: "جميع الموارد"
13
- already_shared: "كنت في السابق يشارك في هذه الصفحة."
14
+ already_added_uri_feed: "كنت قد قمت بالفعل بإضافة رابط {{uri}}"
15
+ already_added_username_feed: "كنت قد قمت بالفعل بإضافة حساب {{service}}مع {{username}}المستخدم"
16
+ already_shared: "كنت في السابق مشترك لهذه الصفحة."
17
+ amazon_prompt: "الرجاء إدخال بريد إلكتروني تستخدمه مع Amazon.com"
14
18
  atom: ذرة
15
- ban_feed: "العلامة تغذية باطلة"
16
- banned: وحظرت
19
+ available_services: "الخدمات المتاحة"
20
+ ban_feed: "تغذية علامة على أنها غير صالحة"
21
+ banned: حظرت
22
+ blogger_prompt: "رابط لمدونتك"
17
23
  calculated: حسبت
18
- choose_service: "اختيار الخدمة :"
24
+ cant_modify_identity_feed: "ليس لديك إذن للوصول إلى تغذية المحدد."
25
+ choose_service: "اختر الخدمة :"
19
26
  close: إغلاق
20
- collection_description: "ال الوصف :"
27
+ collection_description: "جمع الوصف :"
21
28
  collection_home_uri: "عنوان المجموعة الصفحة الرئيسية"
22
- collection_uri: "عنوان المجموعة الفوقية :"
29
+ collection_uri: "عنوان جمع البيانات الوصفية :"
23
30
  collections: المجموعات
24
- collections_long: "فهرسة المجموعات"
31
+ collections_long: "مجموعات المفهرس"
25
32
  comment_entries_count:
26
33
  one: "1 تعليق"
27
- other: "{{count}}تعليقات"
28
- course_search_results: "دورات <b>{{first}} - {{last}}</b> of <b>{{total}}</b> for search <b>{{terms}}</b>"
29
- course_tag_results: "دورات <b>{{first}} - {{last}}</b> of <b>{{total}}</b> tagged <b>{{terms}}</b>"
30
- courses_tag_cloud_label: "تصفح الدورات باستخدام بطاقات <a href=\"/resources\">[تصفح جميع الموارد]</a>"
31
- demo: التجريبي
32
- description: وصف
34
+ other: "تعليقات {{count}}"
35
+ course_search_results: "دورات <b>{{first}}-- {{last}}من {{total}}ل{{terms}}البحث</b>"
36
+ course_tag_results: "دورات <b>{{first}}-- {{last}}من {{total}}الموسومة {{terms}}</b>"
37
+ courses_tag_cloud_label: "تصفح الدورات باستخدام السمات <a href=\"/resources\">[تصفح جميع الموارد]</a>"
38
+ demo: تجريبي
39
+ description: الوصف
33
40
  details: التفاصيل
34
41
  developers_long: "معلومات للمطورين"
35
42
  direct_link: "[صلة مباشرة]"
36
43
  discover_feed: "اكتشاف الأعلاف"
37
- discover_feed_message: "البحث عن معلومات عن عنوان الموقع الذي حددته. الرجاء الانتظار."
38
- display_url: "رابط لعرض :"
39
- failed_harvests: "فشل المحاصيل"
40
- failed_last_request: "فشل آخر طلب : {{error}}"
44
+ discover_feed_message: "بحثا عن معلومات حول عنوان الموقع الذي قمت بتقديمه. يرجى الانتظار."
45
+ display_url: "رابط ليتم عرضها :"
46
+ entry_commment_contents: "وعلق على {{resource}}"
47
+ facebook_instructions: "على بلدي صلة صفحة ، انقر بالزر الايمن على &#39;بلدي صلة&#39; ونسخ الارتباط. نحن سوف تدرج تلقائيا ، والوضع ، وصلات والملاحظات."
48
+ facebook_link: "يمكنك العثور على عنوان موقعك الخاص بك على صفحة فيسبوك بلدي صلة. {{link}}ثم انقر على &#39;بلدي صلة&#39;"
49
+ facebook_notes: "فيسبوك الحواشي"
50
+ facebook_notifications: "فيسبوك الإشعارات"
51
+ facebook_prompt: "بك أمام بلدي صلة رابط"
52
+ facebook_shares: "فيسبوك المشتركة وصلات"
53
+ failed_harvests: "وأدى فشل المحاصيل"
54
+ failed_last_request: "فشل الطلب الأخير : {{error}}"
41
55
  feed_banned_message: "تغذية بنجاح المحظورة."
42
- feed_successfully_created: "نجحت عملية إنشاء تغذية."
43
- feed_successfully_updated: "تغذية بنجاح تحديث."
44
- feed_validated_message: "تغذية بنجاح على صحتها."
45
- feeds_title: "تسجيل المجموعات"
56
+ feed_successfully_created: "تغذية تم إنشاؤها بنجاح."
57
+ feed_successfully_updated: "تغذية تم تحديثها بنجاح."
58
+ feed_validated_message: "تغذية تم بنجاح التحقق من صحتها."
59
+ feeds_title: "سجلت المجموعات"
46
60
  for: لأجل
61
+ friendfeed_prompt: "FriendFeed آر رابط"
62
+ friendfeed_rss: "يمكنك العثور على عنوان موقعك في أسفل بك {{link}}."
47
63
  gm_more_prompt: "مزيد من موارد ذات الصلة"
48
64
  gm_title: "موارد ذات الصلة"
49
- harvest_interval: "حصاد الفاصلة (ساعات)"
50
- harvested_at: "في حصاد"
65
+ goodreads_prompt: "Goodreads ملف رابط"
66
+ goodreads_rss: "على سبيل المثال ، http://www.goodreads.com/user/show/1111"
67
+ harvest_interval: "حصاد الفاصل الزمني (ساعات)"
68
+ harvested_at: "حصادها في"
51
69
  hide: إخفاء
70
+ identity_feed_removed: "إزالة الخدمة"
71
+ identity_feeds: "هوية الخلاصات"
72
+ import_service: "{{service}}استيراد"
73
+ linkedin_prompt: "ينكدين لمحة عامة عنوان"
74
+ linkedin_rss: "يمكنك العثور على عنوان موقعك في أسفل بك {{link}}."
75
+ loading_content_image: "تحميل الصور محتوى"
52
76
  login: "تسجيل الدخول"
53
- login_or_signup_prompt: "{{signup}} or {{login}}لمناقشة وتقاسم الموارد."
54
- login_to_comment: "الدخول لتتمكن من اضافة تعليق"
55
- metadata: الفوقية
56
- narrow_further: "مزيد من تضييق النتائج"
57
- new_global_feed: "تغذية جديدة أضيفت إلى {{application_name}}"
77
+ login_or_signup_prompt: "{{signup}}أو {{login}}لمناقشة وتقاسم الموارد."
78
+ login_to_comment: "الدخول لتتمكن من إضافة تعليق"
79
+ metadata: التعريف
80
+ my_services: "بلدي الخدمات"
81
+ narrow_further: "مزيد من النتائج الضيقة"
82
+ netflix_prompt: "آر إس إس كيو نتفليإكس] رابط"
83
+ netflix_rss: "يمكنك العثور على عنوان موقعك الخاص بك على {{link}}. علما بأن هناك العديد من يغذي متاحة على الصفحة الخاصة بك نتفليإكس] الصف (الصف ، والتوصيات ، ويستعرض الفيلم ، الخ). كما تضيف الكثير من تشاء!"
84
+ new_global_feed: "وتغذية جديدة قد أضيفت إلى {{application_name}}"
58
85
  next: التالي
59
86
  next_label: التالي
60
- no_hits: "البحث -- <b>{{search}}</b> - did not match any <b>{{resource_type}}.</b> الرجاء تجربة بحث أخر ، أو اختر لغة مختلفة."
61
- no_tagged_courses: "تم العثور على أي <b>دورات</b> المعلمة مع <b>{{tags}}</b>. <a href='/resources'>Start over</a> or show <a href='/resources/tags/{{tags}}'>all resources tagged {{tags}}.</b>"
62
- no_tagged_resources: "تم العثور على أية <b>موارد</b> المعلمة مع <b>{{tags}}.</b> <a href='/resources'>البدء مرة.</a>"
63
- no_tags: "ولم تتوفر حتى الآن علامات"
64
- oai_prompt: "إذا قمت بتحديد OAI ، يجب عليك تحديد رابط كامل لListRecords الطلب (وليس فقط OAI الأجهزة الطرفية)"
87
+ no_feeds_at_uri: "لم نتمكن من العثور على رابط معين"
88
+ no_feeds_from_username: "لم نتمكن من العثور على حساب معين"
89
+ no_hits: "البحث -- <b>{{search}}--</b> لم يطابق أي <b>{{resource_type}}.</b> الرجاء تجربة بحث أخر ، أو اختر لغة مختلفة."
90
+ no_tagged_courses: "أي <b>دورات</b> تم العثور على المعلمة مع <b>{{tags}}.</b> <a href='/resources'>البدء مرة أخرى</a> أو إظهار <a href='/resources/tags/{{tags}}'>جميع الموارد الموسومة {{tags}}.</a>"
91
+ no_tagged_resources: "لم تكن هناك <b>موارد</b> وجدت المعلمة مع <b>{{tags}}.</b> <a href='/resources'>البدء مرة أخرى.</a>"
92
+ no_tags: "لم تتوفر بعد السمات"
93
+ oai_prompt: "إذا قمت بتحديد صلى ، يجب عليك تحديد العنوان الكامل لطلب ListRecords (وليس فقط صلى النهاية)"
65
94
  of: من
66
- ok: ؟
67
- only_courses: "الدورات فقط"
68
- powered_by: بواسطة
69
- previous: السابق
70
- previous_label: السابق
71
- problem_adding_feed: "هناك مشكلة التغذية واضاف :"
95
+ ok: موافق
96
+ only_courses: "فقط المقررات"
97
+ polyvore_prompt: "Polyvore ملف رابط"
98
+ polyvore_rss: "Polyvore بك لمحة رابط يشبه http://www.polyvore.com/cgi/profile؟id=00000"
99
+ powered_by: "مدعوم من"
100
+ previous: السابقة
101
+ previous_label: السابقة
102
+ problem_adding_feed: "كانت هناك مشكلة في تغذية واضاف :"
72
103
  rdf: "قوات الدفاع الرواندية"
73
- related_resources: "ذات الصلة"
104
+ related_resources: متعلق
74
105
  related_resources_title: "موارد ذات الصلة"
75
- relevance: صلة
76
- remix: ريمكس
106
+ relevance: أهمية
107
+ remix: ريميكس
77
108
  repository_short_title: "مستودع قصيرة العنوان :"
78
109
  repository_title: "مستودع العنوان :"
79
- resource_search_results: "الموارد <b>{{first}} - {{last}}</b> of <b>{{total}}</b> for search <b>{{terms}}</b>"
80
- resource_tag_results: "الموارد <b>{{first}} - {{last}}</b> of <b>{{total}}</b> tagged <b>{{terms}}</b>"
81
- resources_tag_cloud_label: "تصفح موارد باستخدام بطاقات <a href=\"/resources?grain_size=course\">[تصفح دورات فقط]</a>"
110
+ resource_search_results: "الموارد <b>{{first}}-- {{last}}من {{total}}ل{{terms}}البحث</b>"
111
+ resource_tag_results: "الموارد <b>{{first}}-- {{last}}من {{total}}الموسومة {{terms}}</b>"
112
+ resources_tag_cloud_label: "استعراض الموارد باستخدام السمات <a href=\"/resources?grain_size=course\">[تصفح دورات فقط]</a>"
82
113
  results: النتائج
83
- rss: RSS
114
+ rss: "آر إس إس"
115
+ rss_url: "رابط لبك آر إس إس"
84
116
  search: بحث
85
117
  search_button: يذهب
86
- search_link: "العثور على الموارد!"
87
- select_feeds_prompt: "اختيار يغذي كنت تريد أن تضيف :"
88
- select_service_prompt: "يرجى اختيار الخدمة"
118
+ search_link: "العثور على موارد!"
119
+ select_feeds_prompt: "حدد يغذي كنت أود أن أضيف :"
120
+ select_service_prompt: "يرجى اختيار خدمة"
121
+ service_username: "اسم المستخدم {{service}}"
89
122
  share: مشاركة
90
123
  short_title: "الاسم المختصر :"
91
124
  show_tagged_courses: "وتظهر فقط الدورات"
92
125
  show_tagged_resources: "وتظهر أي نوع من الموارد"
93
- signup: إشترك
94
- start_over: بدء
126
+ signup: التوقيع
127
+ spinner_image: "في انتظار الصور"
128
+ start_over: "البدء من جديد"
95
129
  status: حالة
96
130
  submitting_feed_message: "تقديم خلاصتك..."
97
- tags: العلامات
131
+ successfully_added_uri_feed: "نجحت في إضافة {{uri}}"
132
+ successfully_added_username_feed: "نجحت في إضافة {{service}}"
133
+ tags: السمات
98
134
  title: العنوان
99
- type_of_metadata: "نوع من الفوقية :"
135
+ type_of_metadata: "النوع من البيانات الوصفية :"
100
136
  uri: رابط
101
- validate_feed: "العلامة تغذية سليمة"
137
+ validate_feed: "علامة تغذية كصالح"
102
138
  visit: زيارة
103
- write_comment_prompt: "أضف تعليق"
104
139
  xml: XML
140
+ zotero_group_prompt: "عنوان المجموعة زوتيرو"
141
+ zotero_group_rss: "بك زوتيرو المجموعة رابط يشبه : http://www.zotero.org/groups/adventures_in_library_instruction/items"