Commit Graph

62644 Commits

Author SHA1 Message Date
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
Muhammad Umar Khan
14e6040141 build: remove boto old version (#31282) 2023-02-09 15:21:10 +05:00
Mohammad Ahtasham ul Hassan
3726d122f9 Migrate eslint-config-edx (#30460)
* feat: migrare eslint-config-edx

* refactor: updated package-lock

* refactor: updated package-lock

---------

Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
Co-authored-by: Mashal Malik <107556986+Mashal-m@users.noreply.github.com>
Co-authored-by: Abdullah Waheed <abdullah.waheed@arbisoft.com>
2023-02-09 13:57:18 +05:00
Justin Hynes
0468b58b7c Merge pull request #31730 from openedx/jhynes/aper-2247_remove-temp-logging
temp: remove temp logging added around extended_profile functionality
2023-02-08 12:47:29 -05:00
Justin Hynes
c6a548e419 temp: remove temp logging added around extended_profile functionality
[APER-2247]

This reverts commit 1359a6d6bb. This logging is no longer needed as the feature is working as expected (and we figured out the issue causing unexpected/missing results).
2023-02-08 10:54:56 -05:00
Cristhian Garcia
3427a9a491 feat: added organization dropdown in studio (#30975)
Adds a dropdown to select the organization. The dropdown will only be activated for users with CourseCreator permission to specific organizations in Studio.

Use cases:

When FEATURES['ENABLE_CREATOR_GROUP'] = True and the user has CourseCreator permission granted, a dropdown will appear with all specific organizations allowed. In case of all_organizations setting is enabled, all organizations will appear in the dropdown.

In case the user is staff, he can create organizations it will work as before
2023-02-08 10:48:15 -04:00
Syed Sajjad Hussain Shah
0e9136589f fix: remove programUpsell from api response (#31729)
VAN-1298

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-08 17:50:46 +05:00
Mohammad Ahtasham ul Hassan
9ec033699b Install blockstore from PyPI (#31236)
* chore: install blockstore from PyPI
---------

Co-authored-by: zubairshakoorarbisoft <zubair.shakoor@arbisoft.com>
2023-02-08 12:02:35 +05:00
John Nagro
b8f2633056 feat: release edx-enterprise 3.60.21 (#31726) 2023-02-07 15:41:11 -05:00
Jenkins
62c381f856 chore(i18n): update translations 2023-02-07 11:33:49 -05:00
dnuzz
e6bb704fca chore: Add limit parameter to get_retirement_users view 2023-02-07 11:30:44 -05:00
Daniel Nuzzo-Mueller
358d9ed873 fix(extra file): Remove .python-version file 2023-02-07 09:27:34 -05:00
Kyle McCormick
b5fd4cc55f fix: allow content libraries to be created through Django admin (#31719)
Previously, CMS Django admin would demand that at least one
LTIConfig be associated with the new library. This is not
necessary, but Django thought it was, because the `blank`
flag was not enabled on the ContentLibrary model's
`authored_lti_config` many-to-many field.

This should not affect the experimental blockstore-based
library authoring frontend, which already allows libraries
to be created without any authorized_lti_configs.

This will not affect the existing modulestore-based
library authoring frontend, since it doesn't even use
any of the models in question.

A migration is included with this commit, but it should NOT
change MySQL schema, since `blank` is a Django-level validation
flag.
2023-02-07 08:17:01 -05:00
Daniel Nuzzo-Mueller
f6a5a99958 chore: linting fix 2023-02-06 14:34:03 -05:00
Daniel Nuzzo-Mueller
b3690ef88b chore: Try to fix linting 2023-02-06 14:34:03 -05:00
Daniel Nuzzo-Mueller
640569b81d chore: Add limit parameter to get_retirement_users view 2023-02-06 14:34:03 -05:00
Michael Roytman
e6e64b1fa9 Merge pull request #31711 from openedx/mroytman/bump-xblock-lti-consumer-8.0.1
Fix inappropriate instructions for inline PII sharing consent dialog.
2023-02-06 13:37:30 -05:00
Awais Qureshi
dfd41bc8f6 build: Adding a pylint version pin (#31707)
* build: Adding a pin to avoid quality failures.
2023-02-06 12:46:03 +05:00
michaelroytman
ba4c380bb1 fix: inappropriate instructions for inline PII sharing consent dialog
This commit upgrades the version of the lti-consumer-xblock library from version 8.0.0 to version 8.0.1. Version 8.0.1 includes a fix to the copy in the LTI PII sharing propmpt dialog displayed before an inline LTI launch that shares PII.

Please see the CHANGELOG entry for this version for a full description of the change: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#801---2023-02-03.
2023-02-03 13:07:46 -05:00
Rebecca Graber
a8598fa1fa feat!: use mongo timestamp when sending course_catalog_info_changed events to the event bus (#31698)
* feat!: update timestamp of catalog-info-changed signal

When producing the catalog-info-changed signal, we
now get the timestamp of the change from modulestore,
rather than relying on the current time at the time
of the event send.

BREAKING CHANGE: This will adjust the meaning of the
time metadata for new catalog-info-changed events.

---------

Co-authored-by: Robert Raposa <rraposa@edx.org>
2023-02-03 08:56:16 -05:00
Saleem Latif
ec70ac7d2a Merge pull request #31710 from openedx/revert-31685-ammar/add-django-settings-variable-for-surveymonkey-job
Revert "chore: add django settings variable for surveymonkey import data job"
2023-02-03 18:30:21 +05:00
Muhammad Ammar
261bbe1e0e Revert "chore: add django settings variable for surveymonkey import data job" 2023-02-03 18:08:37 +05:00
Justin Hynes
111894160d Merge pull request #31700 from openedx/jhynes/aper-2247_logging
temp: add some logging around extended profile update functionality
2023-02-03 07:47:44 -05:00
Muhammad Ammar
d92e2aba51 Merge pull request #31685 from openedx/ammar/add-django-settings-variable-for-surveymonkey-job
chore: add django settings variable for surveymonkey import data job
2023-02-03 17:36:56 +05:00
muhammad-ammar
a010cf1d82 chore: add django settings variable for surveymonkey import data job 2023-02-03 17:12:09 +05:00
Syed Sajjad Hussain Shah
284e64d1f1 feat: add eventing to personalized recommendations (#31703)
VAN-1261
2023-02-03 16:40:22 +05:00
Attiya Ishaque
ca6272a50f feat: [VAN-1260] Program recomendation based on course (#31663) 2023-02-03 16:26:48 +05:00
Zubair Shakoor
59a19957a0 Code coverage added (#31630)
* fix: code coverage added

* fix: .coverage folder added

* fix: .coverage folder location changed

* fix: combine folder modified

* fix: combine command updated

* fix: .coverage folder rollback

* fix: path commented

* fix: upload path modified

* fix: path updated to root

* fix: .coveragerc added

* fix: new coverage folder added

* fix: combine path removed

* fix: coverage files path changed

* fix: data files path updated

* fix: .coverage added as path

* fix: coveragerc updated

* fix: env TEST_SUIT rollbacked

* fix: renaming coverage files step added

* fix: ls added for testing

* fix: debugging commands added

* fix: triggeering cov command in tox.in

* fix: cd coverage added

* fix: commands modified

* fix: triggering coverage using command

* fix: removed omitteed files

* fix: removed all omited files

* fix: skipped all omitted files

* fix: source updated to root in coveragern

* fix: coveragerc files rolledback

* fix: source changed to edx-platform

* fix: cms-2 shard name reemoved

* fix: rmeoved coveragee trigger

* fix: removed shard added back

* fix: --cov-config=setup.cfg added

* fix: combining cov paths format changed to comma

* fix: bash changeeed for coveerage

* fix: paths updateed for testing

* fix: coverage combine command fixed

* fix: final check applied

* fix: final coveragee step addeed and tested

* fix: actions version upgraded in unit tests

* fix: testing space separated commands

* fix: coverage data files path removeed from combine command

* fix: coverage combine reports/* addedd

* fix: updated --cov path

* fix: data_file path updated by removing TEST_SUIT variable

---------

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-02-03 14:14:09 +05:00
Rebecca Graber
7d8409e84e feat: upgrade edx-event-bus-kafka (#31701) 2023-02-02 13:24:05 -05:00