Commit Graph

23732 Commits

Author SHA1 Message Date
Mehak Nasir
7cf037f540 style: banner height reduced to space screen size (#30241) 2022-04-14 13:14:27 +05:00
Hamza Khchine
ea8f667bee feat: Add management command for updating discussion user stats for all users in a course (#29973)
Adds a management command to trigger an update to generate user stats for all users in a course.
2022-04-13 19:09:50 +05:00
Kshitij Sobti
60918fb160 feat: use native learning MFE tab for discussions (#30109)
Updates the discussions tab to return the learning MFE tab URL so the discussion content can be shown in the learning MFE itself.
2022-04-13 18:55:27 +05:00
SaadYousaf
149ca028d7 feat: update discussion settings API to handle changes reported_content_email_notification field 2022-04-13 15:10:48 +05:00
Syed Sajjad Hussain Shah
781032858f fix: Make course metadata values dynamic
Make course metadata price value dynamic by
sending value from backend

VAN-921
2022-04-13 14:29:22 +05:00
Mubbshar Anwar
0663795781 feat: reminder emails (#30159)
send reminder emails to those users who saved course or program but not enroll within 15 days.
VAN-887
2022-04-13 12:27:50 +05:00
Thomas Tracy
c89a137b68 fix: [MICROBA-1769] Fix early nonpassing status (#30160)
In certain situations, learners in the nonpassing state (or sometimes
students who have finished a course too early and passed) were getting
information about their grad and certificate status before they were
supposed too.

This adds some data to the courseware api that will allow us to mirror
availability states for certifictes of passing learners withour
revealing information through the api. Now, no matter the status of the
students grade or certificate display behavior, a student should not see
information about certificates early.
2022-04-12 14:10:21 -04:00
Justin Hynes
f2582c4e9e Merge pull request #30192 from openedx/jhynes/microba-1507_scheduled-tasks
feat: update existing functions to support scheduled email tasks
2022-04-12 08:26:31 -04:00
Ali Akbar
5eedf84ba8 Merge pull request #30114 from openedx/aakbar/PROD-2740
feat: add financial assistance configuration model and util functions
2022-04-12 13:02:31 +05:00
AliAkbar
9af7418da6 feat: add financial assistance configuration model and util functions 2022-04-12 12:04:15 +05:00
Feanil Patel
40f5744f1f docs: Add documentation for how to extend a setting.
Also remove some old docs suggestions that I don't think are relevant
anymore.

Co-authored-by: David Ormsbee <dormsbee@edx.org>
Co-authored-by: Robert Raposa <rraposa@edx.org>
2022-04-11 13:57:41 -04:00
Maria Grimaldi
7dc60db1d9 Merge pull request #29792 from raccoongang/dyudyunov/fix-certificate-generation-without-persistent-grades
Fix certificate generation without persistent grades
2022-04-08 12:02:53 -04:00
Justin Hynes
e826abc0e8 feat: update existing functions to support scheduled email tasks
[MICROBA-1507]

* Adds support to the bulk course email tool to extract a schedule and timezone from a `send_email` request.
* Submits the task for scheduling when needed.
2022-04-07 13:35:31 -04:00
Michael Terry
dc55021e8e Merge pull request #30176 from openedx/mikix/resize-more
fix: tell MFE about xblock iframe resizes more often
2022-04-07 11:14:46 -04:00
Usama Sadiq
80f9f1de7a Fix quality failures with pylint 2.13.5 (#30197)
* build: update pylint-checks ci workflow
* fix: fix quality failures with new pylint version
* chore: remove pylint constraint
* chore: Updating Python Requirements (#30196)
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-04-07 13:59:44 +05:00
Muhammad Ammar
9b7085dd95 Merge pull request #30042 from openedx/ammar/public-videos-poc
add an xblock renderer endpoint to serve videos as public having public access set by course author in studio
2022-04-06 10:29:22 +05:00
Jansen Kantor
e653408869 Merge pull request #30177 from openedx/jkantor/init-esg-flag
feat: include ESG enabled flag in init response
2022-04-05 09:56:07 -04:00
muhammad-ammar
735607a752 feat: add an xblock renderer endpoint to serve videos as public having
public access set by course author in studio
2022-04-05 16:42:39 +05:00
Hammad Ahmad Waqas
21e1aa54c8 Merge pull request #30182 from openedx/hammad/ENT-5524
fix: added COURSE_TWO_IMAGE_LINK in send_program_course_nudge_email
2022-04-05 15:35:06 +05:00
Ali Akbar
83b22f1ff5 Merge pull request #30127 from openedx/aakbar/PROD-2741
feat: add a waffle switch for new financial assistance flow
2022-04-05 15:24:56 +05:00
HammadAhmadWaqas
9ad61c22ee fix: added COURSE_TWO_IMAGE_LINK in send_program_course_nudge_email 2022-04-05 15:04:17 +05:00
AliAkbar
3082542aa2 feat: add a waffle switch for new financial assistance flow 2022-04-05 15:02:31 +05:00
Azan Bin Zahid
f61a39d577 Merge pull request #30165 from openedx/azan/PROD-2748
feat: add two modes of bootcamp
2022-04-05 12:10:22 +05:00
Zainab Amir
921dadac99 feat: add password compliance check for login (#30149)
Add nudge and block checks for HIBP API on login view

VAN-667
VAN-668
2022-04-05 11:18:52 +05:00
jansenk
3c8bc4e5f1 chore: pylint toggle annotation 2022-04-04 17:55:27 -04:00
jansenk
9e716a94c3 style: quality 2022-04-04 16:58:06 -04:00
jansenk
03254ca1bb feat: include ESG enabled flag in init response 2022-04-04 16:23:27 -04:00
Michael Terry
04d56f9229 fix: tell MFE about xblock iframe resizes more often
Previously, we missed some kinds of resize events (like css changes)
when the DOM inside an xblock changed. And then the MFE iframe
wouldn't be the right size.

This switches from a MutateObserver to the more appropriate
ResizeObserver which catches more cases.

AA-1252
2022-04-04 16:21:14 -04:00
Nathan Sprenkle
3fdd3f9150 feat: add batch lock delete endpoint (#30161)
* feat: add batch lock delete endpoint

* chore: bump ORA versions

* docs: update example postman collection
2022-04-04 11:22:22 -04:00
alangsto
681c2f1d6c chore: remove IDV references for proctoring and student/instructor display (#30146)
Places where IDV is referenced for blocking proctoring or displaying the IDV status to students and instructors should be removed. This includes the use of the ENABLE_INTEGRITY_SIGNATURE setting, which was used in part to deprecate IDV in those specified places. Other areas where ENABLE_INTEGRITY_SIGNATURE is used (such as for showing/hiding the integrity signature, for the verification deadline, or for certs) shall be left as is due to deprecation concerns.
2022-04-04 08:11:40 -07:00
Michael Terry
fc8601de01 feat!: remove all access to Old Mongo courses
Change has_access to deny 'load' support for Old Mongo courses.

This is in service of dropping support for these ancient
courses and removing legacy code that they rely on.

DEPR-58
2022-04-04 10:37:09 -04:00
Michael Terry
1cbd3e46ce Revert "feat!: remove all access to Old Mongo courses" 2022-04-04 10:19:23 -04:00
Michael Terry
436fc52c52 Merge pull request #29848 from openedx/mikix/remove-old-mongo-access
feat!: remove all access to Old Mongo courses
2022-04-04 09:55:11 -04:00
Chris Pappas
e008357030 feat: add new target for docker-specific deployment of lms (#30168) 2022-04-04 08:53:26 -04:00
Hammad Ahmad Waqas
c6e7bbcdf4 Merge pull request #30150 from openedx/hammad/ENT-5524
feat: added management command to fire segments events to suggest courses from programs.
2022-04-04 15:52:01 +05:00
Kshitij Sobti
73c7d7166f feat: handle navigation and resize events from discussions MFE (#30164)
The discussions MFE sends resize and navigation events via the postMessage API, we can use these events to resize the iframe and make sure that the iframe loads the correct page on refresh.

Co-authored-by: Hamza Khchine <hamza.Khchine@opencraft.com>

Co-authored-by: Hamza Khchine <hamza.Khchine@opencraft.com>
2022-04-04 14:47:57 +05:00
HammadAhmadWaqas
172910d257 feat: added management command to fire segments events to suggest courses from programs. 2022-04-04 14:46:42 +05:00
Justin Hynes
e5aa6c365b Merge pull request #30166 from openedx/jhynes/microba-1779_fix-link
fix: remove `noreferrer` tag from link to Comms MFE to fix blank page
2022-04-01 14:28:24 -04:00
Justin Hynes
9f849f6e17 fix: remove noreferrer tag from link to Comms MFE to fix blank page
[MICROBA-1779 & CR-4684]

- remove `noreferrer` tag from link to the Comms MFE to fix content opening in a blank page
2022-04-01 13:37:50 -04:00
Azan Bin Zahid
aa32d19f39 fix: test quality 2022-04-01 17:36:13 +05:00
Azan Bin Zahid
0d0d5d6129 feat: add two modes of bootcamp 2022-04-01 17:15:12 +05:00
Ghassan Maslamani
e1d9746d61 fix: make bulk_email send email task handles a retryable exception (#29080)
* fix: make bulk_email send email task handles a retryable exception
According to bulk_email and SMTP doc, when an error code is between
(400-499) it can be retried after sometime, this commit adds a new
type of exception called SMTPSenderRefused, so it can be retried
**if** it's code fails under above constraint.

* test: add test to handle SMTPSenderResfused

Co-authored-by: Justin Hynes <jhynes@edx.org>
2022-03-30 14:45:08 -04:00
Mubbshar Anwar
c88db037fa chore: save for later admin (#30152)
register save_for_later app models in django admin.
VAN-887
2022-03-30 18:28:21 +05:00
Justin Hynes
fdeffb824d Merge pull request #30126 from openedx/jhynes/microba-1508_add-scheduledinstructortask-model
feat: add models for scheduled instructor tasks
2022-03-30 07:36:00 -04:00
Ahtisham Shahid
18e3516b36 feat: Added permissions for course staff to discussion MFE (#30143) 2022-03-30 15:34:09 +05:00
Sameen Fatima
f52c24d445 feat: Add authoring organization logo in API response for all learner enrolled programs (#30139) 2022-03-30 14:09:54 +05:00
Saad Yousaf
fd60d8c8cf fix: revert discussion xblock from MFE view to legacy view. (#30141)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2022-03-30 11:31:45 +05:00
Kyle McCormick
8039e40f47 refactor: move coursegraph to cms
This code was originally located at:
  ./openedx/core/djangoapps/coursegraph

However, code makes more sense within the ./cms tree, because:
* it is responsible for publishing course content to an
  external system, with is within the responsibilities of CMS, and
* is uses modulestore, which is discouraged for use in LMS
  (see 0011-limit-modulestore-use-in-lms.rst).

So, we move the code to:
  ./cms/djangoapps/coursegraph
and uninstall coursegraph from LMS.

We do not expect this refactor to have any breaking downstream effects.
2022-03-29 11:21:20 -04:00
Tim McCormack
7c7d7d8b6f feat: Allow REST_FRAMEWORK to be configured by (shallow) merge (#30112)
ARCHBOM-2073
2022-03-28 20:38:34 +00:00
Ghassan Maslamani
e27a8ad125 fix: add as style for the link tag that preloads (#30094)
Adding a as `as="style"` for link tag which preloads a CSS resource
That is requried to set otherwise chrome/browser would issue a warning about it. 
Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload
2022-03-28 14:57:23 -04:00