summaryrefslogtreecommitdiffstats
path: root/app (follow)
AgeCommit message (Collapse)AuthorFilesLines
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
2017-02-13Add function database::checkConfig()Malf Furious1-0/+17
2017-02-13Implement function database::getInstance()Malf Furious1-2/+30
2017-02-13Add app-root(), app-path(), and similar function to globals.phpMalf Furious1-0/+34
2017-02-07Add function expectType() to table classMalf Furious2-0/+16
protected function exceptType added for use by subclasses to assert that the database object loaded is the correct type and to protect against cases like EG: passing the GUID for a group to new user(...); If a problem is detected, throw an exception.
2017-02-06Update function signatures for table classMalf Furious1-10/+10
Various function (and their usages) in the table class have been updated to be static class function.
2017-02-06Update table class tree to use static database referencesMalf Furious3-31/+27
2017-02-06Update database APIMalf Furious2-8/+25
The abstract functions of database have been made protected and their names prefixed with '_'. The database class has been given new static functions query() and esc(), which call the _query() and _esc() function from the database instance object. This change was made to address the use of db routines from static contexes. Calls like `database::get()->query()` which mix static and instance function access operators, can now be `database::query()`, and all singleton is abstracted away; the instance's destructor continues to close the db connection.
2017-02-05Add redirect to forceful logoutMalf Furious1-0/+1
While forcing a logout, we need to also redirect to the app root.
2017-02-05Add global source code fileMalf Furious1-0/+22
2017-02-05Add user classMalf Furious1-0/+183
2017-02-05Fix bug in mysql query functionMalf Furious1-1/+1
Need to remove the NULL return value from fetch_assoc() to fix usages of count($res) for determining the number of results from a MySQL query. This NULL return value is returned from mysqli's fetch_assoc() function to signal no more result rows.
2017-02-05Remove custom exception 'databasekeyexception'Malf Furious1-9/+7
Just use a generic exception in these cases. I don't want to handle these any differently, and just fall back on the main Exception() error page once we get to a UI.
2017-02-04Add agent classMalf Furious1-0/+54
2017-02-04Fix to object class function signatureMalf Furious1-1/+1
The getOwner() function should have had a nullable return type.
2017-01-17Add helper functions to table classMalf Furious1-0/+39
2017-01-16Add object classMalf Furious1-0/+89
2017-01-15Add mysql classMalf Furious1-0/+68
2017-01-15Add table classMalf Furious1-0/+173
2017-01-14Add database classMalf Furious1-0/+58