stvn
6990befcee
style: Cleanup whitespace
2021-04-14 07:38:55 -07:00
stvn
970980f25a
style: Alphabetize some imports
2021-04-14 07:38:55 -07:00
stvn
a3a58533a8
docs: Add and cleanup comments
2021-04-14 07:38:55 -07:00
stvn
479471b406
style: Rename variables to mark as CONSTANT
2021-04-14 07:26:39 -07:00
stvn
301ccd31dc
refactor: Remove unused test factory
2021-04-14 07:26:39 -07:00
stvn
1b3d915af7
refactor: Move RequestFactoryNoCsrf helper to common/
2021-04-14 07:26:39 -07:00
stvn
f646971c74
refactor: Move OrgInstructorFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
31bc741410
refactor: Move OrgStaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
ffcfc05a61
refactor: Move BetaTesterFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
22fb1ec124
refactor: Move InstructorFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
8869a30bcd
refactor: Move UserFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
2fa36fb0cf
refactor: Move StaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
5dd8302d8b
refactor: Move GlobalStaffFactory helper to common/
2021-04-14 07:26:39 -07:00
stvn
7d33d0d1e9
Merge PR #27289 refactor/lms-to-core/get-course-by-id
...
* Commits:
refactor: Import a single function, not the whole module
refactor: Move get_course_by_id helper from LMS to core
2021-04-14 07:08:19 -07:00
Dillon Dumesnil
3a89ed4275
Merge pull request #27262 from edx/ddumesnil/switch-relative-dates-to-course-waffle-aa-677
...
refactor: AA-677: Switch relative dates to CourseWaffleFlag
2021-04-14 06:17:08 -07:00
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
stvn
f08dcdbf51
refactor: Import a single function, not the whole module
2021-04-13 23:25:48 -07:00
stvn
43698fff0a
refactor: Move get_course_by_id helper from LMS to core
...
This helper is used by the LMS, CMS, _and_ `openedx.core`,
so let's move it to `openedx.core` to reduce import complexity.
The following files no longer import from LMS:
- cms/djangoapps/contentstore/management/commands/edit_course_tabs.py
- lms/djangoapps/ccx/migrations/0006_set_display_name_as_override.py
- openedx/core/djangoapps/ccxcon/api.py
- openedx/core/djangoapps/verified_track_content/models.py
- openedx/features/course_experience/plugins.py
Note: The LTI XBlock has a dependency on this import path (!?);
a fix can be found here [1].
- [1] https://github.com/edx/xblock-lti-consumer/pull/154
2021-04-13 23:25:48 -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