Irtaza Akram
d29b0473f4
fix: align pylint fixes in edx-platform Problem XBlock with extracted xblocks-contrib/problem ( #37758 )
...
* fix: pylint issues for problem xblock
2026-01-07 16:39:11 +05:00
Tarun Tak
067ca72ed0
fix: remove unused waffle switch for optimizing learner retrieval ( #37513 )
2025-10-22 19:53:07 -04:00
usamasadiq
ebaf5e64de
fix: fix pylint warning
2025-10-13 19:00:45 +05:00
usamasadiq
8a2c451439
fix: replace deprecated assertDictContainsSubset()
2025-10-12 11:10:36 +05:00
Ram Chandra Bhavirisetty
42afa1bb62
chore: remove deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings ( #37002 )
2025-09-05 17:52:33 -04:00
Muhammad Faraz Maqsood
5879a52b72
feat: add data report for enrolled & inactive user
...
Add new data report for learners who are enrolled in a course and have not activated their account
2025-07-18 12:09:36 +05:00
Tim McCormack
447fd0b6cb
feat: Upgrade to codejail 4.0.0 ( #36916 )
...
This brings an important security improvement -- codejail won't default to
running in unsafe mode, which can happen if certain configuration errors
are present.
Properly configured installations shouldn't be affected. We just need to
adjust some unit tests to opt into unsafe mode.
Changes:
- Update `edx-codejail` dependency to [version 4.0.0](https://github.com/openedx/codejail/blob/master/CHANGELOG.rst#400---2025-06-13 )
- Define a `use_unsafe_codejail` decorator that allows running a unit test (or entire TestCase class) in unsafe mode
- Use that decorator as needed, based on which tests started failing
2025-06-17 09:33:52 -04:00
Feanil Patel
a6e5b818e2
fixup! test: Update the course in the cache after it's got new content.
2024-11-05 10:44:17 -05:00
Feanil Patel
db266e25f7
test: Update query counts.
...
With the new block_structure model cache enabled by default, we're donig
queries to it as a part of other tests.
2024-11-05 10:44:16 -05:00
Zachary Hancock
d59e2f4fad
feat: Add VerificationAttempt model to IDVerificationService logic ( #35311 )
...
the new VerificationAttempt model (#35304 ) will now be taken into account when determining a user's verification status.
2024-09-11 10:30:37 -04: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
salmannawaz
57b480b04f
Update all edx-platform REST endpoints to support JWT Auth ( #34152 )
...
* chore: update API endpoints to support default JWT auth
The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.
Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Feanil Patel
1e2ea85372
test: Update more tests that had short passwords.
2023-10-10 16:36:26 -04:00
Usama Sadiq
4dea331486
fix: fix django4 deprecation warnings ( #32948 )
2023-08-16 11:15:17 +05:00
Awais Qureshi
52bdb70438
chore: Adding new migrations. These are coming due to django-simple-history ( #32927 )
2023-08-08 14:42:09 +05:00
Agrendalath
92b684004e
refactor: reuse services and wrappers between XBlocks (fixed)
...
This re-applies commit 36cc415 with handling an invalid context_key in the
`PartitionService`. It can happen when rendering a `LibraryContentBlock` in
Studio because this service is initialized by the modulestore when validating
an XBlock to gather its error messages in the `studio_xblock_wrapper`.
2023-07-19 18:01:59 +02:00
Piotr Surowiec
c6bd98e51a
Revert "refactor: reuse services and wrappers between XBlocks" ( #32730 )
...
This reverts commit 36cc415fc2 .
2023-07-13 10:05:34 -04:00
Awais Qureshi
b528a27237
fix: upgrading celery version and fixing tests. ( #32468 )
...
* fix: upgrading celery version and fixing tests.
---------
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com >
Co-authored-by: zubairshakoorarbisoft <zubair.shakoor@arbisoft.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: awais786 <awais786@users.noreply.github.com >
2023-07-10 18:36:30 +05:00
Agrendalath
36cc415fc2
refactor: reuse services and wrappers between XBlocks
2023-06-30 15:06:43 +02:00
Awais Qureshi
4aca4d3fbb
chore: Rename the bucket to bucket_name. ( #32576 )
...
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#1101-2020-09-13
2023-06-27 13:17:28 +05:00
Pooja Kulkarni
5cc6acae18
refactor: rename descriptor -> block within lms/djangoapps/instructor_task
...
Co-authored-by: Agrendalath <piotr@surowiec.it >
2023-04-26 17:10:54 +02:00
Kaustav Banerjee
c5439221cb
chore: address review comments
2023-04-21 11:53:49 +02:00
Kaustav Banerjee
d0fa2d65e3
test: fix test cases and lint issues
2023-04-21 11:53:49 +02:00
Awais Qureshi
2ae2fbd4f5
fix: removing s3boto storage backend. ( #31876 )
...
* fix: removing s3boto storage backend
2023-03-13 13:32:19 +05:00
Awais Qureshi
20ef29da53
chore: Replaced boto usage with boto3. ( #31886 )
...
* chore: Replaced boto usage with boto3.
2023-03-07 15:47:48 +05:00
Awais Qureshi
ebdcf2f34e
fix: Adding boto3 exceptions. ( #31802 )
...
* fix: Adding boto3 exceptions
2023-02-23 13:30:42 +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
0x29a
e348a8118d
refactor: rename module -> block within lms/djangoapps/instructor_task
2023-01-30 18:15:22 +01:00
0x29a
9d8375ff99
refactor: rename module -> block within lms/djangoapps/courseware
...
Also, removed unused `_has_access_xmodule` methid from `lms/djangoapps/courseware/access.py`.
2023-01-30 18:15:22 +01:00
Feanil Patel
d846ea8558
Merge pull request #31633 from openedx/feanil/depr_bs_raise_error
...
feat!: Remove block_structure.raise_error_when_not_found waffle flag.
2023-01-30 10:17:00 -05:00
Arunmozhi
d417a7561f
refactor: rename ItemFactory to BlockFactory
2023-01-23 14:47:47 +01:00
Feanil Patel
40eedc6889
test: Update query counts now that we've removed a waffle flag.
...
Various tests with query counts need to be updated now that we have
removed a waffle check that was in their codepath.
2023-01-22 18:39:51 -05:00
Jansen Kantor
6431b97c70
feat: Build out temporary fix for TempFiles into a more robust solution ( #31458 )
...
* test: add test for d'optimize_get_learners_switch'
* feat: on-disk reporting
2022-12-22 09:33:31 -05:00
0x29a
d3fee38a37
refactor: xmodule/split_test_module.py -> xmodule/split_test_block.py
2022-12-19 17:48:49 +01:00
0x29a
4c005e86e8
refactor: xmodule/capa_module.py -> xmodule/capa_block.py
2022-12-19 17:48:49 +01:00
Jansen Kantor
8eb3277414
feat: add problemgradereport config for writing to disk ( #31385 )
...
in the problemgradereport currently we must currently hold the entire file in memory before writing it all at once. to avoid out of memory celery issues to resolve a blocking bug for some MIT courses, add a temp waffle flag `instructor_task.use_on_disk_grade_reporting` which when activated uses this new report to (hopefully) allow the report to complete. Additional testing and consideration is required for this approach.
2022-12-01 09:48:50 -05:00
Jansen Kantor
0577944c4e
temp: additional memory usage logging for problem report ( #31381 )
...
* temp: additional memory usage logging for problem report
* fixup! Merge branch 'master' into jkantor/temp-problemreport-logging
* fixup! fixup! Merge branch 'master' into jkantor/temp-problemreport-logging
2022-11-30 15:54:41 -05:00
Sagirov Eugeniy
8f88422c4a
test: prepare tests for removing support for children in Old Mongo
2022-10-28 11:43:20 -04:00
Sagirov Eugeniy
3f3d0d25d8
feat!: Remove inheritance-related code from Old Mongo
2022-10-24 11:58:44 -04:00
Sagirov Evgeniy
42adcaaf4d
FC-0001: Remove Persistent Course Grades Flags ( #30978 )
...
* feat: revert Fix certificate generation without persistent grades
* feat: Remove Persistent Course Grades Flags
* test: update tests
2022-09-14 14:00:01 -04:00
Mubbshar Anwar
2980265764
Revert "feat: Pass segment properties ( #30742 )" ( #30918 )
...
This reverts commit b76d5c2a66 .
2022-08-30 12:11:25 +05:00
Mubbshar Anwar
b76d5c2a66
feat: Pass segment properties ( #30742 )
...
- For enrollment email pass extra segment event properties.
VAN-999
2022-08-29 15:36:24 +05:00
Jansen Kantor
eec0e4a562
temp: add additional logging to debug problem score issue ( #30850 )
...
* temp: add additional logging to debug problem score issue
* fixup! temp: add additional logging to debug problem score issue
2022-08-12 13:46:30 -04:00
Justin Hynes
10014d79be
feat: Add a little bit more detail to REVOKED (scheduled) bulk email tasks
...
[MICROBA-1901]
- Update the task_output for (scheduled) bulk emails to include a _little_ more info when they are REVOKED.
2022-07-29 12:06:45 -04:00
Muhammad Soban Javed
d053bba952
Revert "Revert "refactor: move common/lib/capa/capa to xmodule/capa" ( #30762 )"
...
This reverts commit 4463ee751d .
2022-07-27 15:36:08 +05:00
Muhammad Soban Javed
4463ee751d
Revert "refactor: move common/lib/capa/capa to xmodule/capa" ( #30762 )
2022-07-21 18:22:15 +05:00
Soban Javed
9eba9f983a
refactor!: move common/lib/capa/capa to xmodule/capa
...
As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory.
We have fixed all the occurences of import of this package and also fixed all documents related references.
This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock.
Ref: https://openedx.atlassian.net/browse/BOM-2582
2022-07-19 12:20:04 +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