User Tools

Site Tools


services:submit:websubmit

This is an old revision of the document!


Web Submit

For many years, students have used the command line submit utility for submitting course work. Now, there's a different way to submit course work - Web Submit - and it can be found here:

https://webapp.eecs.yorku.ca/submit

Students with an EECS account can login to Web Submit with their EECS credentials. Students without an EECS account can login with their Passport York credentials.

After logging in, the user will see a list of academic years, terms, and courses. The default academic year and term is the current one. By default, no course or assignment are selected.

A field “Submit Status” updates to indicate either “Submission Enabled” or “Submission Disabled” depending on whether the group bit on the assignment subdirectory is writable or not.

Under “Please specify files to submit:”, the user has an opportunity to submit up to 10 files at once. There is a browse button for selecting each file. As long as the assignment is open for submission, clicking on the “Browse” button, takes the user to their web browser file manager where they can select a file. After selecting up to 10 files, the user hits the “Submit Files” button at the bottom of the screen, and all the files are submitted. A “Messages:” field will show up to inform the user of the success of the process. Up to 512 MB of files can be uploaded at once. If the user submits more than 512 MB, the student will get an error message and will need to reselect their acadyear/term/course/assignment again.

When the user selects a particular academic year, term, course, and assignment, he will see any files that he has submitted from this Web Submit session or past sessions. Faculty can configure whether students are permitted to view the contents of submitted files (see below). If submission is enabled, the user will be able to delete files from his submission, or add additional files. If submission is closed, the user will not be able to delete files or add additional files.

Web submit has more file restrictions than the standard submit command. Files submitted cannot start with a “.” and cannot contain spaces. In fact, the only valid characters that filenames can contain include: numbers, letters, _, -, and “.”. Web submit will only show the student submitted files that match this specification.

Check Scripts

With the command line version of submit, if you have a _check file in your submit directory, it gets executed when students submit their work. _check files are not supported by web-based submit at this time. As a result, if an assignment contains a _check file, web submit will not allow submitting to that assignment, and tell the student to use the command line submit instead. Here is additional documentation on using submit outside the PRISM lab via a Windows or Mac platform. T

Feedback

If a faculty member places an HTML file called feedback.html in the users submit directory, and makes the file owned by group submit (chgrp submit feedback.html), then when the student logs in to web submit, and selects the course, and assignment, he will see “Feedback: Available”. Clicking on “Available” opens a new web browser tab which contains the web submit header (title and York Logo), a feedback header (including user, academic year, term, course, and assignment), the faculty feedback (contents of feedback.html), then the standard web submit footer. If no feedback is available for the selected assignment, “Feedback: None” is displayed. The “feedback.html” file needs to be owned by group submit or the system will not be able to read it. Since the standard web submit header and footer are added to the contents of the feedback file, the file should not contain a head section/title/etc. Basic HTML can be used. PHP cannot be used.

Additional Configuration

An optional file called “.config” may be placed in the assignment subdirectory. This will configure additional behaviour for Web Submit. Please ensure that .config is readable by the web server (ie. chmod 644 .config):

Option Description
preview=false or true configures whether the user is able to preview previously submitted contents. Default behaviour is preview=true.
maxfilesize=X limit maximum file size uploaded to X MB.
log=true Log user actions (submit files, view submissions, deletions) to a file submit.log
allow=IPspec Limit access to submission via IP. Allow lines are NOT appended. Only the last line counts. IPs are not checked for syntax. All IPs not included in allow are denied. Users still submit using command line submit, but these submission will be owned by the user. IPspec can be: 130.63.131.*, 130.63.131.0/24, 130.63.131.0/255.255.255.0, 130.63.131.0-130.63.131.255, or 130.63.131.0 130.63.131.1 130.63.131.2 …

Custom Web Submit Startup URL Parameters

In order to simplify Web Submit startup for your students, you may include a specific academic year, term, course, and even assignment as additional parameters to the Web Submit URL. For example - this URL would link to Web Submit with academic year 2015-16, winter term, course 9999, and assignment “a2”:

https://webapp.eecs.yorku.ca?acadyear=2015-16&term=W&course=9999&assignment=a2

When a user clicks on this link, it would take them to the web submit login page. After logging in, the user will be taken immediately to the selected assignment.

In addition, you can add “&ppy” to the end of the URL. This will skip the EECS login page and take the student directly to Passport York for authentication.

Questions?

If you have any questions about Web Submit, please consult with tech.

services/submit/websubmit.1490814532.txt.gz · Last modified: 2017/03/29 15:08 by jas