summaryrefslogtreecommitdiffstats
path: root/dansguardian-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-2/+2
|
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-5/+5
|
* Started work on updating for acf-core-0.15Ted Trask2012-04-181-5/+9
| | | | | | Removed controllerfunctions library (still needs more work and corresponding work in model) Updated startstop functionality and deleted view Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
* dirname function is no longer in acf-core-0.9.0Ted Trask2009-12-281-2/+2
|
* Sort the advanced files, bumped to 0.3.1v0.3.1Ted Trask2009-08-261-0/+1
|
* Modified fs.lua to survive nil parameters. Added create_directory and used ↵Ted Trask2009-01-131-4/+4
| | | | | | within create_file and write_file. Reviewed each read_file call to make sure handles nil return value. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1677 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-18/+2
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-8/+8
| | | | | | get_section, and set_section became parse_ini_file, update_ini_file, get_ini_section, and set_ini_section. Updated all code that used these functions. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-12/+14
| | | | | | opts_to_table, table_to_opts, parse_configfile2, update_configfile2, get_section, and set_section. New functions work on strings, not files. Modified all code using getopts to use format instead. Fixed nil string bugs in TCPProxy. Fixed forward only bug in DNSCache. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified dansguardian to work despite missing config files.Ted Trask2008-09-121-7/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1466 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified dansguardian. Changed advanced to listfiles and expert to ↵Ted Trask2008-09-111-248/+105
| | | | | | listconfigfiles. Made general and edit be normal forms. Removed categories, which didn't work. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1465 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified dansguardian to use new status, startstop, and expert (replaced ↵Ted Trask2008-08-121-72/+9
| | | | | | plain) actions. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1380 ab2d0c66-481e-0410-8bed-d214d4d58bed
* When looking at a category-object, you now see if the reason why it's marked ↵Mika Havela2008-05-081-7/+77
| | | | | | | | red or not (by clicking on the object). You also see the content and other information about the category object. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1113 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today.Mika Havela2008-05-071-5/+40
| | | | | | Sketching on a idea on howto edit categories (now showing if a category exists but is not configured to be used/activated in the main config). git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1109 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changing buttons to be cfe's (coming from controller) rather than created by ↵Mika Havela2008-05-061-43/+45
| | | | | | | | the view-file. Reorganized the view-files so they look a bit more like other ACF's. git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@1108 ab2d0c66-481e-0410-8bed-d214d4d58bed
* git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@730 ↵v0.1Andreas Brodmann2008-02-181-0/+17
| | | | ab2d0c66-481e-0410-8bed-d214d4d58bed
* initial import of the dansguardian stuff after separation from squidAndreas Brodmann2008-01-181-0/+354
git-svn-id: svn://svn.alpinelinux.org/acf/dansguardian/trunk@615 ab2d0c66-481e-0410-8bed-d214d4d58bed