summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added the full roles to the sessiondata.Mike Mason2008-02-053-1/+34
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added a print_r() implementationNatanael Copa2008-02-051-0/+12
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@690 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the beingings of the authorization items. Also adding some of the ↵Mike Mason2008-02-044-5/+75
| | | | | | updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed the errortext to reduce information to the user.Mika Havela2008-02-011-4/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@683 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Chaning the way this lib reports back statusMika Havela2008-02-011-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@675 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Chaning the way this lib reports back statusMika Havela2008-02-011-3/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@674 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Chaning the way this lib reports back statusMika Havela2008-02-011-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@673 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed the way the lib reports back statusMika Havela2008-01-311-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@672 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Chaing how the daemoncontrol reports back statusMika Havela2008-01-311-9/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@671 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added function is_valid_filename() which for the moment just checks for ↵Mika Havela2008-01-311-4/+20
| | | | | | | | valid path. Changed some other functions that called other functions (don't think they worked). git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@669 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated the code to use md5sums in the acf passwd file. Made the ↵Mike Mason2008-01-302-1/+12
| | | | | | md5sum_string function(to go along with md5sum_file) in fs git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@665 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated changes hopefully meeting most of the security checks/validation ↵Mike Mason2008-01-292-35/+48
| | | | | | items in nangel's list git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@662 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added functionallity to modify options in a fileMika Havela2008-01-291-4/+33
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@661 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed a bug in getopts. Getopts have ben broken for some time... dont know ↵Mika Havela2008-01-281-6/+12
| | | | | | for how long. But now its fixed git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@659 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changes effect only the log in|out functions. Will work now. Next working on ↵Mike Mason2008-01-261-9/+50
| | | | | | updating to prevent misuse of the login function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@656 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Change order of arguments inf table_to_string and string_to_tableNathan Angelacos2008-01-251-4/+4
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@650 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Check if file exists or return nilMika Havela2008-01-251-0/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@647 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed a bug when looking for where next parameter startsMika Havela2008-01-241-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@644 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor changes on tablesMika Havela2008-01-241-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@636 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding logon-status and finally with nangel's help got this workingMike Mason2008-01-231-2/+20
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@632 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up debugs code and making it work better with tables that are ↵Mika Havela2008-01-231-59/+28
| | | | | | nested multiple times. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@630 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed a bug when a value contains a - sign. Now it looks for (space)- before ↵Mika Havela2008-01-171-1/+4
| | | | | | splitting up into a variable git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@595 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added function that does almost the same as posix.stat, but instead writes ↵Mika Havela2008-01-151-0/+17
| | | | | | human readable. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@577 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added delay so that the process has time to start/stop/restart before some ↵Mika Havela2008-01-151-1/+3
| | | | | | other code looks if the process is started/stoped git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@576 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Remembered the makefile!Mika Havela2008-01-141-1/+4
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@567 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added some code in the daemoncontrolMika Havela2008-01-141-0/+19
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@565 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moving getopts function from openntpd-model to a library.\nMoving ↵Mika Havela2008-01-132-0/+59
| | | | | | daemon-control to a library.\nThese 2 libraries are not documented yet and are not working as they should. Work in progress! git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@558 ab2d0c66-481e-0410-8bed-d214d4d58bed
* fixed pidofNatanael Copa2008-01-111-6/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@550 ab2d0c66-481e-0410-8bed-d214d4d58bed
* renamed pidof lib to procps. should be safe since noone is using itNatanael Copa2008-01-111-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@549 ab2d0c66-481e-0410-8bed-d214d4d58bed
* renamed pidof lib to procps. should be safe since noone is using itNatanael Copa2008-01-111-0/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@548 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added serialize() functionNatanael Copa2008-01-101-1/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@523 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed the looks on logon-html (and small change in static.css).Mika Havela2007-12-261-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@455 ab2d0c66-481e-0410-8bed-d214d4d58bed
* A temporary tool when coding ACF. This could be used to output all ↵Mika Havela2007-12-261-0/+64
| | | | | | tables/variables in a view. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@454 ab2d0c66-481e-0410-8bed-d214d4d58bed
* logon works - but session table is not saved yetNathan Angelacos2007-12-222-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@450 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated <input to hold the class information. This co-operates with the cssMika Havela2007-12-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@442 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added an md5sum hash function to fs.lua. Cron-model and cron-controller ↵Mike Mason2007-12-131-0/+8
| | | | | | added just to grab and edit the crontab file. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@424 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changing password-model to use format. Adding function to format.Mike Mason2007-12-131-0/+13
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@423 ab2d0c66-481e-0410-8bed-d214d4d58bed
* WIPNathan Angelacos2007-12-091-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@422 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added logevent function (hardcoded to write to /var/log/acf.log)Nathan Angelacos2007-12-091-6/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@421 ab2d0c66-481e-0410-8bed-d214d4d58bed
* logon model stubbed inNathan Angelacos2007-12-091-1/+13
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@420 ab2d0c66-481e-0410-8bed-d214d4d58bed
* More format libs like search_replace and such. All now documented on wikiMike Mason2007-12-061-19/+69
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@417 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Made validator functions useful after load, fixed a bug in format, changed ↵Mike Mason2007-12-054-6/+33
| | | | | | README to reflect changes git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@413 ab2d0c66-481e-0410-8bed-d214d4d58bed
* reworked authenticatorNathan Angelacos2007-12-051-26/+37
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@410 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added timezone information to date.lua. Added fs.file_write to be able to ↵Mike Mason2007-12-043-0/+160
| | | | | | add newlines at the end of the file(most strings don't have them) and also added a function to format.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@408 ab2d0c66-481e-0410-8bed-d214d4d58bed
* plaintext authenticator libraryNathan Angelacos2007-12-042-1/+83
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@404 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Put the cfe_unpack function in html. This helps with cfe troubleshooting. ↵Mike Mason2007-11-302-12/+12
| | | | | | | | | Should have been in html.lua in the first place. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@395 ab2d0c66-481e-0410-8bed-d214d4d58bed
* html.lua contains the cfe to specific html modules. Took out the table ↵Mike Mason2007-11-291-30/+1
| | | | | | function. html.lua being updated git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@388 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Lots of changes. fs.lua now only has file/filesystem functions. format.lua ↵Mike Mason2007-11-285-91/+135
| | | | | | added to be convert/sytle format changes. join.lua and split.lua put in format now. May delete later. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@385 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added date.luaMike Mason2007-11-281-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@379 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added split and join to fs.lua and gave them function names so we don't have ↵Mike Mason2007-11-283-1/+65
| | | | | | to strsplit = require split. Added a date string to table function in date.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@378 ab2d0c66-481e-0410-8bed-d214d4d58bed