Commit Graph

57241 Commits

Author SHA1 Message Date
Bianca Severino
3f5cbcfc6a Check for an existing proctored exam before sending proctoring requirements email 2021-02-03 15:54:52 -05:00
Robert Raposa
eba1e282da Merge pull request #26175 from open-craft/nizar/tsd-block-structure-storage-caching
[TSD] Annotates block structures settings and waffle switches
2021-02-01 16:53:04 -05:00
Adam Stankiewicz
c99b7a12ce bump edx-enterprise to 3.17.16 (#26289) 2021-02-01 15:44:06 -05:00
Robert Raposa
6e6b6901a0 Merge pull request #26040 from regisb/regisb/remove-waffle-custom-monitoring
[BD-21] Remove soon-to-be-deprecated value monitor in edx-toggles
2021-02-01 14:56:35 -05:00
Nizar Mahmoud
fa9746a714 Annotates block structures settings and waffle switches
This includes the following settings:

- BLOCK_STRUCTURES_SETTINGS : setting dictionary which stores the other different block structures related settings

- BLOCK_STRUCTURES_SETTINGS['PRUNING_ACTIVE'] : keeps only a specific number of versions of each block structure, and deletes the rest

- BLOCK_STRUCTURES_SETTINGS['COURSE_PUBLISH_TASK_DELAY'] : specifies the delay, in seconds, after a new edit of a course is published before updating the block structures cache

- BLOCK_STRUCTURES_SETTINGS['TASK_DEFAULT_RETRY_DELAY'] : Specifies the delay, in seconds, between retry attempts for block structure tasks

- BLOCK_STRUCTURES_SETTINGS['TASK_MAX_RETRIES'] : specifies the max number of retries per block structure task

- BLOCK_STRUCTURES_SETTINGS['STORAGE_CLASS'] : specifies the storage which block structures would be saved to when storage backed block structures are enabled

    Example: 'storages.backends.s3boto.S3BotoStorage'

- BLOCK_STRUCTURES_SETTINGS['STORAGE_KWARGS'] : specifies additional arguments needed when utilizing storage for storing storage backed block structures

    Example: { bucket: 'test-edxapp' }

- BLOCK_STRUCTURES_SETTINGS['DIRECTORY_PREFIX'] : specifies the path to which storage backed block structures are saved

    Example: '/courses/'

This also includes the following waffle switches:

- block_structure.storage_backing_for_cache : enables storage backed block structures, used to retrieve the block structures from storage instead of regenerating the structure, when not available in cache

    it is important to note that this is important for production because it reduces response times on block structure related apis

- block_structure.raise_error_when_not_found : raises an error if the block structure requested doesnt exist in store or is outdated

- block_structure.invalidate_cache_on_publish : invalidates the block structure cache when courses are published

For an example with additional context, see the following forum post:

https://discuss.openedx.org/t/help-please-very-slow-load-time-10-seconds-for-courseware-on-sections-with-several-subsections-and-xblocks/2998/16

This also includes information about the toggles that will likely be deprecated and removed:

https://github.com/edx/edx-platform/pull/26175#issuecomment-769080286
2021-02-01 22:55:14 +03:00
Robert Raposa
659675308a Merge pull request #26058 from regisb/regisb/toggle-state-report-unittests
[BD-21] Improve test coverage of toggle state view
2021-02-01 14:53:31 -05:00
Robert Raposa
95126d826c Merge pull request #26169 from regisb/regisb/annotate-calendar-sync
[TSD] Annotate course_experience.calendar_sync
2021-02-01 14:52:24 -05:00
Robert Raposa
d564c6e7f7 Merge pull request #26177 from open-craft/fox/SE-3990-docathon-badgr
[TSD] [SE-3990] Add in standardized documentation for Badgr-related settings.
2021-02-01 14:41:01 -05:00
Christie Rice
3d6ab52b58 MICROBA-934 Trigger allowlist certificate generation from signals (#26257) 2021-02-01 13:12:10 -05:00
alangsto
0bca48b772 updated proctoring version (#26288) 2021-02-01 12:46:12 -05:00
Dillon Dumesnil
71b15df66c Merge pull request #26264 from edx/ddumesnil/reset-deadlines-event-aa-492
AA-492: Adds research tracking event for reset deadlines
2021-02-01 08:09:51 -08:00
Dillon Dumesnil
8c745cabbf AA-492: Adds research tracking event for reset deadlines
This PR also removes the exemption for staff from seeing the reset
deadlines banner (staff will now see the banner). Staff users would
still be unable to submit problems and wouldn't have a way of resetting
their deadlines while enrolled.
2021-02-01 10:48:11 -05:00
Bianca Severino
42e1ac0888 Merge pull request #26182 from edx/bseverino/proctoring-requirements-email
[MST-515] Automated proctoring requirements email
2021-02-01 10:19:56 -05:00
Bianca Severino
902ab02357 Send proctoring requirements email when enrolled in relevant course mode 2021-02-01 09:44:30 -05:00
Alex Dusenbery
4098902c7a In SystemWideEnterpriseUserRoleAssignment, Use either applies_to_all_contexts or enterprise_customer
if they are True or non-null, respectively, in determining the result of get_context(),
but continue to return list of all linked enterprise customer UUIDs if not, (which is the current behavior).
This is a small step on our journey to explicitly defining user-role assignments.
2021-02-01 09:24:01 -05:00
Régis Behmo
d89868b56b fix: "Invalid type for parameter ContentType" error on js upload (#25957)
We are affected by this issue:
https://github.com/jazzband/django-pipeline/pull/297#issuecomment-264416094

In particular, this occurs when trying to upload js assets to s3, such
as with the Scorm xblock:
https://github.com/overhangio/openedx-scorm-xblock/issues/16

This issue is resolved by upgrading django-pipeline to 2.0.3+, as the
fix was introduced here:
https://github.com/jazzband/django-pipeline/pull/715
2021-02-01 09:08:54 -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
Fox Danger Piacenti
a483a778f3 Add in standardized documentation for Badgr-related settings. 2021-01-29 12:45:01 -06: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
Régis Behmo
d50086a84b Annotate course_experience.calendar_sync
This simply adds code annotations to the course waffle flag, but does not
affect behaviour.
2021-01-29 11:41:40 +01: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