Commit Graph

60084 Commits

Author SHA1 Message Date
Bianca Severino
12cdfa6201 Merge pull request #28927 from edx/bseverino/same-name-change
[MST-1105] Prevent name change request if requested name is identical to existing name
2021-10-06 11:07:40 -04:00
Eugene Dyudyunov
7f40e3aa60 fix: course search sidebar filters (#28708)
Elasticsearch7 returns `aggs` instead of `facets`,
fixed elasticsearch response parsing on the FrontEnd.

YT: https://youtrack.raccoongang.com/issue/RGOeX-413
2021-10-06 11:04:52 -04:00
Bianca Severino
e9d22fc190 fix: prevent name change request if requested name is identical to the existing name 2021-10-06 10:01:23 -04:00
alangsto
a06ce27f9d chore: update edx-proctoring version (#28937) 2021-10-06 08:56:14 -04:00
Aarif
b51201beb6 fix: updated the migrations workflow to run on ubuntu 18 so we can run migrations against mysql 5.7 (#28935) 2021-10-06 17:46:57 +05:00
edX requirements bot
35ea4d8312 chore: Updating Python Requirements
* chore: Updating Python Requirements

* Update base.txt

* Update development.txt

* Update testing.txt

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2021-10-06 17:43:26 +05:00
edX requirements bot
e8d43032d6 chore: Updating Python Requirements (#28949)
* chore: Updating Python Requirements

* Update base.txt

* Update development.txt

* Update testing.txt

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2021-10-06 16:40:09 +05:00
Awais Jibran
aac6c4c4cb fix: default discussion config (#28900)
* fix: default discussion config

* refactor: add closing bracket

Co-authored-by: Asad <asadazam93@gmail.com>
2021-10-06 16:37:16 +05:00
Alexander J Sheehan
ad9de1c375 Merge pull request #28942 from edx/asheehan-edx/bumping-enterprise-3-30-1
maint: bumping enterprise version to 3.30.1
2021-10-05 16:18:53 -04:00
Alexander Sheehan
b75f958654 feat: bumping enterprise version to 3.30.1 2021-10-05 14:21:42 -04:00
Robert Raposa
f3e5838b89 docs: update unexpected_multiple_exceptions comment (#28939)
Update the unexpected_multiple_exceptions comment based on findings
from monitoring since this was originally released.
2021-10-05 14:08:22 -04:00
Diana Huang
849dd693cf fix: Add back in dummy locales for unit test. (#28938)
Clear old files before regenerating them.
2021-10-05 13:52:27 -04:00
João Victor Martins
1fc33070c3 docs: Add ADR for LTI tools in content libraries 2021-10-05 10:11:06 -07:00
Muhammad Soban Javed
d70c8ab968 Merge pull request #28680 from edx/iamsobanjaved/jsonfield-switch
feat: replace jsonfield2 with jsonfield
2021-10-05 22:03:30 +05:00
Muhammad Soban Javed
e58cae34e1 Merge pull request #28796 from edx/iamsobanjaved/django30-lang-BOM-2783
fix: use language preference from cookie instead of from session
2021-10-05 18:43:57 +05:00
Aarif
7d2cc016ec fix: added type annotations to fix mypy failure in CI (#28933) 2021-10-05 17:04:11 +05:00
Awais Qureshi
81bf0f75c9 chore: removing drf-jwt pin and checking tests. (#28516)
* chore: removing drf-jwt pin.
2021-10-05 16:50:14 +05:00
Muhammad Soban Javed
db42b25955 Merge pull request #28936 from edx/jenkins/upgrade-python-requirements-dd591db
Python Requirements Update
2021-10-05 16:47:35 +05:00
edX requirements bot
2bf8afa96b chore: Updating Python Requirements 2021-10-05 16:40:43 +05:00
Soban Javed
dd591dba55 feat: replace jsonfield2 with jsonfield
- updating all packages
- added migrations
2021-10-05 16:30:43 +05:00
Awais Qureshi
2318d7c857 Merge pull request #28934 from edx/fixing-pylint-warning
chore: disable pylint warning.
2021-10-05 14:47:24 +05:00
Awais Qureshi
55c69c5e5b chore: disable pylint warning. 2021-10-05 14:08:03 +05:00
Awais Qureshi
4a9bd35f69 Merge pull request #28895 from edx/fixing-dj32-issue
fix: Fixing test csrf tests failures in django32.
2021-10-05 13:47:41 +05:00
Binod Pant
41f8759eab feat: edx-enterprise 3.28.23 and 3.28.24 (#28924)
ENT-4954 and ENT-5011

ENT-4954, ENT-5011

Checked with @mraarif regarding non required checks safe to merge
2021-10-04 16:36:26 -04:00
Zachary Hancock
ae0927713d fix: consistent error response on name change (#28866) 2021-10-04 16:32:34 -04:00
Aarif
c162a25045 fix: fixed build errors blocking django 3.1 and 3.2 tests (#28923) 2021-10-05 00:39:08 +05:00
Kshitij Sobti
9e787a09bc chore: remove dependency on rest_condition (#28663)
rest-condition has not been updated for a while, and with DRF 3.9 it is no longer needed since the ability to combine Permission classes using boolean operators is now provided by DRF directly.
2021-10-04 15:38:17 -04:00
Jason Myatt
a916123b04 Merge pull request #28705 from open-craft/mtyaka/FAL-782-course-home-link-to-mfe
Link on course about page should link to the learning MFE
2021-10-04 15:26:20 -04:00
Awais Qureshi
7374ecd4ba fix: Fixing test csrf tests failures in django32. 2021-10-04 23:28:20 +05:00
ha-D
d3bc4601ae feat: Add course-wide custom scripts
Imlements OEP-15 by adding two fields to the course settings:
- Course-wide Custom JS
- Course-wide Custom CSS
The resources defined in these fields will be rendered in all course pages.

Rebase b6cb629849..0578e1c4c6 onto b6cb629849:
- Add course-wide resources to API for MFE use
- Revert "Add course-wide resources to API for MFE use" reverts commit 53648dcf0afe3cd171c9dc2eb5e56b871b2bcfb2

Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2021-10-04 11:24:45 -07:00
Awais Qureshi
210f911395 Merge pull request #28920 from edx/iamsobanjaved/django-32-fake-lang-fix
fix: remove fake2 language from django settings
2021-10-04 23:06:40 +05:00
Régis Behmo
0af38bf2a7 build: run github actions on pull requests (#27786) 2021-10-04 21:29:18 +05:00
Soban Javed
44ddbdf925 fix: use cookies for storing language instead of session
- Fixed LANGUAGE_COOKIE settings name to LANGUAGE_COOKIE_NAME beacuse later is recognised by django
- Added test to verify cookies use in dark lang middleware
- Fixing Django 3.0 tests
2021-10-04 21:00:29 +05:00
Soban Javed
71debe7f7b fix: remove fake2 language from django settings
This was causing issue with Django 3.2, as Django has restricted to only use language from the pre-defined set of languages provided by Django.

BOM-2870
2021-10-04 20:44:18 +05:00
Kyle McCormick
6ea900cba6 docs: remove link to edX.org-internal coursegraph queries (#28918)
I had thought this wiki page was publicly accessible, but it
turns out that it is restricted to edX employees. Making the
page publicly visible would involve editing some queries
to remove edX.org-specific information, which is doable but
not something I can commit to right now.
2021-10-04 11:34:29 -04:00
Robert Raposa
e41520dbae feat: return user id from login_refresh (#28905)
To enhance monitoring of login_refresh issues that happen
in the frontend, return user id as part of successful
refreshes.
2021-10-04 11:00:07 -04:00
Awais Qureshi
fa959f1ed9 Merge pull request #28810 from edx/removing-cors-headers-checks
chore: `django-cor-headers` post deployment cleanup.
2021-10-04 17:12:47 +05:00
Awais Qureshi
9010e99a80 Merge pull request #28904 from edx/fixing-dj32-setuptestdata-tests
Fixing dj32 setuptestdata tests
2021-10-04 16:03:11 +05:00
Albert (AJ) St. Aubin
24548dd093 fix: Hide Request Cert button on courses with no Cert config 2021-10-04 07:01:26 -04:00
Muhammad Soban Javed
169349b6b1 Merge pull request #28896 from edx/iamsobanjaved/django30-fix-race-condition
fix: update test for race condition while saving course overview
2021-10-04 13:35:29 +05:00
Matjaz Gregoric
6434735f0e fix: course about should link to MFE
When not using the legacy frontend, the course about page should link
to the MFE instead of the legacy courseware view.
2021-10-04 10:19:42 +02:00
Awais Jibran
06b912e5db refactor: optimise imports (#28897) 2021-10-04 11:15:32 +05:00
Awais Qureshi
34a1cff178 fix: django32 2021-10-03 01:37:49 +05:00
Awais Qureshi
b3459b3589 fix: Fixing test due to the change in django32.
Objects assigned to class attributes in TestCase.setUpTestData() are now isolated for each test method.

https://docs.djangoproject.com/en/3.2/releases/3.2/#tests

BOM-2866
2021-10-02 17:04:03 +05:00
Awais Qureshi
c5f3d75c2b fix: Fixing test due to the change in django32.
Objects assigned to class attributes in TestCase.setUpTestData() are now isolated for each test method.

https://docs.djangoproject.com/en/3.2/releases/3.2/#tests

BOM-2866
2021-10-02 16:15:32 +05:00
Awais Qureshi
7eb00d63c5 fix: Fixing test due to the change in django32.
Objects assigned to class attributes in TestCase.setUpTestData() are now isolated for each test method.

https://docs.djangoproject.com/en/3.2/releases/3.2/#tests

BOM-2866
2021-10-02 00:45:38 +05:00
Awais Qureshi
aa16142659 fix: Fixing test due to the change in django32.
Objects assigned to class attributes in TestCase.setUpTestData() are now isolated for each test method.

https://docs.djangoproject.com/en/3.2/releases/3.2/#tests

BOM-2866
2021-10-02 00:45:18 +05:00
Chris Pappas
b0da341020 chore: bumping edx-enterprise version (#28901) 2021-10-01 13:45:21 -04:00
Kshitij Sobti
8d62b8db2b chore: pin version edx-drf-extensions until breaking changes addressed (#28893)
The edx-drf-extensions==8.0.0 release will remove support for rest_condition which is currently used by this repo.
That is being handled in https://github.com/edx/edx-platform/pull/28663 which will unpin this dependency
2021-10-01 12:51:33 -04:00
Kshitij Sobti
dd6e908635 feat: Add support for pinning and closing threads, adds a preview and a delete check field (#28809)
Adds support for pinning and closing threads to the current REST APIs for discusions.
Adds a preview_body field to the thread response that contains a truncated version of the raw body with tags removed so it can be shown in previews.
Adds a field called "can_delete" to threads and comments that signals if the current user is able to delete that resource.
2021-10-01 19:57:12 +05:00