summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
Commit message (Collapse)AuthorAgeFilesLines
* Make the voucher auth through xmlrpc work.Ermal2014-03-071-1/+4
|
* Properly detect when there are issues with communicating with syncip and to ↵Ermal2014-02-241-5/+10
| | | | use the local DB for this. Otherwise detect if the remote says the voucher is not valid say its not valid.
* Be friendly to memoryErmal2014-02-211-0/+1
|
* Fix problem with the voucher synching that was introduced during conversion ↵Ermal2014-02-211-1/+1
| | | | to zones
* Reduce the total minutes by the remote minutes used, do not use the value ↵jim-p2013-12-171-1/+1
| | | | directly. Otherwise the voucher will be cut short or listed invalid when it otherwise should have time left over.
* Fixes #3001, Check the protocol of the webgui to determine if https is being ↵Ermal2013-05-281-3/+18
| | | | used for custom ports.
* Revert "Merge pull request #417 from miken32/cp-database-fix"Renato Botelho2013-02-171-2/+2
| | | | | | | It breaks customizations, it's not a good time for such big change. This reverts commit 40c7b1a98bfdc61261154adaac5fdefc234ecb08, reversing changes made to d896f86751bae79625197da6c80d709fdf185448.
* use associative array for captive portal to prevent confusion, messiness, ↵Michael Newton2013-02-141-2/+2
| | | | and abuse
* Actually let xmlrpc construct the url internally from the passed info it is ↵Ermal2013-02-061-9/+3
| | | | doing same checks
* Avoid possible deadlock during voucher xmlrpc sync and correct url ↵Ermal2013-02-061-10/+19
| | | | generation for xmlrpc
* Update /etc/inc/voucher.incbcyrill2013-01-191-3/+3
|
* Update /etc/inc/voucher.incbcyrill2013-01-191-9/+10
|
* Update etc/inc/voucher.incbcyrill2013-01-101-1/+1
| | | Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
* rename for clarificationbcyrill2012-12-291-2/+2
|
* serialize dbent arraybcyrill2012-12-291-1/+3
|
* Fix: Voucher Syncbcyrill2012-12-291-2/+2
|
* If there is no roll do not try to save anythingErmal2012-12-181-0/+3
|
* Convert the CP db to sqlite rather than a text file. Some more optimizations ↵Ermal2012-12-181-6/+3
| | | | might be needed and probably vouchers db might need conversion as well.
* Update copyrightErmal2012-11-231-1/+1
|
* Fix wich roll to writeErmal2012-03-111-1/+1
|
* Ticket #2114. Remove define_syslog_variables since its deprecated and ↵Ermal2012-01-201-1/+0
| | | | probably not needed
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-2/+2
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Issue proper start and error messages during voucher loadingErmal2011-11-061-5/+9
|
* fix typo (Bug 1944)Cyrill Bannwart2011-10-101-1/+1
|
* fix typo. redmine #1941Chris Buechler2011-10-091-1/+1
|
* Remove duplicated occurence during mergingErmal2011-09-071-1/+0
|
* Add the multi instance CP to master branch. This allows to define CP with ↵Ermal2011-09-071-62/+88
| | | | different properties on different interfaces.
* 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.
* removes variables concatenation on gettext stringsVinicius Coque2011-07-181-1/+1
|
* Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-07-061-0/+3
|\ | | | | | | | | Conflicts: etc/inc/priv.defs.inc
| * 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
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-06-201-17/+31
|\ \ | |/
| * 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
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-06-071-113/+244
|\ \ | |/ | | | | | | | | Conflicts: etc/inc/voucher.inc usr/local/www/fbegin.inc
| * Provide a voucher_expire function so that voucher can be expired through a POST.Ermal2011-05-251-112/+243
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-05-251-6/+4
|\ \ | |/
| * Update some code to be more readble and more compliant to php5Ermal2011-05-251-6/+4
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-05-231-1/+1
|\ \ | |/
| * Test for array before using variable as one.jim-p2011-05-131-1/+1
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-291-21/+24
|\ \ | |/ | | | | | | Conflicts: etc/inc/voucher.inc
| * 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
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-0/+48
|\ \ | |/ | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/priv.defs.inc etc/inc/shaper.inc etc/inc/system.inc
| * Fix voucher disconnect sync issueScott Ullrich2011-03-231-0/+48
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-13/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/filter.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc etc/inc/priv.defs.inc etc/inc/services.inc etc/inc/shaper.inc etc/inc/voucher.inc etc/inc/vpn.inc usr/local/www/fbegin.inc
| * Do a proper test otherwise a override of the total_minutes var might happen.Ermal2011-03-081-2/+2
| |
OpenPOWER on IntegriCloud