Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update assessment schema and add max_team_size as a required field * Update assessment schema and add max_team_size as a required field * Add max team size to assessment controller payload * Update mix.exs * Create migrations for team assessments * Add Team Formation Models * Fix line endings * Fix line endings * Establish connection with Frontend * Generate seeds for team and team_member * Fix line endings * Add API call to retrieve team formation students * Add Validation for Create Team * Update response for Create and Delete Team API * Add Update Teams API call * Modify helper function * Update seeds * Modify TeamMember migration * Update AlterSubmissionsTable migration * Add API to retrieve TeamFormationOverview for students * Add Delete Team * Refactor SQL chunk to fetch both Team and Individual submissions * Add retrieve Team Submission * Add create empty submission for Team submission * Add cascade delete answer when Team is deleted * Update XOR validation in Submission * Remove bulk_upload API call and doc * Add retrieve of team submission answers * Add unsubmit for team submission * Add retrieval of team submissions for grading * Add handle team submission notifications * Remove io inspect statement * Remove io inspect statement * Revert seeds * Revert seeds * Revert seeds * Add last_modified_at field for Answer * Add Save-Safe * Add documentation for models * Minor refactoring of Teams * Add Swagger Documentation for AdminTeamsController * Write Function Documentation for Teams * Add documentation and minor refactoring * Minor changes to existing tests * Cascade delete notification for submission * Update error message for team creation * Update assessments Team retrieval * Add cascading delete for notifications * Fix Team Delete Bug * Fix save answer bug when no team * Raise exception when mass team imports violates constraints * remove test file * Fix bug of importing duplicate students through excel * Refactor default max team size to 1 * Check size of the team before insertion * Fix format * Fix unsubmit handle notifications bug * Fix end of line issue * Fix end of line issue * Fix end of line issue * Raise exception when some of the students in mass team import are not enrolled in the course * Update docs * Fix Submission Grading Bug * Update docs * Fix team deletion bug when there is a submitted assessment * Send proper error msg to frontend when delete team fails * Resolve merge conflict from upstream * Merge conflict * Retrieve Team Submission Details * Fix failed test cases * Add test cases * Team Member Factory * add team tests * Modify Submission Factory to include Team Submission * Write test for Team Members * Increase COV for Notification Test * Prepend unused variable with underscore * Answer View Test * Team View Test * Update Admin Teams Controller * Admin Teams Controller Test * Clean up test cases * Improve test coverage for teams * Improve test coverage for team controller * Improve submission test coverage * Remove unrecheable code * Empty Guardian Test * Answer Controller Test * Notification Test * improve test coverage for assessments * Improve test coverage for assessments * Clean up test cases * Update Swagger Documentation * Modify AddMaxTeamSizeToAssessments migration file * Remove unused variable in notification test * Fix format * Fix credo errors * Fix casing (code quality) * Fix other miscellaneous code quality issues * Revert credo dependency version update * Fix credo configuration * Fix failing tests * Remove unused variables * Fix failing tests * Remove IO.inspect * Fix dialyzer CI * Run mix format * Fix format * Simplify code * Group multiple aliases together * Remove unnecesary newlines * Reorder/revert/reformat unnecessary changes to simplify diff * Revert file permission changes * Remove commented code * Revert status code changes * Fix tests following status code change revert * Remove redundant conversion * Add comment to notifications * Add validation for max team size * Update assessment changeset testcase * Abstract out find teams * Remove repeated code * Abstraction of XOR logic * Fix format * Fix failing tests * Run format * Fix format * Redate migrations To ensure proper ordering * Fix format post-merge * Remove typo * Revert dependency downgrades * Revert incorrect merge conflict resolution * Fix tests * Update status code for not found * Fix test for not found status code --------- Co-authored-by: Lu Yiting <[email protected]> Co-authored-by: LuYiting0913 <[email protected]> Co-authored-by: Richard Dominick <[email protected]> Co-authored-by: Chen Yanyu <[email protected]>
- Loading branch information