Awais Qureshi
348f080bf9
Merge pull request #26466 from edx/BOM-2340
...
BOM-2340
2021-04-15 14:55:31 +05:00
Ahtisham Shahid
58231c4262
Moved Import error messages to single place ( #27331 )
2021-04-15 12:25:04 +05:00
Igor Degtiarov
70ab50181a
fix: Hide enterprise/login button if enterprise integration disabled. ( #27130 )
...
* fix: Hide enterprise/login button if enterprise integration disabled.
[BTR-52](https://openedx.atlassian.net/browse/BTR-52 )
Fix an issue with existing button for enterprise login on the login page
when enterprise integration is disabled.
* Address review comments
2021-04-15 11:54:56 +05:00
edX requirements bot
e56f0a52c8
Updating Python Requirements
2021-04-15 11:47:04 +05:00
Diane Kaplan
3152c14192
fix: hide gated content message for library content questions (learning MFE only) ( #27277 )
2021-04-14 14:11:21 -04:00
taliaedX
e78d2c5a83
Merge pull request #27340 from edx/trhodes/apr14_enterprise_update
...
chore: update edx-enterprise to get query uuid bug fix.
2021-04-14 12:04:53 -04:00
Ali Akbar
ece9f42177
Merge pull request #27335 from edx/aakbar/fix-pw-reset
...
fix: allow staff or superuser to reset password from support tools
2021-04-14 20:50:10 +05:00
Talia Rhodes
8d6bb8ed44
chore: update edx-enterprise to get query uuid bug fix.
2021-04-14 11:36:37 -04:00
Julia Eskew
7dbad0bd9a
learning_sequence doc tweaks and new type annotation style ( #27311 )
...
* docs: Add a statement comment. Update learning sequences README.
* refactor: Add Python3.6+-style type annotations to attrs classes where possible.
2021-04-14 11:12:01 -04:00
stvn
031d99cb95
Merge PR #27329 refactor/user-factories
...
* Commits:
style: Cleanup whitespace
style: Alphabetize some imports
docs: Add and cleanup comments
style: Rename variables to mark as CONSTANT
refactor: Remove unused test factory
refactor: Move RequestFactoryNoCsrf helper to common/
refactor: Move OrgInstructorFactory helper to common/
refactor: Move OrgStaffFactory helper to common/
refactor: Move BetaTesterFactory helper to common/
refactor: Move InstructorFactory helper to common/
refactor: Move UserFactory helper to common/
refactor: Move StaffFactory helper to common/
refactor: Move GlobalStaffFactory helper to common/
2021-04-14 08:06:27 -07:00
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
Usama Sadiq
e769573bb6
use pylint-pytest 0.3.0 version
2021-04-14 17:40:41 +05:00
Awais Qureshi
2be5184e38
BOM-2340
...
Testing pylint-pytest package
2021-04-14 17:40:18 +05: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
Ali-D-Akbar
fcf8a0e221
fix: allow staff or superuser to reset password from support tools
2021-04-14 16:26:47 +05: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