Commit Graph

18209 Commits

Author SHA1 Message Date
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
irfanuddinahmad
5e77dfd5b7 Merge pull request #18245 from edx/ENT-982-Typos-in-API-terms-of-service
ENT-982 Fixed typos in API terms of service
2018-05-24 16:29:40 +05: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
irfanuddinahmad
7812185d8a fixed typos 2018-05-22 15:23:39 +05:00
irfanuddinahmad
2cd1b9d792 Merge pull request #18234 from edx/iahmad/ENT-988-Update-API-Terms-of-Service
ENT-988 Update API Terms of Service
2018-05-22 14:08:46 +05:00
Gabe Mulley
959ddaa98d Merge pull request #18181 from edx/mulby/ace-password-reset
Use edx-ace for password reset emails
2018-05-21 11:42:56 -04:00
Omar Al-Ithawi
73af914cfc Use edx-ace for password reset email 2018-05-21 09:49:14 -04:00
Tasawer Nawaz
b21fec305a fix TypeError: cannot concatenate 'str' and 'NoneType' objects
LEARNER-5369
2018-05-21 17:35:54 +05:00
irfanuddinahmad
741f75d7fe updated TOS 2018-05-21 15:00:57 +05: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
Sofiya Semenova
175fbac261 Merge pull request #18235 from edx/sofiya/mgmt-name
Changed comment in recalculate_learner_grades
2018-05-18 15:56:05 -04:00
Troy Sankey
a7ecfe1cd3 Fixup! refactor email_exists, and handle many more cases 2018-05-18 15:34:35 -04:00
Diana Huang
3b40787628 Merge pull request #18221 from edx/diana/activation-message
LEARNER-5283: Display error message if account is inactive.
2018-05-18 14:59:22 -04:00
Sofiya Semenova
1bb134b043 Changed comment in recalculate_learner_grades 2018-05-18 14:46:50 -04:00
Jillian Vogel
35d75daf00 Quality fix 2018-05-18 10:44:46 +09:30
Jillian Vogel
37ed10103c Shows the account activation message in the main content area
if HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED is enabled.

(cherry picked from commit 761acdfc6d)
2018-05-18 09:33:16 +09:30
Jillian Vogel
306b49c36d Adds EMPTY_DASHBOARD_MESSAGE Site Configuration flag
When set, displays the configured text/markup under "You are not enrolled in any courses yet."

Adjusts left/right padding on .empty-dashboard-message to keep our extra message from hitting the sides.

(cherry picked from commit e417c5f8c2)
2018-05-18 09:33:09 +09:30
Jillian Vogel
d489ffe7ad Adds HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED
Site Configuration and feature flag

When set, it hides the Courses list on the Learner Dashboard page if the
learner has not yet activated their account.

(cherry picked from commit 22ee400b15)
2018-05-18 09:33:02 +09:30
Jillian Vogel
d585294f50 Shows the account activation message in the sidebar
and removes the DISPLAY_ACCOUNT_ACTIVATION_MESSAGE_ON_SIDEBAR flag, since this
feature is now always on.

Marks the top banner as deprecated.

(cherry picked from commit b44114d171)
2018-05-18 09:32:54 +09:30
Michael Youngstrom
e8f6d20119 Revert "Learner Dashboard improvements to assist with the Account Activation process" 2018-05-17 14:55:35 -04:00
Albert (AJ) St. Aubin
1bb20d2922 Merge pull request #15464 from open-craft/jill/empty-dashboard-message
Learner Dashboard improvements to assist with the Account Activation process
2018-05-17 12:45:02 -04:00
Diana Huang
44dc169eca Display error message if account is inactive. 2018-05-17 11:47:37 -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
Diana Huang
e8604ac3bd Merge pull request #18202 from edx/diana/deletion-oauth
LEARNER-5039: Add a warning message when there are social auth links connected.
2018-05-16 12:06:27 -04:00
Alex Dusenbery
9bbd424a7d Make recalculate_course_and_subsection_grades_for_user task logged. 2018-05-16 11:34:53 -04:00
Diana Huang
b2c9b50de1 Add a warning message when there are social auth links connected. 2018-05-16 10:59:33 -04:00
jaebradley
4045eee57d Remove cookies when retiring user 2018-05-16 10:20:32 -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