Page MenuHomePhabricator

Tidy up our subscribe-links code on the civi side to make change easy
Closed, ResolvedPublic

Description

I've been digging a little bit & there are things being done in too many places & wrong places - we want to make it so that the only place is in an extension and such that swapping is easy

Note this shows tests that pass through the relevant code

https://integration.wikimedia.org/ci/job/wikimedia-fundraising-civicrm-bullseye-docker/1134/console

Event Timeline

Change 988749 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Add api to get unsubscribe links

https://gerrit.wikimedia.org/r/988749

Change 988750 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Switch ThankYou workflow template to use the new unsubscribe api

https://gerrit.wikimedia.org/r/988750

Change 988751 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Move unsubscribe link generation to a trait

https://gerrit.wikimedia.org/r/988751

Change 988752 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Switch WMFTokens to use the api

https://gerrit.wikimedia.org/r/988752

Change 988753 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Move the ThankYou::send functionality out of drupal modules

https://gerrit.wikimedia.org/r/988753

Change 988757 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Do not calculate unsubscribe_link in RecurringQueueConsumer

https://gerrit.wikimedia.org/r/988757

Change 988758 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Stop passing unsubscribe_link through from test form

https://gerrit.wikimedia.org/r/988758

Change 988759 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Remove last remnants of the old unsubscribe_link code

https://gerrit.wikimedia.org/r/988759

Change 988749 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add api to get unsubscribe links

https://gerrit.wikimedia.org/r/988749

Change 988750 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Switch ThankYou workflow template to use the new unsubscribe api

https://gerrit.wikimedia.org/r/988750

Change 988751 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Move unsubscribe link generation to a trait

https://gerrit.wikimedia.org/r/988751

Change 988752 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Switch WMFTokens to use the api

https://gerrit.wikimedia.org/r/988752

Change 988753 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Move the ThankYou::send functionality out of drupal modules

https://gerrit.wikimedia.org/r/988753

Change 988757 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Do not calculate unsubscribe_link in RecurringQueueConsumer

https://gerrit.wikimedia.org/r/988757

Change 988758 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Stop passing unsubscribe_link through from test form

https://gerrit.wikimedia.org/r/988758

Change 988759 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Remove last remnants of the old unsubscribe_link code

https://gerrit.wikimedia.org/r/988759