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.zh.yml
CHANGED
@@ -18,9 +18,11 @@ zh:
|
|
18
18
|
fields:
|
19
19
|
facet:
|
20
20
|
admin_set_sim: 集
|
21
|
+
collection_type_gid_ssim: 集合类型
|
21
22
|
member_of_collections_ssim: 采集
|
22
23
|
resource_type_sim: 资源类型
|
23
24
|
suppressed_bsi: 状况
|
25
|
+
visibility_ssi: 公开度
|
24
26
|
show:
|
25
27
|
admin_set: '管理集内:'
|
26
28
|
based_near_label: 地点
|
@@ -38,6 +40,7 @@ zh:
|
|
38
40
|
extension_whitelist_error: "%{extension} 的文件不能上传, 可上传的扩展类型: %{allowed_types}"
|
39
41
|
helpers:
|
40
42
|
action:
|
43
|
+
accept: 接受
|
41
44
|
add: 加
|
42
45
|
admin_set:
|
43
46
|
new: 创建新管理集
|
@@ -265,6 +268,7 @@ zh:
|
|
265
268
|
collections: 收藏
|
266
269
|
configuration: 配置
|
267
270
|
content_blocks: 内容块
|
271
|
+
delete_all: 删除所有
|
268
272
|
notifications: 通知
|
269
273
|
pages: 网页
|
270
274
|
profile: 个人资料
|
@@ -279,6 +283,7 @@ zh:
|
|
279
283
|
workflow_review: 评审提交
|
280
284
|
workflow_roles: 工作流程角色
|
281
285
|
works: 作品
|
286
|
+
works_listing: 作品清单
|
282
287
|
stats:
|
283
288
|
deposited_form:
|
284
289
|
end_label: 结束 [默认到此刻]
|
@@ -346,14 +351,33 @@ zh:
|
|
346
351
|
default: 您试着要修改的资源按照您的请求无法被修改。
|
347
352
|
background_attribution_html: ''
|
348
353
|
base:
|
354
|
+
attributes:
|
355
|
+
table_attribute_name: 属性名称
|
356
|
+
table_heading_attributes: 属性
|
357
|
+
table_values: 值
|
358
|
+
visibility: 能见度
|
349
359
|
citations:
|
360
|
+
citations: 引文
|
361
|
+
endnote: 的EndNote
|
350
362
|
header: '引文:'
|
363
|
+
mendeley: Mendeley
|
364
|
+
zotero: Zotero只
|
365
|
+
file_manager:
|
366
|
+
back_to: 回到
|
367
|
+
toolbar: 工具条
|
368
|
+
file_manager_actions:
|
369
|
+
save: 保存
|
370
|
+
sort_alphabetically: 按字母顺序排序
|
371
|
+
file_manager_member_resource_options:
|
372
|
+
representative_media: 媒体代表
|
373
|
+
thumbnail: 缩略
|
351
374
|
form:
|
352
375
|
batch_link: 批量上传
|
353
376
|
batch_upload_hint: 要为每个文件创建单独的工作,请转到
|
354
377
|
form_child_work_relationships:
|
355
378
|
actions:
|
356
379
|
remove: 从这个工作中删除
|
380
|
+
add: 加
|
357
381
|
attach_new_work: 作为这项工作的孩子存入新的工作
|
358
382
|
caption: 这项工作目前包含这些儿童作品
|
359
383
|
confirm:
|
@@ -366,6 +390,7 @@ zh:
|
|
366
390
|
form_files:
|
367
391
|
add_files: 添加文件
|
368
392
|
add_folder: 添加文件夹
|
393
|
+
cancel_upload: 取消上传
|
369
394
|
dropzone: 请将文件拖放此处。
|
370
395
|
local_upload_browse_everything_html: |
|
371
396
|
<p>您可以添加一个或多个文件与该工作相关联。</p>
|
@@ -375,6 +400,7 @@ zh:
|
|
375
400
|
form_member_of_collections:
|
376
401
|
actions:
|
377
402
|
remove: 从收藏中删除
|
403
|
+
add: 加
|
378
404
|
caption: 这项工作目前在这些收藏
|
379
405
|
confirm:
|
380
406
|
cancel: 取消
|
@@ -383,6 +409,8 @@ zh:
|
|
383
409
|
header:
|
384
410
|
actions: 行动
|
385
411
|
title: 集合标题
|
412
|
+
form_permission:
|
413
|
+
visibility: 可见性<small>谁应该能够查看或下载此内容?</ small>
|
386
414
|
form_permission_under_embargo:
|
387
415
|
help_html: "<strong>这件作品限制公开。</strong>您可以在此更改设置,也可以访问%{edit_link}以取消限制。"
|
388
416
|
legend_html: 公开度<small>谁可以查看或下载此内容?</small>
|
@@ -396,6 +424,8 @@ zh:
|
|
396
424
|
required_descriptions: 描述您的作品
|
397
425
|
required_files: 添加文件
|
398
426
|
requirements: 必要条件
|
427
|
+
saving_your_work: 保存你的工作。这可能需要一些时间
|
428
|
+
yourself: 自己
|
399
429
|
form_rendering:
|
400
430
|
help_html: 在Universal Viewer中选择要作为每个图像下载的文件,例如整个作品的PDF。
|
401
431
|
legend_html: 渲染
|
@@ -403,14 +433,36 @@ zh:
|
|
403
433
|
help_html: 选择代表这项工作的媒体文件。
|
404
434
|
legend_html: 代表媒体
|
405
435
|
form_share:
|
436
|
+
access_type_to_grant: 要授予的访问类型
|
437
|
+
account_label_without_suffix: "%{account_label}(没有%{suffix}部分)"
|
406
438
|
add_sharing: 添加共享
|
439
|
+
add_this_group: 添加<span class =“sr-only”>此组</ span>
|
407
440
|
currently_sharing: 目前与...共享
|
441
|
+
depositor: 储户
|
408
442
|
directions: 无论此工作的可见性设置如何,您也可以与其他用户和组共享。
|
443
|
+
group: 组
|
444
|
+
permissions_save_note: 权限<strong> </ strong>保存,直到“保存”为止。按钮在页面底部按下。
|
445
|
+
use_add_button: 使用添加按钮一次可以访问一个%{account_label}(它将被添加到下面的列表中)。按名称或%{account_label} \选择用户。然后选择您要授予的访问级别,并单击“添加此%{account_label}”以完成添加权限。
|
409
446
|
form_thumbnail:
|
410
447
|
help_html: 选择要用作此作品缩略图的文件。
|
411
448
|
legend_html: 缩略图
|
412
449
|
form_visibility_component:
|
413
450
|
visibility: 可见性
|
451
|
+
inspect_work:
|
452
|
+
back_to: 回到
|
453
|
+
entity_id: 实体ID
|
454
|
+
id: ID
|
455
|
+
name: 名称
|
456
|
+
object_name: 对象名称
|
457
|
+
persistence: 坚持
|
458
|
+
processing_entity_id: 处理实体ID
|
459
|
+
proxy_for: 代理
|
460
|
+
roles: 角色
|
461
|
+
state: 州
|
462
|
+
state_name: 州名
|
463
|
+
users: 用户
|
464
|
+
workflow: 工作流程
|
465
|
+
workflow_comments: 工作流程评论
|
414
466
|
items:
|
415
467
|
actions: 行动
|
416
468
|
date_uploaded: 上传日期
|
@@ -436,6 +488,7 @@ zh:
|
|
436
488
|
show_actions:
|
437
489
|
analytics: 分析
|
438
490
|
attach_child: 附上的孩子
|
491
|
+
confirm_delete: 删除这一%{work_type}
|
439
492
|
delete: 删除
|
440
493
|
edit: 编辑
|
441
494
|
feature: 功能
|
@@ -445,13 +498,46 @@ zh:
|
|
445
498
|
google: Google+
|
446
499
|
tumblr: Tumblr
|
447
500
|
twitter: Twitter
|
501
|
+
unauthorized:
|
502
|
+
id: ID:%{id}
|
503
|
+
is_private: 您尝试访问的%{type}是私有的
|
504
|
+
page_is_private: 您尝试访问的页面是私有的
|
505
|
+
unauthorized: 擅自
|
506
|
+
work_button_row:
|
507
|
+
analytics: Analytics(分析)
|
508
|
+
attach: 附上%{type}
|
509
|
+
delete: 删除
|
510
|
+
delete_type: 删除这个%{type}?
|
511
|
+
edit: 编辑
|
512
|
+
feature: 特征
|
513
|
+
unfeature: Unfeature
|
514
|
+
workflow_actions:
|
515
|
+
actions: 操作
|
516
|
+
previous_comments: 以前的评论
|
517
|
+
review_comment: 评论评论
|
518
|
+
title: 审核和批准
|
519
|
+
base/unauthorized:
|
520
|
+
is_private: 您尝试访问的%{type}是私有的
|
521
|
+
unauthorized: 擅自
|
448
522
|
batch:
|
449
523
|
help:
|
450
524
|
resource_type: 您可以选择适用于所有文件的多种类型
|
451
525
|
title: 文件名将作为默认标题。请提供更有意义的标题,文件名将会在系统内保留。
|
452
526
|
batch_edits:
|
527
|
+
check_all:
|
528
|
+
select_to_access_selection_options: 选择以访问选择选项
|
453
529
|
delete_selected:
|
454
530
|
button_label: 删除选择
|
531
|
+
deleting_file_from: 从%{application_name}删除文件是永久性的。单击“确定”从%{application_name}中删除此文件,或单击“取消”以取消此操作
|
532
|
+
edit:
|
533
|
+
apply_changes_to: 更改将应用于:(%{x_number_of}有效)
|
534
|
+
batch_edit_descriptions: 批量修改说明&nbsp;&nbsp;&nbsp; <small>点击下面的标签编辑工作说明。</ small>
|
535
|
+
clear_batch: 清除批次
|
536
|
+
descriptions: 说明
|
537
|
+
descriptions_title: 说明:
|
538
|
+
permissions: 权限
|
539
|
+
sharing: 分享
|
540
|
+
visibility: 能见度
|
455
541
|
batch_uploads:
|
456
542
|
disabled: 功能被管理员禁用
|
457
543
|
files:
|
@@ -467,6 +553,9 @@ zh:
|
|
467
553
|
header: 保存作品
|
468
554
|
bread_crumb:
|
469
555
|
search_results: 回到检索结果
|
556
|
+
citations:
|
557
|
+
work:
|
558
|
+
citation_formats: 引文格式
|
470
559
|
collection:
|
471
560
|
actions:
|
472
561
|
add_existing_works:
|
@@ -539,6 +628,10 @@ zh:
|
|
539
628
|
show_more_parent_collections: 展示更多...
|
540
629
|
subcollection_count: 子集合
|
541
630
|
works_in_collection: 作品在此收藏集
|
631
|
+
sort_and_per_page:
|
632
|
+
number_of_results_to_display_per_page: 数量的结果显示,每页
|
633
|
+
results_per_page: 每页结果
|
634
|
+
sort_by_html: "<跨>排序:</跨>"
|
542
635
|
contact_form:
|
543
636
|
button_label: 发送
|
544
637
|
email_label: 您的邮件
|
@@ -601,15 +694,22 @@ zh:
|
|
601
694
|
relationships: 关系
|
602
695
|
sharing: 分享
|
603
696
|
form_branding:
|
697
|
+
alt_text: Alt案文:
|
604
698
|
banner:
|
605
699
|
description: 要显示在收集页面顶部的图像。为获得最佳效果,请上传至少120像素高,1200像素宽的图像(JPG,GIF或PNG)。
|
606
700
|
label: 旗帜
|
607
701
|
branding:
|
608
702
|
description: 或者,您可以上传横幅图像和/或徽标图像以与此集合关联。如果上传,这些图像将显示在收集页面的顶部,为收藏提供独特的品牌。
|
609
703
|
label: 品牌
|
704
|
+
choose_file: 选择文件
|
705
|
+
link_url: 链接网址:
|
610
706
|
logo:
|
611
707
|
description: 一个或多个图像显示在收集页面的顶部。为获得最佳效果,请上传高度为40像素的图像(JPG,GIF或PNG)。较大的图像将被调整到40像素的高度。
|
612
708
|
label: 商标
|
709
|
+
previous: 以前的
|
710
|
+
remove: 删除
|
711
|
+
remove_current_banner: 删除目前的旗帜
|
712
|
+
remove_logo: 删除标志
|
613
713
|
form_discovery:
|
614
714
|
para1: 这些设置决定了哪些人能够发现并查看此收藏集的着陆页;它们不会影响集合中项目的可见性。
|
615
715
|
para2: 如果您选择不让该集合成为开放访问权限,您仍然可以使用共享选项卡将该集合与特定用户和组共享。
|
@@ -636,7 +736,13 @@ zh:
|
|
636
736
|
add_sharing: 添加共享
|
637
737
|
add_user: 添加用户
|
638
738
|
current_shared: 目前与...共享
|
739
|
+
depositor: 存款
|
740
|
+
manager: 经理
|
639
741
|
note: 无论此集合的可见性设置如何,您都可以将此集合与特定的组和用户共享。
|
742
|
+
search_for_a_group: 搜索一组...
|
743
|
+
search_for_a_user: 搜索一个用户...
|
744
|
+
select_a_role: 选择一个角色...
|
745
|
+
viewer: 观众
|
640
746
|
form_share_table:
|
641
747
|
allow_all_registered: 允许所有注册
|
642
748
|
depositors:
|
@@ -677,6 +783,32 @@ zh:
|
|
677
783
|
show_less_parent_collections: "...显示较少"
|
678
784
|
show_more_parent_collections: 展示更多...
|
679
785
|
subcollection_count: 子集合
|
786
|
+
show_descriptions:
|
787
|
+
descriptions: 说明
|
788
|
+
show_document_list:
|
789
|
+
action: 行动
|
790
|
+
date_added: 添加日期
|
791
|
+
list_items_in_collection: 此集合中的项目列表
|
792
|
+
owner: 所有者
|
793
|
+
title: 标题
|
794
|
+
visibility: 能见度
|
795
|
+
show_document_list_menu:
|
796
|
+
select: 选择
|
797
|
+
show_document_list_row:
|
798
|
+
creator: 创建者:
|
799
|
+
depositor: 储户:
|
800
|
+
edit_access: 编辑权限:
|
801
|
+
sort_and_per_page:
|
802
|
+
show_par_page_html: 显示%{select}每页
|
803
|
+
sort_by: 排序:
|
804
|
+
work_action_menu:
|
805
|
+
delete_work: 删除工作
|
806
|
+
deleting_from_work: 从%{application_name}删除作品是永久性的。单击“确定”从%{application_name}中删除此工作,或单击“取消”取消此操作
|
807
|
+
edit_work: 编辑工作
|
808
|
+
press_to: 按到
|
809
|
+
remove_from_collection: 从收藏中删除
|
810
|
+
select_an_action: 选择一个动作
|
811
|
+
transfer_ownership_of_work: 转移工作所有权
|
680
812
|
create_work: 创建作品
|
681
813
|
current_proxies: 目前代理
|
682
814
|
delete_notification: 删除通知
|
@@ -700,6 +832,8 @@ zh:
|
|
700
832
|
collection_update_success: 收集已成功更新。
|
701
833
|
collections_confirmation_html: 删除<span class='pluralized'>这个集合</span>将永久地从存储库中删除<span class='pluralized'>这个集合</span> 。 <span class='pluralized'>此集合中的</span>项目将保留在存储库中。你确定要删除<span class='pluralized'>这个集合</span>吗?
|
702
834
|
collections_confirmation_no_items_html: 你确定要删除这个集合吗?此操作无法撤消。
|
835
|
+
collections_confirmation_plural: 这些集合
|
836
|
+
collections_confirmation_singular: 此集合
|
703
837
|
delete_admin_set: 删除集合
|
704
838
|
delete_admin_set_deny: 这个集合被定义为Admin Set并且不是空的。要删除此管理员设置,您必须先删除(删除或移动到另一个管理员设置集合)管理员设置中的所有项目。
|
705
839
|
delete_collection: 删除收藏集
|
@@ -742,6 +876,7 @@ zh:
|
|
742
876
|
heading:
|
743
877
|
access: 访问
|
744
878
|
action: 行动
|
879
|
+
caption: 此集合中的项目列表
|
745
880
|
collection_type: 集合类型
|
746
881
|
date_modified: 上一次更改
|
747
882
|
date_uploaded: 上传日期
|
@@ -758,6 +893,7 @@ zh:
|
|
758
893
|
check_all_label: 选择添加或编辑所有文件
|
759
894
|
detail_label: 展示概括细节
|
760
895
|
listing: 您存储细项列单
|
896
|
+
number_of_results_to_display_per_page: 每页显示的结果数
|
761
897
|
press_to: 按击
|
762
898
|
results_per_page: 每页显示的结果数量
|
763
899
|
show_label: 展示所有细节
|
@@ -773,7 +909,19 @@ zh:
|
|
773
909
|
no_proxies: 没有代理分配
|
774
910
|
no_transfer_requests: 您没有收到任何在作品转让请求
|
775
911
|
no_transfers: 您没有转让任何作品
|
912
|
+
profiles:
|
913
|
+
edit_primary:
|
914
|
+
change_picture: "<i class =“glyphicon glyphicon-camera”> </ i>更改图片"
|
915
|
+
delete_picture: 删除图片
|
916
|
+
delete_picture_data_content: 如果您想完全删除图片,请选中相应复选框并保存您的个人资料。
|
917
|
+
delete_picture_data_original_title: 删除图片
|
918
|
+
facebook_handle: "<i class =“fa fa-facebook”aria-hidden =“true”> </ i> Facebook句柄"
|
919
|
+
google_handle: "<i class =“fa fa-google-plus”> </ i> Google+处理"
|
920
|
+
help_change_picture_type: JPG,GIF或PNG(小于2MB)
|
921
|
+
save_profile: "<i class =“glyphicon glyphicon-save”> </ i>保存个人资料"
|
922
|
+
twitter_handle: "<i class =“fa fa-twitter”aria-hidden =“true”> </ i> Twitter句柄"
|
776
923
|
proxy_activity: 代理活动
|
924
|
+
proxy_add_deny: 你不能让自己成为代理人
|
777
925
|
proxy_delete: 删除代理
|
778
926
|
proxy_help: 选择一个可以代表您存放作品的用户。您将成为该用户为您存储的作品的所有者。您可以通过单击删除代理按钮来撤销代理。
|
779
927
|
proxy_user: 代理用户
|
@@ -800,6 +948,7 @@ zh:
|
|
800
948
|
file_views: 阅览
|
801
949
|
files: 文件已存储
|
802
950
|
heading: 您的【下载?】统计
|
951
|
+
joined_on: 加入上
|
803
952
|
works: 已建立的作品
|
804
953
|
title: 我的控件板
|
805
954
|
transfer_of_ownership: 转让所有权
|
@@ -839,6 +988,7 @@ zh:
|
|
839
988
|
deactivate: 停用限制
|
840
989
|
deactivate_selected: 停用选定的限制
|
841
990
|
missing: 目前没有有效的限制。
|
991
|
+
select_all: 全选
|
842
992
|
table_headers:
|
843
993
|
release_date: 限制发布日期
|
844
994
|
title: 标题
|
@@ -856,12 +1006,14 @@ zh:
|
|
856
1006
|
download: 下载文件
|
857
1007
|
downloadable_content:
|
858
1008
|
audio_link: 下载音频
|
1009
|
+
audio_tag_not_supported: 您的浏览器不支持音频标签。
|
859
1010
|
default_link: 下载文件
|
860
1011
|
heading: 可下载的内容
|
861
1012
|
image_link: 下载图片
|
862
1013
|
office_link: 下载文件
|
863
1014
|
pdf_link: 下载PDF文件
|
864
1015
|
video_link: 下载视频
|
1016
|
+
video_tag_not_supported: 您的浏览器不支持视频标记。
|
865
1017
|
file_sets:
|
866
1018
|
actions:
|
867
1019
|
delete: 删除
|
@@ -872,13 +1024,28 @@ zh:
|
|
872
1024
|
edit: 编辑
|
873
1025
|
edit_title: 编辑%{file_set}
|
874
1026
|
header: 选择一个动作
|
1027
|
+
press_to: 按到
|
875
1028
|
versions: 版本
|
876
1029
|
versions_title: 显示以前的版本
|
1030
|
+
asset_deleted_flash:
|
1031
|
+
message: 该文件已经被删除。
|
1032
|
+
asset_saved_flash:
|
1033
|
+
message:
|
1034
|
+
one: 该文件%{saved_files}已经保存。
|
1035
|
+
other: 该文件%{saved_files}已经保存。
|
1036
|
+
asset_updated_flash:
|
1037
|
+
message: 该文件%{link_to_file}已经更新。
|
1038
|
+
descriptions:
|
1039
|
+
save: 保存说明
|
1040
|
+
title: 说明
|
877
1041
|
edit:
|
878
1042
|
descriptions: 说明
|
879
1043
|
header: 编辑%{file_set}
|
880
1044
|
permissions: 权限
|
881
1045
|
versions: 版本
|
1046
|
+
extra_fields_modal:
|
1047
|
+
additional: 额外
|
1048
|
+
label: 附加%{label}(s)
|
882
1049
|
form:
|
883
1050
|
attach_to: 附加到%{parent}
|
884
1051
|
cancel: 取消
|
@@ -889,10 +1056,19 @@ zh:
|
|
889
1056
|
permission:
|
890
1057
|
save: 保存
|
891
1058
|
permission_form:
|
1059
|
+
add_new_group_skel: 添加此组
|
1060
|
+
add_new_user_skel: 添加此%{account_label}
|
892
1061
|
applied_to: "(适用于刚刚上传的所有文件)"
|
1062
|
+
bulk: 块
|
893
1063
|
depositor: 储户
|
894
1064
|
enter: 输入%{account_label}(一次一个)
|
895
1065
|
header: 权限
|
1066
|
+
new_group_help_text: 使用添加按钮一次可以访问一个组(它将添加到下面的列表中)。
|
1067
|
+
new_group_name_skel: 组
|
1068
|
+
new_group_permission_skel: 要授予的访问类型
|
1069
|
+
new_user_help_text: 使用添加按钮一次可以访问一个%{account_label}(它将被添加到下面的列表中)。按名称或%{account_label}选择用户。然后选择您希望授予的访问级别,并单击Add this %{account_label}以完成添加权限。
|
1070
|
+
new_user_name_skel: "%{account_label}(没有%{suffix}部分)"
|
1071
|
+
new_user_permission_skel: 要授予的访问类型
|
896
1072
|
optional: "(可选的)"
|
897
1073
|
save_note_html: 在页面底部按“保存”按钮之前, <strong>不会</strong>保存权限。
|
898
1074
|
select_group: 选择一个组
|
@@ -900,12 +1076,28 @@ zh:
|
|
900
1076
|
table_title_access: 访问权限
|
901
1077
|
table_title_user: 人/组
|
902
1078
|
user_search: 搜索用户
|
1079
|
+
proxy:
|
1080
|
+
message: "%{sending_user}代表您存放了%{title}文件。"
|
1081
|
+
show_actions:
|
1082
|
+
analytics: 分析
|
1083
|
+
confirm_delete_this: 删除这一%{type}吗?
|
1084
|
+
delete_this: 删除这一%{type}
|
1085
|
+
edit_this: 编辑本%{type}
|
1086
|
+
show_details:
|
1087
|
+
characterization: 表征
|
1088
|
+
date_modified: 修改日期
|
1089
|
+
date_uploaded: 日上传
|
1090
|
+
depositor: 存款
|
1091
|
+
file_details: 文件的详细信息
|
1092
|
+
fixity_check: 固定性检查
|
1093
|
+
not_yet_characterized: 没有特征
|
903
1094
|
versioning:
|
904
1095
|
current: 当前版本
|
905
1096
|
header: 版本
|
906
1097
|
restore: 恢复以前的版本
|
907
1098
|
restore_from: 还原自
|
908
1099
|
save: 保存修订
|
1100
|
+
save_your_note: 您必须点击“保存修订版”还原此文件的先前版本
|
909
1101
|
upload: 上传新版本
|
910
1102
|
help:
|
911
1103
|
header: 用户支持
|
@@ -1003,13 +1195,17 @@ zh:
|
|
1003
1195
|
my:
|
1004
1196
|
count:
|
1005
1197
|
collections:
|
1198
|
+
collections_listing: 收藏清单
|
1006
1199
|
in_repo: 存储库中的<strong> %{total_count}集合</ strong>
|
1007
1200
|
you_manage: 您可以在存储库中管理<strong> %{total_count}集合</ strong>
|
1008
1201
|
you_own: 您在存储库中拥有<strong> %{total_count}集合</ strong>
|
1009
1202
|
works:
|
1010
1203
|
in_repo: 存储库中的<strong> %{total_count}有效</ strong>
|
1204
|
+
works_listing: 作品清单
|
1011
1205
|
you_manage: 您可以在存储库中管理<strong> %{total_count}作品</ strong>
|
1012
1206
|
you_own: 您在存储库中拥有<strong> %{total_count}作品</ strong>
|
1207
|
+
sort_and_per_page:
|
1208
|
+
number_of_results_to_display_per_page: 每页显示的结果数
|
1013
1209
|
nav_safety:
|
1014
1210
|
change_tab_message: 你确定要离开这个标签吗?任何未保存的数据都将丢失。
|
1015
1211
|
notifications:
|
@@ -1028,6 +1224,7 @@ zh:
|
|
1028
1224
|
transfer_on_create:
|
1029
1225
|
message: "%{user_link}想要将作品转移给你。查看所有%{transfer_link}"
|
1030
1226
|
subject: 所有权变更请求
|
1227
|
+
transfer_link_label: 转移请求
|
1031
1228
|
transfer_on_update:
|
1032
1229
|
comments: 评论:%{receiver_comment}
|
1033
1230
|
message: 您的转移请求是%{status}。
|
@@ -1048,6 +1245,12 @@ zh:
|
|
1048
1245
|
pending_review:
|
1049
1246
|
message: "%{title}(%{link})由%{user}存放,正在等待批准%{comment}"
|
1050
1247
|
subject: 存款需要审核
|
1248
|
+
operations:
|
1249
|
+
index:
|
1250
|
+
operations_type: 运营类型
|
1251
|
+
status: 状态
|
1252
|
+
title: 操作
|
1253
|
+
updated: 更新
|
1051
1254
|
pages:
|
1052
1255
|
cancel: 取消
|
1053
1256
|
tabs:
|
@@ -1103,7 +1306,21 @@ zh:
|
|
1103
1306
|
link: 链接
|
1104
1307
|
no_links: 链接未生成
|
1105
1308
|
title: 单次使用链接
|
1309
|
+
single_use_links_viewer:
|
1310
|
+
single_use_error:
|
1311
|
+
help: '%{application_name}无法找到单次使用链接。此链接已过期或之前已使用过。我们对不便表示抱歉。您可能有兴趣使用<a href="/help/">帮助页面</a>查找解决方案。'
|
1312
|
+
link_expired_not_found: 单次使用链接已过期或未找到
|
1313
|
+
link_not_found: 单用链接未找到
|
1106
1314
|
sort_label: 对清单中单件排序
|
1315
|
+
static:
|
1316
|
+
mendeley:
|
1317
|
+
contact_form: 联系表
|
1318
|
+
export_to_mendeley: 出口到门德利
|
1319
|
+
export_to_mendeley_details: 通过嵌入式元数据支持导出到Mendeley。如果Mendeley没有自动获取存放文件的元数据,请通过以下方式报告问题
|
1320
|
+
zotero:
|
1321
|
+
contact_form: 联系表
|
1322
|
+
export_to_zotero: 导出到Zotero
|
1323
|
+
export_to_zotero_details: 通过嵌入式元数据支持导出到Zotero。如果Zotero没有自动获取存放文件的元数据,请通过以下方式报告问题
|
1107
1324
|
toolbar:
|
1108
1325
|
dashboard:
|
1109
1326
|
menu: 控件板
|
@@ -1124,6 +1341,29 @@ zh:
|
|
1124
1341
|
placeholder: 搜索用户
|
1125
1342
|
sr_only_description: 选择要转让 “%{work_title}” 的用户,添加可选注释,然后按转让。
|
1126
1343
|
title: 转让所有权 "%{work_title}"
|
1344
|
+
received:
|
1345
|
+
accept: 接受
|
1346
|
+
accept_the_file_and_allow_the_original_depositor_to_retain_access_and_authorize: 接受该文件并允许原始存款人保留访问权并授权原始存款人代表您存放文件。
|
1347
|
+
accept_the_file_and_allow_the_original_depositor_to_retain_access_to_edit_the_file_and_metadata: 接受该文件并允许原始存款人保留访问权以编辑文件和元数据。
|
1348
|
+
accept_the_file_remove_access_from_the_original_depositor: 接受文件删除原始存款人的访问权限。
|
1349
|
+
allow_depositor_to_retain_edit_access: 允许存款人保留编辑权限
|
1350
|
+
are_you_sure_you_want_to_reject_this_request: 您确定要拒绝此请求吗?
|
1351
|
+
authorize_depositor_as_proxy: 授权存款人作为代理人
|
1352
|
+
comments: 评论
|
1353
|
+
date: 日期
|
1354
|
+
from: 从
|
1355
|
+
reject: 拒绝
|
1356
|
+
remove_depositor_access: 删除存款人访问权限
|
1357
|
+
status: 状态
|
1358
|
+
title: 标题
|
1359
|
+
sent:
|
1360
|
+
are_you_sure_you_want_to_cancel_this_request: 您确定要取消此请求吗?
|
1361
|
+
cancel: 取消
|
1362
|
+
comments: 评论
|
1363
|
+
date: 日期
|
1364
|
+
from: 从
|
1365
|
+
status: 状态
|
1366
|
+
title: 标题
|
1127
1367
|
upload:
|
1128
1368
|
alert:
|
1129
1369
|
contact_href_text: 联系表格
|
@@ -1139,6 +1379,7 @@ zh:
|
|
1139
1379
|
change_access_flash_message: 更新文件访问级别。 稍等片刻。 您可能需要刷新浏览器或稍后回访查询该文件访问级别是否更新。
|
1140
1380
|
change_access_message_html: "<p>您改变了其他用户或群组对作品阅览或编辑的访问级别 <i>%{curation_concern}</i> </p><p>您需要对作品内所有文件的用户或群组的访问级别和公开度做同样的改变吗</p>"
|
1141
1381
|
change_access_no_message: 不用。 我会手动更新。
|
1382
|
+
change_access_title_html: 申请更改的内容吗?
|
1142
1383
|
change_access_yes_message: 是的, 请做同样的更新。
|
1143
1384
|
change_permissions_message_html: "<p>您改变了对%{curation_concern_human_readable_type}, <i>%{curation_concern}</i>的权限,使它对<b>%{visibility_badge}</b>公开。</p><p> 您需要对%{curation_concern_human_readable_type}中所有文件对<b>%{visibility_badge}</b>的权限做同样的改变吗?</p>"
|
1144
1385
|
local_ingest:
|
@@ -1149,6 +1390,20 @@ zh:
|
|
1149
1390
|
tab_label: 我的电脑
|
1150
1391
|
permissions_message: 文件许可正在更新中。稍等片刻。您可能需要刷新浏览器或稍后回访查询该文件访问许可是否更新
|
1151
1392
|
processing: 文件正在处理。 等处理完毕,您可以开始编辑。
|
1393
|
+
uploads:
|
1394
|
+
js_templates:
|
1395
|
+
display_label: 显示标签
|
1396
|
+
error: 错误
|
1397
|
+
set_all_to_this_resource_type: 将all设置为此资源类型
|
1398
|
+
start: 开始
|
1399
|
+
js_templates_branding:
|
1400
|
+
alt_text: 替代文字:
|
1401
|
+
error: 错误
|
1402
|
+
link_url: 链接网址:
|
1403
|
+
previous: 以前
|
1404
|
+
remove: 去掉
|
1405
|
+
remove_new_banner: 删除新横幅
|
1406
|
+
remove_new_logo: 删除新徽标
|
1152
1407
|
user_profile:
|
1153
1408
|
orcid:
|
1154
1409
|
alt: ORCID 图标
|
@@ -1161,6 +1416,24 @@ zh:
|
|
1161
1416
|
connected: 已连接!
|
1162
1417
|
label: Zotero 个人资料
|
1163
1418
|
unlinked: 与Zotero链接
|
1419
|
+
users:
|
1420
|
+
activity_log:
|
1421
|
+
date: 日期
|
1422
|
+
user_activity: 用户活动
|
1423
|
+
index:
|
1424
|
+
avatar: 阿凡达
|
1425
|
+
department: 部门
|
1426
|
+
user_id: 用户身份
|
1427
|
+
user_name: 用户名
|
1428
|
+
users: 用户
|
1429
|
+
works_created: 作品创作
|
1430
|
+
left_sidebar:
|
1431
|
+
view_users: 查看用户
|
1432
|
+
proxies:
|
1433
|
+
proxies: 代理
|
1434
|
+
search_form:
|
1435
|
+
go: 走
|
1436
|
+
search_users: 搜索用户
|
1164
1437
|
visibility:
|
1165
1438
|
authenticated:
|
1166
1439
|
note_html: 访问仅限于%{institution}
|
@@ -1180,6 +1453,8 @@ zh:
|
|
1180
1453
|
note_html: 非公开保留分享权限。
|
1181
1454
|
text: 非公开
|
1182
1455
|
restricted_title_attr: 更改此资源的公开度
|
1456
|
+
work_button_row:
|
1457
|
+
attach_child: 附上孩子
|
1183
1458
|
workflow:
|
1184
1459
|
default:
|
1185
1460
|
deposit: 存储
|
@@ -1243,6 +1518,8 @@ zh:
|
|
1243
1518
|
share_applies_to_new_works: 当直接在集合中创建新作品时,根据其集合角色为新作品授予共享用户和组的权限。
|
1244
1519
|
title: ''
|
1245
1520
|
defaults:
|
1521
|
+
abstract: 研究文章,论文,评论,会议程序或对特定主题的任何深入分析的简要概述。
|
1522
|
+
access_right: 包含有关谁可以访问资源或其安全状态指示的信息。
|
1246
1523
|
based_near: 与作品相关的地名,例如出版品的地点,或者是作品中涉及的城市,州、或国家。 参见<a href='http://www.geonames.org'>GeoNames web service</a>。
|
1247
1524
|
contributor: 个人与团体,虽未担任主要职责,却对作品创建做出贡献。
|
1248
1525
|
creator: 对作品负责的个人与团体。通常指作品内容的作者。 个人姓名应该先输入姓氏,例如 "Smith, John."。
|
@@ -1276,6 +1553,8 @@ zh:
|
|
1276
1553
|
share_applies_to_new_works: 适用于新作品
|
1277
1554
|
title: 类型名称
|
1278
1555
|
defaults:
|
1556
|
+
abstract: 抽象
|
1557
|
+
access_right: 访问权限
|
1279
1558
|
admin_set_id: 在行政
|
1280
1559
|
based_near: 地点
|
1281
1560
|
creator: 创建者
|