Commit Graph

6089 Commits

Author SHA1 Message Date
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
Jeremy Bowman
5e37a0c0bb Merge pull request #19621 from cclauss/Fix-ur-strings-for-Python3
ur'strings' are syntax errors in Python 3
2019-03-19 15:34:55 -04:00
cclauss
6a41d01c67 Back to r again 2019-03-19 07:50:22 +01:00
Calen Pennington
6059e21bff Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data"
This reverts commit d8cd6135a6.
2019-03-18 15:24:40 -04:00
cclauss
9a0c995885 ur'strings' are syntax errors in Python 3 2019-03-17 13:56:02 +01:00
Nimisha Asthagiri
9c3472ab24 Merge pull request #19845 from eduNEXT/fmo/studio_sso_over_lms_flag
Make the studio login over the lms optional using a feature flag
2019-03-15 08:23:02 -04:00
Ned Batchelder
53458cd3ea Merge pull request #19999 from edx/nedbat/skip-named-release-help-tests
Skip named release help tests
2019-03-14 20:14:54 -04:00
Ned Batchelder
561f0752ca Skip tests of help doc links on named release branches.
@skip_unless_master is used to skip tests because on named release
branches, most work happens leading up to the first release on the
branch, and that is before the docs have been published.  Tests that
check readthedocs for the right doc page will fail during this time, and
it's just a big distraction.  Also, if we bork the docs, it's not the
end of the world, and we can fix it easily, so this is a good tradeoff.
2019-03-14 14:01:30 -04:00
Calen Pennington
d8cd6135a6 Revert "Improve the performance of access checking for a specific user in CourseViewList by prefetching data"
This reverts commit a2a340bcd0.
2019-03-14 10:31:24 -04:00
adeelehsan
b4f1a774c2 Removing logs
Removing all the logs added for
the investigation of learner-6943
2019-03-14 15:23:10 +05: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
Calen Pennington
18fc7d573b Merge pull request #19990 from cpennington/fix-org-course-docs
Update the documentation and validation on org_course to make the for…
2019-03-13 15:01:27 -04:00
Calen Pennington
12e130667c Merge pull request #19985 from cpennington/log-user-id
Log current userid in all log messages
2019-03-13 14:53:13 -04:00
Calen Pennington
5150775f1c Update the documentation and validation on org_course to make the formatting clear 2019-03-13 14:25:16 -04:00
Nimisha Asthagiri
4d70669d4d Merge pull request #19981 from edx/arch/jwt-expiration
JWT cookies: remove refresh cookie, cookies expiration
2019-03-12 18:18:27 -04:00
Calen Pennington
b2d213ec08 fixup! Log current userid in all log messages 2019-03-12 15:13:57 -04:00
Calen Pennington
e6dada4b52 fixup! Log current userid in all log messages 2019-03-12 14:13:13 -04:00
Calen Pennington
721dd3bc8a Log current userid in all log messages
REVMI-60
2019-03-12 13:55:08 -04:00
Calen Pennington
27dfbd0240 Merge pull request #19673 from cpennington/fbe-per-course-config
Allow overriding Content Type Gating and Course Duration Limits on a …
2019-03-12 12:05:22 -04:00
Nimisha Asthagiri
e4f935aab3 JWT Cookie updates: remove refresh cookie, cookie expires with JWT
ARCH-418, ARCH-548
2019-03-12 09:14:33 -04:00
Waheed Ahmed
458e8482ea Fix change enrollment command for credit.
Get provider id from ecommerce upon changing enrollment to credit
instead of setting course_key org.

LEARNER-6643
2019-03-12 15:30:48 +05:00
Nimisha Asthagiri
944f47e957 Account API: per-field visibility of "name" field
ARCH-482
2019-03-11 17:49:56 -04:00
Calen Pennington
fa2ee761d9 Allow overriding Content Type Gating and Course Duration Limits on a per-course (rather than per-course-run) basis
REVMI-94
2019-03-11 15:23:19 -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
Felipe Montoya
9195ec9f30 Addressing second feedback about redirect logic on logout behing feature flag 2019-03-11 13:09:13 -05:00
Matt Tuchfarber
906faba8fb quality 2019-03-11 13:34:23 -04:00
Felipe Montoya
14b4223b5e Addressing feedback 2019-03-11 12:02:38 -05:00
Matt Tuchfarber
58d6213939 quality 2019-03-11 12:54:45 -04:00
Calen Pennington
5d3c9b36df Merge pull request #19964 from cpennington/fbe-query-perf
Sort in python and add an index to improve StackedConfigModel.current…
2019-03-11 12:22:59 -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
Calen Pennington
a2a340bcd0 Improve the performance of access checking for a specific user in CourseViewList by prefetching data 2019-03-11 10:37:53 -04:00
Matt Tuchfarber
1cd727762d fix quality 2019-03-08 16:42:34 -05:00
Jason Myatt
ccfce4ac27 Merge pull request #19940 from edx/jmyatt/filter-out-stale-generated-certificates
Filter out certificates for nonexistent courses
2019-03-08 12:09:21 -05:00
Jason Myatt
09d51b00b5 Filter out certificates for nonexistent courses
LEARNER-7086. Uses a new model manager for GeneratedCertificate that excludes
certificates whose course_id does not correspond to a valid CourseOverview
2019-03-08 11:28:41 -05:00
Douglas Hall
c0cb493a41 Filter certificate list API based on user profile visibility preference. 2019-03-08 10:55:45 -05:00
Calen Pennington
c532077f3a Sort in python and add an index to improve StackedConfigModel.current query performance 2019-03-08 09:50:08 -05:00
Calen Pennington
300c3a34dd Don't swallow exceptions inside emulate_http_request 2019-03-06 11:44:29 -05:00
Troy Sankey
a50a1539e1 Merge pull request #19933 from edx/pwnage101/remove-one-off-rehash-mgmt-commmands-plat-2288
Remove one-off management commands to rehash retired emails/usernames
2019-03-06 10:55:43 -05:00
adeelehsan
82a34c002f Caching full response
cache full response regardless
of fields given or not. Reason
for doing this to avoid cache
overridden. For some courses
get_user_course_expiration_date
was overriding certificate template
cache in render_html_view

Learner-6943
2019-03-06 18:23:55 +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
Cory Lee
2108b69ff1 "Use single yaml config instead of two json configs"
This reverts commit 8c805999e6.
2019-03-05 11:27:36 -05:00
Douglas Hall
8676d88528 Merge pull request #19924 from edx/douglashall/add_jwt_auth_to_pref_api
Add JwtAuthentication to user preferences API.
2019-03-05 09:18:51 -05:00
Douglas Hall
e442d2cf3e Add JwtAuthentication to user profile image API. 2019-03-04 17:42:29 -05:00
Douglas Hall
724894d736 Add JwtAuthentication to user preferences API. 2019-03-04 17:14:29 -05:00