summaryrefslogtreecommitdiffstats
path: root/openntpd-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceHEADmasterTed Trask2016-08-101-2/+2
|
* Modify logfile to use common viewTed Trask2015-10-311-0/+9
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-201-9/+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-1/+1
|
* Cleaned up config view by updating CFE for autoviewTed Trask2012-10-281-4/+4
|
* 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-4/+8
| | | | | | 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
* More work to remove unnecessary popen calls.Ted Trask2009-01-261-7/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Tested by removing expected packages, files, and directories. Fixed ↵Ted Trask2009-01-161-1/+1
| | | | | | resulting bugs. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified fs.lua to survive nil parameters. Added create_directory and used ↵Ted Trask2009-01-131-3/+3
| | | | | | 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/openntpd/trunk@1677 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/openntpd/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-2/+2
| | | | | | 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/openntpd/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-3/+4
| | | | | | 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/openntpd/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified openntpd to use new libraries and lsp files.Ted Trask2008-09-251-384/+93
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1514 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Bugfix resolving problem when config file is missing.Mika Havela2008-08-221-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1393 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.getoptsfromfile function to handle more complicated config ↵Ted Trask2008-05-071-2/+2
| | | | | | files and removed getopts.getoptsfromfile_onperline function git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updating makefile and changeing the way logfiles are fetched.v0.3.3Mika Havela2008-04-161-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1014 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Small bugfix.Mika Havela2008-04-091-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@976 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up code.Mika Havela2008-04-081-33/+22
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@959 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now showing config errors in the expert tab.Mika Havela2008-04-041-11/+43
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@916 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added info about autostart sequence.Mika Havela2008-03-281-0/+20
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@863 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed a small bug that caused the Enabled/Disabled information to display ↵Mika Havela2008-03-041-1/+2
| | | | | | wrong info. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@800 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed some coded values into variables instead.Mika Havela2008-03-031-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@793 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed so that everything uses acf instead.Mika Havela2008-02-291-48/+272
| | | | | | Now every keypress reports back status for previous action. Information is presented next to the button recently pressed. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@782 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed start/stop/restart so it works again (earlier modifications to ↵Mika Havela2008-02-011-1/+3
| | | | | | lib/daemoncontrol.lua) git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@684 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaned up the code. Moved functions to library instead (to be able to reuse ↵Mika Havela2008-01-141-116/+44
| | | | | | code) git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@569 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changing tabnames and first page infoMika Havela2008-01-101-7/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@536 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up code. Adding functionallity to add/remove listen address. Error ↵Mika Havela2007-12-071-7/+10
| | | | | | message displayed when something is missing for the desired action. The controller keeps track of things needed before asking the model. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@418 ab2d0c66-481e-0410-8bed-d214d4d58bed
* 'Set time options' works. You can add/remove a server/servers. You are ↵Mika Havela2007-12-061-0/+90
| | | | | | informed if you miss some parameters. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@416 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added functionallity for viewing the logfileMika Havela2007-12-051-1/+10
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@412 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Renamed some variables for better understanding. Splitted up first page from ↵Mika Havela2007-12-051-13/+36
| | | | | | settings and advanced. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@411 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Working on start|stop of the service (start|stop doesn't work at this ↵Mika Havela2007-12-051-22/+30
| | | | | | point... And I don't know why) git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@409 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for todayMika Havela2007-12-041-1/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@406 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Starting up openntpdv1.0_alpha1Mika Havela2007-12-041-0/+118
git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@403 ab2d0c66-481e-0410-8bed-d214d4d58bed