hyrax 3.0.0.pre.beta2 → 3.0.0.pre.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +118 -181
- data/.gitignore +3 -0
- data/.regen +1 -0
- data/.rubocop_fixme.yml +1 -1
- data/README.md +11 -15
- data/app/actors/hyrax/actors/active_fedora_to_valkyrie.rb +59 -0
- data/app/actors/hyrax/actors/add_to_work_actor.rb +28 -5
- data/app/actors/hyrax/actors/apply_order_actor.rb +2 -2
- data/app/actors/hyrax/actors/attach_members_actor.rb +50 -28
- data/app/actors/hyrax/actors/base_actor.rb +17 -2
- data/app/actors/hyrax/actors/cleanup_file_sets_actor.rb +1 -1
- data/app/actors/hyrax/actors/collections_membership_actor.rb +2 -8
- data/app/actors/hyrax/actors/create_with_files_actor.rb +16 -6
- data/app/actors/hyrax/actors/create_with_files_ordered_members_actor.rb +2 -2
- data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +2 -1
- data/app/actors/hyrax/actors/create_with_remote_files_ordered_members_actor.rb +8 -6
- data/app/actors/hyrax/actors/environment.rb +8 -16
- data/app/actors/hyrax/actors/file_actor.rb +75 -13
- data/app/actors/hyrax/actors/interpret_visibility_actor.rb +6 -8
- data/app/actors/hyrax/actors/valkyrie_to_active_fedora.rb +60 -0
- data/app/assets/javascripts/hyrax/collections.js +5 -4
- data/app/assets/javascripts/hyrax/nav_safety.js +4 -2
- data/app/assets/javascripts/hyrax/proxy_rights.js +8 -0
- data/app/assets/stylesheets/fileupload/jquery.fileupload-ui.scss +1 -15
- data/app/assets/stylesheets/hyrax/_collections.scss +1 -1
- data/app/assets/stylesheets/hyrax/_home-page.scss +6 -0
- data/app/assets/stylesheets/hyrax/_users.scss +11 -0
- data/app/assets/stylesheets/hyrax/_viewer.scss +14 -3
- data/app/controllers/concerns/hyrax/breadcrumbs.rb +2 -0
- data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +1 -1
- data/app/controllers/concerns/hyrax/embargoes_controller_behavior.rb +2 -1
- data/app/controllers/concerns/hyrax/leases_controller_behavior.rb +2 -1
- data/app/controllers/concerns/hyrax/local_file_downloads_controller_behavior.rb +2 -1
- data/app/controllers/hyrax/batch_edits_controller.rb +3 -3
- data/app/controllers/hyrax/dashboard/collections_controller.rb +16 -5
- data/app/controllers/hyrax/dashboard_controller.rb +9 -0
- data/app/controllers/hyrax/depositors_controller.rb +4 -6
- data/app/controllers/hyrax/downloads_controller.rb +1 -1
- data/app/controllers/hyrax/file_sets_controller.rb +3 -2
- data/app/controllers/hyrax/homepage_controller.rb +1 -1
- data/app/controllers/hyrax/my/works_controller.rb +2 -2
- data/app/controllers/hyrax/my_controller.rb +2 -2
- data/app/controllers/hyrax/permissions_controller.rb +1 -1
- data/app/controllers/hyrax/single_use_links_viewer_controller.rb +1 -1
- data/app/controllers/hyrax/workflow_actions_controller.rb +1 -1
- data/app/forms/hyrax/forms/admin_set_form.rb +8 -0
- data/app/forms/hyrax/forms/batch_edit_form.rb +1 -1
- data/app/forms/hyrax/forms/collection_form.rb +34 -3
- data/app/forms/hyrax/forms/file_set_edit_form.rb +1 -1
- data/app/forms/hyrax/forms/work_form.rb +34 -7
- data/app/forms/hyrax/forms/workflow_responsibility_form.rb +0 -4
- data/app/helpers/hyrax/hyrax_helper_behavior.rb +3 -4
- data/app/helpers/hyrax/iiif_helper.rb +8 -0
- data/app/indexers/hyrax/admin_set_indexer.rb +1 -1
- data/app/indexers/hyrax/basic_metadata_indexer.rb +1 -1
- data/app/indexers/hyrax/collection_indexer.rb +2 -2
- data/app/indexers/hyrax/file_set_indexer.rb +7 -0
- data/app/indexers/hyrax/indexes_workflow.rb +3 -5
- data/app/indexers/hyrax/valkyrie_indexers/base_indexer.rb +19 -0
- data/app/indexers/hyrax/work_indexer.rb +1 -1
- data/app/jobs/attach_files_to_work_job.rb +9 -1
- data/app/jobs/characterize_job.rb +20 -5
- data/app/jobs/import_url_job.rb +9 -16
- data/app/jobs/ingest_local_file_job.rb +4 -0
- data/app/jobs/visibility_copy_job.rb +3 -17
- data/app/models/admin_set.rb +5 -0
- data/app/models/concerns/hyrax/ability.rb +3 -3
- data/app/models/concerns/hyrax/basic_metadata.rb +6 -2
- data/app/models/concerns/hyrax/collection_behavior.rb +22 -12
- data/app/models/concerns/hyrax/collection_nesting.rb +1 -1
- data/app/models/concerns/hyrax/file_set/characterization.rb +8 -1
- data/app/models/concerns/hyrax/file_set/querying.rb +1 -1
- data/app/models/concerns/hyrax/file_set_behavior.rb +1 -1
- data/app/models/concerns/hyrax/human_readable_type.rb +2 -2
- data/app/models/concerns/hyrax/solr_document/characterization.rb +27 -23
- data/app/models/concerns/hyrax/solr_document/metadata.rb +37 -39
- data/app/models/concerns/hyrax/solr_document_behavior.rb +4 -8
- data/app/models/concerns/hyrax/virus_check.rb +20 -0
- data/app/models/concerns/hyrax/work_behavior.rb +3 -1
- data/app/models/file_download_stat.rb +2 -1
- data/app/models/hyrax/active_job_proxy.rb +43 -0
- data/app/models/hyrax/embargo.rb +21 -0
- data/app/models/hyrax/file_metadata.rb +109 -0
- data/app/models/hyrax/lease.rb +21 -0
- data/app/models/hyrax/permission_template.rb +8 -8
- data/app/models/hyrax/resource.rb +31 -0
- data/app/models/hyrax/statistic.rb +5 -1
- data/app/models/hyrax/uploaded_file.rb +0 -2
- data/app/models/hyrax/virus_scanner.rb +56 -0
- data/app/models/job_io_wrapper.rb +24 -9
- data/app/models/proxy_deposit_request.rb +1 -1
- data/app/models/solr_hit.rb +23 -0
- data/app/presenters/hyrax/admin_set_presenter.rb +1 -1
- data/app/presenters/hyrax/characterization_behavior.rb +2 -2
- data/app/presenters/hyrax/displays_image.rb +25 -7
- data/app/presenters/hyrax/file_set_presenter.rb +3 -3
- data/app/presenters/hyrax/member_presenter_factory.rb +9 -9
- data/app/presenters/hyrax/presenter_factory.rb +1 -4
- data/app/presenters/hyrax/trophy_presenter.rb +1 -1
- data/app/presenters/hyrax/work_show_presenter.rb +3 -3
- data/app/renderers/hyrax/renderers/faceted_attribute_renderer.rb +1 -1
- data/app/search_builders/hyrax/catalog_search_builder.rb +1 -1
- data/app/search_builders/hyrax/collection_search_builder.rb +1 -1
- data/app/search_builders/hyrax/dashboard/nested_collections_search_builder.rb +2 -2
- data/app/search_builders/hyrax/deposit_search_builder.rb +1 -1
- data/app/search_builders/hyrax/my/find_works_search_builder.rb +5 -9
- data/app/search_builders/hyrax/my/highlights_search_builder.rb +1 -3
- data/app/search_builders/hyrax/nested_collections_parent_search_builder.rb +1 -1
- data/app/search_builders/hyrax/parent_collection_search_builder.rb +1 -1
- data/app/services/hyrax/adapters/nesting_index_adapter.rb +6 -6
- data/app/services/hyrax/admin_set_service.rb +3 -11
- data/app/services/hyrax/analytics.rb +6 -6
- data/app/services/hyrax/collection_types/permissions_service.rb +5 -5
- data/app/services/hyrax/collections/permissions_service.rb +2 -2
- data/app/services/hyrax/custom_queries/navigators/child_collections_navigator.rb +39 -0
- data/app/services/hyrax/custom_queries/navigators/child_filesets_navigator.rb +39 -0
- data/app/services/hyrax/custom_queries/navigators/child_works_navigator.rb +39 -0
- data/app/services/hyrax/custom_queries/wings.rb +34 -0
- data/app/services/hyrax/database_migrator.rb +1 -0
- data/app/services/hyrax/derivative_path.rb +1 -1
- data/app/services/hyrax/embargo_manager.rb +100 -0
- data/app/services/hyrax/file_set_csv_service.rb +2 -0
- data/app/services/hyrax/file_set_visibility_propagator.rb +41 -0
- data/app/services/hyrax/graph_exporter.rb +1 -1
- data/app/services/hyrax/lease_manager.rb +71 -0
- data/app/services/hyrax/persist_directly_contained_output_file_service.rb +1 -1
- data/app/services/hyrax/query_service.rb +0 -0
- data/app/services/hyrax/resource_visibility_propagator.rb +50 -0
- data/app/services/hyrax/solr_query_builder_service.rb +71 -0
- data/app/services/hyrax/solr_service.rb +144 -0
- data/app/services/hyrax/statistics/file_sets/by_format.rb +1 -1
- data/app/services/hyrax/statistics/term_query.rb +7 -12
- data/app/services/hyrax/statistics/works/by_resource_type.rb +1 -1
- data/app/services/hyrax/thumbnail_path_service.rb +4 -3
- data/app/services/hyrax/versioning_service.rb +74 -19
- data/app/services/hyrax/virus_checker_service.rb +52 -0
- data/app/services/hyrax/visibility_intention_applicator.rb +43 -0
- data/app/services/hyrax/visibility_map.rb +65 -0
- data/app/services/hyrax/visibility_propagator.rb +19 -0
- data/app/services/hyrax/visibility_reader.rb +43 -0
- data/app/services/hyrax/visibility_writer.rb +43 -0
- data/app/services/hyrax/work_query_service.rb +3 -3
- data/app/services/hyrax/workflow/deposited_notification.rb +1 -1
- data/app/services/hyrax/works/migration_service.rb +33 -0
- data/app/views/hyrax/admin/admin_sets/_form.html.erb +6 -5
- data/app/views/hyrax/admin/admin_sets/_form_visibility.html.erb +2 -1
- data/app/views/hyrax/admin/admin_sets/_form_workflow.erb +1 -1
- data/app/views/hyrax/base/_attribute_rows.html.erb +2 -0
- data/app/views/hyrax/base/_attributes.html.erb +3 -3
- data/app/views/hyrax/base/_citations.html.erb +4 -4
- data/app/views/hyrax/base/_file_manager_actions.html.erb +2 -2
- data/app/views/hyrax/base/_file_manager_member_resource_options.html.erb +2 -2
- data/app/views/hyrax/base/_form_child_work_relationships.html.erb +1 -1
- data/app/views/hyrax/base/_form_files.html.erb +11 -9
- data/app/views/hyrax/base/_form_member_of_collections.html.erb +1 -1
- data/app/views/hyrax/base/_form_permission.html.erb +1 -2
- data/app/views/hyrax/base/_form_progress.html.erb +2 -2
- data/app/views/hyrax/base/_form_share.html.erb +8 -11
- data/app/views/hyrax/base/_show_actions.html.erb +3 -3
- data/app/views/hyrax/base/_social_media.html.erb +0 -13
- data/app/views/hyrax/base/_work_button_row.html.erb +7 -7
- data/app/views/hyrax/base/_workflow_actions.html.erb +4 -4
- data/app/views/hyrax/base/file_manager.html.erb +2 -2
- data/app/views/hyrax/base/iiif_viewers/_universal_viewer.html.erb +5 -2
- data/app/views/hyrax/base/inspect_work.html.erb +13 -13
- data/app/views/hyrax/base/unauthorized.html.erb +4 -4
- data/app/views/hyrax/batch_edits/_check_all.html.erb +1 -1
- data/app/views/hyrax/batch_edits/_delete_selected.html.erb +1 -1
- data/app/views/hyrax/batch_edits/edit.html.erb +11 -11
- data/app/views/hyrax/citations/work.html.erb +1 -1
- data/app/views/hyrax/collections/_show_document_list.html.erb +1 -1
- data/app/views/hyrax/collections/_sort_and_per_page.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_form.html.erb +6 -5
- data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +10 -10
- data/app/views/hyrax/dashboard/collections/_form_share.html.erb +5 -5
- data/app/views/hyrax/dashboard/collections/_show_descriptions.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_show_document_list.html.erb +6 -6
- data/app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +3 -3
- data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +2 -3
- data/app/views/hyrax/dashboard/collections/_work_action_menu.html.erb +8 -8
- data/app/views/hyrax/dashboard/collections/edit.html.erb +2 -2
- data/app/views/hyrax/dashboard/profiles/_edit_primary.html.erb +8 -8
- data/app/views/hyrax/dashboard/sidebar/_activity.html.erb +2 -0
- data/app/views/hyrax/dashboard/sidebar/_configuration.html.erb +4 -1
- data/app/views/hyrax/dashboard/sidebar/_menu_partials.html.erb +3 -0
- data/app/views/hyrax/dashboard/sidebar/_repository_content.html.erb +2 -0
- data/app/views/hyrax/dashboard/sidebar/_tasks.html.erb +2 -0
- data/app/views/hyrax/dashboard/works/_default_group.html.erb +4 -4
- data/app/views/hyrax/dashboard/works/_list_works.html.erb +1 -1
- data/app/views/hyrax/depositors/_modal_proxy_deny.html.erb +14 -0
- data/app/views/hyrax/depositors/index.html.erb +3 -0
- data/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb +1 -1
- data/app/views/hyrax/file_sets/_actions.html.erb +1 -1
- data/app/views/hyrax/file_sets/_asset_deleted_flash.html.erb +1 -1
- data/app/views/hyrax/file_sets/_asset_saved_flash.html.erb +5 -6
- data/app/views/hyrax/file_sets/_asset_updated_flash.html.erb +2 -1
- data/app/views/hyrax/file_sets/_descriptions.html.erb +2 -2
- data/app/views/hyrax/file_sets/_extra_fields_modal.html.erb +3 -3
- data/app/views/hyrax/file_sets/_form.html.erb +1 -1
- data/app/views/hyrax/file_sets/_permission.html.erb +2 -1
- data/app/views/hyrax/file_sets/_permission_form.html.erb +9 -9
- data/app/views/hyrax/file_sets/_show_actions.html.erb +4 -4
- data/app/views/hyrax/file_sets/_show_details.html.erb +7 -7
- data/app/views/hyrax/file_sets/_versioning.html.erb +3 -3
- data/app/views/hyrax/file_sets/edit.html.erb +4 -3
- data/app/views/hyrax/file_sets/media_display/_audio.html.erb +2 -2
- data/app/views/hyrax/file_sets/media_display/_video.html.erb +2 -2
- data/app/views/hyrax/file_sets/proxy.html.erb +2 -2
- data/app/views/hyrax/my/_sort_and_per_page.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_delete_selected_collections.html.erb +4 -1
- data/app/views/hyrax/my/collections/index.html.erb +1 -1
- data/app/views/hyrax/my/index.html.erb +1 -1
- data/app/views/hyrax/my/works/_default_group.html.erb +4 -4
- data/app/views/hyrax/my/works/_list_works.html.erb +3 -3
- data/app/views/hyrax/my/works/index.html.erb +1 -1
- data/app/views/hyrax/notifications/index.html.erb +1 -1
- data/app/views/hyrax/operations/index.html.erb +4 -4
- data/app/views/hyrax/pages/_form.html.erb +61 -60
- data/app/views/hyrax/permissions/confirm_access.html.erb +1 -1
- data/app/views/hyrax/single_use_links_viewer/single_use_error.html.erb +3 -7
- data/app/views/hyrax/static/mendeley.html.erb +2 -4
- data/app/views/hyrax/static/zotero.html.erb +2 -4
- data/app/views/hyrax/transfers/_received.html.erb +10 -10
- data/app/views/hyrax/transfers/_sent.html.erb +6 -6
- data/app/views/hyrax/uploads/_js_templates.html.erb +7 -7
- data/app/views/hyrax/uploads/_js_templates_branding.html.erb +8 -8
- data/app/views/hyrax/users/_activity_log.html.erb +25 -22
- data/app/views/hyrax/users/_left_sidebar.html.erb +1 -1
- data/app/views/hyrax/users/_proxies.html.erb +1 -1
- data/app/views/hyrax/users/_search_form.html.erb +3 -3
- data/app/views/hyrax/users/_vitals.html.erb +1 -1
- data/app/views/hyrax/users/index.html.erb +6 -6
- data/app/views/records/edit_fields/_abstract.html.erb +5 -0
- data/app/views/records/edit_fields/_access_right.html.erb +5 -0
- data/app/views/records/edit_fields/_alt_title.html.erb +3 -0
- data/app/views/records/edit_fields/_title.html.erb +1 -0
- data/app/views/records/show_fields/_based_near.html.erb +1 -1
- data/app/views/records/show_fields/_creator.html.erb +1 -1
- data/app/views/records/show_fields/_keyword.html.erb +1 -1
- data/app/views/records/show_fields/_language.html.erb +1 -1
- data/app/views/records/show_fields/_publisher.html.erb +1 -1
- data/app/views/records/show_fields/_resource_type.html.erb +1 -1
- data/app/views/records/show_fields/_subject.html.erb +1 -1
- data/config/initializers/indexing_adapter_initializer.rb +16 -0
- data/config/initializers/samvera-nesting_indexer_initializer.rb +3 -3
- data/config/locales/hyrax.de.yml +303 -24
- data/config/locales/hyrax.en.yml +279 -0
- data/config/locales/hyrax.es.yml +284 -5
- data/config/locales/hyrax.fr.yml +280 -1
- data/config/locales/hyrax.it.yml +279 -0
- data/config/locales/hyrax.pt-BR.yml +279 -0
- data/config/locales/hyrax.zh.yml +279 -0
- data/hyrax.gemspec +10 -11
- data/lib/generators/hyrax/config_generator.rb +6 -0
- data/lib/generators/hyrax/install_generator.rb +5 -0
- data/lib/generators/hyrax/riiif_generator.rb +2 -2
- data/lib/generators/hyrax/templates/catalog_controller.rb +71 -71
- data/lib/generators/hyrax/templates/config/analytics.yml +5 -5
- data/lib/generators/hyrax/templates/config/initializers/hyrax.rb +11 -1
- data/lib/generators/hyrax/templates/config/initializers/riiif.rb +3 -3
- data/lib/generators/hyrax/templates/config/solr_wrapper_valkyrie_test.yml +7 -0
- data/lib/generators/hyrax/templates/config/valkyrie_index.yml +12 -0
- data/lib/generators/hyrax/templates/package.json +17 -0
- data/lib/generators/hyrax/templates/uv-config.json +3 -0
- data/lib/generators/hyrax/templates/uv.html +87 -0
- data/lib/generators/hyrax/work/templates/feature_spec.rb.erb +0 -1
- data/lib/hyrax.rb +17 -1
- data/lib/hyrax/configuration.rb +34 -20
- data/lib/hyrax/engine.rb +12 -10
- data/lib/hyrax/errors.rb +4 -0
- data/lib/hyrax/transactions/container.rb +13 -0
- data/lib/hyrax/transactions/create_work.rb +11 -0
- data/lib/hyrax/transactions/steps/apply_collection_permission_template.rb +32 -0
- data/lib/hyrax/transactions/steps/apply_permission_template.rb +2 -1
- data/lib/hyrax/transactions/steps/apply_visibility.rb +39 -0
- data/lib/hyrax/version.rb +1 -1
- data/lib/tasks/migrate.rake +6 -0
- data/lib/tasks/universal_viewer.rake +15 -0
- data/lib/valkyrie/indexing/solr/indexing_adapter.rb +102 -0
- data/lib/valkyrie/indexing_adapter.rb +29 -0
- data/lib/wings.rb +13 -4
- data/lib/wings/active_fedora_converter.rb +129 -15
- data/lib/wings/converter_value_mapper.rb +111 -0
- data/lib/wings/hydra/pcdm/models/concerns/collection_valkyrie_behavior.rb +27 -0
- data/lib/wings/hydra/pcdm/models/concerns/object_valkyrie_behavior.rb +27 -0
- data/lib/wings/hydra/pcdm/models/concerns/pcdm_valkyrie_behavior.rb +172 -0
- data/lib/wings/hydra/works/models/concerns/collection_valkyrie_behavior.rb +30 -0
- data/lib/wings/hydra/works/models/concerns/file_set_valkyrie_behavior.rb +30 -0
- data/lib/wings/hydra/works/models/concerns/work_valkyrie_behavior.rb +59 -0
- data/lib/wings/hydra/works/services/add_file_metadata_to_file_set.rb +113 -0
- data/lib/wings/model_transformer.rb +172 -47
- data/lib/wings/models/concerns/collection_behavior.rb +38 -0
- data/lib/wings/models/multi_checksum.rb +18 -0
- data/lib/wings/services/file_metadata_builder.rb +81 -0
- data/lib/wings/services/id_converter_service.rb +14 -0
- data/lib/wings/{value_mapper.rb → transformer_value_mapper.rb} +24 -5
- data/lib/wings/valkyrie/persister.rb +47 -24
- data/lib/wings/valkyrie/query_service.rb +141 -6
- data/lib/wings/valkyrie/storage/active_fedora.rb +27 -0
- data/spec/abilities/proxies_and_transfer_abilities_spec.rb +50 -10
- data/spec/actors/hyrax/actors/active_fedora_to_valkyrie_spec.rb +70 -0
- data/spec/actors/hyrax/actors/attach_members_actor_spec.rb +55 -10
- data/spec/actors/hyrax/actors/create_with_remote_files_actor_spec.rb +14 -0
- data/spec/actors/hyrax/actors/create_with_remote_files_ordered_members_actor_spec.rb +22 -30
- data/spec/actors/hyrax/actors/file_actor_spec.rb +200 -84
- data/spec/actors/hyrax/actors/file_set_actor_spec.rb +1 -1
- data/spec/actors/hyrax/actors/generic_work_actor_spec.rb +2 -6
- data/spec/actors/hyrax/actors/interpret_visibility_actor_spec.rb +1 -1
- data/spec/actors/hyrax/actors/ordered_members_actor_spec.rb +1 -1
- data/spec/actors/hyrax/actors/valkyrie_to_active_fedora_spec.rb +70 -0
- data/spec/controllers/catalog_controller_spec.rb +2 -2
- data/spec/controllers/hyrax/api/items_controller_spec.rb +9 -15
- data/spec/controllers/hyrax/collections_controller_spec.rb +6 -2
- data/spec/controllers/hyrax/dashboard/collections_controller_spec.rb +53 -4
- data/spec/controllers/hyrax/depositors_controller_spec.rb +3 -3
- data/spec/controllers/hyrax/downloads_controller_spec.rb +11 -2
- data/spec/controllers/hyrax/file_sets_controller_spec.rb +40 -2
- data/spec/controllers/hyrax/generic_works_controller_spec.rb +13 -3
- data/spec/controllers/hyrax/homepage_controller_spec.rb +3 -3
- data/spec/controllers/hyrax/single_use_links_viewer_controller_spec.rb +1 -2
- data/spec/factories/admin_sets_lw.rb +1 -1
- data/spec/factories/collections.rb +1 -1
- data/spec/factories/hyrax_embargo.rb +16 -0
- data/spec/factories/hyrax_lease.rb +16 -0
- data/spec/factories/hyrax_resource.rb +16 -0
- data/spec/factory_tests/adminsets_factory_spec.rb +4 -4
- data/spec/factory_tests/collections_factory_spec.rb +3 -3
- data/spec/features/actor_stack_spec.rb +64 -0
- data/spec/features/batch_create_spec.rb +1 -2
- data/spec/features/collection_multi_membership_spec.rb +1 -0
- data/spec/features/collection_spec.rb +2 -2
- data/spec/features/collection_type_spec.rb +1 -0
- data/spec/features/create_work_spec.rb +15 -6
- data/spec/features/dashboard/collection_spec.rb +103 -14
- data/spec/features/edit_content_block_admin_spec.rb +3 -3
- data/spec/features/edit_pages_admin.spec.rb +62 -0
- data/spec/features/proxy_spec.rb +21 -0
- data/spec/features/static_pages_spec.rb +1 -1
- data/spec/features/work_show_spec.rb +7 -3
- data/spec/fixtures/sample-file.pdf +0 -0
- data/spec/fixtures/updated-file.txt +1 -0
- data/spec/forms/hyrax/forms/batch_upload_form_spec.rb +5 -2
- data/spec/forms/hyrax/forms/collection_form_spec.rb +5 -2
- data/spec/forms/hyrax/forms/work_form_spec.rb +18 -5
- data/spec/forms/hyrax/generic_work_form_spec.rb +4 -4
- data/spec/helpers/hyrax/collections_helper_spec.rb +8 -8
- data/spec/helpers/hyrax/dashboard_helper_behavior_spec.rb +7 -8
- data/spec/helpers/hyrax/iiif_helper_spec.rb +16 -0
- data/spec/helpers/hyrax_helper_spec.rb +4 -4
- data/spec/hyrax/transactions/create_work_spec.rb +68 -0
- data/spec/hyrax/transactions/steps/apply_collection_permission_template_spec.rb +59 -0
- data/spec/hyrax/transactions/steps/apply_visibility_spec.rb +82 -0
- data/spec/indexers/hyrax/admin_set_indexer_spec.rb +15 -0
- data/spec/indexers/hyrax/file_set_indexer_spec.rb +26 -1
- data/spec/indexers/hyrax/valkyrie_indexers/base_indexer_spec.rb +16 -0
- data/spec/jobs/import_url_job_spec.rb +49 -2
- data/spec/jobs/ingest_local_file_job_spec.rb +25 -1
- data/spec/jobs/visibility_copy_job_spec.rb +46 -0
- data/spec/lib/hyrax/configuration_spec.rb +17 -11
- data/spec/lib/hyrax/redis_event_store_spec.rb +1 -1
- data/spec/matcher_tests/match_valkyrie_ids_with_af_ids_spec.rb +40 -0
- data/spec/models/file_set_spec.rb +4 -3
- data/spec/models/hyrax/embargo_spec.rb +27 -0
- data/spec/models/hyrax/file_metadata_spec.rb +110 -0
- data/spec/models/hyrax/lease_spec.rb +25 -0
- data/spec/models/hyrax/permission_template_spec.rb +2 -2
- data/spec/models/hyrax/resource_spec.rb +60 -0
- data/spec/models/hyrax/virus_scanner_spec.rb +50 -0
- data/spec/models/job_io_wrapper_spec.rb +63 -0
- data/spec/models/solr_hit_spec.rb +9 -0
- data/spec/models/user_spec.rb +1 -1
- data/spec/presenters/hyrax/file_set_presenter_spec.rb +11 -7
- data/spec/presenters/hyrax/presenter_factory_spec.rb +2 -2
- data/spec/presenters/hyrax/work_show_presenter_spec.rb +1 -1
- data/spec/requests/riiif_spec.rb +2 -2
- data/spec/search_builders/hyrax/my/find_works_search_builder_spec.rb +3 -3
- data/spec/services/hyrax/adapters/nesting_index_adapter_spec.rb +5 -6
- data/spec/services/hyrax/admin_set_service_spec.rb +2 -2
- data/spec/services/hyrax/custom_queries/navigators/child_collections_navigator_spec.rb +41 -0
- data/spec/services/hyrax/custom_queries/navigators/child_filesets_navigator_spec.rb +41 -0
- data/spec/services/hyrax/custom_queries/navigators/child_works_navigator_spec.rb +79 -0
- data/spec/services/hyrax/custom_queries/wings.rb +52 -0
- data/spec/services/hyrax/embargo_manager_spec.rb +123 -0
- data/spec/services/hyrax/embargo_service_spec.rb +2 -2
- data/spec/services/hyrax/file_set_visibility_propagator_spec.rb +59 -0
- data/spec/services/hyrax/resource_visibility_propagator_spec.rb +71 -0
- data/spec/services/hyrax/solr_query_builder_service_spec.rb +17 -0
- data/spec/services/hyrax/solr_service_spec.rb +218 -0
- data/spec/services/hyrax/thumbnail_path_service_spec.rb +6 -0
- data/spec/services/hyrax/versioning_service_spec.rb +35 -15
- data/spec/services/hyrax/visibility_intention_applicator_spec.rb +69 -0
- data/spec/services/hyrax/visibility_reader_spec.rb +38 -0
- data/spec/services/hyrax/visibility_writer_spec.rb +47 -0
- data/spec/services/hyrax/workflow/status_list_service_spec.rb +1 -13
- data/spec/services/hyrax/works/migration_service_spec.rb +29 -0
- data/spec/spec_helper.rb +24 -23
- data/spec/support/clean_solr.rb +7 -0
- data/spec/support/create_for_repository.rb +25 -0
- data/spec/support/factory_helpers.rb +3 -1
- data/spec/support/fakes/fake_actor.rb +21 -0
- data/spec/support/matchers/embargo.rb +9 -0
- data/spec/support/matchers/lease.rb +9 -0
- data/spec/support/matchers/match_valkyrie_ids_with_af_ids.rb +11 -0
- data/spec/support/matchers/permission.rb +22 -0
- data/spec/support/valkyrie_indexing.rb +1 -0
- data/spec/test_app_templates/Gemfile.extra +0 -2
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +5 -6
- data/spec/valkyrie/indexing/solr/indexing_adapter_spec.rb +41 -0
- data/spec/valkyrie/indexing_adapter_spec.rb +25 -0
- data/spec/views/hyrax/base/_attributes.html.erb_spec.rb +1 -1
- data/spec/views/hyrax/base/_social_media.html.erb_spec.rb +0 -1
- data/spec/views/hyrax/base/show.html.erb_spec.rb +2 -2
- data/spec/views/hyrax/collections/_sort_and_per_page.html.erb_spec.rb +1 -1
- data/spec/views/hyrax/dashboard/_sidebar.html.erb_spec.rb +39 -0
- data/spec/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb_spec.rb +1 -1
- data/spec/views/hyrax/file_sets/_versioning.html.erb_spec.rb +1 -0
- data/spec/views/hyrax/my/collections/_list_collections.html.erb_spec.rb +2 -2
- data/spec/views/records/edit_fields/_alt_title.html.erb_spec.rb +26 -0
- data/spec/views/records/edit_fields/_title.html.erb_spec.rb +24 -0
- data/spec/wings/active_fedora_converter_spec.rb +136 -1
- data/spec/wings/converter_value_mapper_spec.rb +23 -0
- data/spec/wings/hydra/pcdm/models/concerns/collection_valkyrie_behavior_spec.rb +41 -0
- data/spec/wings/hydra/pcdm/models/concerns/object_valkyrie_behavior_spec.rb +19 -0
- data/spec/wings/hydra/pcdm/models/concerns/pcdm_valkyrie_behavior_spec.rb +442 -0
- data/spec/wings/hydra/works/models/concerns/collection_valkyrie_behavior_spec.rb +22 -0
- data/spec/wings/hydra/works/models/concerns/file_set_valkyrie_behavior_spec.rb +90 -0
- data/spec/wings/hydra/works/models/concerns/work_valkyrie_behavior_spec.rb +218 -0
- data/spec/wings/model_transformer_spec.rb +167 -112
- data/spec/wings/models/concerns/collection_behavior_spec.rb +120 -0
- data/spec/wings/services/file_metadata_builder_spec.rb +39 -0
- data/spec/wings/services/id_converter_service_spec.rb +24 -0
- data/spec/wings/{value_mapper_spec.rb → transformer_value_mapper_spec.rb} +2 -2
- data/spec/wings/valkyrie/persister_spec.rb +544 -53
- data/spec/wings/valkyrie/query_service_spec.rb +381 -4
- data/spec/wings_helper.rb +4 -0
- data/template.rb +1 -1
- metadata +205 -49
- data/.travis.yml +0 -36
- data/lib/wings/resource_factory.rb +0 -8
data/config/locales/hyrax.en.yml
CHANGED
@@ -18,9 +18,11 @@ en:
|
|
18
18
|
fields:
|
19
19
|
facet:
|
20
20
|
admin_set_sim: Admin Set
|
21
|
+
collection_type_gid_ssim: Collection Type
|
21
22
|
member_of_collections_ssim: Collection
|
22
23
|
resource_type_sim: Resource type
|
23
24
|
suppressed_bsi: Status
|
25
|
+
visibility_ssi: Visibility
|
24
26
|
show:
|
25
27
|
admin_set: 'In Administrative Set:'
|
26
28
|
based_near_label: Location
|
@@ -38,6 +40,7 @@ en:
|
|
38
40
|
extension_whitelist_error: 'You are not allowed to upload %{extension} files, allowed types: %{allowed_types}'
|
39
41
|
helpers:
|
40
42
|
action:
|
43
|
+
accept: Accept
|
41
44
|
add: Add
|
42
45
|
admin_set:
|
43
46
|
new: Create new administrative set
|
@@ -265,6 +268,7 @@ en:
|
|
265
268
|
collections: Collections
|
266
269
|
configuration: Configuration
|
267
270
|
content_blocks: Content Blocks
|
271
|
+
delete_all: Delete All
|
268
272
|
notifications: Notifications
|
269
273
|
pages: Pages
|
270
274
|
profile: Profile
|
@@ -279,6 +283,7 @@ en:
|
|
279
283
|
workflow_review: Review Submissions
|
280
284
|
workflow_roles: Workflow Roles
|
281
285
|
works: Works
|
286
|
+
works_listing: Works listing
|
282
287
|
stats:
|
283
288
|
deposited_form:
|
284
289
|
end_label: end [defaults to now]
|
@@ -346,14 +351,33 @@ en:
|
|
346
351
|
default: The resource you attempted to modify cannot be modified according to your request.
|
347
352
|
background_attribution_html: ''
|
348
353
|
base:
|
354
|
+
attributes:
|
355
|
+
table_attribute_name: Attribute Name
|
356
|
+
table_heading_attributes: Attributes
|
357
|
+
table_values: Value
|
358
|
+
visibility: Visibility
|
349
359
|
citations:
|
360
|
+
citations: Citations
|
361
|
+
endnote: EndNote
|
350
362
|
header: 'Citations:'
|
363
|
+
mendeley: Mendeley
|
364
|
+
zotero: Zotero
|
365
|
+
file_manager:
|
366
|
+
back_to: Back to
|
367
|
+
toolbar: Toolbar
|
368
|
+
file_manager_actions:
|
369
|
+
save: Save
|
370
|
+
sort_alphabetically: Sort alphabetically
|
371
|
+
file_manager_member_resource_options:
|
372
|
+
representative_media: Representative Media
|
373
|
+
thumbnail: Thumbnail
|
351
374
|
form:
|
352
375
|
batch_link: Batch upload
|
353
376
|
batch_upload_hint: To create a separate work for each of the files, go to
|
354
377
|
form_child_work_relationships:
|
355
378
|
actions:
|
356
379
|
remove: Remove from this work
|
380
|
+
add: Add
|
357
381
|
attach_new_work: Deposit new work as child of this work
|
358
382
|
caption: This work currently contains these child works
|
359
383
|
confirm:
|
@@ -366,6 +390,7 @@ en:
|
|
366
390
|
form_files:
|
367
391
|
add_files: Add files...
|
368
392
|
add_folder: Add folder...
|
393
|
+
cancel_upload: Cancel upload
|
369
394
|
dropzone: Drop files here.
|
370
395
|
local_upload_browse_everything_html: |
|
371
396
|
<p>You can add one or more files to associate with this work. Add files
|
@@ -378,6 +403,7 @@ en:
|
|
378
403
|
form_member_of_collections:
|
379
404
|
actions:
|
380
405
|
remove: Remove from collection
|
406
|
+
add: Add
|
381
407
|
caption: This work is currently in these collections
|
382
408
|
confirm:
|
383
409
|
cancel: Cancel
|
@@ -386,6 +412,8 @@ en:
|
|
386
412
|
header:
|
387
413
|
actions: Action
|
388
414
|
title: Collection title
|
415
|
+
form_permission:
|
416
|
+
visibility: Visibility <small>Who should be able to view or download this content?</small>
|
389
417
|
form_permission_under_embargo:
|
390
418
|
help_html: "<strong>This work is under embargo.</strong> You can change the settings of the embargo here, or you can visit the %{edit_link} to deactivate it."
|
391
419
|
legend_html: Visibility <small>Who should be able to view or download this content?</small>
|
@@ -399,6 +427,8 @@ en:
|
|
399
427
|
required_descriptions: Describe your work
|
400
428
|
required_files: Add files
|
401
429
|
requirements: Requirements
|
430
|
+
saving_your_work: Saving your work. This may take a few moments
|
431
|
+
yourself: Yourself
|
402
432
|
form_rendering:
|
403
433
|
help_html: Select file(s) to be offered as a download for every image in Universal Viewer, for example a PDF of the whole work.
|
404
434
|
legend_html: Rendering
|
@@ -406,14 +436,36 @@ en:
|
|
406
436
|
help_html: Select the file with media that represents this work.
|
407
437
|
legend_html: Representative Media
|
408
438
|
form_share:
|
439
|
+
access_type_to_grant: Access type to grant
|
440
|
+
account_label_without_suffix: "%{account_label} (without the %{suffix} part)"
|
409
441
|
add_sharing: Add Sharing
|
442
|
+
add_this_group: Add<span class="sr-only"> this group</span>
|
410
443
|
currently_sharing: Currently Shared With
|
444
|
+
depositor: Depositor
|
411
445
|
directions: Regardless of the visibility settings for this work, you can also share it with other users and groups.
|
446
|
+
group: Group
|
447
|
+
permissions_save_note: Permissions are <strong>not</strong> saved until the "Save" button is pressed at the bottom of the page.
|
448
|
+
use_add_button: Use the add button to give access to one %{account_label} at a time (it will be added to the list below). Select the user, by name or %{account_label} \. Then select the access level you wish to grant and click on Add this %{account_label} to complete adding the permission.
|
412
449
|
form_thumbnail:
|
413
450
|
help_html: Select the file to be used as the thumbnail for this work.
|
414
451
|
legend_html: Thumbnail
|
415
452
|
form_visibility_component:
|
416
453
|
visibility: Visibility
|
454
|
+
inspect_work:
|
455
|
+
back_to: Back to
|
456
|
+
entity_id: Entity ID
|
457
|
+
id: ID
|
458
|
+
name: Name
|
459
|
+
object_name: Object Name
|
460
|
+
persistence: Persistence
|
461
|
+
processing_entity_id: Processing Entity ID
|
462
|
+
proxy_for: Proxy for
|
463
|
+
roles: Roles
|
464
|
+
state: State
|
465
|
+
state_name: State Name
|
466
|
+
users: Users
|
467
|
+
workflow: Workflow
|
468
|
+
workflow_comments: Workflow Comments
|
417
469
|
items:
|
418
470
|
actions: Actions
|
419
471
|
date_uploaded: Date Uploaded
|
@@ -439,6 +491,7 @@ en:
|
|
439
491
|
show_actions:
|
440
492
|
analytics: Analytics
|
441
493
|
attach_child: Attach Child
|
494
|
+
confirm_delete: Delete this %{work_type}?
|
442
495
|
delete: Delete
|
443
496
|
edit: Edit
|
444
497
|
feature: Feature
|
@@ -448,13 +501,46 @@ en:
|
|
448
501
|
google: Google+
|
449
502
|
tumblr: Tumblr
|
450
503
|
twitter: Twitter
|
504
|
+
unauthorized:
|
505
|
+
id: 'ID: %{id}'
|
506
|
+
is_private: The %{type} you have tried to access is private
|
507
|
+
page_is_private: The page you have tried to access is private
|
508
|
+
unauthorized: Unauthorized
|
509
|
+
work_button_row:
|
510
|
+
analytics: Analytics
|
511
|
+
attach: Attach %{type}
|
512
|
+
delete: Delete
|
513
|
+
delete_type: Delete this %{type}?
|
514
|
+
edit: Edit
|
515
|
+
feature: Feature
|
516
|
+
unfeature: Unfeature
|
517
|
+
workflow_actions:
|
518
|
+
actions: Actions
|
519
|
+
previous_comments: Previous Comments
|
520
|
+
review_comment: Review Comment
|
521
|
+
title: Review and Approval
|
522
|
+
base/unauthorized:
|
523
|
+
is_private: The %{type} you have tried to access is private
|
524
|
+
unauthorized: Unauthorized
|
451
525
|
batch:
|
452
526
|
help:
|
453
527
|
resource_type: You may select multiple types to apply to all files
|
454
528
|
title: Filename will be the default title. Please provide a more meaningful title, and filenames will still be preserved by the system.
|
455
529
|
batch_edits:
|
530
|
+
check_all:
|
531
|
+
select_to_access_selection_options: Select to access selection option
|
456
532
|
delete_selected:
|
457
533
|
button_label: Delete Selected
|
534
|
+
deleting_file_from: Deleting a file from %{application_name} is permanent. Click OK to delete this file from %{application_name}, or Cancel to cancel this operation
|
535
|
+
edit:
|
536
|
+
apply_changes_to: 'Changes will be applied to: (%{x_number_of} works)'
|
537
|
+
batch_edit_descriptions: Batch Edit Descriptions <small>Click on labels below to edit work descriptions.</small>
|
538
|
+
clear_batch: Clear Batch
|
539
|
+
descriptions: Descriptions
|
540
|
+
descriptions_title: 'Descriptions:'
|
541
|
+
permissions: Permissions
|
542
|
+
sharing: Sharing
|
543
|
+
visibility: Visibility
|
458
544
|
batch_uploads:
|
459
545
|
disabled: Feature disabled by administrator
|
460
546
|
files:
|
@@ -470,6 +556,9 @@ en:
|
|
470
556
|
header: Save Works
|
471
557
|
bread_crumb:
|
472
558
|
search_results: Back to search results
|
559
|
+
citations:
|
560
|
+
work:
|
561
|
+
citation_formats: Citation Formats
|
473
562
|
collection:
|
474
563
|
actions:
|
475
564
|
add_existing_works:
|
@@ -542,6 +631,10 @@ en:
|
|
542
631
|
show_more_parent_collections: show more...
|
543
632
|
subcollection_count: Subcollections
|
544
633
|
works_in_collection: Works
|
634
|
+
sort_and_per_page:
|
635
|
+
number_of_results_to_display_per_page: Number of results to display per page
|
636
|
+
results_per_page: 'Results per page:'
|
637
|
+
sort_by_html: "<span>Sort by:</span>"
|
545
638
|
contact_form:
|
546
639
|
button_label: Send
|
547
640
|
email_label: Your Email
|
@@ -604,15 +697,22 @@ en:
|
|
604
697
|
relationships: Relationships
|
605
698
|
sharing: Sharing
|
606
699
|
form_branding:
|
700
|
+
alt_text: 'Alt Text:'
|
607
701
|
banner:
|
608
702
|
description: An image to be displayed at the top of the collection page. For best results, upload an image (JPG, GIF or PNG) that is at least 120 pixels tall and 1200 pixels wide.
|
609
703
|
label: Banner
|
610
704
|
branding:
|
611
705
|
description: Optionally, you can upload a banner image and/or logo images to associate with this collection. If uploaded, these images will be displayed at the top of the collection page to provide unique branding for the collection.
|
612
706
|
label: Branding
|
707
|
+
choose_file: Choose File
|
708
|
+
link_url: 'Link URL:'
|
613
709
|
logo:
|
614
710
|
description: One or more images to be displayed at the top of the collection page. For best results, upload an image (JPG, GIF or PNG) that is 40 pixels in height. Larger images will be resized to 40 pixels in height.
|
615
711
|
label: Logo
|
712
|
+
previous: Previous
|
713
|
+
remove: Remove
|
714
|
+
remove_current_banner: Remove Current Banner
|
715
|
+
remove_logo: Remove Logo
|
616
716
|
form_discovery:
|
617
717
|
para1: These settings determine who is able to discover and view this collection's landing page; they do not affect the visibility of items in the collection.
|
618
718
|
para2: If you chose not to make this collection open access, you can still share the collection with specific users and groups using the Sharing tab.
|
@@ -639,7 +739,13 @@ en:
|
|
639
739
|
add_sharing: Add Sharing
|
640
740
|
add_user: Add user
|
641
741
|
current_shared: Currently Shared With
|
742
|
+
depositor: Depositor
|
743
|
+
manager: Manager
|
642
744
|
note: Regardless of the visibility settings of this collection, you can share this collection with specific groups and users.
|
745
|
+
search_for_a_group: Search for a group...
|
746
|
+
search_for_a_user: Search for a user...
|
747
|
+
select_a_role: Select a role...
|
748
|
+
viewer: Viewer
|
643
749
|
form_share_table:
|
644
750
|
allow_all_registered: Allow all registered
|
645
751
|
depositors:
|
@@ -680,6 +786,32 @@ en:
|
|
680
786
|
show_less_parent_collections: "...show less"
|
681
787
|
show_more_parent_collections: show more...
|
682
788
|
subcollection_count: Subcollections
|
789
|
+
show_descriptions:
|
790
|
+
descriptions: Descriptions
|
791
|
+
show_document_list:
|
792
|
+
action: Action
|
793
|
+
date_added: Date added
|
794
|
+
list_items_in_collection: List of items in this collection
|
795
|
+
owner: Owner
|
796
|
+
title: Title
|
797
|
+
visibility: Visibility
|
798
|
+
show_document_list_menu:
|
799
|
+
select: Select
|
800
|
+
show_document_list_row:
|
801
|
+
creator: 'Creator:'
|
802
|
+
depositor: 'Depositor:'
|
803
|
+
edit_access: 'Edit Access:'
|
804
|
+
sort_and_per_page:
|
805
|
+
show_par_page_html: Show %{select} per page
|
806
|
+
sort_by: 'Sort By:'
|
807
|
+
work_action_menu:
|
808
|
+
delete_work: Delete Work
|
809
|
+
deleting_from_work: Deleting a work from %{application_name} is permanent. Click OK to delete this work from %{application_name}, or Cancel to cancel this operation
|
810
|
+
edit_work: Edit Work
|
811
|
+
press_to: Press to
|
812
|
+
remove_from_collection: Remove from collection
|
813
|
+
select_an_action: Select an action
|
814
|
+
transfer_ownership_of_work: Transfer Ownership of Work
|
683
815
|
create_work: Create Work
|
684
816
|
current_proxies: Current Proxies
|
685
817
|
delete_notification: Delete Notification
|
@@ -703,6 +835,8 @@ en:
|
|
703
835
|
collection_update_success: Collection was successfully updated.
|
704
836
|
collections_confirmation_html: Deleting <span class='pluralized'>this collection</span> will permanently remove <span class='pluralized'>this collection</span> from the repository. Items in <span class='pluralized'>this collection</span> will remain in the repository. Are you sure you want to delete <span class='pluralized'>this collection</span>?
|
705
837
|
collections_confirmation_no_items_html: Are you sure you want to delete this collection? This action cannot be undone.
|
838
|
+
collections_confirmation_plural: these collections
|
839
|
+
collections_confirmation_singular: this collection
|
706
840
|
delete_admin_set: Delete collection
|
707
841
|
delete_admin_set_deny: This collection is defined as Admin Set and is not empty. To delete this Admin Set, you must first remove (delete or move to another Admin Set collection) all items from the Admin Set.
|
708
842
|
delete_collection: Delete collection
|
@@ -745,6 +879,7 @@ en:
|
|
745
879
|
heading:
|
746
880
|
access: Access
|
747
881
|
action: Actions
|
882
|
+
caption: List of items in this collection
|
748
883
|
collection_type: Collection Type
|
749
884
|
date_modified: Last Modified
|
750
885
|
date_uploaded: Date Added
|
@@ -761,6 +896,7 @@ en:
|
|
761
896
|
check_all_label: Select all files to be added to a collection or edited
|
762
897
|
detail_label: Display summary details of
|
763
898
|
listing: Listing of items you have deposited in
|
899
|
+
number_of_results_to_display_per_page: Number of results to display per page
|
764
900
|
press_to: Press to
|
765
901
|
results_per_page: Number of results to display per page
|
766
902
|
show_label: Display all details of
|
@@ -776,7 +912,19 @@ en:
|
|
776
912
|
no_proxies: There are no proxies assigned
|
777
913
|
no_transfer_requests: You haven't received any work transfer requests
|
778
914
|
no_transfers: You haven't transferred any work
|
915
|
+
profiles:
|
916
|
+
edit_primary:
|
917
|
+
change_picture: <i class="glyphicon glyphicon-camera"></i> Change picture
|
918
|
+
delete_picture: Delete picture
|
919
|
+
delete_picture_data_content: If you would like to remove your picture entirely, check the box and save your profile.
|
920
|
+
delete_picture_data_original_title: Delete Picture
|
921
|
+
facebook_handle: <i class="fa fa-facebook" aria-hidden="true"></i> Facebook Handle
|
922
|
+
google_handle: <i class="fa fa-google-plus"></i> Google+ Handle
|
923
|
+
help_change_picture_type: JPG, GIF, or PNG (less than 2MB)
|
924
|
+
save_profile: <i class="glyphicon glyphicon-save"></i> Save Profile
|
925
|
+
twitter_handle: <i class="fa fa-twitter" aria-hidden="true"></i> Twitter Handle
|
779
926
|
proxy_activity: Proxy Activity
|
927
|
+
proxy_add_deny: You cannot make yourself a proxy
|
780
928
|
proxy_delete: Delete Proxy
|
781
929
|
proxy_help: Select a user who can deposit works on your behalf. Both you and your proxy will be able to make changes to these works. You can revoke a proxy by clicking the Delete Proxy button. To revoke their ability to edit a work they previously submitted, remove them from the Sharing tab on each work.
|
782
930
|
proxy_user: Proxy User
|
@@ -803,6 +951,7 @@ en:
|
|
803
951
|
file_views: View
|
804
952
|
files: Files deposited
|
805
953
|
heading: Your Statistics
|
954
|
+
joined_on: Joined on
|
806
955
|
works: Works created
|
807
956
|
title: Dashboard
|
808
957
|
transfer_of_ownership: Transfers of Ownership
|
@@ -842,6 +991,7 @@ en:
|
|
842
991
|
deactivate: Deactivate Embargo
|
843
992
|
deactivate_selected: Deactivate Embargoes for Selected
|
844
993
|
missing: There are no expired embargoes in effect at this time.
|
994
|
+
select_all: Select All
|
845
995
|
table_headers:
|
846
996
|
release_date: Embargo Release Date
|
847
997
|
title: Title
|
@@ -859,12 +1009,14 @@ en:
|
|
859
1009
|
download: Download the file
|
860
1010
|
downloadable_content:
|
861
1011
|
audio_link: Download audio
|
1012
|
+
audio_tag_not_supported: Your browser does not support the audio tag.
|
862
1013
|
default_link: Download file
|
863
1014
|
heading: Downloadable Content
|
864
1015
|
image_link: Download image
|
865
1016
|
office_link: Download file
|
866
1017
|
pdf_link: Download PDF
|
867
1018
|
video_link: Download video
|
1019
|
+
video_tag_not_supported: Your browser does not support the video tag.
|
868
1020
|
file_sets:
|
869
1021
|
actions:
|
870
1022
|
delete: Delete
|
@@ -875,13 +1027,28 @@ en:
|
|
875
1027
|
edit: Edit
|
876
1028
|
edit_title: Edit %{file_set}
|
877
1029
|
header: Select an action
|
1030
|
+
press_to: Press to
|
878
1031
|
versions: Versions
|
879
1032
|
versions_title: Display previous versions
|
1033
|
+
asset_deleted_flash:
|
1034
|
+
message: The file has been deleted.
|
1035
|
+
asset_saved_flash:
|
1036
|
+
message:
|
1037
|
+
one: The file %{saved_files} has been saved.
|
1038
|
+
other: The files %{saved_files} have been saved.
|
1039
|
+
asset_updated_flash:
|
1040
|
+
message: The file %{link_to_file} has been updated.
|
1041
|
+
descriptions:
|
1042
|
+
save: Save Descriptions
|
1043
|
+
title: Descriptions
|
880
1044
|
edit:
|
881
1045
|
descriptions: Descriptions
|
882
1046
|
header: Edit %{file_set}
|
883
1047
|
permissions: Permissions
|
884
1048
|
versions: Versions
|
1049
|
+
extra_fields_modal:
|
1050
|
+
additional: Additional
|
1051
|
+
label: Additional %{label}(s)
|
885
1052
|
form:
|
886
1053
|
attach_to: Attach to %{parent}
|
887
1054
|
cancel: Cancel
|
@@ -892,10 +1059,19 @@ en:
|
|
892
1059
|
permission:
|
893
1060
|
save: Save
|
894
1061
|
permission_form:
|
1062
|
+
add_new_group_skel: Add this group
|
1063
|
+
add_new_user_skel: Add this %{account_label}
|
895
1064
|
applied_to: "(applied to all files just uploaded)"
|
1065
|
+
bulk: Bulk
|
896
1066
|
depositor: Depositor
|
897
1067
|
enter: Enter %{account_label} (one at a time)
|
898
1068
|
header: Permissions
|
1069
|
+
new_group_help_text: Use the add button to give access to one group at a time (it will be added to the list below).
|
1070
|
+
new_group_name_skel: Group
|
1071
|
+
new_group_permission_skel: Access type to grant
|
1072
|
+
new_user_help_text: Use the add button to give access to one %{account_label} at a time (it will be added to the list below). Select the user, by name or %{account_label} . Then select the access level youwish to grant and click on Add this %{account_label} to complete adding the permission.
|
1073
|
+
new_user_name_skel: "%{account_label} (without the %{suffix} part)"
|
1074
|
+
new_user_permission_skel: Access type to grant
|
899
1075
|
optional: "(optional)"
|
900
1076
|
save_note_html: Permissions are <strong>not</strong> saved until the "Save" button is pressed at the bottom of the page.
|
901
1077
|
select_group: Select a group
|
@@ -903,12 +1079,28 @@ en:
|
|
903
1079
|
table_title_access: Access Level
|
904
1080
|
table_title_user: Person/Group
|
905
1081
|
user_search: Search for a user
|
1082
|
+
proxy:
|
1083
|
+
message: "%{sending_user} has deposited the file %{title} on your behalf."
|
1084
|
+
show_actions:
|
1085
|
+
analytics: Analytics
|
1086
|
+
confirm_delete_this: Delete this %{type}?
|
1087
|
+
delete_this: Delete This %{type}
|
1088
|
+
edit_this: Edit This %{type}
|
1089
|
+
show_details:
|
1090
|
+
characterization: Characterization
|
1091
|
+
date_modified: Date Modified
|
1092
|
+
date_uploaded: Date Uploaded
|
1093
|
+
depositor: Depositor
|
1094
|
+
file_details: File Details
|
1095
|
+
fixity_check: Fixity Check
|
1096
|
+
not_yet_characterized: Not Yet Characterized
|
906
1097
|
versioning:
|
907
1098
|
current: Current Version
|
908
1099
|
header: Versions
|
909
1100
|
restore: Restore Previous Version
|
910
1101
|
restore_from: Restore From
|
911
1102
|
save: Save Revision
|
1103
|
+
save_your_note: You must click "Save Revision" to revert a previous version of this file
|
912
1104
|
upload: Upload New Version
|
913
1105
|
help:
|
914
1106
|
header: User Support
|
@@ -1006,13 +1198,17 @@ en:
|
|
1006
1198
|
my:
|
1007
1199
|
count:
|
1008
1200
|
collections:
|
1201
|
+
collections_listing: Collections listing
|
1009
1202
|
in_repo: "<strong>%{total_count} collections</strong> in the repository"
|
1010
1203
|
you_manage: "<strong>%{total_count} collections</strong> you can manage in the repository"
|
1011
1204
|
you_own: "<strong>%{total_count} collections</strong> you own in the repository"
|
1012
1205
|
works:
|
1013
1206
|
in_repo: "<strong>%{total_count} works</strong> in the repository"
|
1207
|
+
works_listing: Works listing
|
1014
1208
|
you_manage: "<strong>%{total_count} works</strong> you can manage in the repository"
|
1015
1209
|
you_own: "<strong>%{total_count} works</strong> you own in the repository"
|
1210
|
+
sort_and_per_page:
|
1211
|
+
number_of_results_to_display_per_page: Number of results to display per page
|
1016
1212
|
nav_safety:
|
1017
1213
|
change_tab_message: Are you sure you want to leave this tab? Any unsaved data will be lost.
|
1018
1214
|
notifications:
|
@@ -1031,6 +1227,7 @@ en:
|
|
1031
1227
|
transfer_on_create:
|
1032
1228
|
message: "%{user_link} wants to transfer a work to you. Review all %{transfer_link}"
|
1033
1229
|
subject: Ownership Change Request
|
1230
|
+
transfer_link_label: transfer requests
|
1034
1231
|
transfer_on_update:
|
1035
1232
|
comments: 'Comments: %{receiver_comment}'
|
1036
1233
|
message: Your transfer request was %{status}.
|
@@ -1051,6 +1248,12 @@ en:
|
|
1051
1248
|
pending_review:
|
1052
1249
|
message: "%{title} (%{link}) was deposited by %{user} and is awaiting approval %{comment}"
|
1053
1250
|
subject: Deposit needs review
|
1251
|
+
operations:
|
1252
|
+
index:
|
1253
|
+
operations_type: Operations Type
|
1254
|
+
status: Status
|
1255
|
+
title: Operations
|
1256
|
+
updated: Updated
|
1054
1257
|
pages:
|
1055
1258
|
cancel: Cancel
|
1056
1259
|
tabs:
|
@@ -1106,7 +1309,21 @@ en:
|
|
1106
1309
|
link: Link
|
1107
1310
|
no_links: No links have been generated
|
1108
1311
|
title: Single-Use Links
|
1312
|
+
single_use_links_viewer:
|
1313
|
+
single_use_error:
|
1314
|
+
help: '%{application_name} could not locate the single use link. This link either expired or had been used previously. We apologize for the inconvenience. You might be interested in using <a href="/help/">the help page</a> for looking up solutions.'
|
1315
|
+
link_expired_not_found: Single Use Link Expired or Not Found
|
1316
|
+
link_not_found: Single use link Not Found
|
1109
1317
|
sort_label: Sort the listing of items
|
1318
|
+
static:
|
1319
|
+
mendeley:
|
1320
|
+
contact_form: Contact Form
|
1321
|
+
export_to_mendeley: Export to Mendeley
|
1322
|
+
export_to_mendeley_details: 'Exporting to Mendeley is supported via embedded metadata. If Mendeley does not automatically pick up metadata for deposited files, please report the issue via the '
|
1323
|
+
zotero:
|
1324
|
+
contact_form: Contact Form
|
1325
|
+
export_to_zotero: Export to Zotero
|
1326
|
+
export_to_zotero_details: 'Exporting to Zotero is supported via embedded metadata. If Zotero does not automatically pick up metadata for deposited files, please report the issue via the '
|
1110
1327
|
toolbar:
|
1111
1328
|
dashboard:
|
1112
1329
|
menu: Dashboard
|
@@ -1127,6 +1344,29 @@ en:
|
|
1127
1344
|
placeholder: Search for a user
|
1128
1345
|
sr_only_description: Select a user to transfer "%{work_title}" to, add optional comments and then press transfer.
|
1129
1346
|
title: Transfer Ownership of "%{work_title}"
|
1347
|
+
received:
|
1348
|
+
accept: Accept
|
1349
|
+
accept_the_file_and_allow_the_original_depositor_to_retain_access_and_authorize: Accept the file and allow the original depositor to retain access and authorize the original depositor as a proxy to deposit file on your behalf.
|
1350
|
+
accept_the_file_and_allow_the_original_depositor_to_retain_access_to_edit_the_file_and_metadata: Accept the file and allow the original depositor to retain access to edit the file and metadata.
|
1351
|
+
accept_the_file_remove_access_from_the_original_depositor: Accept the file remove access from the original depositor.
|
1352
|
+
allow_depositor_to_retain_edit_access: Allow depositor to retain edit access
|
1353
|
+
are_you_sure_you_want_to_reject_this_request: Are you sure you want to reject this request?
|
1354
|
+
authorize_depositor_as_proxy: Authorize depositor as proxy
|
1355
|
+
comments: Comments
|
1356
|
+
date: Date
|
1357
|
+
from: From
|
1358
|
+
reject: Reject
|
1359
|
+
remove_depositor_access: Remove depositor access
|
1360
|
+
status: Status
|
1361
|
+
title: Title
|
1362
|
+
sent:
|
1363
|
+
are_you_sure_you_want_to_cancel_this_request: Are you sure you want to cancel this request?
|
1364
|
+
cancel: Cancel
|
1365
|
+
comments: Comments
|
1366
|
+
date: Date
|
1367
|
+
from: From
|
1368
|
+
status: Status
|
1369
|
+
title: Title
|
1130
1370
|
upload:
|
1131
1371
|
alert:
|
1132
1372
|
contact_href_text: contact form
|
@@ -1142,6 +1382,7 @@ en:
|
|
1142
1382
|
change_access_flash_message: Updating file access levels. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file access levels.
|
1143
1383
|
change_access_message_html: "<p>You have changed the access level on work <i>%{curation_concern}</i>, making it accessible to other users or groups to view or edit.</p><p>Would you like change all of the files within the work to have the same access users, groups and visibility as well?</p>"
|
1144
1384
|
change_access_no_message: No. I'll update it manually.
|
1385
|
+
change_access_title_html: Apply changes to contents?
|
1145
1386
|
change_access_yes_message: Yes please.
|
1146
1387
|
change_permissions_message_html: "<p>You have changed the permissions on this %{curation_concern_human_readable_type}, <i>%{curation_concern}</i>, making it visible to <b>%{visibility_badge}</b>.</p><p>Would you like change all of the files within the %{curation_concern_human_readable_type} to <b>%{visibility_badge}</b> as well?</p>"
|
1147
1388
|
local_ingest:
|
@@ -1152,6 +1393,20 @@ en:
|
|
1152
1393
|
tab_label: My Computer
|
1153
1394
|
permissions_message: Updating file permissions. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file permissions.
|
1154
1395
|
processing: File is being processed; you may edit when processing has completed
|
1396
|
+
uploads:
|
1397
|
+
js_templates:
|
1398
|
+
display_label: Display label
|
1399
|
+
error: Error
|
1400
|
+
set_all_to_this_resource_type: Set all to this Resource Type
|
1401
|
+
start: Start
|
1402
|
+
js_templates_branding:
|
1403
|
+
alt_text: 'Alt Text:'
|
1404
|
+
error: Error
|
1405
|
+
link_url: 'Link URL:'
|
1406
|
+
previous: previous
|
1407
|
+
remove: Remove
|
1408
|
+
remove_new_banner: Remove New Banner
|
1409
|
+
remove_new_logo: Remove New Logo
|
1155
1410
|
user_profile:
|
1156
1411
|
orcid:
|
1157
1412
|
alt: ORCID icon
|
@@ -1164,6 +1419,24 @@ en:
|
|
1164
1419
|
connected: Connected!
|
1165
1420
|
label: Zotero Profile
|
1166
1421
|
unlinked: Link with Zotero
|
1422
|
+
users:
|
1423
|
+
activity_log:
|
1424
|
+
date: Date
|
1425
|
+
user_activity: User Activity
|
1426
|
+
index:
|
1427
|
+
avatar: Avatar
|
1428
|
+
department: Department
|
1429
|
+
user_id: User Id
|
1430
|
+
user_name: User Name
|
1431
|
+
users: Users
|
1432
|
+
works_created: Works Created
|
1433
|
+
left_sidebar:
|
1434
|
+
view_users: View Users
|
1435
|
+
proxies:
|
1436
|
+
proxies: Proxies
|
1437
|
+
search_form:
|
1438
|
+
go: Go
|
1439
|
+
search_users: Search Users
|
1167
1440
|
visibility:
|
1168
1441
|
authenticated:
|
1169
1442
|
note_html: Restrict access to %{institution}.
|
@@ -1183,6 +1456,8 @@ en:
|
|
1183
1456
|
note_html: Keep to myself with option to share.
|
1184
1457
|
text: Private
|
1185
1458
|
restricted_title_attr: Change the visibility of this resource
|
1459
|
+
work_button_row:
|
1460
|
+
attach_child: Attach Child
|
1186
1461
|
workflow:
|
1187
1462
|
default:
|
1188
1463
|
deposit: Deposit
|
@@ -1246,6 +1521,8 @@ en:
|
|
1246
1521
|
share_applies_to_new_works: When new works are created directly in the collection, grant sharing users and groups permissions for the new work according to their collection roles.
|
1247
1522
|
title: ''
|
1248
1523
|
defaults:
|
1524
|
+
abstract: A brief summary of a research article, thesis, review, conference proceeding, or any in-depth analysis of a particular subject.
|
1525
|
+
access_right: Contains information about who can access the resource or an indication of its security status.
|
1249
1526
|
based_near: A place name related to the work, such as its site of publication, or the city, state, or country the work contents are about. Calls upon the <a href='http://www.geonames.org'>GeoNames web service</a>.
|
1250
1527
|
contributor: A person or group you want to recognize for playing a role in the creation of the work, but not the primary role.
|
1251
1528
|
creator: The person or group responsible for the work. Usually this is the author of the content. Personal names should be entered with the last name first, e.g. "Smith, John.".
|
@@ -1279,6 +1556,8 @@ en:
|
|
1279
1556
|
share_applies_to_new_works: APPLY TO NEW WORKS
|
1280
1557
|
title: Type name
|
1281
1558
|
defaults:
|
1559
|
+
abstract: Abstract
|
1560
|
+
access_right: Access Rights
|
1282
1561
|
admin_set_id: Administrative Set
|
1283
1562
|
based_near: Location
|
1284
1563
|
creator: Creator
|