muck-raker 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +14 -0
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/app/controllers/admin/muck/feeds_controller.rb +23 -157
- data/app/controllers/muck/entries_controller.rb +7 -7
- data/app/controllers/muck/feeds_controller.rb +1 -1
- data/app/controllers/muck/recommendations_controller.rb +20 -16
- data/app/controllers/muck/visits_controller.rb +20 -0
- data/app/helpers/muck_raker_helper.rb +5 -1
- data/app/models/click.rb +8 -0
- data/app/models/entry.rb +39 -9
- data/app/models/feed.rb +89 -25
- data/app/models/feed_parent.rb +5 -0
- data/app/models/recommendation.rb +5 -0
- data/app/models/tag_cloud.rb +4 -0
- data/app/views/admin/feeds/index.html.erb +29 -59
- data/app/views/entries/_related_entry.html.erb +1 -1
- data/app/views/entries/_result.html.erb +1 -1
- data/app/views/feeds/_feed.html.erb +14 -1
- data/app/views/feeds/edit.html.erb +1 -1
- data/app/views/parts/_add_feed.html.erb +4 -4
- data/app/views/recommendations/index.pjs.erb +8 -8
- data/app/views/recommendations/index.rss.builder +3 -3
- data/app/views/recommendations/index.xml.builder +8 -8
- data/app/views/recommendations/index_js.pjs.erb +4 -0
- data/app/views/recommendations/index_real_time.pjs.erb +44 -0
- data/app/views/recommendations/index_real_time.xml.builder +26 -0
- data/app/views/visits/show.html.erb +156 -0
- data/config/muck_raker_routes.rb +19 -15
- data/db/bootstrap/services.yml +23 -23
- data/db/migrate/20090602191243_create_muck_raker.rb +2 -2
- data/db/migrate/20090728165716_add_etag_to_feeds.rb +9 -0
- data/db/migrate/20090730045848_add_comment_cache_to_entries.rb +9 -0
- data/db/migrate/20090804211240_add_entry_id_to_shares.rb +9 -0
- data/lib/muck_raker/tasks.rb +21 -24
- data/locales/en.yml +18 -1
- data/muck-raker.gemspec +82 -6
- data/raker/lib/recommenderd.jar +0 -0
- data/test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-american-physical-society/1248886128173.xml +56 -0
- data/test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-arizona-state-university/1248886130492.xml +49 -0
- data/test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-aspire/1248886130883.xml +192 -0
- data/test/rails_root/Rakefile +3 -0
- data/test/rails_root/app/controllers/application_controller.rb +10 -1
- data/test/rails_root/app/models/activity.rb +3 -0
- data/test/rails_root/app/models/comment.rb +3 -0
- data/test/rails_root/app/models/share.rb +4 -0
- data/test/rails_root/app/models/user.rb +5 -0
- data/test/rails_root/app/views/default/index.html.erb +2 -0
- data/test/rails_root/app/views/layouts/frame.html.erb +35 -0
- data/test/rails_root/config/database.yml +4 -2
- data/test/rails_root/config/environment.rb +3 -0
- data/test/rails_root/config/environments/cucumber.rb +21 -0
- data/test/rails_root/config/global_config.yml +2 -0
- data/test/rails_root/config/routes.rb +1 -1
- data/test/rails_root/db/bootstrap/attention.yml +6 -0
- data/test/rails_root/db/bootstrap/feeds.yml +4268 -0
- data/test/rails_root/db/bootstrap/oai_endpoints.yml +6 -0
- data/test/rails_root/db/bootstrap/services.yml +172 -0
- data/test/rails_root/db/migrate/20090402033319_add_muck_activities.rb +36 -0
- data/test/rails_root/db/migrate/20090602191243_create_muck_raker.rb +2 -2
- data/test/rails_root/db/migrate/20090613173314_create_comments.rb +24 -0
- data/test/rails_root/db/migrate/20090728165716_add_etag_to_feeds.rb +9 -0
- data/test/rails_root/db/migrate/20090730044139_add_comment_cache.rb +9 -0
- data/test/rails_root/db/migrate/20090730045848_add_comment_cache_to_entries.rb +9 -0
- data/test/rails_root/db/migrate/20090730154102_allow_null_user.rb +9 -0
- data/test/rails_root/db/migrate/20090803185323_create_shares.rb +18 -0
- data/test/rails_root/db/migrate/20090804211240_add_entry_id_to_shares.rb.rb +9 -0
- data/test/rails_root/features/feeds.feature +13 -0
- data/test/rails_root/features/step_definitions/common_steps.rb +93 -0
- data/test/rails_root/features/step_definitions/visit_steps.rb +6 -0
- data/test/rails_root/features/step_definitions/webrat_steps.rb +52 -23
- data/test/rails_root/features/support/paths.rb +36 -0
- data/test/rails_root/features/visit.feature +10 -0
- data/test/rails_root/lib/tasks/cucumber.rake +20 -0
- data/test/rails_root/public/images/icons/blue_guy.png +0 -0
- data/test/rails_root/public/images/icons/cancel.png +0 -0
- data/test/rails_root/public/images/icons/close.png +0 -0
- data/test/rails_root/public/images/icons/delete.png +0 -0
- data/test/rails_root/public/images/icons/exclaim.png +0 -0
- data/test/rails_root/public/images/icons/grey_guy.png +0 -0
- data/test/rails_root/public/images/icons/hide.png +0 -0
- data/test/rails_root/public/images/icons/information.png +0 -0
- data/test/rails_root/public/images/icons/minus.png +0 -0
- data/test/rails_root/public/images/icons/question.png +0 -0
- data/test/rails_root/public/images/icons/search_box.png +0 -0
- data/test/rails_root/public/images/icons/star.png +0 -0
- data/test/rails_root/public/images/icons/stop.png +0 -0
- data/test/rails_root/public/images/icons/thumb_down.png +0 -0
- data/test/rails_root/public/images/icons/thumb_up.png +0 -0
- data/test/rails_root/public/images/icons/vote.png +0 -0
- data/test/rails_root/public/javascripts/jquery/jrails.js +1 -0
- data/test/rails_root/public/javascripts/muck.js +15 -1
- data/test/rails_root/public/javascripts/muck_activities.js +1 -1
- data/test/rails_root/public/stylesheets/application.css +49 -1
- data/test/rails_root/public/stylesheets/styles.css +2 -1
- data/test/rails_root/script/cucumber +2 -1
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +37 -0
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +1 -1
- data/test/rails_root/test/functional/visits_controller_test.rb +21 -0
- data/test/rails_root/test/test_helper.rb +2 -1
- data/test/rails_root/test/unit/entry_test.rb +12 -0
- data/test/rails_root/test/unit/feed_parent_test.rb +17 -0
- data/test/rails_root/test/unit/feed_test.rb +42 -3
- data/test/rails_root/test/unit/tag_cloud_test.rb +4 -0
- metadata +89 -4
- data/app/models/language.rb +0 -16
- data/app/views/recommendations/document_not_found.html.erb +0 -13
@@ -23,6 +23,18 @@
|
|
23
23
|
# other :text
|
24
24
|
# grain_size :string(255) default("unknown")
|
25
25
|
#
|
26
|
+
# Indexes
|
27
|
+
#
|
28
|
+
# index_entries_on_direct_link (direct_link)
|
29
|
+
# index_entries_on_feed_id (feed_id)
|
30
|
+
# index_entries_on_indexed_at (indexed_at)
|
31
|
+
# index_entries_on_language_id (language_id)
|
32
|
+
# index_entries_on_oai_identifier (oai_identifier)
|
33
|
+
# index_entries_on_permalink (permalink)
|
34
|
+
# index_entries_on_published_at (published_at)
|
35
|
+
# index_entries_on_relevance_calculated_at (relevance_calculated_at)
|
36
|
+
# index_entries_on_grain_size (grain_size)
|
37
|
+
#
|
26
38
|
|
27
39
|
require File.dirname(__FILE__) + '/../test_helper'
|
28
40
|
|
@@ -1,3 +1,20 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: feed_parents
|
4
|
+
#
|
5
|
+
# id :integer(4) not null, primary key
|
6
|
+
# feed_id :integer(4)
|
7
|
+
# ownable_id :integer(4)
|
8
|
+
# ownable_type :string(255)
|
9
|
+
# created_at :datetime
|
10
|
+
# updated_at :datetime
|
11
|
+
#
|
12
|
+
# Indexes
|
13
|
+
#
|
14
|
+
# index_feed_parents_on_feed_id (feed_id)
|
15
|
+
# index_feed_parents_on_ownable_id_and_ownable_type (ownable_id,ownable_type)
|
16
|
+
#
|
17
|
+
|
1
18
|
require File.dirname(__FILE__) + '/../test_helper'
|
2
19
|
|
3
20
|
class FeedParentTest < ActiveSupport::TestCase
|
@@ -30,6 +30,12 @@
|
|
30
30
|
# default_language_id :integer(4) default(0)
|
31
31
|
# default_grain_size :string(255) default("unknown")
|
32
32
|
# contributor_id :integer(4)
|
33
|
+
# etag :string(255)
|
34
|
+
#
|
35
|
+
# Indexes
|
36
|
+
#
|
37
|
+
# index_feeds_on_service_id (service_id)
|
38
|
+
# index_feeds_on_uri (uri)
|
33
39
|
#
|
34
40
|
|
35
41
|
require File.dirname(__FILE__) + '/../test_helper'
|
@@ -54,14 +60,47 @@ class FeedTest < ActiveSupport::TestCase
|
|
54
60
|
should_have_named_scope :by_title
|
55
61
|
should_have_named_scope :recent
|
56
62
|
|
63
|
+
should "set 24 hours as default interval" do
|
64
|
+
assert_equal @feed.harvest_interval_hours, 24
|
65
|
+
end
|
66
|
+
|
67
|
+
should "set harvest interval by hours" do
|
68
|
+
@feed.harvest_interval_hours = 10
|
69
|
+
assert_equal @feed.harvest_interval, 10 * 3600
|
70
|
+
end
|
71
|
+
|
57
72
|
end
|
58
73
|
|
59
|
-
context "
|
74
|
+
context "banned/unbanned" do
|
60
75
|
setup do
|
61
|
-
@
|
76
|
+
@feed = Factory(:feed)
|
77
|
+
end
|
78
|
+
should "be banned" do
|
79
|
+
@feed.status = -1
|
80
|
+
assert @feed.banned?
|
81
|
+
end
|
82
|
+
should "not be banned" do
|
83
|
+
@feed.status = 0
|
84
|
+
assert !@feed.banned?
|
62
85
|
end
|
86
|
+
end
|
87
|
+
|
88
|
+
context "Get feed information" do
|
63
89
|
should "Get feed information" do
|
64
|
-
Feed.gather_information(
|
90
|
+
Feed.gather_information(TEST_URI)
|
91
|
+
end
|
92
|
+
should "Discover feeds from url" do
|
93
|
+
Feed.discover_feeds(TEST_URI)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
context "Harvest feed" do
|
98
|
+
setup do
|
99
|
+
@feed = Factory(:feed, :uri => TEST_RSS_URI, :display_uri => TEST_URI)
|
100
|
+
end
|
101
|
+
should "get new entries" do
|
102
|
+
entries = @feed.harvest
|
103
|
+
assert entries.length > 0
|
65
104
|
end
|
66
105
|
end
|
67
106
|
|
@@ -8,6 +8,10 @@
|
|
8
8
|
# tag_list :string(5000)
|
9
9
|
# grain_size :string(255) default("all")
|
10
10
|
#
|
11
|
+
# Indexes
|
12
|
+
#
|
13
|
+
# index_tag_clouds_on_grain_size_and_language_id_and_filter (grain_size,language_id,filter) UNIQUE
|
14
|
+
#
|
11
15
|
|
12
16
|
require File.dirname(__FILE__) + '/../test_helper'
|
13
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-raker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Duffin Justin Ball
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-08 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -52,6 +52,16 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: "0"
|
54
54
|
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pauldix-feedzirra
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
64
|
+
version:
|
55
65
|
- !ruby/object:Gem::Dependency
|
56
66
|
name: muck-engine
|
57
67
|
type: :runtime
|
@@ -72,6 +82,16 @@ dependencies:
|
|
72
82
|
- !ruby/object:Gem::Version
|
73
83
|
version: "0"
|
74
84
|
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: muck-comments
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: "0"
|
94
|
+
version:
|
75
95
|
- !ruby/object:Gem::Dependency
|
76
96
|
name: muck-solr
|
77
97
|
type: :runtime
|
@@ -102,6 +122,7 @@ files:
|
|
102
122
|
- app/controllers/muck/feeds_controller.rb
|
103
123
|
- app/controllers/muck/recommendations_controller.rb
|
104
124
|
- app/controllers/muck/search_controller.rb
|
125
|
+
- app/controllers/muck/visits_controller.rb
|
105
126
|
- app/helpers/muck_raker_feeds_helper.rb
|
106
127
|
- app/helpers/muck_raker_helper.rb
|
107
128
|
- app/models/attention.rb
|
@@ -109,7 +130,6 @@ files:
|
|
109
130
|
- app/models/entry.rb
|
110
131
|
- app/models/feed.rb
|
111
132
|
- app/models/feed_parent.rb
|
112
|
-
- app/models/language.rb
|
113
133
|
- app/models/oai_endpoint.rb
|
114
134
|
- app/models/raker_mailer.rb
|
115
135
|
- app/models/recommendation.rb
|
@@ -234,11 +254,12 @@ files:
|
|
234
254
|
- app/views/raker_mailer/notification_feed_added.text.zh-TW.plain.erb
|
235
255
|
- app/views/raker_mailer/notification_feed_added.text.zh.html.erb
|
236
256
|
- app/views/raker_mailer/notification_feed_added.text.zh.plain.erb
|
237
|
-
- app/views/recommendations/document_not_found.html.erb
|
238
257
|
- app/views/recommendations/index.pjs.erb
|
239
258
|
- app/views/recommendations/index.rss.builder
|
240
259
|
- app/views/recommendations/index.xml.builder
|
241
260
|
- app/views/recommendations/index_js.pjs.erb
|
261
|
+
- app/views/recommendations/index_real_time.pjs.erb
|
262
|
+
- app/views/recommendations/index_real_time.xml.builder
|
242
263
|
- app/views/search/_languages.html.erb
|
243
264
|
- app/views/search/_result.html.erb
|
244
265
|
- app/views/search/_search_box.html.erb
|
@@ -249,6 +270,7 @@ files:
|
|
249
270
|
- app/views/search/results.rdf.builder
|
250
271
|
- app/views/search/results.rss.builder
|
251
272
|
- app/views/search/results.xml.builder
|
273
|
+
- app/views/visits/show.html.erb
|
252
274
|
- config/muck_raker_environment.rb
|
253
275
|
- config/muck_raker_routes.rb
|
254
276
|
- config/solr/README.txt
|
@@ -308,6 +330,9 @@ files:
|
|
308
330
|
- db/migrate/20090721043213_change_services_title_to_name.rb
|
309
331
|
- db/migrate/20090721054927_remove_services_not_null_from_feeds.rb
|
310
332
|
- db/migrate/20090723050510_create_feed_parents.rb
|
333
|
+
- db/migrate/20090728165716_add_etag_to_feeds.rb
|
334
|
+
- db/migrate/20090730045848_add_comment_cache_to_entries.rb
|
335
|
+
- db/migrate/20090804211240_add_entry_id_to_shares.rb
|
311
336
|
- install.rb
|
312
337
|
- lib/active_record/acts/muck_feed_parent.rb
|
313
338
|
- lib/muck_raker.rb
|
@@ -413,6 +438,9 @@ files:
|
|
413
438
|
- raker/lib/wsdl4j-1.5.1.jar
|
414
439
|
- raker/lib/wstx-asl-3.2.7.jar
|
415
440
|
- tasks/muck_raker_tasks.rake
|
441
|
+
- test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-american-physical-society/1248886128173.xml
|
442
|
+
- test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-arizona-state-university/1248886130492.xml
|
443
|
+
- test/feed_archive/http---www-oercommons-org-oai-verb-ListRecords-metadataPrefix-oer_recommender-set-collection-aspire/1248886130883.xml
|
416
444
|
- test/rails_root/.gitignore
|
417
445
|
- test/rails_root/.rake_tasks
|
418
446
|
- test/rails_root/Capfile
|
@@ -421,15 +449,20 @@ files:
|
|
421
449
|
- test/rails_root/app/controllers/default_controller.rb
|
422
450
|
- test/rails_root/app/helpers/application_helper.rb
|
423
451
|
- test/rails_root/app/models/.keep
|
452
|
+
- test/rails_root/app/models/activity.rb
|
453
|
+
- test/rails_root/app/models/comment.rb
|
454
|
+
- test/rails_root/app/models/share.rb
|
424
455
|
- test/rails_root/app/models/user.rb
|
425
456
|
- test/rails_root/app/models/user_session.rb
|
426
457
|
- test/rails_root/app/views/default/index.html.erb
|
427
458
|
- test/rails_root/app/views/layouts/default.html.erb
|
459
|
+
- test/rails_root/app/views/layouts/frame.html.erb
|
428
460
|
- test/rails_root/app/views/layouts/popup.html.erb
|
429
461
|
- test/rails_root/config/amazon_s3.yml
|
430
462
|
- test/rails_root/config/boot.rb
|
431
463
|
- test/rails_root/config/database.yml
|
432
464
|
- test/rails_root/config/environment.rb
|
465
|
+
- test/rails_root/config/environments/cucumber.rb
|
433
466
|
- test/rails_root/config/environments/development.rb
|
434
467
|
- test/rails_root/config/environments/production.rb
|
435
468
|
- test/rails_root/config/environments/test.rb
|
@@ -482,12 +515,18 @@ files:
|
|
482
515
|
- test/rails_root/config/solr/cores/zh/conf/synonyms.txt
|
483
516
|
- test/rails_root/config/solr/solr.xml
|
484
517
|
- test/rails_root/db/.keep
|
518
|
+
- test/rails_root/db/bootstrap/attention.yml
|
519
|
+
- test/rails_root/db/bootstrap/feeds.yml
|
520
|
+
- test/rails_root/db/bootstrap/oai_endpoints.yml
|
521
|
+
- test/rails_root/db/bootstrap/services.yml
|
485
522
|
- test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb
|
523
|
+
- test/rails_root/db/migrate/20090402033319_add_muck_activities.rb
|
486
524
|
- test/rails_root/db/migrate/20090402234137_create_languages.rb
|
487
525
|
- test/rails_root/db/migrate/20090426041056_create_countries.rb
|
488
526
|
- test/rails_root/db/migrate/20090426041103_create_states.rb
|
489
527
|
- test/rails_root/db/migrate/20090602041838_create_users.rb
|
490
528
|
- test/rails_root/db/migrate/20090602191243_create_muck_raker.rb
|
529
|
+
- test/rails_root/db/migrate/20090613173314_create_comments.rb
|
491
530
|
- test/rails_root/db/migrate/20090619211125_create_tag_clouds.rb
|
492
531
|
- test/rails_root/db/migrate/20090623181458_add_grain_size_to_entries.rb
|
493
532
|
- test/rails_root/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb
|
@@ -500,8 +539,20 @@ files:
|
|
500
539
|
- test/rails_root/db/migrate/20090721043213_change_services_title_to_name.rb
|
501
540
|
- test/rails_root/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb
|
502
541
|
- test/rails_root/db/migrate/20090723050510_create_feed_parents.rb
|
542
|
+
- test/rails_root/db/migrate/20090728165716_add_etag_to_feeds.rb
|
543
|
+
- test/rails_root/db/migrate/20090730044139_add_comment_cache.rb
|
544
|
+
- test/rails_root/db/migrate/20090730045848_add_comment_cache_to_entries.rb
|
545
|
+
- test/rails_root/db/migrate/20090730154102_allow_null_user.rb
|
546
|
+
- test/rails_root/db/migrate/20090803185323_create_shares.rb
|
547
|
+
- test/rails_root/db/migrate/20090804211240_add_entry_id_to_shares.rb.rb
|
548
|
+
- test/rails_root/features/feeds.feature
|
549
|
+
- test/rails_root/features/step_definitions/common_steps.rb
|
550
|
+
- test/rails_root/features/step_definitions/visit_steps.rb
|
503
551
|
- test/rails_root/features/step_definitions/webrat_steps.rb
|
504
552
|
- test/rails_root/features/support/env.rb
|
553
|
+
- test/rails_root/features/support/paths.rb
|
554
|
+
- test/rails_root/features/visit.feature
|
555
|
+
- test/rails_root/lib/tasks/cucumber.rake
|
505
556
|
- test/rails_root/public/.htaccess
|
506
557
|
- test/rails_root/public/404.html
|
507
558
|
- test/rails_root/public/422.html
|
@@ -528,7 +579,21 @@ files:
|
|
528
579
|
- test/rails_root/public/images/fancybox/fancy_title_right.png
|
529
580
|
- test/rails_root/public/images/icons/accept.png
|
530
581
|
- test/rails_root/public/images/icons/add.png
|
582
|
+
- test/rails_root/public/images/icons/blue_guy.png
|
583
|
+
- test/rails_root/public/images/icons/cancel.png
|
584
|
+
- test/rails_root/public/images/icons/close.png
|
531
585
|
- test/rails_root/public/images/icons/delete.png
|
586
|
+
- test/rails_root/public/images/icons/exclaim.png
|
587
|
+
- test/rails_root/public/images/icons/grey_guy.png
|
588
|
+
- test/rails_root/public/images/icons/hide.png
|
589
|
+
- test/rails_root/public/images/icons/information.png
|
590
|
+
- test/rails_root/public/images/icons/minus.png
|
591
|
+
- test/rails_root/public/images/icons/question.png
|
592
|
+
- test/rails_root/public/images/icons/search_box.png
|
593
|
+
- test/rails_root/public/images/icons/star.png
|
594
|
+
- test/rails_root/public/images/icons/stop.png
|
595
|
+
- test/rails_root/public/images/icons/thumb_down.png
|
596
|
+
- test/rails_root/public/images/icons/thumb_up.png
|
532
597
|
- test/rails_root/public/images/icons/vote.png
|
533
598
|
- test/rails_root/public/images/loading.gif
|
534
599
|
- test/rails_root/public/images/profile_default.jpg
|
@@ -549,6 +614,7 @@ files:
|
|
549
614
|
- test/rails_root/public/javascripts/jquery/jquery.jgrowl.js
|
550
615
|
- test/rails_root/public/javascripts/jquery/jquery.js
|
551
616
|
- test/rails_root/public/javascripts/jquery/jquery.tips.js
|
617
|
+
- test/rails_root/public/javascripts/jquery/jrails.js
|
552
618
|
- test/rails_root/public/javascripts/muck.js
|
553
619
|
- test/rails_root/public/javascripts/muck_activities.js
|
554
620
|
- test/rails_root/public/javascripts/prototype.js
|
@@ -678,8 +744,10 @@ files:
|
|
678
744
|
- test/rails_root/script/server
|
679
745
|
- test/rails_root/test/factories.rb
|
680
746
|
- test/rails_root/test/functional/.keep
|
747
|
+
- test/rails_root/test/functional/admin/feeds_controller_test.rb
|
681
748
|
- test/rails_root/test/functional/feed_previews_controller_test.rb
|
682
749
|
- test/rails_root/test/functional/feeds_controller_test.rb
|
750
|
+
- test/rails_root/test/functional/visits_controller_test.rb
|
683
751
|
- test/rails_root/test/integration/.keep
|
684
752
|
- test/rails_root/test/mocks/development/.keep
|
685
753
|
- test/rails_root/test/mocks/test/.keep
|
@@ -739,10 +807,14 @@ test_files:
|
|
739
807
|
- test/rails_root/app/controllers/application_controller.rb
|
740
808
|
- test/rails_root/app/controllers/default_controller.rb
|
741
809
|
- test/rails_root/app/helpers/application_helper.rb
|
810
|
+
- test/rails_root/app/models/activity.rb
|
811
|
+
- test/rails_root/app/models/comment.rb
|
812
|
+
- test/rails_root/app/models/share.rb
|
742
813
|
- test/rails_root/app/models/user.rb
|
743
814
|
- test/rails_root/app/models/user_session.rb
|
744
815
|
- test/rails_root/config/boot.rb
|
745
816
|
- test/rails_root/config/environment.rb
|
817
|
+
- test/rails_root/config/environments/cucumber.rb
|
746
818
|
- test/rails_root/config/environments/development.rb
|
747
819
|
- test/rails_root/config/environments/production.rb
|
748
820
|
- test/rails_root/config/environments/test.rb
|
@@ -752,11 +824,13 @@ test_files:
|
|
752
824
|
- test/rails_root/config/initializers/session_store.rb
|
753
825
|
- test/rails_root/config/routes.rb
|
754
826
|
- test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb
|
827
|
+
- test/rails_root/db/migrate/20090402033319_add_muck_activities.rb
|
755
828
|
- test/rails_root/db/migrate/20090402234137_create_languages.rb
|
756
829
|
- test/rails_root/db/migrate/20090426041056_create_countries.rb
|
757
830
|
- test/rails_root/db/migrate/20090426041103_create_states.rb
|
758
831
|
- test/rails_root/db/migrate/20090602041838_create_users.rb
|
759
832
|
- test/rails_root/db/migrate/20090602191243_create_muck_raker.rb
|
833
|
+
- test/rails_root/db/migrate/20090613173314_create_comments.rb
|
760
834
|
- test/rails_root/db/migrate/20090619211125_create_tag_clouds.rb
|
761
835
|
- test/rails_root/db/migrate/20090623181458_add_grain_size_to_entries.rb
|
762
836
|
- test/rails_root/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb
|
@@ -769,14 +843,25 @@ test_files:
|
|
769
843
|
- test/rails_root/db/migrate/20090721043213_change_services_title_to_name.rb
|
770
844
|
- test/rails_root/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb
|
771
845
|
- test/rails_root/db/migrate/20090723050510_create_feed_parents.rb
|
846
|
+
- test/rails_root/db/migrate/20090728165716_add_etag_to_feeds.rb
|
847
|
+
- test/rails_root/db/migrate/20090730044139_add_comment_cache.rb
|
848
|
+
- test/rails_root/db/migrate/20090730045848_add_comment_cache_to_entries.rb
|
849
|
+
- test/rails_root/db/migrate/20090730154102_allow_null_user.rb
|
850
|
+
- test/rails_root/db/migrate/20090803185323_create_shares.rb
|
851
|
+
- test/rails_root/db/migrate/20090804211240_add_entry_id_to_shares.rb.rb
|
772
852
|
- test/rails_root/db/schema.rb
|
853
|
+
- test/rails_root/features/step_definitions/common_steps.rb
|
854
|
+
- test/rails_root/features/step_definitions/visit_steps.rb
|
773
855
|
- test/rails_root/features/step_definitions/webrat_steps.rb
|
774
856
|
- test/rails_root/features/support/env.rb
|
857
|
+
- test/rails_root/features/support/paths.rb
|
775
858
|
- test/rails_root/public/dispatch.rb
|
776
859
|
- test/rails_root/script/create_project.rb
|
777
860
|
- test/rails_root/test/factories.rb
|
861
|
+
- test/rails_root/test/functional/admin/feeds_controller_test.rb
|
778
862
|
- test/rails_root/test/functional/feed_previews_controller_test.rb
|
779
863
|
- test/rails_root/test/functional/feeds_controller_test.rb
|
864
|
+
- test/rails_root/test/functional/visits_controller_test.rb
|
780
865
|
- test/rails_root/test/shoulda_macros/controller.rb
|
781
866
|
- test/rails_root/test/shoulda_macros/forms.rb
|
782
867
|
- test/rails_root/test/shoulda_macros/models.rb
|
data/app/models/language.rb
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# == Schema Information
|
2
|
-
#
|
3
|
-
# Table name: languages
|
4
|
-
#
|
5
|
-
# id :integer(4) not null, primary key
|
6
|
-
# name :string(255)
|
7
|
-
# english_name :string(255)
|
8
|
-
# locale :string(255)
|
9
|
-
# supported :boolean(1) default(TRUE)
|
10
|
-
# is_default :integer(4) default(0)
|
11
|
-
# muck_raker_supported :boolean(1)
|
12
|
-
# indexed_records :integer(4) default(0)
|
13
|
-
#
|
14
|
-
|
15
|
-
class Language < ActiveRecord::Base
|
16
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>Recommendations for <%= params[:u] %></title>
|
4
|
-
</head>
|
5
|
-
<body>
|
6
|
-
<h1>Requested Document Not Indexed</h1>
|
7
|
-
<p>The document you requested recommendations has not been indexed by OER Recommender:</p>
|
8
|
-
<p><%= h params[:u] %></p>
|
9
|
-
</body>
|
10
|
-
</html>
|
11
|
-
|
12
|
-
|
13
|
-
|