Commit Graph

19037 Commits

Author SHA1 Message Date
David Ormsbee
8f65ab53f0 Revert "[BB-728] Add problem response report API" 2019-02-28 13:10:31 -05:00
David Ormsbee
3f82a279c9 Merge pull request #19315 from open-craft/giovanni/bb-548-ospr
OSPR-2818 - Add Contact Us form customization options (BB-548)
2019-02-27 20:36:23 -05:00
stv
25be88932c Handle out-of-memory exception on Sysadmin Courses
We've been running into OoM issues with this functionality while
executing on one of our smaller application servers.
- Sometimes this manifests by preventing the entire page from loading
  (exception during the GET).
- At others, it occurs using the `Delete course from site` functionality
  by breaking during the POST handler. This case is particularly
  frustrating because the course actually is deleted, but looks like it
  may not have been. Internally, this is because the 500 error occurs
  _after_ the course has been successfully deleted, though this is
  opaque to the end-user.

While this doesn't address the underlying memory issue,
it does at least allow the app to recover gracefully.
2019-02-27 11:21:53 -08:00
Farhanah Sheets
bc00313a9c Revert "Improve 403 error handling" 2019-02-27 11:28:14 -05:00
David Ormsbee
9aa8ad4a30 Merge pull request #19304 from shadinaif/confirm_email_change_message_to_ace
Convert (Email Change Confirmation) message to edx-ACE
2019-02-27 10:12:32 -05:00
adeelehsan
4b8d6a92a0 Merge pull request #19890 from edx/aehsan/LEARNER-6943/adding_logs_to_investigate_cache
Added logs
2019-02-27 19:25:11 +05:00
Shadi Naif
1b83f24d3c Convert the (Email Change Confirmation) message to use edx-ACE
Basically, this was done by:
1. Adding new class type in [common/djangoapps/student/message_types.py]
2. Adding new files for the ace template in a new directory named
    [common/templates/student/edx_ace/emailchangeconfirmation]
3. Removing old template files
    [confirm_email_change.txt] and [email_change_subject.txt]
    from the directories:
    [lms/templates/emails] and
    [common/test/test_sites/test_site/templates/emails]
4. Converting the [confirm_email_change] code to use [ace.send()]
2019-02-27 16:22:16 +02:00
Uzair Rasheed
989180dde3 Merge pull request #19881 from edx/LEARNER-7131/improve-403-error-handling
Improve 403 error handling
2019-02-27 18:27:25 +05:00
adeelehsan
fd062a9c12 Added logs
adding logs to investigate cache.

learner-6943
2019-02-27 17:31:40 +05:00
Simon Chen
1f491b4190 Revert "LEARNER-6945 Populate software secure photo verification"
This reverts commit 019f6c4dcf.
2019-02-26 14:13:58 -05:00
Dave St.Germain
f507a22c52 Merge pull request #19873 from edx/dcs/upgrade-proctoring
Updated edx-proctoring to 1.5.15
2019-02-26 10:57:19 -05:00
uzairr
aa39f2c438 Improve 403 error handling
Currently, ajax calls in courseware is handling 403 like 401.In this
PR, proper modifications have been done to make it coherent with its
intended behaviour.

LEARNER-7131
2019-02-26 19:05:48 +05:00
David Ormsbee
7da2308bc1 Merge pull request #19635 from open-craft/giovanni/bb-728-add-problem-response-report-api-upstream
[BB-728] Add problem response report API
2019-02-25 21:45:04 -05:00
Dave St.Germain
cd4f44a91b Fixed proctoring tests 2019-02-25 14:09:11 -05:00
emma-green
507cfb8942 Merge pull request #19849 from edx/emma-green/REVEM-176/C/Hacky-cache-course_runs-to-programs
add course to program caching
2019-02-25 10:41:51 -05:00
Dave St.Germain
954c8e1a67 Merge pull request #19771 from edx/dahlia/masters-track
Added master's track
2019-02-25 10:11:24 -05:00
Nimisha Asthagiri
0983091df0 Merge pull request #19846 from eduNEXT/lmm/date
Fix date internationalization
2019-02-23 14:21:52 -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
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