-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New configs for quota email's headers and footers #7852
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
New configs for quota email's headers and footers #7852
Conversation
Codecov Report
@@ Coverage Diff @@
## main #7852 +/- ##
============================================
+ Coverage 14.28% 14.38% +0.10%
- Complexity 9994 10075 +81
============================================
Files 2747 2747
Lines 258911 258931 +20
Branches 40318 40319 +1
============================================
+ Hits 36987 37250 +263
+ Misses 217132 216867 -265
- Partials 4792 4814 +22
... and 16 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@blueorangutan package |
|
@jbampton a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6743 |
yadvr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I haven't tested it
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
@rohityadavcloud @DaanHoogland could we run the tests for this one? |
|
@blueorangutan package |
|
@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6836 |
|
@blueorangutan test |
|
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7488)
|
|
The test failure does not seem related to this PR: Could we merge this one? @DaanHoogland @rohityadavcloud |
Description
Two new settings at domain level were added to allow definition of header and footer of Quota emails:
quota.email.header: defines the header of all Quota emails.quota.email.footer: defines the footer of all Quota emails.The settings are added directly to the body of the text, so if you want a line break between the header/footer and the body of the text, you need to make it explicit (e.g.
<br/>). By default the header/footer are not defined.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Defined the header and footer as

<h1>header</h1>andf<b>oot</b><u>er</u><script>alert(1)</script>.Result: