summaryrefslogtreecommitdiffstats
path: root/app/acf_www-controller.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modify acf_www-controller.handle_clientdata to handle multi data coming in ↵Ted Trask2015-10-041-2/+6
| | | | as an array instead of just as a string.
* Use cfe.print_errtxt in htmlviewfunctions.displaycommandresults and make ↵Ted Trask2015-06-051-1/+1
| | | | sure results are cfes
* Fix form with redir to not change to command result when redirecting to same ↵Ted Trask2015-06-051-4/+12
| | | | | | action This allows a form to override the redirect to referrer
* Accept HTTP auth even if not in passwd file. Give DEFAULT role.Ted Trask2015-05-221-0/+3
|
* Modify handle_clientdata to not update readonly valuesTed Trask2014-11-031-0/+2
|
* Modify acf_www-controller to make redirect_to_referrer a local functionTed Trask2014-10-011-34/+34
|
* Change www redirector to prefer specified redir over referrerTed Trask2014-10-011-1/+1
|
* Fix bug in acf_www-controler handle_clientdata where the cfe name is a numberTed Trask2014-09-121-0/+7
|
* Fixed bug in www controller redirect_to_referrer if the referrer is missingTed Trask2014-05-301-1/+2
|
* Fix multi select in www-controller when nothing is selectedTed Trask2014-04-251-2/+11
|
* Fix HTML multi select to use select instead of series of checkboxesTed Trask2014-03-031-2/+3
|
* Fix bug in acf_www-controller logevent based on global versus module variableTed Trask2013-11-201-1/+1
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-38/+40
| | | | | 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
|
* Add home config option to acf.conf for default home pageTed Trask2013-05-301-21/+28
| | | | The default_prefix and default_controller logic was broken, and is now removed
* Change logon/logout action to logon/logoff and standardize on logon/off ↵Ted Trask2013-05-301-1/+1
| | | | instead of login/out
* Added support for automatic login after HTTP authentication if ACF user existsTed Trask2013-05-301-0/+13
|
* Further fixes for null handling in handle_clientdataTed Trask2013-04-301-1/+1
|
* Fix null clientdata handling bug when recursingTed Trask2013-04-301-1/+2
|
* Added option to have skin-specific template in skindirTed Trask2012-10-111-8/+15
|
* Added clientdata.skinned option to turn off skins in html templateTed Trask2012-10-021-0/+1
|
* Revert "Added clientdata.skinned option to turn off skins/templates"Ted Trask2012-10-021-1/+1
| | | | This reverts commit b0d5cd7398e09c6b1e2becacaab196c5f2a91096.
* Added clientdata.skinned option to turn off skins/templatesTed Trask2012-10-021-1/+1
|
* Change handle_form to pass self into get_function and set_functionTed Trask2012-04-221-2/+2
|
* Modify acf_www and acf_cli handle_clientdata to separate out functionality ↵Ted Trask2012-02-231-25/+13
| | | | for the two apps
* Removed controllerfunction.lua and moved handle_form and handle_clientdata ↵Ted Trask2012-02-231-0/+97
| | | | | | into mvc.lua mvc.lua has generic versions of the functions, overridden in acf_www and acf_cli with customizations
* Changed mvc and www view_resolvers to make auto_view workTed Trask2012-02-021-27/+12
| | | | | | Templates (for www) now receive a viewfunc, rather than using viewfile. Actions without views with viewtype of html, ajax, stream, or serialized will now be displayed using standard code. Fixed bug in acf-cli parameters messing up action
* Modified require statements for acf.xTed Trask2012-01-211-1/+1
|
* Starting to reorganize mvc.lua and acf_www controllers to move www-specific ↵Ted Trask2012-01-191-38/+18
| | | | | | | things from mvc to acf_www, and visa versa Goal is to have mvc.lua more usable from a lua app Also affects acf-cli and acf_cli controller
* Added template-ajax.lsp and made www controller respect passed in viewtype.Ted Trask2010-11-161-1/+13
|
* Fix two bugs related to session lockout.Ted Trask2010-10-291-1/+1
| | | | | Parse the lockevent filename, was seeing user locked out because username was substring of another username. All active sessions were killed whenever anyone got locked out because of error with username processing.
* Added home page (action) to user parameters and redirect there after loginTed Trask2010-10-061-0/+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-1/+1
| | | | | | | | | | 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.
* Added sessiontimeout, lockouttime, and lockouteventlimit parameters to acf.conf.Ted Trask2010-03-101-2/+2
|
* Added new view variable wwwprefix to adjust web path, fix index.html redirect.Ted Trask2010-02-161-1/+2
|
* Changes to skins to allow user skins to be addedTed Trask2010-01-211-1/+1
| | | | page_info.skindir is no longer available to views, but staticdir is.
* Added a skin to user options so users can choose own skin with user management.Ted Trask2010-01-131-0/+3
|
* Fixed redirect bug caused by escape in HTTP_REFERER.Ted Trask2010-01-131-1/+3
|
* Made libdir load order match appdir load order, bumped to 0.9.1v0.9.1Ted Trask2010-01-041-3/+1
|
* Allow appdir and libdir to be comma-separated lists of directories.Ted Trask2009-12-311-17/+33
|
* Added logfile config setting to acf.confTed Trask2009-12-301-4/+12
|
* Cleaned up acf.conf, removed hardcoded /usr/share/acf paths.Ted Trask2009-12-301-2/+3
|
* Fixed template bug, remembered to actually remove the basename/dirname ↵Ted Trask2009-12-281-1/+1
| | | | functions.
* Removed redundant/buggy basename and dirname functions. Added ↵Ted Trask2009-12-281-7/+28
| | | | | | | parse_redir_string to www controller. Removed basename and dirname from mvc and fs, use posix functions instead. parse_path_info was buggy and used 2 ways, rewrote and created parse_redir_string for backwards parsing.
* Modified menus to allow multiple controllers to use same menu group.Ted Trask2009-12-231-11/+7
| | | | Also, allow for symlinks when searching for menu files. Slight cleanup of roles.
* Modified permissions from controller:action to prefix/controller/action.Ted Trask2009-12-211-12/+12
| | | | | Had to move welcome to the acf-util prefix. Changed format of roles files: old ACF format will still work, but authenticator format won't.
* Added a check-permission function to viewlibrary to abstract permissions.Ted Trask2009-12-171-3/+14
|
* Added pagination functionality to viewfunctions, modified acf_www-controller ↵Ted Trask2009-07-101-2/+3
| | | | to pass clientinfo to view.
* Made session timeout nicer.Ted Trask2009-06-101-0/+14
| | | | Extended logon redirect due to session timeout to save get / post data and referrer info.
* Modified redirect to referrer to ignore if REFERRER is empty.Ted Trask2009-03-281-3/+5
|