Dave St.Germain
1aa8c9c53d
Add a new courseware API Django app to support the courseware micro-frontend.
2020-01-28 14:59:07 -05:00
Waheed Ahmed
cb92bd13ae
Fix PDF certificate link on progress page.
...
Need to pass certificate status incase `DISABLE_HONOR_CERTIFICATES`
feature flag is ON.
PROD-60
2020-01-27 22:30:48 +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
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -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
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Matthew Piatetsky
bd76a71019
delete old holdback code
2019-11-07 09:51:39 -05:00
Ned Batchelder
58828da55b
Fix patches to use proper courseware imports
2019-09-26 10:53:55 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Feanil Patel
0c1e18ff53
BOM-622 Fix more type errors.
2019-09-19 16:57:54 -04:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Calen Pennington
7bbf4ad15c
Switch courseware.masquerade_as_student over to using a StaffAccessRule with query checking
2019-08-02 15:06:35 -04:00
Samuel Walladge
54f9434d46
Allows unicode usernames to be used in CCX enrollments and reports.
...
Previously, unicode would result in a UnicodeEncodeError as a result of
the format string being str instead of unicode.
Additionally, the log calls would crash with a traceback (while not
affecting the program flow).
2019-08-02 08:50:15 +09:30
Stu Young
787868d48b
INCR-308 Run python-modernize on lms/djangoapps/ccx/tests ( #20617 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:43:22 -04:00
Christie Rice
6db32a36bc
REVEM-239 Add audit access expiration deadline to user-metadata
2019-05-08 08:53:21 -04:00
Nimisha Asthagiri
eb0791ec89
Inter-app API cleanup for Grades
2019-05-04 11:35:06 -04:00
Nimisha Asthagiri
dfa3728edf
Move django_comment_common from common to openedx
2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
e160b23903
Move django_comment_client to discussion/
2019-05-03 12:09:46 -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
db89a64d06
Move django_comment_client to discussion/
2019-05-01 19:13:10 -04:00
Dave St.Germain
b4ccd03740
This adds a new django app -- edx-when -- that will copy start and due dates to mysql and allow per-learner overrides in the instructor dashboard, using the existing IDDE interface.
...
It adds a data migration for existing IDDE data.
2019-04-24 12:26:19 -04:00
Matthew Piatetsky
62b9bb89c8
Change content_type_gating enabled_for_enrollment to return false if a course has no verified mode or a user is not enrolled in the audit mode
2019-04-14 16:32:13 -04:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Matthew Piatetsky
fc6cc94573
Ensure masquerade works in courses that haven't started yet
2018-12-19 08:43:54 -05:00
Matthew Piatetsky
14a899a65d
REVE-104 & REVE-108: Ensure Course Roles' Access
2018-12-07 16:39:09 -05:00
Cali Stenson
241cff006a
Add user_metadata to reflect if a user has purchased before.
...
REVO-20
2018-12-07 07:48:32 -05:00
Calen Pennington
31047260cc
Switch ContentTypeGatingConfig.enabled_as_of and CourseDurationLimitConfig.enabled_as_of to datetimes
2018-11-30 10:02:53 -05:00
Matthew Piatetsky
815acda002
Populate experiment data with holdback key post enrollment and check holdback key when setting user group
2018-11-28 13:40:57 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05:00
Bill Filler
cebd85e681
Add expiration banner to progress page
...
In audit mode, add expiration banner to course progress page
REVE-6
2018-11-09 16:13:35 -05:00
Matthew Piatetsky
dfe189e9bb
change access_duration to be weeks_to_complete or MIN_DURATION for both SP and IP courses
2018-11-07 13:18:25 -05:00
Matthew Piatetsky
9037999bd2
add content gating waffle flag
2018-10-22 20:49:08 -04:00
Matthew Piatetsky
3e87cb7c7d
fix expired message on dashboard and some of the tests
2018-10-17 09:20:45 -04:00
Calen Pennington
72f556c1a9
Import courseware module from fully-qualified module name
2018-10-10 15:34:33 -04:00
Omar Al-Ithawi
6ff3235f84
Convert instructor email messages to ACE
2018-09-25 17:51:10 +03:00
David Ormsbee
4057190435
Merge pull request #18808 from open-craft/opencraft/taranjeet/fix-child-course-display
...
Fix incorrect course name displayed for CCX courses.
2018-09-13 10:53:35 -04:00
Taranjeet Singh
6931c3b7e1
Fix incorrect course name displayed for CCX courses.
...
This commit updates the course name for CCX course at Info, Course
and Instructor tabs.
2018-09-12 18:49:21 +05:30
Robert Raposa
ba4cc62ff8
Retire deprecated RequestCache (Take 2)
...
ARCH-223
2018-09-08 15:09:28 -04:00
Nimisha Asthagiri
ad5ed57160
Revert Quality fixes
2018-08-30 16:33:03 -04:00
Nimisha Asthagiri
4ca165f690
Revert "ARCH-223: Retire deprecated RequestCache."
2018-08-30 16:33:03 -04:00
Robert Raposa
3df339a56a
Retire deprecated RequestCache.
...
ARCH-223
2018-08-30 08:55:19 -04:00
Jeremy Bowman
d671c4b1d0
TE-2689 Remove useless pylint suppressions part 1
2018-08-13 17:01:21 -04:00
Jeremy Bowman
ca3316962d
TE-2524 Stop using nose.plugins - LMS 1
2018-07-31 13:03:18 -04:00
Nimisha Asthagiri
4a9063d83b
course_structures: remove usages
2018-07-02 12:36:34 -04:00
Matthew Piatetsky
95ccc30594
add forum roles to metadata
2018-06-22 12:49:10 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Douglas Hall
4d72d9caae
Remove use of the deprecated course_structures module.
2018-04-11 12:54:14 -04:00