Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
funkatron committed Nov 21, 2007
0 parents commit 6b4a7f5
Show file tree
Hide file tree
Showing 36 changed files with 3,225 additions and 0 deletions.
78 changes: 78 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
v0.2.2
- Added simple View system; moved HTML views out of PhpSecInfo class. You can
use PhpSecInfo->setViewDirectory($path) to set the path to your own custom
views (your view files need to mirror the structure of the default views).
- Added stubs for cli, CSV and RSS views
- PHPSecInfo_Test::getUnixId() now handles failure better and tries alternate
methods before giving up
- Minor CSS fixes in HTML view <Thomas Corbiere>

v0.2.1
- uid and gid tests now correctly test the user and group that PHP is executing as
(requires that exec() or posix functions are enabled)
- Changed upload_max_filesize and post_max_size return "OK" if current value is
equal to recommended value
- fixed nonstandard naming with a couple locally used constants
- fixed problem with XHTML validity in cases of not run tests <Thomas Corbiere>

v0.2.0
- Changes to output code to avoid licensing problems with PHP (CSS was derived code)
- New test: PhpSecInfo_Test_Session_Save_Path <Thomas Corbiere>
- API changes! Read the API docs if you're a test developer, and ask questions on the
mailing list.
- rewrote all tests to adapt to API changes (displaying and use current and recommended
settings in tests)
- Added display of "current" and "recommended" settings in test result output
- Added link to "more info" in output (see Test::getMoreInfoURL)
- Modified CSS to improve readability
- added Test::getMoreInfoURL() to generate link to detailed info on external site
- added PHPSECINFO_TEST_MOREINFO_BASEURL and set to
http://phpsec.org/projects/phpsecinfo/tests/
- Changed Test_Curl::isTestable() to use extension_loaded. (Thx Thomas Corbiere)
- Changed Test_CGI::isTestable() to use strpos() instead of preg_match() (Thx Thomas Corbiere)
- Added isTestable() checks for magic_quotes_gpc and register_globals where
tests are not executed if PHP_VERSION >= 6 (Thx Thomas Corbiere)
- Fixed bug in use_trans_sid.php where parent::_setMessages() wasn't being called.
(Thx Thomas Corbiere)
- Fixed bug in SVN version Test_CGI.php where searching for 'php' instead of 'cgi' in
sapi output (what the hell was I thinking? Thx Thomas Corbiere)
- Fixed potential redeclare weirdness in PhpSecInfo::renderOutput() with PHP5
- added meta tag to output telling compliant search engines to not index the page
- Added PhpSecInfo_Test::setTestGroup
- Fixed memory_limit test to properly report if the option has not been enabled
at compile time
- Added PhpSecInfo_Test::osIsWindows() for checking the OS
- Fixed NOTICE for undefined string offset in returnBytes when input is 0
- Fixed NOTICE for undefined offset in table output where $test_results['moreinfo_url']
is not set



v0.1.2
- Code is now licensed under "New BSD" license. See LICENSE
- Added PhpSecInfo_Test_Core_Allow_Url_Include to test for allow_url_include in PHP5.2 and
above
- fix bug in post_max_size check where upload_max_size value was being checked
- change curl file_support test to recommend upgrading to newest version of PHP
rather than disabling support in cURL for 'file://' protocol
- removed =& calls that force pass by reference in PHP4, so as to not throw PHP5 STRICT notices.
It means passing objects by value in PHP4, but this seems acceptable for our purposes (memory
usage isn't terribly high).
- Fixed bug in PhpSecInfo_Test_Session_Use_Trans_Sid where wrong ini key was requested
(Thanks Mark Wallert)

v0.1.1a
- fix bug in phpsecinfo() where debugging code was left in release. ugh.
- modified test result output to include text version of result type. Color-only results
don't work in text-based browsers or cases where browser is overriding styles.

v0.1.1
- Added PhpSecInfo::getOutput(), PhpSecInfo::loadAndRun() and PhpSecInfo::getResultsAsArray()
methods
- Modified PhpSecInfo::runTests() to fix undefined offset notices
- Modified PhpSecInfo_Test::setMessageForResult() to fix undefined offset notices
- Modified PhpSecInfo_Test_Curl_File_Support to skip if PHP version is < 5 (detection of
file protocol support relies on PHP5 version of curl_version)

v0.1
- Initial public release
10 changes: 10 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Copyright (C) 2006 Edward Finkler


Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit 6b4a7f5

Please sign in to comment.