This is a web interface to the command-line submit
command. Implementation is in Java class uw.unix.SubmitHandler
.
This application is installed at a specific base URL, which we will call BASE
. This URL corresponds to a list of courses which may be configured for electronic submission. Contained directories correspond to individual courses and assignments.
Upon creation, an installation is passed a map of course names and descriptions. This is displayed as a list at BASE/
, with each course's description linking to that course's assignment listing. This part is done without reference to the command-line submit
command, as it has no feature to list which courses are using the mechanism.
The URL BASE/COURSE/
gives a list of the assignments for that course. This is obtained by running submit $COURSE -L
and parsing the results. Each assignment is linked to the assignment information page.
The assignment listing can be requested for any course, regardless of whether or not it is listed on the course listing page.
The URL BASE/COURSE/ASSIGN
gives information about the specified assignment. It shows generic information about the assignment by invoking submit $COURSE -L $ASSIGN
and displaying the results. Below this it shows student-specific information by invoking submit $COURSE -L $ASSIGN
and displaying the results.
Additionally there is a form to submit the assignment. This consists of a tickbox authorizing a late submission, and a submit button. There is also explanatory text which includes a link to the correct submission directory for that assignment in OdysseyLocalAppFileAccess.
Upon form submission, submit $COURSE $ASSIGN ~/$COURSE/$ASSIGN
is invoked to perform the actual submission. The -t
flag is specified if the user requested late submission. The results of running the program are displayed to the user.
None known at present.
~/$COURSE/$ASSIGN
. This seems obviously useful.
submit
assignment names aren't either. So harmonizing these seems like it should be quite feasible. Nevertheless, if an appropriately simple interface for choosing the alternate directory can be found, this should not be ruled out as an enhancement. I would suggest an absolute ceiling on complexity of the same amount of complexity currently found in the submission form. -- IsaacMorland - 09 Feb 2007