Commit Graph

58450 Commits

Author SHA1 Message Date
stvn
9df2c4462f fix: Add DiscussionsConfiguration.enabled to admin page
Without this, we can't edit it via the default view.
2021-02-03 01:49:07 -08:00
edX cache uploader bot
43ea6c5904 Updating Bokchoy testing database cache (#26334) 2021-02-03 13:55:42 +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
Jawayria
c958cf9920 Resolved quality failures 2021-02-03 13:43:56 +05:00
Awais Qureshi
0b5cadd176 BOM-2315
Apply pylint-amnesty.
2021-02-03 13:43:47 +05:00
Jawayria
7be5a683aa Applied pylint-amnesty to third_party_auth 2021-02-03 13:37:05 +05:00
Jawayria
6be60b2fcc Resolved quality failures 2021-02-03 13:13:00 +05:00
Jawayria
62bc555817 Applied pylint-amnesty to track 2021-02-03 13:10:42 +05:00
Awais Qureshi
c246ba2e9b BOM-2315
Apply pylint-amnesty.
2021-02-03 12:18:09 +05:00
Awais Qureshi
42e7cac6dc BOM-2315
Apply pylint-amnesty.
2021-02-03 12:15:41 +05:00
stvn
e677be8329 Merge PR #26337 bd03/pylint
* Commits:
  style: Fix pylint issues in discussions app
2021-02-02 18:11:41 -08:00
Nimisha Asthagiri
aa7ab97f23 Merge pull request #26248 from jramnai/tsd-allow_course_reruns
[TSD] add annotations for ALLOW_COURSE_RERUNS feature flag
2021-02-02 21:09:32 -05:00
Nimisha Asthagiri
242c1a3ade Merge pull request #26245 from jramnai/tsd-disable_mobile_course_available
[TSD] add annotations for DISABLE_MOBILE_COURSE_AVAILABLE feature flag
2021-02-02 21:05:48 -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
stvn
c36c343c58 style: Fix pylint issues in discussions app 2021-02-02 16:57:39 -08:00
Jeff Chaves
02a8324dd0 feat: bumping edx-enterprise version to 3.17.19 (#26332)
* Removes the sync_enterprise_catalog_query boolean field from the EnterpriseCustomerCatalog model.
* Adds migration to remove the sync_enterprise_catalog_query boolean field.
2021-02-02 15:05:45 -05:00
Nizar Mahmoud
4e16b92971 Documents maintenance banner setting and toggle and adds necessary unit tests 2021-02-02 23:04:53 +03:00
Jeff Chaves
0b070a3998 bumping edx-enterprise to version 3.17.18 (#26331) 2021-02-02 12:53:00 -05:00
irfanuddinahmad
4c2ad6635b Merge pull request #26324 from edx/iahmad/ENT-4063
ENT-4063: Updated version for edx-enterprise
2021-02-02 21:55:32 +05:00
Jawayria
d1c21db40f Resolved error 2021-02-02 21:20:41 +05:00
Jawayria
69e0dc7d68 Applied pylint-amnesty to {docs, import_shims, pavelib} 2021-02-02 21:17:16 +05:00
Jawayria
1e0655d26b Resolved pep8 errors 2021-02-02 21:15:43 +05:00
Jawayria
9909b933a7 Applied pylint-amnesty to openedx/core/{djangolib, lib, tests, *.py 2021-02-02 21:13:24 +05:00
Manjinder Singh
cf350f9c44 fix: Correcting logic for xblock_handler token expiration (#26224)
* fix: Correcting logic for xblock_handler token expiration

The previous math had a date math error which resulted in token expiring in 0-2 days
instead of 2-4 days

Co-authored-by: Feanil Patel <feanil@edx.org>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2021-02-02 10:52:31 -05:00
Kyle McCormick
21adbc4b87 fix: Rename send_activation_email task (step 2/3)
The old name is
`student.send_activation_email`.

The new name is
`common.djangoapps.student.tasks.send_activation_email`.

We currently register both the old and the new task names,
such that Celery workers recognize the task by both names.
This commit switches us from the old name to the new name.
2021-02-02 10:31:38 -05:00
Jawayria
f5f037b62f Resolved errors 2021-02-02 20:30:46 +05:00
stvn
12ba5d2b87 Merge PR #25920 bd03/model/filter
* Commits:
  feat: Allow filtering of discussion providers
2021-02-02 07:29:46 -08:00
Kyle McCormick
b626a43fa1 fix: Rename some tasks to match new import paths (#26236)
Several tasks are explicitly named as (or like)
their old, deprecated import path.

The issue here is that django-user-tasks listens for task
invocations, and attempts to import the task based on its name.
If the task name is completely wrong, user-tasks will catch
the ImportError and move on.
If the task is a valid *deprecated* import, though, then
user-tasks will choke on the raised `DeprecatedEdxPlatformImportError`.

Thus, we must rename three tasks to their new full path:
1. entitlements.expire_old_enrollments
2. third_party_auth.fetch_saml_metadata
3. student.send_activation_email

The first two are run daily, and so are safe to be
renamed in place.

The third task must be renamed using an expand-contract
pattern; otherwise, we would drop hundreds of tasks
during the App vs. Worker out-of-sync version window
that happens at deployments.
This commit is the expand phase.
2021-02-02 10:26:08 -05:00
Usama Sadiq
29d715d82d Merge pull request #26301 from edx/test
Applied pylint-amnesty to pipeline_mako
2021-02-02 20:19:11 +05:00
Usama Sadiq
a5143e063d Merge pull request #26302 from edx/amnesty-static-replace
Applied pylint-amnesty to static_replace
2021-02-02 20:19:00 +05:00
Jawayria
12065a30e0 pylint-amnesty on common/lib 2021-02-02 20:12:07 +05:00
irfanuddinahmad
3a90b9670e Updated version for edx-enterprise 2021-02-02 19:54:20 +05:00
Jawayria
71e0ee6eaf Resolved errors 2021-02-02 19:52:11 +05:00
stvn
cff2cb8941 feat: Allow filtering of discussion providers
Propose and implement organization-wide discussion-provider filtering.

Fixes: TNL-7814
2021-02-02 06:51:41 -08: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
Jawayria
edfced071d Resolved quality errors 2021-02-02 19:19:33 +05:00
Jawayria
4dad2ab406 Applied pylint-amnesty to static_replace 2021-02-02 19:19:33 +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
Jawayria
3f1fd27534 Resolved quality error 2021-02-02 18:36:41 +05:00
usamasadiq
240a8c2e1a Fix pep8 errors 2021-02-02 18:36:39 +05:00
Jawayria
9059dee397 Applied pylint-amnesty to util 2021-02-02 18:36:39 +05:00
Jawayria
6f06cc5e05 Applied pylint-amnesty to pipeline_mako 2021-02-02 18:32:11 +05:00
usamasadiq
de99865eb6 Fix pep8 errors 2021-02-02 17:59:20 +05:00
usamasadiq
515458b9dc Applied pylint-amnesty 2021-02-02 17:59:20 +05:00
Usama Sadiq
0cad2f6feb Merge pull request #26322 from edx/usamasadiq/lower-pylint-upper-threshold
Lower the UPPER_PYLINT_THRESHOLD to 5900
2021-02-02 17:58:24 +05:00