hyrax 3.4.2 → 4.0.0.beta1
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 +41 -61
- data/.dassie/Gemfile +4 -4
- data/.dassie/app/assets/javascripts/application.js +8 -4
- data/.dassie/app/assets/stylesheets/application.css +1 -1
- data/.dassie/app/assets/stylesheets/hyrax.scss +1 -2
- data/.dassie/app/controllers/application_controller.rb +1 -3
- data/.dassie/app/controllers/catalog_controller.rb +23 -19
- data/.dassie/app/models/user.rb +0 -3
- data/.dassie/config/application.rb +1 -1
- data/.dassie/config/initializers/riiif.rb +1 -1
- data/.dassie/db/schema.rb +5 -5
- data/.dassie/package.json +7 -7
- data/.engine_cart.yml +2 -39
- data/.env +1 -0
- data/.regen +2 -1
- data/.rubocop.yml +1 -1
- data/CONTRIBUTING.md +22 -24
- data/Dockerfile +1 -1
- data/Rakefile +0 -4
- data/app/actors/hyrax/actors/base_actor.rb +1 -1
- data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +5 -11
- data/app/actors/hyrax/actors/file_actor.rb +9 -37
- data/app/actors/hyrax/actors/file_set_actor.rb +13 -62
- data/app/assets/javascripts/hyrax/app.js.erb +1 -1
- data/app/assets/javascripts/hyrax/batch.js +2 -2
- data/app/assets/javascripts/hyrax/batch_edit.js +4 -4
- data/app/assets/javascripts/hyrax/batch_select_all.js +13 -13
- data/app/assets/javascripts/hyrax/browse_everything.js +4 -2
- data/app/assets/javascripts/hyrax/collection_types.es6 +1 -1
- data/app/assets/javascripts/hyrax/collections/editor.es6 +5 -1
- data/app/assets/javascripts/hyrax/dashboard_actions.js +5 -5
- data/app/assets/javascripts/hyrax/editor/controlled_vocabulary.es6 +3 -3
- data/app/assets/javascripts/hyrax/editor.es6 +3 -3
- data/app/assets/javascripts/hyrax/facets.js +6 -4
- data/app/assets/javascripts/hyrax/file_manager/member.es6 +1 -1
- data/app/assets/javascripts/hyrax/file_manager/save_manager.es6 +2 -2
- data/app/assets/javascripts/hyrax/file_manager/sorting.es6 +2 -2
- data/app/assets/javascripts/hyrax/file_manager.es6 +2 -17
- data/app/assets/javascripts/hyrax/notification.es6 +1 -1
- data/app/assets/javascripts/hyrax/permissions/registry.es6 +4 -4
- data/app/assets/javascripts/hyrax/permissions/user_controls.es6 +3 -1
- data/app/assets/javascripts/hyrax/relationships/confirm_remove_dialog.es6 +1 -1
- data/app/assets/javascripts/hyrax/relationships/control.es6 +2 -2
- data/app/assets/javascripts/hyrax/relationships/registry_entry.es6 +1 -1
- data/app/assets/javascripts/hyrax/reports-buttons.js +9 -9
- data/app/assets/javascripts/hyrax/save_work/required_fields.es6 +1 -1
- data/app/assets/javascripts/hyrax/save_work/save_work_control.es6 +6 -6
- data/app/assets/javascripts/hyrax/save_work/uploaded_files.es6 +2 -2
- data/app/assets/javascripts/hyrax/single_use_links_manager.js +1 -1
- data/app/assets/javascripts/hyrax/skip_to_content.js +1 -1
- data/app/assets/javascripts/hyrax/sorting.js +1 -1
- data/app/assets/javascripts/hyrax/trophy.js +1 -1
- data/app/assets/javascripts/hyrax/uploader.js +3 -3
- data/app/assets/javascripts/hyrax.js +1 -19
- data/app/assets/stylesheets/_bootstrap-default-overrides.scss +4 -4
- data/app/assets/stylesheets/hyrax/_accessibility.scss +1 -1
- data/app/assets/stylesheets/hyrax/_badge.scss +7 -0
- data/app/assets/stylesheets/hyrax/_batch-edit.scss +8 -8
- data/app/assets/stylesheets/hyrax/_browse_everything_overrides.scss +1 -1
- data/app/assets/stylesheets/hyrax/_buttons.scss +31 -1
- data/app/assets/stylesheets/hyrax/_card.scss +10 -0
- data/app/assets/stylesheets/hyrax/_catalog.scss +22 -48
- data/app/assets/stylesheets/hyrax/_collection_types.scss +1 -1
- data/app/assets/stylesheets/hyrax/_collections.scss +13 -13
- data/app/assets/stylesheets/hyrax/_facets.scss +46 -0
- data/app/assets/stylesheets/hyrax/_featured.scss +1 -1
- data/app/assets/stylesheets/hyrax/_file-listing.scss +3 -3
- data/app/assets/stylesheets/hyrax/_file_manager.scss +17 -17
- data/app/assets/stylesheets/hyrax/_file_sets.scss +1 -1
- data/app/assets/stylesheets/hyrax/_file_upload.scss +4 -4
- data/app/assets/stylesheets/hyrax/_fixedsticky.scss +1 -1
- data/app/assets/stylesheets/hyrax/_footer.scss +3 -3
- data/app/assets/stylesheets/hyrax/_form-progress.scss +9 -9
- data/app/assets/stylesheets/hyrax/_form.scss +3 -4
- data/app/assets/stylesheets/hyrax/_forms.scss +62 -29
- data/app/assets/stylesheets/hyrax/_header.scss +0 -17
- data/app/assets/stylesheets/hyrax/_home-page.scss +13 -51
- data/app/assets/stylesheets/hyrax/_html.scss +11 -0
- data/app/assets/stylesheets/hyrax/_hyrax.scss +16 -14
- data/app/assets/stylesheets/hyrax/_nestable.scss +1 -1
- data/app/assets/stylesheets/hyrax/_select_work_type.scss +2 -2
- data/app/assets/stylesheets/hyrax/_styles.scss +9 -14
- data/app/assets/stylesheets/hyrax/_users.scss +2 -2
- data/app/assets/stylesheets/hyrax/_variables.scss +20 -1
- data/app/assets/stylesheets/hyrax/_work-show.scss +21 -13
- data/app/assets/stylesheets/hyrax/blacklight_gallery.scss +75 -2
- data/app/assets/stylesheets/hyrax/dashboard.scss +70 -95
- data/app/assets/stylesheets/hyrax/sidebar.scss +39 -19
- data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +9 -0
- data/app/controllers/concerns/hyrax/works_controller_behavior.rb +4 -9
- data/app/controllers/hyrax/batch_edits_controller.rb +1 -1
- data/app/controllers/hyrax/dashboard/nest_collections_controller.rb +0 -32
- data/app/controllers/hyrax/file_sets_controller.rb +3 -0
- data/app/controllers/hyrax/homepage_controller.rb +0 -1
- data/app/controllers/hyrax/my_controller.rb +0 -6
- data/app/controllers/hyrax/single_use_links_controller.rb +1 -2
- data/app/forms/hyrax/forms/collection_form.rb +1 -1
- data/app/helpers/hyrax/facets_helper.rb +150 -0
- data/app/helpers/hyrax/hyrax_helper_behavior.rb +5 -5
- data/app/indexers/hyrax/basic_metadata_indexer.rb +3 -9
- data/app/jobs/characterize_job.rb +4 -7
- data/app/jobs/create_derivatives_job.rb +4 -2
- data/app/jobs/ingest_local_file_job.rb +5 -13
- data/app/jobs/inherit_permissions_job.rb +1 -5
- data/app/models/admin_set.rb +0 -8
- data/app/models/concerns/hyrax/collection_behavior.rb +1 -1
- data/app/models/concerns/hyrax/file_set_behavior.rb +1 -1
- data/app/models/concerns/hyrax/in_admin_set.rb +0 -7
- data/app/models/concerns/hyrax/user.rb +3 -3
- data/app/models/concerns/hyrax/work_behavior.rb +0 -1
- data/app/models/content_block.rb +0 -6
- data/app/models/hyrax/file_metadata.rb +1 -1
- data/app/models/hyrax/permission_template.rb +0 -35
- data/app/presenters/hyrax/admin/repository_object_presenter.rb +0 -2
- data/app/presenters/hyrax/collapsable_section_presenter.rb +2 -2
- data/app/presenters/hyrax/collection_presenter.rb +1 -1
- data/app/presenters/hyrax/fixity_status_presenter.rb +2 -2
- data/app/presenters/hyrax/menu_presenter.rb +1 -1
- data/app/presenters/hyrax/permission_badge.rb +7 -7
- data/app/presenters/hyrax/workflow_presenter.rb +1 -1
- data/app/renderers/hyrax/renderers/external_link_attribute_renderer.rb +1 -1
- data/app/search_builders/hyrax/deposit_search_builder.rb +1 -1
- data/app/search_builders/hyrax/nested_collections_parent_search_builder.rb +10 -1
- data/app/search_builders/hyrax/single_result.rb +1 -1
- data/app/search_builders/hyrax/stats/work_status_search_builder.rb +1 -1
- data/app/services/hyrax/adapters/nesting_index_adapter.rb +1 -1
- data/app/services/hyrax/collection_member_service.rb +1 -2
- data/app/services/hyrax/collections/search_service.rb +0 -1
- data/app/services/hyrax/custom_queries.rb +25 -0
- data/app/services/hyrax/file_set_csv_service.rb +1 -1
- data/app/services/hyrax/graph_exporter.rb +3 -8
- data/app/services/hyrax/iiif_authorization_service.rb +1 -1
- data/app/services/hyrax/listeners/file_metadata_listener.rb +0 -11
- data/app/services/hyrax/search_service.rb +1 -81
- data/app/services/hyrax/statistics/depositors/summary.rb +1 -3
- data/app/services/hyrax/valkyrie_upload.rb +13 -1
- data/app/services/hyrax/work_query_service.rb +1 -1
- data/app/services/hyrax/working_directory.rb +2 -0
- data/app/views/_controls.html.erb +14 -18
- data/app/views/_logo.html.erb +0 -1
- data/app/views/_masthead.html.erb +8 -18
- data/app/views/_user_util_links.html.erb +16 -18
- data/app/views/catalog/_document.html.erb +2 -2
- data/app/views/catalog/_document_list.html.erb +1 -1
- data/app/views/catalog/_facet_limit.html.erb +1 -1
- data/app/views/catalog/_index_gallery_collection_wrapper.html.erb +1 -1
- data/app/views/catalog/_index_header_list_collection.html.erb +2 -2
- data/app/views/catalog/_index_header_list_default.html.erb +1 -1
- data/app/views/catalog/_index_list_default.html.erb +7 -5
- data/app/views/catalog/_search_form.html.erb +13 -15
- data/app/views/catalog/_thumbnail_list_collection.html.erb +2 -2
- data/app/views/catalog/_thumbnail_list_default.html.erb +3 -3
- data/app/views/catalog/facet.html.erb +21 -0
- data/app/views/catalog/index.html.erb +6 -4
- data/app/views/hyrax/admin/admin_sets/_form.html.erb +16 -16
- data/app/views/hyrax/admin/admin_sets/_form_participant_table.html.erb +35 -33
- data/app/views/hyrax/admin/admin_sets/_form_participants.html.erb +9 -8
- data/app/views/hyrax/admin/admin_sets/_form_visibility.html.erb +24 -24
- data/app/views/hyrax/admin/admin_sets/_form_workflow.erb +5 -5
- data/app/views/hyrax/admin/admin_sets/_show_actions.html.erb +3 -3
- data/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb +9 -9
- data/app/views/hyrax/admin/admin_sets/index.html.erb +3 -3
- data/app/views/hyrax/admin/admin_sets/show.html.erb +4 -4
- data/app/views/hyrax/admin/analytics/_date_range_form.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/collection_reports/_custom_range.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/collection_reports/_summary.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/collection_reports/_top_collections.html.erb +7 -7
- data/app/views/hyrax/admin/analytics/collection_reports/index.html.erb +6 -6
- data/app/views/hyrax/admin/analytics/collection_reports/show.html.erb +10 -10
- data/app/views/hyrax/admin/analytics/work_reports/_custom_range.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/work_reports/_monthly_summary.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/work_reports/_summary.html.erb +3 -3
- data/app/views/hyrax/admin/analytics/work_reports/_top_file_set_downloads.html.erb +5 -5
- data/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb +7 -7
- data/app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb +4 -4
- data/app/views/hyrax/admin/analytics/work_reports/_work_files.html.erb +5 -5
- data/app/views/hyrax/admin/analytics/work_reports/index.html.erb +7 -7
- data/app/views/hyrax/admin/analytics/work_reports/show.html.erb +10 -10
- data/app/views/hyrax/admin/appearances/show.html.erb +2 -2
- data/app/views/hyrax/admin/collection_types/_form.html.erb +24 -23
- data/app/views/hyrax/admin/collection_types/_form_appearance.html.erb +2 -2
- data/app/views/hyrax/admin/collection_types/_form_participants.html.erb +4 -4
- data/app/views/hyrax/admin/collection_types/_form_settings.html.erb +9 -9
- data/app/views/hyrax/admin/collection_types/index.html.erb +6 -6
- data/app/views/hyrax/admin/features/index.html.erb +3 -3
- data/app/views/hyrax/admin/stats/_new_users.html.erb +1 -1
- data/app/views/hyrax/admin/stats/show.html.erb +4 -6
- data/app/views/hyrax/admin/users/index.html.erb +3 -3
- data/app/views/hyrax/admin/workflow_roles/index.html.erb +8 -8
- data/app/views/hyrax/admin/workflows/index.html.erb +13 -13
- data/app/views/hyrax/base/_citations.html.erb +6 -6
- data/app/views/hyrax/base/_currently_shared.html.erb +3 -3
- data/app/views/hyrax/base/_file_manager_actions.html.erb +5 -3
- data/app/views/hyrax/base/_file_manager_member.html.erb +5 -5
- data/app/views/hyrax/base/_file_manager_member_resource_options.html.erb +6 -6
- data/app/views/hyrax/base/_file_manager_members.html.erb +1 -1
- data/app/views/hyrax/base/_file_manager_thumbnail.html.erb +1 -1
- data/app/views/hyrax/base/_form_child_work_relationships.html.erb +3 -3
- data/app/views/hyrax/base/_form_files.html.erb +9 -9
- data/app/views/hyrax/base/_form_member_of_collections.html.erb +3 -3
- data/app/views/hyrax/base/_form_metadata.html.erb +1 -1
- data/app/views/hyrax/base/_form_permission.html.erb +30 -20
- data/app/views/hyrax/base/_form_permission_under_embargo.html.erb +1 -1
- data/app/views/hyrax/base/_form_permission_under_lease.html.erb +1 -1
- data/app/views/hyrax/base/_form_progress.html.erb +6 -6
- data/app/views/hyrax/base/_form_relationships.html.erb +1 -1
- data/app/views/hyrax/base/_form_rendering.html.erb +1 -1
- data/app/views/hyrax/base/_form_representative.html.erb +1 -1
- data/app/views/hyrax/base/_form_share.html.erb +6 -6
- data/app/views/hyrax/base/_form_thumbnail.html.erb +1 -1
- data/app/views/hyrax/base/_form_visibility_component.html.erb +15 -15
- data/app/views/hyrax/base/_guts4form.html.erb +12 -20
- data/app/views/hyrax/base/_member.html.erb +1 -1
- data/app/views/hyrax/base/_metadata.html.erb +1 -1
- data/app/views/hyrax/base/_show_actions.html.erb +9 -9
- data/app/views/hyrax/base/_work_button_row.html.erb +16 -15
- data/app/views/hyrax/base/_workflow_actions.html.erb +10 -10
- data/app/views/hyrax/base/_workflow_actions_widget.erb +1 -1
- data/app/views/hyrax/base/file_manager.html.erb +4 -5
- data/app/views/hyrax/base/inspect_work.html.erb +1 -1
- data/app/views/hyrax/base/show.html.erb +12 -12
- data/app/views/hyrax/base/unavailable.html.erb +2 -2
- data/app/views/hyrax/batch_edits/_check_all.html.erb +0 -1
- data/app/views/hyrax/batch_edits/_delete_selected.html.erb +1 -1
- data/app/views/hyrax/batch_edits/edit.html.erb +26 -18
- data/app/views/hyrax/collections/_bookmark_control.html.erb +2 -2
- data/app/views/hyrax/collections/_list_collections.html.erb +6 -6
- data/app/views/hyrax/collections/_list_works.html.erb +3 -1
- data/app/views/hyrax/collections/_search_form.html.erb +4 -4
- data/app/views/hyrax/collections/_show_document_list_row.html.erb +5 -2
- data/app/views/hyrax/collections/_sort_and_per_page.html.erb +3 -3
- data/app/views/hyrax/collections/_view_type_group.html.erb +2 -2
- data/app/views/hyrax/contact_form/new.html.erb +12 -13
- data/app/views/hyrax/content_blocks/_form.html.erb +29 -23
- data/app/views/hyrax/content_blocks/templates/agreement.html.erb +3 -3
- data/app/views/hyrax/dashboard/_admin_sets.html.erb +22 -28
- data/app/views/hyrax/dashboard/_index_partials/_current_proxy_rights.html.erb +2 -2
- data/app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb +4 -4
- data/app/views/hyrax/dashboard/_index_partials/_transfers.html.erb +2 -2
- data/app/views/hyrax/dashboard/_repository_growth.html.erb +28 -28
- data/app/views/hyrax/dashboard/_resource_type_graph.html.erb +4 -4
- data/app/views/hyrax/dashboard/_sidebar.html.erb +3 -3
- data/app/views/hyrax/dashboard/_tabs.html.erb +6 -2
- data/app/views/hyrax/dashboard/_user_activity.html.erb +22 -19
- data/app/views/hyrax/dashboard/_visibility_graph.html.erb +4 -4
- data/app/views/hyrax/dashboard/_work_type_graph.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_batch_edits_actions.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_bookmark_control.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_edit_actions.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_form.html.erb +30 -22
- data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +19 -19
- data/app/views/hyrax/dashboard/collections/_form_discovery.html.erb +8 -4
- data/app/views/hyrax/dashboard/collections/_form_for_select_collection.html.erb +7 -7
- data/app/views/hyrax/dashboard/collections/_form_share.html.erb +11 -9
- data/app/views/hyrax/dashboard/collections/_form_share_table.html.erb +34 -31
- data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_list_works.html.erb +3 -1
- data/app/views/hyrax/dashboard/collections/_modal_remove_from_collection.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_modal_remove_sub_collection.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_show_add_items_actions.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_show_descriptions.html.erb +5 -3
- data/app/views/hyrax/dashboard/collections/_show_document_list_menu.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +12 -10
- data/app/views/hyrax/dashboard/collections/_show_parent_collection_row.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_subcollection_list.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_work_action_menu.html.erb +10 -10
- data/app/views/hyrax/dashboard/collections/show.html.erb +4 -4
- data/app/views/hyrax/dashboard/profiles/_edit_primary.html.erb +21 -21
- data/app/views/hyrax/dashboard/profiles/_trophy_edit.html.erb +5 -5
- data/app/views/hyrax/dashboard/profiles/_zotero.html.erb +2 -2
- data/app/views/hyrax/dashboard/profiles/edit.html.erb +2 -2
- data/app/views/hyrax/dashboard/profiles/show.html.erb +3 -3
- data/app/views/hyrax/dashboard/show_admin.html.erb +36 -34
- data/app/views/hyrax/dashboard/show_user.html.erb +16 -16
- data/app/views/hyrax/dashboard/sidebar/_activity.html.erb +10 -10
- data/app/views/hyrax/dashboard/sidebar/_configuration.html.erb +8 -8
- data/app/views/hyrax/dashboard/sidebar/_repository_content.html.erb +3 -1
- data/app/views/hyrax/dashboard/sidebar/_tasks.html.erb +5 -1
- data/app/views/hyrax/dashboard/works/_list_works.html.erb +4 -1
- data/app/views/hyrax/depositors/index.html.erb +2 -2
- data/app/views/hyrax/embargoes/edit.html.erb +11 -11
- data/app/views/hyrax/embargoes/index.html.erb +18 -6
- data/app/views/hyrax/file_sets/_actions.html.erb +5 -6
- data/app/views/hyrax/file_sets/_descriptions.html.erb +1 -1
- data/app/views/hyrax/file_sets/_extra_fields_modal.html.erb +1 -1
- data/app/views/hyrax/file_sets/_form.html.erb +1 -1
- data/app/views/hyrax/file_sets/_permission_form.html.erb +33 -29
- data/app/views/hyrax/file_sets/_show_actions.html.erb +2 -2
- data/app/views/hyrax/file_sets/_show_details.html.erb +27 -17
- data/app/views/hyrax/file_sets/_single_use_link_rows.html.erb +2 -2
- data/app/views/hyrax/file_sets/_single_use_links.html.erb +2 -2
- data/app/views/hyrax/file_sets/_versioning.html.erb +9 -9
- data/app/views/hyrax/file_sets/edit.html.erb +17 -11
- data/app/views/hyrax/file_sets/media_display/_image.html.erb +4 -4
- data/app/views/hyrax/file_sets/show.html.erb +2 -2
- data/app/views/hyrax/homepage/_announcement.html.erb +2 -2
- data/app/views/hyrax/homepage/_explore_collections.html.erb +6 -4
- data/app/views/hyrax/homepage/_featured_fields.html.erb +1 -1
- data/app/views/hyrax/homepage/_featured_works.html.erb +1 -1
- data/app/views/hyrax/homepage/_home_content.html.erb +24 -10
- data/app/views/hyrax/homepage/_marketing.html.erb +1 -1
- data/app/views/hyrax/homepage/_recent_document.html.erb +4 -1
- data/app/views/hyrax/homepage/_sortable_featured.html.erb +3 -3
- data/app/views/hyrax/homepage/index.html.erb +4 -4
- data/app/views/hyrax/leases/edit.html.erb +11 -11
- data/app/views/hyrax/leases/index.html.erb +18 -6
- data/app/views/hyrax/my/_admin_set_action_menu.html.erb +5 -5
- data/app/views/hyrax/my/_collection_action_menu.html.erb +6 -6
- data/app/views/hyrax/my/_constraints.html.erb +2 -2
- data/app/views/hyrax/my/_document_list.html.erb +1 -1
- data/app/views/hyrax/my/_facet_layout.html.erb +1 -2
- data/app/views/hyrax/my/_facet_limit.html.erb +4 -4
- data/app/views/hyrax/my/_facet_pagination.html.erb +1 -25
- data/app/views/hyrax/my/_facet_pivot.html.erb +1 -1
- data/app/views/hyrax/my/_facet_selected.html.erb +1 -1
- data/app/views/hyrax/my/_search_form.html.erb +7 -8
- data/app/views/hyrax/my/_sort_and_per_page.html.erb +10 -12
- data/app/views/hyrax/my/_work_action_menu.html.erb +4 -5
- data/app/views/hyrax/my/collections/_facets.html.erb +2 -2
- data/app/views/hyrax/my/collections/_list_collections.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +2 -2
- data/app/views/hyrax/my/collections/_modal_add_to_collection.html.erb +2 -2
- data/app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb +5 -5
- data/app/views/hyrax/my/collections/_modal_delete_collection.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_delete_empty_collection.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_delete_selected_collections.html.erb +1 -1
- data/app/views/hyrax/my/collections/_tabs.html.erb +11 -4
- data/app/views/hyrax/my/collections/index.html.erb +3 -3
- data/app/views/hyrax/my/facet.html.erb +17 -16
- data/app/views/hyrax/my/index.html.erb +2 -2
- data/app/views/hyrax/my/works/_batch_actions.html.erb +1 -1
- data/app/views/hyrax/my/works/_facets.html.erb +2 -2
- data/app/views/hyrax/my/works/_list_works.html.erb +6 -7
- data/app/views/hyrax/my/works/_tabs.html.erb +6 -6
- data/app/views/hyrax/my/works/index.html.erb +20 -18
- data/app/views/hyrax/notifications/_notifications.html.erb +1 -1
- data/app/views/hyrax/notifications/index.html.erb +4 -4
- data/app/views/hyrax/operations/index.html.erb +1 -1
- data/app/views/hyrax/operations/show.html.erb +2 -2
- data/app/views/hyrax/pages/_form.html.erb +76 -64
- data/app/views/hyrax/permissions/confirm.html.erb +4 -4
- data/app/views/hyrax/permissions/confirm_access.html.erb +4 -4
- data/app/views/hyrax/stats/file.html.erb +1 -1
- data/app/views/hyrax/stats/work.html.erb +1 -1
- data/app/views/hyrax/transfers/_received.html.erb +4 -4
- data/app/views/hyrax/transfers/index.html.erb +8 -8
- data/app/views/hyrax/uploads/_js_templates.html.erb +14 -14
- data/app/views/hyrax/uploads/_js_templates_branding.html.erb +5 -5
- data/app/views/hyrax/uploads/_js_templates_versioning.html.erb +15 -15
- data/app/views/hyrax/users/_activity.html.erb +3 -3
- data/app/views/hyrax/users/_contributions.html.erb +3 -3
- data/app/views/hyrax/users/_left_sidebar.html.erb +1 -1
- data/app/views/hyrax/users/_profile_tabs.html.erb +16 -8
- data/app/views/hyrax/users/_search_form.html.erb +2 -2
- data/app/views/hyrax/users/_user.html.erb +5 -5
- data/app/views/hyrax/users/_user_info.html.erb +4 -4
- data/app/views/hyrax/users/_vitals.html.erb +3 -3
- data/app/views/hyrax/users/show.html.erb +2 -2
- data/app/views/layouts/hyrax/dashboard.html.erb +4 -4
- data/app/views/layouts/hyrax.html.erb +4 -3
- data/app/views/shared/_appearance_styles.html.erb +8 -8
- data/app/views/shared/_footer.html.erb +1 -1
- data/app/views/shared/_locale_picker.html.erb +5 -8
- data/app/views/shared/_nav_safety_modal.html.erb +2 -2
- data/app/views/shared/_select_work_type_modal.html.erb +2 -2
- data/config/locales/hyrax.de.yml +4 -4
- data/config/locales/hyrax.en.yml +4 -4
- data/config/locales/hyrax.es.yml +6 -6
- data/config/locales/hyrax.fr.yml +7 -7
- data/config/locales/hyrax.it.yml +6 -6
- data/config/locales/hyrax.pt-BR.yml +6 -6
- data/config/locales/hyrax.zh.yml +6 -6
- data/docker-compose.yml +2 -1
- data/documentation/developing-your-hyrax-based-app.md +1 -1
- data/documentation/legacyREADME.md +1 -1
- data/hyrax.gemspec +12 -21
- data/karma.conf.js +104 -0
- data/lib/generators/hyrax/assets_generator.rb +2 -5
- data/lib/generators/hyrax/install_generator.rb +9 -33
- data/lib/generators/hyrax/templates/catalog_controller.rb +20 -13
- data/lib/generators/hyrax/templates/config/initializers/riiif.rb +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.de.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.en.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.es.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.fr.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.it.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.pt-BR.yml +1 -1
- data/lib/generators/hyrax/templates/config/locales/hyrax.zh.yml +1 -1
- data/lib/generators/hyrax/templates/hyrax.scss +1 -2
- data/lib/generators/hyrax/templates/package.json +7 -8
- data/lib/hyrax/configuration.rb +0 -40
- data/lib/hyrax/engine.rb +1 -2
- data/lib/hyrax/publisher.rb +0 -4
- data/lib/hyrax/specs/capybara.rb +5 -3
- data/lib/hyrax/transactions/container.rb +0 -54
- data/lib/hyrax/version.rb +1 -1
- data/lib/valkyrie/indexing/solr/indexing_adapter.rb +1 -1
- data/lib/wings/valkyrie/persister.rb +2 -1
- data/package.json +11 -0
- data/tasks/hyrax_dev.rake +32 -0
- data/template.rb +1 -1
- data/vendor/assets/javascripts/dataTables.bootstrap4.js +184 -0
- data/vendor/assets/javascripts/fileupload/jquery.fileupload-ui.js +1 -1
- data/vendor/assets/javascripts/fileupload/jquery.fileupload.js +2 -2
- data/vendor/assets/javascripts/fileupload/jquery.iframe-transport.js +1 -1
- data/vendor/assets/javascripts/handlebars.js +5214 -0
- data/vendor/assets/javascripts/jquery-ui.js +19057 -0
- data/vendor/assets/javascripts/jquery.dataTables.js +15336 -0
- data/vendor/assets/javascripts/morris/morris.min.js +9 -1
- data/vendor/assets/javascripts/morris/raphael-min.js +4 -6
- data/vendor/assets/javascripts/nestable.js +1 -1
- data/vendor/assets/stylesheets/dataTables.bootstrap4.css +307 -0
- data/vendor/assets/stylesheets/jquery-ui.css +1315 -0
- data/vendor/assets/stylesheets/morris.css +3 -0
- metadata +92 -172
- data/app/actors/hyrax/actors/initialize_workflow_actor.rb +0 -35
- data/app/helpers/hyrax/url_helper.rb +0 -13
- data/app/jobs/content_depositor_change_event_job.rb +0 -48
- data/app/models/concerns/hyrax/with_file_sets.rb +0 -17
- data/lib/hyrax/transactions/create_work.rb +0 -65
- data/lib/hyrax/transactions/destroy_work.rb +0 -28
- data/lib/hyrax/transactions/steps/apply_collection_permission_template.rb +0 -34
- data/lib/hyrax/transactions/steps/apply_permission_template.rb +0 -32
- data/lib/hyrax/transactions/steps/apply_visibility.rb +0 -41
- data/lib/hyrax/transactions/steps/destroy_work.rb +0 -27
- data/lib/hyrax/transactions/steps/ensure_permission_template.rb +0 -29
- data/lib/hyrax/transactions/steps/save_work.rb +0 -38
- data/lib/hyrax/transactions/update_work.rb +0 -19
- data/lib/wings/services/file_converter_service.rb +0 -19
- data/lib/wings/services/file_metadata_builder.rb +0 -94
- data/vendor/assets/javascripts/handlebars-v4.0.5.js +0 -4612
- data/vendor/assets/stylesheets/morris.js/0.5.1/morris.css +0 -2
@@ -0,0 +1,3 @@
|
|
1
|
+
.morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0}
|
2
|
+
.morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0}
|
3
|
+
@media print{.morris-hover{display:none}}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyrax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2022-
|
17
|
+
date: 2022-07-06 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rails
|
@@ -22,14 +22,14 @@ dependencies:
|
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '
|
25
|
+
version: '6.0'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: active-fedora
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,30 +82,30 @@ dependencies:
|
|
82
82
|
name: blacklight
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- - "
|
85
|
+
- - "<"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
87
|
+
version: '7.25'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- - "
|
92
|
+
- - "<"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
94
|
+
version: '7.25'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: blacklight-gallery
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '0
|
101
|
+
version: '4.0'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: '0
|
108
|
+
version: '4.0'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: breadcrumbs_on_rails
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -314,20 +314,14 @@ dependencies:
|
|
314
314
|
requirements:
|
315
315
|
- - "~>"
|
316
316
|
- !ruby/object:Gem::Version
|
317
|
-
version: '
|
318
|
-
- - ">="
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 5.0.4
|
317
|
+
version: '6.0'
|
321
318
|
type: :runtime
|
322
319
|
prerelease: false
|
323
320
|
version_requirements: !ruby/object:Gem::Requirement
|
324
321
|
requirements:
|
325
322
|
- - "~>"
|
326
323
|
- !ruby/object:Gem::Version
|
327
|
-
version: '
|
328
|
-
- - ">="
|
329
|
-
- !ruby/object:Gem::Version
|
330
|
-
version: 5.0.4
|
324
|
+
version: '6.0'
|
331
325
|
- !ruby/object:Gem::Dependency
|
332
326
|
name: hydra-file_characterization
|
333
327
|
requirement: !ruby/object:Gem::Requirement
|
@@ -348,20 +342,14 @@ dependencies:
|
|
348
342
|
requirements:
|
349
343
|
- - "~>"
|
350
344
|
- !ruby/object:Gem::Version
|
351
|
-
version: '
|
352
|
-
- - ">="
|
353
|
-
- !ruby/object:Gem::Version
|
354
|
-
version: 11.0.1
|
345
|
+
version: '12.0'
|
355
346
|
type: :runtime
|
356
347
|
prerelease: false
|
357
348
|
version_requirements: !ruby/object:Gem::Requirement
|
358
349
|
requirements:
|
359
350
|
- - "~>"
|
360
351
|
- !ruby/object:Gem::Version
|
361
|
-
version: '
|
362
|
-
- - ">="
|
363
|
-
- !ruby/object:Gem::Version
|
364
|
-
version: 11.0.1
|
352
|
+
version: '12.0'
|
365
353
|
- !ruby/object:Gem::Dependency
|
366
354
|
name: hydra-works
|
367
355
|
requirement: !ruby/object:Gem::Requirement
|
@@ -396,48 +384,6 @@ dependencies:
|
|
396
384
|
- - "<"
|
397
385
|
- !ruby/object:Gem::Version
|
398
386
|
version: '2.0'
|
399
|
-
- !ruby/object:Gem::Dependency
|
400
|
-
name: jquery-datatables-rails
|
401
|
-
requirement: !ruby/object:Gem::Requirement
|
402
|
-
requirements:
|
403
|
-
- - "~>"
|
404
|
-
- !ruby/object:Gem::Version
|
405
|
-
version: '3.4'
|
406
|
-
type: :runtime
|
407
|
-
prerelease: false
|
408
|
-
version_requirements: !ruby/object:Gem::Requirement
|
409
|
-
requirements:
|
410
|
-
- - "~>"
|
411
|
-
- !ruby/object:Gem::Version
|
412
|
-
version: '3.4'
|
413
|
-
- !ruby/object:Gem::Dependency
|
414
|
-
name: jquery-ui-rails
|
415
|
-
requirement: !ruby/object:Gem::Requirement
|
416
|
-
requirements:
|
417
|
-
- - "~>"
|
418
|
-
- !ruby/object:Gem::Version
|
419
|
-
version: '6.0'
|
420
|
-
type: :runtime
|
421
|
-
prerelease: false
|
422
|
-
version_requirements: !ruby/object:Gem::Requirement
|
423
|
-
requirements:
|
424
|
-
- - "~>"
|
425
|
-
- !ruby/object:Gem::Version
|
426
|
-
version: '6.0'
|
427
|
-
- !ruby/object:Gem::Dependency
|
428
|
-
name: json-ld
|
429
|
-
requirement: !ruby/object:Gem::Requirement
|
430
|
-
requirements:
|
431
|
-
- - "<"
|
432
|
-
- !ruby/object:Gem::Version
|
433
|
-
version: '3.2'
|
434
|
-
type: :runtime
|
435
|
-
prerelease: false
|
436
|
-
version_requirements: !ruby/object:Gem::Requirement
|
437
|
-
requirements:
|
438
|
-
- - "<"
|
439
|
-
- !ruby/object:Gem::Version
|
440
|
-
version: '3.2'
|
441
387
|
- !ruby/object:Gem::Dependency
|
442
388
|
name: json-schema
|
443
389
|
requirement: !ruby/object:Gem::Requirement
|
@@ -565,7 +511,7 @@ dependencies:
|
|
565
511
|
- !ruby/object:Gem::Version
|
566
512
|
version: '1.2'
|
567
513
|
- !ruby/object:Gem::Dependency
|
568
|
-
name:
|
514
|
+
name: openseadragon
|
569
515
|
requirement: !ruby/object:Gem::Requirement
|
570
516
|
requirements:
|
571
517
|
- - ">="
|
@@ -579,39 +525,39 @@ dependencies:
|
|
579
525
|
- !ruby/object:Gem::Version
|
580
526
|
version: '0'
|
581
527
|
- !ruby/object:Gem::Dependency
|
582
|
-
name:
|
528
|
+
name: posix-spawn
|
583
529
|
requirement: !ruby/object:Gem::Requirement
|
584
530
|
requirements:
|
585
|
-
- - "~>"
|
586
|
-
- !ruby/object:Gem::Version
|
587
|
-
version: '0.1'
|
588
531
|
- - ">="
|
589
532
|
- !ruby/object:Gem::Version
|
590
|
-
version: 0
|
533
|
+
version: '0'
|
591
534
|
type: :runtime
|
592
535
|
prerelease: false
|
593
536
|
version_requirements: !ruby/object:Gem::Requirement
|
594
537
|
requirements:
|
595
|
-
- - "~>"
|
596
|
-
- !ruby/object:Gem::Version
|
597
|
-
version: '0.1'
|
598
538
|
- - ">="
|
599
539
|
- !ruby/object:Gem::Version
|
600
|
-
version: 0
|
540
|
+
version: '0'
|
601
541
|
- !ruby/object:Gem::Dependency
|
602
|
-
name:
|
542
|
+
name: power_converter
|
603
543
|
requirement: !ruby/object:Gem::Requirement
|
604
544
|
requirements:
|
605
545
|
- - "~>"
|
606
546
|
- !ruby/object:Gem::Version
|
607
|
-
version: '
|
547
|
+
version: '0.1'
|
548
|
+
- - ">="
|
549
|
+
- !ruby/object:Gem::Version
|
550
|
+
version: 0.1.2
|
608
551
|
type: :runtime
|
609
552
|
prerelease: false
|
610
553
|
version_requirements: !ruby/object:Gem::Requirement
|
611
554
|
requirements:
|
612
555
|
- - "~>"
|
613
556
|
- !ruby/object:Gem::Version
|
614
|
-
version: '
|
557
|
+
version: '0.1'
|
558
|
+
- - ">="
|
559
|
+
- !ruby/object:Gem::Version
|
560
|
+
version: 0.1.2
|
615
561
|
- !ruby/object:Gem::Dependency
|
616
562
|
name: qa
|
617
563
|
requirement: !ruby/object:Gem::Requirement
|
@@ -764,20 +710,6 @@ dependencies:
|
|
764
710
|
- - "~>"
|
765
711
|
- !ruby/object:Gem::Version
|
766
712
|
version: '2.0'
|
767
|
-
- !ruby/object:Gem::Dependency
|
768
|
-
name: select2-rails
|
769
|
-
requirement: !ruby/object:Gem::Requirement
|
770
|
-
requirements:
|
771
|
-
- - "~>"
|
772
|
-
- !ruby/object:Gem::Version
|
773
|
-
version: '3.5'
|
774
|
-
type: :runtime
|
775
|
-
prerelease: false
|
776
|
-
version_requirements: !ruby/object:Gem::Requirement
|
777
|
-
requirements:
|
778
|
-
- - "~>"
|
779
|
-
- !ruby/object:Gem::Version
|
780
|
-
version: '3.5'
|
781
713
|
- !ruby/object:Gem::Dependency
|
782
714
|
name: signet
|
783
715
|
requirement: !ruby/object:Gem::Requirement
|
@@ -826,6 +758,48 @@ dependencies:
|
|
826
758
|
- - ">="
|
827
759
|
- !ruby/object:Gem::Version
|
828
760
|
version: 2.1.1
|
761
|
+
- !ruby/object:Gem::Dependency
|
762
|
+
name: sprockets
|
763
|
+
requirement: !ruby/object:Gem::Requirement
|
764
|
+
requirements:
|
765
|
+
- - "~>"
|
766
|
+
- !ruby/object:Gem::Version
|
767
|
+
version: '3.7'
|
768
|
+
type: :runtime
|
769
|
+
prerelease: false
|
770
|
+
version_requirements: !ruby/object:Gem::Requirement
|
771
|
+
requirements:
|
772
|
+
- - "~>"
|
773
|
+
- !ruby/object:Gem::Version
|
774
|
+
version: '3.7'
|
775
|
+
- !ruby/object:Gem::Dependency
|
776
|
+
name: sass-rails
|
777
|
+
requirement: !ruby/object:Gem::Requirement
|
778
|
+
requirements:
|
779
|
+
- - "~>"
|
780
|
+
- !ruby/object:Gem::Version
|
781
|
+
version: '6.0'
|
782
|
+
type: :runtime
|
783
|
+
prerelease: false
|
784
|
+
version_requirements: !ruby/object:Gem::Requirement
|
785
|
+
requirements:
|
786
|
+
- - "~>"
|
787
|
+
- !ruby/object:Gem::Version
|
788
|
+
version: '6.0'
|
789
|
+
- !ruby/object:Gem::Dependency
|
790
|
+
name: select2-rails
|
791
|
+
requirement: !ruby/object:Gem::Requirement
|
792
|
+
requirements:
|
793
|
+
- - "~>"
|
794
|
+
- !ruby/object:Gem::Version
|
795
|
+
version: '3.5'
|
796
|
+
type: :runtime
|
797
|
+
prerelease: false
|
798
|
+
version_requirements: !ruby/object:Gem::Requirement
|
799
|
+
requirements:
|
800
|
+
- - "~>"
|
801
|
+
- !ruby/object:Gem::Version
|
802
|
+
version: '3.5'
|
829
803
|
- !ruby/object:Gem::Dependency
|
830
804
|
name: capybara
|
831
805
|
requirement: !ruby/object:Gem::Requirement
|
@@ -930,46 +904,6 @@ dependencies:
|
|
930
904
|
- - ">="
|
931
905
|
- !ruby/object:Gem::Version
|
932
906
|
version: 0.5.1
|
933
|
-
- !ruby/object:Gem::Dependency
|
934
|
-
name: jasmine
|
935
|
-
requirement: !ruby/object:Gem::Requirement
|
936
|
-
requirements:
|
937
|
-
- - "~>"
|
938
|
-
- !ruby/object:Gem::Version
|
939
|
-
version: '2.3'
|
940
|
-
- - "<"
|
941
|
-
- !ruby/object:Gem::Version
|
942
|
-
version: '2.99'
|
943
|
-
type: :development
|
944
|
-
prerelease: false
|
945
|
-
version_requirements: !ruby/object:Gem::Requirement
|
946
|
-
requirements:
|
947
|
-
- - "~>"
|
948
|
-
- !ruby/object:Gem::Version
|
949
|
-
version: '2.3'
|
950
|
-
- - "<"
|
951
|
-
- !ruby/object:Gem::Version
|
952
|
-
version: '2.99'
|
953
|
-
- !ruby/object:Gem::Dependency
|
954
|
-
name: jasmine-core
|
955
|
-
requirement: !ruby/object:Gem::Requirement
|
956
|
-
requirements:
|
957
|
-
- - "~>"
|
958
|
-
- !ruby/object:Gem::Version
|
959
|
-
version: '2.3'
|
960
|
-
- - "<"
|
961
|
-
- !ruby/object:Gem::Version
|
962
|
-
version: '2.99'
|
963
|
-
type: :development
|
964
|
-
prerelease: false
|
965
|
-
version_requirements: !ruby/object:Gem::Requirement
|
966
|
-
requirements:
|
967
|
-
- - "~>"
|
968
|
-
- !ruby/object:Gem::Version
|
969
|
-
version: '2.3'
|
970
|
-
- - "<"
|
971
|
-
- !ruby/object:Gem::Version
|
972
|
-
version: '2.99'
|
973
907
|
- !ruby/object:Gem::Dependency
|
974
908
|
name: mida
|
975
909
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1046,14 +980,14 @@ dependencies:
|
|
1046
980
|
requirements:
|
1047
981
|
- - "~>"
|
1048
982
|
- !ruby/object:Gem::Version
|
1049
|
-
version: '
|
983
|
+
version: '4.0'
|
1050
984
|
type: :development
|
1051
985
|
prerelease: false
|
1052
986
|
version_requirements: !ruby/object:Gem::Requirement
|
1053
987
|
requirements:
|
1054
988
|
- - "~>"
|
1055
989
|
- !ruby/object:Gem::Version
|
1056
|
-
version: '
|
990
|
+
version: '4.0'
|
1057
991
|
- !ruby/object:Gem::Dependency
|
1058
992
|
name: rspec_junit_formatter
|
1059
993
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1200,20 +1134,6 @@ dependencies:
|
|
1200
1134
|
- - ">="
|
1201
1135
|
- !ruby/object:Gem::Version
|
1202
1136
|
version: '0'
|
1203
|
-
- !ruby/object:Gem::Dependency
|
1204
|
-
name: sass-rails
|
1205
|
-
requirement: !ruby/object:Gem::Requirement
|
1206
|
-
requirements:
|
1207
|
-
- - "~>"
|
1208
|
-
- !ruby/object:Gem::Version
|
1209
|
-
version: '5.0'
|
1210
|
-
type: :runtime
|
1211
|
-
prerelease: false
|
1212
|
-
version_requirements: !ruby/object:Gem::Requirement
|
1213
|
-
requirements:
|
1214
|
-
- - "~>"
|
1215
|
-
- !ruby/object:Gem::Version
|
1216
|
-
version: '5.0'
|
1217
1137
|
description: Hyrax is a featureful Samvera front-end based on the latest and greatest
|
1218
1138
|
Samvera software components.
|
1219
1139
|
email:
|
@@ -1537,7 +1457,6 @@ files:
|
|
1537
1457
|
- app/actors/hyrax/actors/file_actor.rb
|
1538
1458
|
- app/actors/hyrax/actors/file_set_actor.rb
|
1539
1459
|
- app/actors/hyrax/actors/file_set_ordered_members_actor.rb
|
1540
|
-
- app/actors/hyrax/actors/initialize_workflow_actor.rb
|
1541
1460
|
- app/actors/hyrax/actors/interpret_visibility_actor.rb
|
1542
1461
|
- app/actors/hyrax/actors/lease_actor.rb
|
1543
1462
|
- app/actors/hyrax/actors/model_actor.rb
|
@@ -1650,13 +1569,16 @@ files:
|
|
1650
1569
|
- app/assets/stylesheets/_bootstrap-default-overrides.scss
|
1651
1570
|
- app/assets/stylesheets/fileupload/jquery.fileupload-ui.scss
|
1652
1571
|
- app/assets/stylesheets/hyrax/_accessibility.scss
|
1572
|
+
- app/assets/stylesheets/hyrax/_badge.scss
|
1653
1573
|
- app/assets/stylesheets/hyrax/_batch-edit.scss
|
1654
1574
|
- app/assets/stylesheets/hyrax/_breadcrumbs.scss
|
1655
1575
|
- app/assets/stylesheets/hyrax/_browse_everything_overrides.scss
|
1656
1576
|
- app/assets/stylesheets/hyrax/_buttons.scss
|
1577
|
+
- app/assets/stylesheets/hyrax/_card.scss
|
1657
1578
|
- app/assets/stylesheets/hyrax/_catalog.scss
|
1658
1579
|
- app/assets/stylesheets/hyrax/_collection_types.scss
|
1659
1580
|
- app/assets/stylesheets/hyrax/_collections.scss
|
1581
|
+
- app/assets/stylesheets/hyrax/_facets.scss
|
1660
1582
|
- app/assets/stylesheets/hyrax/_featured.scss
|
1661
1583
|
- app/assets/stylesheets/hyrax/_file-listing.scss
|
1662
1584
|
- app/assets/stylesheets/hyrax/_file-show.scss
|
@@ -1670,6 +1592,7 @@ files:
|
|
1670
1592
|
- app/assets/stylesheets/hyrax/_forms.scss
|
1671
1593
|
- app/assets/stylesheets/hyrax/_header.scss
|
1672
1594
|
- app/assets/stylesheets/hyrax/_home-page.scss
|
1595
|
+
- app/assets/stylesheets/hyrax/_html.scss
|
1673
1596
|
- app/assets/stylesheets/hyrax/_hyrax.scss
|
1674
1597
|
- app/assets/stylesheets/hyrax/_login_signup.scss
|
1675
1598
|
- app/assets/stylesheets/hyrax/_modal.scss
|
@@ -1830,6 +1753,7 @@ files:
|
|
1830
1753
|
- app/helpers/hyrax/content_block_helper_behavior.rb
|
1831
1754
|
- app/helpers/hyrax/dashboard_helper_behavior.rb
|
1832
1755
|
- app/helpers/hyrax/embargo_helper.rb
|
1756
|
+
- app/helpers/hyrax/facets_helper.rb
|
1833
1757
|
- app/helpers/hyrax/file_set_helper.rb
|
1834
1758
|
- app/helpers/hyrax/hyrax_helper_behavior.rb
|
1835
1759
|
- app/helpers/hyrax/iiif_helper.rb
|
@@ -1839,7 +1763,6 @@ files:
|
|
1839
1763
|
- app/helpers/hyrax/permissions_helper.rb
|
1840
1764
|
- app/helpers/hyrax/title_helper.rb
|
1841
1765
|
- app/helpers/hyrax/trophy_helper.rb
|
1842
|
-
- app/helpers/hyrax/url_helper.rb
|
1843
1766
|
- app/helpers/hyrax/work_form_helper.rb
|
1844
1767
|
- app/helpers/hyrax/workflows_helper.rb
|
1845
1768
|
- app/indexers/concerns/hyrax/indexes_basic_metadata.rb
|
@@ -1875,7 +1798,6 @@ files:
|
|
1875
1798
|
- app/jobs/concerns/hyrax/permission_job_behavior.rb
|
1876
1799
|
- app/jobs/content_delete_event_job.rb
|
1877
1800
|
- app/jobs/content_deposit_event_job.rb
|
1878
|
-
- app/jobs/content_depositor_change_event_job.rb
|
1879
1801
|
- app/jobs/content_event_job.rb
|
1880
1802
|
- app/jobs/content_new_version_event_job.rb
|
1881
1803
|
- app/jobs/content_restored_version_event_job.rb
|
@@ -1950,7 +1872,6 @@ files:
|
|
1950
1872
|
- app/models/concerns/hyrax/user_usage_stats.rb
|
1951
1873
|
- app/models/concerns/hyrax/virus_check.rb
|
1952
1874
|
- app/models/concerns/hyrax/with_events.rb
|
1953
|
-
- app/models/concerns/hyrax/with_file_sets.rb
|
1954
1875
|
- app/models/concerns/hyrax/work_behavior.rb
|
1955
1876
|
- app/models/concerns/hyrax/works/metadata.rb
|
1956
1877
|
- app/models/content_block.rb
|
@@ -2162,6 +2083,7 @@ files:
|
|
2162
2083
|
- app/services/hyrax/collections_service.rb
|
2163
2084
|
- app/services/hyrax/contextual_path.rb
|
2164
2085
|
- app/services/hyrax/curation_concern.rb
|
2086
|
+
- app/services/hyrax/custom_queries.rb
|
2165
2087
|
- app/services/hyrax/custom_queries/find_access_control.rb
|
2166
2088
|
- app/services/hyrax/custom_queries/find_by_collection_type.rb
|
2167
2089
|
- app/services/hyrax/custom_queries/find_collections_by_type.rb
|
@@ -2345,6 +2267,7 @@ files:
|
|
2345
2267
|
- app/views/catalog/_search_form.html.erb
|
2346
2268
|
- app/views/catalog/_thumbnail_list_collection.html.erb
|
2347
2269
|
- app/views/catalog/_thumbnail_list_default.html.erb
|
2270
|
+
- app/views/catalog/facet.html.erb
|
2348
2271
|
- app/views/catalog/index.html.erb
|
2349
2272
|
- app/views/catalog/recent.js.erb
|
2350
2273
|
- app/views/collections/edit_fields/_based_near.html.erb
|
@@ -2811,6 +2734,7 @@ files:
|
|
2811
2734
|
- documentation/legacyREADME.md
|
2812
2735
|
- documentation/note-about-versions.md
|
2813
2736
|
- hyrax.gemspec
|
2737
|
+
- karma.conf.js
|
2814
2738
|
- lib/generators/hyrax/arkivo_api_generator.rb
|
2815
2739
|
- lib/generators/hyrax/assets_generator.rb
|
2816
2740
|
- lib/generators/hyrax/clamav_generator.rb
|
@@ -3022,29 +2946,21 @@ files:
|
|
3022
2946
|
- lib/hyrax/transactions/collection_destroy.rb
|
3023
2947
|
- lib/hyrax/transactions/collection_update.rb
|
3024
2948
|
- lib/hyrax/transactions/container.rb
|
3025
|
-
- lib/hyrax/transactions/create_work.rb
|
3026
|
-
- lib/hyrax/transactions/destroy_work.rb
|
3027
2949
|
- lib/hyrax/transactions/file_set_destroy.rb
|
3028
2950
|
- lib/hyrax/transactions/steps/add_file_sets.rb
|
3029
2951
|
- lib/hyrax/transactions/steps/add_to_collections.rb
|
3030
2952
|
- lib/hyrax/transactions/steps/add_to_parent.rb
|
3031
|
-
- lib/hyrax/transactions/steps/apply_collection_permission_template.rb
|
3032
2953
|
- lib/hyrax/transactions/steps/apply_collection_type_permissions.rb
|
3033
|
-
- lib/hyrax/transactions/steps/apply_permission_template.rb
|
3034
|
-
- lib/hyrax/transactions/steps/apply_visibility.rb
|
3035
2954
|
- lib/hyrax/transactions/steps/change_depositor.rb
|
3036
2955
|
- lib/hyrax/transactions/steps/check_for_empty_admin_set.rb
|
3037
2956
|
- lib/hyrax/transactions/steps/delete_access_control.rb
|
3038
2957
|
- lib/hyrax/transactions/steps/delete_resource.rb
|
3039
|
-
- lib/hyrax/transactions/steps/destroy_work.rb
|
3040
2958
|
- lib/hyrax/transactions/steps/ensure_admin_set.rb
|
3041
|
-
- lib/hyrax/transactions/steps/ensure_permission_template.rb
|
3042
2959
|
- lib/hyrax/transactions/steps/remove_file_set_from_work.rb
|
3043
2960
|
- lib/hyrax/transactions/steps/save.rb
|
3044
2961
|
- lib/hyrax/transactions/steps/save_access_control.rb
|
3045
2962
|
- lib/hyrax/transactions/steps/save_collection_banner.rb
|
3046
2963
|
- lib/hyrax/transactions/steps/save_collection_logo.rb
|
3047
|
-
- lib/hyrax/transactions/steps/save_work.rb
|
3048
2964
|
- lib/hyrax/transactions/steps/set_collection_type_gid.rb
|
3049
2965
|
- lib/hyrax/transactions/steps/set_default_admin_set.rb
|
3050
2966
|
- lib/hyrax/transactions/steps/set_modified_date.rb
|
@@ -3054,7 +2970,6 @@ files:
|
|
3054
2970
|
- lib/hyrax/transactions/steps/update_work_members.rb
|
3055
2971
|
- lib/hyrax/transactions/steps/validate.rb
|
3056
2972
|
- lib/hyrax/transactions/transaction.rb
|
3057
|
-
- lib/hyrax/transactions/update_work.rb
|
3058
2973
|
- lib/hyrax/transactions/work_create.rb
|
3059
2974
|
- lib/hyrax/transactions/work_destroy.rb
|
3060
2975
|
- lib/hyrax/transactions/work_update.rb
|
@@ -3098,8 +3013,6 @@ files:
|
|
3098
3013
|
- lib/wings/services/custom_queries/find_file_metadata.rb
|
3099
3014
|
- lib/wings/services/custom_queries/find_ids_by_model.rb
|
3100
3015
|
- lib/wings/services/custom_queries/find_many_by_alternate_ids.rb
|
3101
|
-
- lib/wings/services/file_converter_service.rb
|
3102
|
-
- lib/wings/services/file_metadata_builder.rb
|
3103
3016
|
- lib/wings/setup.rb
|
3104
3017
|
- lib/wings/transformer_value_mapper.rb
|
3105
3018
|
- lib/wings/valkyrie/metadata_adapter.rb
|
@@ -3108,12 +3021,14 @@ files:
|
|
3108
3021
|
- lib/wings/valkyrie/resource_factory.rb
|
3109
3022
|
- lib/wings/valkyrie/storage.rb
|
3110
3023
|
- lib/wings/valkyrizable.rb
|
3024
|
+
- package.json
|
3111
3025
|
- tasks/benchmark.rake
|
3112
3026
|
- tasks/hyrax_dev.rake
|
3113
3027
|
- template.rb
|
3114
3028
|
- vendor/assets/fonts/fontawesome-webfont.svg
|
3115
3029
|
- vendor/assets/fonts/fontawesome-webfont.ttf
|
3116
3030
|
- vendor/assets/fonts/fontawesome-webfont.woff
|
3031
|
+
- vendor/assets/javascripts/dataTables.bootstrap4.js
|
3117
3032
|
- vendor/assets/javascripts/fileupload/jquery.fileupload-process.js
|
3118
3033
|
- vendor/assets/javascripts/fileupload/jquery.fileupload-ui.js
|
3119
3034
|
- vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js
|
@@ -3121,18 +3036,23 @@ files:
|
|
3121
3036
|
- vendor/assets/javascripts/fileupload/jquery.iframe-transport.js
|
3122
3037
|
- vendor/assets/javascripts/fileupload/tmpl.js
|
3123
3038
|
- vendor/assets/javascripts/fixedsticky.js
|
3124
|
-
- vendor/assets/javascripts/handlebars
|
3039
|
+
- vendor/assets/javascripts/handlebars.js
|
3040
|
+
- vendor/assets/javascripts/jquery-ui.js
|
3041
|
+
- vendor/assets/javascripts/jquery.dataTables.js
|
3125
3042
|
- vendor/assets/javascripts/morris/morris.min.js
|
3126
3043
|
- vendor/assets/javascripts/morris/raphael-min.js
|
3127
3044
|
- vendor/assets/javascripts/nestable.js
|
3128
3045
|
- vendor/assets/javascripts/time-elements.js
|
3129
3046
|
- vendor/assets/javascripts/webcomponentsjs/0.5.4/CustomElements.min.js
|
3130
|
-
- vendor/assets/stylesheets/
|
3047
|
+
- vendor/assets/stylesheets/dataTables.bootstrap4.css
|
3048
|
+
- vendor/assets/stylesheets/jquery-ui.css
|
3049
|
+
- vendor/assets/stylesheets/morris.css
|
3131
3050
|
- vendor/assets/stylesheets/sharing_buttons.css
|
3132
3051
|
homepage: http://github.com/samvera/hyrax
|
3133
3052
|
licenses:
|
3134
3053
|
- Apache-2.0
|
3135
|
-
metadata:
|
3054
|
+
metadata:
|
3055
|
+
rubygems_mfa_required: 'true'
|
3136
3056
|
post_install_message:
|
3137
3057
|
rdoc_options: []
|
3138
3058
|
require_paths:
|
@@ -3141,12 +3061,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
3141
3061
|
requirements:
|
3142
3062
|
- - ">="
|
3143
3063
|
- !ruby/object:Gem::Version
|
3144
|
-
version: '2.
|
3064
|
+
version: '2.7'
|
3145
3065
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
3146
3066
|
requirements:
|
3147
|
-
- - "
|
3067
|
+
- - ">"
|
3148
3068
|
- !ruby/object:Gem::Version
|
3149
|
-
version:
|
3069
|
+
version: 1.3.1
|
3150
3070
|
requirements: []
|
3151
3071
|
rubygems_version: 3.3.17
|
3152
3072
|
signing_key:
|
@@ -1,35 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Hyrax
|
3
|
-
module Actors
|
4
|
-
##
|
5
|
-
# @deprecated
|
6
|
-
#
|
7
|
-
# Responsible for generating the workflow for the given curation_concern.
|
8
|
-
# Done through direct collaboration with the configured Hyrax::Actors::InitializeWorkflowActor.workflow_factory
|
9
|
-
#
|
10
|
-
# @see Hyrax::Actors::InitializeWorkflowActor.workflow_factory
|
11
|
-
# @see Hyrax::Workflow::WorkflowFactory for default workflow factory
|
12
|
-
class InitializeWorkflowActor < AbstractActor
|
13
|
-
class_attribute :workflow_factory
|
14
|
-
self.workflow_factory = ::Hyrax::Workflow::WorkflowFactory
|
15
|
-
|
16
|
-
# @param [Hyrax::Actors::Environment] env
|
17
|
-
# @return [Boolean] true if create was successful
|
18
|
-
def create(env)
|
19
|
-
Deprecation.warn('Use Hyrax::Listeners::WorkflowListener instead.')
|
20
|
-
next_actor.create(env) && create_workflow(env)
|
21
|
-
end
|
22
|
-
|
23
|
-
private
|
24
|
-
|
25
|
-
# @return [TrueClass]
|
26
|
-
def create_workflow(env)
|
27
|
-
# if the entity exists, this is already initialized
|
28
|
-
Sipity::Entity(env.curation_concern)
|
29
|
-
true
|
30
|
-
rescue Sipity::ConversionError
|
31
|
-
workflow_factory.create(env.curation_concern, env.attributes, env.user)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Hyrax
|
3
|
-
module UrlHelper
|
4
|
-
# generated models get registered as curation concerns and need a
|
5
|
-
# track_model_path to render Blacklight-related views
|
6
|
-
(['FileSet', 'Collection', 'Hyrax::AdministrativeSet'] + Hyrax.config.registered_curation_concern_types).each do |concern|
|
7
|
-
model = concern.safe_constantize
|
8
|
-
model_name = model.respond_to?(:model_name) && model.model_name
|
9
|
-
next unless model_name
|
10
|
-
define_method("track_#{model_name.singular_route_key}_path") { |*args| main_app.track_solr_document_path(*args) }
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Log work depositor change to activity streams
|
3
|
-
#
|
4
|
-
# @attr [Boolean] reset (false) should the access controls be reset. This means revoking edit access from the depositor
|
5
|
-
class ContentDepositorChangeEventJob < ContentEventJob
|
6
|
-
include Rails.application.routes.url_helpers
|
7
|
-
include ActionDispatch::Routing::PolymorphicRoutes
|
8
|
-
|
9
|
-
attr_accessor :reset
|
10
|
-
|
11
|
-
# @param [ActiveFedora::Base, Hyrax::Work] work the work to be transferred
|
12
|
-
# @param [User] user the user the work is being transfered to.
|
13
|
-
# @param [TrueClass,FalseClass] reset (false) if true, reset the access controls. This revokes edit access from the depositor
|
14
|
-
def perform(work, user, reset = false)
|
15
|
-
Deprecation.warn("This class will be removed in the next major release. Use Hyrax::ChangeDepositorService.call instead.")
|
16
|
-
@reset = reset
|
17
|
-
super(work, user)
|
18
|
-
end
|
19
|
-
|
20
|
-
def action
|
21
|
-
"User #{link_to_profile work.proxy_depositor} has transferred #{link_to_work work.title.first} to user #{link_to_profile depositor}"
|
22
|
-
end
|
23
|
-
|
24
|
-
def link_to_work(text)
|
25
|
-
link_to text, polymorphic_path(work)
|
26
|
-
end
|
27
|
-
|
28
|
-
# Log the event to the work's stream
|
29
|
-
def log_work_event(work)
|
30
|
-
work.log_event(event)
|
31
|
-
end
|
32
|
-
alias log_file_set_event log_work_event
|
33
|
-
|
34
|
-
def work
|
35
|
-
@work ||= Hyrax::ChangeContentDepositorService.call(repo_object, depositor, reset)
|
36
|
-
end
|
37
|
-
|
38
|
-
# overriding default to log the event to the depositor instead of their profile
|
39
|
-
def log_user_event(depositor)
|
40
|
-
# log the event to the proxy depositor's profile
|
41
|
-
proxy_depositor.log_profile_event(event)
|
42
|
-
depositor.log_event(event)
|
43
|
-
end
|
44
|
-
|
45
|
-
def proxy_depositor
|
46
|
-
@proxy_depositor ||= ::User.find_by_user_key(work.proxy_depositor)
|
47
|
-
end
|
48
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Hyrax
|
3
|
-
module WithFileSets
|
4
|
-
extend ActiveSupport::Concern
|
5
|
-
|
6
|
-
##
|
7
|
-
# @deprecated Use 'Hyrax::VisibilityPropagator' instead.
|
8
|
-
def copy_visibility_to_files
|
9
|
-
Deprecation.warn "Use 'Hyrax::VisibilityPropagator' instead."
|
10
|
-
|
11
|
-
file_sets.each do |fs|
|
12
|
-
fs.visibility = visibility
|
13
|
-
fs.save!
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|