Commit Graph

58545 Commits

Author SHA1 Message Date
Awais Qureshi
c7f643bfeb Merge pull request #26776 from edx/factory-boy
upgrade factory-boy
2021-04-14 17:33:10 +05:00
Justin Hynes
d35dea576a Merge pull request #27321 from edx/jhynes/microba-1077_bulk-regen-update
feat: skip bulk certificate invalidation during bulk regeneration in v2 certs
2021-04-14 08:12:21 -04:00
Asad Iqbal
80298ae31e feat: add COURSES_INVITE_ONLY setting (#27252)
Setting COURSES_INVITE_ONLY to True overrides the INVITE_ONLY setting across all courses in a given deployment.

Co-authored-by: tasawernawaz <tasawer.nawaz@arbisoft.com>
Co-authored-by: asadiqbal08 <asad.iqbal@arbisoft.com>
2021-04-14 08:06:46 -04:00
Awais Qureshi
377fa3468f Merge branch 'factory-boy' of github.com:edx/edx-platform into factory-boy 2021-04-14 16:47:43 +05:00
Awais Qureshi
d26a076131 refactor: upgrading factory-boy. 2021-04-14 16:44:37 +05:00
Justin Hynes
19d1105d0f feat: skip bulk certificate invalidation during bulk regeneration in v2 certs
[MICROBA-1077]
* Skip bulk certificate invalidation during bulk regeneration. I couldn't come up with a reason to continue to invalidate certificates right before we attempted regeneration.
2021-04-14 07:33:21 -04:00
Muhammad Soban Javed
fca9ea2a37 Merge pull request #27267 from edx/iamsobanjaved/BOM-2456
refactor: install DoneXBlock from PyPI instead of github hash
2021-04-14 15:31:14 +05:00
Awais Qureshi
adf960ddc0 Merge branch 'master' into factory-boy 2021-04-14 15:19:18 +05:00
Awais Qureshi
6b6e87e797 refactor: upgrading factory-boy. 2021-04-14 15:17:32 +05:00
Awais Qureshi
af17c05b9c refactor: upgrading factory-boy. 2021-04-14 15:10:55 +05:00
Muhammad Soban Javed
09e40fdff2 chore: Updating Python Requirements (#27336)
Python Requirements Update
2021-04-14 14:54:05 +05:00
edX requirements bot
26718d5761 chore: Updating Python Requirements 2021-04-14 05:52:22 -04:00
Soban Javed
083c80dea3 refactor: install DoneXBlock from PyPI instead of github hash 2021-04-14 14:45:02 +05:00
edX requirements bot
66c2da1ab4 Updating Python Requirements (#27330) 2021-04-14 13:20:08 +05:00
stvn
ec2e128363 Merge PR #27327 bd03/api/tests
* Commits:
  test: Test (incorrect) behavior of discussions API access
  test: Add tests for discussions API access
2021-04-14 00:31:39 -07:00
stvn
eba78682c9 test: Test (incorrect) behavior of discussions API access
As implemented, course staff members will not have access to this API
endpoint. This will be addressed with pending work [1].

- [1] https://openedx.atlassian.net/browse/TNL-8231
2021-04-13 23:57:49 -07:00
stvn
4f0415f5cb test: Add tests for discussions API access
This checks for expected API access [1];
data integrity will be checked later [2].

This work exposes that the code currently does _not_ grant access to
_course_ staff, only _global_ staff. This is being addressed next [3].

Fix: TNL-8229 [1]

- [1] https://openedx.atlassian.net/browse/TNL-8229
- [2] https://openedx.atlassian.net/browse/TNL-8230
- [3] https://openedx.atlassian.net/browse/TNL-8231
2021-04-13 23:57:49 -07:00
Aarif
01199fc221 refactor: removed importlib-metadata constraint (#27315) 2021-04-13 22:57:48 +05:00
Thomas Tracy
a4b338febc refactor: reformat the manual verifications command to allow for single user verification (#27305)
* refactor: reformat the manual verifications command to allow for single user verifications

* reformat error message

* linting

* linting: add doc string

* whitespace
2021-04-13 11:02:56 -04:00
Hammad Ahmad Waqas
d904534fc8 Merge pull request #27239 from edx/hammad/ENT-4361
ENT-4361 | Added user's "id" and "email" as public fields in ACCOUNT_VISIBILITY_CONFIGURATION.
2021-04-13 17:21:43 +05:00
Justin Hynes
783959572b Merge pull request #27306 from edx/jhynes/microba-1077_invalidation
feat: stop removing `verify_uuid` value when revoking course certs
2021-04-13 07:48:30 -04:00
Saad Yousaf
9c3b8e5cb6 [TNL-8051] - Version bump for olxcleaner. (#27309)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2021-04-13 15:51:00 +05:00
David Ormsbee
99c759f887 Revert "perf: avoid invoking codejail for problem response report" (#27310)
This reverts commit 35b2780658.
2021-04-12 17:17:31 -04:00
Ned Batchelder
8bf0e84b76 build: mention Lilac in the pull request template
During the Lilac stabilization period, try to prod developers to think
about whether they should also update Lilac.
2021-04-12 15:59:12 -04:00
Sarina Canelake
2bdb05438d Merge pull request #26860 from open-craft/giantas/bb-3825-fix-new-post-indicator-in-discussion-xblock
[BB-3825] Fix:  Hide new post indicator on thread open
2021-04-12 14:47:10 -04:00
Justin Hynes
2c96a2aca9 feat: stop removing verify_uuid value when revoking course certificates
[MB-1077]
- Stop removing the verify_uuid when revoking course certificates. In v2 of course certificates this will allow us to retain the same URL to the certificate. If a learner's certificate is revoked (from being invalidated or no longer passing the course) the UUID will remain intact and the URL will not change.
- Look for an existing cert for the user in a course-run during generation. If one exists, use the UUID from the existing certificate when updating the record.
- Stop generating a `key` for v2 web-certificates. This is not needed for web-certs (this is used in PDF cert generation).
2021-04-12 14:39:21 -04:00
edX cache uploader bot
bb3bf5c15e Updating Bokchoy testing database cache (#27298) 2021-04-12 22:35:40 +05:00
Paul Aswa
b62478c365 fix: hide new post indicator on thread open
This fixes the removal of the new post indicator in the Discussion XBlock once a thread has been opened.
2021-04-12 19:29:44 +02:00
Ali Akbar
d1856c27a1 Merge pull request #27284 from edx/aakbar/PROD-2337
Allow reset password from Support Tools
2021-04-12 21:32:20 +05:00
HammadAhmadWaqas
3aa9248dcf * Added user's "id" and "email" as public fields in ACCOUNT_VISIBILITY_CONFIGURATION.
* Updated api/user/v1/accounts list view to search based on multiple emails as well.
2021-04-12 21:13:53 +05:00
Ali-D-Akbar
2b5cb1caad fix!: allow reset password from support tools 2021-04-12 21:06:41 +05:00
Binod Pant
ad7286f92d fix: 🐛 Fixes integrated_channels bug in learner_data transmission during course details fetch (#27303)
courseOverview model was being incorrectly used in the learner_data module of integrated_channels

ENT-4222, ENT-4428
2021-04-12 11:45:20 -04:00
Albert (AJ) St. Aubin
c2db5c8906 [bug] Added in check for MySQL OperationalError for local development
[MICROBA-951]

When running the notify_credentials command locally there is an
OperationalError thrown by MySQL when there are no more results
available for the queryset iterator. This change catches that exception,
checks state, and then logs according to that state. This code runs in
production without issue. This changes allows for the code to be run
locally without a separate code path.
2021-04-12 10:36:49 -04:00
Kyle McCormick
95d4ffb937 refactor: rm -rf import_shims/
This package is no longer used.
2021-04-12 09:43:59 -04:00
Kyle McCormick
4531e15519 refactor!: stop using import_shims
Attempting to import packages from
lms/djangoapps, cms/djangoapps, or common/djangoapps
as if they are import roots will now
simply raise ImportErrors (like any other invalid
import) instead of DeprecatedEdxPlatformImportError.

See docs/decisions/0007-sys-path-modification-removal.rst
for more details.
2021-04-12 09:43:59 -04:00
Kyle McCormick
f92740b39f refactor: remove superfluous courseware/__init__.py warning 2021-04-12 09:43:59 -04:00
Awais Jibran
30c80082c3 Use config settings for olxcleaner (#27294)
* Use config settings for olxcleaner

Use config settings instead of hardcoded values for olx validation. This would help in adding a great deal of control when you want to change these settings in the future. With this approch we would not need a redeploy.

* Use configs and deprecate waffleflag and also add / update tests
2021-04-12 16:27:42 +05:00
Jawayria
e3a449d63e Merge pull request #26604 from edx/jawayria/bom-2408-6
BOM_2408: Removed unused imports from openedx/core/djangoapps/user_api
2021-04-12 14:46:14 +05:00
Jawayria
953f1fa05c Merge pull request #26615 from edx/jawayria/bom-2408-7
BOM-2408: Removed unused imports from openedx/core/{djangolib, lib} a…
2021-04-12 14:45:52 +05:00
Uzair Rasheed
488069f0cf Merge pull request #27292 from edx/add-separate-ratelimit-var
Add independent ratelimit setting for forms
2021-04-10 14:46:53 +05:00
Feanil Patel
369713d11e Merge pull request #27297 from edx/feanil/remove_distributed_devstack
chore: Remove decentralized devstack config.
2021-04-09 17:58:10 -04:00
taliaedX
345a1e2ce5 Merge pull request #27285 from edx/trhodes/apr8enterprise_update
chore: update edx-enterprise
2021-04-09 16:31:17 -04:00
Feanil Patel
16e4aa3c62 chore: Remove decentralized devstack config.
We have decided not to pursue the decentralized devstack design right
now and so we want to cleanup files and task that were built as a part
of the process.

Related Ticket: ARCHBOM-1685
2021-04-09 15:50:03 -04:00
stvn
29384d1aa4 Merge PR #27295 bd03/api/decorator-permissions
* Commits:
  fix: Stop using view_auth_classes helper in discussions API
2021-04-09 10:07:14 -07:00
stvn
fc39c3e073 fix: Stop using view_auth_classes helper in discussions API
as it conflicts with the manually-assigned `permission_classes`;
the decorator erases them.
2021-04-09 09:38:27 -07:00
uzairr
1d5a95facb Add independent ratelimit setting for forms
Currently, login and registration forms and view to log the user in
are sharing same ratelimit settings which is causing too much noise
while rendering forms.This PR will introduce a separate
setting for logistration forms.

VAN-436
2021-04-09 21:10:08 +05:00
Bianca Severino
83ceefc4c5 Merge pull request #27244 from edx/bseverino/proctoring-info-masquerade
[MST-738] Pass username into CourseHomeMetadataView
2021-04-09 10:44:04 -04:00
Jawayria
7024f51a17 Merge pull request #26603 from edx/jawayria/bom-2408-5
BOM-2408: Removed unused imports from openedx/core/djangoapps/{themin…
2021-04-09 19:32:12 +05:00
Jawayria
dbcd8066e5 Merge pull request #26626 from edx/jawayria/bom-2416
BOM-2416: Removed unused imports from docs, scripts, pavelib
2021-04-09 19:31:20 +05:00
Carla Duarte
ad59e31832 Merge pull request #27293 from edx/ciduarte/AA-721
feat: add letter grade to MFE Progress Tab API
2021-04-09 10:22:01 -04:00