stvn
33e499ea04
fix: Update discussions lti_configuration during provider_type change
...
Else, we risk updating it when we don't intend to, eg:
- changing from an LTI-backed provider (Piazza) to a non-LTI-backed
provider (legacy)
- the settings are no longer relevant
- changing from a non-LTI-backed provider (legacy) to an LTI-backed
provider (Piazza)
- the settings _are_ now relevant
2021-04-17 00:59:17 -07:00
stvn
c1742b7b66
feat: Add helper for discussions configuration to indicate feature support
2021-04-17 00:52:51 -07:00
stvn
fb2f8e6291
refactor: Remove superfluous dict comprehension
2021-04-17 00:48:01 -07:00
stvn
1f3058a051
Merge PR #27328 bd03/api/permissions
...
* Commits:
fix: Grant course staff access to discussions API
refactor: Make discussions helper method more accessible
2021-04-16 12:02:20 -07:00
Alex Dusenbery
4134809b96
fix: improves performance of enterprise role assignment admin page. edx-enterprise 3.22.6
...
* Deletes custom get_search_results() method, since `enterprise_customer__name` is now a viable search field
* Improves pagination by asking for an estimated row count from Mysql INFORMATION_SCHEMA.TABLES
* Turns 1 + N query into 1 query via proper use of list_select_related
ENT-4384
2021-04-16 14:44:23 -04:00
stvn
49594d92e6
fix: Grant course staff access to discussions API
...
to match expected behavior.
2021-04-16 11:23:44 -07:00
stvn
5284f397b4
refactor: Make discussions helper method more accessible
...
so we can use it elsewhere.
2021-04-16 11:23:44 -07:00
Kyle McCormick
b1fa2bdae6
refactor: make embargo app go through geoinfo API ( #27350 )
...
Consolidates all usage of geoip database within
geoinfo app.
2021-04-16 14:00:04 -04:00
Felipe Montoya
313eef2fad
Merge pull request #27339 from eduNEXT/lmm/fix_server_error_page
...
fix: Import missing function in server_error template.
2021-04-16 12:45:00 -05:00
Awais Jibran
9722e37492
Enable Course Olx Validation during Course Import ( #27300 )
...
* Enable import failure and email with Errors/Warnings
This PR enables course import failure in case of olx validation errors. Here is the flow.
* Course Import tries to import foo.tar.gz into their course shell
* Course olx contains validation errors
* During course import, olx is validated and import is failed with the error message "Course olx validation failed. Please check your email."
* System generates an email with ERRORs & WARNINGs in the body of the email.
This PR also adds a waffle flag contentstore.bypass_olx_failure. The purpose of this test flag is to allow course teams to unblock by enabling them to bypass the
the olx-validation failure.
The workaround is shared on the ticket TNL8214.
* Disable olx validation out of the box.
2021-04-16 18:45:59 +05:00
edX requirements bot
4e66032186
Updating Python Requirements ( #27364 )
2021-04-16 15:43:59 +05:00
Awais Jibran
8acb45f687
Fix index bug in the email ( #27353 )
...
* Fix indexing bug in the email.
2021-04-16 11:04:28 +05:00
Régis Behmo
e58ad6c809
fix: extra ")}" in 500 error page
...
The 500 page included ugly ")}" characters.
2021-04-15 17:40:46 -04:00
Tim McCormack
83367c8430
fix: Pin edx-proctoring to 3.8.5 until 3.8.6 is fixed ( #27356 )
...
(no ticket number)
This goes with https://github.com/edx/edx-platform/pull/27356
2021-04-15 19:12:18 +00:00
Michael Roytman
c24cdc2e6b
Revert "Update Version of edx-proctoring Library to 3.8.6" ( #27355 )
2021-04-15 14:56:18 -04:00
Ahtisham Shahid
71beccc12c
Updated User task email ( #27346 )
2021-04-15 22:38:47 +05:00
Ali Akbar
baa83d77e3
Merge pull request #27337 from edx/aakbar/xss-disable
...
refactor: disable xss for numerous files
2021-04-15 20:11:39 +05:00
alangsto
a45bcd158b
feat: Add tracking event for IDV photo mode ( #27349 )
...
As part of the ongoing A/B experiment for IDV, we would like to know how users submitted their photos (either by upload or camera) in addition to the other information we are tracking
2021-04-15 11:07:40 -04:00
Michael Roytman
9e66979945
Merge pull request #27342 from edx/mroytman/bump-edx-proctoring-to-3.8.6
...
Update Version of edx-proctoring Library to 3.8.6
2021-04-15 10:54:11 -04:00
Saad Yousaf
0014d836d3
[TNL-8051] - version update for olxcleaner. ( #27347 )
...
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local >
2021-04-15 15:07:57 +05:00
Awais Qureshi
348f080bf9
Merge pull request #26466 from edx/BOM-2340
...
BOM-2340
2021-04-15 14:55:31 +05:00
Ahtisham Shahid
58231c4262
Moved Import error messages to single place ( #27331 )
2021-04-15 12:25:04 +05:00
Igor Degtiarov
70ab50181a
fix: Hide enterprise/login button if enterprise integration disabled. ( #27130 )
...
* fix: Hide enterprise/login button if enterprise integration disabled.
[BTR-52](https://openedx.atlassian.net/browse/BTR-52 )
Fix an issue with existing button for enterprise login on the login page
when enterprise integration is disabled.
* Address review comments
2021-04-15 11:54:56 +05:00
edX requirements bot
e56f0a52c8
Updating Python Requirements
2021-04-15 11:47:04 +05:00
Diane Kaplan
3152c14192
fix: hide gated content message for library content questions (learning MFE only) ( #27277 )
2021-04-14 14:11:21 -04:00
Michael Roytman
414ac416bb
chore: Update Version of edx-proctoring Library to 3.8.6
...
This pull request updates the version of the edx-proctoring library to 3.8.6. This release installs updated Python requirements in the idx-proctoring library. It also contains a code change that makes the library compatible with version 2.0.1 of the pyjwt[crypto] library.
2021-04-14 12:25:59 -04:00
taliaedX
e78d2c5a83
Merge pull request #27340 from edx/trhodes/apr14_enterprise_update
...
chore: update edx-enterprise to get query uuid bug fix.
2021-04-14 12:04:53 -04:00
Ali-D-Akbar
eb1eb06bbd
refactor: disable xss PROD-2312
2021-04-14 21:03:45 +05:00
Luis Moreno
275d9f077e
fix: Import missing function in server_error template.
2021-04-14 11:54:05 -04:00
Ali Akbar
ece9f42177
Merge pull request #27335 from edx/aakbar/fix-pw-reset
...
fix: allow staff or superuser to reset password from support tools
2021-04-14 20:50:10 +05:00
Talia Rhodes
8d6bb8ed44
chore: update edx-enterprise to get query uuid bug fix.
2021-04-14 11:36:37 -04:00
Julia Eskew
7dbad0bd9a
learning_sequence doc tweaks and new type annotation style ( #27311 )
...
* docs: Add a statement comment. Update learning sequences README.
* refactor: Add Python3.6+-style type annotations to attrs classes where possible.
2021-04-14 11:12:01 -04:00
stvn
031d99cb95
Merge PR #27329 refactor/user-factories
...
* Commits:
style: Cleanup whitespace
style: Alphabetize some imports
docs: Add and cleanup comments
style: Rename variables to mark as CONSTANT
refactor: Remove unused test factory
refactor: Move RequestFactoryNoCsrf helper to common/
refactor: Move OrgInstructorFactory helper to common/
refactor: Move OrgStaffFactory helper to common/
refactor: Move BetaTesterFactory helper to common/
refactor: Move InstructorFactory helper to common/
refactor: Move UserFactory helper to common/
refactor: Move StaffFactory helper to common/
refactor: Move GlobalStaffFactory helper to common/
2021-04-14 08:06:27 -07:00
stvn
6990befcee
style: Cleanup whitespace
2021-04-14 07:38:55 -07:00
stvn
970980f25a
style: Alphabetize some imports
2021-04-14 07:38:55 -07:00
stvn
a3a58533a8
docs: Add and cleanup comments
2021-04-14 07:38:55 -07:00
stvn
479471b406
style: Rename variables to mark as CONSTANT
2021-04-14 07:26:39 -07:00
stvn
301ccd31dc
refactor: Remove unused test factory
2021-04-14 07:26:39 -07:00
stvn
1b3d915af7
refactor: Move RequestFactoryNoCsrf helper to common/
2021-04-14 07:26:39 -07:00
stvn
f646971c74
refactor: Move OrgInstructorFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
31bc741410
refactor: Move OrgStaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
ffcfc05a61
refactor: Move BetaTesterFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
22fb1ec124
refactor: Move InstructorFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
8869a30bcd
refactor: Move UserFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
2fa36fb0cf
refactor: Move StaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
5dd8302d8b
refactor: Move GlobalStaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
7d33d0d1e9
Merge PR #27289 refactor/lms-to-core/get-course-by-id
...
* Commits:
refactor: Import a single function, not the whole module
refactor: Move get_course_by_id helper from LMS to core
2021-04-14 07:08:19 -07:00
Dillon Dumesnil
3a89ed4275
Merge pull request #27262 from edx/ddumesnil/switch-relative-dates-to-course-waffle-aa-677
...
refactor: AA-677: Switch relative dates to CourseWaffleFlag
2021-04-14 06:17:08 -07:00
Usama Sadiq
e769573bb6
use pylint-pytest 0.3.0 version
2021-04-14 17:40:41 +05:00
Awais Qureshi
2be5184e38
BOM-2340
...
Testing pylint-pytest package
2021-04-14 17:40:18 +05:00