Commit Graph

9306 Commits

Author SHA1 Message Date
Kshitij Sobti
7e01a065b9 Use `generate_report_data` for getting report data if the block provides it 2018-05-25 18:44:59 +05:30
Kshitij Sobti
ccabab0771 Added chapter blocks to be excluded from report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
1aa55c6cfa Documentation grammar and accuracy fixes 2018-05-25 18:44:59 +05:30
Kshitij Sobti
ba635383db Filter out sequentials in final report generation stage
Fix tests to match code changes
2018-05-25 18:44:59 +05:30
Kshitij Sobti
c4bbe7f036 Only filter out verticals instead of all non-problem blocks
Improve documentation
2018-05-25 18:44:59 +05:30
Kshitij Sobti
d2b78a34f4 Unconditionally yield root block so it's always included in the report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
723a0639ca Fix: issue generating reports for single problem
code style fixes
2018-05-25 18:44:59 +05:30
Kshitij Sobti
1a4fe2c527 Disable protected access pylint check for TestProblemResponsesReport 2018-05-25 18:44:59 +05:30
Kshitij Sobti
94f1e0aa1c Fix error due to improper problem_key
Add tests
2018-05-25 18:44:59 +05:30
Kshitij Sobti
7e31718f91 Documentation and PEP8 2018-05-25 18:44:59 +05:30
Kshitij Sobti
0b75749c6e Use cls instead of direct class name 2018-05-25 18:44:59 +05:30
Kshitij Sobti
8885092790 Support setting MAX_PROBLEM_RESPONSES_COUNT to None for unrestricted row count 2018-05-25 18:44:59 +05:30
Kshitij Sobti
1d507bf246 Break out bits of generate method into separate method 2018-05-25 18:44:59 +05:30
Kshitij Sobti
00334a9ebb Add block id to problem response report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
9c1dc2c0a7 Include title and location in problem response sheet 2018-05-25 18:44:59 +05:30
Kshitij Sobti
e322a3a759 ProblemResponses can now iterate over all the problems in a chapter, sequential or vertical
It is now possible to limit the number of rows in the problem response csv
2018-05-25 18:44:59 +05:30
Kshitij Sobti
1252760de4 Allow list_problem_responses to limit the number of responses
Allow problem_location to be a UsageKey or string in list_problem_responses
2018-05-25 18:44:59 +05:30
Daniel Clemente Laboreo
6d3f8150db Implement generate_report_data for capa problems 2018-05-24 22:09:58 +03:00
Simon Chen
7f05114752 Remove the expansive category_map call from inline discussion view 2018-05-23 14:14:05 -04:00
J Eskew
c87ba77233 Revert "Retry upon Sailthru optout timeout." 2018-05-23 10:59:28 -04:00
John Eskew
597e6c66d5 Add backoff module as a new requirement.
Use backoff when calling Sailthru API to retry upon optout timeouts.
2018-05-22 16:03:41 -04:00
Omar Al-Ithawi
73af914cfc Use edx-ace for password reset email 2018-05-21 09:49:14 -04:00
Troy Sankey
6872671436 Merge pull request #18136 from edx/pwnage101/registration-with-half-retired-user-email
Disallow registration when the proposed email is retired
2018-05-18 16:53:30 -04:00
Troy Sankey
a7ecfe1cd3 Fixup! refactor email_exists, and handle many more cases 2018-05-18 15:34:35 -04:00
Sofiya Semenova
1bb134b043 Changed comment in recalculate_learner_grades 2018-05-18 14:46:50 -04:00
Troy Sankey
232b359258 Fixup! pivot to treating retired emails as banned forever 2018-05-16 16:44:02 -04:00
Troy Sankey
e9276ba246 Disallow registration when the proposed email is half-retired
Our learner retirement implementation shall allow re-use of email
addresses, but we currently do not disallow re-use of emails for
learners whose retirement is still in-progress (i.e. their retirement
state is between PENDING and LMS_COMPLETE inclusive).

The time between a user initiating retirement, and the jenkins job
actually picking up the user and driving their account retirement might
be as long as 1 hour, so this is a serious concern.

Addresses EDUCATOR-2824.
2018-05-16 16:44:02 -04:00
Alex Dusenbery
9bbd424a7d Make recalculate_course_and_subsection_grades_for_user task logged. 2018-05-16 11:34:53 -04:00
Brian Mesick
48bff77b45 Merge pull request #18206 from edx/bmedx/fix_forum_retirement_404
Bubble up 404s from the forum service on user retirement
2018-05-15 21:48:44 -04:00
bmedx
23023203e5 Bubble up 404s from the forum service on user retirement 2018-05-15 17:49:06 -04:00
Sofiya Semenova
34129e2464 Merge pull request #18194 from edx/sofiya/ed-2893
Management command to force enrollment regrade
2018-05-15 16:03:41 -04:00
Sofiya Semenova
2baadff28c Management command to force enrollment regrade 2018-05-15 15:11:32 -04:00
John Eskew
e82fe8290d Pass retired_username to forums retirement endpoint instead of original username. 2018-05-15 11:55:31 -04:00
John Eskew
3529e0779f Add migrations missing from previous PR. 2018-05-14 16:40:17 -04:00
Gabe Mulley
dec2dfa0fe Merge pull request #17754 from edx/mulby/email-send-noninteraction
mark email sent events as non-interactions
2018-05-14 16:15:37 -04:00
Brittney Exline
5dc13d067d Merge pull request #18191 from edx/bexline/fix_cert_generation
LEARNER-5185 Fix bug in cert generation for passing users who become approved
2018-05-14 12:06:06 -06:00
Alex Dusenbery
ef477ee2a4 LEARNER-5123 | Cache VisibleBlocks per course AND user, only fetch the ones the user needs for subsection scoring. 2018-05-14 13:44:56 -04:00
Gabe Mulley
83b24e0453 fix broken test 2018-05-14 13:21:49 -04:00
J Eskew
62865599c7 Merge pull request #18154 from edx/jeskew/add_model_for_retired_users
Refuse password reset for retired users.
2018-05-14 13:02:53 -04:00
John Eskew
2ef404b83e Fix two deprecation warnings. 2018-05-14 12:24:36 -04:00
Adam Stankiewicz
083fed964f Fix failing test by passing string to expected_verification_status 2018-05-14 11:52:43 -04:00
Brittney Exline
8d825fc977 LEARNER-5185 Fix bug in cert generation for passing users who become approved
Because of the way async tasks pass arguments, we were passing in a string of a dictionary
that contained the id verification status but checking it against a dictionary in the
task's function, which was causing errors for generating certificates for passing users
whose id verification status changes to approved after they are passing.
2018-05-14 11:04:28 -04:00
Michael Terry
6833823ccc Update student records buttons
Updates the look and feel of the two (experimental and disabled by
default) links to student records.

Also converts the 'student_records' waffle switch to a waffle flag
named 'credentials.student_records.

LEARNER-5246
2018-05-11 16:38:16 -04:00
Gabe Mulley
669f61b2ea mark email sent events as non-interactions 2018-05-11 13:24:55 -04:00
Awais Jibran
a84884fff9 Merge pull request #18157 from edx/aj/fix-courseware-title-error
Fix Courseware IndexError
2018-05-11 11:00:37 +05:00
Alex Dusenbery
2d4dd3750b LEARNER-5123 | Hotfix - don't regrade everything for a user in a course with too many visible blocks. 2018-05-10 14:49:15 -04:00
Brian Mesick
4170b5d294 Merge pull request #18175 from edx/bmedx/sailthru_retirement_fixes
Fix issues with Sailthru retirement
2018-05-10 14:01:19 -04:00
bmedx
1e6c6fca5c Fix issues with Sailthru retirement 2018-05-10 13:31:34 -04:00
Gabe Mulley
5fa6c51368 Revert "Use edx-ace for the password reset email" 2018-05-10 13:06:52 -04:00
Gabe Mulley
7a5cecf3e9 Merge pull request #16545 from appsembler/omar/fmo/multipart-email
Use edx-ace for the password reset email
2018-05-10 11:31:43 -04:00