Commit Graph

55896 Commits

Author SHA1 Message Date
Régis Behmo
e555d8a571 [BD-21] Document settings with annotations
We introduce the documentation of django settings via code annotations.
This will allow us to produce a human-readable documentatio of all Open
edX settings.
2020-09-28 12:44:36 +02:00
edX Transifex Bot
d74f6d9800 fix(i18n): update translations 2020-09-27 17:34:20 -04:00
Thomas Tracy
331952550c Modal Bugfixes (#25101)
- fixes an issue with the keyboard not properly opening the multiselect
- Adds missing aria-label
- properly disables "clear all" on multiselect when theres an error
2020-09-25 15:27:14 -04:00
Robert Raposa
1cc4ae2080 ARCHBOM-1339: add ADRs for extracting waffle_utils (#24798)
- Add ADR for the extraction of waffle_utils to
edx-toggles to reuse across IDAs.
- Add ADR for temporarily leaving CourseWaffleFlag
in edx-platform in order to simplify extraction.
- Add ADR for simplifying the interface for
WaffleFlag and WaffleSwitch by removing the
Namespace classes.

ARCHBOM-1339

Co-authored-by: Feanil Patel <feanil@edx.org>
2020-09-25 15:02:46 -04:00
Calen Pennington
a04690d051 Increase the mongo query count by one because edxnotes has been turned back on, and it loads the course from the modulestore as part of get_html 2020-09-25 14:13:30 -04:00
Kyle McCormick
ef845ebc43 Fully qualify remaining edxnotes imports 2020-09-25 14:13:30 -04:00
Kyle McCormick
ddae9e02ab Use fully-qualified edxnotes app name when checking if installed 2020-09-25 14:13:30 -04:00
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