Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-06 | Update table class tree to use static database references | Malf Furious | 1 | -2/+2 | |
2017-02-04 | Fix to object class function signature | Malf Furious | 1 | -1/+1 | |
The getOwner() function should have had a nullable return type. | |||||
2017-01-16 | Add object class | Malf Furious | 1 | -0/+89 | |
2016-10-22 | Deprecate application code | Malf Furious | 1 | -640/+0 | |
Setup to perform an iteration of development focused on a simpler implementation and eliminating redundancy in design. | |||||
2016-09-18 | Move function User::rmHeadImage() to Object class | Malf Furious | 1 | -0/+11 | |
2016-09-17 | Add function Object::getURL() | Malf Furious | 1 | -0/+8 | |
2016-09-13 | Move function User::getHeadImage() to Object class | Malf Furious | 1 | -0/+8 | |
Increase the scope of this function so it may be used by groups. | |||||
2016-06-10 | Fix typo | Malf Furious | 1 | -1/+1 | |
2016-06-10 | Add functions to Object class to determine user permissions | Malf Furious | 1 | -0/+313 | |
Added a variety of functions to the Object base class for testing a user's access level to another object. Also added functions to test whether a given user or group is an owner or member of another object. | |||||
2016-06-08 | Add function Object::getOwner() | Malf Furious | 1 | -0/+12 | |
Added object function to get the owner of an object. This base-class function returns a User object, however a user might not always be the kind of owner (eg: a group can own a pad). In these situations, Object sub-classes should override this function and return the appropriate type of object. | |||||
2016-06-08 | Add function Object::getMembers() | Malf Furious | 1 | -0/+16 | |
Added object function to get an array of all its members. These will always be user objects, so this is always a safe function to call. | |||||
2016-06-01 | Add function Group::createNewGroup() | Malf Furious | 1 | -0/+2 | |
This function will initialize a new group object and write it to the database, with a given group name and owner user. | |||||
2016-05-26 | Add copyright notice to Scrott class files | Malf Furious | 1 | -0/+14 | |
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) |