feat(indexing): allow to ignore dot and at starting files (UI)
parent
b044cc2cba
commit
0d16140ca5
|
@ -34,6 +34,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,
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -118,6 +118,24 @@
|
|||
{{ t('memories', 'Clear all existing index tables:') }}
|
||||
<br />
|
||||
<code>occ memories:index --clear</code>
|
||||
|
||||
<h3>Ignore:</h3>
|
||||
<NcCheckboxRadioSwitch
|
||||
:checked.sync="config['memories.index.ignore_file_with_starting_dot']"
|
||||
@update:checked="update('memories.index.ignore_file_with_starting_dot')"
|
||||
type="switch"
|
||||
>
|
||||
{{ t('memories', `Ignore files and folders starting with "."`) }}
|
||||
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
||||
<NcCheckboxRadioSwitch
|
||||
:checked.sync="config['memories.index.ignore_file_with_starting_at']"
|
||||
@update:checked="update('memories.index.ignore_file_with_starting_at')"
|
||||
type="switch"
|
||||
>
|
||||
{{ t('memories', `Ignore files and folders starting with "@"`) }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue