summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Auditing functions in placeNathan Angelacos2008-09-292-16/+50
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1536 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-295-326/+244
| | | | | | 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/core/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed the languages and most error descriptions from validator.lua.Ted Trask2008-09-261-72/+19
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1534 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleanup of some libs.Ted Trask2008-09-268-40/+25
| | | | 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 Trask2008-09-256-110/+103
| | | | | | 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
* Moved cfe into mvc.lua and removed cfe.lua.Ted Trask2008-09-254-18/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1518 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed unused libraries debugs, web_elements, privsep, ipcalc.Ted Trask2008-09-251-3/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1517 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed unused libraries debugs, web_elements, privsep, ipcalc.Ted Trask2008-09-254-337/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1516 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed split and join libraries. Join is handled by table.concat. Split ↵Ted Trask2008-09-254-66/+1
| | | | | | is handled by format.string_to_table. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1515 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Workaround in fs.lua for exception caused by posix.files when directory ↵Ted Trask2008-09-241-6/+8
| | | | | | doesn't exist. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1491 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added parse_configfile function to format.lua library.Ted Trask2008-09-241-0/+12
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1488 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed missing library in modelfunctions.Ted Trask2008-09-221-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1481 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library to operate on strings rather than files - makes it ↵Ted Trask2008-09-193-184/+160
| | | | | | more flexible. Removed dependencies and unnecessary _to_string functions - use table.concat instead. Changed remove_blanks_comments to parse_lines. Added parse_linesandwords, replace_line, insert_line, and get_line functions from parser.lua and removed parser.lua. Made slight changes to squid and devtools to reflect library changes. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1479 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added parser library. Display filecontent descr in filedetails.Ted Trask2008-09-182-0/+80
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1474 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added expand_bash_syntax_vars functionNathan Angelacos2008-09-171-0/+24
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1473 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified startstop to return string rather than boolean.Ted Trask2008-08-281-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1436 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified validator to not allow '/' characters when checking ↵Ted Trask2008-08-201-1/+1
| | | | | | is_valid_filename with a path restriction. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1387 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles to use authenticator rather than directly access roles file. ↵Ted Trask2008-08-182-36/+49
| | | | | | This will facilitate moving roles and passwd to a database. Had to allow roles file to use : instead of = git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1384 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-163-14/+58
| | | | | | role or user. Modified all roles code to pass self for future move from text file to database. Roles cannot use authenticator unless or until roles file syntax is changed. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1382 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles to list views that don't have actions in the list of ↵Ted Trask2008-08-091-1/+10
| | | | | | available permissions git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1374 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified getopts to allow writing to blank files and adding in a missing ↵Ted Trask2008-08-041-2/+7
| | | | | | section. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1371 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to allow reading/writing role-based options. ↵Ted Trask2008-07-253-5/+64
| | | | | | Modified viewfunctions to display multi values that are not in options. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1320 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another rewrite of validator to remove dnsfiles and add a generic way for ↵Ted Trask2008-07-243-98/+128
| | | | | | other controllers to save user-based settings. Also added fs.create_file function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1317 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated validator to make change_setting work.Ted Trask2008-07-231-6/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1315 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-223-300/+321
| | | | | | preparation for adding SQL authentication. Rewrote authentication functions to use cfe's. Made corresponding changes to roles and logon. Added dnsfiles field to userdata for tinydns access control. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1314 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added getsection and setsection functions to getopts library.Ted Trask2008-07-161-0/+82
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1310 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified apk.lua to maintain a repository, saving time when multiple calls ↵Ted Trask2008-07-141-42/+108
| | | | | | are made. Changed function names and added repository and is_installed functions. Available also compares installed versus repository versions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1300 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed redirect_to_referrer with GET data. Moved handling of multi select ↵Ted Trask2008-07-121-16/+45
| | | | | | from acf_www-controller to controllerfunctions. Fixed form ids containing '.'. Added new handle_clientdata function to controllerfunctions. Modified password-controller to use handle_clientdata for multi select to work.k git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1299 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctios to add setfiledetails and add validation to ↵Ted Trask2008-07-111-2/+23
| | | | | | getfiledetils. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1297 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added finishingorder to displayform in viewfunctions to specify fields that ↵Ted Trask2008-07-102-2/+24
| | | | | | go at the end. Fixed bug in getopts that ignored the last line if no trailing carriage return. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1294 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added errtxt to viewfunctions command result and added some validation code ↵Ted Trask2008-07-072-1/+27
| | | | | | to modelfunctions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1285 ab2d0c66-481e-0410-8bed-d214d4d58bed
* use apk_add rather than apk_get installNatanael Copa2008-07-071-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1284 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added apk library.Ted Trask2008-07-042-0/+72
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1280 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added generic form lsp file. A few updates to library functions and lsp files.Ted Trask2008-07-041-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1275 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed expert page to work when prefix or controller has magic characters. ↵Ted Trask2008-07-042-9/+8
| | | | | | 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
* Changed interfaces to use controllerfunctions.Ted Trask2008-07-022-1/+21
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1268 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified core to create model and controller function libraries and some ↵Ted Trask2008-07-024-1/+131
| | | | | | 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
* Added javascript to interfaces update/create pages. Minor changes to ↵Ted Trask2008-06-301-5/+5
| | | | | | tinydns and viewfunctions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1264 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of DNScache.Ted Trask2008-06-262-0/+34
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1262 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of tinydns to simplify code and use new cfe model.Ted Trask2008-06-182-5/+5
| | | | | | Added js to filter records. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1219 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated lbu to use new cfe model and componentsTed Trask2008-06-052-2/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1197 ab2d0c66-481e-0410-8bed-d214d4d58bed
* create a proper <label></label> if controls have an id definedNatanael Copa2008-06-041-1/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1195 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added ipcalc libNatanael Copa2008-05-281-0/+55
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1187 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug in roles managementTed Trask2008-05-231-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1180 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Mod openssl to restrict users to only see and delete their own requests.Ted Trask2008-05-231-1/+1
| | | | | | Moved apk to apk-tools. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1179 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Continuing to work on openssl. Not done yet.Ted Trask2008-05-201-5/+20
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1127 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added class=error to the DD part in the viewfunction.Mika Havela2008-05-201-1/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1126 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updating library to show program versionMika Havela2008-05-171-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1125 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added validation to syslog expert page.Ted Trask2008-05-151-2/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/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-3/+3
| | | | | | 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/core/trunk@1122 ab2d0c66-481e-0410-8bed-d214d4d58bed