Ingo Schommer
feabab3808
BUGFIX: modified float to have the same database table schema as int. Now defaults to zero and 'not null' (from r98847)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:45:20 +00:00
Ingo Schommer
e89e377cb6
MINOR Removed return of connection and changed variables to conincide with r98795 (from r98800)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:44:38 +00:00
Ingo Schommer
c1dc70b88d
MINOR Removed whitespace in textarea value that caused an empty string in the development servers list in installer (regression from recent change) (from r98792)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:33:12 +00:00
Ingo Schommer
618328ace7
API CHANGE Installer now uses a database configuration helper class which isolates the logic of checking the database away from the installer, this interface can be used by other databases like MSSQL and PostgreSQL. The installer now looks for a specific file inside each database module, provided it's configured in install.php MySQL is provided by default, as it lives in sapphire (from r98786)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:32:30 +00:00
Ingo Schommer
6bd64ad703
MINOR Styling on installer (from r98781)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:31:42 +00:00
Ingo Schommer
d3e45dfc7a
BUGFIX Fixed quoting on ContentController::successfullyinstaller() - this broke certain databases like PostgreSQL (from r98777)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:31:20 +00:00
Ingo Schommer
746b2f2f0a
BUGFIX #5053 Aggregate::query() should not set an orderby clause, otherwise databases will complain (from r98776)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102795 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:31:06 +00:00
Ingo Schommer
16f79a6dd8
BUGFIX: columns quoted properly (from r98694)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:30:49 +00:00
Ingo Schommer
ce04a46d57
BUGFIX: Fixed ManifestBuilder::has_been_included() (from r98693)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:30:30 +00:00
Ingo Schommer
081b05b411
BUGFIX Checkbox for overriding the install from environment now checks for the file existance properly (from r98688)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:30:13 +00:00
Ingo Schommer
74a21c6a12
MINOR Reverted broken variables in installer for checking environment (from r98679)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:29:59 +00:00
Ingo Schommer
b54937e5dd
MINOR Removed debug code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:05:18 +00:00
Ingo Schommer
944d013086
MINOR Fixed SiteTree->canViewStage(), merge error from r94253
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:28:51 +00:00
Ingo Schommer
2ba7b18e50
BUGFIX Fixed initial state of "use environment" checkbox in installer (from r98678)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:23:12 +00:00
Ingo Schommer
de112bba6e
ENHANCEMENT Added checkbox to switch off using the environment during install if it's available (from r98677)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102778 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:22:54 +00:00
Ingo Schommer
deb038ad2f
BUGFIX: fallback for changes in r98101, required if TreeDropdownField is used in a widgetarea, and does not know its field (from r98671)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102777 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:22:37 +00:00
Ingo Schommer
53d5a04655
MINOR Install template cleanup (from r98670)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:22:21 +00:00
Ingo Schommer
c7528a3b75
MINOR Styling for help text in the installer (from r98668)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102775 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:22:06 +00:00
Ingo Schommer
e6c94e574a
MINOR Styling fixes for installer (from r98667)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:21:52 +00:00
Ingo Schommer
8a1e52ca87
MINOR Tidy up of install template (from r98666)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:21:39 +00:00
Ingo Schommer
55708cbfa1
MINOR Changed config-form to HTML 4.01 and validated the page minus a few issues with the form field placement (from r98662)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102772 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:21:26 +00:00
Ingo Schommer
00f5f0687a
ENHANCEMENT #3903 Initial changes to installer to support selection of different database drivers (from r98659)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102771 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:21:11 +00:00
Ingo Schommer
f660634cc9
ENHANCEMENT you can now pass arbitrary CURL options to the request() method of RestfulService. (from r98656)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:20:57 +00:00
Ingo Schommer
55c4c90652
MINOR disable form fields if they are set from _ss_environment. See #5054 (from r98643)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:20:44 +00:00
Ingo Schommer
dd7273b27a
MINOR Removed useless third argument to instantiation of itemClass in TableListField::generateExportFileData() (from r98544)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:20:28 +00:00
Ingo Schommer
c652311ce9
API CHANGE Made ComplexTableField not use Object::create() for item and popup classes to be consistent with TableListField. These can be overridden as itemClass and popupClass are public properties on ComplexTableField (from r98543)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102767 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:20:13 +00:00
Ingo Schommer
b4c425168c
MINOR: Fixed caching of login page for tests (from r98538)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:19:54 +00:00
Ingo Schommer
624b63ebb1
BUGFIX Fixed ManifestBuilder::get_themes() not to assume an existing themes/ folder (from r98537)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:19:10 +00:00
Ingo Schommer
68ae667748
BUGFIX: Removed obsolete start argument from ComplexTableField_Item constructor. (from r98536)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102764 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:18:52 +00:00
Ingo Schommer
ef36220d9f
BUGFIX: Make Security/login page's ID give a different number for loggedin vs loggedout, to help with partial caching (from r98534)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102763 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:17:42 +00:00
Ingo Schommer
9f2f88fb28
BUGFIX: Fix virtual pages not returning correct content (from r98520)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102762 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:17:29 +00:00
Ingo Schommer
394cddb4e6
MINOR: Renamed manifest test temp dir as there was some kind of conflict (from r98519)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102761 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:17:09 +00:00
Ingo Schommer
74643c8e51
MINOR Partially reverted accidental commit r102759
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102760 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:16:58 +00:00
Ingo Schommer
bfb10b849f
BUGFIX Fixed missing third argument to ComplexTableField_Item when the parent class instantiates it (from r98448)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102759 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:16:07 +00:00
Ingo Schommer
8256228e69
MINOR Upgraded jQuery.entwine (formerly known as jQuery.concrete) to the latest trunk
...
MINOR Updated jQuery.concrete references to point to the new "entwine" name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102695 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 05:45:29 +00:00
Ingo Schommer
ecc73e0cfc
BUGFIX: Fixed infinite loop in FILE_TO_URL_MAPPING lookup when calling arbitrary scripts via CLI (from r98434)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102658 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:24:48 +00:00
Ingo Schommer
6e284c2914
MINOR: Speed up cache test (1s is as good a test expiry as 8s) (from r98433)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102657 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:24:37 +00:00
Ingo Schommer
9c0c2cad7a
BUGFIX: Make login form work without any theme loaded. (from r98432)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:24:20 +00:00
Ingo Schommer
56fc2d579f
MINOR Fixed SiteTreeBacklinksTest on Windows (from r98427)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:24:08 +00:00
Ingo Schommer
2d01b35bf5
MINOR Fixed HTTPTest->testSetGetVar() (from r98409)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:23:56 +00:00
Ingo Schommer
67305d2787
MINOR Fixed HTTPTest->testSetGetVar() (from r98407)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:23:36 +00:00
Ingo Schommer
6a1cb91c9f
MINOR Partially reverted r98382 which added unnecessarily defensive checking to Hierarchy->allChildren() (from r98404)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102652 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:23:18 +00:00
Ingo Schommer
dc21cb9ae0
BUGFIX Fixed Hierarchy->loadDescendantIdList() to call setOwner() on the extension instance. This was necessary due to underlying Object/Extension changes in 2.4.
...
MINOR Fixed HierarchyTest assertions around including grand children counts (from r98403)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102651 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:23:06 +00:00
Ingo Schommer
804c588215
MINOR Fixed HTTPTest when invoked through dev/tests/all or with GET parameters (see r98373) (from r98383)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102650 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:22:43 +00:00
Ingo Schommer
28fd09115a
BUGFIX #5044 Hierarchy::loadDescendantIDListInto() now uses Object::getExtensionInstance('Hierarchy') instead of going through __call(), as PHP 5.3 has issues converting references to values (from r98382)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102649 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:22:12 +00:00
Ingo Schommer
dad685e2e2
MINOR Testing of grand-children items in HierarchyTest::testLoadDescendantIDListIntoArray() and HierarchyTest::testNumChildren() (from r98376)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102648 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:21:58 +00:00
Ingo Schommer
6f411a359a
API CHANGE HTTP::setGetVar() always returns absolute URLs. Use Director::makeRelative() to make them relative again.
...
API CHANGE HTTP::setGetVar() combines any GET parameters in PHP array notation (e.g. "foo[bar]=val") instead of replacing the whole array
BUGFIX HTTP::setGetVar() uses parse_url() and http_build_query() to add query parameters to an existing URL, instead of doing its own regex-based parsing. This means existing GET parameters are correctly url encoded. (from r98373)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102647 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:21:33 +00:00
Ingo Schommer
e43f6d8a0d
MINOR Documentation (from r98372)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102646 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:20:59 +00:00
Ingo Schommer
4f84761ab4
MINOR Fixed test case name in Hierarchy (from r98370)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102645 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:20:46 +00:00
Ingo Schommer
761f607615
MINOR Added test case for Hierarchy::getDescendantIDList() which also tests Hierarchy::loadDescendantIDListInto() (from r98369)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102644 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:20:33 +00:00