Commit Graph

9865 Commits

Author SHA1 Message Date
Christie Rice
6a6c43cd6b Merge pull request #20002 from edx/crice/REVEM-246_url
REVEM-246 Use existing method to get basket page URL
2019-03-15 09:46:29 -04:00
Alex Dusenbery
f35970bb39 EDUCATOR-4189 | Account for undefined values in commerce API Course objects. 2019-03-14 16:47:46 -04:00
Christie Rice
94b680082a REVEM-246 Use existing method to get basket page URL 2019-03-14 15:12:14 -04:00
Calen Pennington
8ecf6d68b5 Merge pull request #19998 from cpennington/revert-aggressive-prefetching
Revert "Improve the performance of access checking for a specific use…
2019-03-14 11:40:05 -04:00
Christie Rice
38c559f6c2 Merge pull request #19989 from edx/crice/REVEM-207_programSkus
REVEM-207 Add program price and purchase url to user metadata
2019-03-14 11:31:59 -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
Christie Rice
b2432ac5aa REVEM-207 Add program price and purchase url to user metadata 2019-03-14 10:15:48 -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
David Ormsbee
07e93bc264 Merge pull request #19837 from open-craft/opencraft/edx-platform/devan/show-enroll-links-on-public-courses-only-if-self-enrollment-allowed
Show enroll links on public courses only if self enrollment allowed
2019-03-13 14:25:53 -04:00
Devan Rehunathan
c6f87d49f2 Show Enroll links on public courses only if self-enrollment is allowed
This commit updates the Info messages on the course page to display
more informative messages to the user. Specifically, messages for Public
and Invitation-only courses.
2019-03-12 21:24:56 +00:00
Matthew Piatetsky
d5c50533e1 Merge pull request #19968 from edx/PROD-58
handle incorrectly set schedules
2019-03-12 12:16:03 -04:00
Nimisha Asthagiri
944f47e957 Account API: per-field visibility of "name" field
ARCH-482
2019-03-11 17:49:56 -04:00
Matthew Piatetsky
dac0eec385 handle incorrectly set schedules 2019-03-11 16:46:29 -04:00
Douglas Hall
331ee6526c Merge pull request #19973 from edx/douglashall/PROD-60
PROD-60 Check GeneratedCertificate.download_url before using HTML cert URL.
2019-03-11 14:53:04 -04:00
Douglas Hall
092d1bdf01 Check GeneratedCertificate.download_url before using HTML cert URL. 2019-03-11 14:18:16 -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
Matthew Piatetsky
59a056c9c3 Merge pull request #19957 from edx/REVMI-21
[REVMI-21] Remove CONTENT_TYPE_GATING flag and FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG flag
2019-03-11 10:54:48 -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
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
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
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