hyrax 3.0.1 → 3.3.0
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 +49 -19
- data/.dassie/.env +1 -2
- data/.dassie/Gemfile +18 -9
- data/.dassie/app/controllers/catalog_controller.rb +6 -0
- data/.dassie/app/models/user.rb +0 -2
- data/.dassie/config/analytics.yml +12 -5
- data/.dassie/config/environments/development.rb +2 -0
- data/.dassie/config/initializers/hyrax.rb +7 -0
- data/.dassie/config/role_map.yml +2 -0
- data/.dassie/db/migrate/20210921150120_enable_uuid_extension.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150121_create_orm_resources.valkyrie_engine.rb +19 -0
- data/.dassie/db/migrate/20210921150122_add_model_type_to_orm_resources.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150123_change_model_type_to_internal_model.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150124_create_path_gin_index.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150125_create_internal_resource_index.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150126_create_updated_at_index.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20210921150127_add_optimistic_locking_to_orm_resources.valkyrie_engine.rb +7 -0
- data/.dassie/db/migrate/20211130181150_create_default_administrative_set.rb +8 -0
- data/.dassie/db/schema.rb +20 -1
- data/.dassie/db/seeds.rb +1 -1
- data/.dockerignore +3 -0
- data/.env +8 -6
- data/.github/workflows/main.yml +17 -0
- data/.github/workflows/release.yml +17 -0
- data/.gitignore +1 -0
- data/.regen +1 -1
- data/.rubocop.yml +4 -0
- data/CONTAINERS.md +33 -10
- data/Dockerfile +14 -9
- data/Gemfile +21 -27
- data/README.md +37 -0
- data/app/actors/hyrax/actors/base_actor.rb +2 -2
- data/app/actors/hyrax/actors/collections_membership_actor.rb +3 -3
- data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +85 -63
- data/app/actors/hyrax/actors/create_with_remote_files_ordered_members_actor.rb +7 -42
- data/app/actors/hyrax/actors/file_set_actor.rb +12 -5
- data/app/assets/javascripts/hyrax/admin/graphs.es6 +34 -37
- data/app/assets/javascripts/hyrax/analytics_events.js +69 -0
- data/app/assets/javascripts/hyrax/collapse.js +24 -0
- data/app/assets/javascripts/hyrax/collections.js +1 -2
- data/app/assets/javascripts/hyrax/ga_events.js +2 -8
- data/app/assets/javascripts/hyrax/reports-buttons.js +33 -0
- data/app/assets/javascripts/hyrax.js +2 -1
- data/app/assets/stylesheets/_bootstrap-default-overrides.scss +9 -0
- data/app/assets/stylesheets/hyrax/_styles.scss +5 -0
- data/app/authorities/qa/authorities/collections.rb +4 -5
- data/app/authorities/qa/authorities/find_works.rb +1 -1
- data/app/controllers/concerns/hyrax/breadcrumbs_for_collection_analytics.rb +26 -0
- data/app/controllers/concerns/hyrax/breadcrumbs_for_works_analytics.rb +26 -0
- data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +30 -10
- data/app/controllers/concerns/hyrax/controller.rb +35 -2
- data/app/controllers/concerns/hyrax/embargoes_controller_behavior.rb +21 -9
- data/app/controllers/concerns/hyrax/leases_controller_behavior.rb +14 -5
- data/app/controllers/concerns/hyrax/works_controller_behavior.rb +22 -3
- data/app/controllers/hyrax/admin/admin_sets_controller.rb +2 -19
- data/app/controllers/hyrax/admin/analytics/analytics_controller.rb +40 -0
- data/app/controllers/hyrax/admin/analytics/collection_reports_controller.rb +61 -0
- data/app/controllers/hyrax/admin/analytics/work_reports_controller.rb +122 -0
- data/app/controllers/hyrax/admin/permission_template_accesses_controller.rb +5 -6
- data/app/controllers/hyrax/admin/workflows_controller.rb +8 -2
- data/app/controllers/hyrax/collections_controller.rb +6 -1
- data/app/controllers/hyrax/dashboard/collection_members_controller.rb +24 -17
- data/app/controllers/hyrax/dashboard/collections_controller.rb +112 -37
- data/app/controllers/hyrax/dashboard/nest_collections_controller.rb +75 -39
- data/app/controllers/hyrax/dashboard_controller.rb +8 -0
- data/app/controllers/hyrax/file_sets_controller.rb +49 -13
- data/app/controllers/hyrax/my_controller.rb +4 -4
- data/app/controllers/hyrax/permissions_controller.rb +3 -4
- data/app/controllers/hyrax/stats_controller.rb +3 -1
- data/app/controllers/hyrax/workflow_actions_controller.rb +11 -6
- data/app/forms/hyrax/forms/administrative_set_form.rb +62 -0
- data/app/forms/hyrax/forms/collection_form.rb +9 -5
- data/app/forms/hyrax/forms/dashboard/nest_collection_form.rb +38 -6
- data/app/forms/hyrax/forms/file_set_form.rb +46 -0
- data/app/forms/hyrax/forms/pcdm_collection_form.rb +67 -0
- data/app/forms/hyrax/forms/permission.rb +23 -0
- data/app/forms/hyrax/forms/permission_template_form.rb +8 -2
- data/app/forms/hyrax/forms/resource_form.rb +34 -26
- data/app/forms/hyrax/forms/work_form.rb +5 -2
- data/app/forms/hyrax/forms/workflow_action_form.rb +4 -0
- data/app/helpers/hyrax/batch_edits_helper.rb +3 -1
- data/app/helpers/hyrax/collections_helper.rb +88 -2
- data/app/helpers/hyrax/dashboard_helper_behavior.rb +16 -5
- data/app/helpers/hyrax/embargo_helper.rb +4 -0
- data/app/helpers/hyrax/file_set_helper.rb +25 -6
- data/app/helpers/hyrax/hyrax_helper_behavior.rb +9 -0
- data/app/helpers/hyrax/lease_helper.rb +4 -0
- data/app/helpers/hyrax/url_helper.rb +4 -1
- data/app/helpers/hyrax/work_form_helper.rb +53 -0
- data/app/indexers/hyrax/administrative_set_indexer.rb +18 -0
- data/app/indexers/hyrax/pcdm_collection_indexer.rb +2 -0
- data/app/indexers/hyrax/valkyrie_file_set_indexer.rb +3 -1
- data/app/indexers/hyrax/valkyrie_indexer.rb +3 -3
- data/app/indexers/hyrax/valkyrie_work_indexer.rb +1 -1
- data/app/inputs/controlled_vocabulary_input.rb +2 -5
- data/app/jobs/attach_files_to_work_job.rb +19 -10
- data/app/jobs/attach_files_to_work_with_ordered_members_job.rb +6 -5
- data/app/jobs/characterize_job.rb +28 -1
- data/app/jobs/ingest_local_file_job.rb +18 -2
- data/app/jobs/inherit_permissions_job.rb +9 -5
- data/app/jobs/valkyrie_ingest_job.rb +56 -0
- data/app/models/admin_set.rb +22 -30
- data/app/models/collection_branding_info.rb +25 -9
- data/app/models/concerns/hyrax/ability/admin_set_ability.rb +31 -7
- data/app/models/concerns/hyrax/ability/collection_ability.rb +35 -20
- data/app/models/concerns/hyrax/ability/collection_type_ability.rb +1 -1
- data/app/models/concerns/hyrax/ability.rb +31 -8
- data/app/models/concerns/hyrax/collection_behavior.rb +17 -44
- data/app/models/concerns/hyrax/embargoable.rb +24 -0
- data/app/models/concerns/hyrax/file_set/characterization.rb +18 -12
- data/app/models/concerns/hyrax/solr_document/metadata.rb +1 -0
- data/app/models/concerns/hyrax/solr_document_behavior.rb +11 -54
- data/app/models/concerns/hyrax/suppressible.rb +5 -0
- data/app/models/concerns/hyrax/user.rb +9 -3
- data/app/models/concerns/hyrax/work_behavior.rb +1 -1
- data/app/models/file_download_stat.rb +4 -4
- data/app/models/hyrax/administrative_set.rb +7 -1
- data/app/models/hyrax/default_administrative_set.rb +42 -0
- data/app/models/hyrax/file_set.rb +6 -0
- data/app/models/hyrax/pcdm_collection.rb +1 -0
- data/app/models/hyrax/permission.rb +1 -1
- data/app/models/hyrax/permission_template.rb +112 -12
- data/app/models/hyrax/statistic.rb +31 -4
- data/app/models/hyrax/virus_scanner.rb +27 -18
- data/app/models/hyrax/work.rb +1 -0
- data/app/models/hyrax/workflow_action_info.rb +16 -0
- data/app/models/sipity/agent.rb +1 -0
- data/app/models/sipity/comment.rb +17 -0
- data/app/models/sipity/entity.rb +30 -8
- data/app/models/sipity/workflow.rb +1 -0
- data/app/models/sipity.rb +53 -2
- data/app/presenters/hyrax/admin/dashboard_presenter.rb +8 -6
- data/app/presenters/hyrax/admin/repository_growth_presenter.rb +10 -5
- data/app/presenters/hyrax/admin/user_activity_presenter.rb +8 -12
- data/app/presenters/hyrax/admin_set_options_presenter.rb +12 -8
- data/app/presenters/hyrax/admin_set_presenter.rb +13 -4
- data/app/presenters/hyrax/admin_set_selection_presenter.rb +116 -0
- data/app/presenters/hyrax/collection_presenter.rb +34 -9
- data/app/presenters/hyrax/file_set_presenter.rb +8 -1
- data/app/presenters/hyrax/file_usage.rb +3 -2
- data/app/presenters/hyrax/menu_presenter.rb +4 -0
- data/app/presenters/hyrax/pcdm_member_presenter_factory.rb +119 -0
- data/app/presenters/hyrax/stats_usage_presenter.rb +2 -1
- data/app/presenters/hyrax/trophy_presenter.rb +33 -4
- data/app/presenters/hyrax/user_profile_presenter.rb +11 -1
- data/app/presenters/hyrax/version_list_presenter.rb +19 -0
- data/app/presenters/hyrax/version_presenter.rb +3 -2
- data/app/presenters/hyrax/work_show_presenter.rb +37 -8
- data/app/presenters/hyrax/work_usage.rb +6 -3
- data/app/renderers/hyrax/renderers/attribute_renderer.rb +10 -2
- data/app/search_builders/hyrax/README.md +1 -1
- data/app/search_builders/hyrax/abstract_type_relation.rb +4 -2
- data/app/search_builders/hyrax/admin_set_search_builder.rb +1 -1
- data/app/search_builders/hyrax/collection_member_search_builder.rb +6 -1
- data/app/search_builders/hyrax/dashboard/collections_search_builder.rb +1 -1
- data/app/search_builders/hyrax/exposed_models_relation.rb +1 -1
- data/app/search_builders/hyrax/filter_by_type.rb +1 -2
- data/app/search_builders/hyrax/my/collections_search_builder.rb +2 -2
- data/app/search_builders/hyrax/nested_collections_parent_search_builder.rb +1 -1
- data/app/search_builders/hyrax/single_collection_search_builder.rb +1 -1
- data/app/services/hyrax/admin_set_create_service.rb +199 -53
- data/app/services/hyrax/analytics/google/events.rb +37 -0
- data/app/services/hyrax/analytics/google/events_daily.rb +72 -0
- data/app/services/hyrax/analytics/google/visits.rb +44 -0
- data/app/services/hyrax/analytics/google/visits_daily.rb +49 -0
- data/app/services/hyrax/analytics/google.rb +204 -0
- data/app/services/hyrax/analytics/matomo.rb +193 -0
- data/app/services/hyrax/analytics/results.rb +79 -0
- data/app/services/hyrax/analytics.rb +12 -82
- data/app/services/hyrax/characterization/valkyrie_characterization_service.rb +134 -0
- data/app/services/hyrax/collection_types/permissions_service.rb +1 -1
- data/app/services/hyrax/collections/collection_member_search_service.rb +72 -0
- data/app/services/hyrax/collections/collection_member_service.rb +122 -27
- data/app/services/hyrax/collections/migration_service.rb +4 -2
- data/app/services/hyrax/collections/nested_collection_persistence_service.rb +12 -13
- data/app/services/hyrax/collections/nested_collection_query_service.rb +10 -3
- data/app/services/hyrax/collections/permissions_create_service.rb +82 -78
- data/app/services/hyrax/collections/permissions_service.rb +1 -1
- data/app/services/hyrax/contextual_path.rb +24 -1
- data/app/services/hyrax/curation_concern.rb +24 -2
- data/app/services/hyrax/custom_queries/find_file_metadata.rb +7 -5
- data/app/services/hyrax/custom_queries/navigators/parent_collections_navigator.rb +46 -0
- data/app/services/hyrax/default_middleware_stack.rb +11 -0
- data/app/services/hyrax/edit_permissions_service.rb +74 -41
- data/app/services/hyrax/ensure_well_formed_admin_set_service.rb +3 -3
- data/app/services/hyrax/find_objects_via_solr_service.rb +31 -0
- data/app/services/hyrax/listeners/acl_index_listener.rb +3 -1
- data/app/services/hyrax/listeners/active_fedora_acl_index_listener.rb +4 -1
- data/app/services/hyrax/listeners/batch_notification_listener.rb +3 -1
- data/app/services/hyrax/listeners/file_metadata_listener.rb +19 -0
- data/app/services/hyrax/listeners/file_set_lifecycle_listener.rb +6 -2
- data/app/services/hyrax/listeners/file_set_lifecycle_notification_listener.rb +6 -2
- data/app/services/hyrax/listeners/member_cleanup_listener.rb +3 -0
- data/app/services/hyrax/listeners/metadata_index_listener.rb +33 -11
- data/app/services/hyrax/listeners/object_lifecycle_listener.rb +9 -3
- data/app/services/hyrax/listeners/proxy_deposit_listener.rb +3 -1
- data/app/services/hyrax/listeners/trophy_cleanup_listener.rb +3 -0
- data/app/services/hyrax/listeners/workflow_listener.rb +3 -1
- data/app/services/hyrax/listeners.rb +8 -0
- data/app/services/hyrax/multiple_membership_checker.rb +53 -29
- data/app/services/hyrax/permission_manager.rb +4 -4
- data/app/services/hyrax/resource_status.rb +7 -0
- data/app/services/hyrax/restriction_service.rb +4 -0
- data/app/services/hyrax/search_service.rb +4 -2
- data/app/services/hyrax/solr_query_builder_service.rb +45 -8
- data/app/services/hyrax/solr_query_service.rb +224 -0
- data/app/services/hyrax/solr_service.rb +9 -2
- data/app/services/hyrax/statistics/collections/over_time.rb +2 -1
- data/app/services/hyrax/statistics/depositors/summary.rb +2 -1
- data/app/services/hyrax/statistics/users/over_time.rb +8 -5
- data/app/services/hyrax/statistics/works/over_time.rb +10 -0
- data/app/services/hyrax/visibility_intention.rb +20 -2
- data/app/services/hyrax/work_uploads_handler.rb +21 -3
- data/app/services/hyrax/workflow/abstract_notification.rb +2 -2
- data/app/services/hyrax/workflow/action_taken_service.rb +16 -4
- data/app/services/hyrax/workflow/actionable_objects.rb +70 -0
- data/app/services/hyrax/workflow/activate_object.rb +5 -4
- data/app/services/hyrax/workflow/changes_required_notification.rb +5 -4
- data/app/services/hyrax/workflow/deactivate_object.rb +7 -5
- data/app/services/hyrax/workflow/deposited_notification.rb +8 -4
- data/app/services/hyrax/workflow/grant_edit_to_depositor.rb +7 -3
- data/app/services/hyrax/workflow/grant_read_to_depositor.rb +10 -3
- data/app/services/hyrax/workflow/object_in_workflow_decorator.rb +31 -0
- data/app/services/hyrax/workflow/revoke_edit_from_depositor.rb +8 -2
- data/app/services/hyrax/workflow/status_list_service.rb +43 -13
- data/app/services/hyrax/workflow/workflow_action_service.rb +4 -1
- data/app/views/hyrax/admin/admin_sets/_form.html.erb +1 -1
- data/app/views/hyrax/admin/analytics/_date_range_form.html.erb +11 -0
- data/app/views/hyrax/admin/analytics/collection_reports/_custom_range.html.erb +39 -0
- data/app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb +48 -0
- data/app/views/hyrax/admin/analytics/collection_reports/_summary.html.erb +55 -0
- data/app/views/hyrax/admin/analytics/collection_reports/_top_collections.html.erb +55 -0
- data/app/views/hyrax/admin/analytics/collection_reports/index.html.erb +70 -0
- data/app/views/hyrax/admin/analytics/collection_reports/show.html.erb +94 -0
- data/app/views/hyrax/admin/analytics/work_reports/_custom_range.html.erb +43 -0
- data/app/views/hyrax/admin/analytics/work_reports/_monthly_summary.html.erb +35 -0
- data/app/views/hyrax/admin/analytics/work_reports/_summary.html.erb +60 -0
- data/app/views/hyrax/admin/analytics/work_reports/_top_file_set_downloads.html.erb +33 -0
- data/app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb +40 -0
- data/app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb +18 -0
- data/app/views/hyrax/admin/analytics/work_reports/_work_files.html.erb +41 -0
- data/app/views/hyrax/admin/analytics/work_reports/index.html.erb +77 -0
- data/app/views/hyrax/admin/analytics/work_reports/show.html.erb +90 -0
- data/app/views/hyrax/admin/stats/show.html.erb +1 -1
- data/app/views/hyrax/base/_form_child_work_relationships.html.erb +1 -1
- data/app/views/hyrax/base/_form_relationships.html.erb +1 -2
- 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_thumbnail.html.erb +1 -1
- data/app/views/hyrax/base/_form_visibility_error.html.erb +2 -0
- data/app/views/hyrax/base/_guts4form.html.erb +3 -3
- data/app/views/hyrax/base/_relationships_parent_row.html.erb +0 -1
- data/app/views/hyrax/base/_representative_media.html.erb +1 -1
- data/app/views/hyrax/base/_show_actions.html.erb +2 -2
- data/app/views/hyrax/base/_work_button_row.html.erb +1 -1
- data/app/views/hyrax/base/show.html.erb +6 -0
- data/app/views/hyrax/batch_uploads/_form.html.erb +1 -1
- data/app/views/hyrax/collections/show.html.erb +4 -0
- data/app/views/hyrax/dashboard/_repository_growth.html.erb +5 -5
- data/app/views/hyrax/dashboard/_resource_type_graph.html.erb +41 -0
- data/app/views/hyrax/dashboard/_sidebar.html.erb +4 -1
- data/app/views/hyrax/dashboard/_tabs.html.erb +11 -0
- data/app/views/hyrax/dashboard/_user_activity.html.erb +17 -23
- data/app/views/hyrax/dashboard/_user_activity_graph.html.erb +55 -0
- data/app/views/hyrax/dashboard/_visibility_graph.html.erb +31 -0
- data/app/views/hyrax/dashboard/_work_type_graph.html.erb +41 -0
- data/app/views/hyrax/dashboard/collections/_collection_title.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_form.html.erb +6 -5
- data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/edit.html.erb +4 -2
- data/app/views/hyrax/dashboard/collections/new.html.erb +4 -2
- data/app/views/hyrax/dashboard/collections/show.html.erb +1 -1
- data/app/views/hyrax/dashboard/show_admin.html.erb +24 -45
- data/app/views/hyrax/dashboard/sidebar/_activity.html.erb +22 -0
- data/app/views/hyrax/file_sets/_actions.html.erb +4 -3
- data/app/views/hyrax/file_sets/edit.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_audio.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_default.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_image.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_office_document.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_pdf.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_video.html.erb +1 -1
- data/app/views/hyrax/file_sets/show.html.erb +7 -1
- data/app/views/hyrax/homepage/index.html.erb +1 -1
- data/app/views/hyrax/my/_admin_set_action_menu.html.erb +0 -11
- data/app/views/hyrax/my/_collection_action_menu.html.erb +1 -2
- data/app/views/hyrax/my/collections/_list_collections.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +3 -5
- data/app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb +1 -1
- data/app/views/hyrax/my/collections/index.html.erb +1 -1
- data/app/views/hyrax/stats/_downloads.html.erb +18 -0
- data/app/views/hyrax/stats/_pageviews.html.erb +18 -0
- data/app/views/hyrax/stats/work.html.erb +17 -9
- data/app/views/layouts/_head_tag_content.html.erb +7 -2
- data/app/views/layouts/hyrax/dashboard.html.erb +1 -0
- data/app/views/layouts/hyrax.html.erb +1 -0
- data/app/views/{_ga.html.erb → shared/_ga.html.erb} +3 -7
- data/app/views/shared/_matomo.html.erb +15 -0
- data/app/views/shared/_read_only.html.erb +5 -0
- data/bin/db-migrate-seed.sh +3 -1
- data/bin/hyrax-entrypoint.sh +0 -14
- data/bin/solrcloud-assign-configset.sh +11 -3
- data/bin/solrcloud-upload-configset.sh +17 -6
- data/chart/hyrax/Chart.yaml +9 -5
- data/chart/hyrax/README.md +52 -5
- data/chart/hyrax/templates/_helpers.tpl +15 -1
- data/chart/hyrax/templates/branding-pvc.yaml +2 -2
- data/chart/hyrax/templates/configmap-env.yaml +6 -2
- data/chart/hyrax/templates/deployment-worker.yaml +42 -5
- data/chart/hyrax/templates/deployment.yaml +53 -0
- data/chart/hyrax/templates/derivatives-pvc.yaml +2 -2
- data/chart/hyrax/templates/ingress.yaml +13 -4
- data/chart/hyrax/templates/secrets.yaml +8 -0
- data/chart/hyrax/templates/uploads-pvc.yaml +2 -2
- data/chart/hyrax/values.yaml +84 -2
- data/config/brakeman.ignore +2 -2
- data/config/features.rb +3 -0
- data/config/i18n-tasks.yml +2 -2
- data/config/initializers/1_healthz.rb +1 -0
- data/config/initializers/listeners.rb +5 -4
- data/config/initializers/valkryrie_storage.rb +7 -0
- data/config/locales/hyrax.de.yml +195 -1
- data/config/locales/hyrax.en.yml +192 -13
- data/config/locales/hyrax.es.yml +195 -1
- data/config/locales/hyrax.fr.yml +195 -1
- data/config/locales/hyrax.it.yml +195 -1
- data/config/locales/hyrax.pt-BR.yml +195 -1
- data/config/locales/hyrax.zh.yml +195 -1
- data/config/routes.rb +4 -0
- data/db/seeds.rb +1 -1
- data/docker-compose.yml +42 -9
- data/documentation/developing-your-hyrax-based-app.md +4 -4
- data/documentation/legacyREADME.md +4 -4
- data/hyrax.gemspec +4 -2
- data/lib/generators/hyrax/templates/catalog_controller.rb +3 -1
- data/lib/generators/hyrax/templates/config/analytics.yml +13 -7
- data/lib/generators/hyrax/templates/config/initializers/hyrax.rb +15 -13
- data/lib/generators/hyrax/templates/db/migrate/20211130181150_create_default_administrative_set.rb.erb +8 -0
- data/lib/generators/hyrax/work/templates/feature_spec.rb.erb +4 -2
- data/lib/generators/hyrax/work_resource/templates/indexer_spec.rb.erb +1 -0
- data/lib/hyrax/active_fedora_dummy_model.rb +62 -0
- data/lib/hyrax/collection_name.rb +6 -2
- data/lib/hyrax/configuration.rb +114 -4
- data/lib/hyrax/engine.rb +9 -6
- data/lib/hyrax/errors.rb +2 -0
- data/lib/hyrax/form_fields.rb +1 -0
- data/lib/hyrax/publisher.rb +16 -0
- data/lib/hyrax/resource_name.rb +1 -0
- data/lib/hyrax/resource_sync/change_list_writer.rb +2 -2
- data/lib/hyrax/resource_sync/resource_list_writer.rb +2 -2
- data/lib/hyrax/specs/capybara.rb +5 -3
- data/lib/hyrax/specs/shared_specs/hydra_works.rb +2 -0
- data/lib/hyrax/specs/shared_specs/indexers.rb +6 -0
- data/lib/hyrax/specs/shared_specs/valkyrie_storage_versions.rb +9 -0
- data/lib/hyrax/transactions/admin_set_create.rb +22 -0
- data/lib/hyrax/transactions/collection_create.rb +25 -0
- data/lib/hyrax/transactions/collection_update.rb +20 -0
- data/lib/hyrax/transactions/container.rb +58 -0
- data/lib/hyrax/transactions/file_set_destroy.rb +21 -0
- data/lib/hyrax/transactions/steps/add_file_sets.rb +3 -2
- data/lib/hyrax/transactions/steps/add_to_collections.rb +13 -1
- data/lib/hyrax/transactions/steps/add_to_parent.rb +36 -0
- data/lib/hyrax/transactions/steps/apply_collection_type_permissions.rb +29 -0
- data/lib/hyrax/transactions/steps/remove_file_set_from_work.rb +47 -0
- data/lib/hyrax/transactions/steps/save.rb +18 -6
- data/lib/hyrax/transactions/steps/set_collection_type_gid.rb +35 -0
- data/lib/hyrax/transactions/work_create.rb +2 -1
- data/lib/hyrax/valkyrie_can_can_adapter.rb +1 -0
- data/lib/hyrax/valkyrie_simple_path_generator.rb +20 -0
- data/lib/hyrax/version.rb +1 -1
- data/lib/hyrax.rb +9 -0
- data/lib/tasks/collection_type_global_id.rake +1 -1
- data/lib/tasks/default_admin_set.rake +12 -11
- data/lib/tasks/regenerate_derivatives.rake +12 -0
- data/lib/wings/active_fedora_converter/default_work.rb +15 -0
- data/lib/wings/model_transformer.rb +17 -1
- data/lib/wings/orm_converter.rb +18 -2
- data/lib/wings/setup.rb +17 -0
- data/lib/wings/valkyrie/persister.rb +16 -0
- data/lib/wings/valkyrie/storage.rb +56 -1
- data/lib/wings.rb +0 -21
- data/template.rb +1 -1
- data/vendor/assets/javascripts/morris/morris.min.js +1 -7
- data/vendor/assets/stylesheets/morris.js/0.5.1/morris.css +1 -1
- metadata +120 -17
- data/app/views/hyrax/dashboard/_repository_objects.html.erb +0 -28
@@ -21,6 +21,9 @@ spec:
|
|
21
21
|
{{- include "hyrax.selectorLabels" . | nindent 8 }}
|
22
22
|
spec:
|
23
23
|
initContainers:
|
24
|
+
{{- if .Values.solrPreSetupInitContainer }}
|
25
|
+
{{- toYaml .Values.solrPreSetupInitContainer | nindent 8 }}
|
26
|
+
{{- end }}
|
24
27
|
{{- if .Values.loadSolrConfigSet }}
|
25
28
|
- name: load-solr-config
|
26
29
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
@@ -30,6 +33,12 @@ spec:
|
|
30
33
|
name: {{ include "hyrax.fullname" . }}-env
|
31
34
|
- secretRef:
|
32
35
|
name: {{ include "hyrax.fullname" . }}
|
36
|
+
{{- if .Values.solrExistingSecret }}
|
37
|
+
- secretRef:
|
38
|
+
name: {{ .Values.solrExistingSecret }}
|
39
|
+
{{- end }}
|
40
|
+
env:
|
41
|
+
{{- toYaml .Values.extraEnvVars | nindent 12 }}
|
33
42
|
command:
|
34
43
|
- sh
|
35
44
|
- -c
|
@@ -37,6 +46,10 @@ spec:
|
|
37
46
|
solrcloud-upload-configset.sh /app/samvera/hyrax-webapp/solr/conf &&
|
38
47
|
solrcloud-assign-configset.sh
|
39
48
|
{{- end }}
|
49
|
+
{{- if .Values.dbPreSetupInitContainer }}
|
50
|
+
{{- toYaml .Values.dbPreSetupInitContainer | nindent 8 }}
|
51
|
+
{{- end }}
|
52
|
+
{{- if not .Values.skipDbMigrateSeed }}
|
40
53
|
- name: db-setup
|
41
54
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
42
55
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
@@ -45,10 +58,23 @@ spec:
|
|
45
58
|
name: {{ include "hyrax.fullname" . }}-env
|
46
59
|
- secretRef:
|
47
60
|
name: {{ template "hyrax.fullname" . }}
|
61
|
+
{{- if .Values.solrExistingSecret }}
|
62
|
+
- secretRef:
|
63
|
+
name: {{ .Values.solrExistingSecret }}
|
64
|
+
{{- end }}
|
65
|
+
{{- with .Values.extraEnvFrom }}
|
66
|
+
{{- toYaml . | nindent 12 }}
|
67
|
+
{{- end }}
|
68
|
+
env:
|
69
|
+
{{- toYaml .Values.extraEnvVars | nindent 12 }}
|
48
70
|
command:
|
49
71
|
- sh
|
50
72
|
- -c
|
51
73
|
- db-migrate-seed.sh
|
74
|
+
{{- end }}
|
75
|
+
{{- if .Values.extraInitContainers }}
|
76
|
+
{{- toYaml .Values.extraInitContainers | nindent 8 }}
|
77
|
+
{{- end }}
|
52
78
|
{{- with .Values.imagePullSecrets }}
|
53
79
|
imagePullSecrets:
|
54
80
|
{{- toYaml . | nindent 8 }}
|
@@ -67,6 +93,15 @@ spec:
|
|
67
93
|
name: {{ include "hyrax.fullname" . }}-env
|
68
94
|
- secretRef:
|
69
95
|
name: {{ template "hyrax.fullname" . }}
|
96
|
+
{{- if .Values.solrExistingSecret }}
|
97
|
+
- secretRef:
|
98
|
+
name: {{ .Values.solrExistingSecret }}
|
99
|
+
{{- end }}
|
100
|
+
{{- with .Values.extraEnvFrom }}
|
101
|
+
{{- toYaml . | nindent 12 }}
|
102
|
+
{{- end }}
|
103
|
+
env:
|
104
|
+
{{- toYaml .Values.extraEnvVars | nindent 12 }}
|
70
105
|
ports:
|
71
106
|
- name: http
|
72
107
|
containerPort: 3000
|
@@ -106,8 +141,18 @@ spec:
|
|
106
141
|
- name: uploads
|
107
142
|
subPath: uploads
|
108
143
|
mountPath: /app/samvera/uploads
|
144
|
+
{{- if .Values.applicationExistingClaim }}
|
145
|
+
- name: application
|
146
|
+
mountPath: /app/samvera/hyrax-webapp
|
147
|
+
{{- end }}
|
148
|
+
{{- with .Values.extraVolumeMounts }}
|
149
|
+
{{- toYaml . | nindent 12 }}
|
150
|
+
{{- end }}
|
109
151
|
resources:
|
110
152
|
{{- toYaml .Values.resources | nindent 12 }}
|
153
|
+
{{- with .Values.extraContainerConfiguration }}
|
154
|
+
{{- toYaml . | nindent 10 }}
|
155
|
+
{{- end }}
|
111
156
|
volumes:
|
112
157
|
- name: "branding"
|
113
158
|
{{- if and .Values.brandingVolume.enabled .Values.brandingVolume.existingClaim }}
|
@@ -139,6 +184,14 @@ spec:
|
|
139
184
|
{{ else }}
|
140
185
|
emptyDir: {}
|
141
186
|
{{ end }}
|
187
|
+
{{- if .Values.applicationExistingClaim }}
|
188
|
+
- name: "application"
|
189
|
+
persistentVolumeClaim:
|
190
|
+
claimName: {{ .Values.applicationExistingClaim }}
|
191
|
+
{{- end }}
|
192
|
+
{{- with .Values.extraVolumes }}
|
193
|
+
{{- toYaml . | nindent 8 }}
|
194
|
+
{{- end }}
|
142
195
|
{{- with .Values.nodeSelector }}
|
143
196
|
nodeSelector:
|
144
197
|
{{- toYaml . | nindent 8 }}
|
@@ -6,9 +6,9 @@ metadata:
|
|
6
6
|
labels:
|
7
7
|
{{- include "hyrax.labels" . | nindent 4 }}
|
8
8
|
spec:
|
9
|
-
|
10
|
-
- ReadWriteMany
|
9
|
+
{{ include "hyrax.sharedPvcAccessModes" . | nindent 2 }}
|
11
10
|
resources:
|
12
11
|
requests:
|
13
12
|
storage: {{ .Values.derivativesVolume.size }}
|
13
|
+
storageClassName: {{ .Values.derivativesVolume.storageClass }}
|
14
14
|
{{- end }}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
{{- if .Values.ingress.enabled -}}
|
2
2
|
{{- $fullName := include "hyrax.fullname" . -}}
|
3
3
|
{{- $svcPort := .Values.service.port -}}
|
4
|
-
{{-
|
4
|
+
{{- $beta := semverCompare "<1.19-0" (default .Capabilities.KubeVersion.Version .Values.kubeVersion) -}}
|
5
|
+
{{- if $beta }}
|
5
6
|
apiVersion: networking.k8s.io/v1beta1
|
6
|
-
{{- else
|
7
|
-
apiVersion:
|
7
|
+
{{- else }}
|
8
|
+
apiVersion: networking.k8s.io/v1
|
8
9
|
{{- end }}
|
9
10
|
kind: Ingress
|
10
11
|
metadata:
|
@@ -32,10 +33,18 @@ spec:
|
|
32
33
|
http:
|
33
34
|
paths:
|
34
35
|
{{- range .paths }}
|
35
|
-
- path: {{ .
|
36
|
+
- path: {{ .path }}
|
37
|
+
pathType: {{ .pathType | default "ImplementationSpecific" }}
|
36
38
|
backend:
|
39
|
+
{{- if $beta }}
|
37
40
|
serviceName: {{ $fullName }}
|
38
41
|
servicePort: {{ $svcPort }}
|
42
|
+
{{- else }}
|
43
|
+
service:
|
44
|
+
name: {{ $fullName }}
|
45
|
+
port:
|
46
|
+
number: {{ $svcPort }}
|
47
|
+
{{- end }}
|
39
48
|
{{- end }}
|
40
49
|
{{- end }}
|
41
50
|
{{- end }}
|
@@ -7,7 +7,15 @@ metadata:
|
|
7
7
|
type: Opaque
|
8
8
|
data:
|
9
9
|
SECRET_KEY_BASE: {{ randAlphaNum 20 | b64enc | quote }}
|
10
|
+
DB_PASSWORD: {{ include "hyrax.postgresql.password" . | b64enc }}
|
10
11
|
DATABASE_URL: {{ printf "postgresql://%s:%s@%s/%s?pool=5" ( include "hyrax.postgresql.username" . ) ( include "hyrax.postgresql.password" . ) ( include "hyrax.postgresql.host" . ) ( include "hyrax.postgresql.database" . ) | b64enc }}
|
12
|
+
{{- if .Values.minio.enabled }}
|
13
|
+
MINIO_ACCESS_KEY: {{ .Values.minio.accessKey.password | b64enc}}
|
14
|
+
MINIO_SECRET_KEY: {{ .Values.minio.secretKey.password | b64enc}}
|
15
|
+
{{- end }}
|
16
|
+
{{- if not .Values.solrExistingSecret }}
|
17
|
+
SOLR_ADMIN_PASSWORD: {{ include "hyrax.solr.password" . | b64enc }}
|
18
|
+
{{- end }}
|
11
19
|
{{- if .Values.redis.enabled }}
|
12
20
|
REDIS_PASSWORD: {{ .Values.redis.password | b64enc}}
|
13
21
|
SIDEKIQ_REDIS_URL: {{ include "hyrax.redis.url" . | b64enc }}
|
@@ -6,9 +6,9 @@ metadata:
|
|
6
6
|
labels:
|
7
7
|
{{- include "hyrax.labels" . | nindent 4 }}
|
8
8
|
spec:
|
9
|
-
|
10
|
-
- ReadWriteMany
|
9
|
+
{{ include "hyrax.sharedPvcAccessModes" . | nindent 2 }}
|
11
10
|
resources:
|
12
11
|
requests:
|
13
12
|
storage: {{ .Values.uploadsVolume.size }}
|
13
|
+
storageClassName: {{ .Values.uploadsVolume.storageClass }}
|
14
14
|
{{- end }}
|
data/chart/hyrax/values.yaml
CHANGED
@@ -10,33 +10,99 @@ image:
|
|
10
10
|
# Overrides the image tag whose default is the chart appVersion.
|
11
11
|
tag: ""
|
12
12
|
|
13
|
+
# use true to skip loading Hyrax engine database seed file
|
14
|
+
skipHyraxEngineSeed: false
|
15
|
+
# use true to skip running the `db-setup` initContainer
|
16
|
+
# this may be desirable for downstream chart users to customize their database setup
|
17
|
+
skipDbMigrateSeed: false
|
18
|
+
|
13
19
|
# use false to skip the configset management init container
|
14
20
|
loadSolrConfigSet: true
|
15
21
|
# the host and auth details for an external solr service;
|
16
22
|
# ignored if `solr.enabled` is true
|
23
|
+
solrExistingSecret: ""
|
17
24
|
externalSolrHost: ""
|
18
25
|
externalSolrUser: ""
|
19
26
|
externalSolrPassword: ""
|
20
27
|
externalSolrCollection: "hyrax"
|
21
28
|
|
29
|
+
# additional environment variables, evaluated as a template. e.g.
|
30
|
+
#
|
31
|
+
# extraEnvVars:
|
32
|
+
# - name: RAILS_SERVE_STATIC_FILES
|
33
|
+
# value: "1"
|
34
|
+
# - name: GOOGLE_OAUTH_APP_NAME
|
35
|
+
# value: "my_hyrax_app"
|
36
|
+
extraEnvVars: []
|
37
|
+
|
38
|
+
## Extra init containers
|
39
|
+
## Example
|
40
|
+
##
|
41
|
+
## extraInitContainers:
|
42
|
+
## - name: do-something
|
43
|
+
## image: busybox
|
44
|
+
## command: ['echo', 'Hello, Hyrax.']
|
45
|
+
##
|
46
|
+
extraInitContainers: []
|
47
|
+
|
48
|
+
# Extra envFrom (secrets/configmaps)
|
49
|
+
# Example
|
50
|
+
#
|
51
|
+
# extraEnvFrom:
|
52
|
+
# - configMapRef:
|
53
|
+
# name: existingConfigMap
|
54
|
+
# - secretRef:
|
55
|
+
# name: existingSecret
|
56
|
+
#
|
57
|
+
extraEnvFrom: []
|
58
|
+
|
59
|
+
# Extra container spec configuration
|
60
|
+
# Example: (enabling pry debugging for local development)
|
61
|
+
# Note: with this enabled, one can `kubectl attach` to a running container with a binding.pry breakpoint
|
62
|
+
#
|
63
|
+
#extraContainerConfiguration:
|
64
|
+
# stdin: true
|
65
|
+
# tty: true
|
66
|
+
extraContainerConfiguration: []
|
67
|
+
|
68
|
+
# an existing volume containing a Hyrax-based application
|
69
|
+
# must be a ReadWriteMany volume if worker is enabled
|
70
|
+
applicationExistingClaim: ""
|
71
|
+
|
22
72
|
brandingVolume:
|
23
73
|
enabled: true
|
74
|
+
# the name of an existing volume claim; must be an ReadWriteMany volume
|
24
75
|
existingClaim: ""
|
25
76
|
size: 2Gi
|
26
77
|
storageClass: ""
|
27
78
|
|
28
79
|
derivativesVolume:
|
29
80
|
enabled: true
|
81
|
+
# the name of an existing volume claim; must be an ReadWriteMany volume
|
30
82
|
existingClaim: ""
|
31
83
|
size: 10Gi
|
32
84
|
storageClass: ""
|
33
85
|
|
34
86
|
uploadsVolume:
|
35
87
|
enabled: true
|
88
|
+
# the name of an existing volume claim; must be an ReadWriteMany volume
|
36
89
|
existingClaim: ""
|
37
90
|
size: 20Gi
|
38
91
|
storageClass: ""
|
39
92
|
|
93
|
+
# additional volumes and volume mounts, evaluated as a template, e.g.
|
94
|
+
#
|
95
|
+
# extraVolumeMounts
|
96
|
+
# - name: local-app
|
97
|
+
# mountPath: /app/samvera/hyrax-webapp
|
98
|
+
# extraVolumes:
|
99
|
+
# - name: local-app
|
100
|
+
# hostPath:
|
101
|
+
# path: /src
|
102
|
+
# type: DirectoryOrCreate
|
103
|
+
extraVolumeMounts: []
|
104
|
+
extraVolumes: []
|
105
|
+
|
40
106
|
# configuration for an external/existing fcrepo service;
|
41
107
|
# ignored if `fcrepo.enabled` is true
|
42
108
|
externalFcrepoHost: ""
|
@@ -93,7 +159,9 @@ ingress:
|
|
93
159
|
# kubernetes.io/tls-acme: "true"
|
94
160
|
hosts:
|
95
161
|
- host: hyrax.local
|
96
|
-
paths:
|
162
|
+
paths:
|
163
|
+
- path: /
|
164
|
+
pathType: ImplementationSpecific
|
97
165
|
tls: []
|
98
166
|
|
99
167
|
livenessProbe:
|
@@ -117,11 +185,15 @@ readinessProbe:
|
|
117
185
|
resources: {}
|
118
186
|
|
119
187
|
worker:
|
188
|
+
enabled: true
|
120
189
|
replicaCount: 3
|
121
190
|
image:
|
122
191
|
repository: samveralabs/dassie-worker
|
123
192
|
pullPolicy: IfNotPresent
|
124
193
|
tag: ""
|
194
|
+
extraInitContainers: []
|
195
|
+
extraVolumeMounts: []
|
196
|
+
extraVolumes: []
|
125
197
|
imagePullSecrets: []
|
126
198
|
podSecurityContext: {}
|
127
199
|
nodeSelector: {}
|
@@ -142,6 +214,16 @@ fcrepo:
|
|
142
214
|
memcached:
|
143
215
|
enabled: false
|
144
216
|
|
217
|
+
minio:
|
218
|
+
enabled: false
|
219
|
+
accessKey:
|
220
|
+
password: hyrax-access-key
|
221
|
+
secretKey:
|
222
|
+
password: hyrax-secret-key
|
223
|
+
persistence:
|
224
|
+
enabled: false
|
225
|
+
# defaultBuckets: bucketOne;bucketTwo
|
226
|
+
|
145
227
|
postgresql:
|
146
228
|
enabled: true
|
147
229
|
image:
|
@@ -164,7 +246,7 @@ solr:
|
|
164
246
|
enabled: true
|
165
247
|
image:
|
166
248
|
repository: bitnami/solr
|
167
|
-
tag: 8.
|
249
|
+
tag: 8.11.1
|
168
250
|
authentication:
|
169
251
|
enabled: true
|
170
252
|
adminUsername: admin
|
data/config/brakeman.ignore
CHANGED
@@ -68,7 +68,7 @@
|
|
68
68
|
"file": "app/controllers/hyrax/users_controller.rb",
|
69
69
|
"line": 38,
|
70
70
|
"link": "http://brakemanscanner.org/docs/warning_types/sql_injection/",
|
71
|
-
"code": "::User.where(*base_query).where(\"#{Hydra.config.user_key_field} like lower(?) OR display_name like lower(?)\", (nil or ((\"%\" + query.downcase) + \"%\")), (nil or ((\"%\" + query.downcase) + \"%\"))).registered.where(\"#{Hydra.config.user_key_field} not in (?)\", [::User.batch_user_key, ::User.audit_user_key])",
|
71
|
+
"code": "::User.where(*base_query).where(\"#{Hydra.config.user_key_field} like lower(?) OR display_name like lower(?)\", (nil or ((\"%\" + query.downcase) + \"%\")), (nil or ((\"%\" + query.downcase) + \"%\"))).registered.where(\"#{Hydra.config.user_key_field} not in (?)\", [::User.system_user_key, ::User.batch_user_key, ::User.audit_user_key])",
|
72
72
|
"render_path": null,
|
73
73
|
"location": {
|
74
74
|
"type": "method",
|
@@ -88,7 +88,7 @@
|
|
88
88
|
"file": "app/models/concerns/hyrax/user.rb",
|
89
89
|
"line": 27,
|
90
90
|
"link": "http://brakemanscanner.org/docs/warning_types/sql_injection/",
|
91
|
-
"code": "where(\"#{Hydra.config.user_key_field} not in (?)\", [::User.batch_user_key, ::User.audit_user_key])",
|
91
|
+
"code": "where(\"#{Hydra.config.user_key_field} not in (?)\", [::User.system_user_key, ::User.batch_user_key, ::User.audit_user_key])",
|
92
92
|
"render_path": null,
|
93
93
|
"location": {
|
94
94
|
"type": "method",
|
data/config/features.rb
CHANGED
@@ -44,6 +44,9 @@ Flipflop.configure do
|
|
44
44
|
feature :cache_work_iiif_manifest,
|
45
45
|
default: false,
|
46
46
|
description: "Use Rails.cache to cache the JSON document for IIIF manifests"
|
47
|
+
feature :read_only,
|
48
|
+
default: false,
|
49
|
+
description: "Put the system into read-only mode. Deposits, edits, approvals and anything that makes a change to the data will be disabled."
|
47
50
|
rescue Flipflop::StrategyError, Flipflop::FeatureError => err
|
48
51
|
Rails.logger.warn "Ignoring #{err}: #{err.message}"
|
49
52
|
end
|
data/config/i18n-tasks.yml
CHANGED
@@ -85,9 +85,9 @@ search:
|
|
85
85
|
## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
|
86
86
|
|
87
87
|
## Google Translate
|
88
|
-
#
|
88
|
+
# translation:
|
89
89
|
# # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
|
90
|
-
# api_key: "AbC-dEf5"
|
90
|
+
# api_key: "AbC-dEf5"
|
91
91
|
|
92
92
|
## Do not consider these keys missing:
|
93
93
|
# ignore_missing:
|
@@ -1,13 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Hyrax.publisher.subscribe(Hyrax::Listeners::AclIndexListener.new)
|
4
|
-
Hyrax.publisher.subscribe(Hyrax::Listeners::ActiveFedoraAclIndexListener.new)
|
5
|
-
Hyrax.publisher.subscribe(Hyrax::Listeners::MemberCleanupListener.new)
|
6
|
-
Hyrax.publisher.subscribe(Hyrax::Listeners::MetadataIndexListener.new)
|
4
|
+
Hyrax.publisher.subscribe(Hyrax::Listeners::ActiveFedoraAclIndexListener.new) unless Hyrax.config.disable_wings
|
7
5
|
Hyrax.publisher.subscribe(Hyrax::Listeners::BatchNotificationListener.new)
|
8
|
-
Hyrax.publisher.subscribe(Hyrax::Listeners::
|
6
|
+
Hyrax.publisher.subscribe(Hyrax::Listeners::FileMetadataListener.new)
|
9
7
|
Hyrax.publisher.subscribe(Hyrax::Listeners::FileSetLifecycleListener.new)
|
10
8
|
Hyrax.publisher.subscribe(Hyrax::Listeners::FileSetLifecycleNotificationListener.new)
|
9
|
+
Hyrax.publisher.subscribe(Hyrax::Listeners::MemberCleanupListener.new)
|
10
|
+
Hyrax.publisher.subscribe(Hyrax::Listeners::MetadataIndexListener.new)
|
11
|
+
Hyrax.publisher.subscribe(Hyrax::Listeners::ObjectLifecycleListener.new)
|
11
12
|
Hyrax.publisher.subscribe(Hyrax::Listeners::ProxyDepositListener.new)
|
12
13
|
Hyrax.publisher.subscribe(Hyrax::Listeners::TrophyCleanupListener.new)
|
13
14
|
Hyrax.publisher.subscribe(Hyrax::Listeners::WorkflowListener.new)
|