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
DawoudSheraz
aeeb76edd0
add information for missing annotation fields
2019-10-07 10:55:11 +05:00
Stu Young
8c94ee15ea
add missing annotation tokens to course api toggles ( #21831 )
2019-09-30 14:13:03 -04:00
DawoudSheraz
942c79e606
add video url transformer
2019-09-27 14:26:52 +05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Chris Pappas
4c9af183cb
ENT-2294 | Moving utility functions in program enrollments to places … ( #21752 )
...
* ENT-2294 | Moving utility functions in program enrollments to places related to the data they manipulate
* updating a mock path
* minor test fix
2019-09-24 10:07:38 -04:00
aarif
9301ec38f3
python 3 fixes
2019-09-12 17:29:34 +05:00
amitvadhel
b819024d0e
Fixes for encoding (Python 3.5)
2019-09-03 23:08:46 +03:00
Feanil Patel
9d7f0ca46e
Get LMS test collection working in python 3.
...
This should be all the changes needed to get test collection working in
python 3 for the `lms` folder.
2019-08-13 16:32:40 -04:00
Julia Eskew
a2dac21843
Add optional role parameter to course API endpoint. ( #21059 )
...
* Add optional role parameter to course API endpoint.
* fixup! Add optional role parameter to course API endpoint.
2019-08-02 12:52:30 -04:00
David Ormsbee
b3614f3a00
Merge pull request #20954 from open-craft/symbolist/html-block
...
HtmlModule to HtmlBlock [SE-1089]
2019-08-01 11:36:23 -04:00
Usman Khalid
8dfc8e5fda
Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks.
2019-07-24 20:19:44 +05:00
Ayub khan
954ad2f75e
INCR-430 python3 compatibility
2019-07-16 15:38:50 +05:00
Amit
a1b5f6fe73
INCR-431: Updates on Python 3.x ( #21056 )
2019-07-11 10:47:15 -04:00
Calen Pennington
093fc9f68a
Allow a limited subset of fields in the Course Block View for blocks that have been denied authorization
2019-06-20 15:23:32 -04:00
Stu Young
b0e6870271
INCR-286 Run python-modernize on lms/djangoapps/course_api/blocks/tests ( #20593 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:24:39 -04:00
Stu Young
cea9390cdc
INCR-287 Run python-modernize on lms/djangoapps/course_api/blocks/transformers ( #20594 )
...
* run python modernize
* run isort
2019-05-21 11:23:12 -04:00
Stu Young
090b8ed011
incr-285 ( #20592 )
...
* run python modernize
* run isort
* quality
2019-05-16 12:42:56 -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
51b991c128
fix bug and add temporary waffle flag
2019-04-09 15:38:55 -04:00
Matthew Piatetsky
064f041276
Revert "Revert both"
2019-04-09 11:04:10 -04:00
Matthew Piatetsky
be9eb46364
Revert "handle missing fields on access denied blocks"
...
This reverts commit 418540b713 .
2019-04-08 12:13:30 -04:00
Matthew Piatetsky
418540b713
handle missing fields on access denied blocks
2019-04-03 12:32:35 -04:00
Matthew Piatetsky
c77ba984c9
fix traversal bug and keep current behavior as default
2019-03-28 15:50:05 -04:00
Matthew Piatetsky
1f6cd7aa5a
Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason""
2019-03-28 14:44:05 -04:00
Matthew Piatetsky
8eae694566
Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"
2019-03-27 16:30:37 -04:00
Matthew Piatetsky
e6b55ede3d
Merge pull request #20003 from edx/mobile-access-denied
...
REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason
2019-03-26 17:33:57 -04:00
Matthew Piatetsky
4bb539c9aa
update user partition and access_denied_message_filter transformers
2019-03-26 15:26:59 -04: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
b89ce526ca
Revert "Batch queries to fetch all courses to prevent over-fetching during paging operations"
...
This reverts commit 544c7f7eff .
2019-03-21 14:26:00 -04:00
Calen Pennington
544c7f7eff
Batch queries to fetch all courses to prevent over-fetching during paging operations
2019-03-19 10:30:33 -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
Calen Pennington
5d3c9b36df
Merge pull request #19964 from cpennington/fbe-query-perf
...
Sort in python and add an index to improve StackedConfigModel.current…
2019-03-11 12:22:59 -04:00
Calen Pennington
a2a340bcd0
Improve the performance of access checking for a specific user in CourseViewList by prefetching data
2019-03-11 10:37:53 -04:00
Matthew Piatetsky
74bcc29417
Remove FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG
2019-03-07 15:46:33 -05:00
Matthew Piatetsky
49ae6b9d73
Remove CONTENT_TYPE_GATING flag
2019-03-07 15:46:33 -05:00
David Ormsbee
76620e0bf2
Add cookie size monitoring New Relic metrics.
...
This adds middleware that will create custom parameter metrics in
New Relic to track the size of all the cookies being received for
our domain. The custom fields are "cookies_total_size" and a
separate named parameter for every cookie size, e.g.
"cookies.csrftoken.size".
This is intended to help us track cookie growth and better diagnose
issues where users lose their sessions. It is toggled by the
'request_utils.capture_cookie_sizes' Waffle Flag.
2019-02-22 18:18:41 -05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Calen Pennington
829227ade3
Merge pull request #19663 from cpennington/fbe-improve-course-api-performance
...
Fbe improve course api performance
2019-02-06 11:01:25 -05:00
Calen Pennington
43d975a92a
Select related CourseOverview.image_set when loading the course_api
2019-02-06 10:11:16 -05:00
Calen Pennington
419657d7a5
Prefetch course modes used in has_access calls in course api
2019-02-06 10:11:15 -05:00
Calen Pennington
6d22866e78
Cache org-site lookups in the RequestCache
2019-02-06 10:11:15 -05:00
Calen Pennington
6c596f7c49
Allow courses api to return data incrementally
...
Prior to this commit, the course api (/api/courses/v1/courses/)
performed all the work necessary to return all courses available
to the user, and then only actually returned on page's worth of those
courses.
With this change, the api now does the work incrementally, computing
only the data needed to fetch the courses up to and including the page
being returned. This still increases approximately linearly as
the page number accessed being increases, but should be more cache-friendly.
One side effect of this is that the max_page reported by pagination
will be an overestimate (it will include pages that are removed due
to a users access restrictions).
This change also changes the sort-order of courses being returned by the
course_api. By sorting by course-id, rather than course-number, we
can sort in the database, rather than in Python, and defer loading data
from the end of the list until it is requested.
REVMI-90
2019-02-06 10:11:15 -05:00
Calen Pennington
9ff9c33f59
Add a test that shows how bad course api query counts are
2019-02-06 10:11:15 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Calen Pennington
805f32a357
Revert "Allow courses api to return data incrementally"
2019-01-25 12:56:57 -05:00
Calen Pennington
2527efd822
Prefetch CourseOverview.image_set when loading the course_api
2019-01-25 10:30:09 -05:00
Calen Pennington
0d273e9506
Prefetch course modes used in has_access calls in course api
2019-01-25 10:30:09 -05:00
Calen Pennington
a842921e1f
Cache org-site lookups in the RequestCache
2019-01-25 10:30:09 -05:00