Difference between revisions of "Lib/cfg.d/"

From EPrints Documentation
Jump to: navigation, search
(Added files actually in directory)
m
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/lib|lib]]/cfg.d'''
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/lib|lib]]/cfg.d'''
** '''[[00_version.pl]]''' -
+
** '''[[00_version.pl]]''' - The version information for EPrints core. as opposed to a particular [[flavour_info.pl|flavour]].
 
** '''[[20_baseurls.pl]]''' - Configuration for how base URLs used by the repository archive.
 
** '''[[20_baseurls.pl]]''' - Configuration for how base URLs used by the repository archive.
** '''[[branding.pl]]
+
** '''[[branding.pl]]''' - Branding for the repository archive.
''' - Branding for the repository archive.
 
 
** '''[[datasets.pl]]''' - Configuration for bespoke datasets and data objects for the repository archive.
 
** '''[[datasets.pl]]''' - Configuration for bespoke datasets and data objects for the repository archive.
** '''[[doc_rewrite.pl]]''' -  
+
** '''[[doc_rewrite.pl]]''' - Configuration to handle relation-based document redirects.
 
** '''[[document_fields_automatic.pl]]''' - Configuration for automatically setting document fields based on the values of other fields.
 
** '''[[document_fields_automatic.pl]]''' - Configuration for automatically setting document fields based on the values of other fields.
 
** '''[[document_fields_default.pl]]''' - Default initial values for document fields.
 
** '''[[document_fields_default.pl]]''' - Default initial values for document fields.
Line 21: Line 20:
 
** '''[[document_validate.pl]]''' - Validation of the eprint data object as a whole.
 
** '''[[document_validate.pl]]''' - Validation of the eprint data object as a whole.
 
** '''[[dynamic_template.pl]]''' - Legacy configuration for dynamic template of repository archive.
 
** '''[[dynamic_template.pl]]''' - Legacy configuration for dynamic template of repository archive.
** '''[[element_classes.pl]]''' -
+
** '''[[element_classes.pl]]''' - Configuration for assigning classes EPrints generated HTML elements.
 
** '''[[email.pl]]''' - Configuration for sending email from the repository archive.
 
** '''[[email.pl]]''' - Configuration for sending email from the repository archive.
 
** '''[[eprint_locking.pl]]''' - Configuration for locking eprint data objects so they can only be edited by one user at once.
 
** '''[[eprint_locking.pl]]''' - Configuration for locking eprint data objects so they can only be edited by one user at once.
Line 30: Line 29:
 
** '''[[languages.pl]]''' - Configuration for languages used by the repository archive.
 
** '''[[languages.pl]]''' - Configuration for languages used by the repository archive.
 
** '''[[latest_tool.pl]] <sup>1</sup>''' - Configuration for generating listings and feeds of latest eprints in the repository archive.
 
** '''[[latest_tool.pl]] <sup>1</sup>''' - Configuration for generating listings and feeds of latest eprints in the repository archive.
** '''[[limit_names_shown.pl]]''' -  
+
** '''[[limit_names_shown.pl]]''' - Configuration to restrict number of names shown in a citation.
 
** '''[[log.pl]]''' - Configuration for logging error/warning messages for the repository archive.
 
** '''[[log.pl]]''' - Configuration for logging error/warning messages for the repository archive.
** '''[[make_orderkey.pl]]''' -
+
** '''[[make_orderkey.pl]]''' - Configuration to better manage diacritics in ordering items.
** '''[[media_info.pl]]''' -
+
** '''[[media_info.pl]]''' - Configuration to file in media information about documents/files.
** '''[[mime_types.pl]]''' -
+
** '''[[mime_types.pl]]''' - Configuration to load [[mime.types]] file.
 
** '''[[misc.pl]]''' - Miscellaneous configuration settings.
 
** '''[[misc.pl]]''' - Miscellaneous configuration settings.
** '''[[optional_filename_sanitise.pl]]''' -
+
** '''[[optional_filename_sanitise.pl]]''' - Configuration to santise uploaded file names.
 
** '''[[paths.pl]]''' - Configuration for filesystem paths for particular parts of the repository archive.
 
** '''[[paths.pl]]''' - Configuration for filesystem paths for particular parts of the repository archive.
 
** '''[[rdf.pl]]''' - Configuration for setting XML namespaces for RDF data files.
 
** '''[[rdf.pl]]''' - Configuration for setting XML namespaces for RDF data files.
Line 49: Line 48:
 
** '''[[registration.pl]]''' - Configuration for enabling/managing user reegistration for the repository archive.
 
** '''[[registration.pl]]''' - Configuration for enabling/managing user reegistration for the repository archive.
 
** '''[[search.pl]]''' - Miscelleanous search configuration not tied to a specific data object or type of search.
 
** '''[[search.pl]]''' - Miscelleanous search configuration not tied to a specific data object or type of search.
** '''[[search_xapian.pl]]''' -  
+
** '''[[search_xapian.pl]]''' - Xapian-specific search configuration.
 
** '''[[security.pl]]''' - Functions for securing appropriate access to uploaded documents.
 
** '''[[security.pl]]''' - Functions for securing appropriate access to uploaded documents.
 
** '''[[session.pl]]''' - Functions for bespoke operations when initiating or closing a session.
 
** '''[[session.pl]]''' - Functions for bespoke operations when initiating or closing a session.
Line 65: Line 64:
 
** '''[[user_search.pl]]''' - Configuration for search of user data objects.
 
** '''[[user_search.pl]]''' - Configuration for search of user data objects.
 
** '''[[user_validate.pl]]''' - Validation of the user data object as a whole.
 
** '''[[user_validate.pl]]''' - Validation of the user data object as a whole.
** '''[[vlit.pl]] <sup>1</sup>''' - Configuration for [[VLit]].
+
** '''[[vlit.pl]]''' - Configuration for [[VLit]].

Latest revision as of 11:22, 4 February 2022

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

DON'T EDIT THESE FILES....

Editing the contents of this directory is not recommended. See Read Only Directories.

This directory contains core configuration files. Generally these should not need to be changed but if they do they should be copied to the archive's cfg/cfg.d directory and then edited there. This directory is at the bottom of the levels of precedence for configuration files:

lib/cfg.d/ <- flavours/FLAVOURLIB/cfg.d/ <- ingredients/INGREDIENTID/cfg.d/ <- site_lib/cfg.d/ <- archives/ARCHIVEID/cfg/cfg.d/

A full list of all configuration files provided within the core codebase can be found here. Only the following configuration files are found in this directory.