Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-03-01 | Add garbage collection logic to Object::delObj() | Malf Furious | 1 | -0/+8 | |
Now, on deletion of objects, all refs to it are purged from the xref tables, obj_member and msg_read | |||||
2016-01-30 | Update app source of entropy for creating random blobs | Malf Furious | 1 | -2/+9 | |
Removed use of PHP's rand() functon in favor of openssl extension's openssl_random_pseudo_bytes() to create blobs with better entropy. Created function getBlob (from class Object) to get a sha256 hash created from randomness for use as object GUIDs, password salts, application tokens, etc. | |||||
2016-01-30 | Handle object timestamps automatically in Object::saveObj() | Malf Furious | 1 | -0/+14 | |
The saveObj() function now initializes and update the timeCreated and timeUpdated fields of objects on its own. A new function, getCurrentTimestamp() (from class Object) is introduced to aid simpler fetching of the date and time | |||||
2015-12-18 | + Added DBObject class -- A non-abstract version of Object class | Malf Furious | 1 | -0/+15 | |
2015-12-18 | * now using rand() instead of random_bytes for numbers | Malf Furious | 1 | -1/+1 | |
2015-12-18 | + Implemented Object::getNewGUID function for Object class | Malf Furious | 1 | -0/+15 | |
2015-12-18 | + Added function "isGUID" to object class for checking whether GUIDs exist | Malf Furious | 1 | -0/+17 | |
2015-12-18 | * Defined some default values for function parameters for object class -- ↵ | Malf Furious | 1 | -2/+2 | |
planning to make a class "RawObject" so that objects may be created in a polymorphic way | |||||
2015-12-18 | + Added delObj function to object class | Malf Furious | 1 | -0/+17 | |
2015-12-18 | + Added saveObj function to Object class | Malf Furious | 1 | -1/+93 | |
2015-12-17 | + Added abstract base class for Scrott database objects (implemented ↵ | Malf Furious | 1 | -0/+71 | |
constructor and loadObj functions) |