Skip to content

Add "Download all points" endpoint and button#1511

Merged
ihalaij1 merged 1 commit into
apluslms:masterfrom
jensjvh:gradingsubmissions
Mar 24, 2026
Merged

Add "Download all points" endpoint and button#1511
ihalaij1 merged 1 commit into
apluslms:masterfrom
jensjvh:gradingsubmissions

Conversation

@jensjvh
Copy link
Copy Markdown
Contributor

@jensjvh jensjvh commented Mar 19, 2026

Description

What?

Add a "Download all points" button for exporting all submission points to a file. Also increase the submission modal size in the base.html template.

Why?

Enable teachers to export submissions that are still pending or have an error.

How?

Add a new endpoint CoursePendingSubmissionDataViewSet which uses the filter_best_submissions() function for getting all submissions regardless of their status.

Fixes #1508

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

  • Accessibility test using the WAVE extension.
  • Django unit tests.
  • Selenium tests.
  • Other test. (Add a description below)
  • Manual testing.

[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]

Did you test the changes in

  • Chrome
  • Firefox
  • This pull request cannot be tested in the browser.

Think of what is affected by these changes and could become broken

Translation

Programming style

  • Did you follow our style guides?
  • Did you use Python type hinting in all functions that you added or edited? (type hints for function parameters and return values)

Have you updated the README or other relevant documentation?

  • documents inside the doc directory.
  • README.md.
  • Aplus Manual.
  • Other documentation (mention below which documentation).

Is it Done?

  • Reviewer has finished the code review
  • After the review, the developer has made changes accordingly
  • Customer/Teacher has accepted the implementation of the feature

Clean up your git commit history before submitting the pull request!

@jensjvh jensjvh changed the title Gradingsubmissions Add "Download all points" endpoint and button Mar 19, 2026
@jensjvh jensjvh force-pushed the gradingsubmissions branch from 1065b6f to ad12029 Compare March 19, 2026 11:16
@ihalaij1 ihalaij1 self-requested a review March 19, 2026 14:59
@ihalaij1 ihalaij1 self-assigned this Mar 19, 2026
@jensjvh jensjvh force-pushed the gradingsubmissions branch from c9b0194 to 0d2d1f0 Compare March 20, 2026 06:56
@ihalaij1 ihalaij1 force-pushed the gradingsubmissions branch from 0d2d1f0 to 6b0f534 Compare March 24, 2026 09:59
Copy link
Copy Markdown
Contributor

@ihalaij1 ihalaij1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

I tested this and it works great.

@ihalaij1 ihalaij1 merged commit 470fc84 into apluslms:master Mar 24, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Download points on all submission (for a single exercise) does not list submissions still in grading

2 participants