Commit Graph

58450 Commits

Author SHA1 Message Date
usamasadiq
96bb6657a5 Lower the UPPER_PYLINT_THRESHOLD to 5900 2021-02-02 17:23:16 +05:00
Usama Sadiq
2eb4298c08 Merge pull request #26318 from edx/bom-2312
Applied pylint-amnesty to common/{lib, test, __init__.py}
2021-02-02 16:52:00 +05:00
Usama Sadiq
84deed7ad8 Merge pull request #26314 from edx/amnesty-xblockdjango
Applied pylint-amnesty to xblock_django
2021-02-02 16:51:12 +05:00
Usama Sadiq
390429f8fb Merge pull request #26306 from edx/amnesty-terrain
Applied pylint-amnesty to terrain
2021-02-02 16:51:01 +05:00
Usama Sadiq
8f919bdbe1 Merge pull request #26303 from edx/amnesty-status
Applied pylint-amnesty to status
2021-02-02 16:50:46 +05:00
Usama Sadiq
c4e21bf75f Merge pull request #26315 from edx/usamasadiq/bom-2307-pylint-amnesty
Applied pylint-amnesty
2021-02-02 16:46:44 +05:00
Usama Sadiq
28b5e533f7 Merge pull request #26316 from edx/2306-bom
BOM-2306 : pylint amnesty in cms apps
2021-02-02 16:44:24 +05:00
Usama Sadiq
661dc522f7 Merge pull request #26283 from edx/BOM-2282
BOM-2282
2021-02-02 16:41:02 +05:00
Usama Sadiq
56ec289fd8 Merge pull request #26295 from edx/BOM-2283
BOM-2283
2021-02-02 16:40:42 +05:00
Usama Sadiq
851eed1699 Merge pull request #26296 from edx/BOM-2284
BOM-2284
2021-02-02 16:40:17 +05:00
Usama Sadiq
5fde0ad27e Merge pull request #26297 from edx/BOM-2285
BOM-2285
2021-02-02 16:39:57 +05:00
Usama Sadiq
1cacd0cda5 Merge pull request #26298 from edx/BOM-2286
BOM-2286
2021-02-02 16:39:27 +05:00
Jawayria
9e677960bf Applied pylint-amnesty to common/{lib, test, __init__.py} 2021-02-02 15:42:02 +05:00
Zulqarnain
ffb9e6cb4b pylint amnesty in cms apps 2021-02-02 15:31:33 +05:00
usamasadiq
8556d670a2 Applied pylint-amnesty 2021-02-02 15:29:41 +05:00
Jawayria
f3846144a5 Applied pylint-amnesty to xblock_django 2021-02-02 15:09:08 +05:00
Jawayria
b1ecfc2252 Applied pylint-amnesty to util 2021-02-02 14:59:19 +05:00
Jawayria
fb6a62b753 Applied pylint-amnesty to terrain 2021-02-02 14:37:08 +05:00
Zaman Afzal
712a6bcc0c ENT-4034 Added more detail in exception (#26299) 2021-02-02 13:54:20 +05:00
Jawayria
44664d6a52 Merge pull request #26284 from edx/py-amnesty-coursewiki
Applied pylint-amnesty to course_wiki
2021-02-02 13:46:47 +05:00
Jawayria
c1e33c96c1 Merge pull request #26282 from edx/py-amnesty-commerce
Applied pylint-amnesty to commerce
2021-02-02 13:46:29 +05:00
Jawayria
10887e520e Merge pull request #26279 from edx/py-amnesty-ccx
Applied pylint-amnesty to ccx
2021-02-02 13:46:13 +05:00
Jawayria
bcfa24ad43 Merge pull request #26277 from edx/py-amnesty-branding
Applied pylint-amnesty to branding
2021-02-02 13:45:46 +05:00
Jawayria
3ce03896af Applied pylint-amnesty to status 2021-02-02 13:38:45 +05:00
Awais Qureshi
08f3ea6852 BOM-2286
Apply pylint-amnesty.
2021-02-02 13:29:06 +05:00
M. Zulqarnain
d9b9f21e22 pylint amnesty in LMS root (#26276) 2021-02-02 12:52:24 +05:00
edX requirements bot
df89e6d2d2 Updating Python Requirements (#26294) 2021-02-02 12:42:55 +05:00
Awais Qureshi
5510dc1c43 BOM-2286
Apply pylint-amnesty.
2021-02-02 12:39:06 +05:00
Awais Qureshi
ea26268b0a BOM-2285
Apply pylint-amnesty.
2021-02-02 12:09:42 +05:00
Awais Qureshi
1f7b33f9bd BOM-2284
Apply pylint-amnesty.
2021-02-02 11:39:28 +05:00
Awais Qureshi
07599e930c BOM-2284
Apply pylint-amnesty.
2021-02-02 11:37:56 +05:00
Awais Qureshi
aeca77e633 BOM-2283
Apply pylint-amnesty.
2021-02-02 11:33:01 +05:00
Awais Qureshi
28307c0a0a BOM-2283
Apply pylint-amnesty.
2021-02-02 11:31:34 +05:00
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