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
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
Kaustav Banerjee
99cd4a4715
feat: disable allowed enrollment if enrollment closed
2022-12-13 15:49:25 +01:00
Pooja Kulkarni
fe6cbc5f6f
Merge pull request #31408 from open-craft/agrendalath/fix_site_language
...
fix: use language specified in SiteConfiguration
2022-12-09 11:20:52 -05:00
Ali Raza Abbasi
3e35e3af8d
feat: force enrollment after enrollment end date via API ( #31309 )
...
It includes support for course enrollment in case of enrollment_end date has passed or the upgrade_deadline has passed. The force_enrollment argument is used to support this functionality, and can_upgrade and include_expired will be True if force_enrollment is True. Only a user who has GlobalSupport access can perform this operation.
2022-12-08 15:58:54 -05:00
Agrendalath
7d3e62e930
fix: use language specified in SiteConfiguration
...
This feature was implemented in b01544d690 to replace the session's language
in the request. 44ddbdf925 moved the process from the request to the response,
which made this feature unusable (because the request was already processed).
44ddbdf925 also made this feature set the language cookie. However, it is
overwritten by user preferences.
To fix this, we could overwrite the cookie of the response after it's set from
user preferences. However, it is not an ideal solution because when users
switch between Sites with different languages, the first response will use the
language of the previous page. Therefore, this ignores user preferences and
alters the cookie of a request instead.
2022-12-08 13:46:37 +01:00
Piotr Surowiec
5b5a0e4c06
Merge pull request #30072 from open-craft/agrendalath/bd-13-simplify_xmodule_serialization
...
reafactor: simplify XModule serialization/deserialization layer [BD-13]
2022-12-07 18:01:57 +01:00
Attiya Ishaque
bc94071c90
fix: add msgs errors for validation ( #31402 )
2022-12-06 17:09:12 +05:00
Zainab Amir
0e81487012
feat: add logs for password reset exceptions ( #31400 )
2022-12-06 12:23:22 +05:00
Agrendalath
8127d19115
refactor: replace XmlMixin with XmlParserMixin
...
Most of the methods in `XmlMixin` act as wrappers for the official API for
serialization and deserialization (parse_xml() and add_xml_to_node()).
`XmlParserMixin` contains the code which does the actual serialization and
deserialization.
2022-12-05 13:57:41 +01:00
Usama Sadiq
9bfcc6ca3d
fix: Remove custom mypy admin classes ( #31379 )
...
* fix: remove custom mypy admin classes
2022-12-01 16:13:18 +05:00
Jansen Kantor
db082830e3
fix: slight change to logic of how teams is considered enabled ( #31277 )
...
* fix: slight change to logic of how teams is considered enabled
* fixup! fix: slight change to logic of how teams is considered enabled
2022-11-29 14:01:55 -05:00
Ahtisham Shahid
ee35ae6a59
fix: allow user to save/update custom email ( #31337 )
2022-11-28 16:03:01 +05:00
Kshitij Sobti
de0b132f10
fix: delay creation of course topics after course publish ( #31307 )
...
When running in a sharded MongoDB setup it's possible that querying the
modulestore right after the course publish signal will not return the
latest data.
This commit adds a delay similar to the one used in other places in the
codebase for a similar reason.
2022-11-18 16:49:29 +05:00
0x29a
d6c6a44ed5
refactor: remove prefer_xmodules
...
This function is no longer needed as all XModules have been converted to XBlocks.
XBLOCK_SELECT_FUNCTION Django setting is removed too, as it could take only `prefer_xmodules` or `default_select` values.
2022-11-16 13:08:22 +01:00
Piotr Surowiec
f419d6b194
feat: deprecate track_function and publish in ModuleSystem [BD-13] ( #30046 )
...
* feat: delete `track_function` from ModuleSystem
* feat: delete `publish` argument from ModuleSystem
2022-11-15 10:46:24 -05:00
Saad Yousaf
eb8f3b6750
fix: update Zoom live configurations to support email for course staff roles. ( #31257 )
...
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local >
2022-11-15 18:38:46 +05:00
AsadAzam
1925eb10c9
feat: add external id mapping in courseoverview ( #31243 )
2022-11-07 15:08:08 +05:00