sufia 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +44 -0
  3. data/SUFIA_VERSION +1 -1
  4. data/app/controllers/authorities_controller.rb +0 -14
  5. data/app/controllers/batch_controller.rb +0 -14
  6. data/app/controllers/contact_form_controller.rb +0 -14
  7. data/app/controllers/dashboard_controller.rb +0 -14
  8. data/app/controllers/directory_controller.rb +0 -14
  9. data/app/controllers/downloads_controller.rb +0 -14
  10. data/app/controllers/errors_controller.rb +0 -14
  11. data/app/controllers/generic_files_controller.rb +0 -14
  12. data/app/controllers/mailbox_controller.rb +0 -14
  13. data/app/controllers/static_controller.rb +0 -14
  14. data/app/controllers/users_controller.rb +0 -14
  15. data/app/helpers/blacklight/render_constraints_helper_behavior.rb +0 -14
  16. data/app/helpers/contact_form_helper.rb +0 -14
  17. data/app/helpers/generic_file_helper.rb +0 -14
  18. data/app/helpers/sufia_helper.rb +0 -14
  19. data/app/helpers/trophy_helper.rb +0 -14
  20. data/app/jobs/content_delete_event_job.rb +0 -14
  21. data/app/jobs/content_deposit_event_job.rb +0 -14
  22. data/app/jobs/content_new_version_event_job.rb +0 -14
  23. data/app/jobs/content_restored_version_event_job.rb +0 -14
  24. data/app/jobs/content_update_event_job.rb +0 -14
  25. data/app/jobs/event_job.rb +0 -14
  26. data/app/jobs/user_edit_profile_event_job.rb +0 -14
  27. data/app/jobs/user_follow_event_job.rb +0 -14
  28. data/app/jobs/user_unfollow_event_job.rb +0 -14
  29. data/app/views/dashboard/_heading.html.erb +1 -0
  30. data/app/views/dashboard/index.html.erb +1 -1
  31. data/app/views/generic_files/_permission_form.html.erb +3 -3
  32. data/db/seeds.rb +0 -14
  33. data/lib/generators/sufia/sufia_generator.rb +18 -85
  34. data/lib/generators/sufia/templates/catalog_controller.rb +0 -14
  35. data/lib/generators/sufia/templates/config/action_dispatch_http_upload_monkey_patch.rb +0 -14
  36. data/lib/generators/sufia/templates/migrations/acts_as_follower_migration.rb +0 -14
  37. data/lib/generators/sufia/templates/migrations/add_avatars_to_users.rb +0 -14
  38. data/lib/generators/sufia/templates/migrations/add_groups_to_users.rb +0 -14
  39. data/lib/generators/sufia/templates/migrations/add_ldap_attrs_to_user.rb +0 -14
  40. data/lib/generators/sufia/templates/migrations/add_social_to_users.rb +0 -14
  41. data/lib/generators/sufia/templates/migrations/create_checksum_audit_logs.rb +0 -14
  42. data/lib/generators/sufia/templates/migrations/create_local_authorities.rb +0 -14
  43. data/lib/generators/sufia/templates/migrations/create_version_committers.rb +0 -14
  44. data/lib/sufia/batch_edits_controller_behavior.rb +1 -1
  45. data/lib/sufia/contact_form_controller_behavior.rb +0 -14
  46. data/lib/sufia/controller.rb +1 -15
  47. data/lib/sufia/downloads_controller_behavior.rb +0 -14
  48. data/lib/sufia/files_controller/upload_complete_behavior.rb +5 -0
  49. data/lib/sufia/files_controller_behavior.rb +3 -17
  50. data/lib/sufia/role_mapper.rb +0 -14
  51. data/lib/sufia/version.rb +1 -1
  52. data/lib/tasks/fixtures.rake +0 -14
  53. data/spec/factories/checksum_audit_logs.rb +0 -14
  54. data/spec/lib/sufia/upload_complete_behavior_spec.rb +10 -0
  55. data/spec/models/access_right_spec.rb +57 -0
  56. data/spec/models/generic_file/visibility_spec.rb +19 -0
  57. data/spec/models/generic_file_spec.rb +44 -28
  58. data/spec/support/uploaded_file_monkeypatch.rb +0 -14
  59. data/sufia-models/app/models/batch.rb +0 -14
  60. data/sufia-models/app/models/checksum_audit_log.rb +1 -1
  61. data/sufia-models/app/models/concerns/sufia/models/access_right.rb +79 -0
  62. data/sufia-models/app/models/concerns/sufia/models/with_access_right.rb +33 -0
  63. data/sufia-models/app/models/datastreams/batch_rdf_datastream.rb +0 -14
  64. data/sufia-models/app/models/datastreams/fits_datastream.rb +0 -14
  65. data/sufia-models/app/models/datastreams/generic_file_rdf_datastream.rb +0 -14
  66. data/sufia-models/app/models/datastreams/properties_datastream.rb +0 -14
  67. data/sufia-models/app/models/domain_term.rb +1 -1
  68. data/sufia-models/app/models/follow.rb +0 -14
  69. data/sufia-models/app/models/generic_file.rb +0 -13
  70. data/sufia-models/app/models/local_authority.rb +1 -1
  71. data/sufia-models/app/models/local_authority_entry.rb +1 -1
  72. data/sufia-models/app/models/single_use_link.rb +1 -1
  73. data/sufia-models/app/models/subject_local_authority_entry.rb +0 -14
  74. data/sufia-models/app/models/trophy.rb +1 -1
  75. data/sufia-models/app/models/version_committer.rb +1 -1
  76. data/sufia-models/lib/generators/sufia/models/install_generator.rb +102 -0
  77. data/sufia-models/lib/generators/sufia/models/templates/config/clamav.rb +1 -0
  78. data/sufia-models/lib/generators/sufia/models/templates/config/mailboxer.rb +17 -0
  79. data/{lib/generators/sufia → sufia-models/lib/generators/sufia/models}/templates/config/redis_config.rb +1 -1
  80. data/{lib/generators/sufia → sufia-models/lib/generators/sufia/models}/templates/config/resque_config.rb +1 -1
  81. data/sufia-models/lib/generators/sufia/models/templates/config/setup_mail.rb +3 -0
  82. data/sufia-models/lib/generators/sufia/models/templates/config/sufia.rb +81 -0
  83. data/sufia-models/lib/generators/sufia/models/templates/migrations/acts_as_follower_migration.rb +17 -0
  84. data/sufia-models/lib/generators/sufia/models/templates/migrations/add_avatars_to_users.rb +9 -0
  85. data/sufia-models/lib/generators/sufia/models/templates/migrations/add_groups_to_users.rb +11 -0
  86. data/sufia-models/lib/generators/sufia/models/templates/migrations/add_ldap_attrs_to_user.rb +27 -0
  87. data/sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb +13 -0
  88. data/sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb +20 -0
  89. data/sufia-models/lib/generators/sufia/models/templates/migrations/create_local_authorities.rb +50 -0
  90. data/sufia-models/lib/generators/sufia/models/templates/migrations/create_single_use_links.rb +12 -0
  91. data/sufia-models/lib/generators/sufia/models/templates/migrations/create_trophies.rb +10 -0
  92. data/sufia-models/lib/generators/sufia/models/templates/migrations/create_version_committers.rb +15 -0
  93. data/sufia-models/lib/sufia/models/active_record/deprecated_attr_accessible.rb +16 -0
  94. data/sufia-models/lib/sufia/models/engine.rb +1 -2
  95. data/sufia-models/lib/sufia/models/generic_file/permissions.rb +2 -17
  96. data/sufia-models/lib/sufia/models/generic_file/visibility.rb +65 -0
  97. data/sufia-models/lib/sufia/models/generic_file.rb +3 -2
  98. data/sufia-models/lib/sufia/models/id_service.rb +0 -14
  99. data/sufia-models/lib/sufia/models/jobs/audit_job.rb +0 -14
  100. data/sufia-models/lib/sufia/models/jobs/batch_update_job.rb +3 -17
  101. data/sufia-models/lib/sufia/models/jobs/characterize_job.rb +0 -14
  102. data/sufia-models/lib/sufia/models/jobs/resolrize_job.rb +0 -14
  103. data/sufia-models/lib/sufia/models/jobs/unzip_job.rb +0 -14
  104. data/sufia-models/lib/sufia/models/noid.rb +0 -14
  105. data/sufia-models/lib/sufia/models/solr_document_behavior.rb +0 -14
  106. data/sufia-models/lib/sufia/models/user.rb +1 -15
  107. data/sufia-models/lib/sufia/models/utils.rb +0 -14
  108. data/sufia-models/lib/sufia/models/version.rb +1 -1
  109. data/sufia-models/lib/tasks/resque.rake +0 -14
  110. data/sufia-models/sufia-models.gemspec +3 -3
  111. data/tasks/release.rake +2 -1
  112. data/tasks/sufia-db.rake +0 -14
  113. data/tasks/sufia-dev.rake +0 -1
  114. data/tasks/sufia-fixtures.rake +0 -14
  115. data/tasks/sufia.rake +0 -14
  116. metadata +33 -14
  117. data/lib/generators/sufia/templates/config/clamav.rb +0 -14
  118. data/lib/generators/sufia/templates/config/mailboxer.rb +0 -31
  119. data/lib/generators/sufia/templates/config/setup_mail.rb +0 -17
  120. data/lib/generators/sufia/templates/config/sufia.rb +0 -82
  121. /data/{lib/generators/sufia → sufia-models/lib/generators/sufia/models}/templates/config/redis.yml +0 -0
  122. /data/{lib/generators/sufia → sufia-models/lib/generators/sufia/models}/templates/config/resque_admin.rb +0 -0
@@ -1,17 +1,3 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
1
  require 'resque/pool/tasks'
16
2
 
17
3
  # This provides access to the Rails env within all Resque workers
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  # This is a temporary homepage until we've had a chance to review the
18
18
  # process
19
- spec.homepage = "https://github.com/jeremyf/sufia"
19
+ spec.homepage = "https://github.com/projecthydra/sufia"
20
20
  spec.license = "Apache"
21
21
 
22
22
  spec.files = `git ls-files`.split($/)
@@ -30,13 +30,13 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency 'rails', '>= 3.2.13', '< 5.0'
31
31
  spec.add_dependency 'activeresource' # No longer a dependency of rails 4.0
32
32
  spec.add_dependency "hydra-head", "~> 6.3.0"
33
- spec.add_dependency 'active-fedora', "~> 6.4.0"
33
+ spec.add_dependency 'active-fedora', "~> 6.5.0"
34
34
 
35
35
  spec.add_dependency 'nest', '~> 1.1.1'
36
36
  spec.add_dependency 'resque', '~> 1.23.0'#, :require => 'resque/server'
37
37
  spec.add_dependency 'resque-pool', '0.3.0'
38
38
  spec.add_dependency 'noid', '~> 0.6.6'
39
- spec.add_dependency 'curationexperts-mailboxer', '0.10.3'
39
+ spec.add_dependency 'mailboxer', '~> 0.11.0'
40
40
  spec.add_dependency 'acts_as_follower', '0.1.1'
41
41
  spec.add_dependency 'paperclip', '~> 3.4.0'
42
42
  spec.add_dependency 'zipruby', '0.3.6'
data/tasks/release.rake CHANGED
@@ -32,6 +32,7 @@ tag = "v#{version}"
32
32
  File.open(file, 'w') { |f| f.write ruby }
33
33
  end
34
34
  end
35
+ task :pkg
35
36
  task gem => %w(update_version_rb pkg) do
36
37
  cmd = ""
37
38
  cmd << "cd #{framework} && " unless framework == "sufia"
@@ -47,7 +48,7 @@ tag = "v#{version}"
47
48
  task :prep_release => [:ensure_clean_state, :build]
48
49
 
49
50
  task :push => :build do
50
- sh "gem push #{gem}"
51
+ # sh "gem push #{gem}"
51
52
  end
52
53
  end
53
54
  end
data/tasks/sufia-db.rake CHANGED
@@ -1,17 +1,3 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
1
  namespace :sufia do
16
2
  namespace :db do
17
3
  desc "delete all Generic Files in Fedora and Solr (This may take some time...)."
data/tasks/sufia-dev.rake CHANGED
@@ -22,7 +22,6 @@ task :spec => :generate do
22
22
  end
23
23
  end
24
24
 
25
- gem_home = File.expand_path('../../', __FILE__)
26
25
 
27
26
  desc "Run specs"
28
27
  RSpec::Core::RakeTask.new(:rspec) do |t|
@@ -1,17 +1,3 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
1
  # sufia-fixtures
16
2
  #
17
3
  # This was extracted from the original Hydra version in
data/tasks/sufia.rake CHANGED
@@ -1,17 +1,3 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
1
  require 'rdf'
16
2
  require 'rdf/rdfxml'
17
3
  require 'rubygems'
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.1.0
4
+ version: 3.2.1
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-08-09 00:00:00.000000000 Z
11
+ date: 2013-09-10 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.1.0
19
+ version: 3.2.1
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.1.0
26
+ version: 3.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: blacklight
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -376,6 +376,7 @@ files:
376
376
  - app/views/dashboard/_facet_pagination.html.erb
377
377
  - app/views/dashboard/_facet_selected.html.erb
378
378
  - app/views/dashboard/_facets.html.erb
379
+ - app/views/dashboard/_heading.html.erb
379
380
  - app/views/dashboard/_index_partials/_default_group.html.erb
380
381
  - app/views/dashboard/_index_partials/_list_files.html.erb
381
382
  - app/views/dashboard/_index_partials/_thumbnail_display.html.erb
@@ -476,14 +477,6 @@ files:
476
477
  - lib/generators/sufia/sufia_generator.rb
477
478
  - lib/generators/sufia/templates/catalog_controller.rb
478
479
  - lib/generators/sufia/templates/config/action_dispatch_http_upload_monkey_patch.rb
479
- - lib/generators/sufia/templates/config/clamav.rb
480
- - lib/generators/sufia/templates/config/mailboxer.rb
481
- - lib/generators/sufia/templates/config/redis.yml
482
- - lib/generators/sufia/templates/config/redis_config.rb
483
- - lib/generators/sufia/templates/config/resque_admin.rb
484
- - lib/generators/sufia/templates/config/resque_config.rb
485
- - lib/generators/sufia/templates/config/setup_mail.rb
486
- - lib/generators/sufia/templates/config/sufia.rb
487
480
  - lib/generators/sufia/templates/migrations/acts_as_follower_migration.rb
488
481
  - lib/generators/sufia/templates/migrations/add_avatars_to_users.rb
489
482
  - lib/generators/sufia/templates/migrations/add_groups_to_users.rb
@@ -588,6 +581,7 @@ files:
588
581
  - spec/jobs/ingest_local_file_job_spec.rb
589
582
  - spec/lib/sufia/id_service_spec.rb
590
583
  - spec/lib/sufia/upload_complete_behavior_spec.rb
584
+ - spec/models/access_right_spec.rb
591
585
  - spec/models/audit_job_spec.rb
592
586
  - spec/models/batch_spec.rb
593
587
  - spec/models/batch_update_job_spec.rb
@@ -597,6 +591,7 @@ files:
597
591
  - spec/models/file_content_datastream_spec.rb
598
592
  - spec/models/fits_datastream_spec.rb
599
593
  - spec/models/generic_file/actions_spec.rb
594
+ - spec/models/generic_file/visibility_spec.rb
600
595
  - spec/models/generic_file/web_form_spec.rb
601
596
  - spec/models/generic_file_spec.rb
602
597
  - spec/models/local_authority_spec.rb
@@ -624,6 +619,8 @@ files:
624
619
  - sufia-models/Rakefile
625
620
  - sufia-models/app/models/batch.rb
626
621
  - sufia-models/app/models/checksum_audit_log.rb
622
+ - sufia-models/app/models/concerns/sufia/models/access_right.rb
623
+ - sufia-models/app/models/concerns/sufia/models/with_access_right.rb
627
624
  - sufia-models/app/models/datastreams/batch_rdf_datastream.rb
628
625
  - sufia-models/app/models/datastreams/file_content_datastream.rb
629
626
  - sufia-models/app/models/datastreams/fits_datastream.rb
@@ -642,8 +639,28 @@ files:
642
639
  - sufia-models/app/models/trophy.rb
643
640
  - sufia-models/app/models/version_committer.rb
644
641
  - sufia-models/config/locales/sufia.en.yml
642
+ - sufia-models/lib/generators/sufia/models/install_generator.rb
643
+ - sufia-models/lib/generators/sufia/models/templates/config/clamav.rb
644
+ - sufia-models/lib/generators/sufia/models/templates/config/mailboxer.rb
645
+ - sufia-models/lib/generators/sufia/models/templates/config/redis.yml
646
+ - sufia-models/lib/generators/sufia/models/templates/config/redis_config.rb
647
+ - sufia-models/lib/generators/sufia/models/templates/config/resque_admin.rb
648
+ - sufia-models/lib/generators/sufia/models/templates/config/resque_config.rb
649
+ - sufia-models/lib/generators/sufia/models/templates/config/setup_mail.rb
650
+ - sufia-models/lib/generators/sufia/models/templates/config/sufia.rb
651
+ - sufia-models/lib/generators/sufia/models/templates/migrations/acts_as_follower_migration.rb
652
+ - sufia-models/lib/generators/sufia/models/templates/migrations/add_avatars_to_users.rb
653
+ - sufia-models/lib/generators/sufia/models/templates/migrations/add_groups_to_users.rb
654
+ - sufia-models/lib/generators/sufia/models/templates/migrations/add_ldap_attrs_to_user.rb
655
+ - sufia-models/lib/generators/sufia/models/templates/migrations/add_social_to_users.rb
656
+ - sufia-models/lib/generators/sufia/models/templates/migrations/create_checksum_audit_logs.rb
657
+ - sufia-models/lib/generators/sufia/models/templates/migrations/create_local_authorities.rb
658
+ - sufia-models/lib/generators/sufia/models/templates/migrations/create_single_use_links.rb
659
+ - sufia-models/lib/generators/sufia/models/templates/migrations/create_trophies.rb
660
+ - sufia-models/lib/generators/sufia/models/templates/migrations/create_version_committers.rb
645
661
  - sufia-models/lib/sufia/models.rb
646
662
  - sufia-models/lib/sufia/models/active_fedora/redis.rb
663
+ - sufia-models/lib/sufia/models/active_record/deprecated_attr_accessible.rb
647
664
  - sufia-models/lib/sufia/models/active_record/redis.rb
648
665
  - sufia-models/lib/sufia/models/active_support/core_ext/marshal.rb
649
666
  - sufia-models/lib/sufia/models/engine.rb
@@ -659,6 +676,7 @@ files:
659
676
  - sufia-models/lib/sufia/models/generic_file/mime_types.rb
660
677
  - sufia-models/lib/sufia/models/generic_file/permissions.rb
661
678
  - sufia-models/lib/sufia/models/generic_file/thumbnail.rb
679
+ - sufia-models/lib/sufia/models/generic_file/visibility.rb
662
680
  - sufia-models/lib/sufia/models/generic_file/web_form.rb
663
681
  - sufia-models/lib/sufia/models/id_service.rb
664
682
  - sufia-models/lib/sufia/models/jobs/active_fedora_pid_based_job.rb
@@ -736,7 +754,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
736
754
  version: '0'
737
755
  requirements: []
738
756
  rubyforge_project:
739
- rubygems_version: 2.0.5
757
+ rubygems_version: 2.0.3
740
758
  signing_key:
741
759
  specification_version: 4
742
760
  summary: Sufia was extracted from ScholarSphere developed by Penn State University
@@ -817,6 +835,7 @@ test_files:
817
835
  - spec/jobs/ingest_local_file_job_spec.rb
818
836
  - spec/lib/sufia/id_service_spec.rb
819
837
  - spec/lib/sufia/upload_complete_behavior_spec.rb
838
+ - spec/models/access_right_spec.rb
820
839
  - spec/models/audit_job_spec.rb
821
840
  - spec/models/batch_spec.rb
822
841
  - spec/models/batch_update_job_spec.rb
@@ -826,6 +845,7 @@ test_files:
826
845
  - spec/models/file_content_datastream_spec.rb
827
846
  - spec/models/fits_datastream_spec.rb
828
847
  - spec/models/generic_file/actions_spec.rb
848
+ - spec/models/generic_file/visibility_spec.rb
829
849
  - spec/models/generic_file/web_form_spec.rb
830
850
  - spec/models/generic_file_spec.rb
831
851
  - spec/models/local_authority_spec.rb
@@ -846,4 +866,3 @@ test_files:
846
866
  - spec/support/lib/generators/test_app_generator.rb
847
867
  - spec/support/uploaded_file_monkeypatch.rb
848
868
  - spec/views/batch_edits/check_all_spec.rb
849
- has_rdoc:
@@ -1,14 +0,0 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- ClamAV.instance.loaddb() if defined? ClamAV
@@ -1,31 +0,0 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- Mailboxer.setup do |config|
16
-
17
- #Configures if you applications uses or no the email sending for Notifications and Messages
18
- config.uses_emails = true
19
-
20
- #Configures the default from for the email sent for Messages and Notifications of Mailboxer
21
- config.default_from = "no-reply@mailboxer.com"
22
-
23
- #Configures the methods needed by mailboxer
24
- config.email_method = :mailboxer_email
25
- config.name_method = :name
26
-
27
- #Configures if you use or not a search engine and wich one are you using
28
- #Supported enignes: [:solr,:sphinx]
29
- config.search_enabled = false
30
- config.search_engine = :solr
31
- end
@@ -1,17 +0,0 @@
1
- # Copyright © 2012 The Pennsylvania State University
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- ActionMailer::Base.smtp_settings = {
16
- :address => "smtp.psu.edu"
17
- }
@@ -1,82 +0,0 @@
1
- # Returns an array containing the vhost 'CoSign service' value and URL
2
- Sufia.config do |config|
3
-
4
- config.fits_to_desc_mapping= {
5
- :file_title => :title,
6
- :file_author => :creator
7
- }
8
-
9
- # Specify a different template for your repositories unique identifiers
10
- # config.noid_template = ".reeddeeddk"
11
-
12
- config.max_days_between_audits = 7
13
-
14
- config.cc_licenses = {
15
- 'Attribution 3.0 United States' => 'http://creativecommons.org/licenses/by/3.0/us/',
16
- 'Attribution-ShareAlike 3.0 United States' => 'http://creativecommons.org/licenses/by-sa/3.0/us/',
17
- 'Attribution-NonCommercial 3.0 United States' => 'http://creativecommons.org/licenses/by-nc/3.0/us/',
18
- 'Attribution-NoDerivs 3.0 United States' => 'http://creativecommons.org/licenses/by-nd/3.0/us/',
19
- 'Attribution-NonCommercial-NoDerivs 3.0 United States' => 'http://creativecommons.org/licenses/by-nc-nd/3.0/us/',
20
- 'Attribution-NonCommercial-ShareAlike 3.0 United States' => 'http://creativecommons.org/licenses/by-nc-sa/3.0/us/',
21
- 'Public Domain Mark 1.0' => 'http://creativecommons.org/publicdomain/mark/1.0/',
22
- 'CC0 1.0 Universal' => 'http://creativecommons.org/publicdomain/zero/1.0/',
23
- 'All rights reserved' => 'All rights reserved'
24
- }
25
-
26
- config.cc_licenses_reverse = Hash[*config.cc_licenses.to_a.flatten.reverse]
27
-
28
- config.resource_types = {
29
- "Article" => "Article",
30
- "Audio" => "Audio",
31
- "Book" => "Book",
32
- "Capstone Project" => "Capstone Project",
33
- "Conference Proceeding" => "Conference Proceeding",
34
- "Dataset" => "Dataset",
35
- "Dissertation" => "Dissertation",
36
- "Image" => "Image",
37
- "Journal" => "Journal",
38
- "Map or Cartographic Material" => "Map or Cartographic Material",
39
- "Masters Thesis" => "Masters Thesis",
40
- "Part of Book" => "Part of Book",
41
- "Poster" => "Poster",
42
- "Presentation" => "Presentation",
43
- "Project" => "Project",
44
- "Report" => "Report",
45
- "Research Paper" => "Research Paper",
46
- "Software or Program Code" => "Software or Program Code",
47
- "Video" => "Video",
48
- "Other" => "Other",
49
- }
50
-
51
- config.permission_levels = {
52
- "Choose Access"=>"none",
53
- "View/Download" => "read",
54
- "Edit" => "edit"
55
- }
56
-
57
- config.owner_permission_levels = {
58
- "Edit" => "edit"
59
- }
60
-
61
- config.queue = Sufia::Resque::Queue
62
-
63
- # Map hostnames onto Google Analytics tracking IDs
64
- # config.google_analytics_id = 'UA-99999999-1'
65
-
66
-
67
- # Where to store tempfiles, leave blank for the system temp directory (e.g. /tmp)
68
- # config.temp_file_base = '/home/developer1'
69
-
70
- # If you have ffmpeg installed and want to transcode audio and video uncomment this line
71
- # config.enable_ffmpeg = true
72
-
73
- # Specify the Fedora pid prefix:
74
- # config.id_namespace = "sufia"
75
-
76
- # Specify the path to the file characterization tool:
77
- # config.fits_path = "fits.sh"
78
-
79
- end
80
-
81
- Date::DATE_FORMATS[:standard] = "%m/%d/%Y"
82
-