Commit Graph

62682 Commits

Author SHA1 Message Date
Feanil Patel
f8e3fd35dc build: Creating a missing workflow file add-remove-label-on-comment.yml.
The .github/workflows/add-remove-label-on-comment.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2023-02-23 15:34:09 -05:00
Feanil Patel
faf5fc28b8 build: Creating a missing workflow file self-assign-issue.yml.
The .github/workflows/self-assign-issue.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2023-02-23 15:34:08 -05:00
John Nagro
4636d51538 feat: release edx-enterprise 3.61.3 (#31822) 2023-02-23 10:20:06 -05:00
Awais Qureshi
ebdcf2f34e fix: Adding boto3 exceptions. (#31802)
* fix: Adding boto3 exceptions
2023-02-23 13:30:42 +05:00
Arunmozhi
2b59265240 feat: adds VerticalBlockRenderCompleted filter hook (#31388)
* feat: adds VerticalBlockChildrenLoaded filter call

This introduces the VerticalBlockChildrenLoaded filter that is run after
all the child blocks are fetched before rendering a student or the
public view. This will allow modifying the contents of the VerticalBlock
before presenting it to the students.
2023-02-22 15:05:19 -04:00
Alexander J Sheehan
cf1eb18949 Merge pull request #31816 from openedx/asheehan-edx/bumping-enterprise-3.61.2
chore: bumping enterprise version to 3.61.2
2023-02-22 13:51:35 -05:00
Alex Sheehan
4aa5918194 chore: bumping enterprise version to 3.61.2 2023-02-22 18:03:16 +00:00
Pooja Kulkarni
08560c43cd Merge pull request #31718 from open-craft/pooja/install-xblock-poll-from-pypi
Install xblock-poll from pypi
2023-02-22 12:37:55 -05:00
Kyle McCormick
72e0043d1d refactor!: remove unused provisioning scripts (#31811)
These scripts were written to replace some of the
Ansible provisioning steps in Devstack,
before tCRIL's focus turned to Tutor.

These scripts never ended up being used by Devstack, but
Devstack's maintainers did end up replacing
the Ansible provisioning steps with some direct
Bash commands in Devstack's provision-lms.sh:
23e16c1dda/provision-lms.sh (L51-L68)

Tutor has its own user & course provisioning scripts,
written in Sh using Tutor's jobs framework.

Thus, these scripts are no longer needed and do
not seem to be in use.
2023-02-22 11:22:12 -05:00
Navin Karkera
5ed5cc5bc1 feat: put sending xblock events over bus behind feature flag (#31813) 2023-02-22 11:03:24 -05:00
Alexander J Sheehan
94a6e8dee4 Merge pull request #31815 from openedx/asheehan-edx/bumping-enterprise-3.61.1
chore: bumping enterprise version 3.61.1
2023-02-22 10:57:47 -05:00
Alex Sheehan
e73bfddbd8 chore: bumping enterprise version 3.61.1 2023-02-22 15:32:18 +00:00
Pooja Kulkarni
40804f774a chore: install xblock-poll from pypi 2023-02-22 10:31:36 -05:00
Kyle McCormick
b140b7e481 refactor!: remove unused update-assets-dev.sh (#31810)
The file was introduced as part of the "decentralized devstack" spike.
We wanted a working Dockerfile in the edx-platform root,
and we wanted to speed it up by not relying on Paver.

edx-platform now has a working Dockerfile, and it does not use this script.

The paver-free-assets initiative is being continued here:
https://github.com/openedx/edx-platform/issues/31798
It will result in a new, prod-ready asset building script.
2023-02-22 10:29:51 -05:00
Pooja Kulkarni
0d22e4ec87 Merge pull request #31788 from open-craft/agrendalath/allow_using_all_rcb_components
feat: allow using all components of LibraryContentBlock
2023-02-22 09:53:26 -05:00
Kyle McCormick
f3b658dc0b build!: remove Jenkins CI scripts (#31812)
These files were used to run tests on
build.testeng.edx.org, a Jenkins instance.

All tests have since been moved over to
GitHub Actions. The build.testeng.edx.org
instance is decomissioned.

Removed files include:
- scripts/jenkins-*.sh
- scripts/Jenkinsfiles/*
- scripts/xdist/*

Note on xdist scripts: pytest-xdist in general is still
useful for local test runs in order to take advantage
of all available CPU cores, but the scripts here were
specifically for running tests on multiple remote machines,
particularly via Jenkins.
2023-02-22 09:14:48 -05:00
Ahtisham Shahid
33dc8e1f21 feat: added user messages and backed now uses discussion_enabled flag (#31716)
* refactor: simplified tasks.py for discussions

* fix: do not create a topic for the unpublished unit

* feat: added user messages and backed now uses discussion_enabled flag

* fix: update default for discussion_enabled flag

* feat: removed redundant tests and fixes
2023-02-22 12:41:02 +05:00
Alejandro Cardenas
7f90b5d3e1 feat: add SurveyReportUpload and add send report method (#31431)
* feat: add SurveyReportUpload and add send report method

* docs: Update openedx/features/survey_report/management/commands/generate_report.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* docs: Update openedx/features/survey_report/models.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* refactor: Update openedx/features/survey_report/models.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* style: Update openedx/features/survey_report/api.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* feat: add migratio file and update status field name

* refactor: rename send report method

* test: fix test errors

* test: add command options

* refactor: simple conditional instead of ok method

* fix: remove useless imports

* fix: use status code instead of status

* feat: add zapier endpoint

* style: solve pylint issues

* feat: add id field to send report data

* refactor: regenerate migration with correct history

* feat: add anonymous site id model

* feat: update zapier url

---------

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
Co-authored-by: Alejandro Cardenas <alejandrocardenas@Alejandros-MacBook-Pro.local>
2023-02-21 10:51:36 -05:00
Jenkins
9ed2688cb4 chore(i18n): update translations 2023-02-21 10:44:39 -05:00
Muhammad Adeel Tajamul
16842ec51a fix: remove empty topics for topics v2 as v1 (#31803)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-21 20:26:01 +05:00
edX requirements bot
2feed0ced7 chore: Updating Python Requirements (#31797) 2023-02-21 15:51:16 +05:00
SaadYousaf
4cc9bfb6cf fix: update response for marked events for discussion content 2023-02-21 15:39:35 +05:00
Awais Qureshi
31002ab0d5 feat!: Update from boto to boto3 storage backend. (#31759)
* feat!: Update from boto to boto3 storage backend
2023-02-21 14:26:54 +05:00
Syed Sajjad Hussain Shah
d694b70439 fix: recommend only available courses (#31773)
VAN-1306

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-21 09:04:08 +05:00
Jansen Kantor
d6f1fd54ac fix: video share improvements (#31792)
* feat: show poster thumbnail for social media preview

* fix: hide video downloads in public_view

* fixup! fix: hide video downloads in public_view

* test: fix failing video tests
2023-02-17 17:35:34 -05:00
Zachary Hancock
9522cbdc8b feat: gate exam content using access token (#31653)
Gate access to exam content by requiring an access token. This is a signed JWT issued by the edx-exams service that grants a user access to a sequence locator for a short lived window while an exam is in progress. This feature only applies to courses using the new exam service instead of edx-proctoring.
2023-02-17 10:00:52 -05:00
Jansen Kantor
3b1c049429 fix: player height (#31789) 2023-02-17 09:47:27 -05:00
Piotr Surowiec
ffc8c0217d Merge pull request #31491 from open-craft/farhaan/upstream-submission-history-api
feat: Added submission history API and extended enrollment API to support grading and finished flags.
2023-02-17 14:21:19 +01:00
Muhammad Ammar
6b5510610f Merge pull request #31713 from openedx/ammmar/upgrade-outcome-surveys
chore: upgrade outcome-surveys to 2.2.0
2023-02-17 17:24:38 +05:00
Agrendalath
a12c003215 feat: allow using all components of LibraryContentBlock
Setting max_count to a negative value resulted in raising an unhandled
ValueError. Currently, it selects all children of the LibraryContentBlock.
2023-02-17 12:49:33 +01:00
muhammad-ammar
787d46e5bf chore: upgrade outcome-surveys to 2.2.0 2023-02-17 16:30:56 +05:00
Usama Sadiq
67acedb71f chore: bump Django and edx-codejail versions (#31787) 2023-02-17 15:50:45 +05:00
edX requirements bot
2a7b65bd27 Merge pull request #31785 from openedx/jenkins/upgrade-python-requirements-dc7c74e
Python Requirements Update
2023-02-17 05:02:21 -05:00
Attiya Ishaque
bf36c42950 fix: [VAN-1292] Remove personalized recommendation cookie (#31748) 2023-02-17 13:45:29 +05:00
edX requirements bot
b279746009 chore: Updating Python Requirements 2023-02-17 02:40:38 -05:00
Farhaan Bukhsh
5e24f5de41 feat: Added grades API for submission history and section grades breakdown.
This feature helps to add submission history for each ProblemBlock in
the course. It also adds API for section grades breakdown, that gives
information about grades scored in each section of the course.

Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
2023-02-17 11:49:22 +05:30
Farhaan Bukhsh
76beb4e425 fix: Fixed pagination issue with enrollment api.
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
2023-02-17 11:49:22 +05:30
Jansen Kantor
dc7c74e890 fix: hide download urls and fix margin for video embed view (#31784)
* fix: hide all download links if embed

* style: remove embed margin

* test: fix failing video context tests
2023-02-16 21:17:03 -05:00
Muhammad Adeel Tajamul
b85929e2ee feat: added stats at subsection in topics v3 api (#31763)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-17 06:51:07 +05:00
Alexander J Sheehan
50dc22ff46 Merge pull request #31783 from openedx/asheehan-edx/downgrade-enterprise-3.60.21
fix: downgrading enterprise version to 3.60.21
2023-02-16 14:58:16 -05:00
Alex Sheehan
de28d61215 fix: downgrading enterprise version to 3.60.21 2023-02-16 19:29:33 +00:00
Jansen Kantor
5436136609 feat: public video metadata + embed (#31753)
* feat: public video metadata + embed

* refactor: alphebetize template context

* feat: don't default show transcript when embed

* fix: rename var

* fix: remove padding in embed view

* style: newline

* test: add tests
2023-02-16 13:18:45 -05:00
Tim McCormack
41d97e71a4 chore: Update URL for DOT in code-owner mappings generator (#31782)
This repo has changed, so we need to update the URL, which is how these
apps get matched up with owners.
2023-02-16 18:17:19 +00:00
Alexander J Sheehan
96b42271e3 Merge pull request #31761 from openedx/asheehan-edx/bump-enterprise-version-3.61.0
chore: bumping enterprise to version 3.61.0
2023-02-16 09:06:34 -05:00
Syed Sajjad Hussain Shah
23db2c8a7a feat: add location restrictions to recommendations (#31728)
VAN-1293

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-16 15:39:47 +05:00
Alex Sheehan
b72875fd26 chore: bumping enterprise to version 3.61.0 2023-02-15 21:56:34 +00:00
Tim McCormack
83f6e560b7 fix: Add code_owner decorator to remaining Celery tasks (#31762)
This will ensure that errors raised by these tasks will alert the right
team. `send_course_enrollment_email` is the one I set out to fix, but I
discovered a few others.

I located tasks that were missing decorators by running the following
search and visually inspecting the results, although semgrep might be able
to do better:

```
ack '^@.*task|^@set_code_owner_attribute' cms lms common openedx xmodule --ignore-dir=tests --python
```

Also, add more detailed explanation of why a couple of tasks can't use the
decorator. This should only be an issue on tasks inheriting from
UserTaskMixin, which in practice is just CourseExportTask and
CourseImportTask (and the apparently unused EnrollmentReadTask and
EnrollmentWriteTask), via UserTask.
2023-02-15 18:20:50 +00:00
Tim McCormack
197fef9c2b docs: Various cleanup of outdated comments and docstrings (#31754)
- Remove pylint warning suppression from SHAKE-128 hexdigest calls; these
  are no longer needed as of astroid 2.12.12. For background, see issue
  <https://github.com/PyCQA/pylint/issues/4039>. Also, correct a comment
  that referred to SHAKE-256 instead of SHAKE-128.
- Replace "released" with "beta" in several places where there was a copy
  & paste error in dark_lang. Add mention of `beta_lang` to a docstring
  where it was omitted.
- Remove comment regarding Mongo startup; the code it referred to has since
  been removed.
- Fix typos.
2023-02-14 18:11:57 +00:00
Navin Karkera
4697adc681 feat: hook xblock publish, delete and duplicate openedx-events (#31350) 2023-02-14 19:25:30 +05:00
edX requirements bot
8cfcc04ad0 chore: Updating Python Requirements (#31755) 2023-02-14 12:09:15 +05:00