summaryrefslogtreecommitdiffstats
path: root/lbu-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Change use of require to work with Lua 5.2Ted Trask2013-10-091-3/+3
|
* Fix commit error reporting and change backup to use a selectTed Trask2012-12-141-23/+11
|
* Replace all io.popen calls with modelfunctions.run_executableTed Trask2012-12-141-87/+38
|
* Added comments for deletebackupfile, if want to implement it in the futureTed Trask2012-05-191-26/+2
|
* Modified include / exclude to use lbu commands rather than directly access ↵Ted Trask2012-05-021-20/+23
| | | | | | the files (cherry picked from commit 00683234ac99e50f9c5e8e3612388bcf2e13759e)
* Updated for handle_form now passing self to get and set functionsTed Trask2012-04-281-10/+10
|
* Change lbu-controller.lua to use new handle_form() functions found in ↵Zach LeBar2012-03-211-15/+23
| | | | acf_www-controller.lua instead of the controllerfunctions.lua version and also instead of redirect_to_referrer(). Made corresponding changes to vmail-model.lua to make everything work.
* basename function is no longer in acf-core-0.9.0, minor bugfix in listchanges.Ted Trask2009-12-281-1/+2
|
* Fixed available media list to include boot media not in fstab.v0.3.16Ted Trask2009-11-231-0/+13
|
* Removed bad line from file change list by tightening regexp.Ted Trask2009-10-301-1/+1
|
* Clarified wording for alpine-conf lbu revert.ttrask2009-03-031-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1724 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Started process of removing as many io.popen calls as possible. Not complete.Ted Trask2009-01-241-2/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1695 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added escapespecialcharacters to format.lua to escape shell special ↵Ted Trask2009-01-211-1/+1
| | | | | | characters. Reviewed all calls to io.popen and os.execute to escape special characters. Fixed file uploads in openssl and ipsectools with viewfunctions.lua. Tried to fix openssl renew when subject contains special characters, but not done yet. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1687 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Tested by removing expected packages, files, and directories. Fixed ↵Ted Trask2009-01-161-4/+7
| | | | | | resulting bugs. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/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/alpine-conf/trunk@1677 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified lbu media detection.Ted Trask2008-12-171-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1639 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified lbu to permit more media values (parsed from fstab).Ted Trask2008-12-171-1/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1638 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified lbu to add ability to download overlay package.Ted Trask2008-11-191-0/+27
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1601 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed lbu problem with failure to update commented-out lines with spaces.Ted Trask2008-10-131-6/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1555 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-14/+7
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-3/+3
| | | | | | 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-conf/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-4/+3
| | | | | | 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-conf/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified lbu to use controllerfunctions, modelfunctions, and common lsp ↵Ted Trask2008-07-041-28/+20
| | | | | | files. Moved basicstatus->status and status->listchanges. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1276 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated lbu to use lbu list-backup and revert.Ted Trask2008-06-251-4/+32
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1261 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added ability to manage archive of lbu backups.Ted Trask2008-06-231-1/+71
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1223 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed lbu packages by adding path to commandTed Trask2008-06-051-4/+4
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1205 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated lbu to use new cfe model and componentsTed Trask2008-06-051-197/+203
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1197 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/alpine-conf/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the code.Mika Havela2008-04-091-4/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@966 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Showing config errors in expert tab.Mika Havela2008-04-041-19/+43
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@922 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rebuilt LBU so it uses cfe instead.v0.2Mika Havela2008-02-141-37/+142
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@719 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added a expert-tab like in other acf-modulesMika Havela2008-01-251-0/+17
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@654 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug when config file is missing or emptyMika Havela2008-01-251-53/+48
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@649 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Save work for today Working on:Mika Havela2008-01-241-5/+12
| | | | | | What happens if config-file doesnt exist. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@645 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed the option 'No default' from LBU_MEDIA unless this is what the ↵Mika Havela2008-01-231-1/+0
| | | | | | config-file saids. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@629 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Forcing user to enter valid options in the config-tab before making a commit.Mika Havela2008-01-231-5/+25
| | | | | | Displaying current errors in the config/settings. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@628 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added functionallity when activating/deactivating encryption and there ↵Mika Havela2008-01-221-4/+6
| | | | | | | | already exists a apkovl on the media. This commit option doesn't look nice, but it works. Need to figure out a better way of doing this. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@627 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now you can modify the configurations.Mika Havela2008-01-221-13/+50
| | | | | | Committing and SimulatingCommit also works (still work in progress) Needs checks when creating encrypted archives. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@626 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added functionallity to remove items from include/exclude listMika Havela2008-01-171-2/+23
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@609 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Some more information on status-page.Mika Havela2008-01-171-1/+21
| | | | | | Added include/exclude list to the config-page. git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@596 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Starts showing current config on the config-tabMika Havela2008-01-171-1/+32
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@594 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moving around things in LBU to get a grip on how it could look and workMika Havela2008-01-161-17/+53
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@592 ab2d0c66-481e-0410-8bed-d214d4d58bed
* lbu acf module work-in-progressAlexander Poslavsky2007-11-021-0/+35
git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@259 ab2d0c66-481e-0410-8bed-d214d4d58bed