summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceTed Trask2016-08-041-7/+7
|
* Add password.listlockevents/unlockuser/unlockip actions to acf-utilTed Trask2016-01-241-2/+30
| | | | | | password.status now reports locked status for each user Modified session lib to add list_events/delete_events Changed session.record_event/count_events to take IP rather than hash
* Remove logon/logoff and logon/logon from password home optionsTed Trask2014-10-011-4/+5
| | | | Both of these cause problems if selected
* Cleanup acf-util/password to move logic from the controller to the modelTed Trask2014-10-011-79/+122
|
* Fix bug where changing user skin actually changes the default skinTed Trask2014-10-011-1/+1
|
* Removed skins/read action and use skins/update insteadTed Trask2014-03-031-3/+3
|
* Modified password/status HTML view to make better use of htmlviewfunctions ↵Ted Trask2014-03-031-2/+2
| | | | and remove custom HTML
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-9/+11
| | | | | Use mymodule parameter for module definition. This was also helpfule in revealing places where the code relied on the global environment.
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-2/+2
|
* Updated password and skins for latest handle_form changesTed Trask2012-04-221-2/+2
|
* Updated password to remove redirect_to_referrer and password-html viewTed Trask2012-04-191-13/+20
|
* Added home page (action) to user parameters and redirect there after loginTed Trask2010-10-061-2/+14
| | | | Moved get_all_permissions function from acf-util/roles-model to lib/roles
* Made major changes to authenticator and roles to improve efficiency.Ted Trask2010-09-281-14/+130
| | | | | | | | | | Changed authenticator.lua to request individual users, rather than always loading everyone. Modified get_userinfo and removed get_userinfo_roles and get_userinfo_skin to remove unnecessary cfe processing. This was especially bad when retrieving the cfe options for skins and roles. This does break the interface used by other modules like acf-tinydns. Validation and cfe processing were moved into password-model, where they belong. Added global variables to authenticator and roles libraries so they can reuse data that was already generated. Modified logon-controller to only check for zero users if logon fails.
* Changed file permissions, cli app should only be root executable.Ted Trask2009-12-301-0/+0
|
* Removed built-in users alpine and foo from core, and instead redirect to ↵ttrask2009-03-201-1/+11
| | | | | | create new user when none exist. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1738 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-221-102/+10
| | | | | | preparation for adding SQL authentication. Rewrote authentication functions to use cfe's. Made corresponding changes to roles and logon. Added dnsfiles field to userdata for tinydns access control. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1314 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified logon and password to use new redirect_to_referrer functionality.Ted Trask2008-07-041-1/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1279 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moved clientdata processing from password model to controller.Ted Trask2008-06-061-27/+23
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1208 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-151-37/+58
| | | | | | i.e. can be used as button name. Modified pages that use 'form' to also use 'option'. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1122 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-021-4/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Forgot the password model fileTed Trask2008-04-301-0/+105
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1053 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed password-model because it's not used.Mika Havela2008-02-271-109/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@779 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moved password-model (temporary - This will go to authenticator-plaintext)Mika Havela2008-02-181-0/+109
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@751 ab2d0c66-481e-0410-8bed-d214d4d58bed