Difference between revisions of "Archives/ARCHIVEID/cfg/cfg.d/"

From EPrints Documentation
Jump to: navigation, search
(Added more config files.)
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/archives|archives]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID|ARCHIVEID]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg|cfg]]/cfg.d'''
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/archives|archives]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID|ARCHIVEID]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg|cfg]]/cfg.d'''
** '''[[10_core.pl]]''' -
+
** '''[[10_core.pl]]''' - Core configuration for repository archive, such as hostname and port (both for HTTP and HTTPS), host aliases and path it sits on.
** '''[[20_baseurls.pl]]''' -
+
** '''[[20_baseurls.pl]]''' - Configuration for how base URLs used by the repository archive.
** '''[[adminemail.pl]]''' -
+
** '''[[adminemail.pl]]''' - The admin email address for the repository archive.
** '''[[branding.pl]]''' -
+
** '''[[branding.pl]]''' - Branding for the repository archive.
** '''[[database.pl]]''' -
+
** '''[[database.pl]]''' - Configuration for connecting to the database.
** '''[[document_fields_automatic.pl]]''' -
+
** '''[[datasets.pl]]''' -
** '''[[document_fields_default.pl]]''' -
+
** '''[[document_fields_automatic.pl]]''' - Configuation for automatically setting document fields based on the values of other fields.
** '''[[document_upload.pl]]''' -
+
** '''[[document_fields_default.pl]]''' - Default initial values for document fields.
** '''[[document_validate.pl]]''' -
+
** '''[[document_fields.pl]]''' - Non-core field definitions for the document data object.
** '''[[dynamic_template.pl]]''' -
+
** '''[[document_upload.pl]]''' - Configuration relating to managing document uploads.
** '''[[email.pl]]''' -
+
** '''[[document_validate.pl]]''' - Validation of the eprint data object as a whole.
** '''[[eprint_fields.pl]]''' -
+
** '''[[dynamic_template.pl]]''' - Configuration for dynamic template of repository archive.
** '''[[eprint_fields_automatic.pl]]''' -
+
** '''[[email.pl]]''' - Configuration for sending email from the repository archive.
** '''[[eprint_fields_default.pl]]''' -
+
** '''[[eprint_fields_automatic.pl]]''' - Configuation for automatically setting eprint fields based on the values of other fields.
** '''[[eprint_render.pl]]''' -
+
** '''[[eprint_fields_common.pl]]''' -
** '''[[eprint_validate.pl]]''' -
+
** '''[[eprint_fields_default.pl]]''' - Default initial values for eprint fields.
** '''[[eprint_warnings.pl]]''' -
+
** '''[[eprint_fields.pl]]''' - Non-core field definitions for the eprint data object.
** '''[[field_property_defaults.pl]]''' -
+
** '''[[eprint_fields_pub.pl]]''' -  
** '''[[field_validate.pl]]''' -
+
** '''[[eprint_locking.pl]]''' -  
** '''[[indexing.pl]]''' -
+
** '''[[eprint_render.pl]]''' - Configuration for rendering eprint abstract/summary pages.
** '''[[languages.pl]]''' -
+
** '''[[eprint_search_advanced.pl]]''' - Configuration for advanced search of eprint data objects.
** '''[[log.pl]]''' -
+
** '''[[eprint_search_simple.pl]]''' - Configuration for simple search of eprint data objects.
** '''[[misc.pl]]''' -
+
** '''[[eprint_search_staff.pl]]''' - Configuration for staff search of eprint data objects.
** '''[[oai.pl]]''' -
+
** '''[[eprint_validate.pl]]''' - Validation of the eprint data object as a whole.
** '''[[paths.pl]]''' -
+
** '''[[eprint_warnings.pl]]''' - Warnings to advise the depositor on potential issues with the eprint (e.g. no uploaded documents).
** '''[[plugins.pl]]''' -
+
** '''[[exports.pl]]''' -
** '''[[registration.pl]]''' -
+
** '''[[field_property_defaults.pl]]''' - Defaults for various attributes for a field specification.
** '''[[request_copy.pl]]''' -
+
** '''[[field_validate.pl]]''' - General validation of a metadata field.
** '''[[search.pl]]''' -
+
** '''[[flavour_info.pl]]''' -  
** '''[[security.pl]]''' -
+
** '''[[indexing.pl]]''' - Configuration for indexing of metadata and document content.
 +
** '''[[issues_search.pl]]''' -
 +
** '''[[languages.pl]]''' - Configuration for languages used by the repository archive.
 +
** '''[[latest_tool.pl]]''' -
 +
** '''[[log.pl]]''' - Configuration for logging error/warnung messages for the repository archive.
 +
** '''[[misc.pl]]''' - Miscellaneous configuration settings.
 +
** '''[[oai.pl]]''' - Configuration for [[OAI]].
 +
** '''[[paths.pl]]''' - Configuration for filesystem paths for particular parts of the repository archive.
 +
** '''[[plugins.pl]]''' - Enabling and configuration of plugins for the repository archive.
 +
** '''[[rdf_license.pl]]''' -
 +
** '''[[rdf.pl]]''' -
 +
** '''[[rdf_triples_bibo.pl]]''' -
 +
** '''[[rdf_triples_eprints.pl]]''' -
 +
** '''[[rdf_triples_formats.pl]]''' -
 +
** '''[[rdf_triples_general.pl]]''' -
 +
** '''[[rdf_triples_repository.pl]]''' -
 +
** '''[[rdf_triples_skos.pl]]''' -
 +
** '''[[rdf_uri_event_location.pl]]''' -
 +
** '''[[rdf_uri_event.pl]]''' -
 +
** '''[[rdf_uri_org.pl]]''' -
 +
** '''[[rdf_uri_person.pl]]''' -
 +
** '''[[rdf_uri_publication.pl]]''' -
 +
** '''[[registration.pl]]''' - Configuation for enabling/managing user reegistration for the repository archive.
 +
** '''[[render_paras.pl]]''' - Function for rendering paragraphs for free-text fields.
 +
** '''[[request_copy.pl]]''' - Configuration for "request a copy" of a restricted document.
 +
** '''[[search.pl]]''' - Miscelleanous search configuation not tied to a specific data object or type of search.
 +
** '''[[security.pl]]''' - Functions for securing appropriate access to uploaded documents.
 
** '''[[session.pl]]''' -
 
** '''[[session.pl]]''' -
** '''[[urls.pl]]''' -
+
** '''[[template_core.pl]]''' -
** '''[[user_fields.pl]]''' -
+
** '''[[template_edit_phrases.pl]]''' -
** '''[[user_fields_automatic.pl]]''' -
+
** '''[[template_legacy.pl]]''' -
** '''[[user_fields_default.pl]]''' -
+
** '''[[template_links.pl]]''' -
** '''[[user_login.pl]]''' -
+
** '''[[user_auth_limits.pl]]''' -
** '''[[user_render.pl]]''' -
+
** '''[[user_fields_automatic.pl]]''' - Configuation for automatically setting user fields based on the values of other fields.
** '''[[user_roles.pl]]''' -
+
** '''[[user_fields_default.pl]]''' - Default initial values for user fields.
** '''[[user_validate.pl]]''' -
+
** '''[[user_fields.pl]]''' - Non-core field definitions for the user data object.
** '''[[views.pl]]''' -
+
** '''[[user_login.pl]]''' - Configuration for managing user login to the repository archive.
 +
** '''[[user_password_maxlength.pl]]''' - Configuration for the maximum length of a user password to prevent DoS attacks.
 +
** '''[[user_render.pl]]''' - Configuration for rendering user pages.
 +
** '''[[user_review_scope.pl]]''' -
 +
** '''[[user_roles.pl]]''' - The roles assigned to different types of user.
 +
** '''[[user_search.pl]]''' - Configuration for search of user data objects.
 +
** '''[[user_validate.pl]]''' - Validation of the user data object as a whole.
 +
** '''[[views.pl]]''' - Configuration for generating browse views.
 
** '''[[vlit.pl]]''' -
 
** '''[[vlit.pl]]''' -

Revision as of 21:26, 23 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects

This is the main repository configuration directory. Each of these files is a valid perl script and are loaded in alphabetic order. The configuration is stored in a hash reference named $c. For example a simple file might look like this:

# the foo option modifies the number of badgers in the boojum
$c->{foo} = 23;