-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add confirmation requirement
IsConfirmationNeeded
to correspo…
…ndence (#387) * fix: if correspondence is not available, return 404 regardless of requested status * delete old InitializedCorrespondenceFactory * Add IsConfirmationNeeded field to CorrespondenceEntity, requests, responses, and DB * logic for handling IsConfirmationNeeded added * Add tests for archived and purged correspondence * fix: exclaimation mark used twice in condition check * Add extension method for checking if a correspondence has had a specific status * fix: map correctly IsConfirmationNeeded in response for GET calls * Update postman collection * make IsConfirmationNeeded not required, as default becomes false * add workflow for checking label for new PRs (#384) * add workflow for checking label for new PRs * rerun job when PR is set to ready for review * add better name to workflow * Update .github/workflows/check-label-for-pr.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update .github/workflows/check-label-for-pr.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * add more triggers on PR to run workflow * fix: remove ignore-for-release in labels list --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fix Maskinporten token error (#386) * OnChallenge modifies response object. Instead, use exception from authentication failure to short-circuit onchallenge handler when failure source is known (used Maskinporten token on Altinn token endpoint), and set the response there instead. * Seal it at least * Null handle * Async should be awaited * Legacy - authorize multiple recipients (#388) * Accessmanagement to enable multiple recipients * cleanup and improvements --------- Co-authored-by: Hammerbeck <andreas.hammerbeck@digdir.no> * Make DueDateTime nullable * Add IsConfirmationNeeded field to CorrespondenceEntity, requests, responses, and DB * logic for handling IsConfirmationNeeded added * rebase fix: delete duplicate IsConfirmationNeeded migration * make DueDateTime required if IsConfirmationNeeded is used * add boolean param to WithConfirmationNeeded --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Roar Mjelde <36594318+Ceredron@users.noreply.github.com> Co-authored-by: Andreas Hammerbeck <Andreas_93@hotmail.com> Co-authored-by: Hammerbeck <andreas.hammerbeck@digdir.no>
- Loading branch information
1 parent
42d958d
commit a0c6af4
Showing
30 changed files
with
741 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.