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
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
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
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
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
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
Mehak Nasir
9efd04b178
fix: full post content is returned for preview ( #31426 )
2022-12-09 21:10:30 +05:00
Nathan Sprenkle
4c827b5ed5
feat: get credit statuses for Learner Home ( #31414 )
...
* refactor: make _credit_status function public
This allows for reuse in the new learner home
* feat: add credit to learner home serializers
* feat: get credit statuses for learner home
2022-12-08 15:22:35 -05:00
Tim McCormack
89412cdfb2
feat: Add optional security policy link in the site footer ( #31413 )
...
For edx.org, this will be set to <https://www.edx.org/policy/security >.
The only theme that I'm aware of as supporting this is `edx.org-next` but
other deployments might use this `get_footer` call as well.
2022-12-08 18:43:43 +00:00
Agrendalath
4141fbfda9
test: fix TestCourseStatusGET
...
This test stopped throwing the `TransactionManagementError` once we added the
`site_configuration.get_value()` call to the language preferences middleware.
2022-12-08 13:49:20 +01:00
Justin Hynes
b03efc93df
Merge pull request #31044 from openedx/ziafazal/keyword-substitution-edx-ace
...
fix: added keyword substitution support in edx_ace based bulk course emails
2022-12-07 13:51:22 -05: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
Andy Shultz
0de55deff5
fix: intial chatty goals is a bit too chatty
...
it takes 20-30s to run through 1000 goals so this logs too often to
read in splunk. Every 10000 will be every few minutes.
2022-12-07 09:40:39 -05:00
Andy Shultz
08ead3ba01
fix: course goals email command logs more progress info
2022-12-06 10:56:25 -05:00
Andrew Shultz
476a5df7e0
Merge pull request #31396 from openedx/ashultz0/print-all-exceptions
...
fix: catch even base exceptions when exiting
2022-12-05 12:42:57 -05:00
Andy Shultz
85ca6ad5ec
fix: catch even base exceptions when exiting
...
prior exception catch is not triggering in cases where the job blows up,
there is one more level of exception available to catch and print
2022-12-05 10:41:17 -05:00
Agrendalath
20f6650f53
refactor: convert from_xml to parse_xml for VideoBlock
2022-12-05 13:57:41 +01:00
Hammad Ahmad Waqas
18df1f020e
Merge pull request #31389 from openedx/hammad/ENT-6470
...
fix: updated management command to consider in-progress courses before suggestion.
2022-12-05 17:17:54 +05:00
SaadYousaf
d71b21156b
feat: add forum response event for marking responses as answered or endorsed
2022-12-05 16:35:52 +05:00
Muhammad Adeel Tajamul
7a0010ad0e
feat: added topics v3 api ( #31330 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-12-05 15:07:21 +05:00
Ali Akbar
c1e4cb3a87
Merge pull request #253 from edx/moeez96/LEARNER-9001
...
fix: Fix retiring user auth models on disable event
2022-12-05 11:53:58 +05:00
hammadahmadwaqas
583346f67b
fix: updated management command to consider in-progress courses before suggestion.
2022-12-02 16:08:20 +05: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
ayesha waris
ecc9a7c3e3
Merge pull request #31336 from openedx/INF-628
...
fix: course_staff and course_admin added in get_course api
2022-12-01 16:35:13 +05:00
Mehak Nasir
8be2b7355b
fix: thread will only be returned for matching course ID ( #31340 )
2022-12-01 16:17:19 +05:00
ayeshoali
1363fcb501
fix: test cases fixed
2022-12-01 14:36:57 +05:00
ayeshoali
67bbf46920
fix: course_staff and course_admin added in get_course api
2022-12-01 14:33:54 +05:00