sufia 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -3
- data/.travis.yml +4 -4
- data/README.md +1 -10
- data/SUFIA_VERSION +1 -1
- data/app/assets/images/audio.png +0 -0
- data/app/assets/javascripts/sufia/trophy.js +11 -5
- data/app/controllers/single_use_links_controller.rb +11 -1
- data/app/helpers/facets_helper.rb +3 -0
- data/app/helpers/sufia/facets_helper_behavior.rb +23 -0
- data/app/helpers/sufia_helper.rb +3 -21
- data/app/views/dashboard/_facet_limit.html.erb +2 -20
- data/app/views/dashboard/_index_partials/_thumbnail_display.html.erb +4 -2
- data/app/views/generic_files/_descriptions.html.erb +2 -18
- data/app/views/generic_files/_field_form.html.erb +7 -2
- data/app/views/generic_files/_media_display.html.erb +0 -16
- data/app/views/generic_files/_permission.html.erb +1 -17
- data/app/views/generic_files/_permission_form.html.erb +1 -1
- data/app/views/generic_files/_show_actions.html.erb +1 -8
- data/app/views/generic_files/_versioning.html.erb +1 -17
- data/app/views/generic_files/edit.html.erb +1 -17
- data/app/views/mailbox/index.html.erb +5 -3
- data/app/views/users/_activity.html.erb +3 -0
- data/app/views/users/_activity_log.html.erb +1 -17
- data/app/views/users/_contributions.html.erb +29 -0
- data/app/views/users/_follower_modal.html.erb +26 -0
- data/app/views/users/_following_modal.html.erb +26 -0
- data/app/views/users/_left_sidebar.html.erb +12 -0
- data/app/views/users/_notify_number.html.erb +0 -16
- data/app/views/users/_profile.html.erb +7 -0
- data/app/views/users/_profile_actions.html.erb +11 -0
- data/app/views/users/_profile_tabs.html.erb +11 -0
- data/app/views/users/_search_form.html.erb +1 -17
- data/app/views/users/_social_media_info.html.erb +20 -0
- data/app/views/users/_user_info.html.erb +0 -16
- data/app/views/users/_vitals.html.erb +4 -0
- data/app/views/users/edit.html.erb +1 -17
- data/app/views/users/index.html.erb +0 -16
- data/app/views/users/notifications_number.js.erb +0 -16
- data/app/views/users/show.html.erb +21 -58
- data/lib/sufia.rb +1 -3
- data/lib/sufia/controller.rb +0 -6
- data/lib/sufia/version.rb +1 -1
- data/spec/controllers/batch_edits_controller_spec.rb +8 -2
- data/spec/controllers/generic_files_controller_spec.rb +8 -28
- data/spec/controllers/single_use_links_controller_spec.rb +26 -2
- data/spec/factories/generic_files.rb +46 -0
- data/spec/factories/users.rb +6 -2
- data/spec/features/browse_dashboard_files_spec.rb +39 -0
- data/spec/features/browse_files_spec.rb +30 -0
- data/spec/features/{contact_form.rb → contact_form_spec.rb} +1 -1
- data/spec/features/{display_dashboard.rb → display_dashboard_spec.rb} +1 -7
- data/spec/features/{ingest_upload_files.rb → ingest_upload_files_spec.rb} +2 -2
- data/spec/features/notifications_spec.rb +20 -0
- data/spec/features/users_spec.rb +12 -0
- data/spec/helpers/sufia_helper_spec.rb +23 -0
- data/spec/lib/sufia/id_service_spec.rb +0 -38
- data/spec/support/features.rb +2 -0
- data/spec/support/features/session_helpers.rb +9 -1
- data/spec/support/fixture_helpers.rb +10 -0
- data/spec/views/dashboard/facet_limit.html.erb_spec.rb +15 -0
- data/spec/views/dashboard/index_partials/_thumbnail_display.html.erb_spec.rb +22 -0
- data/spec/views/generic_file/edit.html.erb_spec.rb +24 -0
- data/spec/views/users/show.html.erb_spec.rb +31 -0
- data/sufia-models/app/models/concerns/sufia/user.rb +2 -2
- data/sufia-models/lib/generators/sufia/models/install_generator.rb +2 -1
- data/sufia-models/lib/generators/sufia/models/templates/migrations/add_linkedin_to_users.rb +5 -0
- data/sufia-models/lib/sufia/models/generic_file/actions.rb +0 -1
- data/sufia-models/lib/sufia/models/version.rb +1 -1
- data/sufia-models/sufia-models.gemspec +3 -5
- data/tasks/sufia-dev.rake +0 -10
- metadata +43 -69
- data/app/views/generic_files/edit_fields/_type.html.erb +0 -12
- data/lib/tasks/fixtures.rake +0 -231
- data/spec/features/browse_dashboard_files.rb +0 -21
- data/spec/features/browse_files.rb +0 -31
- data/spec/fixtures/empty_file.txt +0 -0
- data/spec/fixtures/fits_datastream.xml +0 -42
- data/spec/fixtures/sufia/bg_header.jpg +0 -0
- data/spec/fixtures/sufia/sufia_test1.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test1.foxml.erb +0 -89
- data/spec/fixtures/sufia/sufia_test1.txt +0 -1
- data/spec/fixtures/sufia/sufia_test2.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test2.docx +0 -0
- data/spec/fixtures/sufia/sufia_test2.foxml.erb +0 -88
- data/spec/fixtures/sufia/sufia_test3.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test3.foxml.erb +0 -91
- data/spec/fixtures/sufia/sufia_test3.xls +0 -0
- data/spec/fixtures/sufia/sufia_test4.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test4.foxml.erb +0 -91
- data/spec/fixtures/sufia/sufia_test5.descMeta.txt +0 -19
- data/spec/fixtures/sufia/sufia_test5.foxml.erb +0 -90
- data/spec/fixtures/sufia/sufia_test5.txt +0 -1
- data/spec/fixtures/sufia/sufia_test6.descMeta.txt +0 -12
- data/spec/fixtures/sufia/sufia_test6.foxml.erb +0 -89
- data/spec/fixtures/sufia/sufia_test6.jp2 +0 -0
- data/spec/fixtures/sufia/sufia_test6.txt +0 -1
- data/spec/fixtures/sufia_generic_stub.descMeta.txt +0 -12
- data/spec/fixtures/sufia_generic_stub.foxml.erb +0 -79
- data/spec/models/unzip_job_spec.rb +0 -47
- data/spec/rake/sufia_fixtures_spec.rb +0 -74
- data/sufia-models/lib/sufia/models/jobs/unzip_job.rb +0 -38
- data/tasks/sufia-fixtures.rake +0 -232
data/spec/support/features.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# spec/support/features.rb
|
2
2
|
require File.expand_path('../features/session_helpers', __FILE__)
|
3
|
+
require File.expand_path('../fixture_helpers', __FILE__)
|
3
4
|
|
4
5
|
RSpec.configure do |config|
|
5
6
|
config.include Features::SessionHelpers, type: :feature
|
7
|
+
config.include FixtureHelpers
|
6
8
|
end
|
@@ -11,7 +11,15 @@ module Features
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def sign_in(who = :user)
|
14
|
-
|
14
|
+
if who.instance_of?(User)
|
15
|
+
user = who
|
16
|
+
else
|
17
|
+
user = FactoryGirl.find_or_create(who)
|
18
|
+
if user.password.nil? # get the password from the factory if user was retrieved from database
|
19
|
+
tmpl = FactoryGirl.build(who)
|
20
|
+
user.password = tmpl.password
|
21
|
+
end
|
22
|
+
end
|
15
23
|
visit new_user_session_path
|
16
24
|
fill_in 'Email', with: user.email
|
17
25
|
fill_in 'Password', with: user.password
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'dashboard/_facet_limit.html.erb' do
|
4
|
+
|
5
|
+
it "should draw facet links" do
|
6
|
+
allow(view).to receive(:display_facet).and_return(double(items: [double(value: 'Audio', hits: 3), double(value: 'Video', hits:2)]))
|
7
|
+
allow(view).to receive(:solr_field).and_return('desc_metadata__resource_type_sim')
|
8
|
+
allow(view).to receive(:facet_limit_for).and_return(5)
|
9
|
+
allow(view).to receive(:blacklight_config).and_return(DashboardController.blacklight_config)
|
10
|
+
allow(view).to receive(:params).and_return({controller: 'dashboard'})
|
11
|
+
render
|
12
|
+
expect(rendered).to match /<a class="facet_select" href="\/dashboard\?f%5Bdesc_metadata__resource_type_sim%5D%5B%5D=Audio">Audio<\/a> <span class="count">3<\/span>/
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "dashboard/_index_partials/_thumbnail_display.html.erb" do
|
4
|
+
describe "for an audio object" do
|
5
|
+
before do
|
6
|
+
allow(view).to receive(:document).and_return(stub_model(GenericFile, mime_type: 'audio/wav', noid: '123'))
|
7
|
+
end
|
8
|
+
it "should show the audio thumbnail" do
|
9
|
+
render
|
10
|
+
rendered.should match /src="\/assets\/audio.png"/
|
11
|
+
end
|
12
|
+
end
|
13
|
+
describe "for an document object" do
|
14
|
+
before do
|
15
|
+
allow(view).to receive(:document).and_return(stub_model(GenericFile, mime_type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', noid: '123'))
|
16
|
+
end
|
17
|
+
it "should show the default thumbnail" do
|
18
|
+
render
|
19
|
+
rendered.should match /src="\/assets\/default.png"/
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'generic_files/edit.html.erb' do
|
4
|
+
describe 'when the file has two or more resource types' do
|
5
|
+
let(:generic_file) {
|
6
|
+
content = double('content', versions: [])
|
7
|
+
stub_model(GenericFile, noid: '123',
|
8
|
+
depositor: 'bob',
|
9
|
+
resource_type: ['Book', 'Dataset'],
|
10
|
+
content: content)
|
11
|
+
}
|
12
|
+
|
13
|
+
before do
|
14
|
+
allow(controller).to receive(:current_user).and_return(stub_model(User))
|
15
|
+
assign(:generic_file, generic_file)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should only draw one resource_type multiselect" do
|
19
|
+
render
|
20
|
+
page = Capybara::Node::Simple.new(rendered)
|
21
|
+
expect(page).to have_selector("select#generic_file_resource_type", count: 1)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'users/show.html.erb' do
|
4
|
+
|
5
|
+
let(:join_date) { 5.days.ago }
|
6
|
+
before do
|
7
|
+
allow(view).to receive(:signed_in?).and_return(true)
|
8
|
+
allow(view).to receive(:current_user).and_return(stub_model(User, user_key: 'mjg'))
|
9
|
+
assign(:user, stub_model(User, user_key: 'cam156', created_at: join_date))
|
10
|
+
assign(:followers, [])
|
11
|
+
assign(:following, [])
|
12
|
+
assign(:trophies, [])
|
13
|
+
assign(:events, [])
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should draw 3 tabs" do
|
17
|
+
render
|
18
|
+
page = Capybara::Node::Simple.new(rendered)
|
19
|
+
expect(page).to have_selector("ul#myTab.nav.nav-tabs > li > a[href='#contributions']")
|
20
|
+
expect(page).to have_selector("ul#myTab.nav.nav-tabs > li > a[href='#profile']")
|
21
|
+
expect(page).to have_selector("ul#myTab.nav.nav-tabs > li > a[href='#activity_log']")
|
22
|
+
expect(page).to have_selector(".tab-content > div#contributions.tab-pane")
|
23
|
+
expect(page).to have_selector(".tab-content > div#profile.tab-pane")
|
24
|
+
expect(page).to have_selector(".tab-content > div#activity_log.tab-pane")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should have the vitals" do
|
28
|
+
render
|
29
|
+
rendered.should match /Joined on #{join_date.strftime("%b %d, %Y")}/
|
30
|
+
end
|
31
|
+
end
|
@@ -66,11 +66,11 @@ module Sufia::User
|
|
66
66
|
|
67
67
|
# The basic groups method, override or will fallback to Sufia::Ldap::User
|
68
68
|
def groups
|
69
|
-
|
69
|
+
@groups ||= self.group_list ? self.group_list.split(";?;") : []
|
70
70
|
end
|
71
71
|
|
72
72
|
def ability
|
73
|
-
@ability ||= Ability.new(self)
|
73
|
+
@ability ||= ::Ability.new(self)
|
74
74
|
end
|
75
75
|
|
76
76
|
module ClassMethods
|
@@ -45,7 +45,8 @@ This generator makes the following changes to your application:
|
|
45
45
|
"create_version_committers.rb",
|
46
46
|
"add_groups_to_users.rb",
|
47
47
|
"create_local_authorities.rb",
|
48
|
-
"create_trophies.rb"
|
48
|
+
"create_trophies.rb",
|
49
|
+
'add_linkedin_to_users.rb'
|
49
50
|
].each do |file|
|
50
51
|
better_migration_template file
|
51
52
|
end
|
@@ -32,7 +32,6 @@ module Sufia::GenericFile
|
|
32
32
|
end
|
33
33
|
|
34
34
|
generic_file.record_version_committer(user)
|
35
|
-
Sufia.queue.push(UnzipJob.new(generic_file.pid)) if generic_file.content.mimeType == 'application/zip'
|
36
35
|
if Sufia.config.respond_to?(:after_create_content)
|
37
36
|
Sufia.config.after_create_content.call(generic_file, user)
|
38
37
|
end
|
@@ -1,10 +1,9 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
version = File.read(File.expand_path("../../SUFIA_VERSION", __FILE__)).strip
|
3
3
|
|
4
|
-
|
5
4
|
Gem::Specification.new do |spec|
|
6
5
|
spec.name = "sufia-models"
|
7
|
-
spec.version = version
|
6
|
+
spec.version = version
|
8
7
|
spec.authors = [
|
9
8
|
"Jeremy Friesen",
|
10
9
|
]
|
@@ -27,11 +26,11 @@ Gem::Specification.new do |spec|
|
|
27
26
|
spec.add_development_dependency "bundler", "~> 1.3"
|
28
27
|
spec.add_development_dependency "rake"
|
29
28
|
|
30
|
-
spec.add_dependency 'rails', '
|
29
|
+
spec.add_dependency 'rails', '> 4.0.0', '< 5.0'
|
31
30
|
spec.add_dependency 'activeresource' # No longer a dependency of rails 4.0
|
32
31
|
|
33
32
|
# spec.add_dependency "hydra", "6.1.0.rc2"
|
34
|
-
# Since hydra 6.1 isn't out yet, we'll just build it so that it's compatible
|
33
|
+
# Since hydra 6.1 isn't out yet, we'll just build it so that it's compatible
|
35
34
|
# without an explicit dependency
|
36
35
|
spec.add_dependency "active-fedora", "~> 6.7.0"
|
37
36
|
spec.add_dependency "blacklight", "~> 4.5.0"
|
@@ -44,7 +43,6 @@ Gem::Specification.new do |spec|
|
|
44
43
|
spec.add_dependency 'mailboxer', '~> 0.11.0'
|
45
44
|
spec.add_dependency 'acts_as_follower', '>= 0.1.1', '< 0.3'
|
46
45
|
spec.add_dependency 'paperclip', '~> 3.4.0'
|
47
|
-
spec.add_dependency 'zipruby', '0.3.6'
|
48
46
|
spec.add_dependency 'hydra-derivatives', '~> 0.0.5'
|
49
47
|
spec.add_dependency 'activerecord-import'
|
50
48
|
end
|
data/tasks/sufia-dev.rake
CHANGED
@@ -29,16 +29,6 @@ RSpec::Core::RakeTask.new(:rspec) do |t|
|
|
29
29
|
t.rspec_opts = ["--colour -I ../", '--backtrace', '--profile 20']
|
30
30
|
end
|
31
31
|
|
32
|
-
desc "Load fixtures"
|
33
|
-
task :fixtures => :generate do# => ['sufia:fixtures:refresh'] do
|
34
|
-
#NOTE do we need fixtures:create, fixtures:generate
|
35
|
-
within_test_app do
|
36
|
-
puts "Loading fixtures "
|
37
|
-
ENV["RAILS_ENV"] = 'test'
|
38
|
-
puts `rake sufia:fixtures:refresh`
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
32
|
|
43
33
|
desc "Create the test rails app"
|
44
34
|
task :generate do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sufia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sufia-models
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: 3.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
26
|
+
version: 3.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: blacklight_advanced_search
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- Releasing_sufia.md
|
164
164
|
- SUFIA_VERSION
|
165
165
|
- UpgradeGuide.md
|
166
|
+
- app/assets/images/audio.png
|
166
167
|
- app/assets/images/blacklight/bg.png
|
167
168
|
- app/assets/images/blacklight/border.png
|
168
169
|
- app/assets/images/blacklight/bul_sq_gry.gif
|
@@ -266,7 +267,9 @@ files:
|
|
266
267
|
- app/helpers/batch_edits_helper.rb
|
267
268
|
- app/helpers/blacklight/render_constraints_helper_behavior.rb
|
268
269
|
- app/helpers/contact_form_helper.rb
|
270
|
+
- app/helpers/facets_helper.rb
|
269
271
|
- app/helpers/generic_file_helper.rb
|
272
|
+
- app/helpers/sufia/facets_helper_behavior.rb
|
270
273
|
- app/helpers/sufia_helper.rb
|
271
274
|
- app/helpers/trophy_helper.rb
|
272
275
|
- app/jobs/content_delete_event_job.rb
|
@@ -412,7 +415,6 @@ files:
|
|
412
415
|
- app/views/generic_files/edit_fields/_resource_type.html.erb
|
413
416
|
- app/views/generic_files/edit_fields/_rights.html.erb
|
414
417
|
- app/views/generic_files/edit_fields/_suffix.html.erb
|
415
|
-
- app/views/generic_files/edit_fields/_type.html.erb
|
416
418
|
- app/views/generic_files/new.html.erb
|
417
419
|
- app/views/generic_files/show.html.erb
|
418
420
|
- app/views/generic_files/show_fields/_default.html.erb
|
@@ -447,12 +449,22 @@ files:
|
|
447
449
|
- app/views/static/subject_libraries.html.erb
|
448
450
|
- app/views/static/terms.html.erb
|
449
451
|
- app/views/static/zotero.html.erb
|
452
|
+
- app/views/users/_activity.html.erb
|
450
453
|
- app/views/users/_activity_log.html.erb
|
454
|
+
- app/views/users/_contributions.html.erb
|
455
|
+
- app/views/users/_follower_modal.html.erb
|
456
|
+
- app/views/users/_following_modal.html.erb
|
457
|
+
- app/views/users/_left_sidebar.html.erb
|
451
458
|
- app/views/users/_notify_link.html.erb
|
452
459
|
- app/views/users/_notify_number.html.erb
|
460
|
+
- app/views/users/_profile.html.erb
|
461
|
+
- app/views/users/_profile_actions.html.erb
|
462
|
+
- app/views/users/_profile_tabs.html.erb
|
453
463
|
- app/views/users/_search_form.html.erb
|
464
|
+
- app/views/users/_social_media_info.html.erb
|
454
465
|
- app/views/users/_trophy_edit.html.erb
|
455
466
|
- app/views/users/_user_info.html.erb
|
467
|
+
- app/views/users/_vitals.html.erb
|
456
468
|
- app/views/users/edit.html.erb
|
457
469
|
- app/views/users/index.html.erb
|
458
470
|
- app/views/users/notifications_number.js.erb
|
@@ -480,7 +492,6 @@ files:
|
|
480
492
|
- lib/sufia/single_use_error.rb
|
481
493
|
- lib/sufia/version.rb
|
482
494
|
- lib/sufia/virus_found_error.rb
|
483
|
-
- lib/tasks/fixtures.rake
|
484
495
|
- public/.gitkeep
|
485
496
|
- public/favicon.ico
|
486
497
|
- solr_conf/conf/schema.xml
|
@@ -501,13 +512,15 @@ files:
|
|
501
512
|
- spec/controllers/single_use_links_viewer_controller_spec.rb
|
502
513
|
- spec/controllers/users_controller_spec.rb
|
503
514
|
- spec/factories/checksum_audit_logs.rb
|
515
|
+
- spec/factories/generic_files.rb
|
504
516
|
- spec/factories/single_use_links.rb
|
505
517
|
- spec/factories/users.rb
|
506
|
-
- spec/features/
|
507
|
-
- spec/features/
|
508
|
-
- spec/features/
|
509
|
-
- spec/features/
|
510
|
-
- spec/features/
|
518
|
+
- spec/features/browse_dashboard_files_spec.rb
|
519
|
+
- spec/features/browse_files_spec.rb
|
520
|
+
- spec/features/contact_form_spec.rb
|
521
|
+
- spec/features/display_dashboard_spec.rb
|
522
|
+
- spec/features/ingest_upload_files_spec.rb
|
523
|
+
- spec/features/notifications_spec.rb
|
511
524
|
- spec/features/single_use_links_spec.rb
|
512
525
|
- spec/features/users_spec.rb
|
513
526
|
- spec/fixtures/4-20.png
|
@@ -516,8 +529,6 @@ files:
|
|
516
529
|
- spec/fixtures/countdown.avi
|
517
530
|
- spec/fixtures/docx_fits.xml
|
518
531
|
- spec/fixtures/dublin_core_rdf_descMetadata.nt
|
519
|
-
- spec/fixtures/empty_file.txt
|
520
|
-
- spec/fixtures/fits_datastream.xml
|
521
532
|
- spec/fixtures/genreForms.nt
|
522
533
|
- spec/fixtures/icons.zip
|
523
534
|
- spec/fixtures/image.jp2
|
@@ -532,29 +543,8 @@ files:
|
|
532
543
|
- spec/fixtures/sample_mpeg4.mp4
|
533
544
|
- spec/fixtures/small_file.txt
|
534
545
|
- spec/fixtures/sufia/.gitignore
|
535
|
-
- spec/fixtures/sufia/bg_header.jpg
|
536
|
-
- spec/fixtures/sufia/sufia_test1.descMeta.txt
|
537
|
-
- spec/fixtures/sufia/sufia_test1.foxml.erb
|
538
|
-
- spec/fixtures/sufia/sufia_test1.txt
|
539
|
-
- spec/fixtures/sufia/sufia_test2.descMeta.txt
|
540
|
-
- spec/fixtures/sufia/sufia_test2.docx
|
541
|
-
- spec/fixtures/sufia/sufia_test2.foxml.erb
|
542
|
-
- spec/fixtures/sufia/sufia_test3.descMeta.txt
|
543
|
-
- spec/fixtures/sufia/sufia_test3.foxml.erb
|
544
|
-
- spec/fixtures/sufia/sufia_test3.xls
|
545
|
-
- spec/fixtures/sufia/sufia_test4.descMeta.txt
|
546
|
-
- spec/fixtures/sufia/sufia_test4.foxml.erb
|
547
546
|
- spec/fixtures/sufia/sufia_test4.pdf
|
548
|
-
- spec/fixtures/sufia/sufia_test5.descMeta.txt
|
549
|
-
- spec/fixtures/sufia/sufia_test5.foxml.erb
|
550
547
|
- spec/fixtures/sufia/sufia_test5.mp3
|
551
|
-
- spec/fixtures/sufia/sufia_test5.txt
|
552
|
-
- spec/fixtures/sufia/sufia_test6.descMeta.txt
|
553
|
-
- spec/fixtures/sufia/sufia_test6.foxml.erb
|
554
|
-
- spec/fixtures/sufia/sufia_test6.jp2
|
555
|
-
- spec/fixtures/sufia/sufia_test6.txt
|
556
|
-
- spec/fixtures/sufia_generic_stub.descMeta.txt
|
557
|
-
- spec/fixtures/sufia_generic_stub.foxml.erb
|
558
548
|
- spec/fixtures/sufia_generic_stub.txt
|
559
549
|
- spec/fixtures/txt_fits.xml
|
560
550
|
- spec/fixtures/world.png
|
@@ -586,17 +576,20 @@ files:
|
|
586
576
|
- spec/models/transcode_audio_job_spec.rb
|
587
577
|
- spec/models/transcode_video_job_spec.rb
|
588
578
|
- spec/models/trophy_spec.rb
|
589
|
-
- spec/models/unzip_job_spec.rb
|
590
579
|
- spec/models/user_spec.rb
|
591
|
-
- spec/rake/sufia_fixtures_spec.rb
|
592
580
|
- spec/routing/route_spec.rb
|
593
581
|
- spec/spec_helper.rb
|
594
582
|
- spec/support/features.rb
|
595
583
|
- spec/support/features/session_helpers.rb
|
596
584
|
- spec/support/fedora_conf/fedora.fcfg
|
585
|
+
- spec/support/fixture_helpers.rb
|
597
586
|
- spec/support/lib/generators/test_app_generator.rb
|
598
587
|
- spec/support/uploaded_file_monkeypatch.rb
|
599
588
|
- spec/views/batch_edits/check_all_spec.rb
|
589
|
+
- spec/views/dashboard/facet_limit.html.erb_spec.rb
|
590
|
+
- spec/views/dashboard/index_partials/_thumbnail_display.html.erb_spec.rb
|
591
|
+
- spec/views/generic_file/edit.html.erb_spec.rb
|
592
|
+
- spec/views/users/show.html.erb_spec.rb
|
600
593
|
- sufia-models/.gitignore
|
601
594
|
- sufia-models/Gemfile
|
602
595
|
- sufia-models/LICENSE.md
|
@@ -636,6 +629,7 @@ files:
|
|
636
629
|
- sufia-models/lib/generators/sufia/models/templates/migrations/add_avatars_to_users.rb
|
637
630
|
- sufia-models/lib/generators/sufia/models/templates/migrations/add_groups_to_users.rb
|
638
631
|
- sufia-models/lib/generators/sufia/models/templates/migrations/add_ldap_attrs_to_user.rb
|
632
|
+
- sufia-models/lib/generators/sufia/models/templates/migrations/add_linkedin_to_users.rb
|
639
633
|
- sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
|
640
634
|
- sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
|
641
635
|
- sufia-models/lib/generators/sufia/models/templates/migrations/create_local_authorities.rb
|
@@ -674,7 +668,6 @@ files:
|
|
674
668
|
- sufia-models/lib/sufia/models/jobs/resolrize_job.rb
|
675
669
|
- sufia-models/lib/sufia/models/jobs/transcode_audio_job.rb
|
676
670
|
- sufia-models/lib/sufia/models/jobs/transcode_video_job.rb
|
677
|
-
- sufia-models/lib/sufia/models/jobs/unzip_job.rb
|
678
671
|
- sufia-models/lib/sufia/models/model_methods.rb
|
679
672
|
- sufia-models/lib/sufia/models/noid.rb
|
680
673
|
- sufia-models/lib/sufia/models/resque.rb
|
@@ -690,7 +683,6 @@ files:
|
|
690
683
|
- tasks/release.rake
|
691
684
|
- tasks/sufia-db.rake
|
692
685
|
- tasks/sufia-dev.rake
|
693
|
-
- tasks/sufia-fixtures.rake
|
694
686
|
- tasks/sufia.rake
|
695
687
|
- vendor/assets/fonts/Lato-Light.eot
|
696
688
|
- vendor/assets/fonts/Lato-Light.ttf
|
@@ -740,7 +732,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
740
732
|
version: '0'
|
741
733
|
requirements: []
|
742
734
|
rubyforge_project:
|
743
|
-
rubygems_version: 2.
|
735
|
+
rubygems_version: 2.1.11
|
744
736
|
signing_key:
|
745
737
|
specification_version: 4
|
746
738
|
summary: Sufia was extracted from ScholarSphere developed by Penn State University
|
@@ -760,13 +752,15 @@ test_files:
|
|
760
752
|
- spec/controllers/single_use_links_viewer_controller_spec.rb
|
761
753
|
- spec/controllers/users_controller_spec.rb
|
762
754
|
- spec/factories/checksum_audit_logs.rb
|
755
|
+
- spec/factories/generic_files.rb
|
763
756
|
- spec/factories/single_use_links.rb
|
764
757
|
- spec/factories/users.rb
|
765
|
-
- spec/features/
|
766
|
-
- spec/features/
|
767
|
-
- spec/features/
|
768
|
-
- spec/features/
|
769
|
-
- spec/features/
|
758
|
+
- spec/features/browse_dashboard_files_spec.rb
|
759
|
+
- spec/features/browse_files_spec.rb
|
760
|
+
- spec/features/contact_form_spec.rb
|
761
|
+
- spec/features/display_dashboard_spec.rb
|
762
|
+
- spec/features/ingest_upload_files_spec.rb
|
763
|
+
- spec/features/notifications_spec.rb
|
770
764
|
- spec/features/single_use_links_spec.rb
|
771
765
|
- spec/features/users_spec.rb
|
772
766
|
- spec/fixtures/4-20.png
|
@@ -775,8 +769,6 @@ test_files:
|
|
775
769
|
- spec/fixtures/countdown.avi
|
776
770
|
- spec/fixtures/docx_fits.xml
|
777
771
|
- spec/fixtures/dublin_core_rdf_descMetadata.nt
|
778
|
-
- spec/fixtures/empty_file.txt
|
779
|
-
- spec/fixtures/fits_datastream.xml
|
780
772
|
- spec/fixtures/genreForms.nt
|
781
773
|
- spec/fixtures/icons.zip
|
782
774
|
- spec/fixtures/image.jp2
|
@@ -791,29 +783,8 @@ test_files:
|
|
791
783
|
- spec/fixtures/sample_mpeg4.mp4
|
792
784
|
- spec/fixtures/small_file.txt
|
793
785
|
- spec/fixtures/sufia/.gitignore
|
794
|
-
- spec/fixtures/sufia/bg_header.jpg
|
795
|
-
- spec/fixtures/sufia/sufia_test1.descMeta.txt
|
796
|
-
- spec/fixtures/sufia/sufia_test1.foxml.erb
|
797
|
-
- spec/fixtures/sufia/sufia_test1.txt
|
798
|
-
- spec/fixtures/sufia/sufia_test2.descMeta.txt
|
799
|
-
- spec/fixtures/sufia/sufia_test2.docx
|
800
|
-
- spec/fixtures/sufia/sufia_test2.foxml.erb
|
801
|
-
- spec/fixtures/sufia/sufia_test3.descMeta.txt
|
802
|
-
- spec/fixtures/sufia/sufia_test3.foxml.erb
|
803
|
-
- spec/fixtures/sufia/sufia_test3.xls
|
804
|
-
- spec/fixtures/sufia/sufia_test4.descMeta.txt
|
805
|
-
- spec/fixtures/sufia/sufia_test4.foxml.erb
|
806
786
|
- spec/fixtures/sufia/sufia_test4.pdf
|
807
|
-
- spec/fixtures/sufia/sufia_test5.descMeta.txt
|
808
|
-
- spec/fixtures/sufia/sufia_test5.foxml.erb
|
809
787
|
- spec/fixtures/sufia/sufia_test5.mp3
|
810
|
-
- spec/fixtures/sufia/sufia_test5.txt
|
811
|
-
- spec/fixtures/sufia/sufia_test6.descMeta.txt
|
812
|
-
- spec/fixtures/sufia/sufia_test6.foxml.erb
|
813
|
-
- spec/fixtures/sufia/sufia_test6.jp2
|
814
|
-
- spec/fixtures/sufia/sufia_test6.txt
|
815
|
-
- spec/fixtures/sufia_generic_stub.descMeta.txt
|
816
|
-
- spec/fixtures/sufia_generic_stub.foxml.erb
|
817
788
|
- spec/fixtures/sufia_generic_stub.txt
|
818
789
|
- spec/fixtures/txt_fits.xml
|
819
790
|
- spec/fixtures/world.png
|
@@ -845,15 +816,18 @@ test_files:
|
|
845
816
|
- spec/models/transcode_audio_job_spec.rb
|
846
817
|
- spec/models/transcode_video_job_spec.rb
|
847
818
|
- spec/models/trophy_spec.rb
|
848
|
-
- spec/models/unzip_job_spec.rb
|
849
819
|
- spec/models/user_spec.rb
|
850
|
-
- spec/rake/sufia_fixtures_spec.rb
|
851
820
|
- spec/routing/route_spec.rb
|
852
821
|
- spec/spec_helper.rb
|
853
822
|
- spec/support/features.rb
|
854
823
|
- spec/support/features/session_helpers.rb
|
855
824
|
- spec/support/fedora_conf/fedora.fcfg
|
825
|
+
- spec/support/fixture_helpers.rb
|
856
826
|
- spec/support/lib/generators/test_app_generator.rb
|
857
827
|
- spec/support/uploaded_file_monkeypatch.rb
|
858
828
|
- spec/views/batch_edits/check_all_spec.rb
|
829
|
+
- spec/views/dashboard/facet_limit.html.erb_spec.rb
|
830
|
+
- spec/views/dashboard/index_partials/_thumbnail_display.html.erb_spec.rb
|
831
|
+
- spec/views/generic_file/edit.html.erb_spec.rb
|
832
|
+
- spec/views/users/show.html.erb_spec.rb
|
859
833
|
has_rdoc:
|