Commit Graph

45 Commits

Author SHA1 Message Date
Waheed Ahmed
c7f4e16470 Fix XSS lint issues for course_cta_text
PROD-1602
2020-05-21 12:51:07 +05:00
adeelehsan
3da5144fee Fixed python-wrap-html
PROD-1579
2020-05-13 06:12:30 +05:00
Zainab Amir
b172a2a68c Enable course updates for instructor led courses (#22422)
Currently there is no option to schedule bulk emails to be sent
out at a specific time for instructor led courses. It would reduce
the effort required to create an engaging course if instructor led
course teams had the option to turn on weekly highlight emails as
well.

PROD-575
2020-01-28 15:38:19 +05:00
Adeel Khan
e9708ca6e0 Fixing templates for double escaping.
Some of the email templates are escaped
in such a way that could potentially cause
double escaping i.e via django default behaviour
and other via interpolate_html tag. Fixing it
by only applying escape via tag.

PROD-810
2019-10-29 14:58:05 +05:00
Adeel Khan
05718a63db Fix xss-linter directives from edx-ace templates
PROD-508
2019-07-30 13:34:44 +05:00
Adeel Khan
7d9be69112 Fix edx-ace templates
This patch is part of multiple PR's to
protect templates against xss attack

PROD-465
2019-07-25 12:51:05 +05:00
ayub-khan
168ba70d96 fix-i18n-issues 2018-07-10 11:00:12 +05:00
Nimisha Asthagiri
7ef443f7ce Update usages to ace_common 2017-12-05 11:38:16 -05:00
Nimisha Asthagiri
c6ee8eb68d Move ACE Common code out of Schedules 2017-12-05 11:36:14 -05:00
Tyler Hallada
144859cdf2 Turn off HTML escaping for email text fields 2017-12-04 17:47:50 -05:00
Calen Pennington
1f23b08fb1 Use a dropdown to filter schedules by course_id, rather than forcing the use of search 2017-11-30 10:53:08 -05:00
Hasnain Naveed
e1bf86226a Merge pull request #16608 from edx/hasnain-naveed/WL-1257
WL-1257 | Removed the hard-coded "edX" related strings from nudges em…
2017-11-20 15:56:14 +05:00
Hasnain
bf2ca3adcd WL-1257 | Removed the hard-coded "edX" related strings from nudges emails. 2017-11-17 12:06:50 +05:00
Gabe Mulley
6f20cd5cf2 support a GA tracking pixel 2017-11-15 08:35:35 -05:00
Gabe Mulley
f6adde3d45 rtl support for ACE emails 2017-11-07 09:33:50 -05:00
Nimisha Asthagiri
98e647fa24 Schedule-based Highlights email update 2017-11-06 14:30:28 -05:00
Nimisha Asthagiri
08d31e1a43 Schedules: Tests for Course Update messages 2017-10-30 14:13:59 -04:00
Gabe Mulley
6b37218e23 Merge pull request #16335 from edx/making-dynamic-pacing-emails-accessible
Making dynamic pacing emails accessible
2017-10-26 12:28:04 -04:00
Gabe Mulley
0fc3589cfa fix template variable 2017-10-26 09:14:05 -04:00
Nimisha Asthagiri
eb3e173dc8 Schedules: Course Update support bulleted highlights 2017-10-25 17:57:43 -04:00
Nimisha Asthagiri
d3dcca2f49 Schedules: DRY upsell and CTA in templates 2017-10-25 17:57:43 -04:00
sandroroux
224cca69ae Changing the templates to make them more accessible. 2017-10-25 15:44:05 -04:00
Gabe Mulley
59e173de47 fix malformed template variable 2017-10-24 10:21:48 -04:00
Tyler Hallada
4ab477eaa7 Address Greg's comment 2017-10-23 11:59:27 -04:00
Tyler Hallada
89e7404955 Add copy preceding course list in upgrade reminder 2017-10-19 16:51:07 -04:00
Tyler Hallada
de072f8d24 Update upgrade_reminder template for multi-course 2017-10-19 11:57:41 -04:00
Gabe Mulley
71a62f827c use pixel measurements 2017-10-16 22:33:23 -04:00
Gabe Mulley
7ab0f39df0 include upsell messaging in the 10 day nudge emails 2017-10-16 22:22:22 -04:00
Nimisha Asthagiri
43c7a5171f Merge pull request #16219 from edx/ret/dynamic-pacing-email
Course Update emails (initial)
2017-10-13 17:28:36 -04:00
Nimisha Asthagiri
741917e92b Course Update emails 2017-10-13 10:53:44 -04:00
Tyler Hallada
d571adfb99 Use upsell_link in upgrade reminder template 2017-10-13 10:01:35 -04:00
sandroroux
fc7c1652f8 Modified criteria for upselling. User must have a dynamic deadline to receive an email with an upsell button 2017-10-13 10:01:35 -04:00
castellanese
f8d41b9764 Differentiated emails - unverified users receive email with upsell button. 2017-10-06 15:23:42 -04:00
Tyler Hallada
e7b3590448 Add verified cert image to email template
Make image url in the task and pass to template
2017-10-06 13:36:18 -04:00
Tyler Hallada
9876f597e6 Refactor common task querying into a separate func
Address some of Cale's PR comments

Combine query functions into one. No debug logging

Pull int variables out into static class variables

Mixin needs to call super __init__ too

Remove multi-course copy from upgrade reminder

Address Cale's round 2 comments
2017-10-06 13:36:13 -04:00
Tyler Hallada
efe814c64f Update copy for the upgrade_reminder emails 2017-10-06 13:35:05 -04:00
Tyler Hallada
004ca4800e Add tests for upgrade_reminder
Fix test_templates

By passing the date pre-formatted to ace.

Address PR comments

Fix linting

Add TODO comment about using LoggerAdapter

More lint fixes

Fix upgrade_reminder task from silently failing
2017-10-06 13:35:00 -04:00
Tyler Hallada
1bcd3a45ca Refactor upgrade_reminder to use async celery task
Finish test_base.py tests

Address some PR comments

Some test_send_recurring_nudge fixes

Fix test_schedule_bin

Fix test_site_config

Fix test_multiple_enrollments

Tests pass now!

Use consistent naming: upgrade_reminder
2017-10-06 13:34:23 -04:00
Gabe Mulley
a2dc27e6b1 fix multi-course emails and update ACE 2017-09-25 14:07:08 -04:00
Gabe Mulley
fab1769be4 update nudge templates 2017-09-21 13:41:51 -04:00
Gabe Mulley
58f0be290b Merge pull request #15990 from edx/ret/compact-footer
Make the footer more visually compact
2017-09-12 08:24:36 -04:00
Calen Pennington
cd4ebaf23c Only send one email even if there are multiple enrollments by the same user on the same day 2017-09-12 08:23:21 -04:00
Gabe Mulley
acd50cfe69 tighten up the footer of the re-engagement emails 2017-09-11 17:10:06 -04:00
Gabe Mulley
8a8c9747a7 update template 2017-09-08 12:09:13 -04:00
Gabe Mulley
6a36eb0183 Use ACE to 'send' Recurring Nudge emails 2017-08-31 16:58:08 -04:00