Age | Commit message (Collapse) | Author | Files | Lines |
|
This will prompt the user for their password if they opt to delete their
own account. This is to prevent malicious attempt by others to trick
users into having there accounts deleted by way of a XSS attack.
|
|
|
|
|
|
Now supports file upload to replace the user's head image
|
|
Created class-scope vars to define allowable sizes and types for
uploaded user images
|
|
Now supports file upload to replace the user's head image
|
|
|
|
This handler is requires admin status and allows you to create a new application user
|
|
Also, added relevant initialization code to common model
|
|
Set a default value for field 'settSSL'. If this value is locked in the system-level configuration, then the disabled radio buttons don't assume a value
during POST submission to the page and the field appears to the $form object as being unset. I use the currently set value for this option as the default.
|
|
|
|
|
|
Changed how Form() objects model true and false for boolean fields. Was "true" and "false", is now "1" and "0", respectivly.
This is to address how Mysql handles these values as they are pushed to the db.
|
|
Added logic to set initial state of fields on the setting modal's admin tab
|
|
Farious fixes for this form submission handler
* missspelled variable names (*Password => *Passwd)
* Added a notice message for password change success
|
|
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.
|
|
This is a webform handler for the setting modal, user setting tab.
|
|
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.
|
|
|
|
Deauth is the MVC used to de-authenticate a session -- logout. This MVC will have no views.
|
|
|
|
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.
|
|
|
|
Finished initial functionality for Auth MVC by implementing the login feature
|
|
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
|
|
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.
|
|
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)
|
|
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.
|
|
* 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
|
|
redirecting to the app root on success (needed to add a trailing shash character)
|
|
|
|
|
|
page submission to succeed
|
|
displaying error / warning / and notice messages
+ Added two helper functions to Master MVC model for retruning values to the noticeModal
|
|
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.
|
|
error/warning/or notice messages
|
|
|
|
|
|
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.
|
|
* Removed explicit call to parent constructor in model class, since that function is not explicitly defined
|
|
|