1. 12 Jun, 2017 1 commit
  2. 05 Apr, 2017 1 commit
  3. 19 Sep, 2016 1 commit
  4. 16 May, 2016 1 commit
    • Replace bulk email settings with admin config models · 0cf3e39c
      Moves ENABLE_INSTRUCTOR_EMAIL and REQUIRE_COURSE_EMAIL_AUTH from settings files
      to admin-accessible configuration models. This allows for the bulk email settings
      to be modified without a new AMI deploy. See TNL-4504.
      
      Also updates tests:
          -python tests mock out the new configurations in place of the old settings
          -lettuce test has been moved to bokchoy
              (note that there was some loss of coverage here - the lettuce tests had
              been doing some voodoo to allow for cross-process inspection of emails
              messages being "sent" by the server, from the client! In discussion with
              testeng, this seems outside the realm of a visual acceptance test. So,
              the bokchoy test simply confirm the successful queueing of the message,
              and leaves the validation of sending messages to the relevant unit tests.)
          -bok choy fixture has been added, to replace the settings in acceptance.py
          -lettuce and bok choy databases have been updated to reflect the backend changes
      
      The new default is to have bulk_email disabled, we'll need to call this out in the
      next OpenEdx release to ensure administrators enable this feature if needed.
      Eric Fischer committed
  5. 14 Oct, 2015 1 commit
  6. 31 Jul, 2015 1 commit
  7. 08 Oct, 2014 1 commit
  8. 16 Oct, 2013 1 commit
  9. 11 Oct, 2013 1 commit
  10. 03 Sep, 2013 1 commit
  11. 29 Aug, 2013 4 commits
    • Add editable templates for bulk email · 8f93051d
      Adds the edX Marketing-approved template as html default.
      Brian Wilson committed
    • Change optout to use user.id instead of email. · d341d6d2
      Includes Data + Schema migrations for optout email -> user.id change.
      Note that migrations should be reversible.
      Jason Bau committed
    • Add delay to course bulk email task and use SITE_NAME for site url · 3b32d421
       Delay for possible race condition with fetching course email object.
       Use settings.SITE_NAME for host name to generate email footer url.
      Kevin Luo committed
    • Add bulk email feature for instructors, with optout option · 907bf6e1
      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>
      Kevin Luo committed