makeopensource / devU

Autograder version 4
10 stars 13 forks source link

Submission fixed up & CAG function to support file download #83

Closed SantarinX closed 5 months ago

SantarinX commented 5 months ago

Proposed changes


  1. Finished #82 to add a function support download files from minio for grader entity to create the container.

  2. Fixed bug #81 where fileModel stores wrong information to the database. and also changing the naming function for the minio bucket name to avoid name length overflow.

  3. Update nameGenerate function, adding the current userId to avoid having the same name if different users submit a same file at the same time.

  4. Restore listByAssignmentId function due to grader.service entity has not updated yet( need to change to the new function)

  5. Fixed previous conflicts in submission.controller caused the program crash

Types of changes


What types of changes does your code introduce? Put an x in the boxes that apply

Checklist


Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.