Commit Graph

62672 Commits

Author SHA1 Message Date
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
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
Cristhian Garcia
4ed8dde21c fix: add missing variables to library_listing context (#31752) 2023-02-13 16:12:04 -05:00
Tim McCormack
2b872c7cfe fix: Upgrade event-bus-kafka to 3.9.3 (correctly log event message_id) (#31751) 2023-02-13 19:44:10 +00:00
Tim McCormack
ff2c37a68d fix: Remove django-require git-dependency (missed in previous PR) (#31750)
https://github.com/openedx/edx-platform/pull/31279 switched to installing
a fork of django-require from PyPI but did not commit the removal of the
line from github.in. This completes the transition.
2023-02-13 17:10:42 +00:00
Muhammad Adeel Tajamul
9f7bba85fc feat: added reverse_order param in comments sort (#31667)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-13 12:58:13 +05:00
Mohammad Ahtasham ul Hassan
e844188e5d Install django-require from pypi (#31279)
* chore: install django-require from pypi
---------

Co-authored-by: zubairshakoorarbisoft <zubair.shakoor@arbisoft.com>
2023-02-13 12:31:44 +05:00
Jenkins
3da74e830c chore(i18n): update translations 2023-02-12 16:03:40 -05:00
Moeez Zahid
c8af0f607f Enable In-App purchases on edx-mobile app (#31512)
* feat: added mobile skus in course mode

* fix: changed api

---------

Co-authored-by: jawad-khan <jawadkhan444@gmail.com>
Co-authored-by: Robert Raposa <rraposa@edx.org>
2023-02-10 16:16:37 +05:00
Tim McCormack
4abb6b51cb feat: Upgrade event-bus-kafka to 3.9.2 (#31734)
This adds audit-logging on event production.
2023-02-09 18:38:08 +00:00
Diana Huang
4afe0c92f2 docs: Add course catalog info changed event to docs. (#31732)
https://github.com/edx/edx-arch-experiments/issues/178
2023-02-09 12:28:30 -05:00
Usama Sadiq
997f194669 Revert "build: remove boto old version (#31282)" (#31733)
This reverts commit 14e6040141.
2023-02-09 18:36:59 +05:00