Commit Graph

24253 Commits

Author SHA1 Message Date
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
Zainab Amir
83437a9702 fix: redirect after the event has been fired (#31592) 2023-01-18 22:35:15 +05:00
Ahtisham Shahid
62f311c041 fix: removed subsections with no units from v3 topics api (#31553)
* fix: removed subsections with no units from v3 topics API

* fix: fixed unit test
2023-01-18 13:52:12 +05:00
Zainab Amir
b0ec8f31bf feat: update recommendations api for dashboard (#31563) 2023-01-18 12:48:43 +05:00
Shafqat Farhan
a21d947733 Merge pull request #31558 from openedx/shafqat/VAN-1247
fix: VAN-1247 - Add isControl property in recommendations response
2023-01-18 11:03:37 +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
Shafqat Farhan
23d436831b fix: VAN-1247 - Add isControl property in recommendations response and update event properties 2023-01-17 20:54:20 +05:00
Ahtisham Shahid
0870e1a758 feat: added apis for discussions tours (#31495)
* feat: added apis for discussions tours

* fix: resolved linter issues

* feat: moved config list to settings and fixed unit tests

* refactor: merged migrations in 1 file
2023-01-17 15:59:26 +05:00
Shafqat Farhan
030267f5ee fix: VAN-1223 - Add is_control property to recommendations viewed event 2023-01-10 09:28:08 +05:00
Jesse Day
5a0b655860 Merge branch 'master' into jesseday/update-do-not-sell-link-text 2023-01-09 10:59: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
Nathan Sprenkle
df47f9df95 refactor: Split learner home experimental / core functionality (#31498)
* refactor: remove old profiling function

* refactor: move mocks into separate directory

* refactor: move recommendations code into a new dir

* docs: docstring consistency and branding updates

* docs: add ADR for core versus experimental code
2023-01-09 10:09:13 -05:00
teyotan
3525be2c17 fix: unresponsive modal in student dashboard view (#31432)
issue: https://github.com/openedx/build-test-release-wg/issues/228

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-01-09 12:14:40 +05:00
Jesse Day
e68ca593cb fix: update the do not sell link text for legal. 2023-01-06 15:55:12 -05:00
Jenkins
8fdb83e9ed chore(i18n): update translations 2023-01-04 14:31:46 -05:00
Nathan Sprenkle
c8af55db6f fix: handle exception getting cert statuses (#31490)
If a user has a certificate in a deleted course, an issue with how the
course is loaded from the cache can cause an exception that breaks our
code. This adds a wrapper to fail gracefully and log the exception for
future tracking / investigation.
2023-01-03 14:57:20 -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
Robert Raposa
6c7618fed0 fix: remove flaky test_staff_response test
The test test_staff_response failed and then passed
and subsequent runs with the same code, and is now
considered flaky. It is being removed in accordance with
this flaky test process: https://2u-internal.atlassian.net/wiki/spaces/TE/pages/12812492/Flaky+Test+Process
Note: the Flaky+Test+Process doc should probably be more
public, but simply notes that these tests should be removed
with a ticket to allow the owning team to fix it.

Here is a link to the job where it failed and passed: 
https://github.com/openedx/edx-platform/actions/runs/3752596945/jobs/6375603154
2022-12-21 16:35:12 -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
Nathan Sprenkle
17d076e8a7 fix: allow for entitlement with no psuedo-sessions (#31464)
It is possible to have an entitlement with no available course runs. In
this case, the entitlement is filtered out by the view logic but the
residual, bad pesudo-session mapping can cause breaks if we don't handle
for this case.
2022-12-20 13:18:30 -05:00
Andrew Shultz
e328b36f8e Merge pull request #31462 from openedx/ashultz0/flush-goal-logs
fix: when making a hasty exit from goals, make sure to get the log out
2022-12-20 09:52:58 -05:00
Andrew Shultz
e5f81ee36a Merge pull request #31439 from openedx/ashultz0/devstack-worker-transaction
fix: make devstack-with-worker behave like actual worker envs
2022-12-20 09:32:19 -05:00
Andy Shultz
f2f71516bc fix: when making a hasty exit from goals, make sure to get the log out 2022-12-20 09:22:48 -05:00
Agrendalath
ae1dcbea74 refactor: rename HiddenDescriptor to HiddenBlock
This also handles the AttributeError in the default XBlock class fallback.
2022-12-19 17:48:49 +01:00
0x29a
83396ffb07 refactor: convert course_module term to course_block 2022-12-19 17:48:49 +01:00
0x29a
d3fee38a37 refactor: xmodule/split_test_module.py -> xmodule/split_test_block.py 2022-12-19 17:48:49 +01:00
0x29a
dd9f6936bc refactor: xmodule/video_module -> xmodule/video_block 2022-12-19 17:48:49 +01:00
0x29a
071b4ba1b4 refactor: xmodule/word_cloud_module.py -> xmodule/word_cloud_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
2779bd250f refactor: xmodule/lti_module.py -> xmodule/lti_block.py 2022-12-19 17:48:49 +01:00
0x29a
e3591701e3 refactor: xmodule/library_content_module.py -> xmodule/library_content_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
4d8618517f refactor: xmodule/hidden_module.py -> xmodule/hidden_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
0x29a
7e33dce1ab refactor: xmodule/conditional_module.py -> xmodule/conditional_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
Ahtisham Shahid
abfac4912a feat: added archived topics in v3 api (#31443)
* feat: added archived topis in v3 api

* fix: resolved issue with failed test

* fix: updated functions docs

* feat: added test for util function
2022-12-19 16:29:12 +05:00
Bianca Severino
c9b776fa7a fix: add cookie and ccpa links to footer 2022-12-16 14:34:36 -05: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
Andrew Shultz
d4ab851386 Merge pull request #31445 from openedx/ashultz0/mail-more-goals
fix: mail goals during the whole day, not just the morning
2022-12-14 11:32:31 -05:00
Muhammad Adeel Tajamul
e04d53a9a1 feat: added support for new topics for mobile (#31441)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-12-14 13:21:31 +05:00
Bernard Szabo
377edc2f4d feat: TNL-10136 Propagate changes from last PR 2022-12-13 17:19:41 -05:00
Bernard Szabo
d5a5e25fef feat: TNL-10136 fix lint errors
And import cross-references
And wrap-around lines
2022-12-13 17:19:40 -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
Andy Shultz
646c5c7fbd fix: mail goals during the whole day, not just the morning
Goal mail jobs can easily take 4 hours to run and sometimes
fail. Restricting the allowable mail window to three morning hours
only means many goal mails will be missed.

Extend the window to the whole day so that mails are actually sent. It
will still prefer to send mail in the morning because that is the
first time it could encounter the goal and it will mark it as sent
afterwards.
2022-12-13 15:42:12 -05:00
bszabo
5dc8dc54e1 Merge pull request #31412 from openedx/youtube-scrape-transcripts-squashed
Youtube scrape transcripts squashed
2022-12-13 15:05:03 -05:00
Kaustav Banerjee
99cd4a4715 feat: disable allowed enrollment if enrollment closed 2022-12-13 15:49:25 +01:00
Andy Shultz
301c173fe0 fix: make devstack-with-worker behave like actual worker envs
We run atomic-requests in almost all environments (for the lms and cms
anyway) EXCEPT devstack_with_worker. Using a different setting means
that even if you think you are testing with a worker like real deploys
use, you are not actually testing with the data a worker would
actually see.

The removed code also claims that if you run with atomic transactions
and a worker you will deadlock the system. If so edx.org would be
deadlocked at all times and yet is not. The old code was vintage 2015
and its assumptions probably haven't been examined since then.
2022-12-12 14:31:03 -05:00