Permalink
Switch branches/tags
Nothing to show
Commits on Feb 5, 2011
  1. Call-time pass-by-reference has been deprecated in PHP, passing argum…

    dereckson committed Feb 5, 2011
    …ents directly instead.
Commits on Jan 19, 2011
  1. Merge branch 'master' of https://github.com/adrianlang/php-openid int…

    willnorris committed Jan 19, 2011
    …o adrianlang-master
Commits on Jan 16, 2011
  1. Made some hardcoded tmp paths dynamic by using sys_get_temp_dir. If f…

    PhilippSoehnlein committed Jan 16, 2011
    …unction is not available the old mechanisms are used.
Commits on Oct 8, 2010
  1. Improve PHP 5 compliance

    adrianheine committed Oct 8, 2010
Commits on Jul 21, 2010
  1. Patching issue 17 (http://github.com/openid/php-openid/issues/#issue/17)

    JonTheNiceGuy committed Jul 21, 2010
    This was also logged previously as Trac ticket 356
    
    This patch was submitted at the time by https://me.yahoo.com/doulepov
Commits on Jul 19, 2010
  1. fixed Parse::match() returning different types and cleaned call-by-re…

    Tim Preston committed with lillialexis May 7, 2010
    …f warnings
    
    Auth/OpenID/Parse.php
    The match() function takes a reference parameter $match and, depending on execution flow, either returns that as an array or a string. This has been modified to now return an array in both cases.
    
    Auth/OpenID/Consumer.php
    Auth/Yadis/Manager.php
    Fixed two function calls with explicit call-by-reference parameters.
  2. Fixed warnings in try_auth.php, consumer.php. Fixed reference to open…

    long committed with lillialexis Jul 6, 2010
    …id-enabled.com in detect.php
  3. 1. Added dl() existance checking.

    conf committed with lillialexis Jun 25, 2010
    2. Fixed a notice with absent $_GET parameter.
  4. callback requires 3 parameters, not 2. fixes issue#1 from github.com/…

    indeyets committed with lillialexis Apr 2, 2010
    …openid/php-openid branch
  5. update file permissions

    Carl Howells committed with lillialexis Jul 19, 2010
Commits on Apr 29, 2010
  1. Updating version

    Lilli committed Apr 29, 2010
  2. Fixing issue opened by jhr with patch found on bugs.debian.orgs: "A D…

    Lilli committed Apr 29, 2010
    …ebian user reported that the regular expression in Auth/OpenID/Parse.php is too greedy to cope with big pages. A simple fix is to make .? to . See http://bugs.debian.org/535479 for more info."
Commits on Apr 28, 2010
  1. Updated version

    Lilli committed Apr 28, 2010
  2. fix mb_ereg warning

    indeyets committed with lillialexis Mar 23, 2010
  3. fix typo

    indeyets committed with lillialexis Mar 23, 2010
  4. Manually added indeyet's commit because it was failing: 'no need for …

    Lilli committed Apr 28, 2010
    …reference here, as php-5.x already treats all objects as pseudo-references'
  5. Don't throw error when when received arg count is unlimited

    Anthony BRETAUDEAU committed with lillialexis Apr 7, 2010
  6. As written in doc, don't erase signed args when some of the args are …

    Anthony BRETAUDEAU committed with lillialexis Apr 7, 2010
    …unsigned
  7. SQLStore: use is_subclass_of to determine if we have a PEAR instance.

    blueyed committed with lillialexis Mar 19, 2010
    This prevents a blank page with no error indication at all, if there
    appears to happen a fatal error when trying to require DB.php from
    the global include path (very bad practice!)
    Instead, using is_subclass_of should be enough, especially when
    using an own implementation.
  8. Added ccazette/indeyet's change to function returnToVerified() manual…

    Lilli committed Apr 28, 2010
    …ly as the commit was failing as when I tried to pull the change. This fixes the issue opened by ccazette: 'In Server.php, this function calls the Auth_OpenID_verifyReturnTo() function from TrustRoot.php, which takes 3 arguments, but only 2 are given in call_user_func_array.'
  9. Fixed minor issue that Ouroboros17 brought to my attention: 'Server.p…

    Lilli committed Apr 28, 2010
    …hp give me a notice error at line 1471 because ->code can be undefined. An isset test can correct the problem ;)'
Commits on Mar 16, 2010
  1. Removed/changed references to openidenabled.com. At this time, not ev…

    Lilli committed Mar 16, 2010
    …ery reference has been updated.
Commits on Feb 16, 2010
  1. Added the following patch from the trac.openidenabled.com bug tracker:

    Lilli committed Feb 16, 2010
    http://trac.openidenabled.com/trac/ticket/338
    (http://trac.openidenabled.com/trac/attachment/ticket/338/openid-php5.3.diff)
    
    Patch makes php-openid library compatible with PHP 5.3, and included changes to many files.
    
    Original Message:
    Reported by:  	http://paulisageek.com/
    Opened 6 months ago
    Last modified 2 months ago
    php openid library doesn't seem to work with php 5.3
    
    	"I get many PHP warnings and then the error condition on the Consumer.
    
    	Deprecated: Assigning the return value of new by reference is deprecated in *path*/Auth/OpenID/Consumer.php on line 271
    
    	Deprecated: Assigning the return value of new by reference is deprecated in *path*/Auth/OpenID/Consumer.php on line 273
    
    	Warning: Parameter 1 to filter_MatchesAnyOpenIDType() expected to be a reference, value given in *path*/Auth/Yadis/XRDS.php on line 431
    
    	Warning: Parameter 2 to Auth_OpenID_GenericConsumer::_completeInvalid() expected to be a reference, value given in *path*/Auth/OpenID/Consumer.php on line 669 "
    
    It should be noted that 3 hunks across 7 files failed, and I applied most of them manually. 7 files were patched.
  2. Added the following patch from the trac.openidenabled.com bug tracker:

    Lilli committed Feb 16, 2010
    http://trac.openidenabled.com/trac/ticket/337
    (http://trac.openidenabled.com/trac/attachment/ticket/337/php-openid-php5.3.patch)
    
    Patch makes php-openid library compatible with PHP 5.3, and included changes to many files.
    
    Original Message:
    Reported by:  	http://bfarber.myopenid.com/
    Opened 7 months ago
    Last modified 2 months ago
    PHP OpenID libraries do not work on PHP 5.3
    
    	"In my own application the script simply stops working at
    
    	function Auth_OpenID_setNoMathSupport() {
    
    		if (!defined('Auth_OpenID_NO_MATH_SUPPORT')) {
    
    			define('Auth_OpenID_NO_MATH_SUPPORT', true);
    
    		}
    
    	}
    
    	(Namespace issue perhaps?)
    
    	I downloaded the latest 2.1.3 libraries available from the site here and set them up on my local server. Using PHP 5.2.9 they work fine (with some notices) however using PHP 5.3 they don't work at all. I just get this one a white screen
    
    	Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\openid\php-openid-2.1.3\examples\consumer\common.php on line 72
    
    	Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\openid\php-openid-2.1.3\Auth\OpenID\Consumer.php on line 271
    
    	Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\openid\php-openid-2.1.3\Auth\OpenID\Consumer.php on line 273"
    
    It should be noted that 34 hunks across about 22 files failed, and I applied most of them manually. 37 files were patched.
  3. Added Google's add-on found at http://php-openid-apps-discovery.googl…

    Lilli committed Feb 16, 2010
    …ecode.com/files/php-openid-apps-discover-1.0.1.tar.gz to the contrib/google directory.
    
    Project Home:
    http://code.google.com/p/php-openid-apps-discovery/
    
    "Add-on to JanRain's php-openid library that enables the use of Google Apps host domains as an IDP."
Commits on Feb 12, 2010
  1. Added the following patch from the dev@openidenabled.com mailing list:

    Lilli committed Feb 12, 2010
    http://lists.openidenabled.com/pipermail/dev/attachments/20090928/2d616914/attachment.bin
    
    Original Message:
    anthony.lenton at canonical.com anthony.lenton at canonical.com
    Mon Sep 28 11:30:12 PDT 2009
    darcs patch: cURL verify host
    
    	"With this patch, if you define Auth_Openid_VERIFY_HOST cURL will enable host verification on ssl connections, for added security."
    
    This patch was in the form of a Darcs patch, not a normal patch.  So solve this, I applied it to the Darcs repository found on openidenabled, then created a new diff file between the original Darcs repo and the new one (with the patch applied) so that I could apply it to this git repo.
    
    All hunks were applied successfully.
  2. Added the following patch from the dev@openidenabled.com mailing list:

    Lilli committed Feb 12, 2010
    http://lists.openidenabled.com/pipermail/dev/attachments/20090206/f0d91666/attachment-0001.bin
    
    Original Message:
    will at willnorris.com will at willnorris.com
    Fri Feb 6 14:56:12 PST 2009
    darcs patch: Properly handle Yadis discovery failure
    
    	"The library does not curently handle failures during Yadis discovery properly. Specifically, if Yadis discovery fails, and discovery WAS being done with an XRDS document, then non-Yadis discovery should be attempted.
    
    	The use-case I'm dealing with right now that exposes this bug is when an XRDS document location is advertised (via HTTP response header or <meta /> HTML tag), but the document is not able to be retrieved for whatever reason.  The library is failing in this case, instead of continuing to attempt non-Yadis discovery.
    
    	This patch includes two changes:
    
    	- change to Yadis/Yadis.php that properly detects if XRDS was used
    
    	- change to OpenID/Discovery.php that prevents discovery from halting in the
    		above example"
    
    This patch was in the form of a Darcs patch, not a normal patch.  So solve this, I applied it to the Darcs repository found on openidenabled, then created a new diff file between the original Darcs repo and the new one (with the patch applied) so that I could apply it to this git repo.
    
    All hunks were applied successfully.
  3. Added the following patch from the dev@openidenabled.com mailing list:

    Lilli committed Feb 12, 2010
    http://lists.openidenabled.com/pipermail/dev/attachments/20090113/8ed067b3/attachment.bin
    
    Original Message:
    will at willnorris.com will at willnorris.com
    Sun Jan 4 11:27:26 PST 2009
    darcs patch: I'm not entirely sure which versions of PHP are having...
    
    	"I've had a number of users report that $this->store is incorrectly evaluating to false, thereby preventing associations from being used.  I've been unable to reproduce this myself, but the change is minor enough."
    
    This patch was in the form of a Darcs patch, not a normal patch.  So solve this, I applied it to the Darcs repository found on openidenabled, then created a new diff file between the original Darcs repo and the new one (with the patch applied) so that I could apply it to this git repo.
    
    All hunks were applied successfully.