From 09fe1f1f2e3d6550df80c972036a2905f5db36d2 Mon Sep 17 00:00:00 2001
From: Frank Morgner <morgnerf@ub.uni-leipzig.de>
Date: Tue, 7 May 2019 11:24:58 +0200
Subject: [PATCH] refs #15147 [fid] - adds empty basic set on predefined ini
 files at fid/config/vufind

---
 fid/config/vufind/Collection.ini       | 22 ++++++++++++++++++++++
 fid/config/vufind/DAIA.ini             | 22 ++++++++++++++++++++++
 fid/config/vufind/EmailProfiles.ini    | 22 ++++++++++++++++++++++
 fid/config/vufind/HierarchyDefault.ini | 22 ++++++++++++++++++++++
 fid/config/vufind/OpenUrlRules.json    |  1 +
 fid/config/vufind/SolrAI.ini           | 25 +++++++++++++++++++++++++
 fid/config/vufind/config.ini           | 23 ++++++++++++++++++++++-
 fid/config/vufind/export.ini           | 22 ++++++++++++++++++++++
 fid/config/vufind/facets.ini           | 22 ++++++++++++++++++++++
 fid/config/vufind/permissions.ini      | 22 ++++++++++++++++++++++
 fid/config/vufind/searches.ini         | 23 ++++++++++++++++++++++-
 local/alpha/config/vufind/config.ini   |  8 ++++----
 12 files changed, 228 insertions(+), 6 deletions(-)
 create mode 100644 fid/config/vufind/Collection.ini
 create mode 100644 fid/config/vufind/DAIA.ini
 create mode 100644 fid/config/vufind/EmailProfiles.ini
 create mode 100644 fid/config/vufind/HierarchyDefault.ini
 create mode 100644 fid/config/vufind/OpenUrlRules.json
 create mode 100644 fid/config/vufind/SolrAI.ini
 create mode 100644 fid/config/vufind/export.ini
 create mode 100644 fid/config/vufind/facets.ini
 create mode 100644 fid/config/vufind/permissions.ini

diff --git a/fid/config/vufind/Collection.ini b/fid/config/vufind/Collection.ini
new file mode 100644
index 00000000000..32de8563a3b
--- /dev/null
+++ b/fid/config/vufind/Collection.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/Collection.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = ""
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/DAIA.ini b/fid/config/vufind/DAIA.ini
new file mode 100644
index 00000000000..e335a47064f
--- /dev/null
+++ b/fid/config/vufind/DAIA.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/DAIA.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = ""
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/EmailProfiles.ini b/fid/config/vufind/EmailProfiles.ini
new file mode 100644
index 00000000000..50aca073e3f
--- /dev/null
+++ b/fid/config/vufind/EmailProfiles.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/EmailProfiles.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = ""
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/HierarchyDefault.ini b/fid/config/vufind/HierarchyDefault.ini
new file mode 100644
index 00000000000..63b0eaa2f5a
--- /dev/null
+++ b/fid/config/vufind/HierarchyDefault.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/HierarchyDefault.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = "Languages,AlphaBrowse_Types"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/OpenUrlRules.json b/fid/config/vufind/OpenUrlRules.json
new file mode 100644
index 00000000000..9e26dfeeb6e
--- /dev/null
+++ b/fid/config/vufind/OpenUrlRules.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/fid/config/vufind/SolrAI.ini b/fid/config/vufind/SolrAI.ini
new file mode 100644
index 00000000000..3a6997554dc
--- /dev/null
+++ b/fid/config/vufind/SolrAI.ini
@@ -0,0 +1,25 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/SolrAI.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = "Languages,AlphaBrowse_Types"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
+
+[General]
+baseUrl = "https://ai.ub.uni-leipzig.de/blob?%s"
\ No newline at end of file
diff --git a/fid/config/vufind/config.ini b/fid/config/vufind/config.ini
index 290392ec1b1..b36982b6106 100644
--- a/fid/config/vufind/config.ini
+++ b/fid/config/vufind/config.ini
@@ -1,5 +1,26 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
 [Parent_Config]
-relative_path = ../../../config/vufind/config.ini
+relative_path = ../../../local/config/vufind/config.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+; override_full_sections = "InstitutionInfo,Export"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
+
 [Authentication]
 method = finc\Fid\Core\VuFind\Auth\Authenticator
 [Catalog]
diff --git a/fid/config/vufind/export.ini b/fid/config/vufind/export.ini
new file mode 100644
index 00000000000..e85a1ee3d89
--- /dev/null
+++ b/fid/config/vufind/export.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/export.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = "EndNote"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/facets.ini b/fid/config/vufind/facets.ini
new file mode 100644
index 00000000000..cdd31b64091
--- /dev/null
+++ b/fid/config/vufind/facets.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/facets.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = "Results,HomePage,Advanced"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
diff --git a/fid/config/vufind/permissions.ini b/fid/config/vufind/permissions.ini
new file mode 100644
index 00000000000..09473231d4d
--- /dev/null
+++ b/fid/config/vufind/permissions.ini
@@ -0,0 +1,22 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
+[Parent_Config]
+relative_path = ../../../local/config/vufind/permissions.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = ""
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
\ No newline at end of file
diff --git a/fid/config/vufind/searches.ini b/fid/config/vufind/searches.ini
index 8838aac0165..f60aa848894 100644
--- a/fid/config/vufind/searches.ini
+++ b/fid/config/vufind/searches.ini
@@ -1,4 +1,25 @@
+;####################################################################
+;##################### DO NOT DELETE THIS HEADER ####################
+;################### Leipzig University Library © 2015 ##############
+;
+; This is the ISIL-instance-specific default INI-file and inherits
+; all the settings from the INI-file defined in [Parent_Config] which
+; points to the default INI-file located in the folder vufind2/local
+;
+
 [Parent_Config]
-relative_path = ../../../config/vufind/searches.ini
+relative_path = ../../../local/config/vufind/searches.ini
+
+; A comma-separated list of config sections from the parent which should be
+; completely overwritten by the equivalent sections in this configuration;
+; any sections not listed here will be merged on a section-by-section basis.
+;override_full_sections = "Basic_Searches,Advanced_Searches"
+
+;
+;       Add instance-specific customization after this header.
+;
+;##################### DO NOT DELETE THIS HEADER ####################
+;####################################################################
+
 [IndexShards]
 ; needs to be empty array due to MungerInjection logic
\ No newline at end of file
diff --git a/local/alpha/config/vufind/config.ini b/local/alpha/config/vufind/config.ini
index 487f820c1de..e85a1ee3d89 100644
--- a/local/alpha/config/vufind/config.ini
+++ b/local/alpha/config/vufind/config.ini
@@ -2,21 +2,21 @@
 ;##################### DO NOT DELETE THIS HEADER ####################
 ;################### Leipzig University Library © 2015 ##############
 ;
-; This is the default ALPHA-INI-file and inherits
+; This is the ISIL-instance-specific default INI-file and inherits
 ; all the settings from the INI-file defined in [Parent_Config] which
 ; points to the default INI-file located in the folder vufind2/local
 ;
 
 [Parent_Config]
-relative_path = ../../../config/vufind/config.ini
+relative_path = ../../../local/config/vufind/export.ini
 
 ; A comma-separated list of config sections from the parent which should be
 ; completely overwritten by the equivalent sections in this configuration;
 ; any sections not listed here will be merged on a section-by-section basis.
-;override_full_sections = "Languages,AlphaBrowse_Types"
+;override_full_sections = "EndNote"
 
 ;
-;       Add ALPHA-specific customization after this header.
+;       Add instance-specific customization after this header.
 ;
 ;##################### DO NOT DELETE THIS HEADER ####################
 ;####################################################################
\ No newline at end of file
-- 
GitLab