Sarina Canelake
0142fafe7e
Merge pull request #555 from edx/feature/kluo/bulk-email-squashed
...
Course email for instructors
2013-08-29 10:44:09 -07:00
Jason Bau
c160a189ad
Bulk email - final tweaks and cleanup
2013-08-29 12:40:34 -04:00
Brian Wilson
8f93051d30
Add editable templates for bulk email
...
Adds the edX Marketing-approved template as html default.
2013-08-29 12:40:34 -04:00
Jason Bau
d341d6d26d
Change optout to use user.id instead of email.
...
Includes Data + Schema migrations for optout email -> user.id change.
Note that migrations should be reversible.
2013-08-29 12:40:33 -04:00
Sarina Canelake
52d9320e62
Hide "Email Settings" from student dash if bulk email not enabled
...
Some minor pep8 cleanup
2013-08-29 12:40:33 -04:00
Sarina Canelake
e6bde93837
Change bulk email model field names and add migrations
2013-08-29 12:40:33 -04:00
Sarina Canelake
b3bc4023b0
Refactor html->plaintext conversion (for bulk email) into separate library
2013-08-29 12:40:33 -04:00
Sarina Canelake
f98d6764b2
Disable bulk email for XML-backed courses
2013-08-29 12:40:32 -04:00
Sarina Canelake
65f7b098dd
Bulk Email: Add design styling
...
Switch to using decorators; refactor and cleanup tests.
2013-08-29 12:40:32 -04:00
Kevin Luo
3b32d4216c
Add delay to course bulk email task and use SITE_NAME for site url
...
Delay for possible race condition with fetching course email object.
Use settings.SITE_NAME for host name to generate email footer url.
2013-08-29 12:40:32 -04:00
Kevin Luo
3ea2b24b98
Add HTML editor for authoring bulk email message (adopted from CMS)
2013-08-29 12:40:32 -04:00
Kevin Luo
907bf6e1b7
Add bulk email feature for instructors, with optout option
...
Adds a new Email link to the instructor dashboard for frontend interface to send
email to course members. Adds a feature flag ENABLE_INSTRUCTOR_EMAIL to toggle this.
Creates a new djangoapp bulk_email that handles this action by getting the recipient
list and batching the emails to different celery tasks to do the actual sending.
Requires lynx package to convert HTML email to plaintext. Handles SMTP errors by
retrying or falling through to the next email. Adds the option to opt out of course
specific emails in the user dashboard with an Email Settings link for each course.
Uses severable configurable settings with defaults. DEFAULT_BULK_FROM_EMAIL
specifies the from address for email. EMAILS_PER_TASK specifies the number of emails
each celery task takes on. EMAIL_HOST, EMAIL_PORT, EMAIL_HOST_USER,
EMAIL_HOST_PASSWORD, and EMAIL_USE_TLS for the SMTP email backend settings.
Co-authored-by: Akshay Jagadeesh <akjags@gmail.com >
2013-08-29 12:40:31 -04:00
Vik Paruchuri
940a337dd3
Properly display student progress
2013-08-29 12:14:30 -04:00
Will Daly
bfca803b27
Merge pull request #818 from edx/will/cms-js-fixtures-dir
...
Studio JS fixture files no longer need individual symlinks
2013-08-29 08:37:15 -07:00
David Ormsbee
a8d7b99743
Move verify-specific JS out of site level
2013-08-29 10:13:28 -04:00
Julian Arni
e0ab75fb84
Add support for multiple file uploads
2013-08-29 09:55:40 -04:00
Will Daly
23805ca52f
Studio JS fixture files no longer need individual symlinks
2013-08-29 07:50:28 -04:00
David Ormsbee
634d207762
Make it so that auto-filling of selected price works again on confirmation screen before submitting credit card info.
2013-08-28 22:25:14 -04:00
David Ormsbee
db0af8a863
Enabled honor certificates
2013-08-28 19:21:18 -04:00
David Ormsbee
b2141ee7c0
Add verified cert marketing link
2013-08-28 17:48:28 -04:00
Diana Huang
e7a3847e48
More validation to the free-form price text box and allow for decimal places
2013-08-28 17:43:10 -04:00
David Ormsbee
3efa803321
Fix bug where we don't re-disable a button if they uncheck that the verification pictures look good.
2013-08-28 17:27:34 -04:00
David Ormsbee
6fd86904f1
Fix bug where resetting second picture would remove the first
2013-08-28 17:21:49 -04:00
Diana Huang
6c647d7630
Return the correct data to the backend.
2013-08-28 17:06:52 -04:00
Diana Huang
4471079f71
Clean up validation of price selection. Add error messaging.
2013-08-28 16:43:09 -04:00
Ned Batchelder
547d441954
Merge pull request #821 from edx/ned/fix-the-requirements-in-the-sandbox-instructions
...
Fix the requirements in the sandbox instructions
2013-08-28 13:29:47 -07:00
Ned Batchelder
30cf0b57e6
Fix the requirements in the sandbox instructions
2013-08-28 16:04:43 -04:00
David Ormsbee
7af4accc50
Preserve purchase amount choice and redisplay on final verification page.
2013-08-28 15:06:58 -04:00
Brian Talbot
2f3ff4b3eb
Verification: revising markup for views
2013-08-28 12:57:13 -04:00
Adam
14708aa30b
Merge pull request #816 from edx/hotfix/xml-parsing
...
Hotfix/xml parsing
2013-08-28 09:52:48 -07:00
jkarni
fbb6dc078f
Merge pull request #819 from edx/jkarni/hotfix/gzip-mimetype
...
Check extension rather than mimetype
2013-08-28 09:52:36 -07:00
David Ormsbee
1255ea79c9
forgot to add partial template
2013-08-28 11:29:08 -04:00
David Ormsbee
48484ef9e0
move suggested price listing to common include template
2013-08-28 11:28:44 -04:00
Julian Arni
6cb2e0b206
Check extension rather than mimetype
2013-08-28 11:13:20 -04:00
Calen Pennington
7d79f4fe37
Move mitxmako initialization to a startup module, called by lms.startup and cms.startup for both management commands and when run via wsgi
...
[DEVPAIN-7]
2013-08-28 10:56:07 -04:00
Valera Rozuvan
869d09220c
Merge pull request #771 from edx/valera/fix_empty_captions_panel_no_captions
...
Valera/fix empty captions panel no captions
2013-08-28 07:24:56 -07:00
Valera Rozuvan
0a110b672d
Using native Jasmine-jQuery method to check for hidden el.
2013-08-28 17:23:42 +03:00
Ned Batchelder
e88e04d3a6
A test that our XML-comments fix works.
2013-08-28 10:15:59 -04:00
Valera Rozuvan
33fa1e2c7f
Applying code changes as suggested by Anton.
...
Fixed 2 failing Jasmine tests. Removed unnecessary console.log() call.
Initializing of variables in a single var statement.
2013-08-28 17:15:52 +03:00
Ned Batchelder
6738a37ec1
Keep comments in capa XML from causing failures
...
Comments (and processing instructions!) are handled oddly in lxml.
This change will keep them from causing failures. They will be omitted
from the HTML generated, which is fine, since they aren't needed there.
2013-08-28 10:15:48 -04:00
Valera Rozuvan
2a4f7f61c5
Remove caption panel when anything bad happens.
...
Now the captions panel will be shown with captions only after successful
retrieval of captions.
2013-08-28 17:01:02 +03:00
Valera Rozuvan
ba954ff164
Fixing code as per suggestions on PR 771.
2013-08-28 17:01:02 +03:00
Valera Rozuvan
e788d6ce37
Added Jasmine test for bug fix. Updated comments.
2013-08-28 17:01:02 +03:00
Valera Rozuvan
4936b5044b
Fix for bug BLD-277
...
"There is a white panel over a non-youtube video."
When the captions file is not specified, we simply do not render the captions panel.
2013-08-28 17:01:02 +03:00
Ned Batchelder
3194e54400
Merge pull request #805 from edx/ned/fix-allow-comments-in-capa-xml
...
Keep comments in capa XML from causing failures
2013-08-28 06:58:51 -07:00
ichuang
aedb570e9e
make edit link use static_asset_path in xmodule_modifiers.py
2013-08-27 21:39:10 -04:00
chrisndodge
77abfbf41e
Merge pull request #813 from edx/bugfix/ichuang/course-tabs-None
...
bugfix: Course static_tabs importing with display_name = "None"
2013-08-27 18:21:27 -07:00
ichuang
493d8d26e5
add sample tabs to test_import_course
2013-08-27 20:04:55 -04:00
ichuang
4a706641f2
add test for tab names importing correctly
2013-08-27 20:03:35 -04:00
ichuang
d8345b4b39
fix course tabs from being imported with display_name=None due to overwriting policy
2013-08-27 19:39:40 -04:00