Don Mitchell
81a92e4bfc
Consolidate course_id triple parsing
2014-02-24 11:45:59 -05:00
cahrens
09d90b16af
Clean up of modulestore references (primarly LMS).
...
STUD-1151
2014-02-11 14:29:22 -05:00
Feanil Patel
5e5c59cab2
Merge remote-tracking branch 'origin/release'
...
Conflicts:
common/lib/xmodule/xmodule/modulestore/xml.py
Took the changes that were on the release branch.
2014-02-03 16:39:40 -05:00
Jay Zoldak
5ab0c9adb5
Mark strings that were causing test failures as unicode
2014-02-03 12:52:45 -05:00
Jay Zoldak
9c4a9d8f64
Make code safe for unicode course ids
2014-01-31 16:35:56 -05:00
Jay Zoldak
bc30addfb9
Unicode changes to support QRF
...
fixing unit tests
fixing merge error
fixing xqueue submission issue with unicode url (trial 0.1)
fixing fotmats as commented upon
removing yaml file language selection
Unicode changes to support QRF
removed unnecessary pass in modulestore/init.py
fixing merge error
fixing fotmats as commented upon
removing yaml file language selection
fixing pep8 violations
- fixing pylint violations
pylint violation
fixing line spaces and formats
ignore pylint E1101
remove empty line
fixing pylint violations
pep8 violations
bulk mail unicode/decode
fix migration error
fix pep8 just to push again
more unicode/decode
Final changes to comments and error messages.
2014-01-30 16:20:36 -05:00
Sarina Canelake
640b100200
Force unique course_id for bulk email authorization
...
LMS-2134
2014-01-30 13:59:13 -05:00
Usman Khalid
ee24e1062a
Use unicode course titles for bulk email tests
2014-01-30 18:38:28 +05:00
Adam Palay
afccb17a3b
support unicode course names for bulk email (LMS-2118)
2014-01-30 18:29:58 +05:00
Don Mitchell
3ebac80778
Replace authz fns with roles.py ones
...
STUD-1006
2014-01-14 17:04:44 -05:00
Don Mitchell
858e354a6d
Moved roles.py to common student
2014-01-14 17:04:43 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
Calen Pennington
061a46beef
Formalize various access roles as objects
...
This centralizes the logic for group membership, and means that we
don't need to make queries to find out whether the legacy groups names exist.
2013-11-13 13:42:37 -05:00
brianhw
93dddf8dc3
Merge pull request #1585 from edx/brian/retry-email-after-dbtimeout
...
Add retries when encountering DatabaseError when updating InstructorTask.
2013-11-05 08:18:58 -08:00
Brian Wilson
7bef11a7f1
Add retries when encountering DatabaseError when updating InstructorTask.
2013-11-05 11:18:08 -05:00
Sarina Canelake
198452cd1c
Adds Staff and Instructor factories
2013-11-04 11:38:43 -05:00
Brian Wilson
5b48ed840b
Refactor subtask creation logic to be less email-specific.
2013-10-28 12:58:11 -04:00
Brian Wilson
0f8f82c845
Define and use SubtaskStatus class.
2013-10-28 12:57:41 -04:00
Brian Wilson
ed4b954a53
Remove the use of celery.group from bulk email subtasks.
2013-10-28 12:47:11 -04:00
Sarina Canelake
90baa0c9af
Change footer color in bulk email template
2013-10-23 11:37:51 -04:00
Brian Wilson
16b85c0c2a
Check for requeued subtasks when in RETRY state.
2013-10-22 18:17:00 -04:00
Brian Wilson
ecb58e863f
Add cache-based locking to subtasks to ensure that the same task is not running in two workers at the same time.
2013-10-22 14:32:52 -04:00
Brian Wilson
ba6477abef
Handle all exceptions returned by django-ses.
2013-10-18 15:12:07 -04:00
Brian Wilson
aa172272f3
Update master with hotfixes from release-2013-10-17.
2013-10-18 11:50:42 -04:00
Brian Wilson
a699674015
Check that a subtask has not already completed before running.
2013-10-17 13:32:44 -04:00
Sarina Canelake
86c4a03eba
admin-console support for enabling email per course
2013-10-16 13:02:41 -04:00
Brian Wilson
b8239068cb
Check that email subtasks are known to the InstructorTask before executing.
2013-10-16 13:02:41 -04:00
Brian Wilson
87a72b7e99
Rename some constants, and refactor bulk email task flow.
2013-10-16 13:02:40 -04:00
Brian Wilson
bc599a0662
Update tests with more complete coverage.
2013-10-16 13:02:40 -04:00
Brian Wilson
e75dd4654b
Move subtask update logic that was only needed for tests into the tests that needed it.
2013-10-16 13:02:40 -04:00
Brian Wilson
4505fb4e2c
Update InstructorTask before performing a retry.
2013-10-16 13:02:40 -04:00
Brian Wilson
c5debc22e7
Add settings to cap infinite retries.
2013-10-16 13:02:36 -04:00
Brian Wilson
41fcd9627b
Don't send emails to students who haven't activated.
2013-10-16 13:02:00 -04:00
Brian Wilson
eaec962de9
Internationalize task progress.
2013-10-16 13:01:59 -04:00
Brian Wilson
df0fba9db8
Add more task-level tests for retries and other errors. Respond to initial comments.
2013-10-16 13:01:59 -04:00
Brian Wilson
04f90fee41
Fix subtask code to handle (tests) running in eager mode.
2013-10-16 13:01:59 -04:00
Brian Wilson
a4c35ac4ff
Use separate retry count for calculating retry delay.
2013-10-16 13:01:59 -04:00
Brian Wilson
7b7afd472d
Incorporate changes in max_retry logic, adding subtask_status as bulk_email arg.
2013-10-16 13:01:59 -04:00
Brian Wilson
08a08448ee
Add some handling for SES exceptions.
2013-10-16 13:01:59 -04:00
Brian Wilson
c133fd9168
Use HIGH_PRIORITY_QUEUE for send_course_email.
2013-10-16 13:01:59 -04:00
Brian Wilson
0fd75181e3
Update handling of bulk-email retries to update InstructorTask before each retry.
2013-10-16 13:01:58 -04:00
Brian Wilson
5c29530db9
Factor out subtask-specific code into subtasks.py.
2013-10-16 13:01:58 -04:00
Brian Wilson
01611c33a6
Refactor instructor_task tests, and add handling for general errors in bulk_email subtasks.
2013-10-16 13:01:58 -04:00
Brian Wilson
2f4774f47c
Pass status into course_email for tracking retry status.
2013-10-16 13:01:58 -04:00
Brian Wilson
ffbb228acb
Add support for counting and reporting skips in background tasks.
2013-10-16 13:01:58 -04:00
Brian Wilson
8fddcdffcd
Initial refactoring for bulk_email monitoring.
2013-10-16 13:01:57 -04:00
Brian Wilson
288ccb1e36
Check that email subtasks are known to the InstructorTask before executing.
2013-10-15 18:34:31 -04:00
Sarina Canelake
c24087a912
django-admin command for enabling email per course
2013-10-11 16:39:12 -04:00
Brian Wilson
58bacb4e67
Rename some constants, and refactor bulk email task flow.
2013-10-10 15:34:16 -04:00
Brian Wilson
03b4330c04
Update tests with more complete coverage.
2013-10-10 15:34:16 -04:00