muck-raker 0.2.11 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -83
- data/Rakefile +7 -45
- data/VERSION +1 -1
- data/config/muck_raker_environment.rb +6 -2
- data/lib/muck_raker/tasks.rb +140 -30
- data/muck-raker.gemspec +36 -754
- data/rails/init.rb +0 -15
- data/raker/lib/aggregatord.jar +0 -0
- data/raker/lib/recommenderd.jar +0 -0
- data/raker/lib/recommenderd.properties +26 -19
- data/raker/lib/{apache-solr-common-1.3.0.jar → solr/apache-solr-common-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-core-1.3.0.jar → solr/apache-solr-core-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-dataimporthandler-1.3.0.jar → solr/apache-solr-dataimporthandler-1.3.0.jar} +0 -0
- data/raker/lib/{commons-codec-1.3.jar → solr/commons-codec-1.3.jar} +0 -0
- data/raker/lib/{commons-csv-1.0-SNAPSHOT-r609327.jar → solr/commons-csv-1.0-SNAPSHOT-r609327.jar} +0 -0
- data/raker/lib/{commons-fileupload-1.2.jar → solr/commons-fileupload-1.2.jar} +0 -0
- data/raker/lib/{commons-httpclient-3.1.jar → solr/commons-httpclient-3.1.jar} +0 -0
- data/raker/lib/{commons-io-1.3.1.jar → solr/commons-io-1.3.1.jar} +0 -0
- data/raker/lib/{commons-logging-1.0.4.jar → solr/commons-logging-1.0.4.jar} +0 -0
- data/raker/lib/{geronimo-stax-api_1.0_spec-1.0.1.jar → solr/geronimo-stax-api_1.0_spec-1.0.1.jar} +0 -0
- data/raker/lib/{junit-4.3.jar → solr/junit-4.3.jar} +0 -0
- data/raker/lib/{lucene-analyzers-2.4-dev.jar → solr/lucene-analyzers-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-core-2.4-dev.jar → solr/lucene-core-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-highlighter-2.4-dev.jar → solr/lucene-highlighter-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-memory-2.4-dev.jar → solr/lucene-memory-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-queries-2.4-dev.jar → solr/lucene-queries-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-snowball-2.4-dev.jar → solr/lucene-snowball-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-spellchecker-2.4-dev.jar → solr/lucene-spellchecker-2.4-dev.jar} +0 -0
- data/raker/lib/{solr-commons-csv-pom.xml.template → solr/solr-commons-csv-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-analyzers-pom.xml.template → solr/solr-lucene-analyzers-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-contrib-pom.xml.template → solr/solr-lucene-contrib-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-core-pom.xml.template → solr/solr-lucene-core-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-highlighter-pom.xml.template → solr/solr-lucene-highlighter-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-queries-pom.xml.template → solr/solr-lucene-queries-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-snowball-pom.xml.template → solr/solr-lucene-snowball-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-spellchecker-pom.xml.template → solr/solr-lucene-spellchecker-pom.xml.template} +0 -0
- data/raker/lib/{stax-utils.jar → solr/stax-utils.jar} +0 -0
- data/raker/lib/{wstx-asl-3.2.7.jar → solr/wstx-asl-3.2.7.jar} +0 -0
- data/test/rails_root/config/environment.rb +0 -17
- data/test/rails_root/config/environments/development.rb +0 -15
- data/test/rails_root/config/environments/test.rb +0 -10
- data/test/rails_root/config/routes.rb +0 -8
- metadata +35 -836
- data/.gitignore +0 -30
- data/app/controllers/admin/muck/feeds_controller.rb +0 -40
- data/app/controllers/admin/muck/oai_endpoints_controller.rb +0 -13
- data/app/controllers/muck/aggregation_feeds_controller.rb +0 -43
- data/app/controllers/muck/aggregations_controller.rb +0 -234
- data/app/controllers/muck/entries_controller.rb +0 -102
- data/app/controllers/muck/feed_previews_controller.rb +0 -33
- data/app/controllers/muck/feeds_controller.rb +0 -157
- data/app/controllers/muck/identity_feeds_controller.rb +0 -155
- data/app/controllers/muck/oai_endpoints_controller.rb +0 -96
- data/app/controllers/muck/recommendations_controller.rb +0 -62
- data/app/controllers/muck/topics_controller.rb +0 -162
- data/app/controllers/muck/visits_controller.rb +0 -26
- data/app/helpers/muck_raker_aggregations_helper.rb +0 -32
- data/app/helpers/muck_raker_feeds_helper.rb +0 -32
- data/app/helpers/muck_raker_helper.rb +0 -95
- data/app/helpers/muck_raker_services_helper.rb +0 -117
- data/app/models/aggregation.rb +0 -92
- data/app/models/aggregation_feed.rb +0 -14
- data/app/models/attention.rb +0 -14
- data/app/models/click.rb +0 -14
- data/app/models/entry.rb +0 -341
- data/app/models/feed.rb +0 -224
- data/app/models/feed_parent.rb +0 -18
- data/app/models/identity_feed.rb +0 -26
- data/app/models/oai_endpoint.rb +0 -39
- data/app/models/raker_mailer.rb +0 -25
- data/app/models/recommendation.rb +0 -15
- data/app/models/service.rb +0 -486
- data/app/models/service_category.rb +0 -15
- data/app/models/subject.rb +0 -10
- data/app/models/tag_cloud.rb +0 -21
- data/app/views/activity_templates/_entry_comment.html.erb +0 -8
- data/app/views/activity_templates/_entry_share.html.erb +0 -8
- data/app/views/admin/feeds/index.html.erb +0 -35
- data/app/views/admin/oai_endpoints/index.html.erb +0 -31
- data/app/views/aggregations/_aggregation.html.erb +0 -1
- data/app/views/aggregations/_data_source.html.erb +0 -4
- data/app/views/aggregations/_data_sources.html.erb +0 -10
- data/app/views/aggregations/_feeds.html.erb +0 -1
- data/app/views/aggregations/_preview_form.html.erb +0 -12
- data/app/views/aggregations/edit.html.erb +0 -65
- data/app/views/aggregations/index.html.erb +0 -17
- data/app/views/aggregations/index.iphone.erb +0 -0
- data/app/views/aggregations/new.html.erb +0 -12
- data/app/views/aggregations/preview.html.erb +0 -46
- data/app/views/aggregations/preview.iphone.erb +0 -0
- data/app/views/aggregations/rss_discovery.html.erb +0 -3
- data/app/views/aggregations/show.html.erb +0 -0
- data/app/views/default/_language_list.html.erb +0 -5
- data/app/views/entries/_related_entry.html.erb +0 -4
- data/app/views/entries/_result.html.erb +0 -7
- data/app/views/entries/_result_status.html.erb +0 -16
- data/app/views/entries/_results.html.erb +0 -3
- data/app/views/entries/_tag_cloud.html.erb +0 -18
- data/app/views/entries/browse_by_tags.html.erb +0 -16
- data/app/views/entries/collections.html.erb +0 -28
- data/app/views/entries/details.html.erb +0 -25
- data/app/views/entries/index.html.erb +0 -3
- data/app/views/entries/search.html.erb +0 -10
- data/app/views/entries/show.html.erb +0 -7
- data/app/views/entries/track_clicks.html.erb +0 -0
- data/app/views/feed_previews/new.html.erb +0 -1
- data/app/views/feed_previews/select_feeds.html.erb +0 -6
- data/app/views/feeds/_entry.html.erb +0 -1
- data/app/views/feeds/_feed.html.erb +0 -28
- data/app/views/feeds/_feed_row.html.erb +0 -29
- data/app/views/feeds/_feed_selection.html.erb +0 -1
- data/app/views/feeds/_form.html.erb +0 -20
- data/app/views/feeds/edit.html.erb +0 -107
- data/app/views/feeds/harvest_now.html.erb +0 -3
- data/app/views/feeds/index.html.erb +0 -34
- data/app/views/feeds/new.html.erb +0 -21
- data/app/views/feeds/new_extended.html.erb +0 -32
- data/app/views/feeds/new_oai_rss.html.erb +0 -50
- data/app/views/feeds/show.html.erb +0 -1
- data/app/views/feeds/unban.html.erb +0 -3
- data/app/views/identity_feeds/_available_service_categories.html.erb +0 -13
- data/app/views/identity_feeds/_form.html.erb +0 -20
- data/app/views/identity_feeds/_services_for_user.html.erb +0 -25
- data/app/views/identity_feeds/edit.html.erb +0 -2
- data/app/views/identity_feeds/index.html.erb +0 -32
- data/app/views/identity_feeds/new.html.erb +0 -1
- data/app/views/oai_endpoints/_form.html.erb +0 -22
- data/app/views/oai_endpoints/_oai_endpoint_row.html.erb +0 -25
- data/app/views/oai_endpoints/new.html.erb +0 -2
- data/app/views/oai_endpoints/show.html.erb +0 -5
- data/app/views/parts/_add_feed.html.erb +0 -20
- data/app/views/parts/_select_feed.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.bg.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ca.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.cs.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.da.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.de.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.el.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.es.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.et.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fa.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.gl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.id.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.it.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.iw.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ja.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ko.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.mt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.nl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.no.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ro.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ru.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sq.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.th.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.uk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.vi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh.plain.erb +0 -7
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.plain.erb +0 -4
- data/app/views/recommendations/index.html.erb +0 -5
- data/app/views/recommendations/index.pjs.erb +0 -44
- data/app/views/recommendations/index.rss.builder +0 -37
- data/app/views/recommendations/index.xml.builder +0 -36
- data/app/views/recommendations/index_js.pjs.erb +0 -39
- data/app/views/recommendations/index_real_time.pjs.erb +0 -44
- data/app/views/recommendations/index_real_time.xml.builder +0 -25
- data/app/views/search/_languages.html.erb +0 -6
- data/app/views/search/_result.html.erb +0 -9
- data/app/views/search/_search_box.html.erb +0 -9
- data/app/views/search/index.html.erb +0 -5
- data/app/views/search/results.atom.builder +0 -27
- data/app/views/search/results.html.erb +0 -35
- data/app/views/search/results.pjs.erb +0 -13
- data/app/views/search/results.rdf.builder +0 -24
- data/app/views/search/results.rss.builder +0 -31
- data/app/views/search/results.xml.builder +0 -19
- data/app/views/service_templates/_facebook.html.erb +0 -4
- data/app/views/service_templates/_friendfeed.html.erb +0 -2
- data/app/views/service_templates/_goodreads.html.erb +0 -2
- data/app/views/service_templates/_linkedin.html.erb +0 -2
- data/app/views/service_templates/_netflix.html.erb +0 -2
- data/app/views/service_templates/_polyvore.html.erb +0 -2
- data/app/views/service_templates/_zotero_group.html.erb +0 -2
- data/app/views/services/_edit_service.html.erb +0 -1
- data/app/views/services/_new_service.html.erb +0 -1
- data/app/views/services/_summary.html.erb +0 -5
- data/app/views/services/_view_service.html.erb +0 -1
- data/app/views/topics/_entry.html.erb +0 -19
- data/app/views/topics/_feed.html.erb +0 -24
- data/app/views/topics/_feed_preview.html.erb +0 -18
- data/app/views/topics/_form.html.erb +0 -15
- data/app/views/topics/_rss_discover.html.erb +0 -1
- data/app/views/topics/_simple_entry.html.erb +0 -7
- data/app/views/topics/new.html.erb +0 -27
- data/app/views/topics/photos.html.erb +0 -14
- data/app/views/topics/show.html.erb +0 -80
- data/app/views/topics/show.opml.builder +0 -18
- data/app/views/topics/videos.html.erb +0 -14
- data/app/views/visits/_comments_tool.html.erb +0 -19
- data/app/views/visits/_frame_scripts.html.erb +0 -26
- data/app/views/visits/_share_tool.html.erb +0 -22
- data/app/views/visits/_toolbar.html.erb +0 -25
- data/app/views/visits/show.html.erb +0 -7
- data/config/muck_raker_routes.rb +0 -37
- data/lib/active_record/acts/muck_aggregation_owner.rb +0 -30
- data/lib/active_record/acts/muck_feed_owner.rb +0 -31
- data/lib/active_record/acts/muck_feed_parent.rb +0 -23
- data/lib/active_record/acts/muck_raker_comment.rb +0 -39
- data/lib/active_record/acts/muck_raker_share.rb +0 -32
- data/lib/muck_raker/exceptions.rb +0 -5
- data/lib/muck_raker/initialize_routes.rb +0 -8
- data/lib/muck_raker/languages.rb +0 -57
- data/lib/muck_raker/muck_custom_form_builder.rb +0 -22
- data/lib/muck_raker/services.rb +0 -12
- data/lib/muck_raker.rb +0 -21
- data/locales/ar.yml +0 -210
- data/locales/bg.yml +0 -210
- data/locales/ca.yml +0 -210
- data/locales/cs.yml +0 -210
- data/locales/da.yml +0 -210
- data/locales/de.yml +0 -210
- data/locales/el.yml +0 -210
- data/locales/en.yml +0 -213
- data/locales/es.yml +0 -210
- data/locales/et.yml +0 -210
- data/locales/fa.yml +0 -210
- data/locales/fi.yml +0 -210
- data/locales/fr.yml +0 -210
- data/locales/gl.yml +0 -210
- data/locales/hi.yml +0 -210
- data/locales/hr.yml +0 -210
- data/locales/hu.yml +0 -210
- data/locales/id.yml +0 -210
- data/locales/it.yml +0 -210
- data/locales/iw.yml +0 -210
- data/locales/ja.yml +0 -210
- data/locales/ko.yml +0 -210
- data/locales/lt.yml +0 -210
- data/locales/lv.yml +0 -210
- data/locales/mt.yml +0 -210
- data/locales/nl.yml +0 -210
- data/locales/no.yml +0 -211
- data/locales/pl.yml +0 -210
- data/locales/pt-PT.yml +0 -210
- data/locales/ro.yml +0 -210
- data/locales/ru.yml +0 -210
- data/locales/sk.yml +0 -210
- data/locales/sl.yml +0 -210
- data/locales/sq.yml +0 -210
- data/locales/sr.yml +0 -210
- data/locales/sv.yml +0 -210
- data/locales/th.yml +0 -210
- data/locales/tl.yml +0 -210
- data/locales/tr.yml +0 -210
- data/locales/uk.yml +0 -210
- data/locales/vi.yml +0 -210
- data/locales/zh-CN.yml +0 -210
- data/locales/zh-TW.yml +0 -210
- data/locales/zh.yml +0 -210
- data/public/images/service_icons/16/amazon.png +0 -0
- data/public/images/service_icons/16/ask.png +0 -0
- data/public/images/service_icons/16/bibsonomy.png +0 -0
- data/public/images/service_icons/16/bing.png +0 -0
- data/public/images/service_icons/16/blogger.png +0 -0
- data/public/images/service_icons/16/bloglines.png +0 -0
- data/public/images/service_icons/16/citeulike.png +0 -0
- data/public/images/service_icons/16/clipmarks.png +0 -0
- data/public/images/service_icons/16/connotea.png +0 -0
- data/public/images/service_icons/16/dailymotion.png +0 -0
- data/public/images/service_icons/16/delicious.png +0 -0
- data/public/images/service_icons/16/digg.png +0 -0
- data/public/images/service_icons/16/diigo.png +0 -0
- data/public/images/service_icons/16/facebook.png +0 -0
- data/public/images/service_icons/16/feed.png +0 -0
- data/public/images/service_icons/16/flickr.png +0 -0
- data/public/images/service_icons/16/fotolog.png +0 -0
- data/public/images/service_icons/16/friendfeed.png +0 -0
- data/public/images/service_icons/16/friendster.png +0 -0
- data/public/images/service_icons/16/furl.png +0 -0
- data/public/images/service_icons/16/goodreads.png +0 -0
- data/public/images/service_icons/16/google.png +0 -0
- data/public/images/service_icons/16/googleblog.png +0 -0
- data/public/images/service_icons/16/googlenews.png +0 -0
- data/public/images/service_icons/16/icerocket.png +0 -0
- data/public/images/service_icons/16/identica.png +0 -0
- data/public/images/service_icons/16/joost.png +0 -0
- data/public/images/service_icons/16/lastfm.png +0 -0
- data/public/images/service_icons/16/librarything.png +0 -0
- data/public/images/service_icons/16/linkedin.png +0 -0
- data/public/images/service_icons/16/livejournal.png +0 -0
- data/public/images/service_icons/16/magnolia.png +0 -0
- data/public/images/service_icons/16/mendeley.png +0 -0
- data/public/images/service_icons/16/metacafe.png +0 -0
- data/public/images/service_icons/16/mixx.png +0 -0
- data/public/images/service_icons/16/myspace.png +0 -0
- data/public/images/service_icons/16/netflix.png +0 -0
- data/public/images/service_icons/16/netvibes.png +0 -0
- data/public/images/service_icons/16/newsvine.png +0 -0
- data/public/images/service_icons/16/oai.png +0 -0
- data/public/images/service_icons/16/odeo.png +0 -0
- data/public/images/service_icons/16/opml.png +0 -0
- data/public/images/service_icons/16/pandora.png +0 -0
- data/public/images/service_icons/16/photobucket.png +0 -0
- data/public/images/service_icons/16/picasa.png +0 -0
- data/public/images/service_icons/16/polyvore.png +0 -0
- data/public/images/service_icons/16/pownce.png +0 -0
- data/public/images/service_icons/16/reddit.png +0 -0
- data/public/images/service_icons/16/simpy.png +0 -0
- data/public/images/service_icons/16/smugmug.png +0 -0
- data/public/images/service_icons/16/stumbleupon.png +0 -0
- data/public/images/service_icons/16/tag.png +0 -0
- data/public/images/service_icons/16/technorati.png +0 -0
- data/public/images/service_icons/16/tumblr.png +0 -0
- data/public/images/service_icons/16/twine.png +0 -0
- data/public/images/service_icons/16/twitter.png +0 -0
- data/public/images/service_icons/16/vimeo.png +0 -0
- data/public/images/service_icons/16/webshots.png +0 -0
- data/public/images/service_icons/16/wordpress.png +0 -0
- data/public/images/service_icons/16/xanga.png +0 -0
- data/public/images/service_icons/16/yahoo.png +0 -0
- data/public/images/service_icons/16/yelp.png +0 -0
- data/public/images/service_icons/16/youtube.png +0 -0
- data/public/images/service_icons/16/zooomr.png +0 -0
- data/public/images/service_icons/16/zotero.png +0 -0
- data/public/images/service_icons/24/amazon.png +0 -0
- data/public/images/service_icons/24/ask.png +0 -0
- data/public/images/service_icons/24/bibsonomy.png +0 -0
- data/public/images/service_icons/24/bing.png +0 -0
- data/public/images/service_icons/24/blogger.png +0 -0
- data/public/images/service_icons/24/bloglines.png +0 -0
- data/public/images/service_icons/24/citeulike.png +0 -0
- data/public/images/service_icons/24/clipmarks.png +0 -0
- data/public/images/service_icons/24/connotea.png +0 -0
- data/public/images/service_icons/24/dailymotion.png +0 -0
- data/public/images/service_icons/24/delicious.png +0 -0
- data/public/images/service_icons/24/digg.png +0 -0
- data/public/images/service_icons/24/diigo.png +0 -0
- data/public/images/service_icons/24/facebook.png +0 -0
- data/public/images/service_icons/24/feed.png +0 -0
- data/public/images/service_icons/24/flickr.png +0 -0
- data/public/images/service_icons/24/fotolog.png +0 -0
- data/public/images/service_icons/24/friendfeed.png +0 -0
- data/public/images/service_icons/24/friendster.png +0 -0
- data/public/images/service_icons/24/furl.png +0 -0
- data/public/images/service_icons/24/goodreads.png +0 -0
- data/public/images/service_icons/24/google.png +0 -0
- data/public/images/service_icons/24/googleblog.png +0 -0
- data/public/images/service_icons/24/googlenews.png +0 -0
- data/public/images/service_icons/24/icerocket.png +0 -0
- data/public/images/service_icons/24/identica.png +0 -0
- data/public/images/service_icons/24/joost.png +0 -0
- data/public/images/service_icons/24/lastfm.png +0 -0
- data/public/images/service_icons/24/librarything.png +0 -0
- data/public/images/service_icons/24/linkedin.png +0 -0
- data/public/images/service_icons/24/livejournal.png +0 -0
- data/public/images/service_icons/24/magnolia.png +0 -0
- data/public/images/service_icons/24/mendeley.png +0 -0
- data/public/images/service_icons/24/metacafe.png +0 -0
- data/public/images/service_icons/24/mixx.png +0 -0
- data/public/images/service_icons/24/myspace.png +0 -0
- data/public/images/service_icons/24/netflix.png +0 -0
- data/public/images/service_icons/24/netvibes.png +0 -0
- data/public/images/service_icons/24/newsvine.png +0 -0
- data/public/images/service_icons/24/oai.png +0 -0
- data/public/images/service_icons/24/odeo.png +0 -0
- data/public/images/service_icons/24/opml.png +0 -0
- data/public/images/service_icons/24/pandora.png +0 -0
- data/public/images/service_icons/24/photobucket.png +0 -0
- data/public/images/service_icons/24/picasa.png +0 -0
- data/public/images/service_icons/24/polyvore.png +0 -0
- data/public/images/service_icons/24/pownce.png +0 -0
- data/public/images/service_icons/24/reddit.png +0 -0
- data/public/images/service_icons/24/simpy.png +0 -0
- data/public/images/service_icons/24/smugmug.png +0 -0
- data/public/images/service_icons/24/stumbleupon.png +0 -0
- data/public/images/service_icons/24/tag.png +0 -0
- data/public/images/service_icons/24/technorati.png +0 -0
- data/public/images/service_icons/24/tumblr.png +0 -0
- data/public/images/service_icons/24/twine.png +0 -0
- data/public/images/service_icons/24/twitter.png +0 -0
- data/public/images/service_icons/24/vimeo.png +0 -0
- data/public/images/service_icons/24/webshots.png +0 -0
- data/public/images/service_icons/24/wordpress.png +0 -0
- data/public/images/service_icons/24/xanga.png +0 -0
- data/public/images/service_icons/24/yahoo.png +0 -0
- data/public/images/service_icons/24/yelp.png +0 -0
- data/public/images/service_icons/24/youtube.png +0 -0
- data/public/images/service_icons/24/zooomr.png +0 -0
- data/public/images/service_icons/24/zotero.png +0 -0
- data/public/images/service_icons/48/amazon.png +0 -0
- data/public/images/service_icons/48/ask.png +0 -0
- data/public/images/service_icons/48/bibsonomy.png +0 -0
- data/public/images/service_icons/48/bing.png +0 -0
- data/public/images/service_icons/48/blogger.png +0 -0
- data/public/images/service_icons/48/bloglines.png +0 -0
- data/public/images/service_icons/48/citeulike.png +0 -0
- data/public/images/service_icons/48/clipmarks.png +0 -0
- data/public/images/service_icons/48/connotea.png +0 -0
- data/public/images/service_icons/48/dailymotion.png +0 -0
- data/public/images/service_icons/48/delicious.png +0 -0
- data/public/images/service_icons/48/digg.png +0 -0
- data/public/images/service_icons/48/diigo.png +0 -0
- data/public/images/service_icons/48/facebook.png +0 -0
- data/public/images/service_icons/48/feed.png +0 -0
- data/public/images/service_icons/48/flickr.png +0 -0
- data/public/images/service_icons/48/fotolog.png +0 -0
- data/public/images/service_icons/48/friendfeed.png +0 -0
- data/public/images/service_icons/48/friendster.png +0 -0
- data/public/images/service_icons/48/furl.png +0 -0
- data/public/images/service_icons/48/goodreads.png +0 -0
- data/public/images/service_icons/48/google.png +0 -0
- data/public/images/service_icons/48/googleblog.png +0 -0
- data/public/images/service_icons/48/googlenews.png +0 -0
- data/public/images/service_icons/48/icerocket.png +0 -0
- data/public/images/service_icons/48/identica.png +0 -0
- data/public/images/service_icons/48/joost.png +0 -0
- data/public/images/service_icons/48/lastfm.png +0 -0
- data/public/images/service_icons/48/librarything.png +0 -0
- data/public/images/service_icons/48/linkedin.png +0 -0
- data/public/images/service_icons/48/livejournal.png +0 -0
- data/public/images/service_icons/48/magnolia.png +0 -0
- data/public/images/service_icons/48/mendeley.png +0 -0
- data/public/images/service_icons/48/metacafe.png +0 -0
- data/public/images/service_icons/48/mixx.png +0 -0
- data/public/images/service_icons/48/myspace.png +0 -0
- data/public/images/service_icons/48/netflix.png +0 -0
- data/public/images/service_icons/48/netvibes.png +0 -0
- data/public/images/service_icons/48/newsvine.png +0 -0
- data/public/images/service_icons/48/oai.png +0 -0
- data/public/images/service_icons/48/odeo.png +0 -0
- data/public/images/service_icons/48/opml.png +0 -0
- data/public/images/service_icons/48/pandora.png +0 -0
- data/public/images/service_icons/48/photobucket.png +0 -0
- data/public/images/service_icons/48/picasa.png +0 -0
- data/public/images/service_icons/48/polyvore.png +0 -0
- data/public/images/service_icons/48/pownce.png +0 -0
- data/public/images/service_icons/48/reddit.png +0 -0
- data/public/images/service_icons/48/simpy.png +0 -0
- data/public/images/service_icons/48/smugmug.png +0 -0
- data/public/images/service_icons/48/stumbleupon.png +0 -0
- data/public/images/service_icons/48/tag.png +0 -0
- data/public/images/service_icons/48/technorati.png +0 -0
- data/public/images/service_icons/48/tumblr.png +0 -0
- data/public/images/service_icons/48/twine.png +0 -0
- data/public/images/service_icons/48/twitter.png +0 -0
- data/public/images/service_icons/48/vimeo.png +0 -0
- data/public/images/service_icons/48/webshots.png +0 -0
- data/public/images/service_icons/48/wordpress.png +0 -0
- data/public/images/service_icons/48/xanga.png +0 -0
- data/public/images/service_icons/48/yahoo.png +0 -0
- data/public/images/service_icons/48/yelp.png +0 -0
- data/public/images/service_icons/48/youtube.png +0 -0
- data/public/images/service_icons/48/zooomr.png +0 -0
- data/public/images/service_icons/48/zotero.png +0 -0
- data/public/images/service_icons/60/amazon.png +0 -0
- data/public/images/service_icons/60/ask.png +0 -0
- data/public/images/service_icons/60/bibsonomy.png +0 -0
- data/public/images/service_icons/60/bing.png +0 -0
- data/public/images/service_icons/60/blogger.png +0 -0
- data/public/images/service_icons/60/bloglines.png +0 -0
- data/public/images/service_icons/60/citeulike.png +0 -0
- data/public/images/service_icons/60/clipmarks.png +0 -0
- data/public/images/service_icons/60/connotea.png +0 -0
- data/public/images/service_icons/60/dailymotion.png +0 -0
- data/public/images/service_icons/60/delicious.png +0 -0
- data/public/images/service_icons/60/digg.png +0 -0
- data/public/images/service_icons/60/diigo.png +0 -0
- data/public/images/service_icons/60/facebook.png +0 -0
- data/public/images/service_icons/60/feed.png +0 -0
- data/public/images/service_icons/60/flickr.png +0 -0
- data/public/images/service_icons/60/fotolog.png +0 -0
- data/public/images/service_icons/60/friendfeed.png +0 -0
- data/public/images/service_icons/60/friendster.png +0 -0
- data/public/images/service_icons/60/furl.png +0 -0
- data/public/images/service_icons/60/goodreads.png +0 -0
- data/public/images/service_icons/60/google.png +0 -0
- data/public/images/service_icons/60/googleblog.png +0 -0
- data/public/images/service_icons/60/googlenews.png +0 -0
- data/public/images/service_icons/60/icerocket.png +0 -0
- data/public/images/service_icons/60/identica.png +0 -0
- data/public/images/service_icons/60/joost.png +0 -0
- data/public/images/service_icons/60/lastfm.png +0 -0
- data/public/images/service_icons/60/librarything.png +0 -0
- data/public/images/service_icons/60/linkedin.png +0 -0
- data/public/images/service_icons/60/livejournal.png +0 -0
- data/public/images/service_icons/60/magnolia.png +0 -0
- data/public/images/service_icons/60/mendeley.png +0 -0
- data/public/images/service_icons/60/metacafe.png +0 -0
- data/public/images/service_icons/60/mixx.png +0 -0
- data/public/images/service_icons/60/myspace.png +0 -0
- data/public/images/service_icons/60/netflix.png +0 -0
- data/public/images/service_icons/60/netvibes.png +0 -0
- data/public/images/service_icons/60/newsvine.png +0 -0
- data/public/images/service_icons/60/oai.png +0 -0
- data/public/images/service_icons/60/odeo.png +0 -0
- data/public/images/service_icons/60/opml.png +0 -0
- data/public/images/service_icons/60/pandora.png +0 -0
- data/public/images/service_icons/60/photobucket.png +0 -0
- data/public/images/service_icons/60/picasa.png +0 -0
- data/public/images/service_icons/60/polyvore.png +0 -0
- data/public/images/service_icons/60/pownce.png +0 -0
- data/public/images/service_icons/60/reddit.png +0 -0
- data/public/images/service_icons/60/simpy.png +0 -0
- data/public/images/service_icons/60/smugmug.png +0 -0
- data/public/images/service_icons/60/stumbleupon.png +0 -0
- data/public/images/service_icons/60/tag.png +0 -0
- data/public/images/service_icons/60/technorati.png +0 -0
- data/public/images/service_icons/60/tumblr.png +0 -0
- data/public/images/service_icons/60/twine.png +0 -0
- data/public/images/service_icons/60/twitter.png +0 -0
- data/public/images/service_icons/60/vimeo.png +0 -0
- data/public/images/service_icons/60/webshots.png +0 -0
- data/public/images/service_icons/60/wordpress.png +0 -0
- data/public/images/service_icons/60/xanga.png +0 -0
- data/public/images/service_icons/60/yahoo.png +0 -0
- data/public/images/service_icons/60/yelp.png +0 -0
- data/public/images/service_icons/60/youtube.png +0 -0
- data/public/images/service_icons/60/zooomr.png +0 -0
- data/public/images/service_icons/60/zotero.png +0 -0
- data/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/public/javascripts/muck_raker.js +0 -94
- data/public/stylesheets/frame.css +0 -56
- data/public/stylesheets/muck-raker.css +0 -90
- data/test/rails_root/app/controllers/application_controller.rb +0 -32
- data/test/rails_root/app/controllers/default_controller.rb +0 -7
- data/test/rails_root/app/helpers/application_helper.rb +0 -3
- data/test/rails_root/app/models/activity.rb +0 -24
- data/test/rails_root/app/models/comment.rb +0 -23
- data/test/rails_root/app/models/share.rb +0 -20
- data/test/rails_root/app/models/user.rb +0 -43
- data/test/rails_root/app/models/user_session.rb +0 -2
- data/test/rails_root/config/environments/cucumber.rb +0 -21
- data/test/rails_root/features/step_definitions/common_steps.rb +0 -93
- data/test/rails_root/features/step_definitions/visit_steps.rb +0 -6
- data/test/rails_root/features/step_definitions/webrat_steps.rb +0 -128
- data/test/rails_root/features/support/env.rb +0 -14
- data/test/rails_root/features/support/paths.rb +0 -36
- data/test/rails_root/public/dispatch.rb +0 -10
- data/test/rails_root/test/factories.rb +0 -151
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +0 -37
- data/test/rails_root/test/functional/admin/oai_endpoints_controller_test.rb +0 -30
- data/test/rails_root/test/functional/aggregation_feeds_controller_test.rb +0 -67
- data/test/rails_root/test/functional/aggregations_controller_test.rb +0 -89
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +0 -32
- data/test/rails_root/test/functional/feeds_controller_test.rb +0 -77
- data/test/rails_root/test/functional/identity_feeds_controller_test.rb +0 -110
- data/test/rails_root/test/functional/oai_endpoints_controller_test.rb +0 -42
- data/test/rails_root/test/functional/topics_controller_test.rb +0 -46
- data/test/rails_root/test/functional/visits_controller_test.rb +0 -21
- data/test/rails_root/test/shoulda_macros/controller.rb +0 -49
- data/test/rails_root/test/shoulda_macros/forms.rb +0 -32
- data/test/rails_root/test/shoulda_macros/models.rb +0 -50
- data/test/rails_root/test/shoulda_macros/pagination.rb +0 -53
- data/test/rails_root/test/shoulda_macros/plugins.rb +0 -34
- data/test/rails_root/test/test_helper.rb +0 -85
- data/test/rails_root/test/unit/aggregation_feed_test.rb +0 -25
- data/test/rails_root/test/unit/aggregation_test.rb +0 -120
- data/test/rails_root/test/unit/comment_test.rb +0 -38
- data/test/rails_root/test/unit/entry_test.rb +0 -65
- data/test/rails_root/test/unit/feed_parent_test.rb +0 -22
- data/test/rails_root/test/unit/feed_test.rb +0 -177
- data/test/rails_root/test/unit/identity_feed_test.rb +0 -18
- data/test/rails_root/test/unit/oai_endpoint_test.rb +0 -40
- data/test/rails_root/test/unit/raker_mailer_test.rb +0 -35
- data/test/rails_root/test/unit/service_category_test.rb +0 -19
- data/test/rails_root/test/unit/service_test.rb +0 -331
- data/test/rails_root/test/unit/share_test.rb +0 -30
- data/test/rails_root/test/unit/tag_cloud_test.rb +0 -23
- data/test/rails_root/test/unit/user_test.rb +0 -43
- data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
- data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
@@ -1,155 +0,0 @@
|
|
1
|
-
class Muck::IdentityFeedsController < ApplicationController
|
2
|
-
|
3
|
-
unloadable
|
4
|
-
|
5
|
-
before_filter :login_required
|
6
|
-
before_filter :get_owner, :only => [:index, :new, :create]
|
7
|
-
before_filter :has_permission?, :only => [:index, :new, :create]
|
8
|
-
|
9
|
-
before_filter :get_identity_feed, :only => [:destroy, :update]
|
10
|
-
before_filter :has_identity_feed_permission?, :only => [:destroy, :update]
|
11
|
-
|
12
|
-
def index
|
13
|
-
@service_categories = ServiceCategory.sorted.find(:all, :include => [:identity_services])
|
14
|
-
@user_services = @parent.identity_feeds.find(:all, :include => [{:feed => :service}])
|
15
|
-
respond_to do |format|
|
16
|
-
format.html { render :template => 'identity_feeds/index' }
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
def new
|
21
|
-
@service = Service.find(params[:service_id])
|
22
|
-
@feed = Feed.new
|
23
|
-
respond_to do |format|
|
24
|
-
format.html { render :template => 'identity_feeds/new' }
|
25
|
-
format.pjs { render :text => get_new_html(@service, @parent, @feed) }
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
def create
|
30
|
-
@service = Service.find(params[:service_id])
|
31
|
-
@feed = Feed.new(:uri => params[:uri], :login => params[:username])
|
32
|
-
feeds = Service.create_tag_feeds_for_service(@service, params[:uri], params[:username], params[:password], current_user.id)
|
33
|
-
if feeds.blank?
|
34
|
-
success = false
|
35
|
-
if params[:username]
|
36
|
-
message = I18n.t('muck.raker.no_feeds_from_username')
|
37
|
-
else
|
38
|
-
message = I18n.t('muck.raker.no_feeds_at_uri')
|
39
|
-
end
|
40
|
-
else
|
41
|
-
success, messages = add_feeds_to_parent(@parent, feeds)
|
42
|
-
message = messages.join('<br />')
|
43
|
-
end
|
44
|
-
respond_to do |format|
|
45
|
-
format.html do
|
46
|
-
flash[:notice] = message if message
|
47
|
-
redirect_to polymorphic_url([@parent, :identity_feeds])
|
48
|
-
end
|
49
|
-
format.pjs do
|
50
|
-
flash[:notice] = message if message
|
51
|
-
render :template => 'identity_feeds/new', :layout => false
|
52
|
-
end
|
53
|
-
format.json do
|
54
|
-
render :json => {:parent => @parent, :service => @service, :feeds => feeds, :success => success, :message => message }.as_json
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
def edit
|
60
|
-
@identity_feed = IdentityFeed.find(params[:id])
|
61
|
-
respond_to do |format|
|
62
|
-
format.html { render :template => 'identity_feeds/edit' }
|
63
|
-
format.pjs { render :text => get_edit_html(@identity_feed) }
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
def update
|
68
|
-
end
|
69
|
-
|
70
|
-
def destroy
|
71
|
-
feed = @identity_feed.feed
|
72
|
-
@identity_feed.destroy
|
73
|
-
feed.delete_if_unused(current_user) # Delete the feed if there are no references to it
|
74
|
-
respond_to do |format|
|
75
|
-
format.html do
|
76
|
-
flash[:notice] = t("muck.raker.identity_feed_removed")
|
77
|
-
redirect_to polymorphic_url([@identity_feed.ownable, :identity_feeds])
|
78
|
-
end
|
79
|
-
format.js do
|
80
|
-
render(:update) do |page|
|
81
|
-
page << "jQuery('##{@identity_feed.dom_id}').fadeOut();"
|
82
|
-
end
|
83
|
-
end
|
84
|
-
format.json do
|
85
|
-
render :json => { :success => true,
|
86
|
-
:identity_feed => @identity_feed,
|
87
|
-
:message => t("muck.raker.identity_feed_removed") }
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
protected
|
93
|
-
|
94
|
-
def get_owner
|
95
|
-
setup_parent('service')
|
96
|
-
end
|
97
|
-
|
98
|
-
def get_identity_feed
|
99
|
-
@identity_feed = IdentityFeed.find(params[:id])
|
100
|
-
end
|
101
|
-
|
102
|
-
def has_identity_feed_permission?
|
103
|
-
if !@identity_feed.can_edit?(current_user)
|
104
|
-
message = I18n.t('muck.raker.cant_modify_identity_feed')
|
105
|
-
respond_to do |format|
|
106
|
-
format.html do
|
107
|
-
flash[:notice] = message
|
108
|
-
redirect_back_or_default current_user
|
109
|
-
end
|
110
|
-
format.js { render(:update){|page| page.alert message}}
|
111
|
-
end
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
def has_permission?
|
116
|
-
@parent.can_edit?(current_user)
|
117
|
-
end
|
118
|
-
|
119
|
-
def get_new_html(service, parent, feed)
|
120
|
-
render_as_html do
|
121
|
-
render_to_string(:partial => 'identity_feeds/form', :locals => { :service => service, :parent => parent, :feed => feed })
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
def get_edit_html(identity_feed)
|
126
|
-
render_as_html do
|
127
|
-
render_to_string(:partial => 'identity_feeds/form', :locals => { :service => identity_feed.feed.service, :parent => identity_feed.ownable, :feed => identity_feed.feed })
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
def add_feeds_to_parent(parent, feeds)
|
132
|
-
messages = []
|
133
|
-
success = false
|
134
|
-
feeds.each do |feed|
|
135
|
-
begin
|
136
|
-
parent.own_feeds << feed
|
137
|
-
success = true
|
138
|
-
if params[:username]
|
139
|
-
messages << I18n.t('muck.raker.successfully_added_username_feed', :service => feed.title || @service.name)
|
140
|
-
else
|
141
|
-
messages << I18n.t('muck.raker.successfully_added_uri_feed', :service => @service.name, :uri => feed.title || params[:uri])
|
142
|
-
end
|
143
|
-
rescue ActiveRecord::RecordInvalid => ex
|
144
|
-
if ex.to_s == 'Validation failed: Feed has already been taken'
|
145
|
-
if params[:username]
|
146
|
-
messages << I18n.t('muck.raker.already_added_username_feed', :service => feed.title || @service.name, :username => params[:username])
|
147
|
-
else
|
148
|
-
messages << I18n.t('muck.raker.already_added_uri_feed', :service => @service.name, :uri => feed.title || params[:uri])
|
149
|
-
end
|
150
|
-
end
|
151
|
-
end
|
152
|
-
end
|
153
|
-
[success, messages]
|
154
|
-
end
|
155
|
-
end
|
@@ -1,96 +0,0 @@
|
|
1
|
-
class Muck::OaiEndpointsController < ApplicationController
|
2
|
-
|
3
|
-
unloadable
|
4
|
-
|
5
|
-
# pass layout=popup to remove most of the chrome
|
6
|
-
def show
|
7
|
-
@oai_endpoint = OaiEndpoint.find(params[:id])
|
8
|
-
respond_to do |format|
|
9
|
-
format.html { render :template => 'oai_endpoints/show', :layout => params[:layout] || true }
|
10
|
-
format.json { render :json => @oai_endpoint.as_json }
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
def new
|
15
|
-
respond_to do |format|
|
16
|
-
format.html { render :template => 'oai_endpoints/new', :layout => params[:layout] || true }
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
def create
|
21
|
-
@oai_endpoint = OaiEndpoint.new(params[:oai_endpoint])
|
22
|
-
@oai_endpoint.contributor = current_user # record the user that submitted the oai_endpoint for auditing purposes
|
23
|
-
@oai_endpoint.inform_admin # let an admin know that a global oai_endpoint was added.
|
24
|
-
after_create_response(@oai_endpoint.save)
|
25
|
-
end
|
26
|
-
|
27
|
-
def edit
|
28
|
-
@oai_endpoint = OaiEndpoint.find(params[:id])
|
29
|
-
respond_to do |format|
|
30
|
-
format.html { render :template => 'oai_endpoints/edit', :layout => 'popup' }
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
def update
|
35
|
-
@oai_endpoint = OaiEndpoint.find(params[:id])
|
36
|
-
after_update_response(@oai_endpoint.update_attributes(params[:oai_endpoint]))
|
37
|
-
end
|
38
|
-
|
39
|
-
def destroy
|
40
|
-
@oai_endpoint = OaiEndpoint.find(params[:id])
|
41
|
-
@oai_endpoint.destroy
|
42
|
-
after_destroy_response
|
43
|
-
end
|
44
|
-
|
45
|
-
protected
|
46
|
-
|
47
|
-
def has_permission_to_add_oai_endpoint(user, parent)
|
48
|
-
user == parent || parent.can_add_oai_endpoint?(user)
|
49
|
-
end
|
50
|
-
|
51
|
-
# Handles render and redirect after success or failure of the
|
52
|
-
# create action. Override to perform a different action
|
53
|
-
def after_create_response(success)
|
54
|
-
if success
|
55
|
-
flash[:notice] = t('muck.raker.oai_endpoint_successfully_created')
|
56
|
-
respond_to do |format|
|
57
|
-
format.html { redirect_to oai_endpoint_path(@oai_endpoint) }
|
58
|
-
format.pjs { redirect_to oai_endpoint_path(@oai_endpoint, :layout => 'popup') }
|
59
|
-
format.json { render :json => @oai_endpoint.as_json }
|
60
|
-
format.xml { head :created, :location => oai_endpoint_url(@oai_endpoint) }
|
61
|
-
end
|
62
|
-
else
|
63
|
-
respond_to do |format|
|
64
|
-
format.html { render :template => "oai_endpoints/new" }
|
65
|
-
format.pjs { render :template => "oai_endpoints/new", :layout => false }
|
66
|
-
format.json { render :json => @oai_endpoint.as_json }
|
67
|
-
format.xml { render :xml => @oai_endpoint.errors.to_xml }
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# Handles render and redirect after success or failure of the
|
73
|
-
# update action. Override to perform a different action
|
74
|
-
def after_update_response(success)
|
75
|
-
respond_to do |format|
|
76
|
-
if success
|
77
|
-
flash[:notice] = t('muck.raker.oai_endpoint_successfully_updated')
|
78
|
-
format.html { redirect_to oai_endpoint_path(@oai_endpoint) }
|
79
|
-
format.xml { head :ok }
|
80
|
-
else
|
81
|
-
format.html { render :template => "oai_endpoints/edit" }
|
82
|
-
format.xml { render :xml => @oai_endpoint.errors.to_xml }
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# Handles render and redirect after the delete action.
|
88
|
-
# Override to perform a different action
|
89
|
-
def after_destroy_response
|
90
|
-
respond_to do |format|
|
91
|
-
format.html { redirect_to oai_endpoints_path }
|
92
|
-
format.xml { head :ok }
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
class Muck::RecommendationsController < ApplicationController
|
2
|
-
|
3
|
-
unloadable
|
4
|
-
|
5
|
-
# GET /recommendations
|
6
|
-
# GET /recommendations.xml
|
7
|
-
def index
|
8
|
-
|
9
|
-
@real_time == params[:rtr]
|
10
|
-
|
11
|
-
@details = params[:details] == "true"
|
12
|
-
|
13
|
-
@uri = params[:u] || request.env['HTTP_REFERER']
|
14
|
-
if @uri.blank? || !allowed_uri(@uri)
|
15
|
-
render :text => '<!-- permission denied -->'
|
16
|
-
return
|
17
|
-
end
|
18
|
-
|
19
|
-
if params[:educommons]
|
20
|
-
@uri = @uri[%r=http://.*?/.*?/[^/]+=] || @uri
|
21
|
-
params[:title] = true
|
22
|
-
params[:more_link] = true
|
23
|
-
end
|
24
|
-
|
25
|
-
# Entry.track_time_on_page(session, @uri)
|
26
|
-
@entry = Entry.recommender_entry(@uri)
|
27
|
-
# I18n.locale = @entry.language[0..1] if !@entry.nil?
|
28
|
-
|
29
|
-
@limit = params[:limit] ? params[:limit].to_i : 5
|
30
|
-
@limit = 25 if @limit > 25
|
31
|
-
|
32
|
-
respond_to do |format|
|
33
|
-
format.html do
|
34
|
-
order = params[:order] || "mixed"
|
35
|
-
if !@entry.id.nil?
|
36
|
-
redirect_to resource_path(@entry) + "?limit=#{@limit}&order=#{order}&details=#{@details}"
|
37
|
-
else
|
38
|
-
@recommendations = @entry.ranked_recommendations(@limit, params[:order] || "mixed", @details)
|
39
|
-
render :template => 'recommendations/index'
|
40
|
-
end
|
41
|
-
end
|
42
|
-
format.xml {
|
43
|
-
render(:template => @entry.id.nil? && @real_time == true ? '/recommendations/index_real_time.xml.builder' : '/recommendations/index.xml.builder', :layout => false)
|
44
|
-
}
|
45
|
-
format.pjs {
|
46
|
-
@host = "http://#{URI.parse(@uri).host}"
|
47
|
-
render(:template => @entry.id.nil? && @real_time == true ? 'recommendations/index_real_time.pjs.erb' : 'recommendations/index.pjs.erb', :layout => false)
|
48
|
-
}
|
49
|
-
format.rss {
|
50
|
-
render(:template => 'recommendations/index.rss.builder', :layout => false)
|
51
|
-
}
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
protected
|
56
|
-
|
57
|
-
def allowed_uri(uri)
|
58
|
-
return false if uri.blank?
|
59
|
-
uri.match(/^(10\.|192\.168|172\.|127\.)/) == nil && uri.include?('localhost') == false
|
60
|
-
end
|
61
|
-
|
62
|
-
end
|
@@ -1,162 +0,0 @@
|
|
1
|
-
class Muck::TopicsController < ApplicationController
|
2
|
-
unloadable
|
3
|
-
|
4
|
-
before_filter :adjust_format_for_iphone
|
5
|
-
before_filter :check_terms, :except => [:new]
|
6
|
-
before_filter :build_tag_feeds, :only => [:show, :rss_discovery]
|
7
|
-
before_filter :configure_feed_loading, :only => [:show, :rss_discovery]
|
8
|
-
|
9
|
-
def show
|
10
|
-
|
11
|
-
load_feeds
|
12
|
-
load_combined_feeds
|
13
|
-
|
14
|
-
respond_to do |format|
|
15
|
-
format.html do
|
16
|
-
@opml_path = topic_path(params[:id], :service_ids => params[:service_ids], :format => 'opml')
|
17
|
-
render :template => 'topics/show'
|
18
|
-
end
|
19
|
-
format.opml { render :template => 'topics/show' }
|
20
|
-
format.iphone { render :template => 'topics/show' }
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def rss_discovery
|
25
|
-
render :template => 'aggregations/rss_discovery'
|
26
|
-
end
|
27
|
-
|
28
|
-
def photos
|
29
|
-
@terms = CGI.unescape(params[:id])
|
30
|
-
@page_title = @title = @terms.titleize
|
31
|
-
@photo_feeds = Service.build_photo_feeds(@terms, current_user, params[:service_ids])
|
32
|
-
@number_of_images = 36
|
33
|
-
respond_to do |format|
|
34
|
-
format.html do
|
35
|
-
render :template => 'topics/photos'
|
36
|
-
end
|
37
|
-
format.iphone { render :template => 'topics/photos' }
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
def videos
|
42
|
-
@terms = CGI.unescape(params[:id])
|
43
|
-
@page_title = @title = @terms.titleize
|
44
|
-
@videos_feeds = Service.build_video_feeds(@terms, current_user, params[:service_ids])
|
45
|
-
@number_of_videos = 36
|
46
|
-
respond_to do |format|
|
47
|
-
format.html do
|
48
|
-
render :template => 'topics/videos'
|
49
|
-
end
|
50
|
-
format.iphone { render :template => 'topics/videos' }
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
def new
|
55
|
-
@page_title = I18n.t('muck.raker.new_topic_title')
|
56
|
-
@service_categories = ServiceCategory.sorted.find(:all, :include => [:tag_services])
|
57
|
-
respond_to do |format|
|
58
|
-
format.html { render :template => 'topics/new' }
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
def create
|
63
|
-
@terms = CGI.escape(params[:terms])
|
64
|
-
respond_to do |format|
|
65
|
-
format.html { redirect_to topic_path(@terms, :service_ids => params[:service_ids]) }
|
66
|
-
format.opml { redirect_to topic_path(@terms, :service_ids => params[:service_ids], :format => 'opml') }
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
protected
|
71
|
-
|
72
|
-
def check_terms
|
73
|
-
if params[:id].blank? && params[:terms].blank?
|
74
|
-
flash[:error] = I18n.t('muck.raker.no_terms_error')
|
75
|
-
redirect_to new_topic_path
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
def build_tag_feeds
|
80
|
-
@terms = CGI.unescape(params[:id])
|
81
|
-
@page_title = @title = @terms.titleize
|
82
|
-
|
83
|
-
@photo_feeds = Service.build_photo_feeds(@terms, current_user, params[:service_ids])
|
84
|
-
@video_feeds = Service.build_video_feeds(@terms, current_user, params[:service_ids])
|
85
|
-
@bookmark_feeds = Service.build_bookmark_feeds(@terms, current_user, params[:service_ids])
|
86
|
-
@music_feeds = Service.build_music_feeds(@terms, current_user, params[:service_ids])
|
87
|
-
@news_feeds = Service.build_news_feeds(@terms, current_user, params[:service_ids])
|
88
|
-
@blog_feeds = Service.build_blog_feeds(@terms, current_user, params[:service_ids])
|
89
|
-
@search_feeds = Service.build_search_feeds(@terms, current_user, params[:service_ids])
|
90
|
-
|
91
|
-
@general_feeds = Service.build_general_feeds(@terms, current_user, params[:service_ids])
|
92
|
-
|
93
|
-
@discovered_feeds = Overlord::GoogleFeedRequest.find_feeds(@terms)
|
94
|
-
|
95
|
-
@feeds = @photo_feeds + @video_feeds + @bookmark_feeds + @music_feeds + @news_feeds + @blog_feeds + @search_feeds + @general_feeds + @discovered_feeds
|
96
|
-
|
97
|
-
end
|
98
|
-
|
99
|
-
def load_feeds
|
100
|
-
if @load_feeds_on_server
|
101
|
-
@server_loaded_general_feeds = Overlord::GoogleFeedRequest.load_feeds(@general_feeds + @discovered_feeds, @number_of_items)
|
102
|
-
@server_loaded_photo_feeds = Overlord::GoogleFeedRequest.load_feeds(@photo_feeds, @number_of_images)
|
103
|
-
@server_loaded_video_feeds = Overlord::GoogleFeedRequest.load_feeds(@video_feeds, @number_of_videos)
|
104
|
-
@server_loaded_bookmark_feeds = Overlord::GoogleFeedRequest.load_feeds(@bookmark_feeds, @number_of_items)
|
105
|
-
@server_loaded_music_feeds = Overlord::GoogleFeedRequest.load_feeds(@music_feeds, @number_of_items)
|
106
|
-
@server_loaded_news_feeds = Overlord::GoogleFeedRequest.load_feeds(@news_feeds, @number_of_items)
|
107
|
-
@server_loaded_blog_feeds = Overlord::GoogleFeedRequest.load_feeds(@blog_feeds, @number_of_items)
|
108
|
-
@server_loaded_search_feeds = Overlord::GoogleFeedRequest.load_feeds(@search_feeds, @number_of_items)
|
109
|
-
if @show_combined
|
110
|
-
@server_combined_general_feeds = Feed.combine_sort(@server_loaded_general_feeds)
|
111
|
-
@server_combined_photo_feeds = Feed.combine_sort(@server_loaded_photo_feeds)
|
112
|
-
@server_combined_video_feeds = Feed.combine_sort(@server_loaded_video_feeds)
|
113
|
-
@server_combined_bookmark_feeds = Feed.combine_sort(@server_loaded_bookmark_feeds)
|
114
|
-
@server_combined_music_feeds = Feed.combine_sort(@server_loaded_music_feeds)
|
115
|
-
@server_combined_news_feeds = Feed.combine_sort(@server_loaded_news_feeds)
|
116
|
-
@server_combined_blog_feeds = Feed.combine_sort(@server_loaded_blog_feeds)
|
117
|
-
@server_combined_search_feeds = Feed.combine_sort(@server_loaded_search_feeds)
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
def load_combined_feeds
|
123
|
-
return unless @load_feeds_on_server
|
124
|
-
@server_loaded_feeds = []
|
125
|
-
@server_loaded_feeds += @server_loaded_general_feeds if @server_loaded_general_feeds
|
126
|
-
@server_loaded_feeds += @server_loaded_news_feeds if @server_loaded_news_feeds
|
127
|
-
@server_loaded_feeds += @server_loaded_blog_feeds if @server_loaded_blog_feeds
|
128
|
-
@server_loaded_feeds += @server_loaded_search_feeds if @server_loaded_search_feeds
|
129
|
-
@server_loaded_feeds += @server_loaded_photo_feeds if @server_loaded_photo_feeds
|
130
|
-
@server_loaded_feeds += @server_loaded_video_feeds if @server_loaded_video_feeds
|
131
|
-
@server_loaded_feeds += @server_loaded_bookmark_feeds if @server_loaded_bookmark_feeds
|
132
|
-
@server_loaded_feeds += @server_loaded_music_feeds if @server_loaded_music_feeds
|
133
|
-
|
134
|
-
@server_loaded_data_feeds = []
|
135
|
-
@server_loaded_data_feeds += @server_loaded_general_feeds if @server_loaded_general_feeds
|
136
|
-
@server_loaded_data_feeds += @server_loaded_news_feeds if @server_loaded_news_feeds
|
137
|
-
@server_loaded_data_feeds += @server_loaded_blog_feeds if @server_loaded_blog_feeds
|
138
|
-
@server_loaded_data_feeds += @server_loaded_search_feeds if @server_loaded_search_feeds
|
139
|
-
|
140
|
-
@server_loaded_extended_data_feeds = []
|
141
|
-
@server_loaded_extended_data_feeds += @server_loaded_data_feeds if @server_loaded_data_feeds
|
142
|
-
@server_loaded_extended_data_feeds += @server_loaded_bookmark_feeds if @server_loaded_bookmark_feeds
|
143
|
-
|
144
|
-
if @show_combined
|
145
|
-
@server_combined_feeds = Feed.combine_sort(@server_loaded_feeds)
|
146
|
-
@server_combined_data_feeds = Feed.combine_sort(@server_loaded_data_feeds)
|
147
|
-
@server_combined_extended_data_feeds = Feed.combine_sort(@server_loaded_extended_data_feeds)
|
148
|
-
end
|
149
|
-
|
150
|
-
end
|
151
|
-
|
152
|
-
def configure_feed_loading
|
153
|
-
@number_of_items = 6
|
154
|
-
@number_of_images = 12
|
155
|
-
@number_of_videos = 6
|
156
|
-
|
157
|
-
@show_google_search = GlobalConfig.show_google_search
|
158
|
-
@show_combined = GlobalConfig.combine_feeds_on_server
|
159
|
-
@load_feeds_on_server = GlobalConfig.load_feeds_on_server
|
160
|
-
end
|
161
|
-
|
162
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
class Muck::VisitsController < ApplicationController
|
2
|
-
|
3
|
-
unloadable
|
4
|
-
|
5
|
-
before_filter :store_location
|
6
|
-
|
7
|
-
def show
|
8
|
-
@entry = Entry.find(params[:id])
|
9
|
-
@page_title = @entry.title
|
10
|
-
@resource_uri = @entry.resource_uri
|
11
|
-
@share = Share.new(:title => @entry.title, :uri => @resource_uri, :entry_id => @entry.id) if GlobalConfig.enable_raker_shares
|
12
|
-
|
13
|
-
if GlobalConfig.enable_raker_comments
|
14
|
-
# Show the activities related to this entry
|
15
|
-
@activities = @entry.activities.oldest.only_public.find(:all, :include => ['comments'])
|
16
|
-
@comment_count = @activities.length + @activities.inject(0) {|n,activity| activity.comments.length + n }
|
17
|
-
end
|
18
|
-
|
19
|
-
respond_to do |format|
|
20
|
-
format.html { render :template => 'visits/show', :layout => 'frame' }
|
21
|
-
format.pjs { render :template => 'visits/show', :layout => false }
|
22
|
-
format.json { render :json => @entry.as_json }
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
module MuckRakerAggregationsHelper
|
2
|
-
|
3
|
-
def data_sources(service_categories)
|
4
|
-
render :partial => 'aggregations/data_sources', :locals => { :service_categories => service_categories }
|
5
|
-
end
|
6
|
-
|
7
|
-
def data_source_checked?(data_source)
|
8
|
-
true
|
9
|
-
end
|
10
|
-
|
11
|
-
def feed_preview(feeds, discovered_feeds, related_title = nil, number_of_items = 5, number_of_images = 20, content_id = nil)
|
12
|
-
render :partial => 'topics/feed_preview', :locals => {:feeds => feeds,
|
13
|
-
:related_title => related_title,
|
14
|
-
:discovered_feeds => discovered_feeds,
|
15
|
-
:number_of_items => number_of_items,
|
16
|
-
:number_of_images => number_of_images,
|
17
|
-
:content_id => content_id }
|
18
|
-
end
|
19
|
-
|
20
|
-
def aggregation_parent_name(parent)
|
21
|
-
if @parent
|
22
|
-
"#{@parent.to_s.underscore}"
|
23
|
-
else
|
24
|
-
'Aggregation'
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
def topics_form
|
29
|
-
render :partial => 'topics/form'
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
module MuckRakerFeedsHelper
|
2
|
-
|
3
|
-
def add_feed(parent = nil)
|
4
|
-
render :partial => 'parts/add_feed', :locals => {:parent => parent}
|
5
|
-
end
|
6
|
-
|
7
|
-
def new_feed_path_with_parent(parent, options = {})
|
8
|
-
if parent
|
9
|
-
feeds_path(make_parent_params(parent).merge(options))
|
10
|
-
else
|
11
|
-
feeds_path(options)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
def feed_contributor_link(feed)
|
16
|
-
if feed.contributor_id.nil?
|
17
|
-
admin = Feed.find_by_login('admin')
|
18
|
-
'unknown'
|
19
|
-
else
|
20
|
-
link_to feed.contributor.display_name, user_path(feed.contributor_id)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def sort_feeds_link(current_order, current_asc, new_order, admin = false)
|
25
|
-
if admin == true
|
26
|
-
admin_feeds_url(:order => new_order, :asc => (current_order == new_order && (current_asc == 'true' || current_asc == nil)) ? 'false' : 'true')
|
27
|
-
else
|
28
|
-
feeds_url(:order => new_order, :asc => (current_order == new_order && (current_asc == 'true' || current_asc == nil)) ? 'false' : 'true')
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
@@ -1,95 +0,0 @@
|
|
1
|
-
module MuckRakerHelper
|
2
|
-
|
3
|
-
def tag_list(tags)
|
4
|
-
atags = tags.split(',')
|
5
|
-
# get rid of the first two items
|
6
|
-
atags.shift
|
7
|
-
atags.shift
|
8
|
-
atags.each_slice(2){|tag,frequency| yield tag,frequency }
|
9
|
-
end
|
10
|
-
|
11
|
-
def tag_cloud(tag_list, classes)
|
12
|
-
atags = tag_list.split(',')
|
13
|
-
min = atags.shift.to_f
|
14
|
-
max = atags.shift.to_f
|
15
|
-
range = max - min
|
16
|
-
scale = range == 0 ? 1 : classes.length.to_f / range.to_f
|
17
|
-
atags.each_slice(2){|tag,index| yield tag, classes[((index.to_i - min)*scale).to_i]}
|
18
|
-
end
|
19
|
-
|
20
|
-
def tag_link(tag, css_class, grain_size)
|
21
|
-
link_to h(tag), "/resources/tags/#{tag}?grain_size=#{grain_size}", :class => css_class
|
22
|
-
end
|
23
|
-
|
24
|
-
def filtered_tag_link(tag, filter, css_class, grain_size)
|
25
|
-
link_to h(tag), "/resources/tags/#{filter.join('/')}/#{tag}?grain_size=#{grain_size}", :class => css_class
|
26
|
-
end
|
27
|
-
|
28
|
-
def results_status
|
29
|
-
if @tag_filter.nil?
|
30
|
-
if (@grain_size == 'course')
|
31
|
-
t('muck.raker.course_search_results',
|
32
|
-
:first => @offset+1,
|
33
|
-
:last => (@offset + @per_page) < @hit_count ? (@offset + @per_page) : @hit_count,
|
34
|
-
:total => @hit_count,
|
35
|
-
:filter => @tag_filter,
|
36
|
-
:terms => URI.unescape(@term_list))
|
37
|
-
else
|
38
|
-
t('muck.raker.resource_search_results',
|
39
|
-
:first => @offset+1,
|
40
|
-
:last => (@offset + @per_page) < @hit_count ? (@offset + @per_page) : @hit_count,
|
41
|
-
:total => @hit_count,
|
42
|
-
:filter => @tag_filter,
|
43
|
-
:terms => URI.unescape(@term_list))
|
44
|
-
end
|
45
|
-
else
|
46
|
-
if (@grain_size == 'course')
|
47
|
-
t('muck.raker.course_tag_results',
|
48
|
-
:first => @offset+1,
|
49
|
-
:last => (@offset + @per_page) < @hit_count ? (@offset + @per_page) : @hit_count,
|
50
|
-
:total => @hit_count,
|
51
|
-
:filter => @tag_filter,
|
52
|
-
:terms => @tag_filter.split('/').join('</b>, <b>'))
|
53
|
-
else
|
54
|
-
t('muck.raker.resource_tag_results',
|
55
|
-
:first => @offset+1,
|
56
|
-
:last => (@offset + @per_page) < @hit_count ? (@offset + @per_page) : @hit_count,
|
57
|
-
:total => @hit_count,
|
58
|
-
:filter => @tag_filter,
|
59
|
-
:terms => @tag_filter.split('/').join('</b>, <b>'))
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
def round(flt)
|
65
|
-
return (((flt.to_f*100).to_i.round).to_f)/100.0
|
66
|
-
end
|
67
|
-
|
68
|
-
def truncate_on_word(text, length = 270, end_string = ' ...')
|
69
|
-
if text.length > length
|
70
|
-
stop_index = text.rindex(' ', length)
|
71
|
-
stop_index = length - 10 if stop_index < length-10
|
72
|
-
text[0,stop_index] + (text.length > 260 ? end_string : '')
|
73
|
-
else
|
74
|
-
text
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
def truncate_words(text, length = 40, end_string = ' ...')
|
79
|
-
words = text.split()
|
80
|
-
words[0..(length-1)].join(' ') + (words.length > length ? end_string : '')
|
81
|
-
end
|
82
|
-
|
83
|
-
def feed_query_uri(feed)
|
84
|
-
"/search/results?terms=feed_id:" + feed.id.to_s + "&locale=en"
|
85
|
-
end
|
86
|
-
|
87
|
-
def already_shared_entry?(user, entry)
|
88
|
-
user.shares.find(:all, :conditions => ['entry_id = ?', entry.id]).length > 0
|
89
|
-
end
|
90
|
-
|
91
|
-
def encode_feed_links(feeds)
|
92
|
-
@feeds.collect { |feed| "&n_32=url%3D#{CGI.escape(feed.uri)}" }.join('')
|
93
|
-
end
|
94
|
-
|
95
|
-
end
|