Mateusz Uzdowski
59663f9289
BUGFIX: fix up some E_STRICT errors
2012-04-17 11:51:55 +12:00
Will Rossiter
7a4392ca03
Merge pull request #324 from halkyon/installer_fixes
...
MINOR: Fix install not loading because of Zend/Translate.php dependency in i18n.php
2012-04-16 16:34:53 -07:00
Sean Harvey
5f73643e3f
BUGFIX Hardcoding locales in installer, because we can't include i18n
...
properly, and including core/Core.php is too much.
2012-04-17 11:02:18 +12:00
Sean Harvey
ad2a21cc92
API CHANGE getSysTempDir() is now deprecated, use sys_get_temp_dir()
...
instead!
2012-04-17 10:53:41 +12:00
Sean Harvey
dc0031cf26
BUGFIX Fixed broken installer trying to include i18n thirdparty Zend
...
libs, which depends on Core.php being included first because include
paths are setup there first. This has the effect of removing redundant
code in the installer like temp path discovery, as Core takes care of
that for us.
2012-04-17 10:53:40 +12:00
Sean Harvey
d0984ec897
MINOR Line break after sentence of message
2012-04-17 10:53:40 +12:00
Sean Harvey
bbf04ee7ea
MINOR Removed function_exists() checks which aren't necessary for PHP 5.2+
2012-04-16 13:15:41 +12:00
Sean Harvey
ebe75fefab
MINOR Update locations to server requirements page
2012-04-15 16:29:14 +12:00
Sean Harvey
515a2ccfcc
MINOR Updating old URLs in installer, show message about creating admin
...
account
2012-04-15 16:01:06 +12:00
Sean Harvey
e71b8d6215
MINOR Installer cleanups, removing references to old "command line
...
installation" which is no longer supported.
MINOR Removed stray semi-colon when showing version in installer
template.
2012-04-15 15:05:20 +12:00
Sean Harvey
6405c44bc2
MINOR Enable the highest level of error_reporting() in install, to be
...
consistent with Core.php
2012-04-15 10:50:20 +12:00
Simon Welsh
f07258f3cf
MINOR Update @package values to match renaming sapphire
2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Simon Welsh
f8082e4814
MINOR Add newline to end of files without one
2012-04-15 10:50:19 +12:00
Sean Harvey
f57a763524
MINOR Ensure incomplete tests also have a backtrace
2012-04-15 00:26:17 +12:00
Sean Harvey
ce097a7b54
ENHANCEMENT If there are no test failures, but incomplete tests, mark
...
summary of test run as "ok but incomplete" in yellow for CliTestReporter
2012-04-15 00:07:15 +12:00
Sean Harvey
edaed5ef7e
BUGFIX If SS_Backtrace::get_rendered_backtrace() has $plainText argument
...
to TRUE, ensure there is no HTML in the output.
2012-04-15 00:05:49 +12:00
Sean Harvey
fc18b2c788
ENHANCEMENT TestReporter now reports incomplete tests properly
2012-04-14 23:11:54 +12:00
Will Rossiter
907568b182
ENHANCEMENT: move hard coded template HTML for composite field and field group out to separate template files.
2012-04-14 17:36:08 +12:00
Robert Curry
8b0dafb30d
ENHANCEMENT: Change PHP version requirements. Part of #7131 .
2012-04-13 13:12:48 +12:00
Mateusz Uzdowski
5186a0cea3
BUGFIX: remove unnecessary setComponent call - no longer used (os6175)
2012-04-12 17:04:24 +12:00
Ingo Schommer
a3d99b082d
MINOR Resetting Security::$database_is_ready state during tests (regression from a9509a610d
)
2012-04-11 17:22:55 +02:00
Ingo Schommer
ca24120a5e
MINOR Install screen visual tweaks, more visible disabled state on install button, conditional version number (to avoid it showing without a version), referencing new theme in install screen, using new layout in install progress screen as well
2012-04-11 16:49:31 +02:00
Ingo Schommer
ac45e5b9c0
Merge branch 'integration'
...
Conflicts:
admin/css/ie8.css
admin/css/screen.css
admin/scss/_style.scss
dev/install/config-form.html
dev/install/install.css
dev/install/php5-required.html
2012-04-11 16:31:12 +02:00
Ingo Schommer
6cd91ff449
Merge pull request #299 from ajoneil/sapphire
...
---
Conflicts:
forms/NumericField.php
2012-04-11 15:36:35 +02:00
Paul Clarke
4f23ac1722
ENHANCEMENT Installer styling, moving away from blackcandy
2012-04-11 22:51:10 +12:00
Andrew O'Neil
c5aa074bff
BUGFIX: Fix E_STRICT errors not being reported
2012-04-11 14:39:02 +12:00
Ingo Schommer
8c5e56fe31
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
dev/install/php5-required.html
2012-04-09 21:10:08 +02:00
Jeremy Bridson
697ffb82a7
ENHANCEMENT:fixed styling on "installing SilverStripe" page.
2012-04-05 12:01:27 +12:00
Jeremy Bridson
c1f6f20114
ENHANCEMENT:added logo to header on ss3 install page - plus compass regenerated icon sprites.
2012-04-05 11:18:11 +12:00
Ingo Schommer
40d73127ae
MINOR Using late static binding instead of Object::create() calls
2012-04-04 17:10:31 +02:00
Ingo Schommer
af80ab5ab7
Merge pull request #282 from halkyon/php52_references
...
Removed checks for versions less than PHP 5.3
2012-04-04 07:47:04 -07:00
Jeremy Bridson
875eef9992
ENHANCEMENT:Styled the php5 required page and fixed a couple of styling issues on the install page in IE.
2012-04-04 13:26:28 +12:00
Jeremy Bridson
63b23a2155
ENHANCEMENT:incorporating "simple" theme into the the SS3 Install - styling the install page to fit with the "simple" theme
2012-04-03 17:31:40 +12:00
Sean Harvey
349019e780
MINOR Adjusted wording based on E_DEPRECATED and E_USER_DEPRECATED error levels.
2012-04-03 10:28:07 +12:00
Sean Harvey
68aaae8cc0
MINOR Update docs and version checking for PHP 5.3+
2012-04-03 09:54:55 +12:00
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
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
Ingo Schommer
9b29616710
API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure
2011-03-31 09:56:21 +13:00
Ingo Schommer
2870eb9212
MINOR Changed $fixture_path to relative filenames in all sapphire test cases in order to allow easier file moving and less verbosity in tests
2011-03-30 23:04:48 +13:00