Troy Sankey
92cf17b95b
Merge pull request #25088 from edx/pwnage101/course-id-list-view-bypass-has-access
...
Bypass calls to has_access() when listing courses
2020-09-25 13:52:59 -04:00
Troy Sankey
dded86d2ae
Change subquery to JOIN in list_course_keys API
2020-09-25 12:54:37 -04:00
Troy Sankey
83a0327b92
Also exclude libraries from the list_course_keys API
2020-09-25 11:53:35 -04:00
Troy Sankey
e3cd6d55c4
Bypass calls to has_access() when listing courses
...
When listing courses for which a user has "staff" level access, bypass
calls to has_access() and use a hopefully more performant and simpler
access pattern that uses only a single ORM query and far less processing
per course.
Caution: this short-circuit implementation does not handle org-level
access grants.
2020-09-25 10:44:03 -04:00
Robert Raposa
04560b5ec6
replace deprecated RequestMetricsMiddleware
...
Replace deprecated RequestMetricsMiddleware with
renamed version RequestCustomAttributesMiddleware.
ARCHBOM-1495
2020-09-25 09:37:45 -04:00
Justin Hynes
133e616d4d
Merge pull request #25083 from edx/jhynes/microba-595_work_status_default
...
MICROBA-595 | Add default option to work status choices
2020-09-25 09:35:03 -04:00
Justin Hynes
055595e39e
MICROBA-595 | Add default option to work status choices
...
[MICROBA-595]
- Add default option to work status choices
2020-09-24 15:30:35 -04:00
Kyle McCormick
31a4b761ad
Lower 'Mismatch between the children...' message to DEBUG level ( #25065 )
...
This message comes from the content library block transformer,
and has been filling up our logs at a rate of 250k instances/hr.
Since we don't need to see this log message in production any more,
we are lowering it to the DEBUG level.
2020-09-24 09:13:48 -04:00
Troy Sankey
dc230bc6fc
Merge pull request #25064 from edx/pwnage101/more-monitoring-for-course-id-list-view-2
...
Add even more telemetry to the CourseIdListView
2020-09-23 15:59:40 -04:00
Thomas Tracy
132898b991
Trap focus in modal and other a11y work ( #25063 )
2020-09-23 14:51:08 -04:00
Troy Sankey
7d3631a79b
Add even more telemetry to the CourseIdListView
...
This time, we narrow our search down to paginate_queryset().
2020-09-23 14:12:53 -04:00
Calen Pennington
9c4f746d8f
Get rid of unused NoOpMigrationModules
2020-09-23 10:05:37 -04:00
Calen Pennington
2a157ae854
Lower query counts
2020-09-23 10:05:37 -04:00
Calen Pennington
4a120a9e26
Fix failures caused by removing lms/djangoapps from sys.path
2020-09-23 10:05:37 -04:00
jawad khan
fc03da2b23
Added Apple sign-in button branding ( #25015 )
...
* Added Apple sign-in button branding
LEARNER-7926
2020-09-23 18:47:25 +05:00
Troy Sankey
829daf0e84
Merge pull request #25047 from edx/pwnage101/more-monitoring-for-course-id-list-view
...
Add more monitoring to the CourseIdListView
2020-09-23 09:37:58 -04:00
Nimisha Asthagiri
8739eac924
Merge pull request #24207 from shadinaif/shadinaif/instructor_dashboard_js
...
Resolve errors in browser console caused by Instructor Dashboard
2020-09-23 07:04:57 -04:00
Troy Sankey
23b76a60b6
Add more monitoring to the CourseIdList view
2020-09-22 20:15:34 -04:00
Soban Javed
b7ca6d5619
Upgrade celery to 4.4.7
...
Replace django-celery with django-celery-results
Upgrade redis to latest
2020-09-22 16:20:45 +05:00
Talia Rhodes
ea889314c9
add Moodle & update enterprise version
2020-09-21 13:13:20 -04:00
Thomas Tracy
a7d7de3418
Change around POST code for demographics modal ( #25019 )
...
* Change around POST code for demographics modal
CSRF tokens were not working on stage when the user does not have an
entry in the demographics db when using the modal. This restructures the
code a bit and hopefully fixes the problem.
* Remove logs
* Rework things into smaller digestable functions
2020-09-21 12:56:06 -04:00
Ned Batchelder
746646ee9c
Merge pull request #25016 from open-craft/gabor/correct-lms-cms-config-file-names
...
Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml
2020-09-21 10:12:46 -04:00
Ahtisham Shahid
cf735e411d
New vs Old Data-Download UI. ( #24840 )
...
Created new UI for Data download in instructors dashboard
Co-authored-by: Awais Jibran <awaisdar001@gmail.com >
2020-09-21 17:25:47 +05:00
Shadi Naif
6c65e10826
Avoid processing unavailable tabs in instructor dashboard
2020-09-21 12:16:28 +03:00
Shadi Naif
03c344f005
Remove unused InstructorAnalytics from JS file
2020-09-21 12:16:28 +03:00
Ahtisham Shahid
986a448d9e
Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )" ( #25025 )
...
This reverts commit ba9ee4e151 .
Fixed Style lint issue
2020-09-21 13:48:00 +05:00
edX Transifex Bot
172d963635
fix(i18n): update translations
2020-09-20 17:33:24 -04:00
Troy Sankey
98b19dd125
Add some tracing to the CourseListView endpoint
2020-09-18 18:28:00 -04:00
Sid Verma
735bc412d4
Add elasticsearch tests
2020-09-18 10:25:59 -04:00
Alex Dusenbery
4bb1914ec6
ENT-3367 | Show at most 1 Enterprise Learner Portal dashboard link in the header user-menu. Also, guard against no branding config when getting learner portal data.
2020-09-18 10:23:32 -04:00
Tim McCormack
ba9ee4e151
ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )
...
This uses the new names introduced in edx-django-utils
3.8.0 (edx/edx-django-utils#59 ), which we're already using, as
well as updating a few other locations where we incorrectly refer
to New Relic custom metrics instead of custom attributes.
Includes a couple of unrelated lint fixes in a file I modified.
2020-09-18 13:33:50 +00:00
Gábor Boros
6ccd6c308d
docs(lms and studio): Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml
2020-09-18 10:44:14 +02:00
Feanil Patel
90bc2ffdab
Merge pull request #24815 from regisb/regisb/document-feature-toggles
...
[BD-21] Document feature toggles
2020-09-17 13:46:46 -04:00
Michael Terry
8e1ea3e536
Merge pull request #24987 from edx/mikix/subsection-ora-cutoff
...
AA-335: Avoid due dates for ORA subsections
2020-09-17 10:57:56 -04:00
Michael Terry
0c9efb793c
AA-335: Avoid due dates for ORA subsections
...
Previously, we'd been avoiding PLS due dates for ORA *sections*.
That is, if a section had only ORA content, we'd not set a PLS
due date for anything in that section.
If any content in that section had non-ORA graded content however,
we would set dates on all subsections, including the ORA one.
This resulted in some ORA-only subsections showing up twice on the
dates tab. So this patch simply brings down the ORA-only check
to a *subsection* level, not a section one.
2020-09-17 10:10:06 -04:00
Thomas Tracy
2bac015648
Add CSRF to post requests to demographics ( #24999 )
...
* Add CSRF to post requests to demographics
* Reorganize code
2020-09-17 09:35:02 -04:00
Simon Chen
681eea44f7
MST-418 retire program_enrollments external_user_key with hashed values instead of setting it to null ( #25001 )
2020-09-16 21:40:00 -04:00
Thomas Tracy
35bbf068a6
Add CSRF code to demographics modal ( #24998 )
...
* Add CSRF tokens to demographics modal PATCH
We have temporarilly copied over the CSRF code from frontend-platform to
use with the demographics modal. This code is most likely temporary and
is not maintained like frontend-platform.
2020-09-16 15:12:07 -04:00
Carla Duarte
ba89c01e6e
AA-368: Surface resume_block in Outline Tab API
2020-09-16 11:03:15 -04:00
Régis Behmo
a4ba4ae45e
Clarify many feature toggle annotations across all applications
2020-09-16 15:20:43 +02:00
Régis Behmo
7d93715880
Rename toggle_expiration_date to toggle_target_removal_date
...
This is part of the changes brought by code-annotations==0.7.0
2020-09-16 15:19:16 +02:00
Régis Behmo
98a13d6a7e
Remove deprecated toggle_status annotation
...
This annotation is deprecated since code-annotations==0.7.0
2020-09-16 15:19:15 +02:00
Régis Behmo
d1f9e769d0
Simplify the toggle_use_case annotation
...
Since code-annotations==0.7.0, incremental_release, launch_date,
monitored_rollout, graceful_degradation, beta_testing are all considered
as "temporary" use cases.
2020-09-16 15:16:13 +02:00
Régis Behmo
ab0e21455a
Get rid of the toggle_category annotation, now deprecated
...
Since code-annotations==0.7.0, this annotation is not used anymore.
2020-09-16 15:16:13 +02:00
Régis Behmo
0c3bc12582
Fix deprecated toggle annoation format
2020-09-16 15:16:13 +02:00
Régis Behmo
9445bbe930
Document lms/djangoapps/grades feature toggles
2020-09-16 15:16:13 +02:00
Régis Behmo
7dc460d50a
Wrap toggle annotation lines with multiline comments
...
This takes advantage of the new multiline annotation format with
single-line comment prefix, from code-annotations.
2020-09-16 15:16:12 +02:00
Régis Behmo
d34aa1c643
Document lms/djangoapps/courseware feature toggles
2020-09-16 15:15:46 +02:00
Régis Behmo
c8911b6282
Document lms/djangoapps/course_api feature toggles
2020-09-16 15:15:45 +02:00
Régis Behmo
c8892d321b
Document openedx/core/djangoapps/user_authn feature toggles
2020-09-16 15:14:56 +02:00