Commit Graph

152 Commits

Author SHA1 Message Date
Michael Terry
3030efec78 AA-177: Add masquerading for course home MFE
- Looks at masquerading config for dates, outline, metadata, and
  celebration APIs in course_home_api / courseware_api.
- Consolidates and cleans up places we check whether masquerading
  gives us full access to a course.
2020-06-29 12:37:47 -04:00
Waheed Ahmed
34263bbe1e Prevent multiple submissions on contact us form.
PROD-1565
2020-06-23 23:33:33 +05:00
Emma Green
3ab1d49997 remove hacky thing to get fbe info 2020-06-04 13:44:58 -04:00
Emma Green
2076a8a9bb get-FBE-info-from-temp-management-command 2020-06-01 21:06:31 -04:00
Jeremy Bowman
49fd99acfb Remove obsolete shoppingcart refund page - DEPR-43 (#24063)
As part of the deprecated shoppingcart code removal, remove the old refund support page (which was only ever used for shoppingcart purchases, not ecommerce transactions).

I checked in New Relic for good measure, and this view hasn't been accessed in the past week.
2020-05-27 15:26:08 -04:00
jinder1s
6b8ebd5a8d Code Refactor 2020-05-21 10:19:14 +05:00
Awais Jibran
5e7cd2f818 Merge pull request #23898 from edx/aj/msingh/details
Course Content boilerplate blurb (and link to discussions)
2020-05-12 17:24:37 +05:00
jinder1s
ae2c2c4765 Course Content boilerplate blurb (and link to discussions)
PROD-1475
2020-05-12 13:05:10 +05:00
Ali Akbar
0955865fa9 Merge pull request #23885 from edx/aakbar/PROD-1478
Unauthenticated Contact Us improvements
2020-05-08 19:49:06 +05:00
Ali-D-Akbar
94907cc4a9 Unauthenticated Contact Us improvements
fix password reset page, add another test and remove typo

improve js test

add quality changes

add quality changes
2020-05-08 14:14:35 +05:00
Michael Roytman
38c255dbd2 Enhance the Link Program Enrollments Support Tool to handle the case of linking a learner to a ProgramEnrollment that is already linked to a different edX account.
In this case,
* unenroll the currently linked learner from the courses associated with related ProgramCourseEnrollments
* for each course the is enrolled in as part of a ProgramCourseEnrollment, if the coures has an audit track, then move the enrollment into the audit track. Otherwise, keep the learner's enrollment in the existing track.
* link the new user to the ProgramEnrollment
* enroll the new user in the Master's track in the courses associated with related ProgramCourseEnrollments
2020-05-06 10:15:42 -04:00
Aarif
98af9ce418 remove useless-supression warnings 2020-05-01 19:42:15 +05:00
julianajlk
d1ee55d57f Add alert banner to Contact Us Page with Covid-19 message (#23825)
PROD-1480
2020-04-30 11:01:46 -04:00
Farhanah Sheets
d189f0d854 Merge pull request #23755 from edx/julianajlk/PROD-1480/contactus-alert-banner
Add alert banner to Contact Us Page
2020-04-21 10:54:12 -04:00
Farhanah Sheets
d229240363 Merge pull request #23752 from edx/julianajlk/PROD-1482/change-cta
Update CTA text for Contact Us Page
2020-04-21 10:53:27 -04:00
Farhanah Sheets
602ebfaf1c Merge pull request #23757 from edx/fsheets/contact-us-hackathon-2
Update wording for clarity and bug fix for API expectations
2020-04-21 10:49:44 -04:00
Nick
03ea899f35 Merge pull request #23758 from edx/ndalfonso/prod-1481-contact-hr
PROD-1841 contact hr
2020-04-17 15:16:02 -04:00
Nicholas D'Alfonso
12eac14aa0 PROD-1841 contact hr
- add horizontal rule to contact us page
2020-04-17 14:41:17 -04:00
Farhanah Sheets
ed25895267 Update wording for clarity and bug fix for API expectations 2020-04-17 13:53:51 -04:00
julianajlk
93ec48a910 add persistent alert banner to Contact Us page 2020-04-17 13:01:58 -04:00
Farhanah Sheets
ec5a388ebc Revert "Update wording on Contact Us page" 2020-04-17 11:35:02 -04:00
julianajlk
f5a1f07548 update submit cta 2020-04-17 09:49:30 -04:00
Farhanah Sheets
49398566e1 Update wording on Contact Us page 2020-04-16 14:10:57 -04:00
Farhanah Sheets
3eada3d224 Update success message 2020-04-15 14:24:23 -04:00
Simon Chen
6a2b3bdbee Add some feedback from edX Support to the Program Enrollment Inspector 2020-04-03 10:44:59 -04:00
Awais Qureshi
30a2ae8aec BOM-1438
Fix course_id string.
2020-04-01 14:42:35 +05:00
Simon Chen
b1f61d929d MST-157 Part 3 Create the Program Enrollments Inspector tool UI and link to the Support tool index page 2020-03-25 13:08:48 -04:00
Simon Chen
0b90de1d94 MST-157 PART-2 Complete the functionality of searching for user info on program enrollment. The search result will be displayed on support tool's frontend. 2020-03-19 20:50:47 -04:00
Simon Chen
b34af45393 MST-157 Create a new program enrollments inspector support tool to help edX support members to inspect the existing states of program enrollees
This reverts commit 37f3c3f829.
2020-03-13 11:28:16 -04:00
David Ormsbee
37f3c3f829 Revert "MST-157 Create a new program enrollments inspector support tool to help edX support members to inspect the existing states of program enrollees"
This reverts commit 9bdcb9c5f5.
2020-03-12 17:28:58 -04:00
Simon Chen
9bdcb9c5f5 MST-157 Create a new program enrollments inspector support tool to help edX support members to inspect the existing states of program enrollees 2020-03-12 15:47:26 -04:00
adeelehsan
e18747a2e0 MicroMaster added in contact us form
PROD-1229
2020-02-13 00:06:00 +05:00
adeelehsan
a41f992e10 MicroBachelor changed to Micro
PROD-1229
2020-02-12 15:27:25 +05:00
adeel khan
c654c31db7 Merge pull request #22711 from edx/adeel/prod_1130_security_option_contact_form
Add security option to contact us form
2020-01-06 16:30:02 +05:00
Adeel Khan
b849b14269 Add security option to contact us form
PROD-1130
2020-01-06 14:12:59 +05:00
Adeel Khan
4765e93bd1 Add new options and remove duplicate ones
PROD-1129
2020-01-06 13:58:56 +05:00
Feanil Patel
6e3fe00fff Fix all E303 pep8 errors. 2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Diana Huang
a538843ac3 Move generate_password to user_authn. 2019-11-19 16:49:36 -05:00
Zia Fazal
5b6e0514de Added caller in to the exception message
Added caller in to the exception message to debug ENT-1849
Replaced `get_enterprise_learner_data` method call with `enterprise_customer_for_request` to get enterprise customer data from cache or session instead of hitting API.
2019-11-11 19:44:24 +05:00
Ned Batchelder
efba6e45e8 Finally import courseware properly everywhere to get rid of a warning 2019-09-26 09:40:15 -04:00
Kyle McCormick
da08357d89 Revert "Revert "Create Python API for program_enrollments: Part IV"" (#21759)
This reverts commit a67b9f70a16a0f16a842aad84754b245a2480b5f,
reinstating commit cf78660ed35712f9bb7c112f70411179070d7382.
The original commit was reverted because I thought I found
bugs in it while verifying it on Stage, but it turns out that
it was simply misconfigured Stage data that causing errors.

The original commit's message has has been copied below:

This commit completes the program_enrollments LMS app
Python API for the time being. It does the following:
* Add bulk-lookup of users by external key in api/reading.py
* Add bulk-writing of program enrollments in api/writing.py
* Move grade-reading to api/grades.py
* Refactor api/linking.py to use api/writing.py
* Refactor signals.py to use api/linking.py
* Update rest_api/v1/views.py to utilize all these changes
* Update linking management command and support tool to use API
* Remove outdated tests from test_models.py
* Misc. cleanup

EDUCATOR-4321
2019-09-24 10:49:54 -04:00
Kyle McCormick
775d2fd807 Revert "Create Python API for program_enrollments: Part IV"
This reverts commit af4e7a348a.

After merging the above commit, I was seeing 'internal-error's
on Stage in responses to the Registrar API. I am temporarily
reverting it until I can figure out a fix.
2019-09-23 09:39:01 -04:00
Kyle McCormick
af4e7a348a Create Python API for program_enrollments: Part IV
This commit completes the program_enrollments LMS app
Python API for the time being. It does the following:
* Add bulk-lookup of users by external key in api/reading.py
* Add bulk-writing of program enrollments in api/writing.py
* Move grade-reading to api/grades.py
* Refactor api/linking.py to use api/writing.py
* Refactor signals.py to use api/linking.py
* Update rest_api/v1/views.py to utilize all these changes
* Update linking management command and support tool to use API
* Remove outdated tests from test_models.py
* Misc. cleanup

EDUCATOR-4321
2019-09-20 09:55:13 -04:00
Feanil Patel
802929fde4 BOM-622 Type errors in content matching. 2019-09-19 16:18:23 -04:00
Ayub khan
28cb3c9a71 BOM-630
python3 compatibility
2019-09-19 17:19:04 +05:00
Kyle McCormick
358f989131 Create Python API for program_enrollments: Part III
This is the third in a series of commits to create
a Python API for the LMS program_enrollments app.
It does the following:
* Creates api/ folder.
* Moves link_program_enrollments.py to api/linking.py
* Creates api/reading.py for enrollment-fetching
  functions.
* Updates rest of app to use api/reading.py when
  it was going directly through the models before.
* Other misc. cleanup (isorting, unicode_literals,
  line breaks, etc).

Still to do:
* Create api/writing.py and update app to use it instead
  of going directly through models.
* Create api/reset.py and api/expire.py, which the management
  commands call out to.

EDUCATOR-4321
2019-09-12 14:54:03 -04:00
Jansen Kantor
4988999697 Jkantor/support (#21541)
* refactor link_program_enrollments into it's own file, add support page
2019-09-05 13:35:43 -04:00
arbisoft
f3d351d04a BOM-172
Fixing python3 unicode not found issue.
2019-08-27 18:32:02 +05:00
David Ormsbee
9a1385585f Convert response bytes to str before JSON parsing. (#21375)
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00