Commit Graph

57221 Commits

Author SHA1 Message Date
Awais Qureshi
44576ce3f6 BOM-2282
Apply pylint-amnesty.
2021-02-01 19:27:15 +05:00
Usama Sadiq
fdb50bcce8 Merge pull request #25811 from edx/usamasadiq/bom-1740-post-python38-cleanup
Post Python38 clean up process
2021-02-01 17:19:21 +05:00
usamasadiq
dbfec8ee3c Remove nonrequired conditions 2021-02-01 16:30:47 +05:00
usamasadiq
842c8cfa80 Update tox to remove python35 2021-02-01 16:25:19 +05:00
M. Zulqarnain
a5f6f682ee added pylint amnesty for bulk_enroll and course apps (#26246) 2021-02-01 13:58:59 +05:00
Ali Akbar
0f1dd46028 Merge pull request #26254 from edx/IM/security-fixes-6-thresholds
update threshold after IM security fixes 6
2021-02-01 13:19:50 +05:00
Ali-D-Akbar
5daea1401e update threshold after IM security fixes 6 2021-02-01 12:50:26 +05:00
Usama Sadiq
174f1ce787 Merge pull request #26271 from edx/jenkins/upgrade-python-requirements-ec5b78c
Python Requirements Update
2021-02-01 12:28:02 +05:00
Zaman Afzal
b99a64c385 ENT-3798 Multiple_SSO_Accounts_Association_to_SAML_User (#26170) 2021-02-01 11:44:12 +05:00
edX requirements bot
4666697db8 Updating Python Requirements 2021-01-31 23:55:19 -05:00
Tim McCormack
ec5b78c625 doc: Clarify location and content of xblock token keys (#26259) 2021-01-29 19:44:26 +00:00
Feanil Patel
0c84904ae8 Merge pull request #26258 from edx/feanil/land_adr
Add Anonymous ID related ADR.
2021-01-29 14:38:59 -05:00
Feanil Patel
50efb38ccc Add Anonymous ID related ADR.
For a given course/user tuple, anonymous ID will not change once it
has been generated and saved.
2021-01-29 14:12:19 -05:00
Robert Raposa
0f3269037a Merge pull request #26256 from eduNEXT/TSD_enable_edx_notes_toggle
[TSD] Adding FEATURES[‘ENABLE_EDXNOTES’] annotations
2021-01-29 14:04:34 -05:00
Gonzalo
fc3eee17c4 Adding FEATURES[‘ENABLE_EDXNOTES’] annotations
fix PEP8 W291 trailing whitespace

fix too long lines

adding specified django settings for edx-notes-api

change toggle_description

checking CI tests

Final corrections for ENABLE_EDXNOTES toggle
2021-01-29 13:05:00 -05:00
Robert Raposa
f6ef794e2a Merge pull request #26220 from jramnai/tsd-allow_email_address_change
[TSD] add annotations for ALLOW_EMAIL_ADDRESS_CHANGE feature flag
2021-01-29 12:20:01 -05:00
Robert Raposa
a34e209ba5 Merge pull request #26226 from eduNEXT/lmm/student.courseenrollment_admin
[TSD] annotations for student.courseenrollment_admin
2021-01-29 10:44:56 -05:00
Robert Raposa
22a1ad5f47 Merge pull request #26164 from open-craft/raul/tsd-xblock-select_function
[TSD] adds annotations for XBLOCK_SELECT_FUNCTION
2021-01-29 10:42:20 -05:00
Christie Rice
3638005326 MICROBA-921 Add certificate allowlist (#26129) 2021-01-29 10:22:07 -05:00
Feanil Patel
855b08bf11 Merge pull request #26210 from edx/feanil/xblock_handler_token_peppers
Change how xBlock URLs are generated to be able to rotate SECRET_KEY
2021-01-29 10:06:36 -05:00
alangsto
e1441f9699 updated edx-proctoring version (#26250) 2021-01-29 10:01:32 -05:00
edx-pipeline-bot
3048cb7a85 Merge pull request #26249 from edx/private_to_public_0aa1b8f
Mergeback PR from private to public.
2021-01-29 09:01:36 -05:00
Luis Moreno
a1664d2fd8 feat: Move student.courseenrollment_admin from LegacyWaffleSwitch t a WaffleSwitch and add annotations 2021-01-29 09:31:02 -04:00
Usama Sadiq
79c3e81d08 Merge pull request #26247 from edx/revert-26171-zulqarnain-bom2245
Revert "BOM-2245 : Unpin python-dateutil"
2021-01-29 18:11:47 +05:00
Raul Gallegos
24f528cfa6 adds annotations for XBLOCK_SELECT_FUNCTION
improves the setting_description for XBLOCK_SELECT_FUNCTION

removes extra setting_description
2021-01-29 07:57:23 -05:00
M. Zulqarnain
550691f0ac Revert "Unpin python-dateutil (#26171)"
This reverts commit 0b32f0a3ec.
2021-01-29 17:51:18 +05:00
Saad Yousaf
87054578a5 Merge pull request #26154 from edx/saad/TNL-7361-followup
[TNL-7361] - Fix for instructor tab visible in learner role when masquerading.
2021-01-29 17:31:28 +05:00
Ali Akbar
0aa1b8f2bf Merge pull request #214 from edx/IM/security-fixes-5
Incident Management Security Fixes 5
2021-01-29 16:55:08 +05:00
M. Zulqarnain
0b32f0a3ec Unpin python-dateutil (#26171) 2021-01-29 16:10:40 +05:00
SaadYousaf
0a5148211b fix for instructor tab visible in learner role when masquerading. 2021-01-29 15:57:37 +05:00
edX cache uploader bot
2f994a9b21 Updating Bokchoy testing database cache (#26225) 2021-01-29 14:56:13 +05:00
Usama Sadiq
0b08001bb9 Merge pull request #26237 from edx/jenkins/upgrade-python-requirements-27defab
Python Requirements Update
2021-01-29 14:48:34 +05:00
Adeel Ehsan
1e0aad46c8 Merge pull request #26103 from edx/aehsan/van-300/logistration-renamed-to-authn
Logistration MFE renamed to authn
2021-01-29 13:57:43 +05:00
adeelehsan
55d2a4f897 Logistration MFE renamed to authn
VAN-300
2021-01-29 11:37:54 +05:00
edX requirements bot
69f939097b Updating Python Requirements 2021-01-28 23:45:57 -05:00
Jayram
a294dbc0ea add annotations for ALLOW_EMAIL_ADDRESS_CHANGE feature flag
removed optional annotations for ALLOW_EMAIL_ADDRESS_CHANGE feature flag
2021-01-29 07:02:02 +05:30
Matt Tuchfarber
27defaba2f Merge pull request #26228 from edx/tuchfarber/fix_mb_redirection
Fix dashboard coaching redirect
2021-01-28 16:50:40 -05:00
Matt Tuchfarber
a54ef27306 Fix dashboard coaching redirect 2021-01-28 16:20:56 -05:00
Feanil Patel
415dfe469b test: Add tests for XBLOCK_HANDLER_TOKEN_KEYS logic.
This tests the various steps of the rotation process work as we expect.

We set the reference time explicitly due to the bug we found in the
hashing logic which will be fixed in a future ticket.
2021-01-28 15:08:22 -05:00
Feanil Patel
ceb8b3ac51 feat: Code to use a new set of keys for xblock handlers.
The keys will fallback to the Django SECRET_KEY if it's not set or is an
empty list. Instructions for the rotation process are in a comment near
the usage of the new keys in openedx/core/djangoapps/xblock/utils.py.
2021-01-28 15:08:22 -05:00
Feanil Patel
07d11128e3 test: Add baseline tests for secure tokens for xblock handlers.
These tests did not exist so we add them first before making changes.

Add the __init__.py file to make test imports work properly.
ie. To solve https://github.com/pytest-dev/pytest/issues/774

More useful info on how that works here:
https://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules
2021-01-28 15:06:35 -05:00
Alex Dusenbery
27790141f3 Upgrade edx-enterprise to 3.17.14 | Add enterprise_customer field to the SystemWideEnterpriseUserRoleAssignment model, and updates Django Admin definitions around same. 2021-01-28 14:01:44 -05:00
Kyle McCormick
13bbab895e Bump django-config-models to 2.1.1 (#26219)
Pulls in a fix for a deprecated import of
`util.memcache.safe_key`.
2021-01-28 13:52:31 -05:00
alangsto
7a2299a2c3 upgrade edx-proctoring version (#26222) 2021-01-28 13:12:14 -05:00
Matthew Piatetsky
ff839c364e Merge pull request #26143 from edx/AA-613
[AA-613] Add contains_content_type_gated_content attribute to display items in the Sequence Metadata API.
2021-01-28 12:28:05 -05:00
Matthew Piatetsky
84fb4679c9 Add contains_content_type_gated_content attribute to display items in the Sequence Metadata API. This attribute is used to display the content type gating paywall in frontend-app-learning.
Also, refactor existing timed exam code that checks for content_type_gated_content in a sequence to make it try with the new code
AA-613
2021-01-28 12:00:53 -05:00
David Ormsbee
4fde69441c Fix build: use @shared_task for update_outline_from_modulestore_task (#26216)
Update to make update_outline_from_modulestore_task use @shared_task
and @set_code_owner_attribute.
2021-01-28 11:22:39 -05:00
David Ormsbee
5353324c80 Merge pull request #26145 from edx/ormsbee/course-outline-publish-tnl-7733
Push Course Outlines to learning_sequences on publish.
2021-01-28 10:21:11 -05:00
David Ormsbee
d531d38ec7 Fix formatting on interapp APIs extension ADR.
The numbered lists were not written correctly.
2021-01-28 09:56:38 -05:00
David Ormsbee
669677c78a Push Course Outlines to learning_sequences on publish.
The learning_sequences app has its own model for Course Outlines.
Prior to this commit, these course outlines were only populated by
a management command in the learning_sequences app that queried
modulestore. This commit does a few things:

1. Move the update_course_outline command to live in contentstore
   (i.e. Studio). This makes learning_sequences unaware of
   modulestore, and makes it easier for us to extract it from
   edx-platform (or to plug in different kinds of course outlines).
2. Add tests.
3. Add performance and debug logging to course outline creation.
4. Make course outline creation happen every time a course publish
   happens.

This will allow us to start collecting data about how long building
course outlines takes, and get error reporting around any content
edge cases that break the course outline code.
2021-01-28 09:56:28 -05:00