summaryrefslogtreecommitdiffstats
path: root/logfiles-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceTed Trask2016-08-101-3/+3
|
* Change logfiles.status to return a structure rather than a list of cfe's for ↵Ted Trask2015-12-301-12/+7
| | | | | | each file This makes it like listfiles actions in other ACFs. Tested and still works with acf-weblog.
* Clean up model.get code for listing files and determining if in useTed Trask2015-12-301-50/+32
|
* Change logfiles filesize to size, size and mtime not user-friendly, use ↵Ted Trask2015-12-301-19/+24
| | | | posix.stat over fs.stat, use new format functions
* Better error handling for view/tail/download and fix download to use proper ↵Ted Trask2015-11-201-11/+15
| | | | cfe for input
* Modify logfile view and tail to properly use handle_clientdataTed Trask2015-07-261-28/+40
| | | | Fixed a minor bug in tail where CFE contained 'fileoffset' but action looked for 'offset'
* Fix exception by removing obsolete /tmp/squid logfile locationTed Trask2015-05-111-1/+1
|
* Revert "Fix exception in logfile-model due to change to luaposix API"Ted Trask2015-05-111-31/+6
| | | | This reverts commit d93ee8df55aa6b41b043614cfae5c3805dac11c9.
* Fix exception in logfile-model due to change to luaposix APITed Trask2015-05-021-6/+31
| | | | | Exception caused by calling dir with non-existant path. While there, changed the readlink API as well.
* Change HTML views to use htmlviewfunctions.displayheaderTed Trask2014-03-041-2/+2
| | | | Modified some models to change labels
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-10/+10
| | | | | Use mymodule parameter for module definition. This was also helpful 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
|
* Replace io.popen with modelfunction.run_executableTed Trask2012-12-261-3/+1
|
* Changes redirect_to_referrer to handle_form for logfiles.deleteTed Trask2012-05-081-18/+34
|
* Modified require statements for acf. librariesTed Trask2012-04-181-2/+3
|
* Added support for symlinks in logfiles.Ted Trask2009-09-081-12/+32
|
* Fixed bug in marking logfiles as in use.v0.4.12Ted Trask2009-04-061-1/+1
|
* Added escapespecialcharacters to format.lua to escape shell special ↵Ted Trask2009-01-211-1/+2
| | | | | | 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/alpine-baselayout/trunk@1687 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-11/+11
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified logfiles to add grep capability.Ted Trask2008-09-171-3/+19
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1472 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added javascript tail functionality to logfiles.Ted Trask2008-09-031-0/+32
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1441 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed logfiles to use controllerfunctions and standard html-lsp files.Ted Trask2008-07-021-4/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1270 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified logfiles to use cfe's more properly.Ted Trask2008-06-021-63/+44
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1192 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaned up the code and using some librarys instead.Mika Havela2008-01-151-15/+17
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@582 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Sorting logfiles. Small modifications so that header is not inside the table ↵v2.0_alpha2Mika Havela2007-11-291-7/+7
| | | | | | of listed files. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@387 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added some comments and redirect page when entering invalid urlMika Havela2007-11-201-30/+35
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@343 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Finishing touch on logfilesMika Havela2007-11-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@342 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Feeding filename to viewMika Havela2007-11-161-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@321 ab2d0c66-481e-0410-8bed-d214d4d58bed
* use posix.dir() rather than popen("find ...")Natanael Copa2007-11-161-20/+35
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@318 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Working on downloading filesMika Havela2007-11-051-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@270 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added view functionallity for logfilesMika Havela2007-11-051-1/+21
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@269 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Delete logfile worksMika Havela2007-11-021-5/+31
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@263 ab2d0c66-481e-0410-8bed-d214d4d58bed
* GET metod starting to take formMika Havela2007-11-021-36/+25
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@258 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor changes sorting up codeMika Havela2007-11-021-11/+22
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@249 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor changes to clean up codeMika Havela2007-11-011-31/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@244 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Initial code for logfile browsingMika Havela2007-11-011-0/+75
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@243 ab2d0c66-481e-0410-8bed-d214d4d58bed