summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
Commit message (Collapse)AuthorAgeFilesLines
* Fix wich roll to writeErmal2012-03-111-1/+1
|
* Another roll at fixing the voucher sync problems.Ermal2011-08-151-2/+2
|
* Fix php behaviour on xmlrpc sync and vouchers starting with a number. ↵Ermal2011-07-201-1/+1
| | | | Apparently php uses that to deduce the type of var and gets confused.
* If vouchers are disabled do not allow users to authenticate thorugh ↵Ermal2011-07-041-0/+3
| | | | existing(active/in use) vouchers. Reported-by: http://forum.pfsense.org/index.php/topic,38342.0.html
* Fixes #1327. Trigger synching of vouchers to config through ↵Ermal2011-06-101-17/+15
| | | | check_reload_status. Retire the saveinterval option since it is not useful anymore. Use the prune process of captiveportal to sync vouchers as well to fix issues as reported-by: http://forum.pfsense.org/index.php/topic,37636.0.html
* Disconnect any voucher forced to expire if there are active sessions with it.Ermal2011-06-071-0/+16
|
* Provide a voucher_expire function so that voucher can be expired through a POST.Ermal2011-05-251-112/+243
|
* Update some code to be more readble and more compliant to php5Ermal2011-05-251-6/+4
|
* Test for array before using variable as one.jim-p2011-05-131-1/+1
|
* Make the return values on error consistent with the normal return value.Ermal2011-03-251-2/+2
|
* Actually correctly report the timeleft in log messages. This is mostly cosmetic.Ermal2011-03-251-9/+9
|
* Correctly synchronize the db of vouchers from master. Also correctly write ↵Ermal2011-03-251-5/+8
| | | | it to the files since before it is only allowed during bootup and not from xmlrpc.
* Correct log messages to not display port twice.Ermal2011-03-251-2/+2
|
* Fix voucher disconnect sync issueScott Ullrich2011-03-231-0/+48
|
* Do a proper test otherwise a override of the total_minutes var might happen.Ermal2011-03-081-2/+2
|
* Properly do testing of voucher existing or not rather than relying on an ↵Ermal2011-03-081-12/+12
| | | | obscure feature of php. Also do exclusive locking rather than shared one when writing dbs.
* Include captiveportal.inc if captiveportal_syslog() is not defined.Scott Ullrich2010-12-221-0/+2
|
* Use captiveportal_syslog()Scott Ullrich2010-12-221-4/+4
|
* White space fixes and (C) for both Ermal and myselfScott Ullrich2010-12-221-3/+5
|
* Log voucher errors. Fix whitespace. Remove trailing c/rScott Ullrich2010-12-221-7/+10
|
* Safe belts to avoid errors.Ermal2010-12-171-8/+11
|
* Fix condition that needed to be negated after a recent layout change here ↵Erik Fonnesbeck2010-12-151-1/+2
| | | | and prevent a PHP warning if there are no voucher rolls. Fixes #1106
* Make voucher xmlrpc error checking the same as others.Ermal2010-12-141-4/+3
|
* Ticket #1087. Cleanup whitespace and also do not rely on having the db dirty ↵Ermal2010-12-141-66/+49
| | | | flag set for backing up the dbs but always do this!
* Cleanup of whitespace and use exclusive lock during reconfiguration of vouchers.Ermal2010-12-141-10/+11
|
* Check for less time available on remote nodeScott Ullrich2010-08-301-4/+4
|
* Only make one XMLRPC callScott Ullrich2010-08-301-101/+59
|
* Sync rolls if needed. This might be required if the operator removed/added ↵Scott Ullrich2010-08-301-0/+51
| | | | or changed the rolls on the master node
* Add Captive Portal voucher database sync to secondary nodes. How this ↵Scott Ullrich2010-08-301-1/+61
| | | | | | works is you designate one of your access points with a voucher database as the master and then on the slave nodes you setup the 4 fields on the voucher edit screen. This will then sync the voucher database and anytime someone attempts to authenticate the slave nodes will use XMLRPC over to the master node to ensure that the voucher has not been used, etc. Add generate certificate option on the voucher edit screen
* Resolve issue where used variable might be an array (multiple voucher rolls)Scott Ullrich2010-08-241-3/+10
|
* nuke trailing c/rScott Ullrich2010-08-231-1/+1
|
* Ticket #351. Prevent wrong config.xml creation.Ermal Luçi2010-02-111-1/+3
|
* Ticket #350. Correct calculation to be the same as in the voucher_auth.Ermal Luçi2010-02-101-1/+1
|
* Rework includes/require. This saves about 4 megabytes.Scott Ullrich2009-11-211-1/+0
| | | | Simplify get_memory(). Tested on mips/i386
* Fix Bug #147.Ermal Luçi2009-11-151-3/+2
|
* yes, I'll even fix typos in commentsChris Buechler2009-11-151-1/+1
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additionsScott Ullrich2009-09-121-2/+7
|
* Convert even voucher to the new subsystem_dirty functions. This reduces ↵Ermal Luçi2009-06-301-7/+5
| | | | another global.
* * Garbage collect a variable used for lockfile in the CP before but is ↵Ermal Luçi2009-06-301-6/+6
| | | | | | unuseful now. * Rename the dirtyfile variable to voucher_dirtyfile to reduce namespace problems or clashes with other variables.
* Fix various issues reported on ↵Ermal Luçi2009-06-301-1/+2
| | | | http://forum.pfsense.org/index.php/topic,8672.0.html.
* Port voucher login ability on CaptivePortal from M0n0Wall.Charlie2009-06-131-0/+406
Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.
OpenPOWER on IntegriCloud