Commit Graph

22201 Commits

Author SHA1 Message Date
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
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
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
M. Zulqarnain
a5f6f682ee added pylint amnesty for bulk_enroll and course apps (#26246) 2021-02-01 13:58:59 +05:00
jfavellar90
8a2ba99551 Adding annotations for edx_notes_api settings 2021-01-29 15:35:08 -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
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
jfavellar90
f7786e1abc Adding annotations for User Retirement settings 2021-01-29 09:47:05 -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
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
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
SaadYousaf
0a5148211b fix for instructor tab visible in learner role when masquerading. 2021-01-29 15:57:37 +05:00