summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-19Add object function getHeadImg()Malf Furious1-0/+8
2017-04-19Add object function rmHeadImg()Malf Furious1-0/+12
2017-04-19Add object function setHeadImg()Malf Furious1-0/+32
2017-04-19Add image cropping logicMalf Furious1-0/+70
User-supplied head images will need to be square in their dimensions, so that bootstrap displays them correctly. This function will crop image files after they are uploaded to the server.
2017-04-16Add directory for object background imagesMalf Furious1-0/+3
2017-04-16Add directory for object headsMalf Furious1-0/+3
2017-04-16Add global function saveFile()Malf Furious1-0/+41
2017-04-16Add global state for page errors, warnings, etc.Malf Furious1-0/+40
Added arrays to the global $_SCROTT variable to keep lists of page errors, warnings, and notices. Also added functions to globals.php for interacting with these arrays.
2017-04-15Add database garbage collectionMalf Furious1-0/+73
2017-04-14Merge branch 'bug/refreshObj' into devMalf Furious1-3/+2
2017-04-14Fix bug in table function saveObj()Malf Furious1-0/+2
Added call to refreshObj() to the end of function saveObj() to fetch all default values defined by the database, not set on the object in PHP.
2017-04-14Revert "Fix bug in table function saveObj()"Malf Furious1-3/+0
This reverts commit e7228676ce51bf69cc974fc0bd8f8135c51fd036.
2017-04-13Merge branch 'bug/refreshObj' into devMalf Furious2-1/+15
2017-04-13Fix bug in table function saveObj()Malf Furious1-0/+3
While creating new objects, some default values (defined in the database schema) are missing in the PHP object definition. To address this, now while saving any *new* database objects, all undefined, expected fields are set to the empty string "".
2017-04-13Update stage function moveBackward()Malf Furious1-1/+3
Now calling refreshObj() to update altered pointers.
2017-04-13Add table function refreshObj()Malf Furious1-0/+9
2017-04-09Merge branch 'bug/saveObj' into devMalf Furious5-0/+9
2017-04-09Fix bug in stage classMalf Furious1-0/+1
2017-04-09Fix bug in pad classMalf Furious1-0/+1
2017-04-09Fix bug in group classMalf Furious1-0/+1
2017-04-09Fix bugs in user classMalf Furious1-0/+4
Added calls to function saveObj() where $this is mutated.
2017-04-09Fix bugs in object classMalf Furious1-0/+2
Added missing calls to function saveObj() where $this is mutated.
2017-04-09Add agent function getPads_ordByOwnByName()Malf Furious1-0/+30
2017-04-09Merge branch 'feature/stages' into devMalf Furious2-0/+210
2017-04-09Add pad function getStages()Malf Furious1-0/+10
2017-04-09Add pad function insertStage()Malf Furious1-0/+12
2017-04-09Add missing requireMalf Furious1-0/+1
2017-04-09Add stage function removeStage()Malf Furious1-0/+19
2017-04-09Add stage function getIssues_ordByDueByNumb()Malf Furious1-0/+19
2017-04-09Add stage function insertStage()Malf Furious1-0/+11
2017-04-09Fix bug in stage moveForward() functionMalf Furious1-0/+1
Since this function is used by moveBackward(), failing to call $this->saveObj() would result in changes made to $this being lost. $this is now written back to the db every time and calling saveObj() manually when using moveBackward() can result in bad data being written to the db.
2017-04-09Update use of object getParent() functionMalf Furious1-2/+2
This function has been updated to construct and return the proper object type. This commit addresses the uses of this function so far to account for this.
2017-04-09Add stage classMalf Furious1-0/+137
2017-04-08Remove NULLs from database schemaMalf Furious1-14/+14
To address potential bugs in the application code, I have updated the data definition to forbid NULL values anywhere in the Scrott database. Additionally, the data type for issue due datetimes is updated to varchar since 'datetime' has issues with my desired default value.
2017-04-07Update function getParent()Malf Furious1-1/+2
Now returns the correct type of object based on the original object's parent.
2017-03-29Add pad classMalf Furious1-0/+87
2017-03-27Purge old contentMalf Furious2-152/+0
2017-03-26Add function user::getGroups_ordByOwnByName()Malf Furious1-0/+28
Lookup all groups a user owns or is a member of.
2017-03-26Add group classMalf Furious1-0/+66
2017-03-26Add functions for object hierarchy mgmtMalf Furious1-0/+28
Added to object class, functions: setOwner, getParent, setParent.
2017-03-26Add function object::typeOf()Malf Furious1-3/+10
Also updated the getOwner function to use this instead of duplicating logic.
2017-03-26Rm unnecessary, circular requires from the object class fileMalf Furious1-3/+0
2017-03-26Add functions for adding and removing object membersMalf Furious1-0/+30
Functions object::addMember() and object::remMember()
2017-03-26Add various helper functions for user classMalf Furious1-0/+45
Added the function to verify and update the user's password. Added the function to confirm and update the user's email address.
2017-03-26Add function agent::getDisplayName()Malf Furious1-0/+18
2017-03-25Add function user::initNew()Malf Furious1-0/+25
2017-02-16Rm old contentMalf Furious4-471/+0
2017-02-16Add functions for checking user/group permissionsMalf Furious1-0/+282
2017-02-15Add settings classMalf Furious1-0/+94
2017-02-14Add function require_https()Malf Furious1-0/+10