Commit Graph

325 Commits

Author SHA1 Message Date
Pooja Kulkarni
40804f774a chore: install xblock-poll from pypi 2023-02-22 10:31:36 -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
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
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
Mohammad Ahtasham ul Hassan
2741beda51 fix: install codejail from pypi (#31683) 2023-02-02 12:26:57 +05:00
Agrendalath
e5764780ad chore: update LTI Consumer XBlock 2023-01-30 18:30:59 +01:00
Feanil Patel
2dfeac7c14 refactor: Pull in django-pyfs via XBlock extra requiremnts.
We don't depend on it directly we just get it as a side-effect of
XBlock so make that more clear while we're updating the package to the
new name on PyPI
2023-01-30 11:21:16 -05:00
Zachary Hancock
0139610e11 feat: lti-consumer library security update (#31651) 2023-01-24 12:22:11 -05:00
Shafqat Farhan
68acdca9d7 feat: VAN-1221 - POC: Course skills based recommendations from Algolia 2023-01-23 12:10:28 +05:00
Feanil Patel
15251640a9 fix: Explicitly ask for the css extra package.
Based on https://github.com/openedx/edx-platform/pull/31360/files#r1033984433
it looks like compile-requirements runs differently on different OSes
potentially.  But we need this because it's used by the CSSSanitizer in
capa (xmodule/capa/util.py).
2022-11-29 10:45:48 -05:00
Mohammad Ahtasham ul Hassan
19ee9f0354 chore: install django-wiki from pypi (#31271) 2022-11-29 13:29:07 +05:00
Feanil Patel
cd3a7cbbec chore: Remove explicit dependency.
This dependency was explicitly added but doesn't need to be because
it's only required as a sub-dependency of edx-enterprise.  We can
pull it in by recompiling the requirements instead.
2022-11-28 14:19:53 -05:00
Tim McCormack
279e4d0b67 feat: Use new configurable producer API for event bus (#31356)
This involves a breaking-change update to edx-event-bus-kafka 2.0.0.
2022-11-28 18:41:35 +00:00
Brian Beggs
cff40f2142 chore: Add PGPy as a requirement see ENT-6547 (#31355)
This is intended as a temporary fix to unblock the pipeline.
2022-11-28 18:15:41 +00:00
Andy Shultz
f13cd1d5a3 fix: update xblock LTI to 6.1.0 to fix bugs with lti studio in 6.0.0 2022-11-14 09:04:36 -05:00
Andy Shultz
996646fef0 fix: pin LTI xblock to version 5.0.1 while 6 is fixed
6.0.0 refactored this xblock in a way that does not work with studio
leaving blocks partialy broken. While that is being fixed, roll back
to 5.0.1.

Bug ticket: MST-1697
2022-11-07 09:30:51 -05:00
Mohammad Ahtasham ul Hassan
c2506ea8d0 Revert "chore: install codejail from PyPI (#31207)" (#31213)
This reverts commit 66e4902e9e.
2022-10-27 17:10:29 +05:00
Mohammad Ahtasham ul Hassan
66e4902e9e chore: install codejail from PyPI (#31207) 2022-10-27 14:26:11 +05:00
Mohammad Ahtasham ul Hassan
c349f9318d Install xblock-google-drive from pypi (#31201)
* chore: install xblock-google-drive from pypi
2022-10-26 15:48:38 +05:00
Mohammad Ahtasham ul Hassan
3f46d489eb chore: install xblock-drag-and-drop from pypi (#31196) 2022-10-25 13:09:50 +05:00
Tim McCormack
fd20dfe51d chore: Unpin newrelic (Confluent Kafka instrumentation bug is fixed) (#31143)
Previously pinned in commit 71686cddb9/PR #31119.

Closes https://github.com/openedx/event-bus-kafka/issues/52
2022-10-11 14:29:16 +00:00
Tim McCormack
71686cddb9 fix: Pin newrelic to unreleased version fixing kafka instrumentation (#31119)
This will allow us to resume producing events with edx-event-bus-kafka
and help validate NR's fix. Unpinning is be tracked in
<https://github.com/openedx/event-bus-kafka/issues/52>.
2022-10-06 16:03:59 +00:00
UsamaSadiq
897cb3617f refactor!: delete common/lib and related usages 2022-09-22 14:16:34 +05:00
Tim McCormack
4ecd9fe683 feat!: Delete all non-legacy IP code (#31000)
The IP chain code has moved to edx-django-utils—except for the legacy-IP code,
which is now in a new module. This will allow other IDAs to use the IP code.

Commit includes some adjustments to the toggle annotation.

Part of <https://github.com/openedx/edx-django-utils/issues/241>.
2022-09-21 14:11:34 +00:00
Tim McCormack
f6965b9555 chore: Unpin edx-event-bus-kafka and upgrade (#30966)
The producer API is stable enough now.

Make use of new topic prefixing feature for devstack (introduced in 0.6.2)
2022-09-19 19:43:34 +00:00
Sandeep Dubey
51b5e624b3 feat: upgrade TinyMCE v4.0.20 to TinyMCE v5.5.1 (#30335)
Co-authored-by: Arunmozhi <arunmozhi@opencraft.com>
2022-09-19 12:43:19 +02:00
Rebecca Graber
c1009b56f6 feat: emit COURSE_CATALOG_INFO_CHANGED signal on publish (#30805)
Implements https://github.com/openedx/edx-platform/issues/30682

Produce signal only once transaction for a course publish is
committed, and only for actual courses (not libraries).

- Use newer openedx-events version that has a fix for None datetime
  and that has CourseCatalogData without org, number.
- Add edx-event-bus-kafka -- specify recent version that drops
  confluent-kafka from explicit deps, fixes common auth settings, and has
  a multi-producer caching tweak.
- New functionality is behind toggle

As per https://github.com/openedx/openedx-events/issues/88 we're going to
try explicit dependencies on implementations for now, rather than solve
all the problems we'd encounter by using private dependencies.

Co-authored-by: Tim McCormack <tmccormack@edx.org>
Co-authored-by: Rebecca Graber <rgraber@edx.org>
2022-08-24 16:39:24 +00:00
Shafqat Farhan
a791759202 feat: VAN-1051 - Integrated Optimizely fullstack Client and experiment 2022-08-22 14:33:25 +05:00
muhammad-ammar
3f294eca1e feat: fire follow up event for first time passed learners 2022-07-15 15:54:29 +05:00
Zaman Afzal
5587d1b08e fix: Add Learner pathway progress update signal (#30722) 2022-07-14 10:28:48 +05:00
Muhammad Umar Khan
a389a9ff10 Revert "Revert "refactor: move xmodule folder to root"" 2022-06-20 18:20:06 +05:00
Muhammad Umar Khan
d890f06507 Revert "refactor: move xmodule folder to root" 2022-06-20 16:03:48 +05:00
M Umar Khan
a91df0c40f refactor: move xmodule folder to root
- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
    - More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
2022-06-20 14:33:45 +05:00
Zaman Afzal
ec36d3a949 fix: revert Add Learner pathway progress update signal (#30598) 2022-06-16 01:59:40 +05:00
Zaman Afzal
6c6dabaa3c Feat: Add Learner pathway progress update signal (#30547)
* feat: Add Learner pathway progress update signal
2022-06-15 00:58:22 +05:00
Demid
8886f29e52 refactor: remove debug property from ModuleSystem (#30450)
This also:
1. Removes this property from XBlock runtime shims.
2. Updates the minimum required version of the LTI Consumer XBlock.
2022-06-08 18:59:45 +02:00
Awais Qureshi
02e29168b2 feat!: Removing sandbox folder from platform and installing it from p… (#30402)
* feat!: common/lib/sandbox-packages folder moved to a new library.
2022-06-01 16:02:13 +05:00
Tim McCormack
47f9234323 chore: Upgrade edx-django-utils to 5.0.0 for corrupt cookie logging (#30445) 2022-05-19 17:34:26 +00:00
Demid
006687801f fix: bump pinned pyfilesystem2 version (#30338)
This commit fixes unpickling of exceptions that are based on `fs.error.ResourceError`,
which definitely happens if such an exception is throwed withing a Celery task
and, in turn, causes Celery worker to shut down.

See the details here: https://stackoverflow.com/a/41809333

The new version overrides `__reduce__` as suggested.
2022-05-16 19:51:37 +00:00
Eugene Dyudyunov
52dd883a3c refactor: delete now unused FutureCourseWaffleFlag (#30367)
Remove temporary FutureCourseWaffleFlag class;
Update ora2 and edx-toggles to versions cleaned from the
LegacyWaffle* classes;
Replace `override_flag`s with `override_waffle_flag`;
Replace `override_switch`s with `override_waffle_switch` (where it's possible).
2022-05-13 08:48:42 -04:00
Eugene Dyudyunov
65d35f9837 chore: update lti-consumer block version (#30370)
This is a part of https://github.com/openedx/public-engineering/issues/28
2022-05-11 12:42:10 -04:00
Eugene Dyudyunov
655e4a344f refactor!: update CourseWaffleFlag (#30351)
BREAKING: get rid of the LegacyWaffle-based CourseWaffleFlag.
Both CourseWaffleFlag and FutureCourseWaffleFlag now use the modern
WaffleFlag as parent class. FutureCourseWaffleFlag left to support ORA
transition to modern waffle.

Switch to the ORA version which supporting new Waffles.
2022-05-10 15:08:59 -04:00
Tim McCormack
80f60ffb36 refactor: Move log_sensitive to edx-django-utils (#30349)
It was copied there in 4.7.0 (openedx/edx-django-utils#209) so it can be used in more IDAs.

Includes dropping dependency on PyNacl, which was only in use by that module.
2022-05-06 12:42:19 +00:00
Rebecca Graber
0157518a9c feat: remove kafka_consumer from edx-platform (#29983) 2022-02-28 09:41:57 -05:00
Rebecca Graber
47aed8d2ab feat: management command for consuming kafka events (#29838) 2022-02-03 12:39:31 -05:00
Maria Grimaldi
f29a4eef68 feat: add first batch of Open edX Filters
* Add PreEnrollmentFilter
* Add PreRegisterFilter
* Add PreLoginFilter
2022-01-26 11:45:44 -04:00
Tim McCormack
1e55b4e1b6 feat: Add utility for logging sensitive information using encryption (#29682)
Introduces `common.djangoapps.util.log_sensitive module` for
public-key encryption of sensitive debug information in log
messages, including CLI commands for generating keys and
decrypting log output.

Also:

- Adds `PyNaCl` to base requirements for encryption tools
- Requirements upgrade

ref: ARCHBOM-1940
2022-01-05 21:37:45 +00:00
Zainab Amir
dd610118a7 feat: create braze alias and event (#29612) 2021-12-15 19:07:25 +05:00
Usama Sadiq
780a6f3c2d Revert "chore: install codejail from pypi (#29481)" (#29501)
This reverts commit 21551095ac.
2021-12-02 22:19:15 +05:00
Mohammad Ahtasham ul Hassan
21551095ac chore: install codejail from pypi (#29481)
* chore: install codejail from pypi

* chore: Updating Python Requirements

* chore: Updating Python Requirements

* fix: fixed failing tests

* fix: fixed pytest failures

* fix: fixed failing test bug

* Update mocks.py

Co-authored-by: edX requirements bot <testeng+edx-requirements-bot@edx.org>
2021-12-02 17:07:29 +05:00