Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove trailing whitespace | Ted Trask | 2016-08-04 | 1 | -6/+6 |
| | |||||
* | Cleanup due to changes in daemoncontrol to properly report errors | Ted Trask | 2016-06-08 | 1 | -2/+4 |
| | |||||
* | Change modelfunctions.getfiledetails to use size=actual size, not ↵ | Ted Trask | 2015-12-30 | 1 | -5/+5 |
| | | | | filesize=user friendly size | ||||
* | Remove all calls to 'module' in preparation for move to Lua 5.2 | Ted Trask | 2013-10-17 | 1 | -14/+16 |
| | | | | | Use mymodule parameter for module definition. This was also helpfule in revealing places where the code relied on the global environment. | ||||
* | Change use of require to work with Lua 5.2 | Ted Trask | 2013-10-09 | 1 | -2/+2 |
| | |||||
* | lib/modelfunctions: Add stdin input to run_executable function | Ted Trask | 2013-01-01 | 1 | -2/+10 |
| | |||||
* | Make modelfunctions.run_executable poll so it doesn't block on full pipe. ↵ | Ted Trask | 2012-12-13 | 1 | -5/+21 |
| | | | | | | | Also add flag to add stderr to output. Polling with posix.sleep is definitely not the most efficient way to do this, but it works for now. We can try to add better C library support in the future. | ||||
* | modelfunctions - add run_executable function using lua-subprocess | Ted Trask | 2012-12-11 | 1 | -0/+35 |
| | |||||
* | Modified modelfunctions to change getstatus to handle nil parameters and ↵ | Ted Trask | 2012-11-26 | 1 | -22/+26 |
| | | | | rename processname to servicename | ||||
* | Require modelfunctions setfiledetails and write_file_with_audit to take self ↵ | Ted Trask | 2012-04-24 | 1 | -17/+2 |
| | | | | parameter | ||||
* | Made modelfunctions capitalize the startstop options, and now no need for a ↵ | Ted Trask | 2012-02-23 | 1 | -0/+4 |
| | | | | custom view | ||||
* | Changed startstop to be a standard form by creating two model functions and ↵ | Ted Trask | 2012-02-22 | 1 | -13/+20 |
| | | | | deleting the special controller function | ||||
* | Modified require statements for acf.x | Ted Trask | 2012-01-21 | 1 | -3/+3 |
| | |||||
* | Update modelfunctions and viewfunctions to allow specifying option value and ↵ | Ted Trask | 2010-10-28 | 1 | -2/+8 |
| | | | | label. | ||||
* | Fix modelfunctions.write_file_with_audit to keep file permissions and ownership. | Ted Trask | 2010-02-23 | 1 | -0/+1 |
| | |||||
* | Changed status to use openrc status, changed startstop to enable all actions ↵ | root | 2009-06-04 | 1 | -8/+19 |
| | | | | regardless of status. | ||||
* | Updates for alpine 1.9 apk tools and openrc. Bug fix for format.lua ↵ | Ted Trask | 2009-05-26 | 1 | -3/+3 |
| | | | | string_to_table. | ||||
* | Changed os.rename to fs.move_file. | Ted Trask | 2009-05-15 | 1 | -2/+1 |
| | |||||
* | Changed the way startstop works in core to add a list of allowed actions. ↵ | ttrask | 2009-03-17 | 1 | -4/+9 |
| | | | | | | Modified all ACFs that don't use the standard functions to work with new library method. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1730 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified modelfunction write_file_with_audit to create directory if missing. | Ted Trask | 2009-01-16 | 1 | -0/+1 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1681 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified fs.lua to survive nil parameters. Added create_directory and used ↵ | Ted Trask | 2009-01-13 | 1 | -1/+1 |
| | | | | | | 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/core/trunk@1677 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified mvc to create a stack of self pointers as controllers are created. ↵release-0.4.12 | Ted Trask | 2008-11-17 | 1 | -44/+61 |
| | | | | | | Modelfunctions write_file_with_audit uses the stack to find self for auditing. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1595 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | per-controller auditing now allowed via acf-hooks.lua | Nathan Angelacos | 2008-11-09 | 1 | -7/+27 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1582 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Added rc controller to alpine-baselayout and rc functionality to processinfo ↵ | Ted Trask | 2008-10-11 | 1 | -7/+9 |
| | | | | | | library. Changed status Enabled/Disabled to Running/Stopped. Added links to status pages to install package and schedule autostart. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1552 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified modelfunctions library to include validation in get/setfiledetails. ↵ | Ted Trask | 2008-10-07 | 1 | -15/+48 |
| | | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified modelfunctions to allow for different init.d and process names. | Ted Trask | 2008-10-03 | 1 | -4/+4 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1540 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Auditing functions in place | Nathan Angelacos | 2008-09-29 | 1 | -0/+34 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1536 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Cleanup of some libs. | Ted Trask | 2008-09-26 | 1 | -1/+1 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1533 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Moved procps and daemoncontrol functionality into processinfo.lua and ↵ | Ted Trask | 2008-09-25 | 1 | -4/+2 |
| | | | | | | deleted procps.lua and daemoncontrol.lua. This saves space on the server. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1519 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Fixed missing library in modelfunctions. | Ted Trask | 2008-09-22 | 1 | -0/+1 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1481 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified startstop to return string rather than boolean. | Ted Trask | 2008-08-28 | 1 | -1/+1 |
| | | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1436 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified modelfunctios to add setfiledetails and add validation to ↵ | Ted Trask | 2008-07-11 | 1 | -2/+23 |
| | | | | | | getfiledetils. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1297 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Added errtxt to viewfunctions command result and added some validation code ↵ | Ted Trask | 2008-07-07 | 1 | -0/+24 |
| | | | | | | to modelfunctions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1285 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Fixed expert page to work when prefix or controller has magic characters. ↵ | Ted Trask | 2008-07-04 | 1 | -8/+7 |
| | | | | | | Added public getenabled function to modelfunctions and made controllerfunctions work with it. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1273 ab2d0c66-481e-0410-8bed-d214d4d58bed | ||||
* | Modified core to create model and controller function libraries and some ↵ | Ted Trask | 2008-07-02 | 1 | -0/+62 |
common html views. Moved cfe to a library. Modified redirect_to_referrer function - may break some pages. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1267 ab2d0c66-481e-0410-8bed-d214d4d58bed |