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
Andrew Shultz
ceab37bd20
Merge pull request #31438 from openedx/ashultz0/devstack-worker-clear-cache
...
fix: update devstack with worker for cache and proper redis
2022-12-12 13:39:23 -05:00
Andy Shultz
569403f4ae
fix: update devstack with worker for cache and proper redis
...
https://github.com/openedx/edx-platform/pull/31261 fixed celery
cache behavior when not running a worker and made sure production
would keep the old cache behavior, but missed these secret alternate
settings files, bring them up to date.
Also fixes the cms file to have the actual broker URL.
2022-12-12 11:17:54 -05:00
Jenkins
c1ad89b37e
chore(i18n): update translations
2022-12-11 16:00:41 -05: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
Bernard Szabo
d1c6542c3d
feat: TNL-9460 Remove unused env
...
YOUTUBE[TEXT_API] corresponds to defunct API and is no longer needed
2022-12-07 15:07:57 -05:00
Bernard Szabo
68f8093605
feat: TNL-9460 TEXT_API -> TRANSCRIPTS
...
TEXT_API should have been deleted in this commit, but wasn't. Attended to in a later commit.
2022-12-07 15:07:57 -05: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
iamcristye@outlook.com
44158ec844
fix: importing transcript from YouTube TNL-9460
...
Co-authored-by: Crist Ye <iamCristYe@Outlook.com >
2022-12-07 12:18:42 -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