Skip to content

Allowed both key and form configuration of providers - #24

Merged
jekuaitk merged 15 commits into
feature/os2web_keyfrom
feature/allow-key-and-form-configuration
May 16, 2025
Merged

Allowed both key and form configuration of providers#24
jekuaitk merged 15 commits into
feature/os2web_keyfrom
feature/allow-key-and-form-configuration

Conversation

@jekuaitk

@jekuaitk jekuaitk commented Jan 23, 2025

Copy link
Copy Markdown
Contributor

https://leantime.itkdev.dk/#/tickets/showTicket/2726

  • Allows both key and form configuration of providers

See itk-dev/os2forms_payment#4 for note about mglaman/phpstan-drupal.

rimi-itk and others added 11 commits December 20, 2024 11:35
@jekuaitk
jekuaitk force-pushed the feature/allow-key-and-form-configuration branch from 5c84424 to 08d206b Compare January 23, 2025 18:59
@jekuaitk
jekuaitk requested a review from rimi-itk January 23, 2025 19:00
Comment thread composer.json Outdated
"drupal/webform": "^6.0",
"itk-dev/drupal_psr6_cache": "^1.0",
"itk-dev/openid-connect": "^3.1",
"os2web/os2web_audit": "^0.1",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this added in a pull request related to keys?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A duplicate require and require-dev is added to composer.json in #20. This was somehow missed by myself in a review.

The duplicated require contained "os2forms/os2forms": "^3.17", in which the os2web/os2web_audit requirement came from. However, the only thing needed from os2forms is os2web_audit.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But why do we need “audit” in a pull request related to "key"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't - we just need to not remove it.

#20 mistakenly adds an extra require and require-dev section before the original one. This newly added require section is missing the os2forms requirement that the original one had.

I suppose your right in that this change from a full os2forms requirement to a direct audit requirement could have it's own PR. I will update with the original requirement.

@rimi-itk
rimi-itk force-pushed the feature/os2web_key branch from afc6896 to 0332522 Compare April 29, 2025 13:30
@jekuaitk
jekuaitk requested a review from rimi-itk May 15, 2025 13:10
@jekuaitk
jekuaitk merged commit 862dfa6 into feature/os2web_key May 16, 2025
@jekuaitk
jekuaitk deleted the feature/allow-key-and-form-configuration branch May 16, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants