summaryrefslogtreecommitdiffstats
path: root/lua/mvc.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceTed Trask2016-08-041-34/+34
|
* Cleanup of view exceptions when not using acf_wwwTed Trask2016-06-081-3/+3
|
* Create a metatable for all cfe objects containing print_errtxt functionTed Trask2015-06-051-0/+29
|
* Modify package.path to prevent loading lua modules from .Ted Trask2015-05-151-0/+2
|
* Remove setfenv call from mvc.lua for Lua 5.2 compatibilityTed Trask2014-12-291-7/+13
|
* Modify handle_clientdata to not update readonly valuesTed Trask2014-11-031-1/+1
|
* Change prototype of htmlviewfunctions.dislay item to make consistentTed Trask2014-03-311-1/+1
| | | | Note: this breaks backward compatibility
* Add wwwdir to page_info tableTed Trask2014-02-281-0/+1
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-24/+26
| | | | | 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-4/+4
|
* Replace mvc logevent use of os.execute with subprocess.openTed Trask2013-05-311-2/+2
|
* Add home config option to acf.conf for default home pageTed Trask2013-05-301-7/+0
| | | | The default_prefix and default_controller logic was broken, and is now removed
* Fix null clientdata handling bugTed Trask2013-04-301-0/+1
|
* Set the PATH environment variable to a standard valueTed Trask2012-12-111-0/+3
|
* Rename ajax viewtype to json to be more accurateTed Trask2012-11-061-1/+1
|
* Fix stream autoview to use io.write instead of print because print makes ↵Ted Trask2012-10-021-1/+1
| | | | subtle changes
* Change handle_form to pass self into get_function and set_functionTed Trask2012-04-221-2/+2
|
* Not all special characters needed to be escaped because within quotesTed Trask2012-04-131-2/+3
|
* Fixed mvc logevent to escape special charactersTed Trask2012-04-131-1/+2
|
* Removed controllerfunction.lua and moved handle_form and handle_clientdata ↵Ted Trask2012-02-231-0/+31
| | | | | | into mvc.lua mvc.lua has generic versions of the functions, overridden in acf_www and acf_cli with customizations
* Allow viewtype override in clientdata in mvcTed Trask2012-02-031-0/+5
|
* Changed mvc and www view_resolvers to make auto_view workTed Trask2012-02-021-6/+18
| | | | | | 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
* Fixed acf-cli to work with new mvc.lua changesTed Trask2012-02-021-1/+2
|
* Starting to reorganize mvc.lua and acf_www controllers to move www-specific ↵Ted Trask2012-01-191-36/+93
| | | | | | | 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
* Moved mvc.lua into /usr/share/lua and cli to /usr/bin/acf_cliTed Trask2011-08-301-0/+357