Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted last non-view routes in Electronic Gradeable Controller to …
…new model (#2645) * Methods to add components/marks in model * Removed old access route * Better component/mark deletion methods * addOneMark * delete mark * missed line * saveOverallComment * getGradeabelComment * getSubmittersThatGotMark * Updated comments and removed old use statements * new db method getSubmitterswhogotmark * Updated front-end to take new format * added todo comment * Updated function names in router * Add mark/component returns mark/component object * addMark route returns id of created mark * Updated misc ajax calls in js * Fixed function order from merge * Misc name improvements * Fixed components not saving deleted marks * Misc ui fixes and improvements * Component addMark A missing 'publish' field is required. * Team creation in model * Fixed usage of createTeam * Added method phpdoc to team.php * Finished non-page-loading grader controller routes * better symmetry * Fixed csrf token check * Fixed db function args * Moved csrf token into form * Fixed typo * Removed old empty check * readded create team success message * Removed race condition with team creation Also improved error messages given when these cases occur * Removed changes * Add new mark doesn't conflict * Fixed component/mark titles in mark stats popup * Fixed leader being added to team twice * Removed 'team creation' success message on team edit * Fixed registration section sort clause * Admin team create/edit sets registration / rotating sections
- Loading branch information
1 parent
8c3c151
commit 7d6c137
Showing
13 changed files
with
669 additions
and
363 deletions.
There are no files selected for viewing
613 changes: 355 additions & 258 deletions
613
site/app/controllers/grading/ElectronicGraderController.php
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.