Ned Batchelder
b3a731550c
Fix problems that drf-yasg uncovered.
...
These were originally fixed individually, but had to be reverted, and
are now combined in one commit. The originals were:
7b9040f6b0 This enum was backwards
8774ff1f9b Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
8a44397139 Is this field missing because it is None?
4a1154a7ca Give a safer buffer for clearing the rate limiting
64c47856dd DRF 3.7.4 changed how you delegate to another view, so don't
7359ca4fb2 Is this right? It fixes two tests
fdd66e5390 Adjust the expected error message for DRF 3.7.7
9257f68fd8 The default TIME_ZONE should be UTC
2019-06-21 18:04:15 -04:00
Zainab Amir
fa8aeb69d9
Remove Remember me button from login page
...
Remember me button does the same thing regardless of if it is checked
or not. Remember me button being unchecked makes a user think they
will be logged out at the end of a browsing session when this is in
fact not the case
LEARNER-6220
2019-06-18 17:30:37 +05:00
Ned Batchelder
39c7a2db7c
Revert "Use drf-yasg for Open API documentation"
2019-06-11 16:05:00 -04:00
Ned Batchelder
8774ff1f9b
Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
2019-06-10 15:27:39 -04:00
Ned Batchelder
fdd66e5390
Adjust the expected error message for DRF 3.7.7
2019-06-10 15:27:39 -04:00
Josue Balandrano Coronel
df14f5cdf6
[BB-1132] Decrease NAME_MIN_LENGTH to 1
2019-06-06 22:52:00 +02:00
Nimisha Asthagiri
6e214a85b0
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
2019-05-28 11:20:53 -04:00
Jeremy Bowman
f9929f32b5
Update quality threshold counts ( #20681 )
2019-05-24 08:27:54 -04:00
Evans Dianga
920ce74877
Modernize INCR-210 user_api/management ( #20435 )
2019-05-23 13:11:57 -04:00
Douglas Hall
c85a4da014
Reorder authentication classes for DeactivateLogoutView.
2019-05-20 16:55:00 -04:00
Jason Myatt
ab8ffe6dac
Merge pull request #20552 from edx/jmyatt/registration-form-gdpr-fix
...
Update registration form text for GDPR
2019-05-15 15:20:36 -04:00
Jason Myatt
1530124e01
Update registration form text for GDPR
2019-05-14 16:26:54 -04:00
Douglas Hall
60ea09dff3
Send duplicate provider to account MFE.
2019-05-14 13:45:56 -04:00
Mayank Jain
40ce96a8e3
INCR-209 move python 2 to 3 djangoapps user_api accounts ( #20436 )
...
* move python 2 to 3 djangoapps user_api accounts
* fix import and pylint issues
* refactor translation error string in user_api.accounts.utils
2019-05-08 16:26:46 -04:00
Kevin Nasto
02f7b75720
INCR-220 ( #20414 )
...
* Modernized 220
* Isort 220
* Fixed unused value in key,value dictionary interation
2019-05-06 22:45:27 -04:00
Nimisha Asthagiri
e298004f88
Merge pull request #20394 from edx/arch/fix-synch-learner-data-for-enterprise
...
Account API: Fix Enterprise enforcement when NOT sync profile_data
2019-05-06 22:12:14 -04:00
Kyle Mulka
f532750a71
ran modernize on openedx/core/djangoapps/user_api/config, validation, migrations, course_tag ( #20421 )
2019-05-06 17:24:52 -04:00
Nimisha Asthagiri
d2d6f81278
Account API: Fix Enterprise enforcement when NOT sync profile_data
...
ARCH-740
2019-05-03 13:44:22 -04:00
Nimisha Asthagiri
dfa3728edf
Move django_comment_common from common to openedx
2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
ef0e06cc0a
Revert "Discussions consolidation"
2019-05-02 14:59:56 -04:00
Hammad Ahmad Waqas
c1c830160a
Merge pull request #20340 from edx/hammad/WL-1913
...
WL-1913 | sync_hubspot_contacts Jenkins job disabled due to OOM
2019-05-02 17:23:53 +05:00
Hammad Ahmad Waqas
0ea3080ed0
slicing users_queryset and fetching users from database according to
...
initial_sync_days
2019-05-02 15:42:55 +05:00
Nimisha Asthagiri
df962a31b7
Move django_comment_common to openedx/core/djangoapps/discussion_common
2019-05-01 19:15:02 -04:00
Nimisha Asthagiri
2a168a4e1b
Account: Toggle for Microfrontend Redirect
...
ARCH-636
2019-05-01 11:31:48 -04:00
Feanil Patel
a774618853
Readme for the user_api.
2019-04-26 13:27:56 -04:00
Nimisha Asthagiri
6623553649
Merge pull request #20321 from edx/arch/account-settings-enterprise
...
Account API: enforce Enterprise policy on backend
2019-04-25 17:50:25 -04:00
Nimisha Asthagiri
dd94ae7e37
Refactor per Scouts rule
2019-04-25 13:33:30 -04:00
Douglas Hall
9880676e6a
Add site configuration check to order history MFE toggle.
2019-04-25 11:10:08 -04:00
Nimisha Asthagiri
5acbb10e7c
Account API: enforce Enterprise policy on backend
2019-04-24 22:37:26 -04:00
Hammad Ahmad Waqas
26ef549941
Merge pull request #20232 from edx/hammad/WL-1913
...
WL-1913 | sync_hubspot_contacts Jenkins job disabled due to OOM
2019-04-22 16:56:07 +05:00
Hammad Ahmad Waqas
90a8c3fd20
using generators instead of list for sync_hubspot_contact command to
...
handle OOM issues
2019-04-22 11:46:38 +05:00
Ned Batchelder
7d964b12db
Context managers need to clean up properly
...
An @contextmanager will raise an exception from its yield statement if
an exception happens in the with-block that uses it. If the context
manager needs to do clean up, it should do it even if an exception is
raised, so it needs to be done in a finally clause.
2019-04-17 13:14:48 -04:00
Nimisha Asthagiri
dbde017a9b
Order History: Toggled redirection to Microfrontend
...
ARCH-641
2019-04-11 08:21:49 -04:00
Douglas Hall
7fdc4a9f73
Always send 404 response on requests for non-existent user accounts.
2019-03-27 11:19:23 -04:00
Douglas Hall
b444ea2471
Validate UserProfile.bio field.
2019-03-26 10:25:27 -04:00
Matt Tuchfarber
e6a7c58182
Merge pull request #19853 from edx/tuchfarber/add_username_replacement_api
...
Adds username replacement API
2019-03-21 12:39:23 -04:00
Matt Tuchfarber
5f3bfd1ae4
Fix documentation and logging
2019-03-21 11:16:01 -04:00
Matt Tuchfarber
41a5ebb0a1
Review
2019-03-20 11:09:46 -04:00
Matt Tuchfarber
c2e1cef508
quality
2019-03-20 10:55:17 -04:00
Matt Tuchfarber
cda681e2f1
fix python tests
2019-03-13 23:04:41 -04:00
Matt Tuchfarber
26a4093cb5
Add tests to User API
2019-03-13 16:17:10 -04:00
Nimisha Asthagiri
944f47e957
Account API: per-field visibility of "name" field
...
ARCH-482
2019-03-11 17:49:56 -04:00
Matt Tuchfarber
cbe466fe61
quality
2019-03-11 14:56:39 -04:00
Alan Zarembok
e0b8679d27
LEARNER-6398: Change get_country_time_zones to not raise exception for unrecognized timezones.
2019-03-11 14:45:12 -04:00
Matt Tuchfarber
906faba8fb
quality
2019-03-11 13:34:23 -04:00
Matt Tuchfarber
58d6213939
quality
2019-03-11 12:54:45 -04:00
Matt Tuchfarber
7458cd8820
quality
2019-03-11 11:21:19 -04:00
Matt Tuchfarber
d19536e796
qiality
2019-03-11 10:47:06 -04:00
Matt Tuchfarber
1cd727762d
fix quality
2019-03-08 16:42:34 -05:00
Douglas Hall
c0cb493a41
Filter certificate list API based on user profile visibility preference.
2019-03-08 10:55:45 -05:00