Skip to content
Closed
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
c32cd88
#186: Avoid multiple saves when handling name and address protection
jekuaitk Jul 4, 2025
bcae0ad
#186: Update CHANGELOG and apply coding standards
jekuaitk Jul 4, 2025
0943c5c
5189: Sanitized MeMo filename
rimi-itk Aug 19, 2025
3191624
5189: Added check for absolute and secure URLs in MeMo actions
rimi-itk Aug 19, 2025
fdb5ee6
5189: Improved digital post test command
rimi-itk Aug 19, 2025
c7762ba
5189: Refactored action URL validation. Added runtime check.
rimi-itk Aug 19, 2025
7533b14
5189: Cleaned up
rimi-itk Aug 20, 2025
336fe2e
#190: Rethrow exception to ensure failed job status in Maestro notifi…
jekuaitk Aug 20, 2025
7480dbc
#190: Updated CHANGELOG
jekuaitk Aug 20, 2025
7bd7041
5189: Updated itk-dev/serviceplatformen
rimi-itk Aug 20, 2025
a802c2f
5189: Updated example forms
rimi-itk Aug 22, 2025
62652e1
5189: Added clarifying comment
rimi-itk Aug 29, 2025
fb247a0
#195: Sanitize recipient identifier in Maestro notification
jekuaitk Aug 29, 2025
6e83da3
#195: Updated CHANGELOG
jekuaitk Aug 29, 2025
d3e406c
Merge pull request #189 from itk-dev/feature/5189-memo-1.2
rimi-itk Oct 20, 2025
e040f16
Merge branch 'master' into feature/avoid-double-save-on-name-and-addr…
rimi-itk Oct 20, 2025
3424f8f
Merge branch 'master' into hotfix/195-maestro-notication-recipient-sa…
rimi-itk Oct 20, 2025
159453b
Merge pull request #202 from itk-dev/hotfix/195-maestro-notication-re…
rimi-itk Oct 20, 2025
620d198
Merge branch 'master' into feature/190-maestro-notification-exception…
rimi-itk Oct 20, 2025
2fb181d
Merge pull request #199 from itk-dev/feature/190-maestro-notification…
rimi-itk Oct 20, 2025
573bd7a
Merge branch 'master' into feature/avoid-double-save-on-name-and-addr…
rimi-itk Oct 20, 2025
a24177e
Removed todo and superfluous form element
rimi-itk Oct 21, 2025
08a7b53
Apply suggestion from @rimi-itk
rimi-itk Oct 21, 2025
123d488
Merge pull request #187 from OS2Forms/feature/avoid-double-save-on-na…
rimi-itk Oct 21, 2025
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ before starting to add changes. Use example [placed in the end of the page](#exa

## [Unreleased]

- Avoid double-saving submissions when handling name and address protection.
- [PR-191](https://github.com/OS2Forms/os2forms/pull/191)
Re-throws exception to ensure failed status during Maestro notification job.
- [PR-202](https://github.com/OS2Forms/os2forms/pull/202)
- Removed non-digits from recipient id in Maestro digital post notifications.
- [PR-189](https://github.com/OS2Forms/os2forms/pull/189)
- Added support for MeMo 1.2 and added additional validation of MeMo actions.

## [4.1.0] 2025-06-03

- [PR-176](https://github.com/OS2Forms/os2forms/pull/176)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"fig/http-message-util": "^1.1",
"http-interop/http-factory-guzzle": "^1.0.0",
"itk-dev/beskedfordeler-drupal": "^1.0",
"itk-dev/serviceplatformen": "^1.5",
"itk-dev/serviceplatformen": "^1.7.1",
"mglaman/composer-drupal-lenient": "^1.0",
"os2web/os2web_audit": "^1.0",
"os2web/os2web_datalookup": "^2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,10 @@ handlers:
actions:
-
action: INFORMATION
url: 'http://dr.dk'
url: '[site:url]'
label: 'Se her!'
-
action: SELVBETJENING
url: 'https://selvbetjening.aarhuskommune.dk/da/content/book-aarhus'
label: 'Book ressource'
-
action: FORBEREDELSE
url: 'http://tv2.dk'
label: 'Forbered dig med'
url: 'https://eksempel.dk'
label: 'Eksempel'
variants: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
langcode: da
status: open
dependencies:
enforced:
module:
- os2forms_digital_post_examples
module:
- os2forms_digital_post_examples
third_party_settings:
webform_revisions:
contentEntity_id: null
weight: 0
open: null
close: null
uid: 1
template: false
archive: false
id: os2forms_digital_post_example_2
title: 'OS2Forms Digital post example with invalid handler URL'
description: 'Simple example form with a digital post handler with invalid handler URL'
category: Example
elements: |-
message:
'#type': textarea
'#title': Message
'#required': true
'#default_value': |-
[current-date:long]

[random:hash:sha512]
recipient_cpr:
'#type': textfield
'#title': 'Recipient cpr'
'#required': true
'#default_value': '1705880000'
digital_post_content_pdf:
'#type': 'webform_entity_print_attachment:pdf'
'#title': 'Digital post (PDF)'
'#display_on': view
'#filename': hat-og-briller.pdf
css: ''
javascript: ''
settings:
ajax: false
ajax_scroll_top: form
ajax_progress_type: ''
ajax_effect: ''
ajax_speed: null
page: true
page_submit_path: ''
page_confirm_path: ''
page_theme_name: ''
form_title: both
form_submit_once: false
form_open_message: ''
form_close_message: ''
form_exception_message: ''
form_previous_submissions: true
form_confidential: false
form_confidential_message: ''
form_disable_remote_addr: false
form_convert_anonymous: false
form_prepopulate: false
form_prepopulate_source_entity: false
form_prepopulate_source_entity_required: false
form_prepopulate_source_entity_type: ''
form_unsaved: false
form_disable_back: false
form_submit_back: false
form_disable_autocomplete: false
form_novalidate: false
form_disable_inline_errors: false
form_required: false
form_autofocus: false
form_details_toggle: false
form_reset: false
form_access_denied: default
form_access_denied_title: ''
form_access_denied_message: ''
form_access_denied_attributes: { }
form_file_limit: ''
form_attributes: { }
form_method: ''
form_action: ''
share: false
share_node: false
share_theme_name: ''
share_title: true
share_page_body_attributes: { }
submission_label: ''
submission_exception_message: ''
submission_locked_message: ''
submission_log: false
submission_excluded_elements: { }
submission_exclude_empty: false
submission_exclude_empty_checkbox: false
submission_views: { }
submission_views_replace: { }
submission_user_columns: { }
submission_user_duplicate: false
submission_access_denied: default
submission_access_denied_title: ''
submission_access_denied_message: ''
submission_access_denied_attributes: { }
previous_submission_message: ''
previous_submissions_message: ''
autofill: false
autofill_message: ''
autofill_excluded_elements: { }
wizard_progress_bar: true
wizard_progress_pages: false
wizard_progress_percentage: false
wizard_progress_link: false
wizard_progress_states: false
wizard_start_label: ''
wizard_preview_link: false
wizard_confirmation: true
wizard_confirmation_label: ''
wizard_auto_forward: true
wizard_auto_forward_hide_next_button: false
wizard_keyboard: true
wizard_track: ''
wizard_prev_button_label: ''
wizard_next_button_label: ''
wizard_toggle: false
wizard_toggle_show_label: ''
wizard_toggle_hide_label: ''
preview: 0
preview_label: ''
preview_title: ''
preview_message: ''
preview_attributes: { }
preview_excluded_elements: { }
preview_exclude_empty: true
preview_exclude_empty_checkbox: false
draft: none
draft_multiple: false
draft_auto_save: false
draft_saved_message: ''
draft_loaded_message: ''
draft_pending_single_message: ''
draft_pending_multiple_message: ''
confirmation_type: message
confirmation_url: ''
confirmation_title: ''
confirmation_message: ''
confirmation_attributes: { }
confirmation_back: true
confirmation_back_label: ''
confirmation_back_attributes: { }
confirmation_exclude_query: false
confirmation_exclude_token: false
confirmation_update: false
limit_total: null
limit_total_interval: null
limit_total_message: ''
limit_total_unique: false
limit_user: null
limit_user_interval: null
limit_user_message: ''
limit_user_unique: false
entity_limit_total: null
entity_limit_total_interval: null
entity_limit_user: null
entity_limit_user_interval: null
purge: all
purge_days: 30
results_disabled: false
results_disabled_ignore: false
results_customize: false
token_view: false
token_update: false
token_delete: false
serial_disabled: false
access:
create:
roles:
- anonymous
- authenticated
users: { }
permissions: { }
view_any:
roles: { }
users: { }
permissions: { }
update_any:
roles: { }
users: { }
permissions: { }
delete_any:
roles: { }
users: { }
permissions: { }
purge_any:
roles: { }
users: { }
permissions: { }
view_own:
roles: { }
users: { }
permissions: { }
update_own:
roles: { }
users: { }
permissions: { }
delete_own:
roles: { }
users: { }
permissions: { }
administer:
roles: { }
users: { }
permissions: { }
test:
roles: { }
users: { }
permissions: { }
configuration:
roles: { }
users: { }
permissions: { }
handlers:
digital_post_sf1601:
id: digital_post_sf1601
handler_id: digital_post_sf1601
label: 'Digital post (sf1601)'
notes: ''
status: true
conditions: { }
weight: 0
settings:
debug: false
memo_message:
type: 'Automatisk Valg'
recipient_element: recipient_cpr
attachment_element: digital_post_content_pdf
sender_label: 'Hilsen fra [site:url-brief]'
message_header_label: SF1601
memo_actions:
actions:
-
action: INFORMATION
url: 'http://eksempel.dk'
label: 'Se her!'
variants: { }
Loading