Commit Graph

58450 Commits

Author SHA1 Message Date
Daphne Li-Chen
2b4926eb54 AA-211: sending certificate information and studio link for displaying on fe 2020-08-04 11:44:03 -04:00
Dillon Dumesnil
73dcd9f2a3 Merge pull request #24627 from edx/ddumesnil/show-answer-pls
AA-261: Overridding Show Answer functionality for PLS courses
2020-08-04 08:40:06 -07:00
Ahmad Bilal Khalid
dfedde57b0 Handle edge case where dropdown values are not being indexed, fixed tests 2020-08-04 20:26:15 +05:00
Dillon Dumesnil
75f6937003 AA-261: Overridding Show Answer functionality for PLS courses
We noticed that since users can choose to reset their due dates,
they would have the ability to let due dates pass and then for any
assessment that allows viewing the answer after the due date would be
visible. The user could thus view all answers and then reset their
due dates to receive a perfect score.

This PR works to fix that issue by changing all show answer values
to not take into account being past the due date when inside a PLS
course.
2020-08-04 07:44:59 -07:00
Michael Terry
c40b53e0e7 Merge pull request #24670 from edx/mikix/outline-offer-html
AA-278: Add offer html to the course-home API
2020-08-04 10:34:58 -04:00
Michael Terry
da4dc6c848 AA-278: Add offer html to the course-home API
This is for the frontend-app-learning MFE to consume and show an
alert when offer_html is defined.

I've also tweaked that html a bit to work better in an environment
that doesn't have LMS's exact css.
2020-08-04 09:38:58 -04:00
Alex Dusenbery
3d1148b874 ENT-2982 | Upgrade edx-enterprise to 3.4.34 2020-08-04 09:21:01 -04:00
Usama Sadiq
a04dfce50c Merge pull request #24668 from edx/testeng/bokchoy_auto_cache_update_75c92249185a4af4668e78d7c894e6e445f9696b
Bokchoy Testing DB Cache update
2020-08-04 17:27:57 +05:00
M. Zulqarnain
bcb31dc864 Merge pull request #24673 from edx/jenkins/upgrade-python-requirements-f37161c
Python Requirements Update
2020-08-04 14:51:25 +05:00
bom
f4059ca600 pinned pymongo version to 3.10.1 2020-08-04 12:37:36 +05:00
edX requirements bot
5ab6f2100b Updating Python Requirements 2020-08-04 00:55:43 -04:00
alangsto
f37161c4ee prevent changes to settings via POST (#24665)
prevent changes to settings via POST

prevent changes to settings via POST

updated test name

updated based on feedback

removed comments
2020-08-03 16:56:30 -04:00
edX cache uploader bot
d93bd08ae9 Updating Bokchoy testing database cache 2020-08-03 15:43:10 -04:00
Alex Dusenbery
f9a5b7790b Upgrade edx-enterprise to 3.4.33 2020-08-03 15:38:31 -04:00
Dillon Dumesnil
3c375f0f8e Merge pull request #24657 from edx/ddumesnil/assignment-type-prefix-aa-280
AA-280: Add assignment type to date blocks serialization
2020-07-31 12:05:17 -07:00
Dillon Dumesnil
7dda524aaf AA-280: Add assignment type to date blocks serialization 2020-07-31 10:56:38 -07:00
Adam Stankiewicz
31f68d86ce fix msg banner spacing and padding (#24656) 2020-07-31 10:04:09 -04:00
David Ormsbee
d1f23422ca Merge pull request #24417 from open-craft/ahmed/bb-2675-support-annonymous-outline-access
[BD-29] [TNL-7263] Support Anonymous Courseware Access
2020-07-30 16:22:02 -04:00
Aarif
fabaf32bec Bokchoy Testing DB Cache update (#24649) 2020-07-31 00:11:28 +05:00
edX cache uploader bot
8e8a507520 Updating Bokchoy testing database cache 2020-07-30 13:34:03 -04:00
Alex Dusenbery
487fde77de Upgrade edx-enterprise to 3.4.31 2020-07-30 13:24:36 -04:00
Feanil Patel
d90c935ca9 Merge pull request #24593 from CUCWD/ztraboo.master/samesite-cookie-session-default
Fix issue with `SameSite=None` cookies from being blocked when `django_cookies_samesite.middleware.CookiesSameSite` is enabled for `devstack_docker` environment.
2020-07-30 13:14:47 -04:00
Michael Terry
bfb5884f79 Merge pull request #24620 from edx/mikix/enroll-alert
AA-124: Give Learning MFE enroll alert information
2020-07-30 12:48:15 -04:00
Zachary Trabookis
7da15d108e Set SESSION_COOKIE_SAMESITE=Lax for devstack_docker environment by default to allow login to LMS service. This is a fix for devstack_docker default value set to Lax for DCS_SESSION_COOKIE_SAMESITE. It was defaulting to SameSite=None which requires a secure site which localhost site does not by default. Setting this SameSite cookie attribute to something other than None will continue to allow login to the LMS for devstack_docker environment. Regards to #23671 and https://discuss.openedx.org/t/lti-xblock-and-samesite/759/16
Set `SESSION_COOKIE_SAMESITE=Lax` for `devstack_docker` environment by default to allow login to LMS service.  This is a fix for `devstack_docker` default value set to `Lax` for `DCS_SESSION_COOKIE_SAMESITE`. It was defaulting to `SameSite=None` which requires a secure site which `localhost` site does not by default.  Setting this `SameSite` cookie attribute to something other than `None` will continue to allow login to the LMS for `devstack_docker` environment.  Regards to #23671 and https://discuss.openedx.org/t/lti-xblock-and-samesite/759/16
2020-07-30 12:29:43 -04:00
edx-pipeline-bot
8cfb6e6256 Merge pull request #24646 from edx/private_to_public_4cf3c00
Mergeback PR from private to public.
2020-07-30 20:15:02 +05:00
taliaedX
853a54ea4c Merge pull request #24630 from edx/trhodes/saml_queryset_fix
BUG: fixes for saml provider config/data lookup
2020-07-30 10:51:12 -04:00
Jeff LaJoie
a2d2646ee5 Merge pull request #24634 from edx/jlajoie/enterprise-header-caching-fix
Fixes session caching for enterprise portal links by only caching for auth'd learners
2020-07-30 10:33:40 -04:00
Carla Duarte
047414d776 Merge pull request #24582 from edx/ciduarte/AA-127
AA-127: Created MFE Outline Tab Waffle Flag
2020-07-30 10:17:20 -04:00
Talia
2b956c54a0 BUG: fixes for saml provider config/data lookup 2020-07-30 10:05:19 -04:00
Jeff LaJoie
4282530faf Fixes session caching for enterprise portal links by only caching for auth'd learners 2020-07-30 09:18:35 -04:00
Ahmad Bilal Khalid
53fe1dd7bc Adds Enrollment Processor which is responsible for respecting course's outline access.
Moved data.py out into the parent's dirctory i.e learning_sequences directory to avoid circular import issue which is occuring when we try to import data.py from models.py.

A new CourseContext model is created, which is responsible for housing course specific fields e.g course_visibility.
2020-07-30 12:44:19 +05:00
Uzair Rasheed
4cf3c00021 Merge pull request #184 from edx/security-fix/fix-xss-tos
Fix XSS while prepending html
2020-07-30 11:00:05 +05:00
Uzair Rasheed
bad3b29b6c Merge pull request #189 from edx/security-fix/fix-xss-basesite
Fix xss in base site template
2020-07-30 10:59:53 +05:00
Uzair Rasheed
314fae8928 Merge pull request #190 from edx/security-fix/fix-xss-date
Fix xss in date
2020-07-30 10:59:44 +05:00
Uzair Rasheed
6b0be2cb6b Merge pull request #191 from edx/security-fix/fix-xss-in-file-upload
Fix xss while rendering file-upload
2020-07-30 10:59:35 +05:00
Uzair Rasheed
32fae72852 Merge pull request #192 from edx/security-fix/fix-xss-edit-member
Fix xss in edit member template
2020-07-30 10:59:21 +05:00
Adam Stankiewicz
00f4ea3fc3 fix keyerror with request.session (#24642)
* fix keyerror with request.session

* improve the conditional
2020-07-29 20:44:43 -04:00
Carla Duarte
b50fb39fc8 AA-127: Created MFE Outline Tab Waffle Flag
Note: The team settled on raising a 404 when the waffle flag is disabled.
Upon receiving the 404, the frontend will redirect to the LMS.
2020-07-29 18:57:58 -04:00
Ali-D-Akbar
0c67645d7f PROD-1534 2020-07-30 02:12:40 +05:00
edX Transifex Bot
0fb92e1ad0 geoip2: update maxmind geolite country database 2020-07-29 17:01:51 -04:00
Jansen Kantor
2ea6b253d6 allow plus or minus one (#24637) 2020-07-29 16:03:41 -04:00
Adam Butterworth
a463fbeca9 Revert "[BD-10] [DEPR-92] Remove pattern library of pavelib folder (#24591)" (#24635)
This reverts commit 6980291d96.
2020-07-29 15:37:33 -04:00
Joseph Mulloy
42dd5a7f1a Merge pull request #24636 from edx/revert-24602-ama/DEPR-92-node-modules
Revert "[BD-10] [DEPR-92] Remove directories that includes pattern library."
2020-07-29 15:36:50 -04:00
Adam Butterworth
0e0c9887b1 Revert "[BD-10] [DEPR-92] Remove directories that includes pattern-library. (#24602)"
This reverts commit e4f28debb7.
2020-07-29 14:56:49 -04:00
Adam Butterworth
ca7f488796 Revert "[BD-10] [DEPR-92] Remove pattern library of certificate styles." (#24633) 2020-07-29 13:57:46 -04:00
David Ormsbee
7561fe751c Merge pull request #24385 from open-craft/mavidser/source-from-library-xblock
[BD-14]"Source from Library" XBlock
2020-07-29 12:14:48 -04:00
Jeff Chaves
87f444fd44 ENT-3143: display message banner guiding user to their enterprise LP if enabled (#24625)
* display message banner guiding user to their enterprise LP if enabled

* adding new sass class name to use same styling as recovery email alert
2020-07-29 11:55:02 -04:00
Alex Wang
16a3d7fce3 Change the default value of allow_proctoring_opt_out (#24626)
MST-333
2020-07-29 07:51:21 -07:00
Ali-D-Akbar
ff2bf588eb PROD-1525 2020-07-29 14:48:50 +05:00
Ali-D-Akbar
8f12875e4a PROD-1530 2020-07-29 14:48:50 +05:00