summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed a bug when a process dies and pidof reads process status on the ↵Mika Havela2008-03-031-4/+6
| | | | | | recently died process git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@786 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Reverting the function that taggs a <input> with a class=... information.Mika Havela2008-02-271-1/+1
| | | | | | | This seems to be the only way to separate a <INPUT TYPE=text> and <INPUT TYPE=submit> (the problem has to do with IE). I hope we find a nother way of doing this in the future. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@771 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed some old (unused) codeMika Havela2008-02-261-3/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@769 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added/modified functionallity to edit/delete/add users and their settings.Mika Havela2008-02-201-10/+97
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@760 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed trailing newline. The files gets really ugly with leading \n.Mika Havela2008-02-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@759 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding functionallity to edit/modify existing accounts. (Work in progress)Mika Havela2008-02-191-0/+82
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@758 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Restoring lib/html.lua to the original state (I learned howto fix this in ↵Mika Havela2008-02-191-1/+1
| | | | | | css instead - which is better after all) git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@757 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Getting menu and permission to start working together. Just test code most ↵Mike Mason2008-02-141-1/+2
| | | | | | commented out. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@723 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added modified functionallity.Mika Havela2008-02-141-0/+24
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@722 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed Makefiles.Mika Havela2008-02-131-0/+1
| | | | | | Modified the view-file so it looks the same way other view-files looks. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@712 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Menus are now written into sessiondata.Mika Havela2008-02-111-1/+1
| | | | | | The menus are created from the sessiondata.menu[mainmenu|submenu]. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@709 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the session management and expiration items. Will be more bug ↵Mike Mason2008-02-071-6/+14
| | | | | | fixes/changes to come... git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@706 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed the way the submenu-tabs is displayed. Now tabs are defined in the ↵Mika Havela2008-02-061-0/+15
| | | | | | .menu files. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@705 ab2d0c66-481e-0410-8bed-d214d4d58bed
* 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