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

Develop to main #321

Merged
merged 24 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
162724a
PP-499: Enable fetching office holder decisions from elasticsearch.
juho-lehmonen Jul 27, 2023
3fc7a28
UHF-8858 Add return types
hyrsky Oct 16, 2023
6d86928
UHF-8858: Rename variables
hyrsky Oct 16, 2023
7f07e6b
UHF-8858: Make recursion depth parameter optional
hyrsky Oct 16, 2023
b45cbb0
UHF-8858: Make langcode parameter optional
hyrsky Oct 16, 2023
eed069a
UHF-8858: Add description to organization content type
hyrsky Oct 16, 2023
7c0dca9
UHF-8858: Hide organization nodes from anonymous users
hyrsky Oct 16, 2023
0a5cc1e
UHF-8858: Add admin view for organizations
hyrsky Oct 16, 2023
b6a53cf
UHF-8858: Link policymaker to organization with a reference
hyrsky Oct 13, 2023
e659361
UHF-8858: Add service for querying organization hierarchy
hyrsky Oct 16, 2023
5aa3b1d
UHF-8858: Replace AhjoOrgChartQueueWorker with a migration
hyrsky Oct 13, 2023
3537d0c
UHF-8858: Add organizations cron jobs
hyrsky Oct 16, 2023
9f57841
UHF-8858: move update hook to drush command
hyrsky Oct 16, 2023
5bbc288
Merge pull request #295 from City-of-Helsinki/PP-499-enable-elasticse…
juho-lehmonen Oct 17, 2023
839a78a
UHF-9028: remove who_s_new and who_s_online views
hyrsky Oct 17, 2023
7588d95
UHF-9028: Fix pager styles on taxonomy term view
hyrsky Oct 17, 2023
4462add
UHF-9028: remove unnecessary template variable
hyrsky Oct 18, 2023
a422564
UHF-9028: ensure that taxonomy_term and all_artices block have the sa…
hyrsky Oct 18, 2023
8f963f6
UHF-9028: Use same field and date format for all_articles block and t…
hyrsky Oct 18, 2023
45fa25d
UHF-9028: build css
hyrsky Oct 18, 2023
584c49e
Merge pull request #322 from City-of-Helsinki/UHF-9028-taxonomy-list-…
hyrsky Oct 24, 2023
a9fd686
UHF-8858: fix typo
hyrsky Oct 24, 2023
02a02cb
UHF-8858: do not crash migration if ahjo returns invalid organization
hyrsky Oct 24, 2023
9af879e
Merge pull request #320 from City-of-Helsinki/UHF-8858-import-org-chart
hyrsky Oct 24, 2023
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
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"dmore/chrome-mink-driver": "^2.8",
"drupal/coder": "^8.3",
"drupal/core-dev": "^9.3",
"drupal/migrate_tools": "^5.2",
"mglaman/phpstan-drupal": "^1.0",
"phpspec/prophecy-phpunit": "^2",
"phpstan/extension-installer": "^1.1",
Expand Down
74 changes: 72 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 19 additions & 27 deletions conf/cmi/core.entity_form_display.node.policymaker.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ dependencies:
- field.field.node.policymaker.field_custom_menu_links
- field.field.node.policymaker.field_custom_organization_type
- field.field.node.policymaker.field_decisions_description
- field.field.node.policymaker.field_dm_org_above
- field.field.node.policymaker.field_dm_org_below
- field.field.node.policymaker.field_dm_org_name
- field.field.node.policymaker.field_dm_organization
- field.field.node.policymaker.field_dm_sector
- field.field.node.policymaker.field_documents_description
- field.field.node.policymaker.field_first_name
Expand Down Expand Up @@ -52,6 +51,7 @@ third_party_settings:
- field_ahjo_title
- field_policymaker_id
- field_ahjo_summary
- field_dm_organization
- field_organization_type
- field_organization_type_id
- field_dm_org_name
Expand All @@ -61,8 +61,6 @@ third_party_settings:
- field_policymaker_existing
- field_is_decisionmaker
- field_dm_sector
- field_dm_org_above
- field_dm_org_below
label: 'Integration data'
region: content
parent_name: ''
Expand Down Expand Up @@ -221,33 +219,27 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
field_dm_org_above:
type: json_textarea
weight: 16
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_dm_org_below:
type: json_textarea
weight: 17
field_dm_org_name:
type: string_textfield
weight: 10
region: content
settings:
rows: 5
size: 60
placeholder: ''
third_party_settings: { }
field_dm_org_name:
type: string_textfield
weight: 9
field_dm_organization:
type: entity_reference_autocomplete
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_dm_sector:
type: json_textarea
weight: 15
weight: 16
region: content
settings:
rows: 5
Expand All @@ -271,7 +263,7 @@ content:
third_party_settings: { }
field_is_decisionmaker:
type: boolean_checkbox
weight: 14
weight: 15
region: content
settings:
display_label: true
Expand Down Expand Up @@ -300,15 +292,15 @@ content:
third_party_settings: { }
field_organization_type:
type: string_textfield
weight: 7
weight: 8
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_organization_type_id:
type: string_textfield
weight: 8
weight: 9
region: content
settings:
size: 60
Expand All @@ -323,20 +315,20 @@ content:
third_party_settings: { }
field_policymaker_dissolved:
type: datetime_default
weight: 12
weight: 13
region: content
settings: { }
third_party_settings: { }
field_policymaker_existing:
type: boolean_checkbox
weight: 13
weight: 14
region: content
settings:
display_label: true
third_party_settings: { }
field_policymaker_formed:
type: datetime_default
weight: 11
weight: 12
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -375,7 +367,7 @@ content:
third_party_settings: { }
field_sector_name:
type: string_textfield
weight: 10
weight: 11
region: content
settings:
size: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ dependencies:
- field.field.node.policymaker.field_custom_menu_links
- field.field.node.policymaker.field_custom_organization_type
- field.field.node.policymaker.field_decisions_description
- field.field.node.policymaker.field_dm_org_above
- field.field.node.policymaker.field_dm_org_below
- field.field.node.policymaker.field_dm_org_name
- field.field.node.policymaker.field_dm_organization
- field.field.node.policymaker.field_dm_sector
- field.field.node.policymaker.field_documents_description
- field.field.node.policymaker.field_first_name
Expand Down Expand Up @@ -163,8 +162,7 @@ content:
hidden:
field_contacts: true
field_custom_menu_links: true
field_dm_org_above: true
field_dm_org_below: true
field_dm_organization: true
field_dm_sector: true
field_first_name: true
field_is_decisionmaker: true
Expand Down
21 changes: 0 additions & 21 deletions conf/cmi/field.field.node.policymaker.field_dm_org_above.yml

This file was deleted.

21 changes: 0 additions & 21 deletions conf/cmi/field.field.node.policymaker.field_dm_org_below.yml

This file was deleted.

29 changes: 29 additions & 0 deletions conf/cmi/field.field.node.policymaker.field_dm_organization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: f47dded2-2ca3-41ef-831d-bd448bd4c80c
langcode: fi
status: true
dependencies:
config:
- field.storage.node.field_dm_organization
- node.type.organization
- node.type.policymaker
id: node.policymaker.field_dm_organization
field_name: field_dm_organization
entity_type: node
bundle: policymaker
label: Organisation
description: 'Reference to organisation.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
organization: organization
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
19 changes: 0 additions & 19 deletions conf/cmi/field.storage.node.field_dm_org_below.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
uuid: 8caf5172-b997-45f4-8f2b-71baf42ccac0
uuid: e44a9501-05f7-4c93-b3eb-d5b3a5e2ec26
langcode: fi
status: true
dependencies:
module:
- json_field
- node
id: node.field_dm_org_above
field_name: field_dm_org_above
id: node.field_dm_organization
field_name: field_dm_organization
entity_type: node
type: json_native
settings: { }
module: json_field
type: entity_reference
settings:
target_type: node
module: core
locked: false
cardinality: 1
translatable: true
Expand Down
20 changes: 0 additions & 20 deletions conf/cmi/language/fi/views.view.who_s_new.yml

This file was deleted.

Loading
Loading