Commit Graph

576 Commits

Author SHA1 Message Date
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
Troy Sankey
2b28396890 Remove one-off management commands to rehash retired emails/usernames
PLAT-2288
2019-03-05 16:28:51 -05:00
Douglas Hall
724894d736 Add JwtAuthentication to user preferences API. 2019-03-04 17:14:29 -05:00
Matt Tuchfarber
eec95cf538 Add discussion api 2019-02-28 16:35:09 -05:00
Matt Tuchfarber
5a0659ed9e Replace group with static username 2019-02-26 14:19:44 -05:00
David Ormsbee
1d7c082562 Merge pull request #19859 from edx/ormsbee/cookie_logging
Add cookie size monitoring New Relic metrics.
2019-02-22 19:26:31 -05:00
David Ormsbee
76620e0bf2 Add cookie size monitoring New Relic metrics.
This adds middleware that will create custom parameter metrics in
New Relic to track the size of all the cookies being received for
our domain. The custom fields are "cookies_total_size" and a
separate named parameter for every cookie size, e.g.
"cookies.csrftoken.size".

This is intended to help us track cookie growth and better diagnose
issues where users lose their sessions. It is toggled by the
'request_utils.capture_cookie_sizes' Waffle Flag.
2019-02-22 18:18:41 -05:00
Matt Tuchfarber
7fc07789ed Adds username replacement API
New API replaces all copies of username in LMS a desired username.
Requires user be in username_replacement_admin group. Should only
be ran as a larger job to update usernames across all services,
otherwise the system will be left in a broken state for those users.
2019-02-21 22:37:07 -05:00
Calen Pennington
cd107d3cf9 Merge pull request #19751 from edx/unicode10
enable unicode format string linter
2019-02-21 06:07:11 -05:00
Zia Fazal
4fc64f9783 Merge pull request #19775 from edx/ziafazal/WL-1882
WL-1882:Management command to sync contacts with hubspot
2019-02-21 15:24:06 +05:00
Zia Fazal
7d1dd344d8 Management command to sync contacts with hubspot
Added unit tests

Fixed pylint quality violation

Added doctstring to add_arguments
2019-02-21 12:10:06 +05:00
Calen Pennington
78c8950ea3 Clean up a few remaining unicode format string errors 2019-02-20 15:28:14 -05:00
emma-green
cbf3f78325 Revert "WIP:Cache course runs to programs" 2019-02-20 12:03:07 -05:00
emma-green
304fba5959 Merge pull request #19677 from edx/emma-green/REVEM-176/cache-course_runs-to-programs
WIP:Cache course runs to programs
2019-02-20 09:55:36 -05:00