summaryrefslogtreecommitdiffstats
path: root/app/controller (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-27Add function CommonModel::common_handleFormSubmissions()Malf Furious1-0/+1
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-27Hook Deauth and Dashboard MVCs from Root controllerMalf Furious1-4/+18
These two MVC trees are now accessable from the app. Also, the root controller is finally in a clean state :).
2016-03-27Add Dashboard controllerMalf Furious1-0/+27
2016-03-05Add Deauth controllerMalf Furious1-0/+26
Model added in previous commit.
2016-03-05Add sec_verify_ip to app root controllerMalf Furious1-0/+3
2016-02-22Create a basic flow for the application Root controllerMalf Furious1-11/+22
This applies the rules for requiring or forbiding the use of SSL/HTTPS and reorganizes the rest of root's handle() function (that is, the check for displaying sysconf, auth, or a placeholder message).
2016-02-20Hook new Except MVC from the Root controllerMalf Furious1-17/+26
This patch encapsulates all app operations in a try block, and handles any exception by passing it into the new 'Except' MVC to be displayed
2016-02-17Add 'Except' MVC -- Used to show application exception messages to userMalf Furious1-0/+27
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-07Modify Auth controller descriptionMalf Furious1-1/+1
This MVC will not be used to handle deauth (logout) anymore. To improve app flow, a separate one will be created for this purpose
2016-02-06Update Auth controller to work with recent MVC redesign (HEAD^^)Malf Furious1-16/+4
2016-02-01Implement 'login' action on Auth MVCMalf Furious1-0/+10
Finished initial functionality for Auth MVC by implementing the login feature
2016-01-31Log in on signup successMalf Furious1-1/+9
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-7/+1
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/+10
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-2/+20
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-03* Hooked the Auth MVC from the Root controllerMalf Furious1-1/+6
2016-01-03+ Added controller for new MVC "Auth"Malf Furious1-0/+33
2015-12-18! Review of app/ directory for merging upstream to dev has been ↵Malf Furious1-0/+3
completed..... whew + Added some TODO comments for later development
2015-12-06* Implemented the "save" action for MVC sysconfM1-1/+17
2015-12-05* Now normalizing the $argv array in the root app controllerM1-0/+2
2015-11-22* Placeholder message for site contentM1-0/+2
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* Root controller is now asserting the existence of scrott.conf.php and ↵M1-2/+8
delegating to the correct mvc if it is missing
2015-11-22+ Added controller for SysConf MVCM1-0/+27
2015-11-22* Bug fix in normalizeArgv functionM1-3/+5
2015-11-22+ Added function to root controller for normalizing the $argv arrayM1-0/+32
2015-11-21+ Added app root controllerM1-0/+20
* Finished implementing app main function to instanciate root and delegate to it