Skip to content

feat: add AccountActivationEmailContextGenerated filter - #391

Merged
pwnage101 merged 1 commit into
mainfrom
pwnage101/ENT-11816
Sep 17, 2026
Merged

pwnage101 merged 1 commit into
mainfrom
pwnage101/ENT-11816

Conversation

@pwnage101

@pwnage101 pwnage101 commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Add a new filter AccountActivationEmailComposed with type org.openedx.learning.account.activation.email.compose.v1 to allow plugins to augment the account activation email context payload.

ENT-11816


These should be merged together:

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The filter contract matches its linked consumer, is documented and tested, and all relevant checks pass.

Pull request overview

Adds a public learning filter allowing pipeline steps to enrich account activation email context before rendering and sending.

Changes:

  • Adds AccountActivationEmailComposed.
  • Tests its filter type and no-pipeline behavior.
  • Releases version 3.14.0 with changelog documentation.
File summaries
File Description
openedx_filters/learning/filters.py Defines the new activation email filter.
openedx_filters/learning/tests/test_filters.py Covers the new filter’s contract.
openedx_filters/__init__.py Bumps the package version.
CHANGELOG.rst Documents the 3.14.0 release.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pwnage101
pwnage101 marked this pull request as ready for review September 16, 2026 21:44
This new filter allows pipeline steps to enrich the account activation
email context, e.g. to support highly custom account activation email
templates (likely supplied by a custom edx-theme).

ENT-11816
@pwnage101 pwnage101 changed the title feat: add AccountActivationEmailComposed filter feat: add AccountActivationEmailContextGenerated filter Sep 16, 2026

@felipemontoya felipemontoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was looking at both this PR and the example implementation that will be used for the platform https://github.com/edx/edx-platform/pull/425/changes and they look clean and correct.

@pwnage101
pwnage101 merged commit 5b48b16 into main Sep 17, 2026
11 checks passed
@pwnage101
pwnage101 deleted the pwnage101/ENT-11816 branch September 17, 2026 19:27
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.

5 participants