Commit Graph

5426 Commits

Author SHA1 Message Date
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
Justin Hynes
2d347eaa4d revert: temp: add some logging around extended profile update functionality
This reverts commit c52ba9d26a after the `final_checks_before_prod` stage of our deployment pipeline failed.
2023-02-02 09:05:57 -05:00
Justin Hynes
cf4edc4da6 Merge pull request #31690 from openedx/jhynes/aper-2247_logging
temp: add some logging around extended profile update functionality
2023-02-02 07:40:23 -05:00
Ned Batchelder
12765a7a59 refactor(test): use @skip_unless_lms uniformly 2023-02-01 13:52:26 -08:00
Justin Hynes
c52ba9d26a temp: add some logging around extended profile update functionality
I am trying to persist/save data through an "extended profile field" in Stage but the data isn't saving. I have this working locally with devstack but don't understand why it's not working in Stage.

This PR adds some logging so I can do some debugging in Stage and try and pinpoint if/where the issue is occurring.
2023-02-01 12:57:33 -05:00
Feanil Patel
57f2ca1a21 fix: Prepare for the bleach 6.0.0 upgrad.
Changelog: https://bleach.readthedocs.io/en/latest/changes.html#version-6-0-0-january-23rd-2023

The major change is that the tags and protocols attributes and related
constants are expected to be sets rather than lists.
2023-02-01 11:46:44 -05:00
Justin Hynes
213ade8cf7 fix: remove unused settings from edx-paltform related to learner record MFE
[APER-2240]

The monolith no longer needs to understand how to build URLs to the Learner Record MFE. The Credentials IDA has logic to determine if (and how) a request should be redirected to this MFE. This PR remove unused settings from edx-platform.

We have already removed the use of these settings in #31672.
2023-01-31 09:44:30 -05:00
Justin Hynes
e8679056e4 fix: remove learner record MFE URL building logic
[APER-2240]

The monolith no longer needs to understand how to build URLs to the Learner Record MFE. The Credentials IDA has logic to determine if (and how) a request should be redirected to the MFE so we can remove these  changes. Another PR later will remove the unused settings.
2023-01-31 07:57:26 -05:00
0x29a
d338f00e39 refactor: rename module (or item) -> block within cms 2023-01-30 18:15:23 +01:00
0x29a
a299046540 refactor: rename module -> block within openedx/core 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
Sagirov Evgeniy
7a21c22587 test: updated test_import.py and test_course_index.py for split modulestore
This is part of Old Mongo removal. Also in this commit:

* fixed 400 error for cms old_style assets
* fix TEST_DATA_SPLIT_MODULESTORE import for test_course_index
2023-01-30 10:22:28 -05: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
0x29a
528b96fef9 docs: expand override_export_fs's docstring 2023-01-26 15:28:43 +01:00
Arunmozhi
7c621e6ad2 refactor: remove get_displayable_items and displayable_items from XModule 2023-01-23 14:47:48 +01:00
Arunmozhi
59d8b5d286 refactor: replace displayable_blocks with child
This removes the "displayable_blocks" property and replaces all the
usages with the "child" property.
2023-01-23 14:47:47 +01:00
Arunmozhi
851eb65d53 refactor: rename get_displayable_items and displayable_items 2023-01-23 14:47:47 +01: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
Feanil Patel
e46bfcd252 feat!: Remove block_structure.raise_error_when_not_found waffle flag.
Per this DEPR: https://github.com/openedx/public-engineering/issues/34

This was a temporary waffle and is no longer needed.

BREAKING_CHANGE: Setting the
`block_structure.raise_error_when_not_found` waffle switch via
django-waffle will be ignored.

Note for Operators: If you have this waffle swicth in your systems, it
should be removed.
2023-01-20 13:09:24 -05:00
Awais Qureshi
3d2d02bffe fix: upgrade pytz. (#31599)
* fix: upgrade pytz
2023-01-20 14:27:41 +05:00
Mohammad Ahtasham ul Hassan
b01cf355a7 Unpin django-ratelimit (#31416)
* fix: fix ratelimit upgrade changes

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-01-19 16:39:23 +05:00
Hamza442
7e93be158b Merge pull request #31584 from openedx/hamza442/DENG-1261-add-testcases
chore: add new tests for retire_user management command
2023-01-18 23:58:59 +05:00
Nathan Sprenkle
670477e7d5 fix: add fallthrough exception for course overview (#31582)
An issue trying to get a course overview for a deleted course and trying
to write back into the DB had been raising unhandled errors. Catching
other classes of errors to keep this function from breaking. Should just
return None in these cases and log the exception.
2023-01-18 11:40:38 -05:00
Awais Qureshi
8ac55ed4af build: Unpin django-countries. (#31565)
* build: upgrade django-countries.
2023-01-18 14:13:41 +05:00
Hamza442
61b8228b7b chore: add new tests for retire_user management command 2023-01-18 12:47:13 +05:00
Hamza442
265ffda0aa chore: add multiple users to retirement queue. 2023-01-18 10:35:28 +05:00
Sagirov Eugeniy
f3de63058c test: tests for removing support for children in Old Mongo
* updated test_authoring_mixin.py
* updated test_xblock_utils.py
* updated TestOnboardingView tests (update default course key)
* updated UsersDefaultRole tests
2023-01-17 14:54:14 -05:00
Sagirov Eugeniy
1936de4d68 test: updated CourseOverview Signals Tests for split modulestore 2023-01-17 14:53:10 -05:00
Syed Sajjad Hussain Shah
9a53e2846d fix: update MFE context response (#31515)
VAN-1231
2023-01-16 14:31:10 +05:00
Attiya Ishaque
b9b8560adc fix: fix the tests in test_register file (#31523) 2023-01-13 18:20:05 +05:00
Jillian
9f5c78e81e revert: temp: let XBlock API users optionally use LabXchange block types (#31315)
when fetching block metadata and rendering blocks while maintaining the
original usage IDs/OLX.

Reverts ef8f841ac2
2023-01-11 11:19:58 -08:00
Sameen Fatima
f014f48a7b fix: fix 500 error when fetching course run (#31518) 2023-01-11 11:08:01 +05:00
Sameen Fatima
031fe7c312 fix: fixed 500 server error on skill-levels api (#31514) 2023-01-10 18:11:13 +05:00
Syed Muhammad Dawoud Sheraz Ali
d2fd26ee91 feat: the ability to filter active courses in course listing api (#31502)
* feat: the ability to filter active courses in course listing api
2023-01-09 20:37:30 +05:00
Sameen Fatima
4b6e719691 feat: created learner_skill_levels API to fetch skill scores (#31417) 2023-01-04 17:09:41 +05:00
Sagirov Eugeniy
02617283a0 test: fix problem with .get_children() in tests for split modulestore
* fixed problem with creating some CourseItem with some parent:
we must get the updated parent item before using that parent item
* replaced parent_location with parent argument in ItemFactory due to
error children/parent relation for split modulestore. In all tests with
split modulestore parent argument used
2022-12-21 10:58:43 -05:00
0x29a
83396ffb07 refactor: convert course_module term to course_block 2022-12-19 17:48:49 +01:00
0x29a
685f1cd679 refactor: xmodule/xml_module.py -> xmodule/xml_block.py 2022-12-19 17:48:49 +01:00
0x29a
70019bac04 refactor: xmodule/seq_module.py -> xmodule/seq_block.py 2022-12-19 17:48:49 +01:00
0x29a
4aac963223 refactor: xmodule/randomize_module.py -> xmodule/randomize_block.py 2022-12-19 17:48:49 +01:00
0x29a
007e02cd76 refactor: xmodule/html_module.py -> xmodule/html_block.py 2022-12-19 17:48:49 +01:00
0x29a
cf47f6385f refactor: xmodule/error_module.py -> xmodule/error_block.py 2022-12-19 17:48:49 +01:00
0x29a
0df1411636 refactor: xmodule/course_module.py -> xmodule/course_block.py 2022-12-19 17:48:49 +01:00
bszabo
05542a3f52 Merge pull request #31344 from openedx/bszabo/TNL-10136-reapply-course-enrollment-changes
feat: TNL-10136 tease course enrollment from student model
2022-12-15 13:17:59 -05:00
alangsto
a1322abb0d fix: update docker logger settings to better match normal log settings (#31448)
* fix: update docker logger settings to better match normal log settings

* feat: add docker-production settings for cms
2022-12-15 09:17:12 -05:00
John Nagro
7653e408c1 feat: release edx-enterprise 3.59.1 (#31450)
- also adjusting retirement and GDPR tests to reflect new schema
2022-12-14 19:08:26 -05:00
Bernard Szabo
377edc2f4d feat: TNL-10136 Propagate changes from last PR 2022-12-13 17:19:41 -05:00
Bernard Szabo
2d544f94be feat: TNL-10136 tease course enrollment from student model
Reapply changes developed in bszabo/TNL-10136-student-course-enrollment branch to current master
2022-12-13 17:19:34 -05:00
Shafqat Farhan
21e92698cc fix: VAN-1206 - Resume last course URL defaults to request path for new users with no enrollments 2022-12-13 21:41:18 +05:00