Commit Graph

55889 Commits

Author SHA1 Message Date
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
Robert Raposa
326372f518 Merge pull request #25082 from edx/robrap/ARCHBOM-1495-custom-metric-rename
ARCHBOM-1495: replace deprecated RequestMetricsMiddleware
2020-09-25 13:48:33 -04:00
Troy Sankey
dded86d2ae Change subquery to JOIN in list_course_keys API 2020-09-25 12:54:37 -04:00
Robert Raposa
3136a3192c Merge pull request #25096 from edx/robrap/remove-flaky-login-ratelimit-test
remove flaky test_login_ratelimited
2020-09-25 12:14:40 -04:00
Troy Sankey
83a0327b92 Also exclude libraries from the list_course_keys API 2020-09-25 11:53:35 -04:00
Robert Raposa
9c6ee54258 remove flaky test_login_ratelimited 2020-09-25 11:24:47 -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
Fox Piacenti
7bc10e0464 Adjustments to library user access API endpoints required by frontend needs. (#24919) 2020-09-25 09:33:32 -04:00
edX requirements bot
a96a23ef94 Updating Python Requirements (#25090) 2020-09-25 13:40:07 +05: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
Awais Qureshi
d2f2a2918e Merge pull request #25071 from edx/jenkins/upgrade-python-requirements-dc230bc
Python Requirements Update
2020-09-24 16:10:26 +05:00
Nadeem Shahzad
813763c766 Merge pull request #25072 from edx/nadeem/psre-248
update db dump github action (PSRE-248)
2020-09-24 14:15:34 +05:00
nadeemshahzad
79077e26a4 update db dump github action 2020-09-24 06:57:39 +00:00
edX Transifex Bot
eccdda53ae geoip2: update maxmind geolite country database 2020-09-24 11:51:35 +05:00
edX requirements bot
66c0ff5d8f Updating Python Requirements 2020-09-24 00:55:19 -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
Binod Pant
4f1fdb3490 upgrade edx-enterprise 3.8.18 (#25067) 2020-09-23 15:58:38 -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
Usama Sadiq
05417b5f6e Merge pull request #25052 from edx/pin-importlib
Pin importlib-metadata to version 1.7.0
2020-09-23 20:50:04 +05:00
Calen Pennington
9c4f746d8f Get rid of unused NoOpMigrationModules 2020-09-23 10:05:37 -04:00
Calen Pennington
dc884c2166 Fix a test that relied on incorrect mocking.
We fully hide authorization denied blocks from the mobile app (until the
latest version of the mobile app rolls out).
2020-09-23 10:05:37 -04:00
Calen Pennington
2a157ae854 Lower query counts 2020-09-23 10:05:37 -04:00
Calen Pennington
88d16a8186 Improve the logging of tests that fail because of a changed number of mongodb calls 2020-09-23 10:05:37 -04:00
Calen Pennington
0aa2edbc37 Clean up some radically dirty global state pollition to fix a flaky test 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
Calen Pennington
211bd3beb5 Run sys_path_hacks/un_sys_path.sh lms 2020-09-23 10:05:37 -04:00
Calen Pennington
3ebba52cf7 Add the script used to deprecate sys.path hacks 2020-09-23 10:05:37 -04:00
Calen Pennington
7cbfc8de40 Add an ADR capturing sys.path removal justifications 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
Zulqarnain
c9ab017ab3 pin importlib metadata 2020-09-23 17:53:24 +05:00
Nadeem Shahzad
9fd0cfbdc2 Merge pull request #25051 from edx/nadeem/PSRE248
add wait to github action to complete db migration (PSRE-248)
2020-09-23 17:48:24 +05:00
nadeemshahzad
0389859d30 add wait to github action to complete db migration 2020-09-23 12:06:41 +00: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
Shadi Naif
1502a9c16c (Problem Input) should always be LTR (#24208) 2020-09-23 07:01:30 -04:00
Nadeem Shahzad
45348f64ac Merge pull request #25017 from edx/nadeem/PSRE-248
add github action for edxapp db dump (PSRE-248)
2020-09-23 15:41:50 +05:00
nadeemshahzad
331e2cd480 add github action for edxapp db dump 2020-09-23 04:44:08 +00:00
Troy Sankey
23b76a60b6 Add more monitoring to the CourseIdList view 2020-09-22 20:15:34 -04:00
Binod Pant
126f777c64 upgrade to enterprise 3.8.16 (#25046) 2020-09-22 14:30:38 -04:00
Alex Dusenbery
de277ce46b Prevent an unbound local variable exception in enterprise_support.api. Add more unit tests for same. 2020-09-22 11:15:17 -04:00
Hammad Ahmad Waqas
3b23a9b227 Merge pull request #25003 from edx/hammad/ENT-3337
catch signal UNENROLL_DONE signal and call /api/v2/enterprise/coupons…
2020-09-22 19:51:35 +05:00
Muhammad Soban Javed
eada6326c1 Merge pull request #24916 from edx/iamsobanjaved/BOM-2013
Replace django-celery with django-celery-results
2020-09-22 17:09:23 +05: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
Usama Sadiq
a90b66546d Merge pull request #25035 from edx/testeng/bokchoy_auto_cache_update_6497e9076c0e1d7a95ac5a7f696a18d9592ab557
Bokchoy Testing DB Cache update
2020-09-22 12:10:18 +05:00
edX requirements bot
4679d33d24 Updating Python Requirements (#25039) 2020-09-22 11:48:18 +05:00
edX cache uploader bot
b664322645 Updating Bokchoy testing database cache 2020-09-21 16:52:06 -04:00