Commit Graph

23720 Commits

Author SHA1 Message Date
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
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
Syed Sajjad Hussain Shah
c5319d6c2b fix: Add course key or program UUID (#30125)
* fix: Add course key or program UUID

Added course key or program uuid for Save For Later
segment event

VAN-905

* fix: fixed failing test

* fix: fixed PEP 8 failure
2022-03-28 12:38:22 +05:00
Justin Hynes
31d3fcc01a feat: add models for scheduled instructor tasks
[MICROBA-1508]
- Adds the InstructorTaskSchedule model
- Adds the HistoricalInstructorTaskSchedule model
- Adds utility function used to create a InstructorTaskSchedule instance
- Adds a public `create_course_email` Python API function to the bulk_email app that can be imported and used in external apps
- Adds a new `test_api_helper.py` test file (with tests for the new `schedule_task` function) to the instructor_task app
- Adds a new `test_api.py` test file (with tests for the new `create_course_email` function to the bulk_email app
2022-03-25 14:34:37 -04:00
Feanil Patel
b2488d8f6f Merge pull request #30117 from openedx/feanil/update_production_default_values
feat: Update how some settings are read in production.py settings files.
2022-03-25 10:07:10 -04:00
Awais Qureshi
bc45f1ee48 fix: Removed usage of djangoratelimitbackend. (#30116)
* fix: Removed usage of djangoratelimitbackend.
2022-03-25 15:27:39 +05:00
Shafqat Farhan
935c01c9ee Merge pull request #30122 from openedx/shafqat/VAN-669
feat: VAN-669 - Disallow bad passwords on Registration
2022-03-25 15:18:36 +05:00
Shafqat Farhan
df22dfbe0d feat: VAN-669 - Disallow bad passwords on Registration 2022-03-25 15:00:07 +05:00
Awais Jibran
51e0742737 Merge branch 'master' into feanil/update_production_default_values 2022-03-25 13:34:56 +05:00
Matjaz Gregoric
8633249853 Merge pull request #28268 from open-craft/agrendalath/bb-4503_library_content_block_completion
feat: allow marking Library Content Block as complete on view [BB-4503]
2022-03-25 08:27:13 +01:00
Feanil Patel
7d2a8340c5 feat: Update how some settings are read in production.py settings files.
Most settings in the production.py files fall back to their values in
common.py if they aren't set in the yaml config files but some
historically didn't.  Update them so that they are more in-line with the
rest of the settings in this file.
2022-03-24 09:59:53 -04:00
Michael Terry
d9e9b677f0 Merge pull request #30047 from openedx/ddumesnil/dates-tab-static
feat: Updates the Dates Tab to be a static tab
2022-03-24 09:53:25 -04:00
Usama Sadiq
1cebd3ed7b Remove django-ratelimit-backend (#30054)
* fix: remove the usage of django-ratelimit-backend

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2022-03-24 17:21:56 +05:00
Keith Grootboom
2280420785 fix: problem_grade_report task parent dir being discarded.
When running the problem_grade_report task the upload_parent_dir
argument should be used to place the task output in the
specified directory.
2022-03-24 10:08:06 +01:00