hyrax 4.0.0.beta1 → 4.0.0.beta2
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 +4 -4
- data/.dassie/.env +29 -0
- data/.github/workflows/build.yml +79 -0
- data/{.env → .koppie/.env} +21 -11
- data/.koppie/.gitignore +48 -0
- data/.koppie/.rspec +2 -0
- data/.koppie/CODE_OF_CONDUCT.md +36 -0
- data/.koppie/CONTRIBUTING.md +192 -0
- data/.koppie/Gemfile +54 -0
- data/.koppie/LICENSE +205 -0
- data/.koppie/README.md +55 -0
- data/.koppie/Rakefile +8 -0
- data/.koppie/app/assets/config/manifest.js +5 -0
- data/.koppie/app/assets/images/.keep +0 -0
- data/.koppie/app/assets/images/unauthorized.png +0 -0
- data/.koppie/app/assets/images/us_404.svg +91 -0
- data/.koppie/app/assets/javascripts/application.js +30 -0
- data/.koppie/app/assets/javascripts/blacklight_gallery.js +1 -0
- data/.koppie/app/assets/javascripts/cable.js +13 -0
- data/.koppie/app/assets/javascripts/channels/.keep +0 -0
- data/.koppie/app/assets/javascripts/openseadragon.js +2 -0
- data/.koppie/app/assets/stylesheets/application.css +48 -0
- data/.koppie/app/assets/stylesheets/hyrax.scss +17 -0
- data/.koppie/app/assets/stylesheets/openseadragon.css +3 -0
- data/.koppie/app/channels/application_cable/channel.rb +4 -0
- data/.koppie/app/channels/application_cable/connection.rb +4 -0
- data/.koppie/app/controllers/application_controller.rb +13 -0
- data/.koppie/app/controllers/catalog_controller.rb +314 -0
- data/.koppie/app/controllers/concerns/.keep +0 -0
- data/.koppie/app/controllers/hyrax/generic_works_controller.rb +17 -0
- data/.koppie/app/controllers/hyrax/monographs_controller.rb +17 -0
- data/.koppie/app/forms/collection_resource_form.rb +7 -0
- data/.koppie/app/forms/generic_work_form.rb +20 -0
- data/.koppie/app/forms/monograph_form.rb +20 -0
- data/.koppie/app/helpers/application_helper.rb +2 -0
- data/.koppie/app/helpers/hyrax_helper.rb +6 -0
- data/.koppie/app/indexers/collection_resource_indexer.rb +7 -0
- data/.koppie/app/indexers/generic_work_indexer.rb +16 -0
- data/.koppie/app/indexers/monograph_indexer.rb +16 -0
- data/.koppie/app/jobs/application_job.rb +2 -0
- data/.koppie/app/mailers/application_mailer.rb +4 -0
- data/.koppie/app/models/ability.rb +25 -0
- data/.koppie/app/models/application_record.rb +3 -0
- data/.koppie/app/models/collection.rb +1 -0
- data/.koppie/app/models/collection_resource.rb +31 -0
- data/.koppie/app/models/concerns/.keep +0 -0
- data/.koppie/app/models/file_set.rb +4 -0
- data/.koppie/app/models/generic_work.rb +8 -0
- data/.koppie/app/models/monograph.rb +8 -0
- data/.koppie/app/models/qa/local_authority.rb +2 -0
- data/.koppie/app/models/qa/local_authority_entry.rb +3 -0
- data/.koppie/app/models/qa.rb +5 -0
- data/.koppie/app/models/search_builder.rb +16 -0
- data/.koppie/app/models/solr_document.rb +28 -0
- data/.koppie/app/models/user.rb +24 -0
- data/.koppie/app/views/hyrax/generic_works/_generic_work.html.erb +2 -0
- data/.koppie/app/views/hyrax/monographs/_monograph.html.erb +2 -0
- data/.koppie/app/views/layouts/application.html.erb +15 -0
- data/.koppie/app/views/layouts/mailer.html.erb +13 -0
- data/.koppie/app/views/layouts/mailer.text.erb +1 -0
- data/.koppie/bin/bundle +3 -0
- data/.koppie/bin/rails +9 -0
- data/.koppie/bin/rake +9 -0
- data/.koppie/bin/setup +36 -0
- data/.koppie/bin/spring +17 -0
- data/.koppie/bin/update +31 -0
- data/.koppie/bin/yarn +11 -0
- data/.koppie/config/analytics.yml +12 -0
- data/.koppie/config/application.rb +33 -0
- data/.koppie/config/authorities/licenses.yml +46 -0
- data/.koppie/config/authorities/resource_types.yml +41 -0
- data/.koppie/config/authorities/rights_statements.yml +37 -0
- data/.koppie/config/blacklight.yml +9 -0
- data/.koppie/config/boot.rb +4 -0
- data/.koppie/config/browse_everything_providers.yml +25 -0
- data/.koppie/config/cable.yml +12 -0
- data/.koppie/config/credentials.yml.enc +1 -0
- data/.koppie/config/database.yml +25 -0
- data/.koppie/config/environment.rb +5 -0
- data/.koppie/config/environments/development.rb +71 -0
- data/.koppie/config/environments/production.rb +97 -0
- data/.koppie/config/environments/test.rb +46 -0
- data/.koppie/config/initializers/1_valkyrie.rb +56 -0
- data/.koppie/config/initializers/application_controller_renderer.rb +8 -0
- data/.koppie/config/initializers/assets.rb +14 -0
- data/.koppie/config/initializers/backtrace_silencers.rb +7 -0
- data/.koppie/config/initializers/clamav.rb +2 -0
- data/.koppie/config/initializers/content_security_policy.rb +25 -0
- data/.koppie/config/initializers/cookies_serializer.rb +5 -0
- data/.koppie/config/initializers/devise.rb +311 -0
- data/.koppie/config/initializers/filter_parameter_logging.rb +4 -0
- data/.koppie/config/initializers/hydra_config.rb +24 -0
- data/.koppie/config/initializers/hyrax.rb +333 -0
- data/.koppie/config/initializers/inflections.rb +16 -0
- data/.koppie/config/initializers/mailboxer.rb +22 -0
- data/.koppie/config/initializers/mime_types.rb +8 -0
- data/.koppie/config/initializers/mini_magick.rb +6 -0
- data/.koppie/config/initializers/redis_config.rb +4 -0
- data/.koppie/config/initializers/riiif.rb +29 -0
- data/.koppie/config/initializers/simple_form.rb +171 -0
- data/.koppie/config/initializers/simple_form_bootstrap.rb +151 -0
- data/.koppie/config/initializers/wrap_parameters.rb +14 -0
- data/.koppie/config/locales/blacklight.en.yml +3 -0
- data/.koppie/config/locales/devise.en.yml +65 -0
- data/.koppie/config/locales/en.yml +33 -0
- data/.koppie/config/locales/hyrax.de.yml +58 -0
- data/.koppie/config/locales/hyrax.en.yml +58 -0
- data/.koppie/config/locales/hyrax.es.yml +58 -0
- data/.koppie/config/locales/hyrax.fr.yml +58 -0
- data/.koppie/config/locales/hyrax.it.yml +58 -0
- data/.koppie/config/locales/hyrax.pt-BR.yml +58 -0
- data/.koppie/config/locales/hyrax.zh.yml +58 -0
- data/.koppie/config/metadata/collection_resource.yaml +149 -0
- data/.koppie/config/metadata/generic_work.yaml +22 -0
- data/.koppie/config/metadata/monograph.yaml +55 -0
- data/.koppie/config/puma.rb +37 -0
- data/.koppie/config/redis.yml +12 -0
- data/.koppie/config/role_map.yml +48 -0
- data/.koppie/config/routes.rb +36 -0
- data/.koppie/config/sidekiq.yml +15 -0
- data/.koppie/config/solr.yml +7 -0
- data/.koppie/config/spring.rb +6 -0
- data/.koppie/config/storage.yml +34 -0
- data/.koppie/config/tinymce.yml +13 -0
- data/.koppie/config/uv/uv-config.json +3 -0
- data/.koppie/config/uv/uv.html +87 -0
- data/.koppie/config/valkyrie_index.yml +12 -0
- data/.koppie/config/workflows/default_workflow.json +21 -0
- data/.koppie/config/workflows/mediated_deposit_workflow.json +76 -0
- data/.koppie/config.ru +5 -0
- data/.koppie/db/migrate/20210911143430_create_searches.blacklight.rb +17 -0
- data/.koppie/db/migrate/20210911143431_create_bookmarks.blacklight.rb +19 -0
- data/.koppie/db/migrate/20210911143432_add_polymorphic_type_to_bookmarks.blacklight.rb +9 -0
- data/.koppie/db/migrate/20210911143452_devise_create_users.rb +44 -0
- data/.koppie/db/migrate/20210911143456_add_devise_guests_to_users.rb +15 -0
- data/.koppie/db/migrate/20210911143532_create_version_committers.hyrax.rb +15 -0
- data/.koppie/db/migrate/20210911143533_create_checksum_audit_logs.hyrax.rb +19 -0
- data/.koppie/db/migrate/20210911143534_create_single_use_links.hyrax.rb +12 -0
- data/.koppie/db/migrate/20210911143535_add_social_to_users.hyrax.rb +13 -0
- data/.koppie/db/migrate/20210911143536_add_ldap_attrs_to_user.hyrax.rb +27 -0
- data/.koppie/db/migrate/20210911143537_add_avatars_to_users.hyrax.rb +15 -0
- data/.koppie/db/migrate/20210911143538_create_trophies.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143539_add_linkedin_to_users.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143540_create_tinymce_assets.hyrax.rb +8 -0
- data/.koppie/db/migrate/20210911143541_create_content_blocks.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143542_create_featured_works.hyrax.rb +12 -0
- data/.koppie/db/migrate/20210911143543_add_external_key_to_content_blocks.hyrax.rb +6 -0
- data/.koppie/db/migrate/20210911143544_create_proxy_deposit_rights.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143545_create_proxy_deposit_requests.hyrax.rb +15 -0
- data/.koppie/db/migrate/20210911143546_create_file_view_stats.hyrax.rb +12 -0
- data/.koppie/db/migrate/20210911143547_create_file_download_stats.hyrax.rb +12 -0
- data/.koppie/db/migrate/20210911143548_add_orcid_to_users.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143549_create_user_stats.hyrax.rb +19 -0
- data/.koppie/db/migrate/20210911143550_create_work_view_stats.hyrax.rb +12 -0
- data/.koppie/db/migrate/20210911143551_add_works_to_user_stats.hyrax.rb +13 -0
- data/.koppie/db/migrate/20210911143552_change_trophy_generic_file_id_to_work_id.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143553_change_proxy_deposit_generic_file_id_to_work_id.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143554_change_audit_log_generic_file_id_to_file_set_id.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143555_change_proxy_deposit_request_generic_file_id_to_work_id.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143556_create_uploaded_files.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143557_create_features.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143558_create_operations.hyrax.rb +23 -0
- data/.koppie/db/migrate/20210911143559_change_featured_work_generic_file_id_to_work_id.hyrax.rb +6 -0
- data/.koppie/db/migrate/20210911143560_add_arkivo_to_users.hyrax.rb +8 -0
- data/.koppie/db/migrate/20210911143561_create_sipity.hyrax.rb +163 -0
- data/.koppie/db/migrate/20210911143562_create_sipity_workflow_methods.hyrax.rb +10 -0
- data/.koppie/db/migrate/20210911143563_create_permission_template.hyrax.rb +11 -0
- data/.koppie/db/migrate/20210911143564_create_permission_template_access.hyrax.rb +11 -0
- data/.koppie/db/migrate/20210911143565_add_release_to_permission_templates.hyrax.rb +6 -0
- data/.koppie/db/migrate/20210911143566_add_permission_template_to_sipity_workflow.hyrax.rb +26 -0
- data/.koppie/db/migrate/20210911143567_tidy_up_because_of_bad_exception.hyrax.rb +13 -0
- data/.koppie/db/migrate/20210911143568_add_allows_access_grant_to_workflow.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143569_change_checksum_audit_log.hyrax.rb +18 -0
- data/.koppie/db/migrate/20210911143570_create_job_io_wrappers.hyrax.rb +15 -0
- data/.koppie/db/migrate/20210911143571_create_collection_types.hyrax.rb +17 -0
- data/.koppie/db/migrate/20210911143572_update_collection_type_column_names.hyrax.rb +9 -0
- data/.koppie/db/migrate/20210911143573_update_collection_type_column_options.hyrax.rb +17 -0
- data/.koppie/db/migrate/20210911143574_create_collection_branding_infos.hyrax.rb +15 -0
- data/.koppie/db/migrate/20210911143575_create_collection_type_participants.hyrax.rb +11 -0
- data/.koppie/db/migrate/20210911143576_rename_admin_set_id_to_source_id.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143577_add_preferred_locale_to_users.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143578_add_collection_type_sharing_options.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143579_add_unique_constraint_to_permission_template_accesses.hyrax.rb +8 -0
- data/.koppie/db/migrate/20210911143580_add_branding_to_collection_type.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143581_add_badge_color_to_collection_types.hyrax.rb +5 -0
- data/.koppie/db/migrate/20210911143582_update_single_use_links_column_names.hyrax.rb +6 -0
- data/.koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb +9 -0
- data/.koppie/db/migrate/20210911143584_create_mailboxer.mailboxer_engine.rb +65 -0
- data/.koppie/db/migrate/20210911143585_add_conversation_optout.mailboxer_engine.rb +15 -0
- data/.koppie/db/migrate/20210911143586_add_missing_indices.mailboxer_engine.rb +20 -0
- data/.koppie/db/migrate/20210911143587_add_delivery_tracking_info_to_mailboxer_receipts.mailboxer_engine.rb +8 -0
- data/.koppie/db/migrate/20210911143588_create_qa_local_authorities.rb +10 -0
- data/.koppie/db/migrate/20210911143602_create_qa_local_authority_entries.rb +12 -0
- data/.koppie/db/migrate/20210911143623_create_minter_states.noid_rails_engine.rb +17 -0
- data/.koppie/db/migrate/20210911143624_rename_minter_state_random_to_rand.noid_rails_engine.rb +8 -0
- data/.koppie/db/migrate/20210921150120_enable_uuid_extension.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150121_create_orm_resources.valkyrie_engine.rb +19 -0
- data/.koppie/db/migrate/20210921150122_add_model_type_to_orm_resources.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150123_change_model_type_to_internal_model.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150124_create_path_gin_index.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150125_create_internal_resource_index.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150126_create_updated_at_index.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20210921150127_add_optimistic_locking_to_orm_resources.valkyrie_engine.rb +7 -0
- data/.koppie/db/migrate/20211021161136_user_roles.rb +20 -0
- data/.koppie/db/migrate/20211207172259_create_default_administrative_set.hyrax.rb +8 -0
- data/.koppie/db/schema.rb +595 -0
- data/.koppie/db/seeds.rb +79 -0
- data/.koppie/lib/assets/.keep +0 -0
- data/.koppie/lib/tasks/.keep +0 -0
- data/.koppie/log/.keep +0 -0
- data/.koppie/package.json +15 -0
- data/.koppie/public/404.html +67 -0
- data/.koppie/public/422.html +67 -0
- data/.koppie/public/500.html +66 -0
- data/.koppie/public/apple-touch-icon-precomposed.png +0 -0
- data/.koppie/public/apple-touch-icon.png +0 -0
- data/.koppie/public/branding/.keep +0 -0
- data/.koppie/public/favicon.ico +0 -0
- data/.koppie/public/robots.txt +1 -0
- data/.koppie/scripts/db-migrate-seed.sh +9 -0
- data/.koppie/scripts/entrypoint.sh +10 -0
- data/.koppie/solr/conf/_rest_managed.json +3 -0
- data/.koppie/solr/conf/admin-extra.html +31 -0
- data/.koppie/solr/conf/elevate.xml +36 -0
- data/.koppie/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/.koppie/solr/conf/protwords.txt +21 -0
- data/.koppie/solr/conf/schema.xml +367 -0
- data/.koppie/solr/conf/scripts.conf +24 -0
- data/.koppie/solr/conf/solrconfig.xml +325 -0
- data/.koppie/solr/conf/spellings.txt +2 -0
- data/.koppie/solr/conf/stopwords.txt +58 -0
- data/.koppie/solr/conf/stopwords_en.txt +58 -0
- data/.koppie/solr/conf/synonyms.txt +31 -0
- data/.koppie/solr/conf/xslt/example.xsl +132 -0
- data/.koppie/solr/conf/xslt/example_atom.xsl +67 -0
- data/.koppie/solr/conf/xslt/example_rss.xsl +66 -0
- data/.koppie/solr/conf/xslt/luke.xsl +337 -0
- data/.koppie/solr/sample_solr_documents.yml +2692 -0
- data/.koppie/spec/forms/collection_resource_form_spec.rb +13 -0
- data/.koppie/spec/indexers/collection_resource_indexer_spec.rb +14 -0
- data/.koppie/spec/indexers/generic_work_indexer_spec.rb +13 -0
- data/.koppie/spec/indexers/monograph_indexer_spec.rb +13 -0
- data/.koppie/spec/models/collection_resource_spec.rb +13 -0
- data/.koppie/spec/models/collection_spec.rb +17 -0
- data/.koppie/spec/models/file_set_spec.rb +15 -0
- data/.koppie/spec/models/generic_work_spec.rb +13 -0
- data/.koppie/spec/models/monograph_spec.rb +13 -0
- data/.koppie/spec/models/qa/local_authority_entry_spec.rb +5 -0
- data/.koppie/spec/models/qa/local_authority_spec.rb +5 -0
- data/.koppie/spec/rails_helper.rb +47 -0
- data/.koppie/spec/spec_helper.rb +19 -0
- data/.koppie/spec/views/generic_works/_generic_work.html.erb_spec.rb +7 -0
- data/.koppie/spec/views/monographs/_monograph.html.erb_spec.rb +7 -0
- data/.koppie/storage/.keep +0 -0
- data/.koppie/vendor/.keep +0 -0
- data/.koppie/yarn.lock +1497 -0
- data/CONTAINERS.md +54 -10
- data/Dockerfile +9 -5
- data/app/actors/hyrax/actors/collections_membership_actor.rb +1 -2
- data/app/actors/hyrax/actors/create_with_files_actor.rb +1 -1
- data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +2 -2
- data/app/actors/hyrax/actors/embargo_actor.rb +11 -4
- data/app/actors/hyrax/actors/lease_actor.rb +11 -4
- data/app/assets/javascripts/hyrax/app.js.erb +1 -1
- data/app/assets/javascripts/hyrax/permissions/control.es6 +8 -1
- data/app/assets/stylesheets/hyrax/dashboard.scss +5 -62
- data/app/components/hyrax/dropdown_facet_field_component.html.erb +21 -0
- data/app/components/hyrax/dropdown_facet_field_component.rb +30 -0
- data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +6 -9
- data/app/controllers/concerns/hyrax/embargoes_controller_behavior.rb +11 -2
- data/app/controllers/concerns/hyrax/leases_controller_behavior.rb +11 -2
- data/app/controllers/concerns/hyrax/manages_embargoes.rb +13 -1
- data/app/controllers/concerns/hyrax/works_controller_behavior.rb +4 -2
- data/app/controllers/hyrax/dashboard/collection_members_controller.rb +0 -1
- data/app/controllers/hyrax/dashboard/collections_controller.rb +4 -7
- data/app/controllers/hyrax/file_sets_controller.rb +1 -0
- data/app/controllers/hyrax/my/collections_controller.rb +1 -0
- data/app/controllers/hyrax/my/works_controller.rb +1 -1
- data/app/controllers/hyrax/permissions_controller.rb +1 -1
- data/app/controllers/hyrax/transfers_controller.rb +0 -2
- data/app/forms/hyrax/forms/batch_upload_form.rb +1 -1
- data/app/forms/hyrax/forms/dashboard/nest_collection_form.rb +4 -18
- data/app/forms/hyrax/forms/embargo.rb +13 -0
- data/app/forms/hyrax/forms/lease.rb +13 -0
- data/app/forms/hyrax/forms/resource_form.rb +30 -1
- data/app/forms/hyrax/forms/work_embargo_form.rb +35 -0
- data/app/forms/hyrax/forms/work_form.rb +2 -2
- data/app/forms/hyrax/forms/work_lease_form.rb +35 -0
- data/app/helpers/hyrax/collections_helper.rb +4 -32
- data/app/helpers/hyrax/embargo_helper.rb +11 -0
- data/app/helpers/hyrax/facets_helper.rb +0 -140
- data/app/helpers/hyrax/hyrax_helper_behavior.rb +15 -0
- data/app/helpers/hyrax/lease_helper.rb +11 -0
- data/app/helpers/hyrax/work_form_helper.rb +107 -0
- data/app/indexers/hyrax/deep_indexing_service.rb +2 -2
- data/app/indexers/hyrax/pcdm_collection_indexer.rb +1 -0
- data/app/indexers/hyrax/valkyrie_file_set_indexer.rb +1 -7
- data/app/indexers/hyrax/valkyrie_work_indexer.rb +21 -0
- data/app/jobs/characterize_job.rb +6 -2
- data/app/jobs/import_url_job.rb +2 -2
- data/app/models/admin_set.rb +8 -0
- data/app/models/concerns/hyrax/ability.rb +2 -2
- data/app/models/concerns/hyrax/collection_behavior.rb +3 -1
- data/app/models/concerns/hyrax/file_set_behavior.rb +1 -0
- data/app/models/concerns/hyrax/naming.rb +1 -1
- data/app/models/concerns/hyrax/work_behavior.rb +0 -1
- data/app/models/file_download_stat.rb +1 -1
- data/app/models/hyrax/collection_type.rb +9 -1
- data/app/models/hyrax/embargo.rb +1 -1
- data/app/models/hyrax/file_set.rb +2 -2
- data/app/models/hyrax/lease.rb +1 -1
- data/app/models/hyrax/statistic.rb +1 -1
- data/app/models/hyrax/work.rb +2 -2
- data/app/models/proxy_deposit_request.rb +1 -1
- data/app/models/sipity.rb +8 -8
- data/app/presenters/hyrax/admin_set_presenter.rb +5 -0
- data/app/presenters/hyrax/displays_image.rb +1 -1
- data/app/presenters/hyrax/pcdm_member_presenter_factory.rb +1 -1
- data/app/presenters/hyrax/permission_badge.rb +3 -2
- data/app/presenters/hyrax/presenter_renderer.rb +1 -1
- data/app/presenters/hyrax/presents_attributes.rb +1 -1
- data/app/presenters/hyrax/version_list_presenter.rb +6 -1
- data/app/presenters/hyrax/work_show_presenter.rb +3 -0
- data/app/search_builders/hyrax/dashboard/nested_collections_search_builder.rb +7 -67
- data/app/services/hyrax/admin_set_create_service.rb +2 -2
- data/app/services/hyrax/analytics/google.rb +1 -1
- data/app/services/hyrax/analytics/matomo.rb +1 -1
- data/app/services/hyrax/collection_member_service.rb +2 -0
- data/app/services/hyrax/collection_types/create_service.rb +1 -1
- data/app/services/hyrax/collections/migration_service.rb +8 -8
- data/app/services/hyrax/collections/nested_collection_query_service.rb +3 -113
- data/app/services/hyrax/derivative_service.rb +37 -4
- data/app/services/hyrax/edit_permissions_service.rb +1 -14
- data/app/services/hyrax/embargo_manager.rb +9 -0
- data/app/services/hyrax/embargo_service.rb +4 -0
- data/app/services/hyrax/file_set_file_service.rb +55 -0
- data/app/services/hyrax/lease_manager.rb +9 -0
- data/app/services/hyrax/lease_service.rb +4 -0
- data/app/services/hyrax/listeners/file_metadata_listener.rb +11 -0
- data/app/services/hyrax/listeners/workflow_listener.rb +2 -2
- data/app/services/hyrax/local_file_service.rb +3 -1
- data/app/services/hyrax/solr_service.rb +1 -1
- data/app/services/hyrax/statistics/depositors/summary.rb +1 -1
- data/app/services/hyrax/statistics/term_query.rb +1 -1
- data/app/services/hyrax/thumbnail_path_service.rb +1 -1
- data/app/services/hyrax/user_stat_importer.rb +4 -2
- data/app/services/hyrax/valkyrie_persist_derivatives.rb +1 -1
- data/app/services/hyrax/valkyrie_upload.rb +1 -1
- data/app/services/hyrax/versioning_service.rb +78 -10
- data/app/services/hyrax/visibility_map.rb +10 -2
- data/app/services/hyrax/work_resource_query_service.rb +45 -0
- data/app/services/hyrax/workflow/action_taken_service.rb +4 -4
- data/app/services/hyrax/workflow/notification_service.rb +2 -2
- data/app/services/hyrax/workflow/workflow_importer.rb +2 -2
- data/app/services/hyrax/working_directory.rb +3 -3
- data/app/services/hyrax/works/migration_service.rb +3 -3
- data/app/utils/hyrax/test_data_seeders/user_seeder.rb +3 -2
- data/app/validators/hyrax/collection_membership_validator.rb +2 -2
- data/app/views/hyrax/admin/analytics/work_reports/show.html.erb +6 -6
- data/app/views/hyrax/base/_form_collections_error.html.erb +1 -1
- data/app/views/hyrax/base/_form_in_works_error.html.erb +1 -1
- data/app/views/hyrax/base/_form_ordered_members_error.html.erb +1 -1
- data/app/views/hyrax/base/_form_progress.html.erb +1 -1
- data/app/views/hyrax/base/_form_visibility_component.html.erb +5 -1
- data/app/views/hyrax/base/_form_visibility_error.html.erb +19 -5
- data/app/views/hyrax/embargoes/edit.html.erb +4 -4
- data/app/views/hyrax/file_sets/_permission_form.html.erb +1 -6
- data/app/views/hyrax/file_sets/edit.html.erb +1 -1
- data/app/views/hyrax/leases/edit.html.erb +3 -3
- data/app/views/hyrax/my/collections/_facets.html.erb +7 -5
- data/app/views/hyrax/my/works/_facets.html.erb +6 -2
- data/app/views/hyrax/transfers/_received.html.erb +1 -1
- data/app/views/hyrax/transfers/_sent.html.erb +1 -1
- data/app/views/hyrax/transfers/new.html.erb +1 -1
- data/chart/hyrax/Chart.yaml +1 -1
- data/chart/hyrax/templates/_helpers.tpl +5 -1
- data/chart/hyrax/templates/configmap-env.yaml +1 -1
- data/chart/hyrax/values.yaml +1 -0
- data/config/features.rb +1 -1
- data/config/initializers/reform_rails_6_1_monkey_patch.rb +27 -0
- data/config/locales/hyrax.de.yml +2 -1
- data/config/locales/hyrax.en.yml +3 -0
- data/config/locales/hyrax.es.yml +1 -0
- data/config/locales/hyrax.fr.yml +2 -1
- data/config/locales/hyrax.it.yml +1 -0
- data/config/locales/hyrax.pt-BR.yml +1 -0
- data/config/locales/hyrax.zh.yml +1 -0
- data/config/metadata/basic_metadata.yaml +2 -0
- data/docker-compose-koppie.yml +163 -0
- data/docker-compose.yml +0 -3
- data/documentation/developing-your-hyrax-based-app.md +1 -1
- data/documentation/legacyREADME.md +2 -2
- data/hyrax.gemspec +5 -4
- data/lib/generators/hyrax/install_generator.rb +4 -4
- data/lib/generators/hyrax/templates/catalog_controller.rb +0 -2
- data/lib/generators/hyrax/templates/config/initializers/hyrax.rb +8 -1
- data/lib/generators/hyrax/templates/config/initializers/riiif.rb +1 -1
- data/lib/hyrax/active_fedora_dummy_model.rb +13 -0
- data/lib/hyrax/configuration.rb +25 -15
- data/lib/hyrax/controlled_vocabulary/importer/language.rb +1 -1
- data/lib/hyrax/engine.rb +6 -2
- data/lib/hyrax/errors.rb +2 -0
- data/lib/hyrax/publisher.rb +4 -0
- data/lib/hyrax/search_state.rb +9 -0
- data/lib/hyrax/specs/capybara.rb +2 -2
- data/lib/hyrax/specs/shared_specs/factories/strategies/json_strategy.rb +4 -0
- data/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb +10 -0
- data/lib/hyrax/specs/shared_specs/indexers.rb +5 -0
- data/lib/hyrax/transactions/steps/remove_file_set_from_work.rb +29 -3
- data/lib/hyrax/transactions/steps/save_access_control.rb +17 -1
- data/lib/hyrax/version.rb +1 -1
- data/lib/hyrax.rb +1 -1
- data/lib/tasks/migrate.rake +5 -1
- data/lib/wings/valkyrie/storage.rb +6 -2
- data/tasks/benchmark.rake +1 -1
- data/tasks/hyrax_dev.rake +0 -32
- data/template.rb +1 -1
- metadata +293 -23
- data/app/indexers/hyrax/repository_reindexer.rb +0 -19
- data/app/models/concerns/hyrax/collection_nesting.rb +0 -73
- data/app/services/hyrax/adapters/nesting_index_adapter.rb +0 -193
- data/app/views/hyrax/my/_facet_layout.html.erb +0 -7
- data/app/views/hyrax/my/_facet_limit.html.erb +0 -15
- data/app/views/hyrax/my/_facet_pivot.html.erb +0 -26
- data/config/initializers/nesting_indexer_initializer.rb +0 -16
data/.koppie/LICENSE
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2012 Penn State University
|
190
|
+
Copyright 2013 University of Notre Dame, Northwestern University, and Data Curation Experts
|
191
|
+
Copyright 2014 Data Curation Experts
|
192
|
+
Additional copyright may be held by others, as reflected in the commit log
|
193
|
+
|
194
|
+
|
195
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
196
|
+
you may not use this file except in compliance with the License.
|
197
|
+
You may obtain a copy of the License at
|
198
|
+
|
199
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
200
|
+
|
201
|
+
Unless required by applicable law or agreed to in writing, software
|
202
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
203
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
204
|
+
See the License for the specific language governing permissions and
|
205
|
+
limitations under the License.
|
data/.koppie/README.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# Koppie
|
2
|
+
|
3
|
+
> Isolated granite outcrops in Southern Africa that are a favored habitat for hyraxes.
|
4
|
+
|
5
|
+
Koppie is an application used for testing the state of [Hyrax](https://github.com/samvera/hyrax)
|
6
|
+
using Postgres as the metadata store for objects. This is similar to the Dassie test application
|
7
|
+
that lives in `.dassie`, however in this application Fedora is
|
8
|
+
not used for storing object metadata or files. The Hyrax gem is sourced from the local hyrax
|
9
|
+
directory one level up from `.koppie` for development purposes.
|
10
|
+
|
11
|
+
## Known Issues
|
12
|
+
|
13
|
+
Collection model
|
14
|
+
* `/app/models/collection.rb` - is_a `ActiveFedora::Base`
|
15
|
+
* if `Collection` is changed to `Valkyrie::Resource`, there is an infinite loop while loading
|
16
|
+
due to reference to ::Collection in `lib/hyrax/collection_name.rb` in the hyrax engine
|
17
|
+
|
18
|
+
Default Admin Set
|
19
|
+
* creating an admin set as a `Valkyrie::Resource` fails to save ACLs. This is a known issue in Hyrax.
|
20
|
+
See [Hyrax Issue #5108](https://github.com/samvera/hyrax/issues/5108).
|
21
|
+
|
22
|
+
## Questions
|
23
|
+
|
24
|
+
Please direct questions about this code or the servers where it runs to the `#hyrax-valkyrie`
|
25
|
+
channel on Samvera slack.
|
26
|
+
|
27
|
+
## Contributing
|
28
|
+
|
29
|
+
If you're working on a PR for this project, create a feature branch off of `main`.
|
30
|
+
|
31
|
+
This repository follows the [Samvera Community Code of Conduct](https://samvera.atlassian.net/wiki/spaces/samvera/pages/405212316/Code+of+Conduct)
|
32
|
+
and [language recommendations](https://github.com/samvera/maintenance/blob/master/templates/CONTRIBUTING.md#language).
|
33
|
+
Please ***do not*** create a branch called `master` for this repository or as part of your pull request; the branch will
|
34
|
+
either need to be removed or renamed before it can be considered for inclusion in the code base and history of this repository.
|
35
|
+
|
36
|
+
## Running Locally
|
37
|
+
|
38
|
+
There are two ways to run locally, with Docker or with the rails server. For both, the first step is to get the repository from GitHub.
|
39
|
+
|
40
|
+
```
|
41
|
+
git clone https://github.com/samvera/hyrax.git
|
42
|
+
```
|
43
|
+
|
44
|
+
### Docker
|
45
|
+
|
46
|
+
Execute the following commands from the hyrax root to start the app using Docker.
|
47
|
+
|
48
|
+
```
|
49
|
+
docker-compose -f docker-compose-koppie.yml build
|
50
|
+
docker-compose -f docker-compose-koppie.yml up
|
51
|
+
```
|
52
|
+
|
53
|
+
You can find help with additional commands in Hyrax' [FAQ-for-Dassie-Docker-Test-App](https://github.com/samvera/hyrax/wiki/FAQ-for-Dassie-Docker-Test-App).
|
54
|
+
Most commands can be used directly as described in the FAQ. A few might require
|
55
|
+
a slight adjustment to work with koppie as a Docker app.
|
data/.koppie/Rakefile
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require_relative 'config/application'
|
5
|
+
|
6
|
+
Rails.application.load_tasks
|
7
|
+
|
8
|
+
require 'solr_wrapper/rake_task' unless Rails.env.production?
|
File without changes
|
Binary file
|
@@ -0,0 +1,91 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
version="1.1"
|
12
|
+
width="600"
|
13
|
+
height="600"
|
14
|
+
id="svg2997">
|
15
|
+
<defs
|
16
|
+
id="defs19" />
|
17
|
+
<metadata
|
18
|
+
id="metadata3002">
|
19
|
+
<rdf:RDF>
|
20
|
+
<cc:Work
|
21
|
+
rdf:about="">
|
22
|
+
<dc:format>image/svg+xml</dc:format>
|
23
|
+
<dc:type
|
24
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
25
|
+
<dc:title />
|
26
|
+
</cc:Work>
|
27
|
+
</rdf:RDF>
|
28
|
+
</metadata>
|
29
|
+
<g
|
30
|
+
transform="translate(-88.571,-155.22)"
|
31
|
+
id="g3057">
|
32
|
+
<g
|
33
|
+
transform="translate(88.571,155.22)"
|
34
|
+
id="g4097">
|
35
|
+
<path
|
36
|
+
d="M 0,50 C 0,22.386 22.385,0 50,0 h 500 c 27.614,0 50,22.386 50,50 v 500 c 0,27.615 -22.386,50 -50,50 H 50 C 22.385,600 0,577.62 0,550 V 50 z"
|
37
|
+
inkscape:connector-curvature="0"
|
38
|
+
id="path4099" />
|
39
|
+
<path
|
40
|
+
d="M 300,300"
|
41
|
+
inkscape:connector-curvature="0"
|
42
|
+
id="path4101" />
|
43
|
+
</g>
|
44
|
+
<g
|
45
|
+
id="g3051">
|
46
|
+
<g
|
47
|
+
transform="matrix(0.39465,0,0,0.39465,-753.67,260.87)"
|
48
|
+
id="g3783-5-2">
|
49
|
+
<path
|
50
|
+
d="M 2455.5,-227.53 2151.8,40.85 c 95.691,54.056 160.31,156.69 160.31,274.44 0,58.027 -15.751,112.35 -43.125,159.03 -6.0012,10.234 -12.637,20.046 -19.719,29.5 -2.8607,4.7586 -5.6558,9.5784 -8.3125,14.469 -2.9441,5.4198 -5.7516,10.895 -8.4375,16.469 -2.6858,5.574 -5.2368,11.249 -7.6562,16.969 -2.4194,5.7202 -4.6987,11.485 -6.8438,17.344 -2.145,5.8584 -4.1686,11.793 -6.0312,17.781 -1.8627,5.9886 -3.584,12.045 -5.1563,18.156 -1.5722,6.1108 -2.9761,12.275 -4.25,18.5 -1.2738,6.225 -2.4076,12.513 -3.375,18.844 -0.9673,6.3311 -1.7845,12.727 -2.4375,19.156 -0.6529,6.4293 -1.1382,12.887 -1.4687,19.406 -0.3305,6.5194 -0.5,13.086 -0.5,19.688 0,6.6015 0.1695,13.168 0.5,19.688 0.3305,6.5194 0.8158,12.977 1.4687,19.406 0.653,6.4293 1.4702,12.825 2.4375,19.156 0.9674,6.3311 2.1012,12.619 3.375,18.844 1.2739,6.2249 2.6778,12.389 4.25,18.5 1.5723,6.1107 3.2936,12.168 5.1563,18.156 1.8626,5.9886 3.8862,11.923 6.0312,17.781 2.1451,5.8587 4.4244,11.624 6.8438,17.344 2.4194,5.7202 4.9704,11.394 7.6562,16.969 2.6859,5.5735 5.4934,11.049 8.4375,16.469 2.9442,5.4198 6.0242,10.773 9.2188,16.031 3.1946,5.2572 6.5006,10.444 9.9375,15.531 3.4369,5.0873 7.0163,10.059 10.688,14.969 3.6712,4.9086 7.4462,9.7459 11.344,14.469 3.8976,4.7228 7.9154,9.3465 12.031,13.875 4.1159,4.5285 8.3301,8.9547 12.656,13.281 4.3262,4.3259 8.7528,8.5403 13.281,12.656 4.5285,4.1159 9.1522,8.1341 13.875,12.031 4.7227,3.8978 9.5597,7.6726 14.469,11.344 4.9091,3.6712 9.8815,7.2506 14.969,10.688 5.0873,3.4369 10.274,6.7429 15.531,9.9375 5.2576,3.1946 10.612,6.2742 16.031,9.2188 5.4198,2.9438 10.895,5.7519 16.469,8.4374 5.574,2.6861 11.249,5.2369 16.969,7.6563 5.7202,2.4194 11.485,4.6988 17.344,6.8437 2.7997,1.0254 5.6701,1.9143 8.5,2.875 6.9951,1.9608 14.006,3.8715 21.062,5.6876 7.998,2.0571 16.02,4.0424 24.094,5.9062 6.8303,1.5767 13.708,3.0358 20.594,4.4688 1.2538,0.2606 2.4951,0.556 3.75,0.8124 8.1474,1.6676 16.313,3.2508 24.531,4.7188 8.2182,1.468 16.495,2.8271 24.781,4.0938 8.2864,1.2655 16.586,2.4377 24.938,3.5 8.3519,1.0612 16.742,2.0199 25.156,2.875 8.4148,0.8541 16.869,1.6046 25.344,2.25 8.1324,0.6183 16.283,1.1079 24.469,1.5312 0.6494,0 1.287,-0.062 1.9375,-0.062 7.3954,0 14.692,0.3998 21.938,1 81.289,6.7337 152.44,50.344 197.44,112.94 44.998,-62.594 116.15,-106.2 197.44,-112.94 7.2451,-0.6002 14.542,-1 21.938,-1 0.6505,0 1.2881,0.062 1.9375,0.062 8.1855,-0.4233 16.336,-0.9129 24.469,-1.5312 8.475,-0.6453 16.929,-1.3959 25.344,-2.25 8.4148,-0.8551 16.804,-1.8138 25.156,-2.875 8.3518,-1.0623 16.651,-2.2345 24.938,-3.5 8.2862,-1.2667 16.563,-2.6258 24.781,-4.0938 8.2182,-1.468 16.384,-3.0512 24.531,-4.7188 1.2549,-0.2563 2.4963,-0.5519 3.75,-0.8124 6.8856,-1.4329 13.764,-2.8922 20.594,-4.4688 8.074,-1.8639 16.096,-3.8491 24.094,-5.9062 7.0562,-1.8161 14.067,-3.7268 21.062,-5.6876 2.83,-0.9608 5.7003,-1.8496 8.5,-2.875 5.8586,-2.1449 11.624,-4.4243 17.344,-6.8437 5.7202,-2.4194 11.395,-4.9701 16.969,-7.6563 5.5737,-2.6856 11.049,-5.4937 16.469,-8.4374 5.4198,-2.9445 10.774,-6.0243 16.031,-9.2188 5.2573,-3.1947 10.444,-6.5007 15.531,-9.9375 5.0873,-3.437 10.06,-7.0164 14.969,-10.688 4.909,-3.6713 9.746,-7.4459 14.469,-11.344 4.7228,-3.8973 9.3465,-7.9154 13.875,-12.031 4.5285,-4.116 8.9551,-8.3304 13.281,-12.656 4.326,-4.3265 8.5403,-8.7529 12.656,-13.281 4.1159,-4.5286 8.1338,-9.1523 12.031,-13.875 3.8977,-4.7228 7.6726,-9.5601 11.344,-14.469 3.6712,-4.9095 7.2506,-9.8816 10.688,-14.969 3.4369,-5.0874 6.7429,-10.274 9.9375,-15.531 3.1946,-5.258 6.2745,-10.612 9.2188,-16.031 2.944,-5.4199 5.7516,-10.895 8.4374,-16.469 2.6858,-5.5743 5.2369,-11.249 7.6563,-16.969 2.4194,-5.7203 4.6987,-11.485 6.8437,-17.344 2.145,-5.8581 4.1687,-11.793 6.0313,-17.781 1.8627,-5.9887 3.584,-12.046 5.1563,-18.156 1.5722,-6.111 2.9759,-12.275 4.25,-18.5 1.2736,-6.2252 2.4076,-12.513 3.375,-18.844 0.9672,-6.3312 1.7845,-12.727 2.4374,-19.156 0.6531,-6.4293 1.1383,-12.887 1.4688,-19.406 0.3305,-6.5195 0.5,-13.086 0.5,-19.688 0,-6.6016 -0.1695,-13.168 -0.5,-19.688 -0.3305,-6.5195 -0.8157,-12.977 -1.4688,-19.406 -0.6529,-6.4293 -1.4702,-12.825 -2.4374,-19.156 -0.9674,-6.3312 -2.1014,-12.619 -3.375,-18.844 -1.274,-6.225 -2.6779,-12.389 -4.25,-18.5 -1.5725,-6.1108 -3.2936,-12.168 -5.1563,-18.156 -1.8626,-5.9887 -3.8862,-11.923 -6.0313,-17.781 -2.145,-5.8584 -4.4243,-11.624 -6.8437,-17.344 -2.4194,-5.7203 -4.9703,-11.395 -7.6563,-16.969 -2.6857,-5.574 -5.4933,-11.049 -8.4374,-16.469 -2.6568,-4.8905 -5.4518,-9.7102 -8.3126,-14.469 -7.0815,-9.4541 -13.718,-19.266 -19.719,-29.5 -27.374,-46.682 -43.125,-101 -43.125,-159.03 0,-117.74 64.621,-220.38 160.31,-274.44 l -303.75,-268.38 c -56.769,55.377 -133.8,90 -219.38,90 -85.284,0 -162.66,-34.95 -219.38,-90 -56.718,55.05 -134.09,90 -219.38,90 -85.57,0 -162.61,-34.623 -219.38,-90 z m 438.75,140.62 c 9.315,0 16.875,7.56 16.875,16.875 0,9.315 -7.56,16.875 -16.875,16.875 -9.315,0 -16.875,-7.56 -16.875,-16.875 0,-9.315 7.56,-16.875 16.875,-16.875 z m 0,1080 c 9.315,0 16.875,7.56 16.875,16.875 0,9.315 -7.56,16.875 -16.875,16.875 -9.315,0 -16.875,-7.56 -16.875,-16.875 0,-9.315 7.56,-16.875 16.875,-16.875 z"
|
51
|
+
inkscape:connector-curvature="0"
|
52
|
+
id="path2939-8-9"
|
53
|
+
style="fill:#ffffff;stroke:#000000;stroke-width:0.89999998;stroke-miterlimit:4;stroke-dasharray:none" />
|
54
|
+
</g>
|
55
|
+
<rect
|
56
|
+
width="36.103001"
|
57
|
+
height="33.429001"
|
58
|
+
rx="37.5"
|
59
|
+
ry="33.429001"
|
60
|
+
x="369.06"
|
61
|
+
y="217.97"
|
62
|
+
id="rect3047"
|
63
|
+
style="fill:#ffffff;fill-rule:nonzero" />
|
64
|
+
<rect
|
65
|
+
width="29.417999"
|
66
|
+
height="26.743"
|
67
|
+
rx="16.5"
|
68
|
+
ry="13.929"
|
69
|
+
x="371.73001"
|
70
|
+
y="645.85999"
|
71
|
+
id="rect3049"
|
72
|
+
style="fill:#ffffff;fill-rule:nonzero" />
|
73
|
+
</g>
|
74
|
+
</g>
|
75
|
+
<g
|
76
|
+
id="routenum"
|
77
|
+
style="font-size:440.29998779px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;font-family:Roadgeek 2005 Series B">
|
78
|
+
<path
|
79
|
+
d="m 164.9,151.54 h 26.444 v 198.01 h 19.564 v 26.444 h -19.564 v 69.012 H 164.9 V 375.994 H 81.699 V 349.55 L 164.9,151.54 m 0,198.01 V 218.62 L 110.292,349.55 H 164.9"
|
80
|
+
inkscape:connector-curvature="0"
|
81
|
+
id="path2993" />
|
82
|
+
<path
|
83
|
+
d="m 300.97,145.73 c 14.189,3e-4 26.229,5.2317 36.118,15.694 6.4496,6.7366 10.893,16.053 13.329,27.949 6.5929,31.102 9.8894,67.364 9.8896,108.79 -1.4e-4,41.565 -3.2967,77.898 -9.8896,109 -2.8667,13.903 -8.5281,24.437 -16.984,31.604 -9.4597,8.0263 -20.567,12.039 -33.323,12.039 -14.906,-10e-6 -27.304,-5.2314 -37.193,-15.694 -6.3064,-6.7364 -10.678,-16.053 -13.114,-27.949 -6.5931,-30.959 -9.8896,-67.22 -9.8896,-108.79 -2e-5,-41.135 3.2965,-77.468 9.8896,-109 2.8665,-13.902 8.5279,-24.509 16.984,-31.819 9.4595,-7.8827 20.854,-11.824 34.183,-11.824 m -0.42998,31.174 c -13.186,2.7e-4 -21.427,9.6032 -24.724,28.809 -1.1467,7.0232 -2.7233,20.353 -4.7298,39.988 -1.72,17.199 -2.5799,34.614 -2.5799,52.243 -5e-5,20.496 1.4332,43.428 4.2998,68.797 2.5798,22.789 5.303,36.548 8.1696,41.278 4.873,7.7397 11.251,11.61 19.134,11.609 12.899,3e-5 20.997,-9.6029 24.294,-28.809 1.2898,-7.3096 2.8664,-20.639 4.7298,-39.988 1.7198,-17.199 2.5798,-34.757 2.5799,-52.673 -1.2e-4,-23.075 -2.0784,-51.239 -6.2347,-84.491 -1.4334,-12.326 -3.5116,-20.71 -6.2347,-25.154 -4.7299,-7.7394 -10.965,-11.609 -18.704,-11.609"
|
84
|
+
inkscape:connector-curvature="0"
|
85
|
+
id="path2995" />
|
86
|
+
<path
|
87
|
+
d="m 466.27,151.54 h 26.444 v 198.01 h 19.564 v 26.444 h -19.564 v 69.012 H 466.27 V 375.994 H 383.069 V 349.55 L 466.27,151.54 m 0,198.01 V 218.62 l -54.608,130.93 h 54.608"
|
88
|
+
inkscape:connector-curvature="0"
|
89
|
+
id="path2997" />
|
90
|
+
</g>
|
91
|
+
</svg>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
|
5
|
+
// vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//=
|
14
|
+
//= require activestorage
|
15
|
+
//= require turbolinks
|
16
|
+
//
|
17
|
+
// Required by Blacklight
|
18
|
+
//= require jquery3
|
19
|
+
//= require rails-ujs
|
20
|
+
//= require popper
|
21
|
+
//= require twitter/typeahead
|
22
|
+
//= require bootstrap
|
23
|
+
//= require jquery.dataTables
|
24
|
+
//= require dataTables.bootstrap4
|
25
|
+
//= require blacklight/blacklight
|
26
|
+
//= require blacklight_gallery
|
27
|
+
|
28
|
+
//= require_tree .
|
29
|
+
//= require hyrax
|
30
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require blacklight_gallery/default
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// Action Cable provides the framework to deal with WebSockets in Rails.
|
2
|
+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
|
3
|
+
//
|
4
|
+
//= require action_cable
|
5
|
+
//= require_self
|
6
|
+
//= require_tree ./channels
|
7
|
+
|
8
|
+
(function() {
|
9
|
+
this.App || (this.App = {});
|
10
|
+
|
11
|
+
App.cable = ActionCable.createConsumer();
|
12
|
+
|
13
|
+
}).call(this);
|
File without changes
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
|
6
|
+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require dataTables.bootstrap4
|
15
|
+
*= require_self
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* ------------------------
|
19
|
+
* FOOTER
|
20
|
+
* ------------------------ */
|
21
|
+
|
22
|
+
.blue-footer {
|
23
|
+
background-color: #394176;
|
24
|
+
padding: 1em;
|
25
|
+
padding-left: 60px;
|
26
|
+
margin-top: 40px;
|
27
|
+
margin-bottom: 20px;
|
28
|
+
border-radius: 0 0 6px 6px;
|
29
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
30
|
+
margin-left: 0;
|
31
|
+
margin-right: 0;
|
32
|
+
color: white;
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
|
36
|
+
a.footer-link {
|
37
|
+
color: white;
|
38
|
+
}
|
39
|
+
|
40
|
+
.version {
|
41
|
+
padding-left: 20px;
|
42
|
+
}
|
43
|
+
|
44
|
+
#copyright {
|
45
|
+
color: #ffffff;
|
46
|
+
/*line-height: 150%;*/
|
47
|
+
/*margin-top: 3.5%;*/
|
48
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/* ...
|
2
|
+
*= require jquery-ui
|
3
|
+
*= require select2
|
4
|
+
*= require_self
|
5
|
+
*/
|
6
|
+
|
7
|
+
@import "bootstrap-default-overrides";
|
8
|
+
@import 'bootstrap';
|
9
|
+
@import 'blacklight/blacklight';
|
10
|
+
@import "font-awesome";
|
11
|
+
@import "blacklight_gallery/gallery";
|
12
|
+
@import "blacklight_gallery/masonry";
|
13
|
+
@import "blacklight_gallery/slideshow";
|
14
|
+
@import "blacklight_gallery/osd_viewer";
|
15
|
+
@import "hyrax/blacklight_gallery";
|
16
|
+
@import 'hyrax/hyrax';
|
17
|
+
@import 'hyrax/login_signup';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class ApplicationController < ActionController::Base
|
2
|
+
helper Openseadragon::OpenseadragonHelper
|
3
|
+
# Adds a few additional behaviors into the application controller
|
4
|
+
include Blacklight::Controller
|
5
|
+
include Hydra::Controller::ControllerBehavior
|
6
|
+
|
7
|
+
# Adds Hyrax behaviors into the application controller
|
8
|
+
include Hyrax::Controller
|
9
|
+
include Hyrax::ThemedLayoutController
|
10
|
+
with_themed_layout '1_column'
|
11
|
+
|
12
|
+
protect_from_forgery with: :exception
|
13
|
+
end
|