Created QueuedPage.php.
Changed index.php to use CallistaController.php.
CallistaController.get_html_content() now takes Moodle's course object as
an argument instead of the course id.
OverridePage.php now takes the course id as an argument.
Added TransferResultsPage.php. Added courseid attribute to QueuedPage.php.
Created WebServiceErrorPage.php
Created UnknownErrorPage.php. Added a few comments to TransferResultsPage.php
Added method comments to UnknownErrorPage.php
Fixed TransferResultsPage.php and added comments to ExportCallistaPage.php
Added constructor to UnknownErrorPage.php
Created OfferingsDao.php and GradeCalculationService.php. Strung together the CallistaController, GradeCalculationService, GradebookDao, OfferingsDao and the OverridePage.
Added comments.
Replaced names referring to 'letter grades' to refer to 'grades'.
Added version.php and language pack gradeexport_callista4.php. Changed other files to refer to new language pack.
Added db/access.php, db/install.xml, views.MarksTableStyles.css, views/images/busySorting.gif and views/js/OverridePage.js and added requirements and corrections to other files so the plugin can show the override page in Moodle.
Queuing marks now works.
Batch and Mark classes now have attributes, constructors and getters and
setters.
BatchDao now has a methods to load a batch with its marks, without its
marks, the marks without the batch, and to add a new batch to the
database.
GradebookDao has a method to retrieve marks data as Mark objects.
GradeCalculationService has a method to apply override data to the
retrieved Mark objects.
QueuingService has a method to queue a batch of marks, using the BatchDao
and GradeCalculationService.
CallistaController can now use the QueuingService.
enqueue.php has been added to make the controller call the QueuingService.
OverridePage.php has the skeleton for handling exception messages.
install.xml had a minor comment change.
A lot of commenting was added to all the files.
The QueuedPage now works. Corrections for various small things.
OverridePage and QueuedPage now read their data from an array of model objects rather than a 2D array of primitive types. The model objects have been expanded to contain the data that both the web service and views need. CallistaController no longer access BatchDao directly. It instead uses the QueuingService to get the data.
Batch.php now sets the batchid attribute of any marks assigned to it to its own id.
Mark.php has had the constructor arguments rearranged.
GradebookDao.php has been modified to work with the new constructor argument ordering.
db/install.xml has been altered so the tables reflect the model objects. The mark and grade columns were changed to calculated_mark and derived_grade and have had the 'not null' constraint removed.
BatchDao.php has had methods added to store whole Batch and Mark objects to the database. The code for loading Mark objects now retrieves the extra columns.
QueuingService.php now has some data validation looking for missing or malformed marks or grades and two new queuing result constants.
enqueue.php now adds any queuing result that isn't 'successfully queued' to the redirect url instead of only passing 'malformed' or 'database error' results.
OfferingsDao.php was missing a require_once statement.
BatchDao.php - removed unnecessary comment.
GradebookDao.php - the derived grade '-' is now stored as a null in the
database.
QueuingService.php - removed the test for the derived grade equalling '-'.
OverridePage.js - the class for the grade select boxes' change events has
been corrected.
Added lib.php, GradeTransferService.php and MarkTransferDao.php so queued
batches can be sent to the web service.
Added and corrected comments in many files.
Reordered attributes and methods in model classes.
GradbookDao now creates the outcome id for mark objects while it creates
them.
Added extra columns to the database table and altered dao code to match the model object.
QueuedPage and TransferResultsPage now receive a batch to their
constructor instead of a course id, unit short name and array of marks.
GradebookDao now does not index marks by student id.
Added sorting javascript to QueuedPage and TransferResultsPage.