summaryrefslogtreecommitdiffstats
path: root/app/class (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-06-04Add mesg function makeIssue()Malf Furious1-0/+27
This feature allows a pad-level discussion to be promoted to an issue. A new object is created, but all content is preserved. However, if the thread OP message had an attachment, that attachment cannot be retained.
2017-06-04Update mesg function setAttachment()Malf Furious1-1/+7
Now saving the original name of the attachment file in the message object.
2017-06-04Define maxsize of attachment uploadsMalf Furious1-0/+5
Value set to 512 megabytes.
2017-06-04mesg: Add mesg classMalf Furious1-0/+249
2017-06-03issue: Fix bug in functions advance() and close()Malf Furious1-1/+6
If the issue is already closed, these functions should do nothing. Continuing the logic in these functions could currupt the database.
2017-06-03issue: Fix bug in function advance()Malf Furious1-2/+2
The call to setParent() should have been in an else. It was being called every time...
2017-06-01Add issue classMalf Furious1-0/+117
2017-04-19Add object function getBgImg()Malf Furious1-0/+12
2017-04-19Add object function rmBgImg()Malf Furious1-0/+12
2017-04-19Add object function setBgImg()Malf Furious1-0/+12
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 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-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-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-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-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-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-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-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