Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
Chris Pappas
4c9af183cb
ENT-2294 | Moving utility functions in program enrollments to places … ( #21752 )
...
* ENT-2294 | Moving utility functions in program enrollments to places related to the data they manipulate
* updating a mock path
* minor test fix
2019-09-24 10:07:38 -04:00
Stu Young
13bbf85257
clean up toggle annotations ( #21673 )
...
clean up toggle annotations and lint when running feature toggle report
2019-09-17 11:11:20 -04:00
Ayub
85be57b64a
Merge pull request #21397 from edx/BOM-95
...
BOM-95
2019-08-22 12:41:08 +05:00
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Feanil Patel
73a146fbbe
Revert "assertItemsEqual() moved to assertCountEqual()"
...
This reverts commit 3d2617983b .
The change was not quite right because the method six provides needs to
have `self` be passed in as well. See the docs here:
https://six.readthedocs.io/#unittest-assertions
Reverting for now and we can fix it in smaller chunks later.
2019-08-20 15:31:20 -04:00
Dave St.Germain
3d2617983b
assertItemsEqual() moved to assertCountEqual()
2019-08-19 17:00:17 -04:00
Nimisha Asthagiri
d564af8301
Fix for decode errors in bulk_email.tests.test_course_optout.py
2019-08-19 14:26:48 -04:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Aarif
4b1ef3005e
Merge pull request #21116 from edx/INCR-447
...
INCR-447 Python 3 compatibility
2019-07-25 14:51:17 +05:00
aarif
fd3a83236a
ran python-modernize and isort on files mentioned in INCR-446
...
changes made to comply with quality
changes made to comply with quality
changes made to comply with quality
2019-07-16 15:14:12 +05:00
aarif
0ab995a771
ran python-modernize and isort on files mentioned in INCR-447
2019-07-12 16:36:16 +05:00
Nimisha Asthagiri
01ccd877e6
Merge pull request #20702 from edx/bom/enrollment-readme
...
Enrollments README and refactor
2019-05-28 16:58:27 -04:00
Nimisha Asthagiri
6e214a85b0
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
2019-05-28 11:20:53 -04:00
DawoudSheraz
831a106bfa
update email subtask logs
2019-05-28 16:53:24 +05:00
Michael Roytman
5da94023e6
Merge pull request #20620 from edx/mroytman/bulk-email-python-api
...
introduce Python API for BulkEmail Djangoapp
2019-05-21 18:38:24 -04:00
Stu Young
da616921f0
INCR-257 Run python-modernize on lms/djangoapps/bulk_email/migrations and lms/djangoapps/bulk_email/tests ( #20563 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:34:42 -04:00
Michael Roytman
b33b8e8897
introduce Python API for BulkEmail Djangoapp
2019-05-21 09:22:08 -04:00
DawoudSheraz
9be988a12a
added time logs for bulk email
2019-05-21 18:15:11 +05:00
uzairr
3d7b60dde4
Make copyright year dynamic
...
Currently, course email templates have hard-coded copyright year.
Marketing team needs to ping engineering to update it every year.
In this PR, steps are taken to make it dynamic.
PROD-106
2019-05-08 13:08:28 +05:00
Alan Zarembok
30b9692915
PROD-9: Fix badly performing database query for bulk email by using
...
the union() function to combine multiple querysets together, rather
than the or (|) operator. This avoids a very inefficient OUTER
JOIN query that reads the entire user table.
2019-04-25 08:55:59 -04:00
albemarle
05a682f55e
use new, shorter names for feature toggle annotations ( #20202 )
2019-04-12 15:46:09 -04:00
Calen Pennington
78c8950ea3
Clean up a few remaining unicode format string errors
2019-02-20 15:28:14 -05:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Awais Jibran
717712391f
Fixing conflicts
2019-02-12 17:50:58 +05:00
Taranjeet Singh
3eb9058dd2
Adds optional "unsubscribe" link and api support to let users opt out of email updates.
...
Scheduled emails show "unsubscribe" link if waffle switch `schedules.course_update_show_unsubscribe` is enabled, and
settings.ACE_ENABLED_POLICIES respects `bulk_email_optout`.
API endpoint allows GET/POST requests, which:
* GET asks for confirmation of opt-out
* POST accepts "unsubscribe" or "cancel", where "unsubscribe" creates the
Optout entry, and "cancel" does nothing.
2019-02-07 11:47:10 +10:30
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
Diana Huang
6572d99e76
Remove all references to datadog from our code.
2019-01-08 15:41:24 -05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Awais Jibran
ac3c274d57
Skip sending email if an email address contains non-ascii char.
2018-09-27 22:45:15 +05:00
Jeremy Bowman
1a5bf35357
TE-2689 Remove useless pylint suppressions part 2
2018-08-14 17:39:02 -04:00
Jeremy Bowman
ca3316962d
TE-2524 Stop using nose.plugins - LMS 1
2018-07-31 13:03:18 -04:00
Tyler Hallada
1f42d1b384
Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
...
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Tyler Hallada
1540f9ec72
Add on_delete kwarg to ForeignKey & OneToOneFields
...
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.
The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Matthew DuBose
a24d892e9c
correct mention of old course ID in description of bulk email django tool
2018-04-10 15:42:07 -04:00
bmedx
65147386c0
PLAT-2028 - Create mailing list retirement API endpoint
...
- Removes "email-optin" UserOrgTags for the user
- Creates and uses a new "UserRetireMailingsSignal" signal
- Creates and uses a new "CanRetireUser" permission
- Creates and uses a new setting "RETIREMENT_SERVICE_WORKER_USERNAME"
- Creates a signal handler to globally opt-out the user from Sailthru
2018-04-05 15:52:26 -04:00
Awais Jibran
5eb176039c
Do not show Currencies: usd in bulk email task history Sent To:
...
This is a bad course team experience that when they send email to Audit track learners, `send to` includes currency (usd) which is set default. This PR fixes the bug and will not include currency with `audit` or `honor` enrollment tracks.
EDUCATOR-2489
2018-03-09 21:06:50 +05:00
Jeremy Bowman
378287fbc0
Merge pull request #17404 from edx/jmbowman/PLAT-1942
...
PLAT-1942 Handle xmodule_django field deprecations
2018-02-06 13:23:04 -05:00
Jeremy Bowman
9682e00f4c
PLAT-1943 Fix more naive datetime warnings
2018-02-05 17:58:35 -05:00
Jeremy Bowman
bf86b3da98
PLAT-1942 Handle xmodule_django field deprecations
2018-02-05 15:05:54 -05:00
John Eskew
27edca3c5e
Replace all clean_course_id form methods with common method.
2018-01-25 11:38:46 -05:00
Jeremy Bowman
669aa13ad6
PLAT-1873 to_deprecated_string() cleanup part 2
2018-01-08 17:26:55 -05:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Eric Fischer
3312939703
Revert "Merge pull request #16635 from edx/efischer/EDUCATOR-1773"
...
This reverts commit 3e9e97e6d8 , reversing
changes made to 0d931107aa .
2017-12-04 11:55:09 -05:00
Eric Fischer
19c580e52f
No unicode in "from" value on Bulk Emails
...
Until https://github.com/django-ses/django-ses/issues/137 is resolved, we need
to proactively search for and prevent unicode values in from_addr.
EDUCATOR-1773
2017-11-21 11:32:31 -05:00