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
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: 3.0
|
4
|
+
version: 3.3.0
|
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:
|
17
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rails
|
@@ -328,6 +328,20 @@ dependencies:
|
|
328
328
|
- - ">="
|
329
329
|
- !ruby/object:Gem::Version
|
330
330
|
version: 5.0.4
|
331
|
+
- !ruby/object:Gem::Dependency
|
332
|
+
name: hydra-file_characterization
|
333
|
+
requirement: !ruby/object:Gem::Requirement
|
334
|
+
requirements:
|
335
|
+
- - "~>"
|
336
|
+
- !ruby/object:Gem::Version
|
337
|
+
version: 1.1.2
|
338
|
+
type: :runtime
|
339
|
+
prerelease: false
|
340
|
+
version_requirements: !ruby/object:Gem::Requirement
|
341
|
+
requirements:
|
342
|
+
- - "~>"
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
version: 1.1.2
|
331
345
|
- !ruby/object:Gem::Dependency
|
332
346
|
name: hydra-head
|
333
347
|
requirement: !ruby/object:Gem::Requirement
|
@@ -355,9 +369,6 @@ dependencies:
|
|
355
369
|
- - ">="
|
356
370
|
- !ruby/object:Gem::Version
|
357
371
|
version: '0.16'
|
358
|
-
- - "<"
|
359
|
-
- !ruby/object:Gem::Version
|
360
|
-
version: '2.0'
|
361
372
|
type: :runtime
|
362
373
|
prerelease: false
|
363
374
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -365,9 +376,6 @@ dependencies:
|
|
365
376
|
- - ">="
|
366
377
|
- !ruby/object:Gem::Version
|
367
378
|
version: '0.16'
|
368
|
-
- - "<"
|
369
|
-
- !ruby/object:Gem::Version
|
370
|
-
version: '2.0'
|
371
379
|
- !ruby/object:Gem::Dependency
|
372
380
|
name: iiif_manifest
|
373
381
|
requirement: !ruby/object:Gem::Requirement
|
@@ -774,22 +782,22 @@ dependencies:
|
|
774
782
|
name: valkyrie
|
775
783
|
requirement: !ruby/object:Gem::Requirement
|
776
784
|
requirements:
|
785
|
+
- - "~>"
|
786
|
+
- !ruby/object:Gem::Version
|
787
|
+
version: '2'
|
777
788
|
- - ">="
|
778
789
|
- !ruby/object:Gem::Version
|
779
790
|
version: 2.1.1
|
780
|
-
- - "<"
|
781
|
-
- !ruby/object:Gem::Version
|
782
|
-
version: '3.0'
|
783
791
|
type: :runtime
|
784
792
|
prerelease: false
|
785
793
|
version_requirements: !ruby/object:Gem::Requirement
|
786
794
|
requirements:
|
795
|
+
- - "~>"
|
796
|
+
- !ruby/object:Gem::Version
|
797
|
+
version: '2'
|
787
798
|
- - ">="
|
788
799
|
- !ruby/object:Gem::Version
|
789
800
|
version: 2.1.1
|
790
|
-
- - "<"
|
791
|
-
- !ruby/object:Gem::Version
|
792
|
-
version: '3.0'
|
793
801
|
- !ruby/object:Gem::Dependency
|
794
802
|
name: capybara
|
795
803
|
requirement: !ruby/object:Gem::Requirement
|
@@ -962,6 +970,20 @@ dependencies:
|
|
962
970
|
- - ">="
|
963
971
|
- !ruby/object:Gem::Version
|
964
972
|
version: '0'
|
973
|
+
- !ruby/object:Gem::Dependency
|
974
|
+
name: pg
|
975
|
+
requirement: !ruby/object:Gem::Requirement
|
976
|
+
requirements:
|
977
|
+
- - "~>"
|
978
|
+
- !ruby/object:Gem::Version
|
979
|
+
version: '1.2'
|
980
|
+
type: :development
|
981
|
+
prerelease: false
|
982
|
+
version_requirements: !ruby/object:Gem::Requirement
|
983
|
+
requirements:
|
984
|
+
- - "~>"
|
985
|
+
- !ruby/object:Gem::Version
|
986
|
+
version: '1.2'
|
965
987
|
- !ruby/object:Gem::Dependency
|
966
988
|
name: rspec-activemodel-mocks
|
967
989
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1389,6 +1411,15 @@ files:
|
|
1389
1411
|
- ".dassie/db/migrate/20200821212885_create_qa_local_authority_entries.rb"
|
1390
1412
|
- ".dassie/db/migrate/20200821212902_create_minter_states.noid_rails_engine.rb"
|
1391
1413
|
- ".dassie/db/migrate/20200821212903_rename_minter_state_random_to_rand.noid_rails_engine.rb"
|
1414
|
+
- ".dassie/db/migrate/20210921150120_enable_uuid_extension.valkyrie_engine.rb"
|
1415
|
+
- ".dassie/db/migrate/20210921150121_create_orm_resources.valkyrie_engine.rb"
|
1416
|
+
- ".dassie/db/migrate/20210921150122_add_model_type_to_orm_resources.valkyrie_engine.rb"
|
1417
|
+
- ".dassie/db/migrate/20210921150123_change_model_type_to_internal_model.valkyrie_engine.rb"
|
1418
|
+
- ".dassie/db/migrate/20210921150124_create_path_gin_index.valkyrie_engine.rb"
|
1419
|
+
- ".dassie/db/migrate/20210921150125_create_internal_resource_index.valkyrie_engine.rb"
|
1420
|
+
- ".dassie/db/migrate/20210921150126_create_updated_at_index.valkyrie_engine.rb"
|
1421
|
+
- ".dassie/db/migrate/20210921150127_add_optimistic_locking_to_orm_resources.valkyrie_engine.rb"
|
1422
|
+
- ".dassie/db/migrate/20211130181150_create_default_administrative_set.rb"
|
1392
1423
|
- ".dassie/db/schema.rb"
|
1393
1424
|
- ".dassie/db/seeds.rb"
|
1394
1425
|
- ".dassie/lib/assets/.keep"
|
@@ -1431,6 +1462,8 @@ files:
|
|
1431
1462
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
1432
1463
|
- ".github/SUPPORT.md"
|
1433
1464
|
- ".github/stale.yml"
|
1465
|
+
- ".github/workflows/main.yml"
|
1466
|
+
- ".github/workflows/release.yml"
|
1434
1467
|
- ".gitignore"
|
1435
1468
|
- ".hound.yml"
|
1436
1469
|
- ".regen"
|
@@ -1499,6 +1532,7 @@ files:
|
|
1499
1532
|
- app/assets/javascripts/hyrax/admin/collection_type/settings.es6
|
1500
1533
|
- app/assets/javascripts/hyrax/admin/collection_type_controls.es6
|
1501
1534
|
- app/assets/javascripts/hyrax/admin/graphs.es6
|
1535
|
+
- app/assets/javascripts/hyrax/analytics_events.js
|
1502
1536
|
- app/assets/javascripts/hyrax/app.js.erb
|
1503
1537
|
- app/assets/javascripts/hyrax/authority_select.es6
|
1504
1538
|
- app/assets/javascripts/hyrax/autocomplete.es6
|
@@ -1553,6 +1587,7 @@ files:
|
|
1553
1587
|
- app/assets/javascripts/hyrax/relationships/registry.es6
|
1554
1588
|
- app/assets/javascripts/hyrax/relationships/registry_entry.es6
|
1555
1589
|
- app/assets/javascripts/hyrax/relationships/resource.es6
|
1590
|
+
- app/assets/javascripts/hyrax/reports-buttons.js
|
1556
1591
|
- app/assets/javascripts/hyrax/save_work.es6
|
1557
1592
|
- app/assets/javascripts/hyrax/save_work/checklist_item.es6
|
1558
1593
|
- app/assets/javascripts/hyrax/save_work/deposit_agreement.es6
|
@@ -1634,8 +1669,10 @@ files:
|
|
1634
1669
|
- app/controllers/concerns/hyrax/admin/users_controller_behavior.rb
|
1635
1670
|
- app/controllers/concerns/hyrax/api.rb
|
1636
1671
|
- app/controllers/concerns/hyrax/breadcrumbs.rb
|
1672
|
+
- app/controllers/concerns/hyrax/breadcrumbs_for_collection_analytics.rb
|
1637
1673
|
- app/controllers/concerns/hyrax/breadcrumbs_for_collections.rb
|
1638
1674
|
- app/controllers/concerns/hyrax/breadcrumbs_for_works.rb
|
1675
|
+
- app/controllers/concerns/hyrax/breadcrumbs_for_works_analytics.rb
|
1639
1676
|
- app/controllers/concerns/hyrax/collections.rb
|
1640
1677
|
- app/controllers/concerns/hyrax/collections/accepts_batches.rb
|
1641
1678
|
- app/controllers/concerns/hyrax/collections_controller_behavior.rb
|
@@ -1649,6 +1686,9 @@ files:
|
|
1649
1686
|
- app/controllers/concerns/hyrax/themed_layout_controller.rb
|
1650
1687
|
- app/controllers/concerns/hyrax/works_controller_behavior.rb
|
1651
1688
|
- app/controllers/hyrax/admin/admin_sets_controller.rb
|
1689
|
+
- app/controllers/hyrax/admin/analytics/analytics_controller.rb
|
1690
|
+
- app/controllers/hyrax/admin/analytics/collection_reports_controller.rb
|
1691
|
+
- app/controllers/hyrax/admin/analytics/work_reports_controller.rb
|
1652
1692
|
- app/controllers/hyrax/admin/appearances_controller.rb
|
1653
1693
|
- app/controllers/hyrax/admin/collection_type_participants_controller.rb
|
1654
1694
|
- app/controllers/hyrax/admin/collection_types_controller.rb
|
@@ -1715,6 +1755,7 @@ files:
|
|
1715
1755
|
- app/forms/hyrax/forms/admin/collection_type_form.rb
|
1716
1756
|
- app/forms/hyrax/forms/admin/collection_type_participant_form.rb
|
1717
1757
|
- app/forms/hyrax/forms/admin_set_form.rb
|
1758
|
+
- app/forms/hyrax/forms/administrative_set_form.rb
|
1718
1759
|
- app/forms/hyrax/forms/batch_edit_form.rb
|
1719
1760
|
- app/forms/hyrax/forms/batch_upload_form.rb
|
1720
1761
|
- app/forms/hyrax/forms/collection_form.rb
|
@@ -1722,6 +1763,9 @@ files:
|
|
1722
1763
|
- app/forms/hyrax/forms/failed_submission_form_wrapper.rb
|
1723
1764
|
- app/forms/hyrax/forms/file_manager_form.rb
|
1724
1765
|
- app/forms/hyrax/forms/file_set_edit_form.rb
|
1766
|
+
- app/forms/hyrax/forms/file_set_form.rb
|
1767
|
+
- app/forms/hyrax/forms/pcdm_collection_form.rb
|
1768
|
+
- app/forms/hyrax/forms/permission.rb
|
1725
1769
|
- app/forms/hyrax/forms/permission_template_form.rb
|
1726
1770
|
- app/forms/hyrax/forms/resource_form.rb
|
1727
1771
|
- app/forms/hyrax/forms/widgets/admin_set_embargo_period.rb
|
@@ -1764,6 +1808,7 @@ files:
|
|
1764
1808
|
- app/indexers/concerns/hyrax/indexes_basic_metadata.rb
|
1765
1809
|
- app/indexers/concerns/hyrax/indexes_linked_metadata.rb
|
1766
1810
|
- app/indexers/hyrax/admin_set_indexer.rb
|
1811
|
+
- app/indexers/hyrax/administrative_set_indexer.rb
|
1767
1812
|
- app/indexers/hyrax/basic_metadata_indexer.rb
|
1768
1813
|
- app/indexers/hyrax/collection_indexer.rb
|
1769
1814
|
- app/indexers/hyrax/collection_with_basic_metadata_indexer.rb
|
@@ -1819,6 +1864,7 @@ files:
|
|
1819
1864
|
- app/jobs/resolrize_job.rb
|
1820
1865
|
- app/jobs/stream_notifications_job.rb
|
1821
1866
|
- app/jobs/user_edit_profile_event_job.rb
|
1867
|
+
- app/jobs/valkyrie_ingest_job.rb
|
1822
1868
|
- app/jobs/visibility_copy_job.rb
|
1823
1869
|
- app/mailers/hyrax/contact_mailer.rb
|
1824
1870
|
- app/models/admin_set.rb
|
@@ -1835,6 +1881,7 @@ files:
|
|
1835
1881
|
- app/models/concerns/hyrax/collection_behavior.rb
|
1836
1882
|
- app/models/concerns/hyrax/collection_nesting.rb
|
1837
1883
|
- app/models/concerns/hyrax/core_metadata.rb
|
1884
|
+
- app/models/concerns/hyrax/embargoable.rb
|
1838
1885
|
- app/models/concerns/hyrax/file_set/belongs_to_works.rb
|
1839
1886
|
- app/models/concerns/hyrax/file_set/characterization.rb
|
1840
1887
|
- app/models/concerns/hyrax/file_set/derivatives.rb
|
@@ -1879,6 +1926,7 @@ files:
|
|
1879
1926
|
- app/models/hyrax/collection_type.rb
|
1880
1927
|
- app/models/hyrax/collection_type_participant.rb
|
1881
1928
|
- app/models/hyrax/contact_form.rb
|
1929
|
+
- app/models/hyrax/default_administrative_set.rb
|
1882
1930
|
- app/models/hyrax/download.rb
|
1883
1931
|
- app/models/hyrax/embargo.rb
|
1884
1932
|
- app/models/hyrax/event.rb
|
@@ -1938,6 +1986,7 @@ files:
|
|
1938
1986
|
- app/presenters/hyrax/admin/workflow_roles_presenter.rb
|
1939
1987
|
- app/presenters/hyrax/admin_set_options_presenter.rb
|
1940
1988
|
- app/presenters/hyrax/admin_set_presenter.rb
|
1989
|
+
- app/presenters/hyrax/admin_set_selection_presenter.rb
|
1941
1990
|
- app/presenters/hyrax/admin_stats_presenter.rb
|
1942
1991
|
- app/presenters/hyrax/characterization_behavior.rb
|
1943
1992
|
- app/presenters/hyrax/collapsable_section_presenter.rb
|
@@ -1959,6 +2008,7 @@ files:
|
|
1959
2008
|
- app/presenters/hyrax/model_icon.rb
|
1960
2009
|
- app/presenters/hyrax/model_proxy.rb
|
1961
2010
|
- app/presenters/hyrax/page_title_decorator.rb
|
2011
|
+
- app/presenters/hyrax/pcdm_member_presenter_factory.rb
|
1962
2012
|
- app/presenters/hyrax/permission_badge.rb
|
1963
2013
|
- app/presenters/hyrax/presenter_factory.rb
|
1964
2014
|
- app/presenters/hyrax/presenter_renderer.rb
|
@@ -2038,6 +2088,13 @@ files:
|
|
2038
2088
|
- app/services/hyrax/admin_set_member_service.rb
|
2039
2089
|
- app/services/hyrax/admin_set_service.rb
|
2040
2090
|
- app/services/hyrax/analytics.rb
|
2091
|
+
- app/services/hyrax/analytics/google.rb
|
2092
|
+
- app/services/hyrax/analytics/google/events.rb
|
2093
|
+
- app/services/hyrax/analytics/google/events_daily.rb
|
2094
|
+
- app/services/hyrax/analytics/google/visits.rb
|
2095
|
+
- app/services/hyrax/analytics/google/visits_daily.rb
|
2096
|
+
- app/services/hyrax/analytics/matomo.rb
|
2097
|
+
- app/services/hyrax/analytics/results.rb
|
2041
2098
|
- app/services/hyrax/batch_create_failure_service.rb
|
2042
2099
|
- app/services/hyrax/batch_create_success_service.rb
|
2043
2100
|
- app/services/hyrax/caching_iiif_manifest_builder.rb
|
@@ -2045,11 +2102,13 @@ files:
|
|
2045
2102
|
- app/services/hyrax/change_content_depositor_service.rb
|
2046
2103
|
- app/services/hyrax/characterization/file_set_description.rb
|
2047
2104
|
- app/services/hyrax/characterization/model_wrapper.rb
|
2105
|
+
- app/services/hyrax/characterization/valkyrie_characterization_service.rb
|
2048
2106
|
- app/services/hyrax/child_types.rb
|
2049
2107
|
- app/services/hyrax/collection_member_service.rb
|
2050
2108
|
- app/services/hyrax/collection_thumbnail_path_service.rb
|
2051
2109
|
- app/services/hyrax/collection_types/create_service.rb
|
2052
2110
|
- app/services/hyrax/collection_types/permissions_service.rb
|
2111
|
+
- app/services/hyrax/collections/collection_member_search_service.rb
|
2053
2112
|
- app/services/hyrax/collections/collection_member_service.rb
|
2054
2113
|
- app/services/hyrax/collections/managed_collections_service.rb
|
2055
2114
|
- app/services/hyrax/collections/migration_service.rb
|
@@ -2072,6 +2131,7 @@ files:
|
|
2072
2131
|
- app/services/hyrax/custom_queries/navigators/child_works_navigator.rb
|
2073
2132
|
- app/services/hyrax/custom_queries/navigators/collection_members.rb
|
2074
2133
|
- app/services/hyrax/custom_queries/navigators/find_files.rb
|
2134
|
+
- app/services/hyrax/custom_queries/navigators/parent_collections_navigator.rb
|
2075
2135
|
- app/services/hyrax/database_migrator.rb
|
2076
2136
|
- app/services/hyrax/default_middleware_stack.rb
|
2077
2137
|
- app/services/hyrax/derivative_path.rb
|
@@ -2085,6 +2145,7 @@ files:
|
|
2085
2145
|
- app/services/hyrax/file_set_fixity_check_service.rb
|
2086
2146
|
- app/services/hyrax/file_set_type_service.rb
|
2087
2147
|
- app/services/hyrax/file_set_visibility_propagator.rb
|
2148
|
+
- app/services/hyrax/find_objects_via_solr_service.rb
|
2088
2149
|
- app/services/hyrax/fixity/active_fedora_fixity_service.rb
|
2089
2150
|
- app/services/hyrax/fixity/missing_content_error.rb
|
2090
2151
|
- app/services/hyrax/fixity_check_failure_service.rb
|
@@ -2106,6 +2167,7 @@ files:
|
|
2106
2167
|
- app/services/hyrax/listeners/acl_index_listener.rb
|
2107
2168
|
- app/services/hyrax/listeners/active_fedora_acl_index_listener.rb
|
2108
2169
|
- app/services/hyrax/listeners/batch_notification_listener.rb
|
2170
|
+
- app/services/hyrax/listeners/file_metadata_listener.rb
|
2109
2171
|
- app/services/hyrax/listeners/file_set_lifecycle_listener.rb
|
2110
2172
|
- app/services/hyrax/listeners/file_set_lifecycle_notification_listener.rb
|
2111
2173
|
- app/services/hyrax/listeners/member_cleanup_listener.rb
|
@@ -2138,6 +2200,7 @@ files:
|
|
2138
2200
|
- app/services/hyrax/search_service.rb
|
2139
2201
|
- app/services/hyrax/simple_schema_loader.rb
|
2140
2202
|
- app/services/hyrax/solr_query_builder_service.rb
|
2203
|
+
- app/services/hyrax/solr_query_service.rb
|
2141
2204
|
- app/services/hyrax/solr_service.rb
|
2142
2205
|
- app/services/hyrax/statistics/collections/over_time.rb
|
2143
2206
|
- app/services/hyrax/statistics/depositors/summary.rb
|
@@ -2169,6 +2232,7 @@ files:
|
|
2169
2232
|
- app/services/hyrax/work_uploads_handler.rb
|
2170
2233
|
- app/services/hyrax/workflow/abstract_notification.rb
|
2171
2234
|
- app/services/hyrax/workflow/action_taken_service.rb
|
2235
|
+
- app/services/hyrax/workflow/actionable_objects.rb
|
2172
2236
|
- app/services/hyrax/workflow/activate_object.rb
|
2173
2237
|
- app/services/hyrax/workflow/changes_required_notification.rb
|
2174
2238
|
- app/services/hyrax/workflow/deactivate_object.rb
|
@@ -2180,6 +2244,7 @@ files:
|
|
2180
2244
|
- app/services/hyrax/workflow/notification_configuration_parameter.rb
|
2181
2245
|
- app/services/hyrax/workflow/notification_generator.rb
|
2182
2246
|
- app/services/hyrax/workflow/notification_service.rb
|
2247
|
+
- app/services/hyrax/workflow/object_in_workflow_decorator.rb
|
2183
2248
|
- app/services/hyrax/workflow/pending_review_notification.rb
|
2184
2249
|
- app/services/hyrax/workflow/permission_generator.rb
|
2185
2250
|
- app/services/hyrax/workflow/permission_query.rb
|
@@ -2202,7 +2267,6 @@ files:
|
|
2202
2267
|
- app/values/hyrax/chart_data.rb
|
2203
2268
|
- app/views/_controls.html.erb
|
2204
2269
|
- app/views/_flash_msg.html.erb
|
2205
|
-
- app/views/_ga.html.erb
|
2206
2270
|
- app/views/_head_tag_extras.html.erb
|
2207
2271
|
- app/views/_logo.html.erb
|
2208
2272
|
- app/views/_masthead.html.erb
|
@@ -2236,6 +2300,22 @@ files:
|
|
2236
2300
|
- app/views/hyrax/admin/admin_sets/index.json.jbuilder
|
2237
2301
|
- app/views/hyrax/admin/admin_sets/new.html.erb
|
2238
2302
|
- app/views/hyrax/admin/admin_sets/show.html.erb
|
2303
|
+
- app/views/hyrax/admin/analytics/_date_range_form.html.erb
|
2304
|
+
- app/views/hyrax/admin/analytics/collection_reports/_custom_range.html.erb
|
2305
|
+
- app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
|
2306
|
+
- app/views/hyrax/admin/analytics/collection_reports/_summary.html.erb
|
2307
|
+
- app/views/hyrax/admin/analytics/collection_reports/_top_collections.html.erb
|
2308
|
+
- app/views/hyrax/admin/analytics/collection_reports/index.html.erb
|
2309
|
+
- app/views/hyrax/admin/analytics/collection_reports/show.html.erb
|
2310
|
+
- app/views/hyrax/admin/analytics/work_reports/_custom_range.html.erb
|
2311
|
+
- app/views/hyrax/admin/analytics/work_reports/_monthly_summary.html.erb
|
2312
|
+
- app/views/hyrax/admin/analytics/work_reports/_summary.html.erb
|
2313
|
+
- app/views/hyrax/admin/analytics/work_reports/_top_file_set_downloads.html.erb
|
2314
|
+
- app/views/hyrax/admin/analytics/work_reports/_top_works.html.erb
|
2315
|
+
- app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
|
2316
|
+
- app/views/hyrax/admin/analytics/work_reports/_work_files.html.erb
|
2317
|
+
- app/views/hyrax/admin/analytics/work_reports/index.html.erb
|
2318
|
+
- app/views/hyrax/admin/analytics/work_reports/show.html.erb
|
2239
2319
|
- app/views/hyrax/admin/appearances/show.html.erb
|
2240
2320
|
- app/views/hyrax/admin/collection_types/_form.html.erb
|
2241
2321
|
- app/views/hyrax/admin/collection_types/_form_appearance.html.erb
|
@@ -2363,9 +2443,13 @@ files:
|
|
2363
2443
|
- app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
|
2364
2444
|
- app/views/hyrax/dashboard/_index_partials/_transfers.html.erb
|
2365
2445
|
- app/views/hyrax/dashboard/_repository_growth.html.erb
|
2366
|
-
- app/views/hyrax/dashboard/
|
2446
|
+
- app/views/hyrax/dashboard/_resource_type_graph.html.erb
|
2367
2447
|
- app/views/hyrax/dashboard/_sidebar.html.erb
|
2448
|
+
- app/views/hyrax/dashboard/_tabs.html.erb
|
2368
2449
|
- app/views/hyrax/dashboard/_user_activity.html.erb
|
2450
|
+
- app/views/hyrax/dashboard/_user_activity_graph.html.erb
|
2451
|
+
- app/views/hyrax/dashboard/_visibility_graph.html.erb
|
2452
|
+
- app/views/hyrax/dashboard/_work_type_graph.html.erb
|
2369
2453
|
- app/views/hyrax/dashboard/collections/_batch_edits_actions.html.erb
|
2370
2454
|
- app/views/hyrax/dashboard/collections/_bookmark_control.html.erb
|
2371
2455
|
- app/views/hyrax/dashboard/collections/_button_create_collection.html.erb
|
@@ -2536,6 +2620,8 @@ files:
|
|
2536
2620
|
- app/views/hyrax/single_use_links_viewer/single_use_error.html.erb
|
2537
2621
|
- app/views/hyrax/static/mendeley.html.erb
|
2538
2622
|
- app/views/hyrax/static/zotero.html.erb
|
2623
|
+
- app/views/hyrax/stats/_downloads.html.erb
|
2624
|
+
- app/views/hyrax/stats/_pageviews.html.erb
|
2539
2625
|
- app/views/hyrax/stats/file.html.erb
|
2540
2626
|
- app/views/hyrax/stats/work.html.erb
|
2541
2627
|
- app/views/hyrax/transfers/_received.html.erb
|
@@ -2594,8 +2680,11 @@ files:
|
|
2594
2680
|
- app/views/shared/_appearance_styles.html.erb
|
2595
2681
|
- app/views/shared/_citations.html.erb
|
2596
2682
|
- app/views/shared/_footer.html.erb
|
2683
|
+
- app/views/shared/_ga.html.erb
|
2597
2684
|
- app/views/shared/_locale_picker.html.erb
|
2685
|
+
- app/views/shared/_matomo.html.erb
|
2598
2686
|
- app/views/shared/_nav_safety_modal.html.erb
|
2687
|
+
- app/views/shared/_read_only.html.erb
|
2599
2688
|
- app/views/shared/_select_work_type_modal.html.erb
|
2600
2689
|
- artifacts/entity-relationship-diagram.dot
|
2601
2690
|
- artifacts/entity-relationship-diagram.pdf
|
@@ -2633,6 +2722,7 @@ files:
|
|
2633
2722
|
- config/initializers/listeners.rb
|
2634
2723
|
- config/initializers/nesting_indexer_initializer.rb
|
2635
2724
|
- config/initializers/simple_form.rb
|
2725
|
+
- config/initializers/valkryrie_storage.rb
|
2636
2726
|
- config/initializers/valkyrie_id_equality.rb
|
2637
2727
|
- config/locales/hyrax.de.yml
|
2638
2728
|
- config/locales/hyrax.en.yml
|
@@ -2752,6 +2842,7 @@ files:
|
|
2752
2842
|
- lib/generators/hyrax/templates/db/migrate/20180406202557_add_badge_color_to_collection_types.rb.erb
|
2753
2843
|
- lib/generators/hyrax/templates/db/migrate/20180612002029_update_single_use_links_column_names.rb.erb
|
2754
2844
|
- lib/generators/hyrax/templates/db/migrate/20200617002029_change_sipity_entity_specific_responsibility.rb.erb
|
2845
|
+
- lib/generators/hyrax/templates/db/migrate/20211130181150_create_default_administrative_set.rb.erb
|
2755
2846
|
- lib/generators/hyrax/templates/db/seeds.rb
|
2756
2847
|
- lib/generators/hyrax/templates/hyrax.scss
|
2757
2848
|
- lib/generators/hyrax/templates/hyrax_helper.rb
|
@@ -2795,6 +2886,7 @@ files:
|
|
2795
2886
|
- lib/generators/hyrax/work_resource/templates/work_spec.rb.erb
|
2796
2887
|
- lib/generators/hyrax/work_resource/work_resource_generator.rb
|
2797
2888
|
- lib/hyrax.rb
|
2889
|
+
- lib/hyrax/active_fedora_dummy_model.rb
|
2798
2890
|
- lib/hyrax/arkivo.rb
|
2799
2891
|
- lib/hyrax/arkivo/actor.rb
|
2800
2892
|
- lib/hyrax/arkivo/config.rb
|
@@ -2844,25 +2936,34 @@ files:
|
|
2844
2936
|
- lib/hyrax/specs/shared_specs/identifiers.rb
|
2845
2937
|
- lib/hyrax/specs/shared_specs/indexers.rb
|
2846
2938
|
- lib/hyrax/specs/shared_specs/metadata.rb
|
2939
|
+
- lib/hyrax/specs/shared_specs/valkyrie_storage_versions.rb
|
2847
2940
|
- lib/hyrax/specs/shared_specs/workflow_method.rb
|
2848
2941
|
- lib/hyrax/specs/spy_listener.rb
|
2849
2942
|
- lib/hyrax/transactions.rb
|
2943
|
+
- lib/hyrax/transactions/admin_set_create.rb
|
2850
2944
|
- lib/hyrax/transactions/apply_change_set.rb
|
2945
|
+
- lib/hyrax/transactions/collection_create.rb
|
2946
|
+
- lib/hyrax/transactions/collection_update.rb
|
2851
2947
|
- lib/hyrax/transactions/container.rb
|
2852
2948
|
- lib/hyrax/transactions/create_work.rb
|
2853
2949
|
- lib/hyrax/transactions/destroy_work.rb
|
2950
|
+
- lib/hyrax/transactions/file_set_destroy.rb
|
2854
2951
|
- lib/hyrax/transactions/steps/add_file_sets.rb
|
2855
2952
|
- lib/hyrax/transactions/steps/add_to_collections.rb
|
2953
|
+
- lib/hyrax/transactions/steps/add_to_parent.rb
|
2856
2954
|
- lib/hyrax/transactions/steps/apply_collection_permission_template.rb
|
2955
|
+
- lib/hyrax/transactions/steps/apply_collection_type_permissions.rb
|
2857
2956
|
- lib/hyrax/transactions/steps/apply_permission_template.rb
|
2858
2957
|
- lib/hyrax/transactions/steps/apply_visibility.rb
|
2859
2958
|
- lib/hyrax/transactions/steps/delete_resource.rb
|
2860
2959
|
- lib/hyrax/transactions/steps/destroy_work.rb
|
2861
2960
|
- lib/hyrax/transactions/steps/ensure_admin_set.rb
|
2862
2961
|
- lib/hyrax/transactions/steps/ensure_permission_template.rb
|
2962
|
+
- lib/hyrax/transactions/steps/remove_file_set_from_work.rb
|
2863
2963
|
- lib/hyrax/transactions/steps/save.rb
|
2864
2964
|
- lib/hyrax/transactions/steps/save_access_control.rb
|
2865
2965
|
- lib/hyrax/transactions/steps/save_work.rb
|
2966
|
+
- lib/hyrax/transactions/steps/set_collection_type_gid.rb
|
2866
2967
|
- lib/hyrax/transactions/steps/set_default_admin_set.rb
|
2867
2968
|
- lib/hyrax/transactions/steps/set_modified_date.rb
|
2868
2969
|
- lib/hyrax/transactions/steps/set_uploaded_date_unless_present.rb
|
@@ -2873,6 +2974,7 @@ files:
|
|
2873
2974
|
- lib/hyrax/transactions/work_create.rb
|
2874
2975
|
- lib/hyrax/transactions/work_destroy.rb
|
2875
2976
|
- lib/hyrax/valkyrie_can_can_adapter.rb
|
2977
|
+
- lib/hyrax/valkyrie_simple_path_generator.rb
|
2876
2978
|
- lib/hyrax/version.rb
|
2877
2979
|
- lib/hyrax/zotero.rb
|
2878
2980
|
- lib/hyrax/zotero/config.rb
|
@@ -2885,6 +2987,7 @@ files:
|
|
2885
2987
|
- lib/tasks/hyrax_user.rake
|
2886
2988
|
- lib/tasks/install.rake
|
2887
2989
|
- lib/tasks/migrate.rake
|
2990
|
+
- lib/tasks/regenerate_derivatives.rake
|
2888
2991
|
- lib/tasks/reindex.rake
|
2889
2992
|
- lib/tasks/stats_tasks.rake
|
2890
2993
|
- lib/tasks/universal_viewer.rake
|
@@ -2958,7 +3061,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2958
3061
|
- !ruby/object:Gem::Version
|
2959
3062
|
version: '0'
|
2960
3063
|
requirements: []
|
2961
|
-
rubygems_version: 3.1.
|
3064
|
+
rubygems_version: 3.1.6
|
2962
3065
|
signing_key:
|
2963
3066
|
specification_version: 4
|
2964
3067
|
summary: Hyrax is a front-end based on the robust Samvera framework, providing a user
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<div class="panel-heading">
|
2
|
-
<h3 class="panel-title"><%= t('.title') %></h3>
|
3
|
-
<div><%= t('.subtitle') %></div>
|
4
|
-
</div>
|
5
|
-
<div class="panel-body text-center">
|
6
|
-
<% repository_objects = @presenter.repository_objects.to_json %>
|
7
|
-
<div id="dashboard-repository-objects" aria-hidden="true" style="height: 200px"><script>
|
8
|
-
//<![CDATA[
|
9
|
-
Hyrax.statistics.repositoryObjects = <%== repository_objects %>
|
10
|
-
//]]>
|
11
|
-
</script></div>
|
12
|
-
<table aria-label="<%= t('.title') %>, <%= t('.subtitle') %>" class="table table-striped sr-only text-left">
|
13
|
-
<thead>
|
14
|
-
<tr>
|
15
|
-
<th><%= t('.status') %></th>
|
16
|
-
<th></th>
|
17
|
-
</tr>
|
18
|
-
</thead>
|
19
|
-
<tbody>
|
20
|
-
<% JSON.parse(repository_objects).each do |row| %>
|
21
|
-
<tr>
|
22
|
-
<td><%= row["label"] %></td>
|
23
|
-
<td><%= row["value"] %></td>
|
24
|
-
</tr>
|
25
|
-
<% end %>
|
26
|
-
</tbody>
|
27
|
-
</table>
|
28
|
-
</div>
|