Commit Graph

22621 Commits

Author SHA1 Message Date
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
John Eskew
e82fe8290d Pass retired_username to forums retirement endpoint instead of original username. 2018-05-15 11:55:31 -04:00
AlasdairSwan
f045cddd61 Merge pull request #18193 from edx/alasdair/LEARNER-5273-cookie-banner-mobile-layout-fix
LEARNER-5273 Update how the mobile menu interacts with the cookie pol…
2018-05-15 11:38:59 -04:00
AlasdairSwan
5f821ef6d7 LEARNER-5273 Update how the mobile menu interacts with the cookie policy banner 2018-05-15 11:11:44 -04:00
Matt Tuchfarber
20fdcc8d77 Fix program marketing to use newest course run 2018-05-15 10:36:54 -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
Régis Behmo
52c15d4637 Fix disabled login/register buttons after failed attempt
In the login window, when the user enter a wrong email or password, the
"Log into my ... account" button used to remain disabled, which was very
confusing for users.

Steps to reproduce:
- Go to /login
- Type wrong email/password combination
- Press "Log into..." button

Similarly, users could not click the "register button after a failed
register attempt. For example, this occurred to users with an invalid
email address, such as "fooatgmaildotcom".
2018-05-14 08:55:56 -04:00
Giulio Gratta
b1eda59c4f Centers all login-register forms
this is especially necessary for password-reset forms
2018-05-11 14:58:29 -07: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
Matthew Piatetsky
b96037f35e Merge pull request #18178 from edx/mark_units_graded
mark units as graded if subsection is graded
2018-05-11 16:04:44 -04:00
Gabe Mulley
669f61b2ea mark email sent events as non-interactions 2018-05-11 13:24:55 -04:00
jaebradley
eba6b8cff0 fix ie11 account deletion 2018-05-11 12:32:22 -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
Matthew Piatetsky
a394f23c12 mark units as graded if subsection is graded 2018-05-10 13:32:53 -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
Alex Dusenbery
08a961d60f EDUCATOR-2618 | Add more function_trace() to inline discussion view. 2018-05-10 10:14:38 -04:00
Albert St. Aubin
fade1fb3f1 Correction for incorrect conditional error logic and wrong channel
[LEARNER-5123]
2018-05-10 07:51:48 -04:00
Eric Fischer
f7a66eab78 Revert "Merge pull request #18150 from edx/efischer/last_one_i_swear"
This reverts commit fcef6b3f47, reversing
changes made to 0b11634e4c.
2018-05-09 11:53:56 -04:00
Albert (AJ) St. Aubin
bfdcc49401 Merge pull request #18159 from edx/aj/LEARNER-5123_2
Correctly passing course key in the JSON object to async
2018-05-09 10:28:35 -04:00
Albert St. Aubin
4e0b3d3b2e Correctly passing course key in the JSON object to async
[LEARNER-5123]
2018-05-09 09:57:27 -04:00
Diana Huang
d768c77c7a Merge pull request #18123 from edx/diana/button-bokchoy-tests
Bok choy tests for the account deletion flow
2018-05-09 09:46:31 -04:00
J Eskew
edbdae9fb8 Merge pull request #18124 from edx/jeskew/fix_some_django20_deprecation_warnings
Fix more Django 2.0 deprecation warnings around URLconfs.
2018-05-08 16:29:12 -04:00
Douglas Hall
c6ec5edbf7 Add API documentation with django-rest-swagger. 2018-05-08 14:38:33 -04:00
Eric Fischer
b1316290dc Merge pull request #17738 from caesar2164/encode-sysadmin-staffing-profile-name-upstream
Encodes staff profile names as they can be unicode
2018-05-08 13:59:34 -04:00
Awais Jibran
f4883e1be6 Fix sequence title error in courseware 2018-05-08 21:56:29 +05:00
Omar Al-Ithawi
556c8b86d0 Use edx-ace for password reset email 2018-05-08 18:53:31 +03:00
Jeremy Bowman
f32b35427a Merge pull request #18153 from edx/jmbowman/TE-2545
TE-2545 Restrict AutoAuth for load tests
2018-05-08 10:10:47 -04:00
Albert St. Aubin
787653e793 Moving the update course and subsection grades to async task
[LEARNER-5123]

The update course and subsection grades method was causing a DB lock
on other requsets.  This should be performed in the background and given
its own async task.
2018-05-08 09:43:12 -04:00