Commit Graph

24125 Commits

Author SHA1 Message Date
Nathan Sprenkle
bfe6494e9d fix: get audit expiration from correct data source (#31238) 2022-11-01 13:40:02 -04:00
SaadYousaf
17df3d4e17 feat: add discussion reported and unreported events 2022-11-01 15:57:13 +05:00
edx-transifex-bot
4b7eef2ea4 chore(i18n): update translations (#31231)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2022-10-31 15:55:09 +00:00
Syed Sajjad Hussain Shah
02568f94dc feat: create new waffle flag for learner home recommendations [VAN-1138] (#31225) 2022-10-31 10:58:02 +05:00
Sagirov Eugeniy
8f88422c4a test: prepare tests for removing support for children in Old Mongo 2022-10-28 11:43:20 -04:00
SaadYousaf
f6870f7ae7 refactor: remove todo to add tracking for reported content email notification 2022-10-28 19:10:58 +05:00
Nathan Sprenkle
64403a4c16 refactor: course resume URL speed enhancements (#31222)
* refactor: remove resume url checks for performance

Existing "get resume urls" loads the course structure to verify the last
completed block actually exists. This is a potentially very expensive
operation, especially for users with many enrollments. This isn't a huge
issue since Learning MFE already has a fallback behavior for this case.

* refactor: remove now-unnecessary serializer check

Old behavior passed an empty string for missing resume URL and
serializer would cast to None. Instead, update simply passes through
None for missing resume url

* style: update dependency ordering

* style: run black on some more files
2022-10-27 16:10:50 -04:00
alangsto
1d21277192 feat: update docker production log settings (#31217) 2022-10-27 14:06:25 -04:00
Nathan Sprenkle
98678536d6 feat: add timers / logs for for profiling learner home (#31210)
* feat: added timer func for profiling learner home

Also involved proxying some imported functions to be able to time.
2022-10-27 10:16:01 -04:00
Usama Sadiq
4734f9f16e fix: bump pylint version (#31084) 2022-10-27 12:19:09 +05:00
Varsha Menon
c4b2c49ab6 feat: show exam info in course outline 2022-10-26 14:28:27 +00:00
Nathan Sprenkle
32733e43cc temp: added debug logging to init view (#31204)
Also involved reordering some code into more logical groupings.
2022-10-25 16:21:48 -04:00
Sagirov Eugeniy
3f3d0d25d8 feat!: Remove inheritance-related code from Old Mongo 2022-10-24 11:58:44 -04:00
Jenkins
d4fab3baaf chore(i18n): update translations 2022-10-24 10:44:58 -04:00
Jansen Kantor
4cd92ec12b fix: remove psudosessioncourseserializer as we now have access to courseoverviews (#31187) 2022-10-21 10:08:14 -04:00
muhammad-ammar
33e822aaff chore: upgrade edx-enterprise to 3.58.0
Add a new endpoint to generate a signed token for plotly analytics.
2022-10-21 15:47:43 +05:00
Kristin Aoki
c20aa28c2f fix: video captions skip to end and skip to start 2022-10-20 11:58:17 -04:00
Leangseu Kim
602fef2954 feat: add rollout waffle flag for leaner_home_mfe
Create flag learner_home_mfe.enabled

chore: update requested change
2022-10-20 10:54:02 -04:00
Jenkins
02e739d3df chore(i18n): update translations 2022-10-19 12:50:43 -04:00
Nathan Sprenkle
53b9f4a3a1 feat: learner home social share settings (#31147)
* feat: add social share settings

* docs: add social share settings to mock

* feat: add social brand

* test: added tests for social share settings

Co-authored-by: jansenk <jkantor@edx.org>
2022-10-19 10:11:38 -04:00
SaadYousaf
c79c41e0a3 fix: filter out discussion topics that have not started yet for instructor paced courses 2022-10-13 23:15:46 +05:00
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