adeelehsan
2131ebf03d
Configuration model added for account recover command
2020-03-17 19:43:53 +05:00
Michael Terry
f56a01adbe
Reset schedule when mode changes
...
This way if an audit user upgrades a self paced course to verified,
their schedule will reset to the current time.
AA-60
2020-03-11 11:53:49 -04:00
Simon Chen
eb3e36b822
MST-121 We should allow the business case where a learner can be enrolled into a program, then unenrolled, then enroll into another program with the same course
2020-03-03 14:39:57 -05:00
Matt Tuchfarber
82024fbf77
Add phone number to account API
...
This is so it's user editable in the Account MFE.
2020-02-26 15:06:38 -05:00
Thomas Tracy
80320ab7a0
Add phone_number field to UserProfile model ( #23132 )
...
Adds a simple nullable field to the UserProfile model. The only
validation done it to make sure any character saved in that field is a
digit and not a letter. We do not distiguish on a model level if the
phone number is international or not.
2020-02-20 10:52:46 -05:00
Mike O'Connell
e5e96c9dde
Don't update account recovery until after activation
...
Rather than to create or update the account recovery record when the
Account Settings page is updated, defer updating until the new
recovery email is confirmed
ENT-2607
2020-02-14 09:59:36 -05:00
Awais Jibran
d7d258cd36
Generate grade report for verified learnes by default
2020-01-28 14:04:02 +05:00
Stu Young
6fa7940792
Add django simple history to student.ManualEnrollmentAudit ( #22629 )
...
add django simple history to student.ManualEnrollmentAudit
2020-01-09 16:29:18 -05:00
David Ormsbee
2cb2265ffe
Add request caching to reduce ORM queries
...
This adds request caching to the following places:
* course expiration wrapper (displayed in Units)
* offer banner generation (displayed in Units)
* get_enrollment
* user_by_anonymous_id
* youtube_disabled_for_course
On a sample course with edx-val enabled, this reduced the queries
for a large sequence from 450 to 155.
2019-12-30 16:19:25 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Guruprasad Lakshmi Narayanan
6f524ce223
Use a callable as the default value for CourseEnrollment.mode
...
The previous behaviour of using a variable causes Django to complain
about changes not reflected in a migration when the default course
mode slug is changed.
2019-12-09 12:26:07 +05:30
Hasnain Naveed
3f007b8cad
Merge pull request #22292 from edx/hasnain-naveed/ENT-2460
...
ENT-2460 | Added a model for whitelist emails for authentication.
2019-11-15 14:37:44 +05:00
hasnain-naveed
cda72e9071
ENT-2460 | Added a model for whitelist emails for authentication.
2019-11-15 11:56:44 +05:00
Agrendalath
de7b8d4216
Fix tests
2019-11-13 18:33:33 +01:00
Agrendalath
9449b50da6
Refactor after the review, add test
2019-11-13 18:33:33 +01:00
Josue Balandrano Coronel
f03081d04f
Check if username is already unicode.
2019-11-13 18:32:55 +01:00
Matthew Piatetsky
8d8626ca1f
address comments
2019-11-01 13:41:01 -04:00
Matthew Piatetsky
c2774083ea
create table that excludes enrollments from FBE
2019-10-31 16:30:52 -04:00
atesker
c007499a54
PROD-826 - Add CourseWaffleFlag that restricts the set of ProblemGradeReport enrollees to only verified learners.
...
cr comments
added unit test
removed debug
style
2019-10-27 15:23:47 -04:00
Ayub khan
897bd25b01
BOM-949
...
student: Explicitly Set fields to unicode to avoid migration
2019-10-24 13:16:57 +05:00
Calen Pennington
97cc816d0b
Pre-select the course overview during dashboard loading
2019-10-17 13:02:02 -04:00
Calen Pennington
7ceb0e30fa
Mark course outline with graded and scored status in the DOM so that we can run optimizely code on them
2019-10-17 12:14:49 -04:00
Bill DeRusha
5a6b51bccf
remove mailchimp tracking
2019-10-11 15:38:05 -04:00
adeelehsan
7908808911
Configuration model added for bulk unenroll command
...
Users information will be available in model as csvfile
Prod-655
2019-10-03 16:33:13 +05:00
Ned Batchelder
b3845b2b96
Merge pull request #21581 from edx/nedbat/fix-courseware-warning
...
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 14:25:27 -04:00
Waheed Ahmed
5d6a2ea022
Merge pull request #21787 from edx/waheed/PROD-454-use-order-date-attr-for-refund
...
Use order date_placed enrollment attribute for refund.
2019-09-26 21:20:27 +05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Waheed Ahmed
68b5f98485
Save order date attribute and some refactoring.
...
Save order placement date attribute so that we don't need to call
ecommerce again. Also did some refactoring.
2019-09-26 17:46:14 +05:00
Waheed Ahmed
551f690ade
Use order date_placed enrollment attribute for refund.
...
Use order date_placed enrollment attribute for refund if exist otherwise
fetch it from ecommerce.
PROD-454
2019-09-26 15:20:00 +05:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
aarif
048d7740b5
python 3 fixes
2019-09-19 15:08:05 +05:00
Dave St.Germain
5febcce20c
Fix python3 compatibility in SafeCookieData and elsewhere
2019-08-19 10:24:15 -04:00
Christie Rice
3d062aab62
REVMI-354 Add enroll_in_course permission ( #21243 )
...
* REVMI-354 Add enroll_in_course permission
* Fix test
2019-08-01 08:37:41 -04:00
Zainab Amir
f6603cb8cf
Update verification expiry email criteria ( #20725 )
...
If already DEFAULT Number of emails are sent, then verify that user
is enrolled in at least one verified course run for which the course
has not ended else stop sending emails
LEARNER-7313
2019-07-03 14:19:22 +05:00
adeelehsan
2d369490dd
Flag added to load limited courses on Dashboard
...
Dashboard is set to load 250 courses instead of
all the courses. A flag is also added to change
the number the courses to load.
PROD-204
2019-06-28 22:51:41 +05:00
Michael Roytman
05c0510cd3
add external_user_key to response and add ability to search by username, email, or external user key
...
Code review comments - EDUCATOR-4319
undoing changes temporarily
undoing changes temporarily
Fixed exception handling
re-added changes after hard reset
removed waffle flag (wrong merge
removed waffle flag (wrong merge
2019-06-14 08:36:00 -04:00
Nimisha Asthagiri
6e214a85b0
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
2019-05-28 11:20:53 -04:00
Brian Mesick
a4a009e57b
Merge pull request #20222 from edx/bmedx/course_enrollment_history
...
Re-adding django-simple-history for CourseEnrollment
2019-05-09 13:02:07 -04:00
Jeremy Bowman
47516dbead
Run python-modernize on student/*.py ( #20411 )
2019-05-06 14:50:42 -04:00
bmedx
17cb93dd51
Re-adding django-simple-history for CourseEnrollment
2019-05-03 16:16:41 -04:00
Nimisha Asthagiri
dfa3728edf
Move django_comment_common from common to openedx
2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
16edae0822
Move comment_client into django_comment_common
2019-05-03 12:07:20 -04:00
Nimisha Asthagiri
ef0e06cc0a
Revert "Discussions consolidation"
2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
df962a31b7
Move django_comment_common to openedx/core/djangoapps/discussion_common
2019-05-01 19:15:02 -04:00
Nimisha Asthagiri
2839851bde
Move comment_client into django_comment_common
2019-05-01 19:13:09 -04:00
Bessie Steinberg
243738f828
ENT-1334: Fix: SSO users last_login set to NULL
...
- The very first time a user signed in through SSO their ```last_login```
field on the ```auth_user``` table was set to NULL instead of the
appropriate time stamp. This fixes that issue.
2019-04-02 14:40:55 -04:00
Josue Balandrano Coronel
78f4ccb50a
Expose LoginFailure model to Django's Admin UI to allow admin users
...
unlock student accounts that have been locked out for excessive login
failures. This change will allow to quickly unlock student accounts when
time is of the essence (e.g. Timed exams).
2019-03-22 10:22:01 -05:00
Calen Pennington
d23e888316
Revert "Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data""
...
This reverts commit 6059e21bff .
2019-03-21 14:26:00 -04:00
Calen Pennington
6059e21bff
Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data"
...
This reverts commit d8cd6135a6 .
2019-03-18 15:24:40 -04:00
Calen Pennington
d8cd6135a6
Revert "Improve the performance of access checking for a specific user in CourseViewList by prefetching data"
...
This reverts commit a2a340bcd0 .
2019-03-14 10:31:24 -04:00