Commit Graph

62844 Commits

Author SHA1 Message Date
Tim McCormack
be80f2788e test: Remove unneeded signing key from CMS dev/test environments (#32082)
This key should only be needed by the LMS, as the CMS uses OAuth login and
maintains its own session.
2023-04-18 13:37:13 +00:00
Usama Sadiq
0ec7b8cc30 fix: fix make upgrade job and _mysql issue (#32084)
* fix: upgrade pip & pip-tools versions
* fix: install libmysqlclient-dev system package again
* fix: skip reinstalling mysqlclient package
* fix: add pytz package constraint

---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-04-18 18:10:01 +05:00
Mohammad Ahtasham ul Hassan
2a7b400770 fix: fix buy_subscription_url to use get method (#32079)
* fix: fix buy_subscription_url to use get method
2023-04-18 15:31:32 +05:00
Tim McCormack
b852344fcf build: Deduplicate mismatched pip.txt files that caused build failure (#32081)
There was a `requirements/pip.txt` with old versions, and a newer
`requirements/edx/pip.txt` managed via a `pip.in` file. The old one was
used in most places, but came out of sync with pip-tools.txt, which was
managed properly. Eventually this caused a `pip check` failure due to the
mismatch.

This should resolve at least part of https://github.com/edx/edx-arch-experiments/issues/267

This PR moves pip.in and pip-tools.in and their corresponding pin files
up to the `requirements/` dir, since they should be shared between the edx
and sandbox environments. This also has the effect of upgrading pip to
match the version in the file we've been uselessly upgrading.

Other improvements:

- Remove `-q` option from pip and pip-sync calls, as it was hiding some
  debugging information that would have resolved this sooner.
- Depend on `pre-requirements` from `compile-requirements`, rather than
  from `upgrade`. (The base target is the one that actually needs it.)
  This also lets us remove the explicit `pip install pip-tools` line.
- Install the recompiled pip and pip-tools files right away, not after the
  loop. When we upgrade pip-tools, we want to use the upgraded version,
  not the previous version. This requires moving the pip-tools.txt
  recompilation outside of the loop and into its own explicit line.
- Don't upgrade pip if we're not running `make upgrade` (respect the
  compile options).
- Remove apparently-unneeded `--no-emit-trusted-host --no-emit-index-url`
  options (we don't pass trusted-host or index-url options).
2023-04-17 17:21:48 +00:00
Braden MacDonald
2dc79bcab4 feat: New django app for copying and pasting OLX content in Studio (#31904)
[FC-0009]
2023-04-14 11:41:41 -07:00
Jansen Kantor
de047cd6f9 feat: add assignment type count warning (#32068)
* feat: add assignment type count warning

* style: quality
2023-04-14 12:26:29 -04:00
Mohammad Ahtasham ul Hassan
e973266b2f feat: fetch program subscription details (#32023)
* feat: fetch program subscription details
2023-04-14 16:33:12 +05:00
SaadYousaf
dc63e525f8 feat: add platform notification app and models 2023-04-14 14:32:17 +05:00
Tim McCormack
d7f9fc3023 feat: Upgrade edx-django-utils to 5.4.0 and add CSP middleware (#32061) 2023-04-13 21:00:22 +00:00
sundasnoreen12
87070d7a5a Merge pull request #32065 from openedx/sundas/INF-854
fix: updated text for info banner
2023-04-13 00:51:39 -07:00
Ali Nawaz
9c06ef5c17 chore: log the user triggering the retirement flow
chore: change user retirement permissions to allow support staff
2023-04-13 02:29:39 +05:00
Jenkins
1436125864 chore: geoip2: update maxmind geolite country database 2023-04-12 16:58:40 -04:00
Zachary Hancock
ed7924361a chore: update lti-consumer-xblock (#32064) 2023-04-12 14:09:03 -04:00
sundasnoreen12
7cbfb2d8b0 fix: updated text for info banner 2023-04-12 22:39:59 +05:00
Tim McCormack
20f889145a chore: Upgrade edx-drf-extensions (and edx-django-utils, apparently) (#32056)
This brings in some JWT verification monitoring.

This also includes a delayed upgrade of `edx-django-utils`, which had been manually and incompletely bumped in some previous PR.
2023-04-12 14:32:46 +00:00
Zachary Hancock
d622db59b7 feat: update xblock-lti-consumer (#32050) 2023-04-11 11:02:47 -04:00
Brian Citro
8e6e299715 Merge pull request #32049 from openedx/bcitro/ENT-7005
chore: bump edx-enterprise version to 3.61.11
2023-04-11 09:54:31 -04:00
Brian Citro
604ba5d067 chore: bump edx-enterprise version to 3.61.11 2023-04-11 09:15:30 -04:00
Mubbshar Anwar
3b991e6620 Revert "refactor: recommendations code refactoring (#31990)" (#32047)
This reverts commit 20b1e65c21.
2023-04-11 11:17:29 +05:00
Robert Raposa
6cae1fa429 feat: allow for forcing asymmetric jwts (#32045)
Add a temporary feature toggle to force the LMS to
only produce asymmetric JWTs. This is a part of
DEPR of Symmetric JWTs:
https://github.com/openedx/public-engineering/issues/83
2023-04-10 14:46:44 -04:00
Alexander J Sheehan
1e35bc10eb Merge pull request #32044 from openedx/asheehan-edx/bump-enterprise-3.61.10
chore: bumping enterprise package version to 3.61.10
2023-04-10 12:31:04 -04:00
Alexander J Sheehan
70b9bb9c14 chore: bumping enterprise package version to 3.61.10 2023-04-10 15:40:42 +00:00
Mubbshar Anwar
20b1e65c21 refactor: recommendations code refactoring (#31990)
After moving the recommendations code from learner_home to learner_recommendations we need to remove the legacy code.
Point the learner dashboard recommendations API from legacy to new endpoint.

VAN-1310
2023-04-10 15:31:37 +05:00
Jenkins
098b7de8f5 chore(i18n): update translations 2023-04-09 17:03:56 -04:00
Ben Warzeski
0fb7a807e8 Bw/video fb share (#32041)
* feat: video block fb share

* feat: video linkedin share
2023-04-07 19:22:33 +00:00
Sathis
714b6cb109 fix: Allow download url in video component when MP4/WEBM format is available
When creating a new video component in Studio and specifying an HLS URL and MP4 URL along with setting Video Download Allowed equal to True the download link for MP4 has to be shown.

Fixes: https://github.com/openedx/edx-platform/issues/31300
2023-04-07 10:47:38 -05:00
Ben Warzeski
54c3a4c59b feat: video block fb share (#32037)
* feat: video block fb share

* feat: video linkedin share
2023-04-07 15:02:39 +00:00
Jody Bailey
ba1c018a2e feat: Cross Product Recommendations Logic (#32003)
* feat: added get_cross_product_recommendations method

* feat: Cross Product Recommendations Logic

* fix: lint errors

* fix: removed unused utility method get_programs_based_on_course

* fix: lint errors

* fix: views test case removed decorator

* fix: edited serializer to no longer extend from existing

* fix: included mocked data for tests and handled empty discovery responses

* fix: removed settings import

* test: add module docstring

* test: removed log resultitng in failure

* fix: moved recommendations dictionary to settings variable

* fix: cleaned up logic for Cross Product Recommendations view

* refactor: requested changes to view and serializer tests

* fix: fixed list passed into serializer in cross product view

* fix: added query string to course query and removed production course keys

* fix: moved query string argument value to separate variable
2023-04-07 13:17:17 +02:00
Ahtisham Shahid
bbcd3124a6 fix: added delay of 30sec to update_discussions_settings_from_course_task (#32038)
* fix: added delay of 30sec to update_discussions_settings_from_course_task

* fix: resolved linter issues
2023-04-07 15:09:04 +05:00
Ahtisham Shahid
0815d7a0cd fix: skip update_discussions_settings_from_course_task if rerun is not completed (#32036) 2023-04-06 18:30:45 +00:00
Tim McCormack
ce3d1a3207 feat: Stop code owner mapping script with error when URL can't be matched (#32012)
We don't actually review the output of this script for warnings, and had
been missing a mapping. This turns it into an error so we'll notice in the
future.
2023-04-06 16:19:46 +00:00
Demid
63d49d3ad6 feat: feature flag to disable Advanced Settings (#32015) 2023-04-06 18:34:22 +05:30
Jeremy Ristau
b94f196821 Merge pull request #31483 from regisb/patch-1
docs: fix link to devops forum category
2023-04-06 08:31:00 -04:00
Régis Behmo
dee166d417 docs: fix link to devops forum category 2023-04-06 10:17:25 +02:00
Ahtisham Shahid
f83d8c7059 fix: changed rerun task sequence (#32035) 2023-04-05 22:36:17 +00:00
Ahtisham Shahid
d483d0df3d fix: changed rerun task sequence (#32033) 2023-04-05 16:17:04 +00:00
Hamzah Ullah
599d5d054c chore: Bump edx-enterprise version to 3.61.9 (#32031) 2023-04-05 10:49:51 -04:00
Ahtisham Shahid
8eb324ae51 fix: added disucssions task in course rerun from publisher (#32028) 2023-04-05 11:56:14 +05:00
Isaac Lee
b0da68aa3a fix: resubmit IDV attempts for early march 2023 (#31999)
* fix: resubmit IDV attempts for early march 2023

- initial commit w/ direct copy of retry_failed_photo_verifications.py

* fix: resubmit IDV attempts for early march 2023

- corrected filter and comments

* feat: re-submit in date range

* feat: reworked other command instead

* temp: building tests

* test: unit test complete

* fix: quality

* fix: remove old file

* temp: building tests

* temp: tests w/ debug

* test: reverted old files + removed debug

* chore: quality

* chore: NITs
2023-04-04 15:38:34 -04:00
Muhammad Soban Javed
8a5ecd68b8 fix: remove DJANGO_SETTINGS_MODULE env from Dockerfile (#32013)
* fix: remove DJANGO_SETTINGS_MODULE env from Dockerfile

This variable is being removed from development target of Dockerfile because, we are using `EDX_PLATFORM_SETTINGS` env variable for picking settings file to use with Django management commands. When
this env variable is set to `lms.envs.devstack_docker`, with dev image being used with devstack, it picks that settings for running tests too as it has higher precedence than the settings in ini
file. So removing this, so the test settings can be picked from ini file.

* fix: move apt dependencies in base layer

Previously, git and build-essentials were being installed in builder-production layer so these depenedencies were not available in the dev images that are being used as LMS and Studion devstack
images. So moving these dependencies to base layer so it is pre-installed in devstack images.
2023-04-04 16:06:34 +05:00
Jansen Kantor
cfc0e43eeb fix: remove field filtering on catalog lookup (#32022)
* fix: remove field filtering on catalog lookup

* style: quality
2023-04-03 15:22:39 +00:00
Jenkins
9caa31bb06 chore(i18n): update translations 2023-04-02 17:04:08 -04:00
Jansen Kantor
0ec8939eac fix: owner -> owners (#32016) 2023-03-31 14:49:18 +00:00
Rebecca Graber
d8769e8347 feat: switch order of removal of revoked and expired tokens in dot cleanup (#32010) 2023-03-30 12:34:00 -04:00
Jansen Kantor
2f64020259 feat: get info from catalog service (#32009) 2023-03-30 12:01:51 -04:00
Attiya Ishaque
bb9d0b27c0 fix: fix subject email and body html code (#31995) 2023-03-30 16:00:11 +05:00
Ahtisham Shahid
906744e86b fix: added delay in topic creation task (#32008) 2023-03-30 14:57:31 +05:00
Syed Sajjad Hussain Shah
6469077a47 feat: send skipRegistrationForm with providers (#32001)
VAN-1318

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-03-30 13:58:06 +05:00
Jenkins
3bacb42d29 chore: geoip2: update maxmind geolite country database 2023-03-29 16:58:41 -04:00
Alexander J Sheehan
f6cb7205f0 Merge pull request #32005 from openedx/asheehan-edx/bumping-enterprise-version-3.61.8
chore: bumping enterprise version 3.61.8
2023-03-29 15:56:49 -04:00