summaryrefslogtreecommitdiffstats
path: root/app/model (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-27Fix function CommonModel::saveSettingUser()Malf Furious1-4/+7
Farious fixes for this form submission handler * missspelled variable names (*Password => *Passwd) * Added a notice message for password change success
2016-03-27Add function CommonModel::common_handleFormSubmissions()Malf Furious1-0/+11
This helper func to all implementing MVC controllers is used to check for submission of any web-form defined within a common MVC view file. If detected, the appropriate handler function is called.
2016-03-27Add function CommonModel::saveSettingUser()Malf Furious1-0/+57
This is a webform handler for the setting modal, user setting tab.
2016-03-27Add function getCurrentUserGlyphicon() to Common modelMalf Furious1-0/+13
This helps render data for the common topp view (navbar). This function will return the glyphicon to use next to the current user's name.
2016-03-27Add Dashboard modelMalf Furious1-0/+15
2016-03-05Add Deauth modelMalf Furious1-0/+17
Deauth is the MVC used to de-authenticate a session -- logout. This MVC will have no views.
2016-02-17Update Except model, deflt action to consume $message for display on pageMalf Furious1-1/+2
2016-02-17Add 'Except' MVC -- Used to show application exception messages to userMalf Furious1-0/+15
This MVC should be triggered by the root controller if normal routines throw an exception and should pass the exception message to the Except controller.
2016-02-06Update Auth model to reflect changes in previous commitMalf Furious1-15/+18
2016-02-01Implement 'login' action on Auth MVCMalf Furious1-0/+27
Finished initial functionality for Auth MVC by implementing the login feature
2016-01-31Log in on signup successMalf Furious1-0/+1
Now, on a successful submission of the signup view form (Auth MVC), the app automatically logs in the newly-created user and redirects to Framework::ap() . "/". Placeholder code has been added to the root controller to simply var_dump() the current logged in user if one exists, otherwise the login view (Auth MVC) is shown
2016-01-31Merge Auth MVC, initial_signup action into signupMalf Furious1-8/+4
There was a mistake that caused the page notice about no accounts existing to sometimes not showup in error. This merge resolves that issue as well as tidys up the code a bit.
2016-01-30Implement signup_submit action on Auth MVCMalf Furious1-0/+34
Submissions to the Auth signup page are now fully handled by either creating a new account (User object in the system) or posting an error message to the page (Auth model)
2016-01-28Finish signup and initialSignup actions on Auth MVCMalf Furious1-0/+15
If no accounts exist no login page will be shown. Instead, the app presents the signup page to allow the administrator to create his account. This is the only case where a new account should be an admin by default.
2016-01-26+ Added function to User class to fetch all users from DBMalf Furious1-0/+10
* Altered Auth MVC deflt action to return false if no users are found. This way, the Auth controller can automatically present user a page to create an admin account
2016-01-03Merge branch 'dev' into authMalf Furious1-1/+1
2016-01-03* Bug fix in sysconf model - save action: problem with how the code is ↵Malf Furious1-1/+1
redirecting to the app root on success (needed to add a trailing shash character)
2016-01-03+ Added model for Auth MVCMalf Furious1-0/+15
2016-01-02+ Added model for new page master layer ("Common" MVC)Malf Furious1-0/+9
2015-12-24* Now performing a database connection test before allowing the sytsconf ↵Malf Furious1-1/+20
page submission to succeed
2015-12-06+ Implemented the "noticeModal" -- an object in the master MVC topp view for ↵M1-0/+33
displaying error / warning / and notice messages + Added two helper functions to Master MVC model for retruning values to the noticeModal
2015-12-06Revert "+ Added functions to Master model for getting merged strings for all ↵M1-32/+0
error/warning/or notice messages" - Rm'ing functions I just added. I decided to go about this in a different way This reverts commit f1c8aca230a0fc982f98f3dfc9b630b82dbb7dc4.
2015-12-06+ Added functions to Master model for getting merged strings for all ↵M1-0/+32
error/warning/or notice messages
2015-12-06+ Adding a TODO note for laterM1-0/+2
2015-12-06* Implemented the "save" action for MVC sysconfM1-0/+43
2015-11-22+ Start of Master MVC ( will define generic layout of pages but will not ↵M2-2/+11
define logic for header ui. since this depends on an established database ). + Added Master model ! As far as I am planning right now, the only MVC that will inherit Master directly will be sysconf since it cannot rely on an existing database connection.
2015-11-22* Derp, default is a reserved word, calling the function 'deflt' insteadM1-1/+1
* Removed explicit call to parent constructor in model class, since that function is not explicitly defined
2015-11-22+ Adding model for sysconf mvcM1-0/+15