summaryrefslogtreecommitdiffstats
path: root/lib/authenticator.lua
Commit message (Collapse)AuthorAgeFilesLines
* Proper fix for bug 1131Ted Trask2012-05-081-20/+14
|
* Fix bug 1131 where session data invalid after updating logged in userTed Trask2012-05-081-4/+20
|
* Modified require statements for acf.xTed Trask2012-01-211-1/+1
|
* Fixed mksalt to use correct charactersTed Trask2011-10-271-3/+10
|
* authenticator: use salt and sha-512 encryptionNatanael Copa2011-10-271-2/+43
|
* Added home page (action) to user parameters and redirect there after loginTed Trask2010-10-061-2/+4
| | | | 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-210/+71
| | | | | | | | | | 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.
* Allow authenticator library to be specified in the config file.Ted Trask2010-09-031-1/+5
|
* Fix minor exception when called from console clientTed Trask2010-08-051-1/+1
|
* Fixed typo bug and sort user skins.Ted Trask2010-03-151-1/+2
|
* Added a skin to user options so users can choose own skin with user management.Ted Trask2010-01-131-21/+46
|
* use the lua module md5 rather than call external prog md5sumNatanael Copa2009-01-231-2/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1690 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Tested by removing expected packages, files, and directories. Fixed ↵Ted Trask2009-01-161-1/+1
| | | | | | resulting bugs. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor change to roles code and major change to roles. Replaced ALL, CREATE, ↵Ted Trask2008-10-241-1/+1
| | | | | | READ, UPDATE, and DELETE with GUEST, USER, EDITOR, EXPERT, and ADMIN. Changed all roles files and modified some html files to hide options without permissions. Determine default roles from roles files, rather than hard-coded, and added ability to modify default roles by adding permissions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to make sub-authenticator visible rather that ↵Ted Trask2008-09-301-110/+12
| | | | | | redefining the functions twice. Modified roles and tinydns to reflect change. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1537 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleanup of some libs.Ted Trask2008-09-261-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1533 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-161-1/+17
| | | | | | role or user. Modified all roles code to pass self for future move from text file to database. Roles cannot use authenticator unless or until roles file syntax is changed. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1382 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to allow reading/writing role-based options. ↵Ted Trask2008-07-251-0/+41
| | | | | | Modified viewfunctions to display multi values that are not in options. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1320 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another rewrite of validator to remove dnsfiles and add a generic way for ↵Ted Trask2008-07-241-69/+68
| | | | | | other controllers to save user-based settings. Also added fs.create_file function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1317 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated validator to make change_setting work.Ted Trask2008-07-231-6/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1315 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-221-0/+293
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