Commit Graph

6303 Commits

Author SHA1 Message Date
Christopher Pappas
3fcf99f65b ENT-1556 - Adding in roles claim to jwt for use with edx rbac
Adding logic that adds roles to jwt

Quality fixes
2019-03-28 14:17:07 -04:00
Cory Lee
fc402473c0 Merge branch 'master' into coryleeio/remove_aws_py 2019-03-28 14:08:02 -04:00
Michael Youngstrom
c5b99ec035 python-modernize and isort 2019-03-28 12:49:29 -04:00
Michael Youngstrom
6d3e7237da Merge pull request #20062 from edx/youngstrom/INCR-171
INCR-171: Run python-modernize on openedx/core/djangoapps/profile_images
2019-03-28 12:05:29 -04:00
Michael Youngstrom
488e54247d group 2019-03-28 11:14:51 -04:00
Cory Lee
ac4845d052 DEPR-14 Remove AWS.py 2019-03-28 10:48:34 -04:00
Michael Youngstrom
1139eb6bfb Run python-modernize on openedx/core/djangoapps/credit/tests 2019-03-28 09:57:20 -04:00
Michael Youngstrom
0ab0f6bda8 run python-modernize openedx/core/djangoapps/profile_images 2019-03-28 09:51:19 -04:00
Robert Raposa
fe69add748 Merge pull request #20057 from edx/robrap/ARCH-603-fix-user-id-scope
ARCH-603: Add user_id scope to various defaults.
2019-03-27 20:09:13 -04:00
Robert Raposa
e52db402b8 add user_id scope to the list of available scopes
This should have been done when the scope was first added as part
of (#19765).

ARCH-603
2019-03-27 19:00:04 -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
Calen Pennington
7d9ef1f65a Merge pull request #20040 from cpennington/revert-course-list
Revert course list
2019-03-22 10:05:31 -04:00
Calen Pennington
d23e888316 Revert "Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data""
This reverts commit 6059e21bff.
2019-03-21 14:26:00 -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
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