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

SEMVER - MINOR: Release 1.57.0 #2097

Merged
merged 26 commits into from
Dec 16, 2024
Merged

SEMVER - MINOR: Release 1.57.0 #2097

merged 26 commits into from
Dec 16, 2024

Conversation

jaucourt
Copy link
Collaborator

No description provided.

ScottDormand96 and others added 26 commits November 29, 2024 13:01
* RCP job fails locally

https://eaflood.atlassian.net/browse/IWTF-4249

update node modules within package-lock so rcp is able run locally without running npm install within package each time

* remove node modules but running install so get updated

* update docker files

* remove docker changes

* update package-lock files

* remove from dockerfile

* changes to sales and sqs

* run npx lerna exec -- npm install

* run npx lerna exec -- npm install

* change ci to i as wanting to update package-lock
* RCP job fails locally

https://eaflood.atlassian.net/browse/IWTF-4249

update node modules within package-lock so rcp is able run locally without running npm install within package each time

* remove node modules but running install so get updated

* update docker files

* remove docker changes

* update package-lock files

* remove from dockerfile

* changes to sales and sqs

* run npx lerna exec -- npm install

* run npx lerna exec -- npm install

* change ci to i as wanting to update package-lock

* revert change

* change too ci
* FTP POCL references

https://eaflood.atlassian.net/browse/IWTF-4279

remove references too ftp POCL env variables

* remove pocl references
https://eaflood.atlassian.net/browse/IWTF-4373

Since the actual payments are created using the usual createPayment function, just with recurring as true.
* Apply more specific date error messages

https://eaflood.atlassian.net/browse/IWTF-3913

This PR makes use of the new date validations to give more specific date error messages.

* Generalise date validation and apply to date of birth page

* Added validation for licence to start page

* Refactor date of birth and start date validators to be reusable functions, apply them to the date of birth, start date and renewals id page (start date will be applied to renewal start date in a new ticket)

* Add function to get error flags for a date, to pass through to the template so the relevant fields can be highlighted

---------

Co-authored-by: Phil Benson <[email protected]>
* Change length link junior licence

https://eaflood.atlassian.net/browse/IWTF-4404

remove option to change licence length for a junior licence

* hide change button for junior
* Create RP Record in CRM

https://eaflood.atlassian.net/browse/IWTF-4262

After a successful payment, when the permission is provisioned, a RCP
record should be created along with everything else. It shouldn't be
created if the RCP toggle is off

* add transformer for transaction to calculate next due date as well as put transaction in a shape accepted by processRecurringPayment. Also modified processRecurringPayment to set publicId to be a hash of the recurring payment id

* use generateRecurringPaymentRecord to remap transaction so that it can be used by processRecurringPayment

* Amended generateRecurringPaymentRecord to take a Permission object rather than using the permission embedded in the transaction, altered transaction queue processor to save RecurringPayment after Permission and Contact, removed contactId and activePermission fields as these were extraneous
https://eaflood.atlassian.net/browse/IWTF-4117

This will hopefully fix the issue we have with dependencies not updating fully. See lerna/lerna#3091
* Fix RP creation bug

https://eaflood.atlassian.net/browse/IWTF-4262

A recurring payment is being created for all permissions

* Amend generateRecurringPaymentRecord to set recurring flag to false when agreement id isn't present in transaction
* Fix DOB message in Welsh

https://eaflood.atlassian.net/browse/IWTF-3913

dob_error message is incorrect in Welsh

* Amend message
* Licence to start error not in error summary

https://eaflood.atlassian.net/browse/IWTF-3913

On the licence to start page, if no option is selected, the select an
option error doesn't appear in the error summary box

* Add licence-to-start error back into errorMap
* Missing inline error on renewals id page

https://eaflood.atlassian.net/browse/IWTF-3913

The inline error for date of birth on the renewals identity page is
missing, it's only presented in the error summary box

* Add inline error for date of birth entry on renewals identification page
@jaucourt jaucourt merged commit 609bc25 into master Dec 16, 2024
4 checks passed
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.

4 participants