summaryrefslogtreecommitdiffstats
path: root/lib/viewfunctions.lua
Commit message (Collapse)AuthorAgeFilesLines
* Changes to skins to allow user skins to be addedTed Trask2010-01-211-2/+2
| | | | page_info.skindir is no longer available to views, but staticdir is.
* Moved non-ACF-specific libraries to acf-lib package, moved cfe_unpack ↵Ted Trask2009-12-311-0/+11
| | | | function to viewfunctions library.
* Graphical fix. Changing the amount of <DL> used in forms.Mika Havela2009-10-071-4/+2
| | | | This fix causes all skins behave the same way (showing the info in a unified way)
* Added pagination functionality to viewfunctions, modified acf_www-controller ↵Ted Trask2009-07-101-0/+77
| | | | to pass clientinfo to view.
* Removed obsolete functions displayinfo and displaymanagement from viewfunctions.Ted Trask2009-07-101-85/+0
| | | | Functions only used in acf-gnats, which is also obsolete.
* Added escapespecialcharacters to format.lua to escape shell special ↵release-0.4.19Ted Trask2009-01-211-1/+5
| | | | | | characters. Reviewed all calls to io.popen and os.execute to escape special characters. Fixed file uploads in openssl and ipsectools with viewfunctions.lua. Tried to fix openssl renew when subject contains special characters, but not done yet. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1687 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified html.lua and viewlibrary.lua and all html files to html_escape ↵Ted Trask2009-01-151-16/+17
| | | | | | variables before displaying them. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed minor bug with displayformitem in viewfunctions.Ted Trask2008-10-231-4/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1562 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified viewfunctions displaycommandresults to not delete the error results ↵Ted Trask2008-10-221-5/+10
| | | | | | of a form so the form can still display it. Modified a bunch of views to display the results of component forms. Also added code to displayform and displayformstart to automatically generate the action if passed page_info. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified viewfunctions to split displayform, creating displayformstart and ↵Ted Trask2008-10-221-9/+26
| | | | | | displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to allow reading/writing role-based options. ↵Ted Trask2008-07-251-0/+18
| | | | | | 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
* Added finishingorder to displayform in viewfunctions to specify fields that ↵Ted Trask2008-07-101-2/+16
| | | | | | go at the end. Fixed bug in getopts that ignored the last line if no trailing carriage return. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1294 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added errtxt to viewfunctions command result and added some validation code ↵Ted Trask2008-07-071-1/+3
| | | | | | to modelfunctions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1285 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed interfaces to use controllerfunctions.Ted Trask2008-07-021-0/+17
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1268 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added javascript to interfaces update/create pages. Minor changes to ↵Ted Trask2008-06-301-5/+5
| | | | | | tinydns and viewfunctions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1264 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of DNScache.Ted Trask2008-06-261-0/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1262 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of tinydns to simplify code and use new cfe model.Ted Trask2008-06-181-1/+1
| | | | | | Added js to filter records. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1219 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated lbu to use new cfe model and componentsTed Trask2008-06-051-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1197 ab2d0c66-481e-0410-8bed-d214d4d58bed
* create a proper <label></label> if controls have an id definedNatanael Copa2008-06-041-1/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1195 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Mod openssl to restrict users to only see and delete their own requests.Ted Trask2008-05-231-1/+1
| | | | | | Moved apk to apk-tools. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1179 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added class=error to the DD part in the viewfunction.Mika Havela2008-05-201-1/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1126 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-151-3/+3
| | | | | | 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
* Rewrote syslog to use components and remove view-specific code from controller.Ted Trask2008-05-131-5/+27
| | | | | | Also made sure not to write to conf file unless all variables pass validation. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1116 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-021-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-23/+86
| | | | | | | | | | | | 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
* Added some tabs to the roles file.Mika Havela2008-04-161-0/+1
| | | | | | Some graphical bugfixes on the lib/viewfunction.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1024 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added 2 libraries.Mika Havela2008-04-081-0/+75
viewfunctions.lua is used by the view-files to present data. processinfo.lua shows autostartsequence and packageversion. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@964 ab2d0c66-481e-0410-8bed-d214d4d58bed