diff --git a/lib/Settings/SystemConfig.php b/lib/Settings/SystemConfig.php index a0ef9dbb..2fffa1af 100644 --- a/lib/Settings/SystemConfig.php +++ b/lib/Settings/SystemConfig.php @@ -33,6 +33,9 @@ class SystemConfig // Path to index (only used if indexing mode is 3) 'memories.index.path' => '/', + + 'memories.index.ignore_file_with_starting_dot' => false, + 'memories.index.ignore_file_with_starting_at' => false, // Places database type identifier 'memories.gis_type' => -1, diff --git a/src/components/admin/AdminTypes.ts b/src/components/admin/AdminTypes.ts index 4f54aeb6..844c6a58 100644 --- a/src/components/admin/AdminTypes.ts +++ b/src/components/admin/AdminTypes.ts @@ -6,6 +6,8 @@ export type ISystemConfig = { 'memories.exiftool_no_local': boolean; 'memories.index.mode': string; 'memories.index.path': string; + 'memories.index.ignore_file_with_starting_dot': boolean; + 'memories.index.ignore_file_with_starting_at': boolean; 'memories.gis_type': number; diff --git a/src/components/admin/sections/Indexing.vue b/src/components/admin/sections/Indexing.vue index 8e6c31ce..518af881 100644 --- a/src/components/admin/sections/Indexing.vue +++ b/src/components/admin/sections/Indexing.vue @@ -118,6 +118,24 @@ {{ t('memories', 'Clear all existing index tables:') }}
occ memories:index --clear + +

Ignore:

+ + {{ t('memories', `Ignore files and folders starting with "."`) }} + + + + + {{ t('memories', `Ignore files and folders starting with "@"`) }} +