summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/FileStore.php
Commit message (Collapse)AuthorAgeFilesLines
* #130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmasterOleksandr Zahorulia2016-09-301-1/+1
|
* loop over directories "the right way"Lawrence Brown2015-01-031-1/+1
| | | | | | | | | | | | | | | | See http://php.net/manual/en/function.readdir.php - specifically /* This is the correct way to loop over the directory. */ while (false !== ($entry = readdir($handle))) { echo "$entry\n"; } /* This is the WRONG way to loop over the directory. */ while ($entry = readdir($handle)) { echo "$entry\n"; } Looping over a directory the wrong way will cause the loop to stop if it comes to a directory named 0 (or anything else which evaluates to false)
* included more checks for file access errorsEtienne Quiel2013-05-061-1/+10
|
* Added the following patch from the trac.openidenabled.com bug tracker:Lilli2010-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [ few random cleanup changes ]Luke Shepard2009-05-281-1/+1
| | | | | | | | A few minor changes made over the past few months. This adds some additional logging, an extra helper function for error messages, and fixes a small bug with the association handler ... not to mention standardizing on "false" instead of "False". Signed-off-by: Will Norris <will@willnorris.com>
* [ remove closing ?> tag from all files ]Luke Shepard2009-05-281-1/+1
| | | | | | | | | | | | Reviewed By: Will Norris Facebook has a policy to not have closing ?> tags at the bottom of PHP files. It can unintentionally introduce newlines which causes ridiculous bugs. This is recommended in the Zend style guide: http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html Signed-off-by: Will Norris <will@willnorris.com>
* Revert "[ remove closing ?> tag from all files ]"Luke Shepard2009-05-271-1/+1
| | | | | | This reverts commit a2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0. I'm going to stop playing in bce's fork, and start messing in my own. Sorry for the mess Brian :)
* [ remove closing ?> tag from all files ]Luke Shepard2009-05-271-1/+1
| | | | | | | | | | Reviewed By: Will Norris Facebook has a policy to not have closing ?> tags at the bottom of PHP files. It can unintentionally introduce newlines which causes ridiculous bugs. This is recommended in the Zend style guide: http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html
* [project @ Rename files and tests related to HMACSHA1 and HMACSHA256]http://j3h.us/2008-06-201-1/+1
|
* [project @ Update license strings to say Apache]tailor2008-05-301-1/+1
|
* [project @ fix copyright notices to include 2008]http://mike.glover.myopenid.com2008-05-271-1/+1
|
* [project @ use-time-instead-of-(gm)mktime]dAniel hAhler2007-12-081-1/+1
| | | | | | | | Use time() instead of (gm)mktime(), when used for getting the current time (called without arguments). According to "hunk ./Auth/OpenID/Nonce.php 99" gmmktime() for PHP4 is buggy and using mktime() makes no sense when called without args: just use time() then directly.
* [project @ Remove getExpired()]tailor2007-09-251-12/+0
|
* [project @ gmmktime() -> mktime() since gmmktime() is broken in PHP 4]tailor2007-09-251-1/+1
|
* [project @ Added store methods cleanupAssociations(), cleanup(), and ↵tailor2007-09-251-0/+13
| | | | concrete implementations]
* [project @ Include full path in filestore paths]tailor2007-09-241-9/+7
|
* [project @ Added cleanupNonces to store interface and file store]tailor2007-09-241-0/+23
|
* [project @ FileStore, SQLStore, MemStore: check timestamp in useNonce]Kevin Turner2007-09-211-0/+7
|
* [project @ Add bytes and toBytes to avoid multibyte string overloading]tailor2007-04-041-2/+4
|
* [project @ Docblock additions and fixes ]tailor2007-04-031-1/+2
|
* [project @ Add getExpired to stores]tailor2007-03-021-19/+47
|
* [project @ Removed settings table and auth key code from stores]tailor2007-02-141-99/+3
|
* [project @ close() -> fclose() fix]tailor2006-08-291-1/+1
|
* [project @ Empty server_url fix in filestore]tailor2006-08-291-1/+7
|
* [project @ Server-generated and one-way nonces patch from python openid]tailor2006-08-251-44/+18
|
* [project @ Fix bug in FileStore which prevented associations from being ↵tailor2006-12-011-1/+1
| | | | generated]
* [project @ Remove platform-specific temporary directory code to tests since ↵Josh Hoyt2006-09-271-15/+1
| | | | the library was not using it]
* [project @ Fix filestore platform temporary directory code]Josh Hoyt2006-09-271-2/+2
|
* [project @ Make temporary directory generation platform-dependent]Josh Hoyt2006-09-271-1/+15
|
* [project @ link() doesn't exist on Windows, so implement work-around]Josh Hoyt2006-09-271-7/+10
|
* [project @ Close the file handle in FileStore->createAuthKey()]Josh Hoyt2006-09-271-0/+1
|
* [project @ Updated incorrect comment for FileStore getAssociation.]tailor2006-08-041-1/+1
|
* [project @ Corrected docs in FileStore]tailor2006-03-021-6/+3
|
* [project @ Moved CryptUtil functions into an Auth_OpenID_CryptUtil class.]tailor2006-02-141-1/+1
|
* [project @ Moved files from Store/ into Auth/OpenID/]tailor2006-02-141-0/+673