Commit Graph

59161 Commits

Author SHA1 Message Date
Kyle McCormick
599d663779 Add option to backfill org data as inactive
Add an `--inactive` option to the
`bulk_add_orgs_and_org_courses` management
command, which causes the backfill to set
`active=False` on all rows created in the
Organization and OrganizationCourse tables.

This will lower the potential data
integrity risk to production systems
such as courses.edx.org.

Upgrade edx-organizations to 6.6.0

TNL-7774
2021-01-06 16:00:41 -05:00
Carla Duarte
492ce7f217 Merge pull request #25975 from edx/ciduarte/AA-545
AA-545: Include has_scheduled_content in StartDateTransformer
2021-01-06 15:09:48 -05:00
edX cache uploader bot
830ca33564 Updating Bokchoy testing database cache (#25996) 2021-01-07 00:19:47 +05:00
Kyle McCormick
70f910935c Improve backfill_orgs_and_org_courses output formatting (#25880)
The output was previously surfaced via `log.info` calls.
Given that the command is reporting on thousands of records,
that ended up being very difficult to parse.
Instead, print one organization or org-course linkage
per line.

Add example run of command with output to command
class docstring.

TNL-7774
2021-01-06 13:23:19 -05:00
Awais Jibran
5a04fb66ff quality fixes 2021-01-06 22:08:50 +05:00
Ahtisham Shahid
b2466c8c2b Error incase of disabled user social login
Updated status code and manage user func

update auth verification

Fixed auth condition

fixed test failuers

fixed style issues

fixed style issues

Created test for auth disabled use

Code refactor

Fixed form ain auth exchange

Fixed oauth apps with disabled user fail

applied quality fixes

Refactored tests

fixed quality issues

removed extra files

Fixed linter issues

Fixed linter issues
2021-01-06 20:37:01 +05:00
Awais Jibran
159031adc9 quality fixes 2021-01-06 20:23:16 +05:00
Awais Qureshi
6adbbd2240 Merge pull request #25990 from edx/awais786/axios-ssrf
Upgrading axios to latest
2021-01-06 20:10:52 +05:00
Zachary Hancock
777c4f94fe proctoring version bump (#25995) 2021-01-06 09:59:05 -05:00
Dillon Dumesnil
6e2da06e46 Merge pull request #25986 from edx/ddumesnil/aa-501
AA-501: Use hidden blocks to determine past due status
2021-01-06 06:49:32 -08:00
Dillon Dumesnil
e17e691d54 AA-501: Use hidden blocks to determine past due status
Blocks that were hidden by access checks would not be used when
calculating past due status for a unit. This adds in a check to
still look at those blocks, but will maintain not rendering them
when being accessed via the MFE
2021-01-06 14:11:03 +00:00
Peter Pinch
285ec771bf fix: Remove CAS settings (#25330)
part of DEPR-6
2021-01-06 08:15:35 -05:00
Awais Jibran
7e20cf2215 Provide logo URL from the backend 2021-01-06 17:30:13 +05:00
irfanuddinahmad
b59f0c9dab Merge pull request #25993 from edx/iahmad/ENT-3688-2
ENT-3688: Updated requirements for edx-enterprise
2021-01-06 15:48:42 +05:00
irfanuddinahmad
c4954d42ec Updated requirements for edx-enterprise 2021-01-06 15:20:56 +05:00
Usama Sadiq
3626c3b91f Merge pull request #25989 from edx/jenkins/upgrade-python-requirements-44d97d7
Python Requirements Update
2021-01-06 13:05:49 +05:00
Awais Qureshi
1277a05864 ARCHBOM-1657
Fixing axios SSRF vulnerability in edx-platform.
2021-01-06 11:39:25 +05:00
Ali-D-Akbar
a5982c7e09 PROD-2160 2021-01-06 11:36:36 +05:00
Ali-D-Akbar
4a54aa8054 PROD-2157 2021-01-06 11:36:36 +05:00
azanbinzahid
cd1d07b081 PROD-2210 2021-01-06 11:36:36 +05:00
azanbinzahid
6c514eb9dc PROD-2200 2021-01-06 11:36:36 +05:00
azanbinzahid
6d7752b5c1 PROD-2212 2021-01-06 11:36:36 +05:00
azanbinzahid
3ed0f7d8ea PROD-2196 2021-01-06 11:36:36 +05:00
azanbinzahid
bee77a2c7f PROD-2190 2021-01-06 11:36:36 +05:00
azanbinzahid
7c60e39a72 PROD-2184 2021-01-06 11:36:36 +05:00
azanbinzahid
17261b9886 PROD-2143 2021-01-06 11:36:36 +05:00
azanbinzahid
7788b9ea62 PROD-2185 2021-01-06 11:36:36 +05:00
Ali-D-Akbar
f45b526692 PROD-2188
PROD-2188
2021-01-06 11:36:36 +05:00
azanbinzahid
e26f8f223a PROD-2210 2021-01-06 11:36:36 +05:00
edX requirements bot
d5dc3b9e45 Updating Python Requirements 2021-01-05 23:55:16 -05:00
Matthew Piatetsky
101c9b6633 Remove uses of the active field on the schedule model in the code.
Removing the active field from the model itself and the database is broken out into a separate ticket (AA-574)
AA-488
2021-01-05 18:25:44 -05:00
Awais Qureshi
44d97d72f1 Merge pull request #25799 from edx/awais786/make-docs
Fixing make docs issue
2021-01-06 01:09:09 +05:00
Carla Duarte
03846e229d AA-545: Include has_scheduled_content in StartDateTransformer 2021-01-05 15:06:24 -05:00
Awais Qureshi
c4ae96d000 Running makeupgrade 2021-01-06 00:35:33 +05:00
Michael Terry
c3baf5c19e Merge pull request #25972 from edx/mikix/banner-cta-tweaks
AA-505: Some design updates for courseware "shift dates" UI
2021-01-05 13:28:37 -05:00
Igor Degtiarov
acbefd1079 Extend appropriate proctoring exam modes if provider allows it. (#25927)
The honor enrollment mode is widely used in OpenEdx installations,
and recently it was not allowed for proctoring exam, but very anticipated.

Current PR makes it possible to start the proctoring exam in the honor enrollment
mode in case the provider is configured in that way.
2021-01-05 13:20:35 -05:00
Alex Dusenbery
3cd212ee70 Bump edx-enterprise to 3.16.7. Modifies the learner portal enterprise_course_enrollments endpoint to include an is_enrollment_active key that indicates the status of the enterprise enrollment's related student.CourseEnrollment. Allow the endpoint to optionally accept an ?is_active query param, so that clients may request only active enrollments from it. 2021-01-05 12:55:06 -05:00
Awais Qureshi
1f616f6fcd Fixing make docs
Adding constraint on sphinx.
2021-01-05 22:42:01 +05:00
Naeem Ilyas
62ce0ed7fc Fix incompatible division
While deleting a post, the number of comments are retrieved where API reports wrong number of total pages due to PY3 incompatible division:

response.data["pagination"]
{'previous': None, 'count': 3, 'num_pages': 1.02, 'next': 'http://apros.devstack.lms?ajax=1&page=2'}

Which results in PageNotFoundError:

is_thread)):
  File "/edx/src/discussion-edx-platform-extensions/social_engagement/engagement.py", line 382, in _get_paginated_results
    has_next = response.data["pagination"]["next"]
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/rest_api/views.py", line 526, in retrieve
    form.cleaned_data["requested_fields"],
  File "/edx/app/edxapp/edx-platform/lms/djangoapps/discussion/rest_api/api.py", line 1074, in get_response_comments
    raise PageNotFoundError("Page not found (No results on this page).")
openedx.core.lib.exceptions.PageNotFoundError: Page not found (No results on this page).
2021-01-05 20:13:09 +05:00
Usman Khalid
75391262da [BD-04] Convert SplitTest XModule to XBlock. (#25696) 2021-01-05 09:55:14 -05:00
irfanuddinahmad
b5438c52b7 Merge pull request #25982 from edx/iahmad/ENT-3688
ENT-3688: Updated requirements with new edx-enterprise version
2021-01-05 17:32:47 +05:00
irfanuddinahmad
49292d65a3 Fixed test data 2021-01-05 16:18:21 +05:00
Ali Akbar
40fdf46f81 update after IM security fixes 3 (#25983) 2021-01-05 16:12:05 +05:00
Muhammad Soban Javed
dd534a90e5 Added celery task documentation (#25926)
* Added celery task documentation
2021-01-05 14:32:52 +05:00
edX requirements bot
5c186507c3 Python Requirements Update (#25977)
* Updating Python Requirements

* Fixing test failure.

* Update timezone count for new pytz version

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
Co-authored-by: usamasadiq <usama.sadiq@arbisoft.com>
2021-01-05 14:12:03 +05:00
Saad Yousaf
c9c2c3b8e4 Merge pull request #25963 from edx/saad/TNL-7749
[TNL-7749] - Remove italic styling for warning msg on expired state for ID verification card (Rebrand).
2021-01-05 14:07:24 +05:00
irfanuddinahmad
6e7c23d1cb Updated requirements with new edx-enterprise version 2021-01-05 13:58:54 +05:00
SaadYousaf
0809b6338e [TNL-7749] - Remove italic styling for warning msg on expired state. 2021-01-05 13:34:56 +05:00
edx-pipeline-bot
0b4fe3bfc3 Merge pull request #25980 from edx/private_to_public_d93abb8
Mergeback PR from private to public.
2021-01-05 02:39:44 -05:00
Ali-D-Akbar
6cdcfb9f72 Merge branch 'master' into private_to_public_d93abb8 2021-01-05 11:43:25 +05:00