Commit Graph

22621 Commits

Author SHA1 Message Date
M. Zulqarnain
c9c14ee6fc BOM-2279 : Pylint amnesty for edxnotes,email_marketing, and experiments (#26274)
* lint amnesty for edxnotes,email_marketing, and experiments
2021-02-03 18:15:26 +05:00
M. Zulqarnain
65cf0db337 BOM-2278 : Pylint amnesty in discussion, dashboard (#26275)
* pylint amnesty in discussion, dashboard
2021-02-03 18:15:14 +05:00
M. Zulqarnain
feaf5011c8 BOM-2287 : Pylint amnesty in teams,tests,survey and verify_student (#26305)
* lint amnesty in teams,tests,survey and verify_student
2021-02-03 18:15:03 +05:00
M. Zulqarnain
0213fde968 BOM-2281 : Pylint amnesty for grades,gating and instructor app (#26343)
* pyint amnesty for grades,gating and instructor app
2021-02-03 18:14:35 +05:00
Jawayria
462158b3da Resolved quality issue 2021-02-03 16:57:55 +05:00
Jawayria
2ce363abb0 Applied pylint-amnesty to coursewarehistoryextended 2021-02-03 16:54:49 +05:00
Jawayria
1255cc0ac1 Merge pull request #26281 from edx/py-amnesty-certificates
Applied pylint-amnesty to certificates
2021-02-03 15:36:03 +05:00
jawad khan
957f3ab8a5 LEARNER-8191 - Added first_component_block_id in dates api (#26319)
* LEARNER-8191
Added first_componnet_block_id in dates api
2021-02-03 13:53:21 +05:00
Nimisha Asthagiri
60319c52d9 Merge pull request #26251 from eduNEXT/TSD_retirement_settings_annotations
[TSD] Adding annotations for User Retirement settings
2021-02-02 21:00:24 -05:00
Nimisha Asthagiri
95761866a2 Merge pull request #26261 from eduNEXT/TSD_edx_notes_settings_annotations
[TSD] Adding annotations for edx_notes_api settings
2021-02-02 20:51:43 -05:00
Nimisha Asthagiri
3b1fe1868b Merge pull request #26252 from edx/tsd/disable_login_button
[TSD] add annotations for the DISABLE_LOGIN_BUTTON feature flag
2021-02-02 20:50:19 -05:00
Nizar Mahmoud
4e16b92971 Documents maintenance banner setting and toggle and adds necessary unit tests 2021-02-02 23:04:53 +03:00
Jawayria
f5f037b62f Resolved errors 2021-02-02 20:30:46 +05:00
Jawayria
71e0ee6eaf Resolved errors 2021-02-02 19:52:11 +05:00
jawad khan
8529e433b8 Added completion from root to child blocks api and increased version
* Added completion from root to child blocks api and increased version
Learner-8158
2021-02-02 19:51:14 +05:00
Jawayria
1d1dc07310 Resolved quality failures 2021-02-02 19:24:08 +05:00
Jawayria
bb53cd9af0 Applied pylint-amnesty to certificates 2021-02-02 19:24:08 +05:00
Jawayria
92a13c55c3 Applied pylint-amnesty to certificates 2021-02-02 19:23:48 +05:00
Christie Rice
ad3ab3712e MICROBA-918 Remove unused variables, standardize imports, and use factories in tests (#26291) 2021-02-02 09:00:18 -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
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
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
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
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
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
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
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
usamasadiq
dbfec8ee3c Remove nonrequired conditions 2021-02-01 16:30:47 +05:00