summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modified format.lib to pass in comment characters to parse_lines, ↵release-0.4.14Ted Trask2008-11-251-22/+24
| | | | | | parse_linesandwords, and parse_configfile. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1610 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Version bump on Makefiles.v0.4.13Ted Trask2008-11-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1606 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified processinfo to fix problem with detecting pid file. It now also ↵release-0.4.13Ted Trask2008-11-201-1/+13
| | | | | | checks for matching proc directory. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1604 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added a missing require("fs") to processinfoNatanael Copa2008-11-201-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1602 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Version bump on Makefiles.v0.4.12Ted Trask2008-11-181-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1599 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified mvc to create a stack of self pointers as controllers are created. ↵release-0.4.12Ted Trask2008-11-172-44/+75
| | | | | | 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
* Fixed bug in authenticator-plaintext that erased user data from other fields ↵Ted Trask2008-11-111-2/+8
| | | | | | when saving user data. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1594 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaned up package path code in roles.Ted Trask2008-11-111-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1593 ab2d0c66-481e-0410-8bed-d214d4d58bed
* roles in permissions needed to look for _ in controllers as wellNathan Angelacos2008-11-111-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1592 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Allow controllers to have digits in their namesNathan Angelacos2008-11-111-6/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1591 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified processinfo to make pidof check for a .pid file in /var/run.Ted Trask2008-11-101-1/+12
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1588 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format to add escapemagiccharacter functions to escape Lua magic ↵Ted Trask2008-11-101-0/+4
| | | | | | characters in a string. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1587 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles to allow '_' in controller names.Ted Trask2008-11-101-6/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1586 ab2d0c66-481e-0410-8bed-d214d4d58bed
* annotated acf-hooks.luaNathan Angelacos2008-11-091-9/+36
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1583 ab2d0c66-481e-0410-8bed-d214d4d58bed
* per-controller auditing now allowed via acf-hooks.luaNathan Angelacos2008-11-094-10/+59
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1582 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Version bump on several Makefiles.v0.4.11release-0.4.11Ted Trask2008-11-041-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1578 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor change to roles code and major change to roles. Replaced ALL, CREATE, ↵Ted Trask2008-10-249-46/+111
| | | | | | READ, UPDATE, and DELETE with GUEST, USER, EDITOR, EXPERT, and ADMIN. Changed all roles files and modified some html files to hide options without permissions. Determine default roles from roles files, rather than hard-coded, and added ability to modify default roles by adding permissions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed minor bug with displayformitem in viewfunctions.Ted Trask2008-10-231-4/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1562 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified viewfunctions displaycommandresults to not delete the error results ↵Ted Trask2008-10-222-5/+12
| | | | | | of a form so the form can still display it. Modified a bunch of views to display the results of component forms. Also added code to displayform and displayformstart to automatically generate the action if passed page_info. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified viewfunctions to split displayform, creating displayformstart and ↵Ted Trask2008-10-229-30/+64
| | | | | | 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/core/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Version bump on several Makefiles.v0.4.10release-0.4.10Ted Trask2008-10-211-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1558 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added rc controller to alpine-baselayout and rc functionality to processinfo ↵Ted Trask2008-10-114-14/+103
| | | | | | 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
* Version bump on various Makefilesv0.4.9release-0.4.9Ted Trask2008-10-071-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1543 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-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 Trask2008-10-031-4/+4
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1540 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-38/+26
| | | | | | 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/core/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to make sub-authenticator visible rather that ↵Ted Trask2008-09-302-115/+17
| | | | | | redefining the functions twice. Modified roles and tinydns to reflect change. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1537 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Auditing functions in placeNathan Angelacos2008-09-293-17/+70
| | | | 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-269-41/+26
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1533 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Versionbump on various Makefilesv0.4.8release-0.4.8Mika Havela2008-09-261-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1523 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-257-20/+15
| | | | 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
* Version bump on Makefilev0.4.7release-0.4.7Mika Havela2008-09-251-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1493 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-183-0/+81
| | | | 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
* Version bump on makefilesv0.4.6release-0.4.6Mika Havela2008-09-101-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1455 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added excanvas and flot javascript librariesTed Trask2008-09-052-0/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1451 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified filedetails view to HTML escape the filecontent before displaying it.Ted Trask2008-09-031-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1443 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified startstop to return string rather than boolean.Ted Trask2008-08-282-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1436 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Versionbump on Makefilesv0.4.5Mika Havela2008-08-261-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1410 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified acf_www and logon-controller to redirect to logon on dispatch error ↵Ted Trask2008-08-223-12/+16
| | | | | | and redirect to requested page after logon. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1402 ab2d0c66-481e-0410-8bed-d214d4d58bed