Simon Chen
00ad36839d
MST-542 Roll out Accounts MFE IDV workflow ( #25613 )
...
* MST-542 remove the IDV redirect to Account MFE waffle flag to permanently redirect learners to new IDV workflow. This completes the rollout process on edx-platform
2020-12-01 09:08:12 -05:00
Zainab Amir
f401830f7a
Add error_code to AuthFailedError ( #25691 )
2020-11-30 12:41:56 +05:00
Robert Raposa
b8168fc46d
add code_owner for block_structure_task
...
While adding code_owner for celery tasks in
earlier PRs, we missed `@block_structure_task()`.
ARCHBOM-1260
2020-11-23 12:18:37 -05:00
jawad khan
c46aebd6d9
converted logistration password reset views from function to DRF APIVIEW ( #25582 )
...
* converted logistration password reset views from function to DRF APIVIEW
VAN-31
2020-11-23 15:35:11 +05:00
Feanil Patel
1137e48467
Merge pull request #25646 from open-craft/0x29a/squash_tests_warnings
...
Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
2020-11-20 09:53:24 -05:00
Ned Batchelder
75c56a6c8c
Merge pull request #25645 from open-craft/0x29a/squash_warning
...
Fix imports, remove unused import
2020-11-19 19:11:02 -05:00
0x29a
8961db4f10
Fix imports, remove unused import
2020-11-19 14:37:09 +01:00
0x29a
c83a505635
Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
...
Check this ticket for details: https://code.djangoproject.com/ticket/29513
2020-11-19 14:06:51 +01:00
Régis Behmo
fe9558035e
Fix monitored values of CourseWaffleFlag objects
...
The monitored value was being twice namespaced, resulting in incorrect
names, such as "schedules.schedules.send_updates_for_course".
2020-11-19 10:29:08 +01:00
Robert Raposa
8eef18710d
set code_owner for celery tasks
...
ARCHBOM-1260
Co-authored-by: Tim McCormack <tmccormack@edx.org >
2020-11-17 15:33:33 -05:00
David Ormsbee
6a55b833dc
Merge pull request #25045 from open-craft/gabor/expose-banner-image-url
...
[SE-3329] Expose banner image url in course API
2020-11-17 11:08:18 -05:00
Albert (AJ) St. Aubin
70a82580fb
Added data to the refresh endpoint for investigation.
...
[MICROBA-585]
In support of an investigation into errors we are receiving for
JWT tokens we are adding some data to the JSON response on a token
refresh.
2020-11-17 10:30:01 -05:00
Carla Duarte
0ee7546379
Merge pull request #25541 from edx/ciduarte/AA-199
...
AA-199: Surfacing program progress in courseware API
2020-11-16 14:03:41 -05:00
Michael Terry
44b23fcc2c
Merge pull request #25592 from edx/mikix/courseware-request-user
...
When masquerading in courseware API, reset the request user
2020-11-16 13:14:08 -05:00
Carla Duarte
9545ae8868
AA-199: Surfacing program progress in courseware API
2020-11-16 11:57:50 -05:00
Patrick Cockwell
586d6721e1
[BD-29] [TNL-7264] Add Milestones, Content Gating, and Special Exams Outline Processors ( #24545 )
...
Extend the learning_sequences Course Outline API to handle milestones,
content gating, and special exams. This includes things like entrance exams
that would block other content from being accessible, and proctored exams
which would be unavailable until an exam is started.
Co-authored-by: Agrendalath <piotr@surowiec.it >
2020-11-16 09:29:40 -05:00
Michael Terry
7697b7dd46
When masquerading in courseware API, reset the request user
...
It's important that request.user be set as the effective user,
because waffle flags and bits of code around the place look at it.
This should make masquerading more accurate to what the learner
sees.
2020-11-13 12:58:18 -05:00
Gábor Boros
2a35410fe4
Expose banner image URL in course API
...
Banner image URL is exposed on the course list and course details API
endpoints. The new `banner_image_url` API field has both the relative
and absolute URLs for the image it represents, if it is set.
2020-11-13 15:35:13 +01:00
Zainab Amir
2cf023bf27
VAN-92: Update TPA Context with platform name ( #25580 )
2020-11-13 17:15:53 +05:00
Albert (AJ) St. Aubin
9551b23d08
[MICROBA-721] Updates the notify_credentials job to run over new window
2020-11-12 08:27:03 -05:00
Saleem Latif
785b04888d
Updated edx-enterprise version and only set user language preference on signup if it does not already exist.
2020-11-11 14:24:47 +05:00
Dillon Dumesnil
8824a137dc
Merge pull request #25562 from edx/ddumesnil/no-updates-after-end-aa-422
...
AA-422: Ensure learners are not receiving updates after course end
2020-11-10 11:41:21 -08:00
Awais Qureshi
7201edb11d
Revert "Update routing config" ( #25536 )" ( #25549 )" ( #25553 )" ( #25561 )
...
This reverts commit db4c3b1210 .
2020-11-11 00:13:47 +05:00
Dillon Dumesnil
11f1347669
AA-422: Ensure learners are not receiving updates after course end
2020-11-10 14:07:31 -05:00
Awais Qureshi
db4c3b1210
Revert "Revert ""Update routing config" ( #25536 )" ( #25549 )" ( #25553 )
...
This reverts commit c1fe3c3a93 .
2020-11-10 23:23:09 +05:00
Kyle McCormick
151bd13666
Use full names for common.djangoapps imports; warn when using old style ( #25477 )
...
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Muhammad Soban Javed
c1fe3c3a93
Revert ""Update routing config" ( #25536 )" ( #25549 )
...
This reverts commit 39a22734c1 .
2020-11-09 23:43:47 +05:00
Awais Qureshi
39a22734c1
"Update routing config" ( #25536 )
...
* Revert "Revert "Update routing config"
* Removed settings from lms/celery.py and cms/celery.py
* Moved settings import from top-level to function's scopes
Co-authored-by: Soban Javed <iamsobanjaved@gmail.com >
2020-11-09 19:06:55 +05:00
adeel khan
eec8200761
Merge pull request #25507 from edx/adeel/van_105_adding_error_handling_for_login_page
...
Adds error message for logistration MFE.
2020-11-09 16:18:01 +05:00
Adeel Khan
51610e195e
Adds error message for logistration MFE.
...
This adds new user facing locked out messaging
for logistration MFE.
VAN-105
2020-11-08 22:05:05 +05:00
Manjinder Singh
c74b623948
Fixing code-annotations ( #25539 )
...
* Fixing code-annotations
2020-11-06 12:52:08 -05:00
Michael Terry
b2ba363f1e
Merge pull request #25503 from edx/mikix/parent-access
...
AA-408: Treat group_access as inheritable in gating transformer
2020-11-06 11:40:58 -05:00
Robert Raposa
fe9395bd7a
Merge pull request #25538 from regisb/regisb/improve-waffle-tests
...
[BD-21] Improve waffle_utils tests to not rely on internal API
2020-11-06 08:58:18 -05:00
Adeel Ehsan
0d9236524d
Merge pull request #25398 from edx/aehsan/van-6/added_params_in_register_api
...
Added next and cours_id params in register endpoint
2020-11-06 18:15:09 +05:00
adeelehsan
8be2283aef
Added next and cours_id params in register endpoint
...
VAN-6
2020-11-06 17:41:11 +05:00
Régis Behmo
19ff82a3da
Improve waffle_utils tests to not rely on internal API
...
This is required for a smooth upgrade of edx-toggles.
2020-11-06 12:11:52 +01:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Michael Terry
f2d4e0ccec
AA-408: Treat group_access as inheritable in gating transformer
...
ContentTypeGateTransformer was not considering parent values of
'group_access' when providing its own default value for it.
Also fix a few minor bugs around the place.
2020-11-05 15:27:46 -05:00
Robert Raposa
061d5d8fc5
Merge pull request #25529 from regisb/regisb/better-waffle-deprecation-monitoring
...
[BD-21] Improve monitoring of waffle deprecation with custom attributes
2020-11-05 15:09:54 -05:00
Muhammad Soban Javed
bfa8f71f33
Update routing config #25419
2020-11-06 01:00:29 +05:00
Zainab Amir
97e9fee92e
Add third party auth context api ( #25497 )
2020-11-05 19:26:29 +05:00
Régis Behmo
b32fc50947
Improve monitoring of waffle deprecation with custom attributes
...
We observe a lot of deprecation warnings using the
"deprecated_waffle_utils" custom attribute. To make it easier to track
these items, we add the waffle flag/namespace name to the custom
attribute.
2020-11-05 08:36:03 +01:00
Nizar Mahmoud
3a46e7c5f5
Squashes waffle_utils.WaffleFlag deprecation warning
2020-11-05 02:00:33 +03:00
Régis Behmo
da0623107c
Expose SettingToggle and SettingDictToggle objects in the API
...
Note that settings for which a corresponding SettingToggle or
SettingDictToggle exists are no longer exposed in the "django_settings"
list of the API.
2020-11-04 15:53:48 +01:00
Sarina Canelake
18059c20e7
Merge pull request #25505 from edx/sarina/gender-neutral-language
...
Change gendered language to gender-neutral 'they/them/their'
2020-11-03 16:16:59 -05:00
Régis Behmo
c9c1136459
Re-introduce waffle classes (with deprecation warnings)
...
This is for backward compatibility.
2020-11-03 19:25:37 +01:00
Régis Behmo
b70042435a
Deprecate waffle_utils.testutils.override* functions
...
These functions should from now on be imported from
edx_toggles.toggles.testutils.
2020-11-03 19:25:37 +01:00
Régis Behmo
4586002956
Import waffle classes from edx_toggles instead of waffle_utils
...
Those classes were ported to edx_toggles. The imports remain in
waffle_utils.__init__ for backward compatibility.
2020-11-03 19:25:37 +01:00
Régis Behmo
3b127f8c92
Deprecate WaffleSwitch.override* methods
...
This allows us to get rid of the custom WaffleSwitch and
WaffleSwitchNamespace classes from waffle_utils in favour of
edx_toggles.toggles classes.
2020-11-03 19:25:37 +01:00
Régis Behmo
2307dff4c9
Deprecate WaffleFlag.override method
...
This allows us to get rid of waffle_utils' custom WaffleFlag method.
2020-11-03 19:25:37 +01:00