Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2017-02-05 | Purge old content | Malf Furious | 5 | -203/+0 | |
These classes were stubs before and lacked any implementation. | |||||
2017-02-05 | Add global source code file | Malf Furious | 1 | -0/+22 | |
2017-02-05 | Add user class | Malf Furious | 1 | -0/+183 | |
2017-02-05 | Fix bug in mysql query function | Malf Furious | 1 | -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-05 | Remove custom exception 'databasekeyexception' | Malf Furious | 1 | -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-04 | Add agent class | Malf Furious | 1 | -0/+54 | |
2017-02-04 | Purge old content | Malf Furious | 1 | -139/+0 | |
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-17 | Add helper functions to table class | Malf Furious | 1 | -0/+39 | |
2017-01-16 | Add object class | Malf Furious | 1 | -0/+89 | |
2017-01-15 | Purge old content | Malf Furious | 3 | -178/+0 | |
2017-01-15 | Add mysql class | Malf Furious | 1 | -0/+68 | |
2017-01-15 | Reorganize examples/ directory | Malf Furious | 68 | -0/+0 | |
2017-01-15 | Purge old content | Malf Furious | 3 | -246/+0 | |
2017-01-15 | Add table class | Malf Furious | 1 | -0/+173 | |
2017-01-14 | Add database class | Malf Furious | 1 | -0/+58 | |
2017-01-14 | Purge old content | Malf Furious | 2 | -838/+0 | |
2017-01-14 | Reinstate database schema file to working directory | Malf Furious | 1 | -0/+0 | |
2017-01-14 | Reset working directory for clean Scrott implementation | Malf Furious | 5 | -338/+338 | |
2017-01-14 | Partial commit of initObj function -- this class needs reworked again... | Malf Furious | 1 | -0/+26 | |
2016-10-23 | Add mysql class | Malf Furious | 2 | -0/+75 | |
2016-10-23 | Add database class | Malf Furious | 1 | -0/+46 | |
2016-10-23 | Rename database column | Malf Furious | 1 | -1/+1 | |
'desc' is a SQL reserved word, changing this column name to 'description'. | |||||
2016-10-23 | Add explaination of permissions and defaults to database schema | Malf Furious | 1 | -5/+20 | |
2016-10-22 | Rework database schema | Malf Furious | 1 | -0/+188 | |
Biggest changes include: better comments merged user and extern-user tables separate fields for different permissions (not a bitmask) added fields to mesgs table for handling attachments renamed some fields to avoid using SQL reserved words | |||||
2016-10-22 | Change project licensing information | Malf Furious | 2 | -0/+58 | |
Replace use of GPLv3 with the unlicense. This is now public domain code. As per my contributor copyright waiver policy, I also include my signature of the UNLICENSE file to declare my work is public domain material. | |||||
2016-10-22 | Deprecate application code | Malf Furious | 71 | -1/+0 | |
Setup to perform an iteration of development focused on a simpler implementation and eliminating redundancy in design. | |||||
2016-10-22 | Merge branch 'feature/core/groups' into dev | Malf Furious | 17 | -36/+1001 | |
2016-09-18 | Move function User::rmHeadImage() to Object class | Malf Furious | 2 | -11/+11 | |
2016-09-18 | Add form submission handler for group settings tab | Malf Furious | 1 | -0/+80 | |
2016-09-17 | Finish markup for setting modal group tab | Malf Furious | 1 | -9/+30 | |
2016-09-17 | Add function Object::getURL() | Malf Furious | 1 | -0/+8 | |
2016-09-17 | Revert "Revert "Update group setting tab to use parameterized view templates"" | Malf Furious | 1 | -2/+5 | |
This reverts commit cc285f5d019e5b586931a2a582374074825de947. | |||||
2016-09-17 | Revert "Update group setting tab to use parameterized view templates" | Malf Furious | 1 | -5/+2 | |
This reverts commit ee3b66018804b332ec2a2953a1d04b7e0beb68fa. | |||||
2016-09-17 | Update group setting tab to use parameterized view templates | Malf Furious | 1 | -2/+5 | |
2016-09-17 | Change ownership view template into a PHP function | Malf Furious | 1 | -12/+14 | |
2016-09-17 | Change permissions view template into a PHP function | Malf Furious | 1 | -50/+52 | |
This change will allow us to use this in different contextes, even on a single page render. | |||||
2016-09-15 | Commit work on setting modal groups tab | Malf Furious | 1 | -1/+52 | |
I am committing this change incomplete. I'm stopping work on this particular piece to save some work overall and explore view templating using PHP features. The idea is to define this markup once in just one file, rather than having to duplicate it for each object type. | |||||
2016-09-15 | Add view template for transferring the owner of an object | Malf Furious | 1 | -0/+33 | |
2016-09-14 | Add view template for setting object permissions | Malf Furious | 1 | -0/+80 | |
This view template can be included from object setting tab view to display controls for adjusting object permissions. | |||||
2016-09-13 | Move function User::getHeadImage() to Object class | Malf Furious | 2 | -8/+8 | |
Increase the scope of this function so it may be used by groups. |