Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).
* Fix permission bug for activities (7217)
* Update fixture

* [PR-649](https://github.com/itk-dev/deltag.aarhus.dk/pull/649)
* Fix deprecation in hoeringsportal_deskpro
* Fix display bug in dialogue file_resup module

## [4.16.4] - 2026-04-17

* [PR-645](https://github.com/itk-dev/deltag.aarhus.dk/pull/645)
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"itk-dev/azure-ad-delta-sync-drupal": "^2.0",
"itk-dev/composer-virtualenv": "^1.0",
"itk-dev/itk_azure_video": "^2.0",
"itk-dev/itk_dropzonejs_image_widget": "^1.0",
"itk-dev/itk_pretix": "^1.5",
"itk-dev/itk_siteimprove": "^1.2",
"itk-dev/itk_video": "^1.0",
Expand Down
33 changes: 31 additions & 2 deletions composer.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- node.type.dialogue_proposal
module:
- hoeringsportal_data
- svg_image
- itk_dropzonejs_image_widget
id: node.dialogue_proposal.default
targetEntityType: node
bundle: dialogue_proposal
Expand Down Expand Up @@ -60,12 +60,13 @@ content:
placeholder: ''
third_party_settings: { }
field_image_upload:
type: image_image
type: itk_dropzonejs_image_widget
weight: 5
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
dropzone_description: 'Drag and drop an image here or click to upload'
progress_indicator: throbber
third_party_settings: { }
field_location:
type: hoeringsportal_data_map_default
Expand Down
2 changes: 1 addition & 1 deletion config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ module:
field_group: 0
field_ui: 0
file: 0
file_resup: 0
filter: 0
flag: 0
hoeringsportal_activity: 0
Expand Down Expand Up @@ -70,6 +69,7 @@ module:
inline_form_errors: 0
itk_admin: 0
itk_admin_links: 0
itk_dropzonejs_image_widget: 0
itk_media_entity: 0
itk_pretix: 0
itk_siteimprove: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ dependencies:
- field.storage.node.field_image_upload
- node.type.dialogue_proposal
module:
- file_resup
- image
third_party_settings:
file_resup:
enabled: true
max_upload_size: '10 MB'
auto_upload: true
id: node.dialogue_proposal.field_image_upload
field_name: field_image_upload
entity_type: node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$this->initialize();

$file_validators = [
'file_validate_size' => [10490000],
'file_validate_extensions' => ['jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps odt ods odp'],
'FileSizeLimit' => ['fileLimit' => 10490000],
'FileExtension' => ['extensions' => 'jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps odt ods odp'],
];

$form['hearing_intro_text'] = [
Expand Down Expand Up @@ -240,7 +240,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
$organization = trim($form_state->getValue('organization'));
$representations = $this->config->getRepresentations();

if ($representations[$representation]['require_organization'] && empty($organization)) {
if (($representations[$representation]['require_organization'] ?? FALSE) && empty($organization)) {
// @todo Customer has to decide if we need an organization name.
// $form_state->setErrorByName(
// 'organization',
Expand Down
Loading