Ingo Schommer
2ecfbc49f5
Merge pull request #276 from halkyon/e_deprecated_fixes
...
E_DEPRECATED fixes - split() replaced with preg_split()
2012-03-28 02:31:04 -07:00
Sean Harvey
e0dc3aaf21
Merge pull request #278 from silverstripe-scienceninjas/install-and-php5-ini-settings
...
BUGFIX The SilverStripe installer throwing warning on settings that was okey
2012-03-28 02:20:27 -07:00
Stig Lindqvist
1a81c3de27
BUGFIX The SilverStripe installer throwing warning on settings that was legit.
2012-03-28 17:56:57 +13:00
Fred Condo
5954774530
BUGFIX: Use UTC consistently across all tests for date/time calculations
...
This ensures that tests will not pass or fail based on whether the test
machine is on NZ time.
This partially reverts df050eda5d
, which has
already been merged. Instead of finding tests that use date calculations, we
are now setting the default time zone in SapphireTest so it will apply to the
whole test suite and any future tests.
Adjust expected values in certain tests for UTC, where the expected values had
previously been expressed in NZ time.
When creating a temp DB for test fixtures, create the DB connection with
timezone UTC.
2012-03-27 10:29:07 -07:00
Sean Harvey
cf014dc56d
MINOR Replaced use of deprecated split() with preg_split() and fixed use of "&new Class()" which is deprecated in PHP 5.3
...
ENHANCEMENT E_DEPRECATED and E_USER_DEPRECATED are now handled as notice level errors in Debug.
2012-03-27 23:16:52 +13:00
Sam Minnee
7db3b8ecd6
MINOR: Raise deprecation errors in the same way as notice-level errors.
2012-03-24 16:34:10 +13:00
Andrew O'Neil
6db08cbc36
MINOR: Fix tests on PHPUnit 3.4
2012-03-14 16:05:19 +13:00
Sean Harvey
3d62832fbb
MINOR Removed session_start() call in installer, as it contradicts the requireFunction check for session_start as part of the installer
2012-03-12 10:25:39 +13:00
Sean Harvey
0c30bfc2dd
MINOR Tweak text about display_errors
2012-03-12 10:17:57 +13:00
Robert Curry
d34dca675a
MINOR: Fix typographical errors.
2012-03-09 17:00:25 +13:00
Robert Curry
ecb279c33e
Issue #6667 : Check for TEMP_FOLDER _ss_envrionment override in install script.
2012-03-09 15:06:01 +13:00
Ryan O'Hara
63d5927e50
BUGFIX: Added TemplateGlobalProvider include to installer, as required by i18n.
2012-03-09 10:45:24 +13:00
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