sufia 0.0.1.pre2 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. data/Gemfile +2 -5
  2. data/README.md +44 -12
  3. data/app/assets/javascripts/{scholarsphere.js → sufia.js} +0 -0
  4. data/app/assets/stylesheets/{scholarsphere.css → sufia.css} +0 -0
  5. data/app/controllers/batch_controller.rb +2 -3
  6. data/app/controllers/batch_edits_controller.rb +4 -4
  7. data/app/controllers/dashboard_controller.rb +5 -3
  8. data/app/controllers/generic_files_controller.rb +77 -41
  9. data/app/controllers/users_controller.rb +9 -21
  10. data/app/helpers/blacklight/render_constraints_helper_behavior.rb +2 -2
  11. data/app/helpers/sufia_helper.rb +23 -2
  12. data/app/models/datastreams/file_content_datastream.rb +17 -9
  13. data/app/models/generic_file.rb +1 -809
  14. data/app/views/_add_assets_links.html.erb +1 -1
  15. data/app/views/_user_util_links.html.erb +2 -2
  16. data/app/views/batch/_metadata.html.erb +16 -16
  17. data/app/views/batch/edit.html.erb +16 -10
  18. data/app/views/batch_edits/_metadata.html.erb +16 -16
  19. data/app/views/catalog/_index_partials/_list_files.html.erb +2 -2
  20. data/app/views/catalog/index.html.erb +5 -0
  21. data/app/views/dashboard/_facet_limit.html.erb +1 -1
  22. data/app/views/dashboard/_facet_pagination.html.erb +4 -4
  23. data/app/views/dashboard/_facet_selected.html.erb +1 -1
  24. data/app/views/dashboard/_index_partials/_list_files.html.erb +8 -8
  25. data/app/views/dashboard/_search_form.html.erb +1 -1
  26. data/app/views/dashboard/_sort_and_per_page.html.erb +1 -1
  27. data/app/views/dashboard/index.html.erb +0 -1
  28. data/app/views/generic_files/_breadcrumbs.html.erb +1 -1
  29. data/app/views/generic_files/_descriptions.html.erb +3 -3
  30. data/app/views/generic_files/_field_form +3 -3
  31. data/app/views/generic_files/_media_display.html.erb +5 -4
  32. data/app/views/generic_files/_permission.html.erb +5 -5
  33. data/app/views/generic_files/_versioning.html.erb +1 -1
  34. data/app/views/generic_files/edit.html.erb +2 -2
  35. data/app/views/generic_files/show.html.erb +3 -3
  36. data/app/views/static/versions.html.erb +1 -1
  37. data/app/views/users/edit.html.erb +5 -3
  38. data/app/views/users/index.html.erb +3 -3
  39. data/app/views/users/show.html.erb +6 -6
  40. data/config/jetty.yml +6 -0
  41. data/config/routes.rb +8 -4
  42. data/features/browse_dashboard_files.feature +11 -1
  43. data/features/browse_files.feature +6 -5
  44. data/features/contact_form.feature +4 -0
  45. data/features/display_dashboard.feature +6 -3
  46. data/features/ingest_upload_files.feature +2 -2
  47. data/features/step_definitions/fixture_steps.rb +6 -5
  48. data/features/step_definitions/scholarsphere.rb +24 -1
  49. data/features/step_definitions/user_steps.rb +2 -2
  50. data/features/step_definitions/web_steps.rb +1 -1
  51. data/features/support/env.rb +26 -0
  52. data/features/users.feature +18 -0
  53. data/lib/active_support/core_ext/marshal.rb +22 -0
  54. data/lib/generators/sufia/sufia_generator.rb +18 -2
  55. data/lib/generators/sufia/templates/catalog_controller.rb +3 -4
  56. data/{spec/support → lib/generators/sufia/templates}/config/redis.yml +0 -0
  57. data/lib/generators/sufia/templates/config/sufia.rb +68 -0
  58. data/lib/generators/sufia/templates/migrations/add_ldap_attrs_to_user.rb +41 -0
  59. data/lib/kaminari/helpers/tag.rb +11 -0
  60. data/lib/sufia.rb +30 -7
  61. data/lib/sufia/controller.rb +1 -5
  62. data/lib/sufia/generic_file.rb +200 -0
  63. data/lib/sufia/generic_file/audit.rb +119 -0
  64. data/lib/sufia/generic_file/characterization.rb +82 -0
  65. data/lib/sufia/generic_file/export.rb +339 -0
  66. data/lib/sufia/generic_file/permissions.rb +64 -0
  67. data/lib/sufia/generic_file/thumbnail.rb +68 -0
  68. data/{app/models → lib/sufia/jobs}/audit_job.rb +13 -3
  69. data/lib/sufia/jobs/batch_update_job.rb +86 -0
  70. data/lib/sufia/jobs/characterize_job.rb +35 -0
  71. data/{app/models → lib/sufia/jobs}/content_delete_event_job.rb +3 -1
  72. data/{app/models → lib/sufia/jobs}/content_deposit_event_job.rb +1 -1
  73. data/{app/models → lib/sufia/jobs}/content_new_version_event_job.rb +1 -1
  74. data/{app/models → lib/sufia/jobs}/content_restored_version_event_job.rb +8 -0
  75. data/{app/models → lib/sufia/jobs}/content_update_event_job.rb +1 -1
  76. data/{app/models → lib/sufia/jobs}/event_job.rb +7 -3
  77. data/{app/models → lib/sufia/jobs}/resolrize_job.rb +4 -2
  78. data/lib/sufia/jobs/transcode_video_job.rb +79 -0
  79. data/{app/models → lib/sufia/jobs}/unzip_job.rb +11 -3
  80. data/{app/models → lib/sufia/jobs}/user_edit_profile_event_job.rb +6 -0
  81. data/{app/models → lib/sufia/jobs}/user_follow_event_job.rb +9 -4
  82. data/{app/models → lib/sufia/jobs}/user_unfollow_event_job.rb +6 -0
  83. data/lib/sufia/queue/resque.rb +30 -0
  84. data/lib/sufia/role_mapper.rb +0 -1
  85. data/{app/models/characterize_job.rb → lib/sufia/solr_document_behavior.rb} +6 -7
  86. data/lib/sufia/user.rb +3 -3
  87. data/lib/sufia/version.rb +1 -1
  88. data/lib/tasks/fixtures.rake +38 -38
  89. data/lib/tasks/resque.rake +1 -0
  90. data/solr_conf/conf/solrconfig.xml +32 -1615
  91. data/solr_conf/solr.xml +1 -1
  92. data/spec/active_fedora/unsaved_digital_object_spec.rb +4 -4
  93. data/spec/config/host_to_vhost_spec.rb +4 -4
  94. data/spec/controllers/authorities_controller_spec.rb +1 -1
  95. data/spec/controllers/batch_controller_spec.rb +12 -10
  96. data/spec/controllers/catalog_controller_spec.rb +13 -13
  97. data/spec/controllers/dashboard_controller_spec.rb +15 -15
  98. data/spec/controllers/downloads_controller_spec.rb +14 -14
  99. data/spec/controllers/generic_files_controller_spec.rb +88 -46
  100. data/spec/controllers/mailbox_controller_spec.rb +2 -2
  101. data/spec/controllers/sessions_controller_spec.rb +1 -1
  102. data/spec/controllers/single_use_link_controller_spec.rb +18 -18
  103. data/spec/controllers/users_controller_spec.rb +47 -31
  104. data/spec/fixtures/countdown.avi +0 -0
  105. data/spec/fixtures/sufia/.gitignore +1 -0
  106. data/spec/fixtures/{scholarsphere → sufia}/bg_header.jpg +0 -0
  107. data/spec/fixtures/sufia/sufia_test1.descMeta.txt +12 -0
  108. data/spec/fixtures/{scholarsphere → sufia}/sufia_test1.foxml.erb +2 -2
  109. data/spec/fixtures/{scholarsphere/scholarsphere_test1.txt → sufia/sufia_test1.txt} +0 -0
  110. data/spec/fixtures/sufia/sufia_test2.descMeta.txt +12 -0
  111. data/spec/fixtures/{scholarsphere/scholarsphere_test2.docx → sufia/sufia_test2.docx} +0 -0
  112. data/spec/fixtures/{scholarsphere/scholarsphere_test2.foxml.erb → sufia/sufia_test2.foxml.erb} +6 -6
  113. data/spec/fixtures/sufia/sufia_test3.descMeta.txt +12 -0
  114. data/spec/fixtures/{scholarsphere/scholarsphere_test3.foxml.erb → sufia/sufia_test3.foxml.erb} +6 -6
  115. data/spec/fixtures/{scholarsphere/scholarsphere_test3.xls → sufia/sufia_test3.xls} +0 -0
  116. data/spec/fixtures/sufia/sufia_test4.descMeta.txt +12 -0
  117. data/spec/fixtures/{scholarsphere/scholarsphere_test4.foxml.erb → sufia/sufia_test4.foxml.erb} +6 -6
  118. data/spec/fixtures/{scholarsphere/scholarsphere_test4.pdf → sufia/sufia_test4.pdf} +0 -0
  119. data/spec/fixtures/sufia/sufia_test5.descMeta.txt +19 -0
  120. data/spec/fixtures/{scholarsphere → sufia}/sufia_test5.foxml.erb +3 -3
  121. data/spec/fixtures/{scholarsphere/scholarsphere_test5.mp3 → sufia/sufia_test5.mp3} +0 -0
  122. data/spec/fixtures/sufia/sufia_test5.txt +1 -0
  123. data/spec/fixtures/sufia/sufia_test6.descMeta.txt +12 -0
  124. data/spec/fixtures/{scholarsphere/scholarsphere_test6.foxml.erb → sufia/sufia_test6.foxml.erb} +6 -6
  125. data/spec/fixtures/{scholarsphere/scholarsphere_test6.jp2 → sufia/sufia_test6.jp2} +0 -0
  126. data/spec/fixtures/sufia/sufia_test6.txt +1 -0
  127. data/spec/fixtures/sufia_generic_stub.descMeta.txt +12 -0
  128. data/spec/fixtures/{scholarsphere_generic_stub.foxml.erb → sufia_generic_stub.foxml.erb} +3 -3
  129. data/spec/fixtures/sufia_generic_stub.txt +1 -0
  130. data/spec/lib/sufia/role_mapper_spec.rb +1 -1
  131. data/spec/models/audit_job_spec.rb +8 -11
  132. data/spec/models/batch_spec.rb +5 -5
  133. data/spec/models/batch_update_job_spec.rb +18 -15
  134. data/spec/models/checksum_audit_log_spec.rb +6 -19
  135. data/spec/models/event_jobs_spec.rb +23 -23
  136. data/spec/models/file_content_datastream_spec.rb +14 -14
  137. data/spec/models/fits_datastream_spec.rb +1 -1
  138. data/spec/models/generic_file_spec.rb +88 -41
  139. data/spec/models/single_use_link_spec.rb +3 -3
  140. data/spec/models/transcode_video_job_spec.rb +30 -0
  141. data/spec/models/unzip_job_spec.rb +6 -4
  142. data/spec/rake/{scholarsphere_fixtures_spec.rb → sufia_fixtures_spec.rb} +16 -16
  143. data/spec/routing/route_spec.rb +4 -8
  144. data/spec/spec_helper.rb +0 -7
  145. data/spec/support/Gemfile +4 -2
  146. data/spec/support/fedora_conf/fedora.fcfg +953 -0
  147. data/spec/support/lib/generators/test_app_generator.rb +1 -11
  148. data/sufia.gemspec +5 -3
  149. data/tasks/{scholarsphere-db.rake → sufia-db.rake} +1 -1
  150. data/tasks/{scholarsphere-dev.rake → sufia-dev.rake} +7 -3
  151. data/tasks/{scholarsphere-fixtures.rake → sufia-fixtures.rake} +43 -43
  152. data/tasks/{scholarsphere.rake → sufia.rake} +2 -2
  153. metadata +126 -95
  154. data/app/models/batch_update_job.rb +0 -82
  155. data/app/models/solr_document.rb +0 -50
  156. data/lib/sufia/permissions.rb +0 -43
  157. data/spec/fixtures/scholarsphere/scholarsphere_test1.descMeta.txt +0 -12
  158. data/spec/fixtures/scholarsphere/scholarsphere_test2.descMeta.txt +0 -12
  159. data/spec/fixtures/scholarsphere/scholarsphere_test3.descMeta.txt +0 -12
  160. data/spec/fixtures/scholarsphere/scholarsphere_test4.descMeta.txt +0 -12
  161. data/spec/fixtures/scholarsphere/scholarsphere_test5.descMeta.txt +0 -19
  162. data/spec/fixtures/scholarsphere/scholarsphere_test5.txt +0 -1
  163. data/spec/fixtures/scholarsphere/scholarsphere_test6.descMeta.txt +0 -12
  164. data/spec/fixtures/scholarsphere/scholarsphere_test6.txt +0 -1
  165. data/spec/fixtures/scholarsphere/sufia_scholarsphere1.descMeta.txt +0 -12
  166. data/spec/fixtures/scholarsphere/sufia_scholarsphere1.foxml.erb +0 -79
  167. data/spec/fixtures/scholarsphere/sufia_scholarsphere1.txt +0 -1
  168. data/spec/fixtures/scholarsphere_generic_stub.descMeta.txt +0 -12
  169. data/spec/fixtures/scholarsphere_generic_stub.txt +0 -1
@@ -15,16 +15,6 @@ class TestAppGenerator < Rails::Generators::Base
15
15
  generate 'hydra:head', '-f'
16
16
  end
17
17
 
18
- def run_hydra_head_generator
19
- say_status("warning", "GENERATING HH", :yellow)
20
-
21
- generate 'hydra:head', '-f'
22
- end
23
-
24
- def install_redis_config
25
- copy_file "config/redis.yml"
26
- end
27
-
28
18
  def run_sufia_generator
29
19
  say_status("warning", "GENERATING SUFIA", :yellow)
30
20
 
@@ -36,5 +26,5 @@ class TestAppGenerator < Rails::Generators::Base
36
26
  def remove_index_page
37
27
  remove_file 'public/index.html'
38
28
  end
39
-
29
+
40
30
  end
data/sufia.gemspec CHANGED
@@ -16,15 +16,17 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Sufia::VERSION
17
17
 
18
18
  gem.add_dependency 'rails', '~> 3.2.8'
19
- gem.add_dependency 'blacklight'#, '~> 4.0.0.pre4'
19
+ gem.add_dependency 'blacklight', '~> 4.0.0'
20
20
  gem.add_dependency 'blacklight_advanced_search'
21
- gem.add_dependency 'hydra-head', '5.0.0.pre11'
21
+ gem.add_dependency "hydra-head", "~> 5.0.0"
22
+ gem.add_dependency "active-fedora", "~> 5.0.0"
23
+
22
24
  #TODO remove
23
25
  gem.add_dependency 'noid', '0.5.5'
24
26
  gem.add_dependency 'hydra-batch-edit', '~> 0.0.7'
25
27
 
26
28
  # Other components
27
- gem.add_dependency 'resque', '1.22.0'#, :require => 'resque/server'
29
+ gem.add_dependency 'resque', '1.23.0'#, :require => 'resque/server'
28
30
  gem.add_dependency 'resque-pool', '0.3.0'
29
31
  # NOTE: the :require arg is necessary on Linux-based hosts
30
32
  gem.add_dependency 'rmagick', '2.13.1'#, :require => 'RMagick'
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- namespace :scholarsphere do
15
+ namespace :sufia do
16
16
  namespace :db do
17
17
  desc "delete all Generic Files in Fedora and Solr (This may take some time...)."
18
18
  task :deleteAll => :environment do
@@ -14,12 +14,12 @@ RSpec::Core::RakeTask.new(:spec => [:generate]) do |t|
14
14
  end
15
15
 
16
16
  desc "Load scholarsphere fixtures"
17
- task :fixtures do# => ['scholarsphere:fixtures:refresh'] do
17
+ task :fixtures => :generate do# => ['sufia:fixtures:refresh'] do
18
18
  #NOTE do we need fixtures:create, fixtures:generate
19
19
  within_test_app do
20
20
  puts "Loading fixtures "
21
21
  ENV["RAILS_ENV"] = 'test'
22
- puts `rake scholarsphere:fixtures:refresh`
22
+ puts `rake sufia:fixtures:refresh`
23
23
  end
24
24
  end
25
25
 
@@ -60,4 +60,8 @@ def within_test_app
60
60
  FileUtils.cd('../..')
61
61
  end
62
62
 
63
-
63
+ namespace :meme do
64
+ desc "configure jetty to generate checksums"
65
+ task :config do
66
+ end
67
+ end
@@ -12,83 +12,83 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- # scholarsphere-fixtures
15
+ # sufia-fixtures
16
16
  #
17
17
  # This was extracted from the original Hydra version in
18
- # ~/rvm/gems/<rails version>@scholarsphere/bundler/gems/lib/railties
18
+ # ~/rvm/gems/<rails version>@sufia/bundler/gems/lib/railties
19
19
  # It has been changed to read all files out of a directory and pass those as fixtures.
20
20
  # Any _ in the file name will be modified to a : for the id, since colons are not valid in a file name.
21
- # The files should be named id_[fixture id] which should relates to the id within the foxml scholarsphere:[fixture id] where
21
+ # The files should be named id_[fixture id] which should relates to the id within the foxml sufia:[fixture id] where
22
22
  # [fixture id] is some alpha numeric id ('test1')
23
23
  #
24
- # There are 2 sets of data needed to attach to a ScholarSphere fixture, 1 the data file, and 2 the metadata.
24
+ # There are 2 sets of data needed to attach to a sufia fixture, 1 the data file, and 2 the metadata.
25
25
  # It is important that the meta-data contains the appropriate id, or solor will not index it!
26
26
  #
27
- # Usage: rake scholarsphere:fixtures:create [DIR=<fixture dir>] [FIXTURE_ID=<fixture id>] [FIXTURE_TITLE=<fixture title>] [FIXTURE_USER=<fixture user>]
27
+ # Usage: rake sufia:fixtures:create [DIR=<fixture dir>] [FIXTURE_ID=<fixture id>] [FIXTURE_TITLE=<fixture title>] [FIXTURE_USER=<fixture user>]
28
28
  # <fixture dir> is an optional directory under spec/fixtures to find the fixtures to load
29
- # DEFAULT: scholarsphere
29
+ # DEFAULT: sufia
30
30
  # <fixture id> is the id given to this fixture with fedora and solr.
31
31
  # This must be unique and any old files will be overwritten.
32
- # DEFAULT: scholarsphere1
32
+ # DEFAULT: sufia1
33
33
  # <fixture title> is the title given to the fixture in fedora and solor,
34
34
  # along with being put in the description and subject by default.
35
- # DEFAULT: scholarsphere test
35
+ # DEFAULT: sufia test
36
36
  # <fixture user> is the user given to the fixture in fedora and solor,
37
37
  # along with being put in the contributor and rights.
38
38
  # DEFAULT: archivist1
39
39
  #
40
40
  #
41
- # Creates new fixture files including the erb, descMeta, and text for loading into ScholarSphere.
42
- # The Files are named based on the scholarsphere: id_<fixture id>.foxml.erb, id_<fixture id>.descMeta.txt, and id_<fixture id>.txt
41
+ # Creates new fixture files including the erb, descMeta, and text for loading into sufia.
42
+ # The Files are named based on the sufia: id_<fixture id>.foxml.erb, id_<fixture id>.descMeta.txt, and id_<fixture id>.txt
43
43
  # The foxml.erb file references the descMeta.txt and .txt file. You can edit the erb to point to other data and/or edit the
44
44
  # .descMeta.txt and/or .txt file to contain the data you wish.
45
45
  #
46
46
  # *** Please note that the id must be changed in the file name, foxml.erb, and descMeta.txt if you change it after creation. ***
47
47
  #
48
- # rake scholarsphere:fixtures:generate [DIR=<fixture dir>]
48
+ # rake sufia:fixtures:generate [DIR=<fixture dir>]
49
49
  # <fixture dir> is an optional directory under spec/fixtures to find the fixtures to load
50
- # DEFAULT: scholarsphere
50
+ # DEFAULT: sufia
51
51
  #
52
52
  # Creates foxml.xml files from the foxml.erb files doing any erb substitutions within the erb file.
53
53
  # This task is mostly used to put the appropriate Rails.root into the foxml.xml file so that
54
54
  # the data and meta-data files can be located on load.
55
55
  #
56
- # rake scholarsphere:fixtures:delete [DIR=<fixture dir>]
56
+ # rake sufia:fixtures:delete [DIR=<fixture dir>]
57
57
  # <fixture dir> is an optional directory under spec/fixtures to find the fixtures to load
58
- # DEFAULT: scholarsphere
58
+ # DEFAULT: sufia
59
59
  #
60
60
  # Remove any fixtures defined by .xml.foxml files in Rais.root/spec/fixtures/<fixture dir> from fedora and solr.
61
61
  #
62
- # rake scholarsphere:fixtures:load [DIR=<fixture dir>]
62
+ # rake sufia:fixtures:load [DIR=<fixture dir>]
63
63
  # <fixture dir> is an optional directory under spec/fixtures to find the fixtures to load
64
- # DEFAULT: scholarsphere
64
+ # DEFAULT: sufia
65
65
  #
66
66
  # load any fixtures defined by .xml.foxml files in Rais.root/spec/fixtures/<fixture dir> into fedora and solr.
67
67
  #
68
- # rake scholarsphere:fixtures:refresh [DIR=<fixture dir>]
68
+ # rake sufia:fixtures:refresh [DIR=<fixture dir>]
69
69
  # <fixture dir> is an optional directory under spec/fixtures to find the fixtures to load
70
- # DEFAULT: scholarsphere
70
+ # DEFAULT: sufia
71
71
  #
72
72
  # delete then load any fixtures defined by .xml.foxml files in Rais.root/spec/fixtures/<fixture dir> into fedora and solr.
73
73
  #
74
74
  # Example meta-data:
75
75
  #
76
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/publisher> "archivist1" .
77
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/description> "MP3 Description" .
78
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/created> "04/12/2012" .
79
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/contributor> "archivist1" .
80
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/title> "MP3" .
81
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/relation> "test" .
82
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/subject> "MP3 Test" .
83
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/language> "En" .
84
- # <info:fedora/scholarsphere:[fixture id]> <http://xmlns.com/foaf/0.1/based_near> "State College" .
85
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/rights> "archivist1" .
86
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/creator> "archivist1" .
87
- # <info:fedora/scholarsphere:[fixture id]> <http://purl.org/dc/terms/identifier> "Test" .
76
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/publisher> "archivist1" .
77
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/description> "MP3 Description" .
78
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/created> "04/12/2012" .
79
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/contributor> "archivist1" .
80
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/title> "MP3" .
81
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/relation> "test" .
82
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/subject> "MP3 Test" .
83
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/language> "En" .
84
+ # <info:fedora/sufia:[fixture id]> <http://xmlns.com/foaf/0.1/based_near> "State College" .
85
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/rights> "archivist1" .
86
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/creator> "archivist1" .
87
+ # <info:fedora/sufia:[fixture id]> <http://purl.org/dc/terms/identifier> "Test" .
88
88
  #
89
89
  # Example foxml: (note the ID needs to be unique) (the binary data in the xml below was generated using base64 on the text)
90
90
  # <?xml version="1.0" encoding="UTF-8"?>
91
- # <foxml:digitalObject PID="scholarsphere:[fixture id]" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
91
+ # <foxml:digitalObject PID="sufia:[fixture id]" VERSION="1.1" xmlns:foxml="info:fedora/fedora-system:def/foxml#"
92
92
  # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
93
93
  # <foxml:objectProperties>
94
94
  # <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
@@ -103,7 +103,7 @@
103
103
  # xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
104
104
  # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
105
105
  # <dc:title>testFixture2.txt</dc:title>
106
- # <dc:identifier>scholarsphere:[fixture id]</dc:identifier>
106
+ # <dc:identifier>sufia:[fixture id]</dc:identifier>
107
107
  # </oai_dc:dc>
108
108
  # </foxml:xmlContent>
109
109
  # </foxml:datastreamVersion>
@@ -134,7 +134,7 @@
134
134
  # LABEL="Fedora Object-to-Object Relationship Metadata" MIMETYPE="application/rdf+xml" SIZE="286">
135
135
  # <foxml:xmlContent>
136
136
  # <rdf:RDF xmlns:ns0="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
137
- # <rdf:Description rdf:about="info:fedora/scholarsphere:[fixture id]">
137
+ # <rdf:Description rdf:about="info:fedora/sufia:[fixture id]">
138
138
  # <ns0:hasModel rdf:resource="info:fedora/afmodel:GenericFile"/>
139
139
  # </rdf:Description>
140
140
  # </rdf:RDF>
@@ -187,33 +187,33 @@
187
187
  require 'active_fedora'
188
188
 
189
189
  SUFIA_TEST_NS = 'sufia' #this must be the same as id_namespace in the test applications config
190
- namespace :scholarsphere do
190
+ namespace :sufia do
191
191
  namespace :fixtures do
192
192
  @localDir = File.expand_path("../../spec/fixtures", __FILE__)
193
- @dir = ENV["FIXTURE_DIR"] || 'scholarsphere'
193
+ @dir = ENV["FIXTURE_DIR"] || 'sufia'
194
194
 
195
- desc "Create ScholarSphere Hydra fixtures for generation and loading"
195
+ desc "Create sufia Hydra fixtures for generation and loading"
196
196
  task :create do
197
- @id = ENV["FIXTURE_ID"] ||'scholarsphere1'
198
- @title = ENV["FIXTURE_TITLE"] || 'scholarsphere test'
197
+ @id = ENV["FIXTURE_ID"] ||'sufia1'
198
+ @title = ENV["FIXTURE_TITLE"] || 'sufia test'
199
199
  @user = ENV["FIXTURE_USER"] || 'archivist1'
200
200
 
201
201
  @root ='<%=@localDir%>'
202
202
 
203
- @inputFoxmlFile = File.join(@localDir, 'scholarsphere_generic_stub.foxml.erb')
204
- @inputDescFile = File.join(@localDir, 'scholarsphere_generic_stub.descMeta.txt')
205
- @inputTxtFile = File.join(@localDir, 'scholarsphere_generic_stub.txt')
203
+ @inputFoxmlFile = File.join(@localDir, 'sufia_generic_stub.foxml.erb')
204
+ @inputDescFile = File.join(@localDir, 'sufia_generic_stub.descMeta.txt')
205
+ @inputTxtFile = File.join(@localDir, 'sufia_generic_stub.txt')
206
206
 
207
207
  @outputFoxmlFile = File.join(@localDir, @dir, "#{SUFIA_TEST_NS}_#{@id}.foxml.erb")
208
208
  @outputDescFile = File.join(@localDir, @dir, "#{SUFIA_TEST_NS}_#{@id}.descMeta.txt")
209
209
  @outputTxtFile = File.join(@localDir, @dir, "#{SUFIA_TEST_NS}_#{@id}.txt")
210
-
210
+
211
211
  run_erb_stub @inputFoxmlFile, @outputFoxmlFile
212
212
  run_erb_stub @inputDescFile, @outputDescFile
213
213
  run_erb_stub @inputTxtFile, @outputTxtFile
214
214
  end
215
215
 
216
- desc "Generate default ScholarSphere Hydra fixtures"
216
+ desc "Generate default sufia Hydra fixtures"
217
217
  task :generate do
218
218
  ENV["dir"] = File.join(@localDir, @dir)
219
219
  fixtures = find_fixtures_erb(@dir)
@@ -19,7 +19,7 @@ require 'action_view'
19
19
  require 'rainbow'
20
20
  include ActionView::Helpers::NumberHelper
21
21
 
22
- namespace :scholarsphere do
22
+ namespace :sufia do
23
23
  desc "Restore missing user accounts"
24
24
  task :restore_users => :environment do
25
25
  # Query Solr for unique depositors
@@ -109,7 +109,7 @@ namespace :scholarsphere do
109
109
  namespace :export do
110
110
  desc "Dump metadata as RDF/XML for e.g. Summon integration"
111
111
  task :rdfxml => :environment do
112
- raise "rake scholarsphere:export:rdfxml output=FILE" unless ENV['output']
112
+ raise "rake sufia:export:rdfxml output=FILE" unless ENV['output']
113
113
  export_file = ENV['output']
114
114
  triples = RDF::Repository.new
115
115
  rows = GenericFile.count
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sufia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre2
5
- prerelease: 6
4
+ version: 0.0.1
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Justin Coyne
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-20 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 4.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 4.0.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: blacklight_advanced_search
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -64,17 +64,33 @@ dependencies:
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - '='
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 5.0.0.pre11
69
+ version: 5.0.0
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - '='
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 5.0.0.pre11
77
+ version: 5.0.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: active-fedora
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 5.0.0
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 5.0.0
78
94
  - !ruby/object:Gem::Dependency
79
95
  name: noid
80
96
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +130,7 @@ dependencies:
114
130
  requirements:
115
131
  - - '='
116
132
  - !ruby/object:Gem::Version
117
- version: 1.22.0
133
+ version: 1.23.0
118
134
  type: :runtime
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +138,7 @@ dependencies:
122
138
  requirements:
123
139
  - - '='
124
140
  - !ruby/object:Gem::Version
125
- version: 1.22.0
141
+ version: 1.23.0
126
142
  - !ruby/object:Gem::Dependency
127
143
  name: resque-pool
128
144
  requirement: !ruby/object:Gem::Requirement
@@ -493,7 +509,7 @@ files:
493
509
  - app/assets/javascripts/contact_form.js
494
510
  - app/assets/javascripts/dashboard.js
495
511
  - app/assets/javascripts/generic_files.js
496
- - app/assets/javascripts/scholarsphere.js
512
+ - app/assets/javascripts/sufia.js
497
513
  - app/assets/stylesheets/blacklight_more_facets.css
498
514
  - app/assets/stylesheets/bootstrap.min.css
499
515
  - app/assets/stylesheets/contact_form.css
@@ -509,7 +525,7 @@ files:
509
525
  - app/assets/stylesheets/jquery-ui-1.8.23.custom.css
510
526
  - app/assets/stylesheets/reset_body.css
511
527
  - app/assets/stylesheets/scholarsphere-bootstrap.css
512
- - app/assets/stylesheets/scholarsphere.css
528
+ - app/assets/stylesheets/sufia.css
513
529
  - app/assets/stylesheets/video-js.css
514
530
  - app/controllers/authorities_controller.rb
515
531
  - app/controllers/batch_controller.rb
@@ -530,17 +546,9 @@ files:
530
546
  - app/helpers/contact_form_helper.rb
531
547
  - app/helpers/generic_file_helper.rb
532
548
  - app/helpers/sufia_helper.rb
533
- - app/models/audit_job.rb
534
549
  - app/models/batch.rb
535
- - app/models/batch_update_job.rb
536
- - app/models/characterize_job.rb
537
550
  - app/models/checksum_audit_log.rb
538
551
  - app/models/contact_form.rb
539
- - app/models/content_delete_event_job.rb
540
- - app/models/content_deposit_event_job.rb
541
- - app/models/content_new_version_event_job.rb
542
- - app/models/content_restored_version_event_job.rb
543
- - app/models/content_update_event_job.rb
544
552
  - app/models/datastreams/batch_rdf_datastream.rb
545
553
  - app/models/datastreams/file_content_datastream.rb
546
554
  - app/models/datastreams/fits_datastream.rb
@@ -548,21 +556,14 @@ files:
548
556
  - app/models/datastreams/paranoid_rights_datastream.rb
549
557
  - app/models/datastreams/properties_datastream.rb
550
558
  - app/models/domain_term.rb
551
- - app/models/event_job.rb
552
559
  - app/models/follow.rb
553
560
  - app/models/generic_file.rb
554
561
  - app/models/geo_names_resource.rb
555
562
  - app/models/group.rb
556
563
  - app/models/local_authority.rb
557
564
  - app/models/local_authority_entry.rb
558
- - app/models/resolrize_job.rb
559
565
  - app/models/single_use_link.rb
560
- - app/models/solr_document.rb
561
566
  - app/models/subject_local_authority_entry.rb
562
- - app/models/unzip_job.rb
563
- - app/models/user_edit_profile_event_job.rb
564
- - app/models/user_follow_event_job.rb
565
- - app/models/user_unfollow_event_job.rb
566
567
  - app/models/version_committer.rb
567
568
  - app/views/_add_assets_links.html.erb
568
569
  - app/views/_flash_msg.html.erb
@@ -714,6 +715,7 @@ files:
714
715
  - app/views/users/notifications_number.js.erb
715
716
  - app/views/users/show.html.erb
716
717
  - bin/audit_repository
718
+ - config/jetty.yml
717
719
  - config/locales/sufia.en.yml
718
720
  - config/routes.rb
719
721
  - db/data.yml
@@ -733,8 +735,10 @@ files:
733
735
  - features/support/env.rb
734
736
  - features/support/headless.rb
735
737
  - features/support/paths.rb
738
+ - features/users.feature
736
739
  - fedora_conf/conf/development/fedora.fcfg
737
740
  - fedora_conf/conf/test/fedora.fcfg
741
+ - lib/active_support/core_ext/marshal.rb
738
742
  - lib/devise/models/http_header_authenticatable.rb
739
743
  - lib/devise/strategies/http_header_authenticatable.rb
740
744
  - lib/generators/sufia/sufia_generator.rb
@@ -744,6 +748,7 @@ files:
744
748
  - lib/generators/sufia/templates/config/devise.rb
745
749
  - lib/generators/sufia/templates/config/hydra_config.rb
746
750
  - lib/generators/sufia/templates/config/mailboxer.rb
751
+ - lib/generators/sufia/templates/config/redis.yml
747
752
  - lib/generators/sufia/templates/config/redis_config.rb
748
753
  - lib/generators/sufia/templates/config/resque_config.rb
749
754
  - lib/generators/sufia/templates/config/setup_mail.rb
@@ -751,26 +756,51 @@ files:
751
756
  - lib/generators/sufia/templates/migrations/acts_as_follower_migration.rb
752
757
  - lib/generators/sufia/templates/migrations/add_avatars_to_users.rb
753
758
  - lib/generators/sufia/templates/migrations/add_groups_to_users.rb
759
+ - lib/generators/sufia/templates/migrations/add_ldap_attrs_to_user.rb
754
760
  - lib/generators/sufia/templates/migrations/add_social_to_users.rb
755
761
  - lib/generators/sufia/templates/migrations/create_checksum_audit_logs.rb
756
762
  - lib/generators/sufia/templates/migrations/create_local_authorities.rb
757
763
  - lib/generators/sufia/templates/migrations/create_single_use_links.rb
758
764
  - lib/generators/sufia/templates/migrations/create_version_committers.rb
765
+ - lib/kaminari/helpers/tag.rb
759
766
  - lib/redirect_to_web_access_failure.rb
760
767
  - lib/sufia.rb
761
768
  - lib/sufia/active_fedora/redis.rb
762
769
  - lib/sufia/active_record/redis.rb
763
770
  - lib/sufia/controller.rb
771
+ - lib/sufia/generic_file.rb
772
+ - lib/sufia/generic_file/audit.rb
773
+ - lib/sufia/generic_file/characterization.rb
774
+ - lib/sufia/generic_file/export.rb
775
+ - lib/sufia/generic_file/permissions.rb
776
+ - lib/sufia/generic_file/thumbnail.rb
764
777
  - lib/sufia/http_header_auth.rb
765
778
  - lib/sufia/id_service.rb
779
+ - lib/sufia/jobs/audit_job.rb
780
+ - lib/sufia/jobs/batch_update_job.rb
781
+ - lib/sufia/jobs/characterize_job.rb
782
+ - lib/sufia/jobs/content_delete_event_job.rb
783
+ - lib/sufia/jobs/content_deposit_event_job.rb
784
+ - lib/sufia/jobs/content_new_version_event_job.rb
785
+ - lib/sufia/jobs/content_restored_version_event_job.rb
786
+ - lib/sufia/jobs/content_update_event_job.rb
787
+ - lib/sufia/jobs/event_job.rb
788
+ - lib/sufia/jobs/resolrize_job.rb
789
+ - lib/sufia/jobs/transcode_video_job.rb
790
+ - lib/sufia/jobs/unzip_job.rb
791
+ - lib/sufia/jobs/user_edit_profile_event_job.rb
792
+ - lib/sufia/jobs/user_follow_event_job.rb
793
+ - lib/sufia/jobs/user_unfollow_event_job.rb
766
794
  - lib/sufia/model_methods.rb
767
795
  - lib/sufia/noid.rb
768
- - lib/sufia/permissions.rb
796
+ - lib/sufia/queue/resque.rb
769
797
  - lib/sufia/role_mapper.rb
798
+ - lib/sufia/solr_document_behavior.rb
770
799
  - lib/sufia/user.rb
771
800
  - lib/sufia/utils.rb
772
801
  - lib/sufia/version.rb
773
802
  - lib/tasks/fixtures.rake
803
+ - lib/tasks/resque.rake
774
804
  - public/.gitkeep
775
805
  - public/favicon.ico
776
806
  - public/robots.txt
@@ -796,6 +826,7 @@ files:
796
826
  - spec/factories/users.rb
797
827
  - spec/fixtures/4-20.png
798
828
  - spec/fixtures/cities15000.tsv
829
+ - spec/fixtures/countdown.avi
799
830
  - spec/fixtures/docx_fits.xml
800
831
  - spec/fixtures/dublin_core_rdf_descMetadata.nt
801
832
  - spec/fixtures/empty_file.txt
@@ -808,34 +839,32 @@ files:
808
839
  - spec/fixtures/lexvo.rdf
809
840
  - spec/fixtures/mp3_fits.xml
810
841
  - spec/fixtures/pdf_fits.xml
811
- - spec/fixtures/scholarsphere/bg_header.jpg
812
- - spec/fixtures/scholarsphere/scholarsphere_test1.descMeta.txt
813
- - spec/fixtures/scholarsphere/scholarsphere_test1.txt
814
- - spec/fixtures/scholarsphere/scholarsphere_test2.descMeta.txt
815
- - spec/fixtures/scholarsphere/scholarsphere_test2.docx
816
- - spec/fixtures/scholarsphere/scholarsphere_test2.foxml.erb
817
- - spec/fixtures/scholarsphere/scholarsphere_test3.descMeta.txt
818
- - spec/fixtures/scholarsphere/scholarsphere_test3.foxml.erb
819
- - spec/fixtures/scholarsphere/scholarsphere_test3.xls
820
- - spec/fixtures/scholarsphere/scholarsphere_test4.descMeta.txt
821
- - spec/fixtures/scholarsphere/scholarsphere_test4.foxml.erb
822
- - spec/fixtures/scholarsphere/scholarsphere_test4.pdf
823
- - spec/fixtures/scholarsphere/scholarsphere_test5.descMeta.txt
824
- - spec/fixtures/scholarsphere/scholarsphere_test5.mp3
825
- - spec/fixtures/scholarsphere/scholarsphere_test5.txt
826
- - spec/fixtures/scholarsphere/scholarsphere_test6.descMeta.txt
827
- - spec/fixtures/scholarsphere/scholarsphere_test6.foxml.erb
828
- - spec/fixtures/scholarsphere/scholarsphere_test6.jp2
829
- - spec/fixtures/scholarsphere/scholarsphere_test6.txt
830
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.descMeta.txt
831
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.foxml.erb
832
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.txt
833
- - spec/fixtures/scholarsphere/sufia_test1.foxml.erb
834
- - spec/fixtures/scholarsphere/sufia_test5.foxml.erb
835
- - spec/fixtures/scholarsphere_generic_stub.descMeta.txt
836
- - spec/fixtures/scholarsphere_generic_stub.foxml.erb
837
- - spec/fixtures/scholarsphere_generic_stub.txt
838
842
  - spec/fixtures/small_file.txt
843
+ - spec/fixtures/sufia/.gitignore
844
+ - spec/fixtures/sufia/bg_header.jpg
845
+ - spec/fixtures/sufia/sufia_test1.descMeta.txt
846
+ - spec/fixtures/sufia/sufia_test1.foxml.erb
847
+ - spec/fixtures/sufia/sufia_test1.txt
848
+ - spec/fixtures/sufia/sufia_test2.descMeta.txt
849
+ - spec/fixtures/sufia/sufia_test2.docx
850
+ - spec/fixtures/sufia/sufia_test2.foxml.erb
851
+ - spec/fixtures/sufia/sufia_test3.descMeta.txt
852
+ - spec/fixtures/sufia/sufia_test3.foxml.erb
853
+ - spec/fixtures/sufia/sufia_test3.xls
854
+ - spec/fixtures/sufia/sufia_test4.descMeta.txt
855
+ - spec/fixtures/sufia/sufia_test4.foxml.erb
856
+ - spec/fixtures/sufia/sufia_test4.pdf
857
+ - spec/fixtures/sufia/sufia_test5.descMeta.txt
858
+ - spec/fixtures/sufia/sufia_test5.foxml.erb
859
+ - spec/fixtures/sufia/sufia_test5.mp3
860
+ - spec/fixtures/sufia/sufia_test5.txt
861
+ - spec/fixtures/sufia/sufia_test6.descMeta.txt
862
+ - spec/fixtures/sufia/sufia_test6.foxml.erb
863
+ - spec/fixtures/sufia/sufia_test6.jp2
864
+ - spec/fixtures/sufia/sufia_test6.txt
865
+ - spec/fixtures/sufia_generic_stub.descMeta.txt
866
+ - spec/fixtures/sufia_generic_stub.foxml.erb
867
+ - spec/fixtures/sufia_generic_stub.txt
839
868
  - spec/fixtures/txt_fits.xml
840
869
  - spec/fixtures/world.png
841
870
  - spec/fixtures/xls_fits.xml
@@ -852,13 +881,14 @@ files:
852
881
  - spec/models/generic_file_spec.rb
853
882
  - spec/models/local_authority_spec.rb
854
883
  - spec/models/single_use_link_spec.rb
884
+ - spec/models/transcode_video_job_spec.rb
855
885
  - spec/models/unzip_job_spec.rb
856
886
  - spec/models/user_spec.rb
857
- - spec/rake/scholarsphere_fixtures_spec.rb
887
+ - spec/rake/sufia_fixtures_spec.rb
858
888
  - spec/routing/route_spec.rb
859
889
  - spec/spec_helper.rb
860
890
  - spec/support/Gemfile
861
- - spec/support/config/redis.yml
891
+ - spec/support/fedora_conf/fedora.fcfg
862
892
  - spec/support/lib/generators/test_app_generator.rb
863
893
  - spec/support/uploaded_file_monkeypatch.rb
864
894
  - spec/views/single_user_link/download.html.erb_spec.rb
@@ -869,10 +899,10 @@ files:
869
899
  - tasks/cucumber.rake
870
900
  - tasks/jetty.rake
871
901
  - tasks/resque.rake
872
- - tasks/scholarsphere-db.rake
873
- - tasks/scholarsphere-dev.rake
874
- - tasks/scholarsphere-fixtures.rake
875
- - tasks/scholarsphere.rake
902
+ - tasks/sufia-db.rake
903
+ - tasks/sufia-dev.rake
904
+ - tasks/sufia-fixtures.rake
905
+ - tasks/sufia.rake
876
906
  - vendor/assets/fonts/Lato-Light.eot
877
907
  - vendor/assets/fonts/Lato-Light.ttf
878
908
  - vendor/assets/fonts/fontawesome-webfont.eot
@@ -922,9 +952,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
922
952
  required_rubygems_version: !ruby/object:Gem::Requirement
923
953
  none: false
924
954
  requirements:
925
- - - ! '>'
955
+ - - ! '>='
926
956
  - !ruby/object:Gem::Version
927
- version: 1.3.1
957
+ version: '0'
928
958
  requirements: []
929
959
  rubyforge_project:
930
960
  rubygems_version: 1.8.24
@@ -947,6 +977,7 @@ test_files:
947
977
  - features/support/env.rb
948
978
  - features/support/headless.rb
949
979
  - features/support/paths.rb
980
+ - features/users.feature
950
981
  - spec/.gitignore
951
982
  - spec/active_fedora/unsaved_digital_object_spec.rb
952
983
  - spec/config/host_to_vhost_spec.rb
@@ -966,6 +997,7 @@ test_files:
966
997
  - spec/factories/users.rb
967
998
  - spec/fixtures/4-20.png
968
999
  - spec/fixtures/cities15000.tsv
1000
+ - spec/fixtures/countdown.avi
969
1001
  - spec/fixtures/docx_fits.xml
970
1002
  - spec/fixtures/dublin_core_rdf_descMetadata.nt
971
1003
  - spec/fixtures/empty_file.txt
@@ -978,34 +1010,32 @@ test_files:
978
1010
  - spec/fixtures/lexvo.rdf
979
1011
  - spec/fixtures/mp3_fits.xml
980
1012
  - spec/fixtures/pdf_fits.xml
981
- - spec/fixtures/scholarsphere/bg_header.jpg
982
- - spec/fixtures/scholarsphere/scholarsphere_test1.descMeta.txt
983
- - spec/fixtures/scholarsphere/scholarsphere_test1.txt
984
- - spec/fixtures/scholarsphere/scholarsphere_test2.descMeta.txt
985
- - spec/fixtures/scholarsphere/scholarsphere_test2.docx
986
- - spec/fixtures/scholarsphere/scholarsphere_test2.foxml.erb
987
- - spec/fixtures/scholarsphere/scholarsphere_test3.descMeta.txt
988
- - spec/fixtures/scholarsphere/scholarsphere_test3.foxml.erb
989
- - spec/fixtures/scholarsphere/scholarsphere_test3.xls
990
- - spec/fixtures/scholarsphere/scholarsphere_test4.descMeta.txt
991
- - spec/fixtures/scholarsphere/scholarsphere_test4.foxml.erb
992
- - spec/fixtures/scholarsphere/scholarsphere_test4.pdf
993
- - spec/fixtures/scholarsphere/scholarsphere_test5.descMeta.txt
994
- - spec/fixtures/scholarsphere/scholarsphere_test5.mp3
995
- - spec/fixtures/scholarsphere/scholarsphere_test5.txt
996
- - spec/fixtures/scholarsphere/scholarsphere_test6.descMeta.txt
997
- - spec/fixtures/scholarsphere/scholarsphere_test6.foxml.erb
998
- - spec/fixtures/scholarsphere/scholarsphere_test6.jp2
999
- - spec/fixtures/scholarsphere/scholarsphere_test6.txt
1000
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.descMeta.txt
1001
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.foxml.erb
1002
- - spec/fixtures/scholarsphere/sufia_scholarsphere1.txt
1003
- - spec/fixtures/scholarsphere/sufia_test1.foxml.erb
1004
- - spec/fixtures/scholarsphere/sufia_test5.foxml.erb
1005
- - spec/fixtures/scholarsphere_generic_stub.descMeta.txt
1006
- - spec/fixtures/scholarsphere_generic_stub.foxml.erb
1007
- - spec/fixtures/scholarsphere_generic_stub.txt
1008
1013
  - spec/fixtures/small_file.txt
1014
+ - spec/fixtures/sufia/.gitignore
1015
+ - spec/fixtures/sufia/bg_header.jpg
1016
+ - spec/fixtures/sufia/sufia_test1.descMeta.txt
1017
+ - spec/fixtures/sufia/sufia_test1.foxml.erb
1018
+ - spec/fixtures/sufia/sufia_test1.txt
1019
+ - spec/fixtures/sufia/sufia_test2.descMeta.txt
1020
+ - spec/fixtures/sufia/sufia_test2.docx
1021
+ - spec/fixtures/sufia/sufia_test2.foxml.erb
1022
+ - spec/fixtures/sufia/sufia_test3.descMeta.txt
1023
+ - spec/fixtures/sufia/sufia_test3.foxml.erb
1024
+ - spec/fixtures/sufia/sufia_test3.xls
1025
+ - spec/fixtures/sufia/sufia_test4.descMeta.txt
1026
+ - spec/fixtures/sufia/sufia_test4.foxml.erb
1027
+ - spec/fixtures/sufia/sufia_test4.pdf
1028
+ - spec/fixtures/sufia/sufia_test5.descMeta.txt
1029
+ - spec/fixtures/sufia/sufia_test5.foxml.erb
1030
+ - spec/fixtures/sufia/sufia_test5.mp3
1031
+ - spec/fixtures/sufia/sufia_test5.txt
1032
+ - spec/fixtures/sufia/sufia_test6.descMeta.txt
1033
+ - spec/fixtures/sufia/sufia_test6.foxml.erb
1034
+ - spec/fixtures/sufia/sufia_test6.jp2
1035
+ - spec/fixtures/sufia/sufia_test6.txt
1036
+ - spec/fixtures/sufia_generic_stub.descMeta.txt
1037
+ - spec/fixtures/sufia_generic_stub.foxml.erb
1038
+ - spec/fixtures/sufia_generic_stub.txt
1009
1039
  - spec/fixtures/txt_fits.xml
1010
1040
  - spec/fixtures/world.png
1011
1041
  - spec/fixtures/xls_fits.xml
@@ -1022,13 +1052,14 @@ test_files:
1022
1052
  - spec/models/generic_file_spec.rb
1023
1053
  - spec/models/local_authority_spec.rb
1024
1054
  - spec/models/single_use_link_spec.rb
1055
+ - spec/models/transcode_video_job_spec.rb
1025
1056
  - spec/models/unzip_job_spec.rb
1026
1057
  - spec/models/user_spec.rb
1027
- - spec/rake/scholarsphere_fixtures_spec.rb
1058
+ - spec/rake/sufia_fixtures_spec.rb
1028
1059
  - spec/routing/route_spec.rb
1029
1060
  - spec/spec_helper.rb
1030
1061
  - spec/support/Gemfile
1031
- - spec/support/config/redis.yml
1062
+ - spec/support/fedora_conf/fedora.fcfg
1032
1063
  - spec/support/lib/generators/test_app_generator.rb
1033
1064
  - spec/support/uploaded_file_monkeypatch.rb
1034
1065
  - spec/views/single_user_link/download.html.erb_spec.rb