Closed jhs-panda closed 2 months ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
All submisisons:
Motivation and Context
This PR was motivated by a feature request. Previously, students had to download hand in files individually in order to save. With this new feature, students can, with one click, download all of their downloadable submissions in one zip file. Resolves #2068
How Has This Been Tested?
Tested the feature with normal course settings (no disabled courses), disabled courses (no download of submissions allowed), and no submissions to download (flashed message instead). Also tested in case where user is instructor of one class and a student enrolled in another. In this case, the downloaded zip file should only contain the user's submissions as a student, not any of the submissions in the course they are an instructor of.
Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for lintingOther issues / help required
If unsure, feel free to submit first and we'll help you along.
Summary by CodeRabbit
UsersController
.