Browse Source

Include original hash, and re-hash.

pull/912/head
Rosie Le Faive 2 years ago
parent
commit
def4fda5b6
  1. 4
      modules/islandora_core_feature/config/install/filehash.settings.yml
  2. 85
      modules/islandora_core_feature/config/install/views.view.file_checksum.yml

4
modules/islandora_core_feature/config/install/filehash.settings.yml

@ -18,7 +18,7 @@ algos:
sha3_384: '0' sha3_384: '0'
sha3_512: '0' sha3_512: '0'
dedupe: 0 dedupe: 0
rehash: false rehash: true
original: false original: true
dedupe_original: false dedupe_original: false
mime_types: { } mime_types: { }

85
modules/islandora_core_feature/config/install/views.view.file_checksum.yml

@ -6,6 +6,7 @@ dependencies:
- filehash - filehash
- rest - rest
- serialization - serialization
- user
enforced: enforced:
module: module:
- islandora_core_feature - islandora_core_feature
@ -88,6 +89,70 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
original_sha1:
id: original_sha1
table: file_managed
field: original_sha1
relationship: none
group_type: group
admin_label: ''
entity_type: file
entity_field: original_sha1
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: true
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: true
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: false
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: filehash
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager: pager:
type: mini type: mini
options: options:
@ -117,8 +182,9 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
access: access:
type: none type: perm
options: { } options:
perm: 'view checksums'
cache: cache:
type: tag type: tag
options: { } options: { }
@ -190,6 +256,7 @@ display:
- request_format - request_format
- url - url
- url.query_args - url.query_args
- user.permissions
tags: { } tags: { }
rest_export_1: rest_export_1:
id: rest_export_1 id: rest_export_1
@ -211,7 +278,18 @@ display:
type: data_field type: data_field
options: options:
field_options: { } field_options: { }
display_extenders: { } display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
path: checksum/%file path: checksum/%file
auth: auth:
- basic_auth - basic_auth
@ -224,5 +302,6 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- request_format - request_format
- url - url
- user.permissions
tags: { } tags: { }

Loading…
Cancel
Save