Commit Graph

22621 Commits

Author SHA1 Message Date
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
Ned Batchelder
1f37e7899c Merge pull request #19840 from cclauss/patch-1
Missing named argument in formatting call
2019-02-22 17:00:27 -05:00
Christie Rice
61923a7369 Merge pull request #19857 from edx/crice/REVEM-197_mockProgramInfo
REVEM-197 Add mock program info to user metadata
2019-02-22 15:41:18 -05:00
Christie Rice
7cc0a8bf2d REVEM-197 Add mock program info to user metadata 2019-02-22 14:50:59 -05:00
Emma Green
57b7150b09 add course to program caching 2019-02-22 13:18:23 -05:00
Calen Pennington
c9ee6ed78d Record a plan for converting has_access to user.has_perm 2019-02-22 12:24:30 -05:00
Waheed Ahmed
e3fb888268 Disable PDF certificate generation/regenration.
Since PDF generation is discontinued long time ago, disable PDF certificate
generation/regenration from support tool and on all other places.

LEARNER-5562
2019-02-22 15:22:36 +05:00
Zainab Amir
7de41a025a Show dates in drop-down for program dashboard
LEARNER-5538 : Show dates in dropdown for program dashboard
2019-02-22 14:04:37 +05:00
Zainab Amir
00c6681480 LEARNER-5538 : Show dates in dropdown for program dashboard 2019-02-22 11:14:29 +05:00
Zainab Amir
019f6c4dcf LEARNER-6945 Populate software secure photo verification 2019-02-22 11:01:57 +05:00
Luis Moreno
c5f396b142 Fix to pass xss commit linter 2019-02-21 22:04:28 -04:00
Luis Moreno
12931ae442 Fix date format 2019-02-21 20:29:08 -04:00
Troy Sankey
6426b94aa7 Merge pull request #19850 from edx/pwnage101/pii-annotations-can-be-long
PII annotations can be longer than 120 characters now
2019-02-21 16:22:16 -05:00
Jeremy Bowman
5c7a8e3ac1 Merge pull request #19622 from cclauss/Fix-parens-for-Python3
Fix explicit tuple parameters for Python 3
2019-02-21 15:45:09 -05:00
Troy Sankey
35f6822f92 PII annotations can be longer than 120 characters now
PLAT-2424
2019-02-21 15:39:12 -05:00
Farhanah Sheets
5b38c7e39e Merge pull request #19825 from edx/aehsan/learner-6238/update_deprecated_pygeoip_to_geoip2
update pygeopip to geoip2
2019-02-21 13:02:47 -05:00
Alex Dusenbery
325c22c5d5 EDUCATOR-4082 | When creating subseciton grade override from service, create a PSG if one does not exist. 2019-02-21 10:42:48 -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
zrana
7d59e82a86 Merge pull request #19429 from edx/lett_2_bc_lti_consumer_tests
Convereted lettuce tests into bokchoy for LTI Xblock
2019-02-21 14:54:49 +05:00
zrana
243145c706 Convereted lettuce tests into bokchoy for LTI Xblock 2019-02-21 13:31:27 +05:00
Calen Pennington
78c8950ea3 Clean up a few remaining unicode format string errors 2019-02-20 15:28:14 -05:00
cclauss
3ab0d2666f Missing named arguments in formatting call
Discovered via LGTM https://lgtm.com/projects/g/edx/edx-platform/alerts/?mode=list&severity=error
2019-02-20 21:00:20 +01:00
adeelehsan
3e2764d9c0 update pygeopip to geoip2
Update deprecated pygeoip
to geoip2 and all usages
of it

Learner-6238
2019-02-21 00:42:05 +05:00
emma-green
cbf3f78325 Revert "WIP:Cache course runs to programs" 2019-02-20 12:03:07 -05:00
Matt Hughes
1ebc6f9c5e Revert "Add masters track to instr. dash. enrollment breakdown"
This reverts commit 5dcc3d33e9.
2019-02-20 11:52:41 -05:00
Matt Hughes
8250373ddf Merge pull request #19827 from edx/matthugs/add-masters-enrollment-to-instructor-dashboard-enrollment-breakdown
Add masters track to instr. dash. enrollment breakdown
2019-02-20 11:51:29 -05:00
Dave St.Germain
ad9986d4d9 Merge pull request #19052 from open-craft/guruprasad/discussion-settings-roles-endpoint
Cohort discussion settings and roles management API
2019-02-20 10:28:10 -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
Guruprasad Lakshmi Narayanan
546c021d9c Implement an alternative discussion settings, roles management API
This is intended to be used for server-to-server communication.
2019-02-20 19:20:30 +05:30
adeelehsan
f265d58cb1 Merge branch 'master' into aehsan/LEARNER-6943/adding_logs_to_check_discovery_response 2019-02-20 12:37:15 +05:00
Jeremy Bowman
974ae50bf4 Merge pull request #19620 from cclauss/new-style-exceptions
Old style exceptions --> new style for Python 3
2019-02-19 16:31:35 -05:00
Emma Green
f2139bbe2f add courses to programs to cache 2019-02-19 15:17:23 -05:00
Brian Mesick
7db7f9cc96 Merge pull request #19675 from edx/juliasq/add_pii_annotations
Add PII annotations, un-pin stevedore, upgrade deps.
2019-02-19 13:46:59 -05:00
adeelehsan
94c563be4f Merge pull request #19808 from edx/aehsan/LEARNER-6943/if_template_language_is_None_use_user_language
Get User language
2019-02-19 23:25:56 +05:00
adeelehsan
86ae3a9f20 Adding logs
adding logs to check response
returned by discovery

LEARNER-6943
2019-02-19 22:50:34 +05:00
adeelehsan
212d7efa72 Get User language
if template language is None
then use user language instead
of getting from setings which is
always english

LEARNER-6943
2019-02-19 22:39:56 +05:00
bmedx
7df1e05f49 Fix xxslint errors in touched files 2019-02-19 11:24:24 -05:00
Julia Eskew
368f221f0a Initial start on annotations. 2019-02-19 11:24:21 -05:00
Matt Hughes
3efb4def3d Add masters track to instr. dash. enrollment breakdown
JIRA:EDUCATOR-4027
2019-02-19 10:40:57 -05:00
Matt Hughes
da6c0d33c8 Merge pull request #19819 from edx/matthugs/add-masters-enrollment-to-instructor-dashboard-enrollment-breakdown
Add masters track to instr. dash. enrollment breakdown
2019-02-19 10:27:11 -05:00
Nimisha Asthagiri
c1cd1058c5 Merge pull request #19797 from edx/arch/redirect-profile-page
Redirect Profile view to Profile Microfrontend
2019-02-19 09:00:37 -05:00
cclauss
c0c935b685 Old style exceptions --> new style for Python 3 2019-02-19 13:09:23 +01:00
cclauss
44d62fac75 Fix explicit tuple parameters for Python 3 2019-02-19 12:37:34 +01:00
DawoudSheraz
24d63f25ce add staff exemption for content access in library access 2019-02-18 12:17:19 +05:00
Matt Hughes
5dcc3d33e9 Add masters track to instr. dash. enrollment breakdown
JIRA:EDUCATOR-4027
2019-02-15 14:41:20 -05:00
Matthew Piatetsky
444799fb0e fix unicode strings in openedx/ part 2 2019-02-15 10:15:51 -05:00
Giovanni Cimolin da Silva
e8883ad3a8 Add OAuth2 support for problem response reports endpoints and move API
This commit adds OAuth2 support to the problem response report endpoints and moves them to a better location following EdX API standards while keeping compatibility to the old
endpoint locations.
This was done to enable the use of reports functionality by external agents and provide a better separation between backend and frontend.

The following endpoints have been moved:

* List instructor tasks:
New URL: POST /api/instructor/v1/course/{}/tasks
Old URL: POST /courses/{}/instructor/api/list_instructor_tasks

* Download instructor reports:
New URL: POST /api/instructor/v1/course/{}/reports
Old URL: POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_report_downloads

* Generate problem response reports:
New URL: POST /api/instructor/v1/course/{}/reports/problem_responses
Old URL: POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/get_problem_responses

Note: The behaviour of the URLs was not modified.
2019-02-15 08:32:21 -02:00
Nimisha Asthagiri
551f07c130 fixup! updated URL config name and value; added DEPR ticket 2019-02-14 09:17:31 -05:00
Giovanni Cimolin da Silva
650aad6ce5 Add Contact Us form customization options
This commit adds personalization options for the Contact Us links on 
edx-platform's
page.
To allow for this customization, two SiteConfiguration variables were 
added:
* CONTACT_US_ENABLE: Switch to enable/disable the Contact Us page. 
Setting this to
False will disable the contact page and the links on the footer will 
disappear.

* CONTACT_US_CUSTOM_LINK: If the contact page is enabled, this setting 
allows to set
a custom URL for the Contact Us links on edx-platform. If this setting 
is not set,
the platform will use the default contact form.
2019-02-13 18:17:45 -02:00