Some users erroneously set their password as their username with the original layout, because the username field directly followed the password field. Users may be accustomed to the common occurrence of a password confirmation field directly following the password field.
To fix the issue, I did the following:
- Moved the existing username and real name form fields above the password field.
- Added a validation in the create_account handler in common/djangoapps/student/views.py, which confirms that the password field does not match the username field.
New tests created to check the added functionality.
The IDDE implementation relied on a StudentModule being created for a
particular block in order to set the extended due date on that block.
Since StudentModules seem to be created on demand whenever data is
written to an attribute with Scope.user_state, it meant that if a
homework problem hadn't yet been touched by a student it was possible
that the due date extension wouldn't take effect for that problem, even
if the due date extension was successfully set for the parent unit.
This patch fixes this problem by creating new StudentModules as
necessary in order to make sure extended due dates propogate properly to
all problems in a unit.
Added a new advanced setting; invitation_only
If invitation_only display "Enrollment in this course is by invitation only"
Otherwise, if outside of enrollment period display "Enrollment is Closed"
This issue is logged at LMS-2670
Also fixed in this PR is issue LMS-2717; even though the Register button was greyed out,
clicking it sent one to the registration page.
Currently a new temp directory is created for every process via
mkdtemp_clean() which cleans it on process exit.
However, this is not compatible with using --preload option of
gunicorn. With this option the tmp directory is created on gunicorn
start and is shared by all the workers. But when a worker exits it
deletes the directory. And so on the next requent the tmp directory
needs to be recreated and the templates need to be recompiled.
LMS-6507
The same bug in studio was fixed in #3893, and as TinyMCE is also used in LMS, it should be also fixed in LMS.
Here a common javascript file called 'ie_shim.js' is added, so that in the future it can be used for other IE compatibility purposes too.
- Strings marked for translation need to be wrapped in quotes to be
string type.
- Update old post function call
- Remove extra close brackets in function definitions
- Wrap href attribute in quotes
- Move square bracket outside of translated text