Skip to content

Commit

Permalink
Sync current repo with istolar/openideal_distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
zohar committed Sep 22, 2020
1 parent 873a1bf commit 385ca72
Show file tree
Hide file tree
Showing 14 changed files with 272 additions and 45 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linnovate/openideal",
"description": "OpenideaL - open source ideas and innovation management system",
"name": "istolar/openideal_distribution",
"description": "The OpenideaL distribution profile",
"type": "drupal-profile",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
Expand Down
1 change: 0 additions & 1 deletion config/install/block.block.node_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ visibility:
node_type:
id: node_type
bundles:
article: article
idea: idea
negate: false
context_mapping:
Expand Down
1 change: 1 addition & 0 deletions config/install/block.block.workflow_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ settings:
label: Status
provider: openideal_statistics
label_display: visible
show_all_states: true
context_mapping:
node: '@node.node_route_context:node'
visibility:
Expand Down
17 changes: 12 additions & 5 deletions config/install/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.node.article.field_tags
- node.type.article
module:
- content_moderation
- entity_browser
- metatag
- path
Expand Down Expand Up @@ -64,7 +65,7 @@ content:
type: entity_browser_file
region: content
field_meta_tags:
weight: 101
weight: 12
settings:
sidebar: true
third_party_settings: { }
Expand All @@ -82,7 +83,7 @@ content:
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 100
weight: 11
settings: { }
region: content
third_party_settings: { }
Expand All @@ -99,6 +100,13 @@ content:
weight: 4
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
Expand All @@ -123,10 +131,9 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
weight: 10
region: content
settings: { }
third_party_settings: { }
region: content
hidden:
promote: true
sticky: true
39 changes: 23 additions & 16 deletions config/install/core.entity_form_display.node.challenge.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies:
- node.type.challenge
module:
- allowed_formats
- content_moderation
- entity_browser
- metatag
- openideal_challenge
Expand All @@ -29,7 +30,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 6
weight: 5
settings:
rows: 9
placeholder: ''
Expand All @@ -42,18 +43,18 @@ content:
region: content
created:
type: datetime_timestamp
weight: 3
weight: 2
region: content
settings: { }
third_party_settings: { }
field_category:
weight: 10
weight: 9
settings: { }
third_party_settings: { }
type: options_buttons
region: content
field_images:
weight: 8
weight: 7
settings:
entity_browser: openideal_images_browser
field_widget_remove: true
Expand All @@ -67,14 +68,14 @@ content:
type: entity_browser_file
region: content
field_is_open:
weight: 11
weight: 10
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
region: content
field_main_image:
weight: 7
weight: 6
settings:
entity_browser: openideal_image_browser
field_widget_remove: true
Expand All @@ -88,26 +89,26 @@ content:
type: entity_browser_file
region: content
field_meta_tags:
weight: 16
weight: 14
settings:
sidebar: true
third_party_settings: { }
type: metatag_firehose
region: content
field_schedule_close:
weight: 15
weight: 13
settings: { }
third_party_settings: { }
type: openideal_datetime_timestamp
region: content
field_schedule_open:
weight: 14
weight: 12
settings: { }
third_party_settings: { }
type: openideal_datetime_timestamp
region: content
field_supporting_data:
weight: 9
weight: 8
settings:
entity_browser: openideal_file_browser
field_widget_remove: true
Expand All @@ -122,23 +123,30 @@ content:
region: content
moderation_state:
type: moderation_state_default
weight: 13
weight: 11
settings: { }
region: content
third_party_settings: { }
path:
type: path
weight: 4
weight: 3
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 5
weight: 4
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
Expand All @@ -163,12 +171,11 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
weight: 15
region: content
settings: { }
third_party_settings: { }
region: content
hidden:
field_comments: true
field_like: true
promote: true
sticky: true
14 changes: 11 additions & 3 deletions config/install/core.entity_form_display.node.idea.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ dependencies:
- field.field.node.idea.field_meta_tags
- field.field.node.idea.field_overall_score
- node.type.idea
- workflows.workflow.life_cycle_phases
module:
- allowed_formats
- entity_browser
- metatag
- moderation_state_buttons_widget
- path
- text
- votingapi_reaction
Expand Down Expand Up @@ -139,6 +141,13 @@ content:
weight: 4
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
Expand All @@ -163,12 +172,11 @@ content:
region: content
third_party_settings: { }
url_redirects:
weight: 50
weight: 15
region: content
settings: { }
third_party_settings: { }
region: content
hidden:
field_comments: true
field_overall_score: true
promote: true
sticky: true
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ third_party_settings:
label: hidden
type: string
settings:
link_to_entity: false
link_to_entity: true
third_party_settings: { }
context_mapping:
entity: layout_builder.entity
Expand Down
1 change: 1 addition & 0 deletions config/install/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ permissions:
- 'modify reaction on node:challenge:field_like'
- 'modify reaction on node:idea:field_like'
- 'post comments'
- 'rabbit hole bypass user'
- 'search content'
- 'skip comment approval'
- 'translate idea node'
Expand Down
14 changes: 14 additions & 0 deletions config/install/views.view.challenges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,20 @@ display:
groups:
1: AND
sorts:
sticky:
id: sticky
table: node_field_data
field: sticky
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
entity_type: node
entity_field: sticky
plugin_id: standard
random:
id: random
table: views
Expand Down
14 changes: 7 additions & 7 deletions config/install/views.view.frontpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -819,16 +819,16 @@ display:
1: AND
sorts:
sticky:
admin_label: ''
expose:
label: ''
exposed: false
id: sticky
table: node_field_data
field: sticky
relationship: none
group_type: group
id: sticky
admin_label: ''
order: DESC
relationship: none
table: node_field_data
exposed: false
expose:
label: ''
plugin_id: boolean
entity_type: node
entity_field: sticky
Expand Down
14 changes: 14 additions & 0 deletions config/install/views.view.ideas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,20 @@ display:
entity_field: uid
plugin_id: standard
sorts:
sticky:
id: sticky
table: node_field_data
field: sticky
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
entity_type: node
entity_field: sticky
plugin_id: standard
created:
id: created
table: node_field_data
Expand Down
18 changes: 16 additions & 2 deletions config/install/views.view.news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- core.entity_view_mode.node.full
- node.type.article
- system.menu.main
module:
Expand Down Expand Up @@ -71,7 +71,7 @@ display:
type: 'entity:node'
options:
relationship: none
view_mode: teaser
view_mode: full
fields:
title:
id: title
Expand Down Expand Up @@ -147,6 +147,20 @@ display:
operator_limit_selection: false
operator_list: { }
sorts:
sticky:
id: sticky
table: node_field_data
field: sticky
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
entity_type: node
entity_field: sticky
plugin_id: standard
created:
id: created
table: node_field_data
Expand Down
Loading

0 comments on commit 385ca72

Please sign in to comment.