Skip to content

Commit

Permalink
Merge pull request #3287 from CityOfBoston/master
Browse files Browse the repository at this point in the history
(production) Rollcall, MOH and addtocal updates
  • Loading branch information
davidrkupton authored Dec 28, 2023
2 parents 0aafa93 + 8f5edc9 commit 1179d5f
Show file tree
Hide file tree
Showing 224 changed files with 19,233 additions and 194 deletions.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@
}
},
"patches": {
"drupal/addtocal": {
"Patch for Type error DIG-3707 Dec 2023 Stella": "https://www.drupal.org/files/issues/2023-07-07/3372354-fix-addtocal-download.patch",
"Part two - menu not opening patch for Type error DIG-3707 - Dec 2023 Stella": "patches/dig-3707a.patch"
},
"drupal/core": {
"CoB patch - Fix original node is null on migration.": "patches/cob_migration_missing_original_001.patch",
"Optional end-date in date_range field type": "https://www.drupal.org/files/issues/2020-08-09/2794481-109.patch",
Expand Down
2 changes: 2 additions & 0 deletions config/default/content_access.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ content_access_roles_gids:
content_reviewer: 7
metrolist_editor: 8
election_editor: 9
city_clerk_editor: 10
content_access_node_type:
test_component_page: 'a:2:{s:4:"view";a:1:{i:0;s:13:"authenticated";}s:8:"view own";a:1:{i:0;s:13:"authenticated";}}'
department_profile: 'a:1:{s:8:"view own";a:1:{i:0;s:13:"authenticated";}}'
Expand Down Expand Up @@ -44,3 +45,4 @@ content_access_node_type:
node_emergency_alert_new: 'a:1:{s:8:"view own";a:1:{i:0;s:13:"authenticated";}}'
node_neighborhood_lookup: 'a:2:{s:4:"view";a:1:{i:0;s:13:"authenticated";}s:8:"view own";a:1:{i:0;s:13:"authenticated";}}'
election_report: 'a:2:{s:8:"view_own";a:4:{i:0;s:9:"anonymous";i:1;s:13:"authenticated";i:2;s:13:"administrator";i:3;s:18:"site_administrator";}s:4:"view";a:4:{i:0;s:9:"anonymous";i:1;s:13:"authenticated";i:2;s:13:"administrator";i:3;s:18:"site_administrator";}}'
roll_call_dockets: 'a:2:{s:8:"view_own";a:3:{i:0;s:17:"city_clerk_editor";i:1;s:13:"administrator";i:2;s:18:"site_administrator";}s:4:"view";a:3:{i:0;s:17:"city_clerk_editor";i:1;s:13:"administrator";i:2;s:18:"site_administrator";}}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: d5bd9b32-599a-44d1-a334-4380765b5bc5
langcode: en
status: true
dependencies:
config:
- node.type.roll_call_dockets
id: node.roll_call_dockets.promote
field_name: promote
entity_type: node
bundle: roll_call_dockets
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: 65c05dfc-dc4b-4879-b7cf-10b74c6d450a
langcode: en
status: true
dependencies:
config:
- node.type.roll_call_dockets
id: node.roll_call_dockets.title
field_name: title
entity_type: node
bundle: roll_call_dockets
label: 'Docket Number'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
42 changes: 27 additions & 15 deletions config/default/core.entity_form_display.node.bh_update.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.bh_update.body
- field.field.node.bh_update.field_bh_attachment
- field.field.node.bh_update.field_bh_banner_status
- field.field.node.bh_update.field_bh_boston_based_business
- field.field.node.bh_update.field_bh_developer_name
- field.field.node.bh_update.field_bh_developer_website
Expand Down Expand Up @@ -92,6 +93,7 @@ third_party_settings:
group_project:
children:
- field_bh_project_ref
- field_bh_banner_status
- body
- field_bh_image
- field_bh_project_web_link
Expand Down Expand Up @@ -150,7 +152,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
weight: 5
region: content
settings:
rows: 9
Expand All @@ -160,7 +162,7 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 11
weight: 3
region: content
settings: { }
third_party_settings: { }
Expand All @@ -171,9 +173,19 @@ content:
settings:
progress_indicator: throbber
third_party_settings: { }
field_bh_banner_status:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_bh_boston_based_business:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
Expand All @@ -188,7 +200,7 @@ content:
third_party_settings: { }
field_bh_developer_website:
type: string_textfield
weight: 9
weight: 10
region: content
settings:
size: 60
Expand All @@ -212,7 +224,7 @@ content:
third_party_settings: { }
field_bh_image:
type: file_generic
weight: 4
weight: 6
region: content
settings:
progress_indicator: throbber
Expand Down Expand Up @@ -244,7 +256,7 @@ content:
third_party_settings: { }
field_bh_project_web_link:
type: string_textfield
weight: 5
weight: 7
region: content
settings:
size: 60
Expand Down Expand Up @@ -297,46 +309,46 @@ content:
third_party_settings: { }
langcode:
type: language_select
weight: 9
weight: 1
region: content
settings:
include_locked: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 18
weight: 9
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 16
weight: 7
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 14
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 13
weight: 4
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 19
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 15
weight: 6
region: content
settings:
display_label: true
Expand All @@ -351,7 +363,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 10
weight: 2
region: content
settings:
match_operator: CONTAINS
Expand All @@ -360,7 +372,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 17
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
uuid: a54a2432-0677-41f0-9b3a-a89fd253f52f
langcode: en
status: true
dependencies:
config:
- field.field.node.roll_call_dockets.body
- field.field.node.roll_call_dockets.field_components
- field.field.node.roll_call_dockets.field_meeting_date
- node.type.roll_call_dockets
- workflows.workflow.managed_workflow
module:
- content_moderation
- datetime
- field_group
- paragraphs
- publication_date
- text
third_party_settings:
field_group:
group_council_meeting:
children:
- group_docket
label: 'Council Meeting'
region: content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
direction: vertical
width_breakpoint: 640
group_docket:
children:
- title
- field_meeting_date
- body
- field_components
label: Docket
region: content
parent_name: group_council_meeting
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.roll_call_dockets.default
targetEntityType: node
bundle: roll_call_dockets
mode: default
content:
body:
type: text_textarea_with_summary
weight: 4
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 3
region: content
settings: { }
third_party_settings: { }
field_components:
type: entity_reference_paragraphs
weight: 5
region: content
settings:
title: 'Roll Call Vote'
title_plural: 'Roll Call Votes'
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: roll_call_vote
third_party_settings: { }
field_meeting_date:
type: datetime_default
weight: 3
region: content
settings: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 1
region: content
settings: { }
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 4
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
langcode: true
path: true
promote: true
sticky: true
url_redirects: true
Loading

0 comments on commit 1179d5f

Please sign in to comment.