Commit Graph

66833 Commits

Author SHA1 Message Date
Tim McCormack
afe93559b9 Revert "build: Python requirements upgrade and lxml build without binary (#34…" (#34661)
This reverts commit 52adce48d1 because we were getting this in the build pipeline:

```
WARNING: lxml 5.2.1 does not provide the extra 'html-clean'
ERROR: Exception:
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
    status = self.run(options, args)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
    return func(self, options, args)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 315, in run
    requirement_set = resolver.resolve(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
    result = self._result = resolver.resolve(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 221, in _attempt_to_pin_criterion
    satisfied = all(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 222, in <genexpr>
    self._p.is_satisfied_by(requirement=r, candidate=candidate)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 178, in is_satisfied_by
    return requirement.is_satisfied_by(candidate)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/requirements.py", line 84, in is_satisfied_by
    assert candidate.name == self.name, (
AssertionError: Internal issue: Candidate is not for this requirement lxml[html-clean,html-clean] vs lxml[html-clean]
WARNING: You are using pip version 21.2.1; however, version 24.0 is available.
You should consider upgrading via the '/edx/app/edxapp/venvs/edxapp/bin/python -m pip install --upgrade pip' command.
```
2024-04-29 21:06:45 +00:00
Feanil Patel
e52f28385d Merge pull request #34657 from openedx/feanil/upgrade-edx-codejail-45cd459
feat: Upgrade Python dependency edx-codejail
2024-04-29 15:54:19 -04:00
Feanil Patel
1f7facc8e4 Merge pull request #34660 from openedx/feanil/upgrade-enmerkar-underscore-3f7ac2c
feat: Upgrade Python dependency enmerkar-underscore
2024-04-29 15:20:20 -04:00
edX requirements bot
52adce48d1 build: Python requirements upgrade and lxml build without binary (#34655)
* build: build lxml without binary in requirements and CI workflows
---------
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2024-04-29 23:48:57 +05:00
feanil
d954141fa4 feat: Upgrade Python dependency enmerkar-underscore
Update to a Python 3.11 compatible version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-29 18:30:06 +00:00
Alexander J Sheehan
3f7ac2c620 Merge pull request #34659 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-45cd459
feat: Upgrade Python dependency edx-enterprise
2024-04-29 14:03:01 -04:00
alex-sheehan-edx
504068f67b feat: Upgrade Python dependency edx-enterprise
enterprise version bump 4.16.5

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-29 17:33:02 +00:00
Kyle McCormick
85d726f797 feat!: remove SkillTaggingMixin from common XBLOCK_MIXINS (#34530)
Skill tagging [1] is not a core feature, and it is not installed into core
requirements, evidenced by the fact that a try-except clause must be used to
import it into common settings. Setting overrides like this should be made in
each operator's private settings file rather than the upstream common settings
file.

BREAKING CHANGE: Operators who install the xblock-skilltagging package will
need to add SkillTaggingMixin to XBLOCK_MIXINS_EXTRA (or XBLOCK_MIXINS) in a
private settings/YAML file, as it will no longer be done automatically in
common settings. The README for xblock-skilltagging has an example [2]

[1] https://github.com/openedx/xblock-skill-tagging
[2] https://github.com/openedx/xblock-skill-tagging?tab=readme-ov-file#configuration
2024-04-29 13:29:47 -04:00
connorhaugh
674c3edaab Revert "Revert "Revert "temp: trace celery tasks in dd"" (#34563)" (#34578)
This reverts commit ebe36a2957.
2024-04-29 13:09:43 -04:00
feanil
fbdae763a0 feat: Upgrade Python dependency edx-codejail
Update to a Python 3.11 compatible version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-29 16:17:21 +00:00
Saad Yousaf
45cd459dde feat: add flag for showing/hiding new discussion sidebar view on course home page. (#34561)
Co-authored-by: Saad Yousaf <saad.yousaf@A006-01048.local>
2024-04-29 12:57:49 +05:00
github-actions[bot]
70c5087562 feat: Upgrade Python dependency pytest (#34647)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-27 13:43:06 +05:00
github-actions[bot]
2b1578564f feat: Upgrade Python dependency xblock-drag-and-drop-v2 (#34646)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-27 00:35:48 +05:00
github-actions[bot]
d124bd2aca feat: Upgrade Python dependency edx-opaque-keys (#34645)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-27 00:23:12 +05:00
Navin Karkera
61b8961cdf fix: auto enroll users when added as staff (#32561)
The course team management section under Instructor > Membership tab
allows users to be added a role even if are not enrolled in the course.
This is behaviour does not match the help text displayed in the section.

This PR updates modify_access api to enrolls user if they are not enrolled
after adding them to a role as well as changes the help text to reflect
actual changes.
2024-04-26 13:16:32 -04:00
Usama Sadiq
734a5508ee fix: fix constraints path (#34638) 2024-04-26 21:15:51 +05:00
Ivan Niedielnitsev
30836729b7 feat: Implement Sidebar Navigation [FC-0056] (#34457)
This commit addresses to the need to add an API for Sidebar Navigation
that returns the course structure with sections, subsections, and
**units**, according to user access rules. (Previous outline requests
only went down to subsections.)

To improve the performance of the API, we cache the course structure
for a user, which makes it much easier to calculate the block structure
for the user at each request. However, there may be cases when this
caching can lead to an overflow of the cache storage in high-loaded LMS
with large courses, so the corresponding flag
"courseware.disable_navigation_sidebar_blocks_caching" was added so
that this caching can be disabled.
2024-04-26 12:04:42 -04:00
farhan
e99347eb08 chore: address PR request changes 2024-04-26 17:41:21 +05:00
Usama Sadiq
9630d4080a build: use constraints in scripts requirements as well (#34635) 2024-04-26 16:17:40 +05:00
Usama Sadiq
68fedc024a fix: pin path package version (#34631)
* fix: pin path<16.12.0
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-26 14:39:42 +05:00
farhan
6c4170b407 feat: Add repository rst files in the sphinx docs 2024-04-26 12:56:53 +05:00
Feanil Patel
9118c9ab9d Merge pull request #34628 from openedx/feanil/fix_tx_extraction
fix: Be able to extract translations again.
2024-04-25 23:30:52 -04:00
Feanil Patel
b7128a7e2d docs: Update conf/locale/config.yaml
Co-authored-by: Brian Smith <112954497+brian-smith-tcril@users.noreply.github.com>
2024-04-25 15:27:10 -04:00
Feanil Patel
d63e295e0e fix: Be able to extract translations again.
* The `conf/locale/en/LC_MESSAGES` folder does not get automatically
  created by other tooling so message extraction to that folder fails.

* The `gettext_fallback.js` file should not be getting picked up for
  translation since it's there only to be used when the the language
  gettext catalog is not available
2024-04-25 14:53:50 -04:00
Rômulo Penido
7fc6cd6755 feat: add usage_key to breadcrumbs in Studio search index (#34535) 2024-04-25 11:00:50 -07:00
github-actions[bot]
f51c161fbf feat: Upgrade Python dependency future (#34623)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 22:46:07 +05:00
github-actions[bot]
dfbc17ca6b feat: Upgrade Python dependency requests-oauthlib (#34624)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 22:45:45 +05:00
Chris Chávez
a33165aaa6 feat: bump openedx-learning to support tagging with multiple taxonomies at once (#34490) 2024-04-25 10:44:47 -07:00
github-actions[bot]
df7fb35867 feat: Upgrade Python dependency pytest-cov (#34621)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 22:33:00 +05:00
github-actions[bot]
988fd94a43 feat: Upgrade Python dependency regex (#34625)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 22:15:15 +05:00
Maria Grimaldi
809ffc3743 feat: connect teams with content groups using dynamic partition generator (#33788)
Implements the connection from the teams feature to the content groups feature. This implementation uses the dynamic partition generator extension point to associate content groups with the users that belong to a Team.

This implementation was heavily inspired by the enrollment tracks dynamic partitions.
2024-04-25 13:02:49 -04:00
Feanil Patel
69692c69d9 Merge pull request #34604 from openedx/feanil/upgrade-olxcleaner-5967dde
feat: Upgrade Python dependency olxcleaner
2024-04-25 12:19:03 -04:00
Justin Hynes
e2e014cab5 feat!: remove the clean_certificate_available_date mgmt cmd (#34596)
This PR removes the `clean_certificate_available_date` management command. Recently, a change was made to sync the end date of a course run with a display behavior of "end" as its certificate available date in the Credentials IDA. This change was made to resolve a long running issue with the Credentials IDA not displaying certificates to learners correctly on learner records when the display behavior is set to "end".

This management command, if run, would clear the certificate available date from the course certificate configurations in the Credentials IDA. This would be a regression based on the new functionality.  Other improvements have been made to ensure that updates made in the LMS properly flow to Credentials.

TL;DR -- this management command is no longer needed because of feature changes in edx-platform. Allowing this management command to run would break functionality for learners.
2024-04-25 12:02:34 -04:00
Zachary Hancock
3852358ca2 feat: feature setting to gate courseware search to verified enrollments (#34606)
Adds a Django setting that limits courseware search to users in a verified enrollment track.
2024-04-25 11:41:53 -04:00
github-actions[bot]
3fd8037357 feat: Upgrade Python dependency gunicorn (#34620)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 20:26:33 +05:00
github-actions[bot]
57ecea797e feat: Upgrade Python dependency faker (#34619)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 20:14:10 +05:00
github-actions[bot]
b837b3d9d8 feat: Upgrade Python dependency django-ses (#34618)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 20:12:33 +05:00
github-actions[bot]
0a43e330e6 feat: Upgrade Python dependency django-filter (#34617)
fix: upgrade django-filter

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 19:16:21 +05:00
github-actions[bot]
0b9f94155c feat: Upgrade Python dependency diff-cover (#34615)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2024-04-25 18:43:37 +05:00
Muhammad Ammar
f59c6c8956 Merge pull request #34611 from openedx/muhammad-ammar/upgrade-edx-enterprise-c37e976
feat: Upgrade Python dependency edx-enterprise
2024-04-25 18:11:09 +05:00
github-actions[bot]
589892ffec feat: Upgrade Python dependency packaging (#34614)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 18:03:14 +05:00
muhammad-ammar
7e5049cfc6 feat: Upgrade Python dependency edx-enterprise
chore: upgrade edx-enterprise to 4.16.4

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-25 16:42:04 +05:00
github-actions[bot]
142d08a0e8 feat: Upgrade Python dependency pytest (#34612)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 16:29:44 +05:00
github-actions[bot]
18c2e8f6c9 feat: Upgrade Python dependency django-model-utils (#34610)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-25 16:24:08 +05:00
Glib Glugovskiy
c37e9765ef feat(mobile_api): Add course access object to mobile course info API (#34273)
* feat: include access serializer into mobile info api view

* test: add tests for serializer and view methods

* test: move tests to common directory and update test case

* fix: cr fixes and use snake case for functions

* test: fix additional get call assertion

* feat: add required course access messages to mobile endpoint

* test: [AXM-229] Improve test coverage

* style: [AXM-229] Try to fix linters

* fix: remove redundant comment

* refactor: change names for the test files

---------

Co-authored-by: KyryloKireiev <kirillkireev888@gmail.com>
2024-04-25 13:13:43 +05:00
Ahtisham Shahid
e76fee1521 fix: resolved key error (#34608) 2024-04-25 02:25:00 +05:00
iloveagent57
d90bdba172 feat: Upgrade Python dependency edx-enterprise
fix: fix the PATCH method of ``EnterpriseCourseEnrollmentView``. edx-enterprise 4.16.2

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-24 12:38:33 -04:00
Usama Sadiq
e91029202e feat: update django-countries (#34603)
* feat: Upgrade Python dependency django-countries (#34602)
---------
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-24 21:34:32 +05:00
feanil
d6707d46e0 feat: Upgrade Python dependency olxcleaner
Update to a Python 3.11 compatible version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-04-24 16:30:20 +00:00
ruzniaievdm
5967ddea37 fix: provide with can_paste_component in serializers (#34521) 2024-04-24 11:25:26 -04:00