summaryrefslogtreecommitdiffstats
path: root/app/acf_cli-controller.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceTed Trask2016-08-041-1/+1
|
* Modify handle_clientdata to not update readonly valuesTed Trask2014-11-031-0/+2
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-6/+8
| | | | | 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-2/+0
| | | | The default_prefix and default_controller logic was broken, and is now removed
* Further fixes for null handling in handle_clientdataTed Trask2013-04-301-0/+1
|
* Not all special characters needed to be escaped because within quotesTed Trask2012-04-131-5/+0
|
* Removed unnecessary functions from acf_cli-controllerTed Trask2012-03-071-14/+0
|
* Modify acf_www and acf_cli handle_clientdata to separate out functionality ↵Ted Trask2012-02-231-50/+15
| | | | for the two apps
* Removed controllerfunction.lua and moved handle_form and handle_clientdata ↵Ted Trask2012-02-231-0/+64
| | | | | | 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-6/+0
| | | | | | 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-4/+6
|
* Starting to reorganize mvc.lua and acf_www controllers to move www-specific ↵Ted Trask2012-01-191-3/+4
| | | | | | | 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
* Allow appdir and libdir to be comma-separated lists of directories.Ted Trask2009-12-311-2/+4
|
* Removed unused variable from cliTed Trask2009-12-301-5/+0
|
* Cleaned up acf.conf, removed hardcoded /usr/share/acf paths.Ted Trask2009-12-301-3/+4
|
* Modified permissions from controller:action to prefix/controller/action.Ted Trask2009-12-211-0/+1
| | | | | 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.
* Made command-line client work.Ted Trask2009-12-181-6/+15
|
* Moved cfe into mvc.lua and removed cfe.lua.Ted Trask2008-09-251-1/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1518 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified core to create model and controller function libraries and some ↵Ted Trask2008-07-021-14/+1
| | | | | | common html views. Moved cfe to a library. Modified redirect_to_referrer function - may break some pages. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1267 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
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-4/+2
| | | | | | | | | | | | 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
* beginning of cli wrapperAlexander Poslavsky2007-11-021-0/+60
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@262 ab2d0c66-481e-0410-8bed-d214d4d58bed