Ingo Schommer
6c24589a92
Merge pull request #208 from sminnee/fix-startsession
...
BUGFIX: Fixed dev/tests/startsession form action
2012-03-05 00:07:06 -08:00
Sam Minnee
f1579a2cdd
MINOR: Corrected date in installer copyright (open.ss.org #6833 )
2012-03-05 14:51:42 +13:00
Sam Minnee
a5e809be49
BUGFIX: Fixed dev/tests/startsession form action
2012-03-05 14:36:38 +13:00
Sam Minnee
adfdd068e2
Merge branch 'ereg-to-preg' of https://github.com/AngryPHPNerd/sapphire
...
Conflicts:
model/fieldtypes/Date.php
2012-03-05 13:54:20 +13:00
Kirk Mayo
c211b7c435
Added some simple code to show the location of the loaded php.ini file when php configuration or file permision errors exist
2012-03-04 21:01:12 +13:00
AngryPHPNerd
0e2cbb0b88
Replace ereg with preg_*
2012-02-27 22:14:02 +01:00
Fred Condo
d370423825
Clean up trailing ?> per coding standard
...
All sapphire but the lang directory
2012-02-12 12:40:16 -08:00
Ingo Schommer
fcf103cd14
MINOR Check for display_errors=Off during installation ( fixes #5779 )
2012-02-11 01:19:29 +01:00
Ingo Schommer
24e2003e35
ENHANCEMENT Allow logging of extra data in SS_Log::log() (currently only displayed through SS_LogEmailWriter)
2012-02-06 23:38:37 +01:00
Ingo Schommer
d3be6edb4e
ENHANCEMENT Allowing string arguments in SS_Log::log()
2012-02-06 23:38:35 +01:00
Ingo Schommer
5284f9019c
MINOR Improved email log styling through inline style declaration (which now extends styles to tables), using smaller non-serif font for better readability
2012-02-06 23:38:34 +01:00
Ingo Schommer
c7b02d2063
MINOR Rewrite stack trace from "In line <line> of <file>" to a more readable and common "<file>:<line>"
2012-02-06 23:38:32 +01:00
Andrew O'Neil
15a641a99c
BUGFIX Clear requirements after running a unit test
2012-02-03 13:07:12 +01:00
dompie
3c09e9dfc4
ENH: Some webhosters require username/password credentials to test for
...
existing DB server
2012-01-11 16:05:19 +01:00
James Miller
f1542edd1e
Unicode actually fixed...
2012-01-10 16:15:03 +13:00
James Miller
3f59f13c6b
Fixed odd unicode character issue
2012-01-10 16:11:25 +13:00
Aatch
80e2985f49
Wrap the Last Edited Date in single quotes, doesn't work otherwise.
2012-01-10 16:01:24 +13:00
James Miller
bf2ba121bd
Allowed the fixture to overwrite the LastEdited field on an object
2012-01-10 13:24:31 +13:00
joaosantos81
889bcf74c0
Currently, the time format does not allow differentiate the AM/PM hours since the format choosen is 12h and no AM/PM label is added to each log line. So, my suggestion is to convert to 24h format (using a H instead of h) to fix this issue.
...
More details, see PHP date function doc - http://php.net/manual/en/function.date.php
2011-12-29 16:17:14 +00:00
Sam Minnee
0bdfc0c515
MINOR: On PHPUnit 3.6, show the output of tests.
2011-12-17 16:42:31 +13:00
Mark James
e102d9ddc9
BUGFIX: Corrected use of ENT_QUOTES/UTF8 on htmlentities in installer introduced by r3a7ac9759ab8f98eee0bb15db4618fd0ee146ab6. fixes #6806
2011-12-16 22:27:42 +00:00
Ingo Schommer
3a7ac9759a
BUGFIX Consistently using multibyte-safe htmlentities()
2011-11-29 10:43:06 +01:00
Sam Minnee
f1480c20bf
MINOR: Amended PHPUnit execution to work with PHPUnit 3.6
2011-11-08 11:26:40 +13:00
Hamish Friedlander
bc7217d1ea
BUGFIX: Deprecation notices should fire in test mode too, just not in live mode
2011-10-31 13:51:31 +13:00
Stig Lindqvist
6cf03b9c2b
MINOR Fixed whitespace and added docblocks
2011-10-28 02:11:55 +02:00
Stig Lindqvist
3c5fd14f38
BUGFIX Deprecation class throws notice on PHP 5.2
...
Checks on constants must be within quotes.
2011-10-28 02:09:28 +02:00
Sam Minnee
e5afa25522
MINOR: Use Deprecation class to indicate deprecated methods in core.
2011-10-29 17:34:31 +13:00
Sam Minnee
ad9bc59d10
ENHANCEMENT: Include the caller of the deprecated method in the notice that it throws.
2011-10-29 17:34:31 +13:00
Sam Minnee
4c93c3be19
ENHANCEMENT: Allow Deprecation::notice() to be called without passing release number.
2011-10-29 17:34:31 +13:00
Hamish Friedlander
436e0f0475
ENHANCEMENT: Make the installer work when CMS module isnt present
2011-10-29 17:23:22 +13:00
Hamish Friedlander
af667eb8ec
ENHANCEMENT: Move install.php to sapphire and seperate the PHP version check from the rest of it so we dont have to worry about PHP4 so much. TODO: Allow it to be run directly without needing the stub install.php in the root from silverstripe-installer
2011-10-29 16:40:27 +13:00
Will Rossiter
b70bc85ed3
MINOR remove missing icon from debug view
2011-10-29 15:47:07 +13:00
Simon Welsh
840343ffb7
Checks for array to string conversion (E_NOTICE as of PHP5.4)
2011-10-29 10:49:17 +13:00
Stig Lindqvist
e38dd08ea5
MINOR: Fix docblocks to reference SS_List instead of (now deprecated) DataObjectSet where appropriate
2011-10-28 15:58:55 +13:00
Hamish Friedlander
0a3e0f15de
MINOR: Replace references to FieldSet (now deprecated) with references to FieldList
2011-10-28 15:58:55 +13:00
Hamish Friedlander
e5ea2ea94d
ENHANCEMENT: Add Deprecation class to handle throwing deprecation notices nicely on methods that are still in use in framework or cms
2011-10-28 15:58:54 +13:00
Stig Lindqvist
2101d3c09b
MINOR Added codecoverage on a single test to the allowed actions
2011-09-27 11:00:28 +13:00
Will Rossiter
37d197c52f
MINOR altered skipTest to be a instance property rather than static
2011-09-26 17:11:49 +13:00
Will Rossiter
1732a17114
Merged new-orm into datagrid
2011-09-26 16:47:54 +13:00
Will Rossiter
e740bf8a65
ENHANCEMENT: added SapphireTest:: boolean to flag tests that should be skipped from the TestRunner
2011-09-26 16:08:41 +13:00
Ingo Schommer
ce8e72cf0e
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:02 +02:00
Ingo Schommer
d4e42c2b11
MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface
2011-08-12 17:05:54 +02:00
Ingo Schommer
8249834cf6
MINOR Adding 'runTask' to allowed_actions in TaskRunner
2011-08-12 17:05:54 +02:00
Ingo Schommer
f11751c42d
MINOR Fixed SS_LogEmailWriter and SS_LogFileWriter to adhere to new Zend interface
2011-05-30 21:30:32 +12:00
Ingo Schommer
0adac9d40b
ENHANCEMENT Allowing filtered arguments on specific functions like mysql_connect() in SS_Backtrace
2011-05-26 22:04:01 +12:00
ajshort
3f132a105b
API CHANGE: Replaced DataObjectSet instances with ArrayList.
2011-05-05 20:40:24 +10:00
Sam Minnee
7fbb919ce8
API CHANGE: Introduce DataModel object, as a representation of the project's entire data model, and tie it to $this->model an all DataObjects, Controllers, and RequestHandlers for easy non-static access.
...
API CHANGE: Add DataList::newObject(), which creates a new object on that DataList.
API CHANGE: RequestHandler::handleRequest() now needs to handle a $model argument, if you override it.
2011-05-01 17:33:02 +12:00
ajshort
ff3d3816ca
MINOR: Updated SapphireTest::dataObjectArrayMatch() to use array_key_exists() rather than isset(). This allows tempting for NULL values in DOS assertion methods.
2011-05-01 15:26:29 +12:00
Sam Minnee
de1494e3a8
ENHANCEMENT: Implemented DataList as the successor of DataObjectSet. DataList doesn't execute the query until it's actually needed, allowing for a more flexible ORM.
...
API CHANGE: augmentSQL is now passed a DataQuery object from which query parameters can be extracted.
API CHANGE: DataObjectDecorators that manipulate the query can now define augmentDataQueryCreation().
API CHANGE: The container class argument for DataObject::get() is deprecated.
API CHANGE: DataObject::buildSQL() and DataObject::extendedSQL() are deprecated; just use DataObject::get() now.
API CHANGE: DataObject::instance_get() and DataObject::instance_get_one() are deprecated, and can no longer be overloaded.
API CHANGE: DataObject::buildDataObjectSet() is deprecated.
API CHANGE: Cant't call manual manipulation methods on DataList such as insertFirst()
2011-05-01 15:25:45 +12:00
ajshort
3a1c2df4e7
API CHANGE: Renamed DataObjectDecorator to DataExtension.
...
API CHANGE: Renamed LeftAndMainDecorator to LeftAndMainExtension.
MINOR: Replaced all references to decorators with extension.
2011-04-26 11:01:38 +10:00