Commit Graph

61968 Commits

Author SHA1 Message Date
Awais Qureshi
d24a1401ae BOM-2282
Apply pylint-amnesty.
2021-02-02 10:47:24 +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
Awais Qureshi
92dfde7ca1 BOM-2282
Apply pylint-amnesty.
2021-02-01 19:46:04 +05:00
Bianca Severino
902ab02357 Send proctoring requirements email when enrolled in relevant course mode 2021-02-01 09:44:30 -05:00
Jawayria
0c22d77bf8 Applied pylint-amnesty to course_wiki 2021-02-01 19:44:11 +05:00
Awais Qureshi
44576ce3f6 BOM-2282
Apply pylint-amnesty.
2021-02-01 19:27:15 +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
Jawayria
4b4fc89693 Applied pylint-amnesty to commerce 2021-02-01 18:56:15 +05:00
Jawayria
1c9e711054 Applied amnesty to ccx 2021-02-01 18:28:04 +05:00
Jawayria
bf1726ece9 Applied pylint-amnesty to branding 2021-02-01 13:05:31 +00:00
Ned Batchelder
70ddda4e71 fix: messages shouldn't name edx.org
These messages appear on 1000 other sites that are not publishing to
edx.org.  There's no need to be so specific.
2021-02-01 08:00:11 -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
Ali-D-Akbar
533ef0d20e PROD-2248 2021-02-01 15:32:28 +05:00
Ali-D-Akbar
d6f6dad9a9 PROD-2205 2021-02-01 15:32:27 +05:00
Ali-D-Akbar
afb31f8049 PROD-1993 2021-02-01 15:32:27 +05:00
Ali-D-Akbar
1847bee0ad PROD-2084 2021-02-01 15:32:27 +05:00
Ali-D-Akbar
3c41404190 PROD-2116 2021-02-01 15:32:27 +05:00
Ali-D-Akbar
ab97902c5b PROD-2118 2021-02-01 15:32:27 +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
sarina
766157dbf3 Extend expiration of DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO toggle TNL-7932 2021-01-30 12:20:24 -05:00
jfavellar90
8a2ba99551 Adding annotations for edx_notes_api settings 2021-01-29 15:35:08 -05:00
oliviaruizknott
8dc86227b9 MICROBA-905 Add django-simple-history to CertificateInvalidation model 2021-01-29 15:10:08 -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
Felipe Montoya
7b0867e89a docs: add annotations for the DISABLE_LOGIN_BUTTON feature flag 2021-01-29 10:49:38 -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