[BD-05] [TNL-7308] Add ORA Zipped File Download for Submission Text + Attached Files - #24541
Conversation
|
Thanks for the pull request, @0x29a! I've created BLENDED-474 to keep track of it in Jira. More details are on the BD-05 project page. When this pull request is ready, tag your edX technical lead. |
a5afa46 to
9e87a4b
Compare
xitij2000
left a comment
There was a problem hiding this comment.
I think the code can be cleaned up a bit but looks good so far! I need to test it.
I think more of this code should be moved to the ORA repo, perhaps most if not all of the report generation. I feel like it's more tied to how ORA works than how edx-platform works.
There was a problem hiding this comment.
Thanks for adding these detailed docs!
f5ba086 to
17c16f8
Compare
xitij2000
left a comment
There was a problem hiding this comment.
👍
- I tested this: followed the testing instruction
- I read through the code
- [na] I checked for accessibility issues
- [na] Includes documentation
There was a problem hiding this comment.
nit: We can just assume Python3 now, since there is need for backwards-compatibility.
aad8954 to
993d03a
Compare
|
@davestgermain I changed |
davestgermain
left a comment
There was a problem hiding this comment.
Thanks. Could you squash the commits?
I'll merge this on Monday, the 24th
11bdd26 to
921875b
Compare
Thanks @davestgermain, done. |
|
Your PR has finished running tests. There were no failures. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
This PR adds new button to the course instructor dashboard:

Click on this button spawns a task, which downloads all submission files (texts and attachments), puts them into zip archive and uploads it to reports storage.
Structure of generated zip file:
Where
downloads.csvis a list of all downloaded files with their metadata: description, size, etc.JIRA tickets:
Dependencies:
This PR depends on openedx/edx-ora2#1453
Sandbox URL: https://pr24541.sandbox.opencraft.hosting
Merge deadline: None
Testing instructions:
(skip if you're testing with sandbox) To test this, you need to install ORA with related change:
$devstack_root/src.$devstack_root/src.(skip if you're testing with sandbox) After you installed ORA with related changes, you need to switch
edx-platformto new branch:Go to
$devstack_root/edx-platformAdd new remote:
Fetch branch with changes:
Switch repo to this branch:
Platform should restart automatically, but if not, do that manually. And now you should see new button in instructors dashboard.
Now you need to prepare some data to be exported:
Add ORA block to existing course via studio. Before publishing it, adjust its settings to require only 1 peer assessment and require attachments:


Add a few answers with attachments.
Click on download button:

Soon you should see new report at the bottom of dashboard:

This report should contain all submission attachments with
.csvfile describing each download.Example of CSV: downloads.csv.zip
Reviewers