Commit Graph

12296 Commits

Author SHA1 Message Date
Douglas Hall
c0cb493a41 Filter certificate list API based on user profile visibility preference. 2019-03-08 10:55:45 -05:00
Zainab Amir
68a40cd770 Add comments for code implementation 2019-03-08 12:21:37 +05:00
Matthew Piatetsky
74bcc29417 Remove FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG 2019-03-07 15:46:33 -05:00
Matthew Piatetsky
49ae6b9d73 Remove CONTENT_TYPE_GATING flag 2019-03-07 15:46:33 -05:00
Christie Rice
7375eb4474 REVEM-219 Handle invalid course run key 2019-03-07 13:48:48 -05:00
Zainab Amir
2dbae49869 LEARNER-6946 management command to send verification expiry email
Template for email added (email/verification_expiry_email)
The management command filters the SoftwareSecurePhotoVerification model on the basis of following criteria :
-- the verification is approved
-- the start_date < expiry_date < today or specified days have passed to resend email
After the basic filtering batches are created to send email. For each verification in a batch email is sent and
email_expiry_date is set to 15 days from today (default days are 15, it can be changed too)
Between each batch there is a delay of sleep_time seconds
2019-03-07 14:31:27 +05:00
Uzair Rasheed
05ef4ffeeb Merge pull request #19900 from edx/LEARNER-7131/improve-403-error-handling
Improve 403 error handling
2019-03-07 12:28:38 +05:00
Zainab Amir
7a3237d085 populate expiry date and add mechanism for new verification
LEARNER-7136 populate expiry date and add mechanism for new verification

Method approve() is overridden to accommodate new users that will have their verification approved in the future. The approve() method is called from software secure results callback every time a Software Secure Photo Verification is approved.The method overridden now updates expiry_date and then calls super to perform task it was performing before this change.The expiry_date set is the same as the one sent in verification approval email.

In results_callback for sspv the expiry_date and expiry_email_date for the most recent previous verification if exists are also updated to NULL.
2019-03-07 11:29:09 +05:00
Calen Pennington
4c8cd60bbc REVMI-96: Add a management command to experiment with Access Expiry reminder emails for FBE 2019-03-06 11:44:29 -05:00
Calen Pennington
300c3a34dd Don't swallow exceptions inside emulate_http_request 2019-03-06 11:44:29 -05:00
Calen Pennington
6f61fd74f5 Add an implementation of the stable bucketing function 2019-03-06 11:44:29 -05:00
Cali
81538fe25b Merge pull request #19851 from edx/cstenson/dashboard_metadata
Add price information to enrollments and create dashboard_metadata
2019-03-06 11:04:18 -05:00
uzairr
881c8e035c 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-03-06 20:22:37 +05:00
Christie Rice
6195e3e6ed Merge pull request #19939 from edx/crice/REVEM-219_programs
REVEM-219 Get program info even if user isn't yet enrolled in the course
2019-03-06 10:05:10 -05:00
Zainab Amir
66b780d693 LEARNER-7136 populate expiry date and add mechanism for new verification
Method approve() is overridden to accommodate new users that will have their verification approved in the future.
The approve() method is called from software secure results callback every time a Software Secure Photo Verification
is approved.The method overridden now updates expiry_date and then calls super to perform task it was performing
before this change.The expiry_date set is the same as the one sent in verification approval email.

In results_callback for sspv the expiry_date and expiry_email_date for the most recent previous verification if exists
are also updated to NULL.
2019-03-06 18:41:30 +05:00
Awais Jibran
81f1526786 Fix Incorrect data in the database table certificates_generatedcertificate propagation.
EDUCATOR-4128
2019-03-06 15:13:52 +05:00
Christie Rice
df1ac42d0a REVEM-219 Get program info even if user isn't yet enrolled in the course 2019-03-05 20:53:24 -05:00
Cali Stenson
7e6147f714 Add price information to enrollments and create dashboard_metadata
for experiments.

REVEM-174
2019-03-05 16:55:04 -05:00
Mike Dikan
2c149ca6be Removing the Deprecated the 'external_auth' package in favor of 'third_party_auth' which is the current recommendation. 2019-03-02 16:06:46 -05:00
Usama Sadiq
2599229995 Merge pull request #19891 from edx/usama/progress_page_update_for_unverified_user
Progress Page update
2019-03-02 08:45:23 +05:00
Douglas Hall
f07f9b6d91 Merge pull request #19884 from edx/douglashall/course_certificate_list_api
Add list endpoint to course certificate API.
2019-03-01 15:55:26 -05:00
Douglas Hall
8373298149 Add list endpoint to course certificate API. 2019-03-01 14:48:00 -05:00
Christie Rice
72308f6789 Merge pull request #19879 from edx/crice/REVEM-198_realPrograms
REVEM-198 Add waffle flag around get programs call. Also get real program info from the cache instead of returning mock data.
2019-03-01 13:33:14 -05:00
Usama
a826145d91 Progress Page update
Updated progress page certificate view for
unverified users.
2019-03-01 12:47:37 +05:00
Matt Tuchfarber
eec95cf538 Add discussion api 2019-02-28 16:35:09 -05:00
David Ormsbee
8f65ab53f0 Revert "[BB-728] Add problem response report API" 2019-02-28 13:10:31 -05:00
Christie Rice
67277e72d9 REVEM-198 Add waffle flag around get programs call 2019-02-28 11:10:09 -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
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
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
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
019f6c4dcf LEARNER-6945 Populate software secure photo verification 2019-02-22 11:01:57 +05: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