Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-14 | Merge branch 'bug/refreshObj' into dev | Malf Furious | 1 | -3/+2 | |
2017-04-14 | Fix bug in table function saveObj() | Malf Furious | 1 | -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-14 | Revert "Fix bug in table function saveObj()" | Malf Furious | 1 | -3/+0 | |
This reverts commit e7228676ce51bf69cc974fc0bd8f8135c51fd036. | |||||
2017-04-13 | Merge branch 'bug/refreshObj' into dev | Malf Furious | 2 | -1/+15 | |
2017-04-13 | Fix bug in table function saveObj() | Malf Furious | 1 | -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-13 | Update stage function moveBackward() | Malf Furious | 1 | -1/+3 | |
Now calling refreshObj() to update altered pointers. | |||||
2017-04-13 | Add table function refreshObj() | Malf Furious | 1 | -0/+9 | |
2017-04-09 | Merge branch 'bug/saveObj' into dev | Malf Furious | 5 | -0/+9 | |
2017-04-09 | Fix bug in stage class | Malf Furious | 1 | -0/+1 | |
2017-04-09 | Fix bug in pad class | Malf Furious | 1 | -0/+1 | |
2017-04-09 | Fix bug in group class | Malf Furious | 1 | -0/+1 | |
2017-04-09 | Fix bugs in user class | Malf Furious | 1 | -0/+4 | |
Added calls to function saveObj() where $this is mutated. | |||||
2017-04-09 | Fix bugs in object class | Malf Furious | 1 | -0/+2 | |
Added missing calls to function saveObj() where $this is mutated. | |||||
2017-04-09 | Add agent function getPads_ordByOwnByName() | Malf Furious | 1 | -0/+30 | |
2017-04-09 | Merge branch 'feature/stages' into dev | Malf Furious | 2 | -0/+210 | |
2017-04-09 | Add pad function getStages() | Malf Furious | 1 | -0/+10 | |
2017-04-09 | Add pad function insertStage() | Malf Furious | 1 | -0/+12 | |
2017-04-09 | Add missing require | Malf Furious | 1 | -0/+1 | |
2017-04-09 | Add stage function removeStage() | Malf Furious | 1 | -0/+19 | |
2017-04-09 | Add stage function getIssues_ordByDueByNumb() | Malf Furious | 1 | -0/+19 | |
2017-04-09 | Add stage function insertStage() | Malf Furious | 1 | -0/+11 | |
2017-04-09 | Fix bug in stage moveForward() function | Malf Furious | 1 | -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-09 | Update use of object getParent() function | Malf Furious | 1 | -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-09 | Add stage class | Malf Furious | 1 | -0/+137 | |
2017-04-08 | Remove NULLs from database schema | Malf Furious | 1 | -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-07 | Update function getParent() | Malf Furious | 1 | -1/+2 | |
Now returns the correct type of object based on the original object's parent. | |||||
2017-03-29 | Add pad class | Malf Furious | 1 | -0/+87 | |
2017-03-27 | Purge old content | Malf Furious | 2 | -152/+0 | |
2017-03-26 | Add function user::getGroups_ordByOwnByName() | Malf Furious | 1 | -0/+28 | |
Lookup all groups a user owns or is a member of. | |||||
2017-03-26 | Add group class | Malf Furious | 1 | -0/+66 | |
2017-03-26 | Add functions for object hierarchy mgmt | Malf Furious | 1 | -0/+28 | |
Added to object class, functions: setOwner, getParent, setParent. | |||||
2017-03-26 | Add function object::typeOf() | Malf Furious | 1 | -3/+10 | |
Also updated the getOwner function to use this instead of duplicating logic. | |||||
2017-03-26 | Rm unnecessary, circular requires from the object class file | Malf Furious | 1 | -3/+0 | |
2017-03-26 | Add functions for adding and removing object members | Malf Furious | 1 | -0/+30 | |
Functions object::addMember() and object::remMember() | |||||
2017-03-26 | Add various helper functions for user class | Malf Furious | 1 | -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-26 | Add function agent::getDisplayName() | Malf Furious | 1 | -0/+18 | |
2017-03-25 | Add function user::initNew() | Malf Furious | 1 | -0/+25 | |
2017-02-16 | Rm old content | Malf Furious | 4 | -471/+0 | |
2017-02-16 | Add functions for checking user/group permissions | Malf Furious | 1 | -0/+282 | |
2017-02-15 | Add settings class | Malf Furious | 1 | -0/+94 | |
2017-02-14 | Add function require_https() | Malf Furious | 1 | -0/+10 | |
2017-02-13 | Add function database::checkConfig() | Malf Furious | 1 | -0/+17 | |
2017-02-13 | Implement function database::getInstance() | Malf Furious | 1 | -2/+30 | |
2017-02-13 | Add app-root(), app-path(), and similar function to globals.php | Malf Furious | 1 | -0/+34 | |
2017-02-07 | Add function expectType() to table class | Malf Furious | 2 | -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-06 | Update function signatures for table class | Malf Furious | 1 | -10/+10 | |
Various function (and their usages) in the table class have been updated to be static class function. | |||||
2017-02-06 | Update table class tree to use static database references | Malf Furious | 3 | -31/+27 | |
2017-02-06 | Update database API | Malf Furious | 2 | -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-05 | Purge old content | Malf Furious | 4 | -245/+0 | |
2017-02-05 | Add redirect to forceful logout | Malf Furious | 1 | -0/+1 | |
While forcing a logout, we need to also redirect to the app root. |