silverstripe-framework/tests
Sam Minnee 3c88905299 BUGFIX: Add a default list of allowed extensions so that the CMS works reasonably out of the box.
BUGFIX: Allow files that don't have an extension (most notably folders)
BUGFIX: Ensure that file URL rewriting works if you rename a page twice without publishing.
BUGFIX: Ensure that the page doesn't go green after URLs are rewritten
ENHANCEMENT: Recognise HTTP_X_FORWARDED_HOST header and use that in place of HTTP_HOST (from r93148)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:06 +13:00
..
api API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
control BUGFIX: fixed typing error 2011-02-02 14:17:59 +13:00
cuke/step_definitions MINOR: Added db-fixture creation for cucumber-based testing 2011-02-02 14:17:58 +13:00
dev API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
fieldtypes BUGFIX WidgetArea now works. Can have multiple areas on a page, and has unit tests 2009-11-05 00:13:56 +00:00
filesystem MINOR Fixed FileTest for changes to getFileType() on the File class 2008-10-16 04:33:35 +00:00
forms API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
i18n API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
integration BUGFIX: Suppressed errors in SS_HTMLValue->setContent() so it can handle malformed HTML. 2009-10-13 01:44:41 +00:00
javascript MINOR Moved js unit tests from sapphire/javascript/tests to sapphire/tests/javascript to have a consistent location for all tests on server- and clientside 2008-11-01 11:05:38 +00:00
model BUGFIX: Update virtual pages semantics to grab content from the published version of the source page when you publish the virtual page, and to not allow publication before their source page is published. (from r92209) 2011-02-02 14:18:05 +13:00
search API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
security FEATURE: added several tests for PermissionCheckboxSetField, PermissionRole and Group 2011-02-02 14:17:59 +13:00
tasks MINOR Moved Security::encryptallpasswords() to EncryptAllPasswordsTask (merged from r90948) 2011-02-02 14:17:36 +13:00
templates (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-09 03:19:54 +00:00
testing API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
widgets API CHANGE Removed unnecessary WidgetFormProxy class and Widget->FormObjectLink(), broken functionality since the RequestHandler restructuring in 2.3. Use Widget_Controller instead. 2009-09-07 03:28:23 +00:00
ArrayDataTest.php ENHANCEMENT #3032 ajshort: Use static methods for accessing static data 2009-03-14 00:16:32 +00:00
ArrayLibTest.php MINOR Documented and unit tested ArrayLib::invert() (merged from branches/2.3-nzct) 2009-07-17 00:01:06 +00:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
ClassInfoTest.php ENHANCEMENT Added ClassInfo::classes_for_folder() 2009-06-30 22:08:59 +00:00
ControllerTest.php MINOR: Updated Controller to return a 404 on actions that don't exist, rather than a 403. 2009-10-11 00:07:24 +00:00
ControllerTest.yml MINOR Added ControllerTest for $allowed_actions with permission codes, switched this class to extend FunctionalTest and use get() instead of Director:;test() for this purpose (better login/session mocking capabilities) 2009-09-10 06:34:40 +00:00
ConvertTest.php ENHANCEMENT #3677 Added more rules for escaping reserved characters in XML to their proper entities e.g. ' => &apos; 2009-05-20 03:09:50 +00:00
CoreTest.php MINOR Less obtrusive tests for testing the SS temp directory 2011-02-02 14:17:55 +13:00
DataObjectDecoratorTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
DataObjectDecoratorTest.yml BUGFIX #3919: Fix DataObject::dbObject() for decorated fields 2009-04-27 00:44:10 +00:00
DataObjectSetTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
DataObjectTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
DataObjectTest.yml BUGFIX Fixed whitespace issue in DataObjectTest.yml 2009-01-07 21:40:36 +00:00
ErrorPageTest.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
ErrorPageTest.yml BUGFIX Fixed empty ErrorPage types in output by setting status code in init() instead of index() and checking for "index" action - introduced in r75096 (see #3960) 2009-05-04 02:20:57 +00:00
FileLinkTrackingTest.php BUGFIX: Add a default list of allowed extensions so that the CMS works reasonably out of the box. 2011-02-02 14:18:06 +13:00
FileLinkTrackingTest.yml BUGFIX: Fixed image link rewriting and added a test. (from r89011) 2009-10-15 22:40:06 +00:00
HtmlEditorConfigTest.php ENHANCEMENT Added support for loading external plugins (with relative paths) in HtmlEditorConfig. This means relative paths can be separate from the plugin name, and fixes a bug where paths containing dashes were ignored by TinyMCE.init(). 2011-02-02 14:17:55 +13:00
HTTPRequestTest.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
HTTPTest.php BUGFIX: Updated HTTP::findByTagAndAttribute() to be more versatile, especially when dealing with attributes containing special characters. 2009-10-11 00:06:55 +00:00
ManifestBuilderTest.fixture.inc BUGFIX: Fixed manifest builder tests to not have fake data, and to test that classes can be in files with different names 2009-08-08 03:39:12 +00:00
ManifestBuilderTest.php BUGFIX: Fixed manifest builder tests to not have fake data, and to test that classes can be in files with different names 2009-08-08 03:39:12 +00:00
MemoryLimitTest.php BUGFIX: Fix MemoryLimitTest not to fail on machines with <1G of memory and later versions of PHP 5.2.x that check available memory before setting memory_limit setting. 2009-09-24 07:14:30 +00:00
ObjectStaticTest.php API CHANGE: Make Object::uninherited_static() have a separate execution path to Object::get_static(), for more reliable operation. The intention is that for any given static, you either use Object::get_static() or you use Object::uninherited_static() - not both. 2009-08-11 05:01:17 +00:00
ObjectTest.php BUGFIX Fixing regression in TranslatableTest due to outdated singleton caching. 2009-10-22 00:30:21 +00:00
PhpSyntaxTest.php BUGFIX: Improved reliability of PhpSyntaxTest on build slave. 2009-10-11 09:01:36 +00:00
RedirectorPageTest.php MINOR More robust RedirectorPageTest implementation that doesn't rely on _t() calls which are mysteriously failing on all subsequent calls in PHPUnit 2009-08-27 03:10:13 +00:00
RedirectorPageTest.yml BUGFIX: Created Versioned's Version field as a proper Dataobject field. 2009-05-07 06:00:50 +00:00
RequestHandlingTest.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
SearchContextTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
SearchContextTest.yml BUGFIX Fixed SQL syntax error in MATCH AGAINST clause in FulltextFilter 2009-05-24 21:27:48 +00:00
ShortcodeParserTest.php FEATURE: Added the Shortcode API (ShortcodeParser) to allow you to replace simple BBCode-like tags in a string with the results of a callback. 2009-10-11 00:06:57 +00:00
SiteTreeActionsTest.php MINOR: Made security fixture set-up tigher in tests and other bugfixes. 2009-10-19 05:28:59 +00:00
SiteTreeActionsTest.yml BUGFIX Respecting SiteTree->canDelete() in SiteTree->getCMSActions() 2009-10-17 05:11:23 +00:00
SiteTreeBacklinksTest.php BUGFIX Added setup/teardown methods to SiteTreeBacklinksTest to make it work with Translatable enabled 2009-10-21 19:49:13 +00:00
SiteTreeBacklinksTest.yml #63 - Stable against restructures (from r84861) 2009-10-15 21:46:13 +00:00
SiteTreeBrokenLinksTest.php BUGFIX: Fixed broken link correction when a page is deleted. (from r89989) 2011-02-02 14:18:04 +13:00
SiteTreeBrokenLinksTest.yml ENHANCMENT improved reporting around broken links/files (from r88993) 2009-10-15 22:39:26 +00:00
SiteTreePermissionsTest.php MERGE merged back a whole bunch of defect fixes from trunk (from r87846) 2011-02-02 14:18:02 +13:00
SiteTreePermissionsTest.yml MINOR added more documentation around SiteConfig. Also wrote unit tests for permissions inheritance off it. (from r86132) 2009-10-15 21:53:15 +00:00
SiteTreeTest.php BUGFIX: Include newly set fields in the differences shown by DataDifferencer (from r90264) 2011-02-02 14:18:04 +13:00
SiteTreeTest.yml ENHANCEMENT: Updated the SiteTree URLSegment conflict resolver to work with nested URLs. 2009-10-11 00:07:21 +00:00
SoapModelAccessTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
SoapModelAccessTest.yml (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-11 03:03:52 +00:00
SQLFormatterTest.php BUGFIX Fixed newlines working properly across different platforms - Windows, for example, won't work properly with just \n so use PHP_EOL for a cross-platform solution 2011-02-02 14:17:38 +13:00
SQLQueryTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
SSViewerTest.php BUGFIX #4063: Corrected base tag for IE6 2009-10-31 00:16:54 +00:00
TokenisedRegularExpressionTest.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
TransactionTest.php Transaction test created 2009-10-01 21:04:18 +00:00
ViewableDataTest.php BUGFIX Don't return empty value from ViewableData->XML_val() if the actual value is an uncasted 0 integeter (or anything else evaluating to untyped boolean false) 2009-10-15 21:48:24 +00:00
WebserverRoutingTest.php BUGFIX: Made use of new BasicAuth::protect_entire_site() consistent. (from r91658) 2011-02-02 14:17:37 +13:00