(BB-1389) Update enrollment serializer and Add problem submission history endpoint

Description

Introduction
------------

Another description as I don't have permission to edit the above.

This PR adds an endpoint displaying the submission history for each course a specific user is enrolled.

*Sandbox URL*: https://pr20948.sandbox.opencraft.hosting/ (provisioning)

Testing instructions
--------------------

These can use the sandbox above or a devstack.

1. Ensure the logged in user has submitted a few problems.
2. Browse http://localhost:18000/api/enrollment/v1/submission_history or http://pr20948.sandbox.opencraft.hosting/api/enrollment/v1/submission_history
3. Make sure a JSON object showing the user submissions is displayed

Screenshots
-------------
![image](https://user-images.githubusercontent.com/5691347/77781993-4b78b180-7035-11ea-9cfe-3e3840f25c14.png)

Author notes and concerns
-------------

1. The update in the enrollment serializer makes extra mongodb calls.

Activity

Show:
Nimisha Asthagiri
January 28, 2021, 2:40 AM

Can you reassign this OSPR to T&L? While the changes are within the enrollments app (owned by website) they logically belong in a courseware app since the changes are related to student history.

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Josue Balandrano Coronel

Repo

edx/edx-platform

Customer

Github Lines Added

775

Github Lines Deleted

65