summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
Commit message (Collapse)AuthorAgeFilesLines
* Move main pfSense content to src/Renato Botelho2015-08-251-785/+0
|
* Properly declare an error when a too-short voucher is submitted.jim-p2015-08-181-0/+3
|
* Code spacingPhil Davis2015-06-151-6/+6
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style bits and pieces from etcPhil Davis2015-05-311-8/+9
|
* Remove artifacts from latin1 to utf8 conversionsJose Luis Duran2015-05-161-1/+1
| | | | | | String replacement: s/Ermal L.../Ermal Luçi/g
* Update voucher.incGertjan2015-04-171-1/+2
| | | As https://redmine.pfsense.org/issues/4625
* Fixes #4625 correct disconnection of users especially when called from ↵Ermal LUÇI2015-04-161-1/+3
| | | | xmlrpc code.
* Code style etc inc vwx3Phil Davis2015-03-091-203/+239
| | | | | rebased version with conflicts resolved due to a bunch of recent changes in vpn.inc
* Random text typosPhil Davis2015-02-111-8/+8
| | | | that I noticed.
* Fix lineup of copyright linesPhil Davis2015-01-011-0/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Rather than set the g['booting'] on globals provide a function to test for ↵Ermal LUÇI2014-11-261-3/+3
| | | | that doing the right checks
* 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
* While here unset some variables even on vouchers sideErmal2013-12-241-4/+10
|
* 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
|\ \ | |/
OpenPOWER on IntegriCloud