summaryrefslogtreecommitdiffstats
path: root/app (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-07-22Fix bug in function agent::isOwner()Malf Furious1-1/+4
If the argument doesn't have an owner, then an access error is thrown when we try to do ->guid. Since there is no owner, just return false. Otherwise, do the comparision as usual.
2018-07-22Implement display of object page background imagesMalf Furious1-1/+12
2018-07-21Update index.php to set appropriate page objectsMalf Furious1-1/+2
2018-07-21Change errorlevel constantsMalf Furious1-3/+3
2018-07-21Add PAGE_OBJECT global mechanismMalf Furious1-0/+33
This addresses a problem with most views. They need an object context to display in. IE what pad, group, etc. are we viewing? This variable is intended to be set by index.php and referenced by page models.
2018-07-21Display new group modal in navMalf Furious1-3/+4
2018-07-21Add new group modal view/model codeMalf Furious2-0/+84
2018-07-20Add the notice modalMalf Furious2-0/+93
2018-07-19Fix bug in index.phpMalf Furious1-1/+2
Perform minor sanitization on the input $_SERVER['PATH_INFO']. This commit adds logic that strips empty strings from main's $argv array. The pass to array_values() is to discard original $tokens array keys and re-number them starting from zero.
2018-07-19Define /logout routeMalf Furious1-0/+9
2018-07-19Add basic dashboard pageMalf Furious2-0/+47
2018-02-11Add start of navbarMalf Furious1-0/+68
2018-02-11Fix icon center-spacing on dbconfig viewMalf Furious1-1/+1
2018-02-11Address issue with user functions getCurrent() and setCurrent()Malf Furious1-2/+2
Previously, these functions would always call session_start() before doing most of their work. However, I've found that calling that function two or more times within the lifetime of a program results in NOTICE messages output from the PHP interpreter. Therefore, I am now only calling session_start() if the session is not already active.
2018-02-10Add exception view to index.phpMalf Furious1-1/+1
2018-02-10Add exception handler viewMalf Furious1-0/+46
2018-02-09Fix bug in function user::getCurrent()Malf Furious1-1/+11
If the session is set to an invalid (eg: deleted) user GUID, an exception is (correctly) thrown. This commit catches that and enables getCurrent() to close the bad session and return NULL.
2018-02-09Add login modelMalf Furious1-0/+92
2018-02-09Limit app textbox input to 64 charsMalf Furious1-1/+1
Many database string fields are capped at 64 chars. Am now asserting this limit in the UI.
2018-02-07Update df script to use renamed obj classMalf Furious1-1/+1
2018-02-07Update class files to use renamed obj classMalf Furious5-43/+43
2018-02-07Rename object.class.php to reflect name of its classMalf Furious1-0/+0
2018-02-07Rename object classMalf Furious1-5/+5
Since 'object' is now a reserved word (as of PHP 7.2), I have to rename this class. I really preferred the name object, but obj will have to do.
2018-02-07Add login view to controllerMalf Furious1-1/+9
2018-02-07Make security warnings REDMalf Furious2-2/+2
2018-02-07Move body padding-top style to stdpage\head()Malf Furious2-4/+4
To accomodate the navbar, also changed to the more-common value of 70px. This looks ok on the setup page.
2018-02-07Add login/signup viewMalf Furious1-0/+117
2018-02-07Update stdpage\head()Malf Furious1-0/+11
Added name and version number to information comment.
2018-02-06Add index.phpMalf Furious1-0/+49
2017-07-06Remove unused global declarationMalf Furious1-2/+0
2017-07-06Add function database::setConfig()Malf Furious1-0/+51
2017-06-27Setup dbconfig view to hook into form submission model codeMalf Furious1-0/+2
Now including the model code file, and supplying an action name for the web form taking configuration parameters.
2017-06-27Add dbconfig model codeMalf Furious1-0/+44
2017-06-27Add function input()Malf Furious1-0/+11
2017-06-27Add function isAction()Malf Furious1-0/+11
2017-06-27Add form classMalf Furious1-0/+179
2017-06-27Add formname template to formctrl viewMalf Furious1-0/+4
2017-06-27Reformat view helper modulesMalf Furious2-4/+8
To limit whitespace being piped to the client, remove empty lines of free HTML between PHP functions defined in view files. To maintain readability, this spacing is added back at the top and bottom of each PHP function.
2017-06-26Add page markup for database setupMalf Furious1-0/+88
2017-06-26Add basic form control templatesMalf Furious1-0/+32
2017-06-24Remove unnessary identifier qualifiersMalf Furious1-3/+3
2017-06-24Add stdpage view templateMalf Furious1-0/+65
2017-06-24Add jQuery library v3.2.1Malf Furious1-0/+4
2017-06-24Add Bootstrap library v3.3.7Malf Furious7-0/+301
2017-06-19Update function user::sendEmail()Malf Furious1-1/+1
Now setting the name for email FROM field using system config 'smtpFrom'.
2017-06-19Add setting parameter 'smtpFrom'Malf Furious1-0/+8
This is the name to give on FROM headers to generated email messages.
2017-06-19Update mesg function emailMesg()Malf Furious1-4/+8
Fixed a bug and fine-tuned some of the behavior of this function.
2017-06-19Add mesg function emailMesg()Malf Furious1-0/+50
2017-06-19Add object function arrayUnique()Malf Furious1-0/+26
2017-06-19Add issue function getPad()Malf Furious1-0/+13