Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up islandora_defaults so it's "clean" after install #46

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified composer.json
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions config/install/context.context.audio_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ conditions:
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
parent_node_has_term:
id: parent_node_has_term
negate: 0
uri: 'http://purl.org/coar/resource_type/c_18cc'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
reactions:
derivative:
id: derivative
Expand Down
1 change: 1 addition & 0 deletions config/install/context.context.binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ conditions:
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/coar/resource_type/c_1843'
logic: and
reactions:
view_mode_alter:
id: view_mode_alter
Expand Down
1 change: 1 addition & 0 deletions config/install/context.context.collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ conditions:
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection'
logic: and
reactions:
blocks:
blocks:
Expand Down
2 changes: 2 additions & 0 deletions config/install/context.context.image_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ conditions:
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
parent_node_has_term:
id: parent_node_has_term
negate: 0
uri: 'http://purl.org/coar/resource_type/c_c513'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
reactions:
derivative:
id: derivative
Expand Down
1 change: 1 addition & 0 deletions config/install/context.context.open_seadragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ conditions:
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://openseadragon.github.io'
logic: and
reactions:
view_mode_alter:
id: view_mode_alter
Expand Down
2 changes: 2 additions & 0 deletions config/install/context.context.pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ conditions:
uri: 'http://id.loc.gov/ontologies/bibframe/part'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
media_has_term:
id: media_has_term
negate: 0
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
reactions:
derivative:
id: derivative
Expand Down
4 changes: 3 additions & 1 deletion config/install/context.context.pdf_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@ conditions:
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
parent_node_has_term:
id: parent_node_has_term
negate: 0
uri: 'https://schema.org/DigitalDocument'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
reactions:
derivative:
id: derivative
actions:
get_ocr_from_image: get_ocr_from_image
image_generate_a_thumbnail_from_an_original_file: digital_document_generate_a_thumbnail_from_an_original_file
image_generate_a_thumbnail_from_an_original_file: digital_document_generate_a_thumbnail_from_an_original_file
saved: false
weight: -6
1 change: 1 addition & 0 deletions config/install/context.context.pdfjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ conditions:
uri: 'http://mozilla.github.io/pdf.js'
context_mapping:
node: '@node.node_route_context:node'
logic: and
reactions:
view_mode_alter:
id: view_mode_alter
Expand Down
2 changes: 2 additions & 0 deletions config/install/context.context.video_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ conditions:
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
parent_node_has_term:
id: parent_node_has_term
negate: 0
uri: 'http://purl.org/coar/resource_type/c_12ce'
context_mapping:
media: '@islandora.media_route_context_provider:media'
logic: and
reactions:
derivative:
id: derivative
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
translation:
weight: 10
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
translation:
weight: 4
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ content:
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
translation:
weight: 4
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ content:
region: content
hidden:
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ content:
region: content
hidden:
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ content:
region: content
hidden:
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
uuid: 4a62e3d0-d02a-4ed9-ad59-618c948a7d02
langcode: en
status: true
dependencies:
Expand All @@ -17,4 +16,3 @@ default_value: { }
default_value_callback: ''
settings: { }
field_type: string

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
uuid: a126205a-f78e-4adc-89e8-02304cb82912
langcode: en
status: true
dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ dependencies:
config:
- field.storage.node.field_note
- node.type.islandora_object
module:
- text
id: node.islandora_object.field_note
field_name: field_note
entity_type: node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ dependencies:
config:
- field.storage.node.field_table_of_contents
- node.type.islandora_object
module:
- text
id: node.islandora_object.field_table_of_contents
field_name: field_table_of_contents
entity_type: node
Expand Down
2 changes: 0 additions & 2 deletions config/install/field.storage.node.field_classification.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
uuid: d8c598bb-c5dd-4051-b9db-bde426e488b1
langcode: en
status: true
dependencies:
Expand All @@ -23,4 +22,3 @@ translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

2 changes: 0 additions & 2 deletions config/install/field.storage.node.field_coordinates_text.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
uuid: fb77e0f8-e918-4bb7-b07b-242b26391855
langcode: en
status: true
dependencies:
Expand All @@ -23,4 +22,3 @@ translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

3 changes: 1 addition & 2 deletions config/install/field.storage.node.field_note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ id: node.field_note
field_name: field_note
entity_type: node
type: text_long
settings:
case_sensitive: false
settings: { }
module: core
locked: false
cardinality: -1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ id: node.field_table_of_contents
field_name: field_table_of_contents
entity_type: node
type: text_long
settings:
case_sensitive: false
settings: { }
module: core
locked: false
cardinality: 1
Expand Down
3 changes: 2 additions & 1 deletion config/install/views.view.members.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ description: 'Displays members for content.'
tag: ''
base_table: node_field_data
base_field: nid
core: 8.x
display:
default:
display_plugin: default
Expand Down Expand Up @@ -151,6 +150,8 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
Expand Down
15 changes: 14 additions & 1 deletion config/install/views.view.openseadragon_media_evas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ description: 'Displays media for content as EVA''s per model.'
tag: ''
base_table: media_field_data
base_field: mid
core: 8.x
display:
default:
display_plugin: default
Expand Down Expand Up @@ -126,6 +125,8 @@ display:
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
sorts: { }
title: ''
Expand Down Expand Up @@ -205,6 +206,8 @@ display:
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
field_external_uri_uri:
id: field_external_uri_uri
Expand All @@ -230,6 +233,8 @@ display:
remember_roles:
authenticated: authenticated
placeholder: ''
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
Expand Down Expand Up @@ -296,6 +301,8 @@ display:
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
field_external_uri_uri:
id: field_external_uri_uri
Expand All @@ -321,6 +328,8 @@ display:
remember_roles:
authenticated: authenticated
placeholder: ''
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
Expand Down Expand Up @@ -387,6 +396,8 @@ display:
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
field_external_uri_uri:
id: field_external_uri_uri
Expand All @@ -412,6 +423,8 @@ display:
remember_roles:
authenticated: authenticated
placeholder: ''
operator_limit_selection: false
operator_list: { }
is_grouped: false
group_info:
label: ''
Expand Down
Loading