summaryrefslogtreecommitdiffstats
path: root/syslog-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-21/+20
| | | | | | 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 format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-4/+4
| | | | | | 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/alpine-baselayout/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-7/+5
| | | | | | 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/alpine-baselayout/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added dynamic network activity page to health controller.Ted Trask2008-09-061-2/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1452 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified syslog to use controllerfunctions, modelfunctions, and common lsp ↵Ted Trask2008-07-041-45/+16
| | | | | | files. Changed status->loginfo and basicstatus->status. Stopped expert from adding blank lines to the end. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1274 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified syslog to move clientdata processing from model to controller.Ted Trask2008-06-051-20/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1201 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added validation to syslog expert page.Ted Trask2008-05-151-44/+70
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1123 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-151-28/+36
| | | | | | 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/alpine-baselayout/trunk@1122 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote syslog to use components and remove view-specific code from controller.Ted Trask2008-05-131-151/+111
| | | | | | Also made sure not to write to conf file unless all variables pass validation. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1116 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.setoptsinfile function and fixed bugs in getopts.getoptsfromfileTed Trask2008-05-081-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1114 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.getoptsfromfile function to handle more complicated config ↵Ted Trask2008-05-071-16/+13
| | | | | | files and removed getopts.getoptsfromfile_onperline function git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-1/+1
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Small bugfix.Mika Havela2008-04-091-1/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@974 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modifyed info in expert-tab when a file doesn't existMika Havela2008-02-061-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@704 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Showing all configurations (mostly to test how things work).Mika Havela2008-02-011-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@680 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added [true|fales] when some public functions returns back statusMika Havela2008-02-011-1/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@677 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Many changes (mostly to use cfe's when sending/receiving things from ↵Mika Havela2008-02-011-59/+111
| | | | | | model/controller/view). git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@676 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Getting management (start/stop/restart) workingMika Havela2008-01-311-3/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@670 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changing things so we use cfe for sending/receiving things from model and ↵Mika Havela2008-01-311-45/+92
| | | | | | | | controller. The view-file is using loops instead to reduce code. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@668 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Redoing mostly everything trying to present things as cfe (my own fault when ↵Mika Havela2008-01-301-6/+39
| | | | | | not doing this from start) git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@666 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now you can save configs in config-tab.Mika Havela2008-01-291-2/+17
| | | | | | It works but is still unstable. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@660 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Yet another bugfix when the config is (almost) emptyMika Havela2008-01-251-0/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@648 ab2d0c66-481e-0410-8bed-d214d4d58bed
* More bugfixes caused by a missing or empty config-fileMika Havela2008-01-251-5/+13
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@646 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed so that acf doesnt brake if the confi-file is missing or is emptyMika Havela2008-01-241-6/+17
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@641 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Expert-tab works.Mika Havela2008-01-241-122/+43
| | | | | | | Statuspage works. Configpage shows current settings, but saving changes doesnt work (work in progress). git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@640 ab2d0c66-481e-0410-8bed-d214d4d58bed
* use procps.pidofNatanael Copa2008-01-111-5/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@551 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Current status is now displayed. Apply settings doesn't work!Mika Havela2008-01-101-15/+39
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@528 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another try to figure out how to present dataMika Havela2008-01-101-9/+26
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@524 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Trying to figure out what to show and howMika Havela2008-01-091-2/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@521 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Showing current config starting to work (still some problems with RegExpr in ↵Mika Havela2008-01-091-3/+96
| | | | | | model). Saving changes still doesn't work. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@519 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Designing graphics/ideas on syslogMika Havela2008-01-091-2/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@518 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added initial syslogNatanael Copa2007-11-171-0/+44
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@330 ab2d0c66-481e-0410-8bed-d214d4d58bed