summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Rewrote syslog to use components and remove view-specific code from controller.Ted Trask2008-05-132-6/+28
| | | | | | Also made sure not to write to conf file unless all variables pass validation. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1116 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.setoptsinfile function and fixed bugs in getopts.getoptsfromfileTed Trask2008-05-081-41/+126
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1114 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.getoptsfromfile function to handle more complicated config ↵Ted Trask2008-05-071-68/+66
| | | | | | files and removed getopts.getoptsfromfile_onperline function git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
* If no details for the file exists, then things got broken. This is now fixed.Mika Havela2008-05-061-12/+14
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1107 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Finished user and role managementTed Trask2008-05-052-3/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1100 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-023-18/+119
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-012-76/+94
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-303-63/+216
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Ted's Logon/permissions changesTed Trask2008-04-213-229/+189
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1030 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another trivial commitTed Trask2008-04-181-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1029 ab2d0c66-481e-0410-8bed-d214d4d58bed
* a minor changeTed Trask2008-04-181-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1028 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added some tabs to the roles file.Mika Havela2008-04-161-0/+1
| | | | | | Some graphical bugfixes on the lib/viewfunction.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1024 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the functionallity to be able to select multiple objects.Mika Havela2008-04-161-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@995 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Missed to add the libraries to the MakefileMika Havela2008-04-161-0/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@994 ab2d0c66-481e-0410-8bed-d214d4d58bed
* A small modification (changed a variable name that collided with the ↵Mika Havela2008-04-151-6/+6
| | | | | | libraryname that was loaded in the beginning of the code. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@991 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added 2 libraries.Mika Havela2008-04-082-0/+106
| | | | | | | viewfunctions.lua is used by the view-files to present data. processinfo.lua shows autostartsequence and packageversion. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@964 ab2d0c66-481e-0410-8bed-d214d4d58bed
* removed debug textNatanael Copa2008-03-271-1/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@844 ab2d0c66-481e-0410-8bed-d214d4d58bed
* If the sessionid was used after the expire time the browser would give a ↵Mike Mason2008-03-071-2/+2
| | | | | | funny error. Hopefully fixed... git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@827 ab2d0c66-481e-0410-8bed-d214d4d58bed