Commit Graph

24201 Commits

Author SHA1 Message Date
Kaustav Banerjee
99cd4a4715 feat: disable allowed enrollment if enrollment closed 2022-12-13 15:49:25 +01: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
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
Jenkins
6ed0a6bc4d chore(i18n): update translations 2022-12-04 15:58:36 -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
Andrew Shultz
cd1d278ba2 Merge pull request #31380 from openedx/ashultz0/more-goal-email-info
fix: wrap course goals email handle to report on errors
2022-11-30 16:06:36 -05:00
Jansen Kantor
0577944c4e temp: additional memory usage logging for problem report (#31381)
* temp: additional memory usage logging for problem report

* fixup! Merge branch 'master' into jkantor/temp-problemreport-logging

* fixup! fixup! Merge branch 'master' into jkantor/temp-problemreport-logging
2022-11-30 15:54:41 -05:00
Andrew Shultz
480e2fafe8 Merge branch 'master' into ashultz0/more-goal-email-info 2022-11-30 11:51:54 -05:00
Andy Shultz
5ff9b73da3 fix: wrap course goals email handle to report on errors
currently this is failing many runs but the exception information is
lost at some higher level. Report on it immediately.
2022-11-30 10:55:02 -05:00
Glib Glugovskiy
33968fb376 docs: ADR for signatures migration 2022-11-30 10:13:57 -05:00
Feanil Patel
5bb84e9962 Merge pull request #31366 from openedx/feanil/minimal_config
feat: Add a minimal yaml file for use with production.py
2022-11-29 15:19:18 -05:00
Feanil Patel
f83865212f feat: Add a minimal yaml file for use with production.py
Sometimes you just want to run a few paver or django commands without
having to bring up the entire development stack.
2022-11-29 14:10:04 -05:00
Navin Karkera
c302c8a22b feat: block metadata api - index_dictionary
Adds new api to return block metadata which includes index_dictionary.
Reason for new api instead of adding it to course blocks API: data like
index_dictionary are too large for the cache used by course/blocks
transformers API.
2022-11-29 10:49:36 -08:00
bydawen
b83f5fc328 fix: bootstrap classes for the program_details template (#30998)
Co-authored-by: Attiya Ishaque <atiya.ishaq@arbisoft.com>
2022-11-29 08:37:16 -05:00
zia.fazal@arbisoft.com
a37996395b fix: added keyword substitution support in edx_ace based bulk course email
fix: pylint quality violation

fix: added positive assert and docs link

fix: mark string for i18n according to best practices
2022-11-29 17:20:13 +05:00
Syed Sajjad Hussain Shah
9d30f45776 fix: change register button text (#31343)
VAN-1174
2022-11-25 16:01:37 +05:00
Pooja Kulkarni
e456965c36 Merge pull request #30999 from open-craft/agrendalath/invalidate_cache_on_due_date_extension
fix: regenerate the cache on due date extensions
2022-11-24 11:10:05 -05:00
Nicholas Moy
e5b4879cd4 Merge pull request #31322 from openedx/nmoy/PSRE-2015_tracking_logs
fix: change docker-production log settings
2022-11-23 11:02:07 -05:00
Nathan Sprenkle
af050d46cb feat: add enterprise UUID to learner home init data (#31328)
* feat: add enterprise UUID to return object

* style: run black
2022-11-22 12:03:43 -05:00
muhammad-ammar
91f7992754 chore: upgrade edx-enterprise to 3.58.10 2022-11-22 13:55:28 +05:00
ohnickmoy
9cd84f9a9b fix: change docker-production log settings 2022-11-21 16:33:47 -05:00
Andrew Shultz
00b35d04f5 Merge pull request #31314 from openedx/ashultz0/close-goal-hole
fix: after failing to get course, stop trying to make a course message
2022-11-21 13:29:21 -05:00
SaadYousaf
1a0906bc7a feat: add discussion event coverage for legacy experience. 2022-11-21 14:59:50 +05:00
SaadYousaf
1cb1e2f61d fix: add fix for search event for learner search in discussions 2022-11-21 14:29:14 +05:00
Syed Sajjad Hussain Shah
9478b5f422 feat: show general recommendations (#31278)
Show general recommendations for
* API failure
* and when no enrollable courses are present

VAN-1158
2022-11-21 10:48:14 +05:00
Andy Shultz
686b586ab1 fix: after failing to get course, stop trying to make a course message
we were failing to get the course and then going on to try course.field
which would generate a worse exception

also wraps the email send in an exception absorb because a single email
can fail to send for infinitely many boring reasons
2022-11-18 15:56:38 -05:00
Shahbaz Shabbir
ee6f3164c3 feat: add course enrollment email task (#31241) 2022-11-18 17:25:52 +05:00
SaadYousaf
c0631c320e fix: legacy coverage and add missing properties for reported events 2022-11-17 13:03:47 +05:00