summaryrefslogtreecommitdiffstats
path: root/app/acf-util
Commit message (Collapse)AuthorAgeFilesLines
* Modified acf_www and logon-controller to redirect to logon on dispatch error ↵Ted Trask2008-08-222-5/+7
| | | | | | and redirect to requested page after logon. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1402 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-162-13/+13
| | | | | | 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 roles to list views that don't have actions in the list of ↵Ted Trask2008-08-091-1/+8
| | | | | | available permissions git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1374 ab2d0c66-481e-0410-8bed-d214d4d58bed
* use <% %> instead of <? ?>Natanael Copa2008-07-288-94/+94
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another rewrite of validator to remove dnsfiles and add a generic way for ↵Ted Trask2008-07-241-3/+0
| | | | | | 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
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-225-204/+69
| | | | | | 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
* Fixed redirect_to_referrer with GET data. Moved handling of multi select ↵Ted Trask2008-07-121-16/+23
| | | | | | from acf_www-controller to controllerfunctions. Fixed form ids containing '.'. Added new handle_clientdata function to controllerfunctions. Modified password-controller to use handle_clientdata for multi select to work.k git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1299 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modifed roles to use controllerfunctions, modelfunctions, and a symlink.Ted Trask2008-07-125-78/+40
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1298 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified logon and password to use new redirect_to_referrer functionality.Ted Trask2008-07-045-29/+28
| | | | 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-062-39/+46
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1208 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Remove clientdata processing from logon-modelTed Trask2008-06-062-8/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1207 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Graphical bugfix - Modifying path to images.v0.4.1Mika Havela2008-05-221-1/+1
| | | | | | version bump on Makefiles git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1175 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Small graphical changes.Mika Havela2008-05-212-11/+15
| | | | | | Adding horizontal-line on TD's using ICE.css git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1129 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-158-111/+166
| | | | | | 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
* Replaced references to ENV[SCRIPT_NAME] with self.conf.script.Ted Trask2008-05-151-1/+1
| | | | | | Logon link no longer forced to be https. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added suppress_view option to dispatch_component and return viewtable.Ted Trask2008-05-143-6/+6
| | | | | | | Removed hostname from pageinfo and replaced with component load in template. A little cleanup to use pageinfo in views. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1119 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Change inheritance from worker->self->parent to self->worker->parent as ↵Ted Trask2008-05-141-2/+1
| | | | | | | | | | found in wiki. Move the permissions stuff out of mvc.dispatch into new acf_www.dispatch. Moved redirect from mvc to acf_www and made to parse path. Changed the order of parameters to template and passed all to the view. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1118 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Finished user and role managementTed Trask2008-05-056-104/+99
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1100 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-029-31/+214
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removing debug information from Welcome-page.Mika Havela2008-05-021-2/+3
| | | | | | Redirecting to welcome-page at successful logon. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1096 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-017-53/+76
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 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
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-306-474/+109
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed error redir code to use redirect function insteadTed Trask2008-04-281-5/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1051 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added cfe support to logonTed Trask2008-04-284-30/+22
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1049 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Replaced all list_redir functions with redirect in mvc.lua, implemented a ↵Ted Trask2008-04-243-8/+4
| | | | | | default_action string in each controller, removing the on_load functions git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed
* CleanupTed Trask2008-04-221-1/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1031 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Ted's Logon/permissions changesTed Trask2008-04-219-180/+130
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1030 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Redirecting user to logon page when they successfully logged out.Mika Havela2008-04-041-1/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@946 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Renamed function that had _ in the functionname.Mika Havela2008-04-032-10/+11
| | | | | | Made it possible to administer users if you have role CREATE (even if you are not logged on as Alpine) git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@906 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed Menu-name.Mika Havela2008-03-262-3/+3
| | | | | | Changed UserName to RealName. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@840 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug where menus kept if going to logon page while logged on. Menus now ↵Mike Mason2008-03-201-0/+1
| | | | | | get rebuilt and the user logged off. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@836 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Made the build_menu a public function so that logoff could run it. No more bugsMike Mason2008-03-201-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@835 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Redirecting the user to logon-page when someone is trying to edit passwords ↵Mika Havela2008-03-031-3/+26
| | | | | | when not logged on git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@787 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
* Adding password manager to MakefileMika Havela2008-02-201-2/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@762 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Password administration now works!Mika Havela2008-02-203-63/+175
| | | | | | Logon as alpine and you can edit others. All other users can only edit them selves. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@761 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today (password manager controller/view)Mika Havela2008-02-194-87/+292
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@755 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
* Moved password-manager to coreMika Havela2008-02-185-0/+206
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@750 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed Makefiles.Mika Havela2008-02-132-13/+20
| | | | | | Modified the view-file so it looks the same way other view-files looks. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@712 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Don't touch the sessiondata.menu table. Working on getting these both to ↵Mike Mason2008-02-132-0/+10
| | | | | | place nice together. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@711 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the session management and expiration items. Will be more bug ↵Mike Mason2008-02-072-7/+4
| | | | | | fixes/changes to come... git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@706 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added the full roles to the sessiondata.Mike Mason2008-02-053-4/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the beingings of the authorization items. Also adding some of the ↵Mike Mason2008-02-044-0/+60
| | | | | | updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated the code to use md5sums in the acf passwd file. Made the ↵Mike Mason2008-01-301-1/+3
| | | | | | md5sum_string function(to go along with md5sum_file) in fs git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@665 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated changes hopefully meeting most of the security checks/validation ↵Mike Mason2008-01-291-9/+26
| | | | | | items in nangel's list git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@663 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changes effect only the log in|out functions. Will work now. Next working on ↵Mike Mason2008-01-264-46/+57
| | | | | | updating to prevent misuse of the login function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@656 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor change to really make it work. This all will be cleaned up shortlyMike Mason2008-01-241-3/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@639 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding logon-status and finally with nangel's help got this workingMike Mason2008-01-233-29/+47
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@632 ab2d0c66-481e-0410-8bed-d214d4d58bed