summaryrefslogtreecommitdiffstats
path: root/dhcp-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modified viewfunctions to split displayform, creating displayformstart and ↵Ted Trask2008-10-221-0/+2
| | | | | | 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/dhcp/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-2/+1
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed dhcp validation bugTed Trask2008-08-211-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1391 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified dhcp to add host support.Ted Trask2008-08-121-6/+183
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1376 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of dhcp to modify existing config file rather than just generate a ↵Ted Trask2008-08-091-857/+470
| | | | | | new one. Still need to add support for hosts, currently only supports globals and subnets. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1373 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the code.Mika Havela2008-04-091-28/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@968 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding a 'status' tab that shows some basic information.Mika Havela2008-04-031-0/+64
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@909 ab2d0c66-481e-0410-8bed-d214d4d58bed
* cleaned up generation for the first releasev0.3Andreas Brodmann2008-03-051-0/+16
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@819 ab2d0c66-481e-0410-8bed-d214d4d58bed
* migrated service control to mhavela's daemoncontrolAndreas Brodmann2008-03-051-11/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@815 ab2d0c66-481e-0410-8bed-d214d4d58bed
* use procps.pidofNatanael Copa2008-01-111-11/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@552 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaned up the dhcp config generation code in a way that the twoAndreas Brodmann2007-11-201-66/+24
| | | | | | | | | | | | files dhcpd.preconfig / dhcpd.postconfig are not copied into the config but the config now contains an "include" statement; this way the dhcpd will read them himself. Those two files can be used by the admin to place custom configurations not possible using the gui. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@347 ab2d0c66-481e-0410-8bed-d214d4d58bed
* 1) Modified the generation processAndreas Brodmann2007-11-201-90/+128
| | | | | | | | | | 2) Moved dynamic host configuration from the subnet scope to global. Reason: in isc-dhcp host declarations are always global. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@344 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: added global pre/post config generation input for proprietary ↵Andreas Brodmann2007-11-191-9/+65
| | | | | | config code by the user git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@337 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: properly enable/disable dynamic hosts window and advanced windowAndreas Brodmann2007-11-191-10/+13
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@336 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: beta: implemented advanced (non validated stuff) per subnetAndreas Brodmann2007-11-171-9/+41
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@331 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: added static/dynamic host behaviour on a per subnet basisAndreas Brodmann2007-11-161-75/+229
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@326 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: make sure the special hosts file is removed when its subnet ↵Andreas Brodmann2007-11-161-2/+3
| | | | | | pendant is removed git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@317 ab2d0c66-481e-0410-8bed-d214d4d58bed
* /acf/dhcp: integrated special hosts (fixed ip's, known mac's, etc.)Andreas Brodmann2007-11-151-17/+193
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@311 ab2d0c66-481e-0410-8bed-d214d4d58bed
* working beta release of dhcp config - special hosts config yet missingAndreas Brodmann2007-11-131-28/+158
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@300 ab2d0c66-481e-0410-8bed-d214d4d58bed
* fixed stdout/stderr redirection for popen / daemon controlAndreas Brodmann2007-11-121-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@299 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added global settings configuration to dhcpAndreas Brodmann2007-11-121-4/+88
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@298 ab2d0c66-481e-0410-8bed-d214d4d58bed
* in dhcp: removed any useage of luafilesystem and replaced it by luaposixAndreas Brodmann2007-11-111-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@297 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added dependancy check to dhcp (config dir, daemon and init scripts checked)Andreas Brodmann2007-11-111-9/+44
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@294 ab2d0c66-481e-0410-8bed-d214d4d58bed
* updates daily work on dhcpAndreas Brodmann2007-11-091-9/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@292 ab2d0c66-481e-0410-8bed-d214d4d58bed
* validator code partially integrated in dhcpAndreas Brodmann2007-11-091-1/+108
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@290 ab2d0c66-481e-0410-8bed-d214d4d58bed
* updated /acf/dhcp - subnets are now dynamically looked upAndreas Brodmann2007-11-081-1/+16
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/dhcp@277 ab2d0c66-481e-0410-8bed-d214d4d58bed
* initial import of /acf/dhcpv1.0_alpha1Andreas Brodmann2007-11-081-0/+142
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp@274 ab2d0c66-481e-0410-8bed-d214d4d58bed