Ahtisham Shahid
c2696c07fc
fix: updated topic sorting for discussions MFE ( #31124 )
...
* fix: updated topic sorting for discussions MFE
* feat: updated topic sorting test case
2022-10-13 15:09:19 +05:00
Sagirov Evgeniy
265ddc426e
feat!: raise 404 for old mongo course pages ( #31125 )
...
LMS Courseware access to Old Mongo courses was already removed in
fc8601de (https://github.com/openedx/edx-platform/pull/30172 ). This
commit makes direct links to the other tabs (progress, instructor
dashboard, discussion, static tabs) fail with a 404 error on Old
Mongo courses.
Upcoming work to remove parent/child relationships from the Old
Mongo Modulestore would have broken these pages anyway.
2022-10-12 10:44:04 -04:00
Demid
062a760242
feat: add "count_flagged" query param to the learner thread endpoint ( #31048 )
2022-10-12 16:41:06 +05:00
Muhammad Adeel Tajamul
c758291ebd
fix: removed switch experience bar from legacy ( #31138 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-10-12 12:00:32 +05:00
Syed Sajjad Hussain Shah
52de7e9066
feat: integrate amplitude API with learner_home frontend [VAN-1124] ( #31098 )
2022-10-10 12:09:28 +05:00
Jenkins
3bd94f78f9
chore(i18n): update translations
2022-10-09 16:58:34 -04:00
Saad Yousaf
3423feb4fd
Revert "fix: filter out discussion topics that have not started yet."
...
This reverts commit 54b5d59fc3 .
2022-10-08 14:58:14 +05:00
SaadYousaf
54b5d59fc3
fix: filter out discussion topics that have not started yet.
2022-10-07 15:17:12 +05:00
Alejandro Cardenas
43158404bc
perf: add lru_cache to improve performance with multiple themes
...
These changes should improve the performance caused by the file I/O
when it's running in docker, using lru_cache to save thousands of calls to listdir
when running with a handful of themes defined in COMPREHENSIVE_THEME_DIRS.
2022-10-06 14:32:14 -04:00
Nathan Sprenkle
5deeff3da1
fix: update enrollment.canUpgrade ( #31122 )
...
Had previously expected use_ecommerce_payment_flow which we forgot to
pass as part of context. Instead, simplify to infer from
ecommerce_payment_page (which will be None if the ecommerce flow is
disabled).
2022-10-06 13:20:22 -04:00
Justin Hynes
5245c69d17
Merge pull request #31092 from openedx/jhynes/aper-1941_route-new-task-to-program-cert-queue
...
fix: update new `update_certificate_available_date_on_course_update` task to use dedicated credentials queue
2022-10-06 07:51:22 -04:00
Syed Sajjad Hussain Shah
0509bb3acd
feat: launch hotjar recommendations survey [VAN-1108] ( #31118 )
2022-10-06 16:08:32 +05:00
Muhammad Adeel Tajamul
5cb6e9859a
feat: remove support for discussion mfe iframe ( #31067 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-10-06 06:04:33 +05:00
Nathan Sprenkle
2f10ba0992
fix: learner home entitlement image fallback ( #31107 )
...
* fix: add default for pseudo session image
This keeps the serializer from breaking when image is not present in a
pseudo session.
2022-10-05 15:56:08 -04:00
Leangseu Kim
27006febcd
fix: safe wrapper for no program banner image
2022-10-05 14:40:06 -04:00
Syed Sajjad Hussain Shah
893c025d0c
feat: add course recommendations api unit tests [VAN-1104] ( #31069 )
2022-10-05 11:37:55 +05:00
Jenkins
8f90ba5f32
chore(i18n): update translations
2022-10-04 16:54:59 -04:00
Justin Hynes
479129eb21
fix: update new update_certificate_available_date_on_course_update task to use credentials queue
...
[APER-1941]
* update new `update_certificate_available_date_on_course_update` task to use dedicated credentials queue (like the other import Credentials tasks)
2022-10-04 13:25:32 -04:00
SaadYousaf
8ecb39826a
fix: add missing context for discussion events
2022-10-03 15:26:31 +05:00
SaadYousaf
6aca8abe87
feat: add event for edited content in discussions
2022-10-03 15:00:03 +05:00
Muhammad Adeel Tajamul
e96102b2f1
feat: removed discussion sort options from advanced settings ( #30963 )
...
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com >
2022-09-30 11:42:59 +05:00
Nathan Sprenkle
dc5b14b723
fix: fix enrollment.has_started check ( #31059 )
...
Co-authored-by: nsprenkle <nsprenkle@2u.com >
2022-09-29 10:39:55 -04:00
Nathan Sprenkle
b6bc647e18
fix: fix routing for mock path ( #31047 )
...
Co-authored-by: nsprenkle <nsprenkle@2u.com >
2022-09-28 11:12:01 -04:00
Mubbshar Anwar
3ba556801f
fix: add variation condition ( #31042 )
...
2u LOBs cards only shows to users who fall in variation.
VAN-1097
2022-09-28 18:44:25 +05:00
Nathan Sprenkle
511363ee04
fix: resolve backend issues in learner home ( #31041 )
...
* fix: un-null course provider
* fix: update enterprise dashboard URL
* fix: update course thumbnail source
Co-authored-by: nsprenkle <nsprenkle@2u.com >
2022-09-27 12:23:19 -04:00
Ihor Romaniuk
60f81897a8
fix: add ability to observe iframe content height on content load and change ( #30942 )
...
These changes allow the ability to adapt to update/resize the unit content after loading and interaction. Main cases were with Open Response Assessment (ORA) and Discussion blocks.
2022-09-27 11:21:14 -04:00
Deimer Morales
74878ac29c
feat: adding persistent grade event with test ( #30916 )
...
Adds a new Open edX Event which will be triggered when a persistent grade is created or updated.
2022-09-26 13:40:30 -04:00
Piotr Surowiec
fcb594d635
Merge pull request #30715 from open-craft/agrendalath/bd-13-deprecate_course_id
...
refactor: deprecate course_id from ModuleSystem [BD-13]
2022-09-26 14:23:11 +02:00
Mubbshar Anwar
3bb45d2547
feat: activate optimizely experiment ( #31035 )
...
activate optimizely experiment manually for only B2C users.
VAN-1097
2022-09-26 16:03:42 +05:00
jawad khan
4f74d8a16a
feat: added mobile configs in enrollments api ( #31036 )
...
* feat: added mobile configs in enrollments api
Mobile team needs some cnfigs after user has logged in, enrollment api seems to be the best place
to put this data. They can change these flags or values from admin side.
LEARNER-9039
2022-09-26 14:27:23 +05:00
Jenkins
d308a6affa
chore(i18n): update translations
2022-09-25 17:22:34 -04:00
Ben Warzeski
69d1e3029d
feat: update learner home mock data bannerImgSrc to be relative ( #31033 )
2022-09-22 11:26:19 -04:00
Syed Sajjad Hussain Shah
96f6174d9e
feat: Add 2U recommendations in dashboard [VAN-1094] ( #31026 )
2022-09-22 13:01:10 +05:00
Ben Warzeski
c81136997a
fix: update learner home mock api data ( #31028 )
2022-09-21 14:50:19 -04:00
Agrendalath
1afb32c775
fix: move service initialization from LMS runtime init to module render
2022-09-21 19:05:03 +02:00
Agrendalath
dd97c74fde
refactor: deprecate course_id from ModuleSystem
...
This attribute is already deprecated for XBlocks in favour of directly
retrieving it like `block.scope_ids.usage_id.context_key`.
This commit also removes some redundant logging code which was omitted in the
Datadog removal in #19420 .
2022-09-21 18:53:45 +02:00
Agrendalath
c2ac3d83c3
refactor: remove deprecated runtime.course_id from edxnotes decorator
...
We will use `context_key` instead.
2022-09-21 18:52:28 +02:00
Agrendalath
8c89c755c1
refactor: remove deprecated runtime.course_id from student field overrides
...
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00
Agrendalath
98bb30dcd8
refactor: remove deprecated runtime.course_id from VideoBlock
...
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00
Agrendalath
668683559b
refactor: deprecate static_url argument from ModuleSystem
...
This argument was officially used only by the ProblemBlock.
If you need to get the base URL for static assets in your XBlock, please use
`settings.STATIC_URL` directly, instead of `runtime.STATIC_URL`.
2022-09-21 18:28:44 +02:00
jansenk
9f30fece9a
feat: add url param to learner home init to allow masquerading
...
feat: username or email
test: add tests for masquerade by email
style: run black
style: fix typos
fix: fix test errors
2022-09-21 11:06:09 -04:00
Shafqat Farhan
06c827c817
Merge pull request #31012 from openedx/shafqat/VAN-1080
...
fix: VAN-1080 - Users getting already enrolled courses recommendations
2022-09-21 16:18:40 +05:00
AsadAzam
23972e7f94
fix: merge discussions rollout flags ( #30989 )
...
* fix: merge discussions rollout flags
* test: fixed tests
* test: fixed tests
2022-09-21 14:28:33 +05:00
SaadYousaf
85a8b39735
feat: add event for content deletion for discussions
2022-09-21 13:20:58 +05:00
Andrés González
4049db2d41
fix: Refactor xss-lint exceptions that break the certificate share-in-facebook link ( #30495 )
...
* Remove xss-lint that break the certificate share in facebook link
* Refactor xss-lint in fb share link
* fix: Refactor xss-lint exceptions that break the certificate share-in-facebook link
Co-authored-by: EC2 Default User <ec2-user@ip-172-31-1-149.ec2.internal >
2022-09-20 15:37:05 -04:00
Zachary Hancock
2f3c93ed9f
feat: sync with exam service on course publish ( #31015 )
...
Call into the exam service instead of the edx-proctoring plugin on course publish if the course_apps.exams_ida course waffle flag is enabled. This is an early step in moving away from edx-proctoring
2022-09-20 12:38:32 -04:00
Shafqat Farhan
0a65fc7aa2
Merge branch 'master' into shafqat/VAN-1080
2022-09-20 05:29:49 +05:00
Shafqat Farhan
0bb47bf87e
fix: VAN-1080 - Users getting already enrolled courses recommendations
2022-09-20 05:28:58 +05:00
Moeez Zahid
2f098c54e6
fix: Youtube has highest default stream priority ( #31014 )
2022-09-19 20:31:42 +05:00
Maxwell Frank
76cee06850
Merge pull request #31008 from openedx/mfrank/update-cert-reqs
...
fix: update cert requirements
2022-09-19 09:07:49 -04:00