queryDatabase error hanlding improved.
Unified backend javadoc comments.
database.js and dbsetup.sql converted from dates to timestamps.
config.js to include priority offset for determining due dates on new tickets.
newTicket and modify ticket set up to use hashids instead of md5 for id hash.
set department done.
delete department finished.
changed CURRENT_DATE in database.js to NOW to work with timestamps.
changed all INSERTS and UPDATES to use RETURNING * just in case.
hashids fully integrated
Merged with database branch, contains John's updates and also the following:
-cleaned up the database, changed all date type columns to timestamps
-get functions now format all the timestamps so that they look nice
-fixed a whole ton of bugs that prevented proper displaying, setting, editing or deleting of entries in users, departments, tickets or comments tables
-fixed bug with replies that caused it to sometimes not display replies on a ticket page (added "$scope.$apply()")