Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mateusz/sapphire
...
head fork: mateusz/sapphire
This comparison is big! We’re only showing the most recent 250 commits
Commits on Feb 02, 2011
Will Rossiter FEATURE: allow you to disable ?m suffixing of requirements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74326 467b73ca-7a2a-4603-9d3b-597d59a354a9
fbdabff
Will Rossiter FEATURE: added $Var.UpperCase support to DBField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74327 467b73ca-7a2a-4603-9d3b-597d59a354a9
181105a
Will Rossiter BUGFIX: fixed overflow being hidden
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74391 467b73ca-7a2a-4603-9d3b-597d59a354a9
df6ab63
Normann Lou fix the bug in Mingle (SC #234):Users reporting a parse error when tr…
…ying to open grants. also HD(1571).

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74416 467b73ca-7a2a-4603-9d3b-597d59a354a9
cfbda47
Will Rossiter MINOR: refactored dulicate code in ResetFormField, who knew we had a …
…reset form field...

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74462 467b73ca-7a2a-4603-9d3b-597d59a354a9
d7aead3
Will Rossiter BUGFIX: fixed typos in ResetFormAction
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74477 467b73ca-7a2a-4603-9d3b-597d59a354a9
a7cd85b
Normann Lou BUGFIX: A SoapServer will cache the wsdlFile when it is first initial…
…ized and never get updated if the constructor is not explicitly passed in 'cache_wsdl' as WSDL_CACHE_NONE.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74487 467b73ca-7a2a-4603-9d3b-597d59a354a9
d78fecd
Normann Lou BUGFIX: add more condition before $this->form is used as Caller since…
… $this->form can still not be set yet in a certain circumstance.

ENHANCEMENT: add the ability that a SimpleImageField could be disabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74489 467b73ca-7a2a-4603-9d3b-597d59a354a9
2889ab1
Normann Lou git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapp…
…hire/branches/2.3@74490 467b73ca-7a2a-4603-9d3b-597d59a354a9
15c4b90
Normann Lou Undoing changeset committed in r74490
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74501 467b73ca-7a2a-4603-9d3b-597d59a354a9
f511778
Normann Lou FEATURE: make PasswordField and ConfirmedPasswordField able to either…
… readonly or disabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74503 467b73ca-7a2a-4603-9d3b-597d59a354a9
12e2c9c
Normann Lou FEATURE: make PasswordField and ConfirmedPasswordField able to either…
… readonly or disabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74538 467b73ca-7a2a-4603-9d3b-597d59a354a9
786b777
@halkyon halkyon BUGFIX Added missing default english text for "No items found" in Tab…
…leListField.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74620 467b73ca-7a2a-4603-9d3b-597d59a354a9
03a6630
@chillu chillu BUGFIX Fixed NumericField javascript validation to not fail on number…
…s with trailing or leading whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74657 467b73ca-7a2a-4603-9d3b-597d59a354a9
6a51018
@halkyon halkyon MINOR Changed misleading test result explanation from "exact", even t…
…hough it was for a partial match

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74703 467b73ca-7a2a-4603-9d3b-597d59a354a9
5b78832
@chillu chillu BUGFIX Fixing NumericField serverside validation to accept numbers wi…
…th leading or trailing spaces by using trim()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74721 467b73ca-7a2a-4603-9d3b-597d59a354a9
c0a7241
@chillu chillu BUGFIX Fixing CurrencyField serverside and javascript validation to a…
…ccept numbers with leading or trailing spaces

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74725 467b73ca-7a2a-4603-9d3b-597d59a354a9
fe5e722
Will Rossiter FEATURE: hooks into form field to allow custom error messages. Note d…
…oes not currently apply to the behaviour / js. Just the PHP validation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74739 467b73ca-7a2a-4603-9d3b-597d59a354a9
3ff0fc1
Will Rossiter MINOR: code formatting improvements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74740 467b73ca-7a2a-4603-9d3b-597d59a354a9
67918d0
Normann Lou APICHANGE: pass argument $includerelations into DataObject::fieldLabe…
…ls() default as true;

APICHANGE: BulkLoader::getImportSpec() call DataObject::fieldLables() with $includerelations as false, so that the relations is separated from column fields

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74858 467b73ca-7a2a-4603-9d3b-597d59a354a9
5c612be
@halkyon halkyon BUGFIX Removed additional $ sign that isn't supposed to be there that…
… broke GroupTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74879 467b73ca-7a2a-4603-9d3b-597d59a354a9
40a7d71
@hafriedlander hafriedlander MINOR: Inline images by setting ContentLocation on Attached Files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74893 467b73ca-7a2a-4603-9d3b-597d59a354a9
ba6649a
@halkyon halkyon BUGFIX If validator doesn't exist on Form, don't attempt to call setF…
…orm() on it or you'll get a non-object error

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74899 467b73ca-7a2a-4603-9d3b-597d59a354a9
b6d6dfb
@halkyon halkyon Reverted r74899
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74900 467b73ca-7a2a-4603-9d3b-597d59a354a9
859bbb2
Normann Lou APICHANGE: add documentation to changeset r74858.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74901 467b73ca-7a2a-4603-9d3b-597d59a354a9
3861c33
@chillu chillu BUGFIX Making sure all input fields inside a newly added TableField r…
…ow have unique HTML ids. This was causing problems when javascript logic was acting on those (previously ambiguous fields), e.g. when trying to use a jQuery UI datepicker

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74902 467b73ca-7a2a-4603-9d3b-597d59a354a9
2cb4b43
@chillu chillu BUGFIX Re-added Requirements::clear() to ComplexTableField_Popup init…
…ialization to avoid including the dozens of javascript files required by CMSMain and LeftAndMain, they're not needed in a popup, and cause side-effects like missing scrollbars, weird CSS styling and generally slow loading time.

BUGFIX Removed overflow:autio CSS rule in ComplexTableField.css which was causing double scrollbars in a popup. This was a hack to work around <body style="overflow:hidden"> which was set by LeftAndMain.js - this file is no longer included in the popup HTML.
BUGFIX Removed unnecessary requirements from ComplexTableField_Popup: LeftAndMain.js, LeftAndMain_right.js, TableField.js, ComplexTableField.js - they will be included by the fields if necessary

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74904 467b73ca-7a2a-4603-9d3b-597d59a354a9
a869951
@chillu chillu BUGFIX Moving Requirements for TableField, TableListField, ComplexTab…
…leField, ScaffoldComplexTableField and HasManyComplexTableField from __construct() into FieldHolder() and renderWith(), which means inclusion closer to render time, and less side-effects by a previous Requirements::clear(), e.g. in a CTF popup

ENHANCEMENT Removed constructor overloading in ScaffoldingComplexTableField, was reconstrcuting its own Requirements (with lots of unnecessary jQuery plugins) which should really be done by the individual form fields and the parent popup class

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74919 467b73ca-7a2a-4603-9d3b-597d59a354a9
9999f8e
@chillu chillu BUGFIX Clearing Requirements in ScaffoldingComplexTableField, and fix…
…ed constructor arguments

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74927 467b73ca-7a2a-4603-9d3b-597d59a354a9
bdce229
@halkyon halkyon BUGFIX Fixed error if JS/CSS requirements have arguments. Ticket #3860.…
… Thanks simon_w!

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74961 467b73ca-7a2a-4603-9d3b-597d59a354a9
3235288
@halkyon halkyon API CHANGE Deprecated DataObjectSet->toDropDownMap() and made it an a…
…lias of map(), copying the functionality of toDropDownMap() into map()

MINOR Added phpDoc for @deprecated methods - toDropDownMap() and filter_map()

MINOR Added new test class - DataObjectSetTest

MINOR Added tests for map(), toDropDownMap(), Count(), First() and Last() on DataObjectSetTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74969 467b73ca-7a2a-4603-9d3b-597d59a354a9
f646b86
@halkyon halkyon MINOR Added @deprecated comment to DataObjectSet->map_multiple()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74975 467b73ca-7a2a-4603-9d3b-597d59a354a9
a91ea3f
@halkyon halkyon BUGFIX Fixed spelling mistake of "getOrientation" method name on Image
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74978 467b73ca-7a2a-4603-9d3b-597d59a354a9
fa202e5
@halkyon halkyon BUGFIX Member::inGroup() returns false instead of an error if group d…
…oesn't exist. Ticket #3813 - thanks bgribaudo!

MINOR Updated MemberTest to test a case where a group doesn't exist, and thus we assert Member::inGroup() returns false



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74981 467b73ca-7a2a-4603-9d3b-597d59a354a9
ced1f25
@chillu chillu Merging in refactored Translatable architecture from trunk, including…
… related/required changesets like enhancements to Object static handling (see details below)

------------------------------------------------------------------------
r68900 | sminnee | 2008-12-15 14:30:41 +1300 (Mon, 15 Dec 2008) | 1 line

Static caching merges from dnc branch
------------------------------------------------------------------------
r68917 | sminnee | 2008-12-15 14:49:06 +1300 (Mon, 15 Dec 2008) | 1 line

Merged Requirements fix from nestedurls branch
------------------------------------------------------------------------
r70033 | aoneil | 2009-01-13 14:03:41 +1300 (Tue, 13 Jan 2009) | 2 lines

Add translation migration task

------------------------------------------------------------------------
r70072 | ischommer | 2009-01-13 17:34:27 +1300 (Tue, 13 Jan 2009) | 5 lines

API CHANGE Removed obsolete internal Translatable methods: hasOwnTranslatableFields(), allFieldsInTable()
ENHANCEMENT Removed $create flag in Translatable::getTranslation() and replaced with explit action createTranslation()
ENHANCEMENT Sorting return array of Translatable::getTranslatedLangs()
ENHANCEMENT Added a note about saving a page before creating a translation
MINOR Added phpdoc to Translatable
------------------------------------------------------------------------
r70073 | ischommer | 2009-01-13 17:34:45 +1300 (Tue, 13 Jan 2009) | 1 line

ENHANCEMENT Added basic unit tests to new Translatable API
------------------------------------------------------------------------
r70080 | aoneil | 2009-01-13 18:04:21 +1300 (Tue, 13 Jan 2009) | 3 lines

BUGFIX: Fix translatable migration regenerating URLSegments when it shouldn't
BUGFIX: Fix translatable migration not writing records to Live properly

------------------------------------------------------------------------
r70118 | ischommer | 2009-01-14 11:28:24 +1300 (Wed, 14 Jan 2009) | 3 lines

API CHANGE Removed obsolete Translatable::table_exists()
ENHANCEMENT Made Translatable constructor arguments optional, as by default all database fields are marked translatable
MINOR More unit tests for Translatable
------------------------------------------------------------------------
r70138 | ischommer | 2009-01-14 17:00:30 +1300 (Wed, 14 Jan 2009) | 1 line

BUGFIX Disabled assumption that SQLQuery->filtersOnID() should only kick in when exactly one WHERE clause is given - this is very fragile and hard to test. It would return TRUE on $where = "SiteTree.ID = 5", but not on $where = array("Lang = 'de'", "SiteTree.ID = 5")
------------------------------------------------------------------------
r70214 | ischommer | 2009-01-15 18:56:25 +1300 (Thu, 15 Jan 2009) | 3 lines

BUGFIX Falling back to Translatable::current_lang() if no $context object is given, in augmentAllChildrenIncludingDeleted() and AllChildrenIncludingDeleted()
MINOR phpdoc for Translatable
MINOR Added more Translatable unit tests
------------------------------------------------------------------------
r70306 | ischommer | 2009-01-16 17:14:34 +1300 (Fri, 16 Jan 2009) | 9 lines

ENHANCEMENT Recursively creating translations for parent pages to ensure that a translated page is still accessible by traversing the tree, e.g. in "cms translation mode" (in Translatable->onBeforeWrite())
ENHANCEMENT Simplified AllChildrenIncludingDeleted() to not require a special augmentAllChildrenIncludingDeleted() implementation: We don't combine untranslated/translated children any longer (which was used in CMS tree view), but rather just show translated records
ENHANCEMENT Ensuring uniqueness of URL segments by appending "-<langcode>" to new translations (in Translatable->onBeforeWrite())
ENHANCEMENT Added Translatable->alternateGetByUrl() as a hook into SiteTree::get_by_url()
ENHANCEMENT Adding link back to original page in CMS editform for translations
BUGFIX Excluding HiddenField instances from Translatable->updateCMSFields()
BUGFIX Don't require a record to be written (through exists()) when checking Translatable->isTranslation() or Translatable->hasTranslation()
MINOR Don't use createMethod() shortcut for Translatable->AllChildrenIncludingDeleted()
MINOR Added Translatable unit tests
------------------------------------------------------------------------
r70318 | ischommer | 2009-01-19 11:46:16 +1300 (Mon, 19 Jan 2009) | 1 line

BUGFIX Reverted special cases for Translatable in Versioned->canBeVersioned() (originally committed in r42119) - was checking for existence of underscores in table names as an indication of the "_lang" suffix, which is no longer needed. It was also a flawed assumption which tripped over classes like TranslatableTest_TestPage
------------------------------------------------------------------------
r70319 | ischommer | 2009-01-19 11:47:02 +1300 (Mon, 19 Jan 2009) | 1 line

ENHANCEMENT Disabled Translatab-e>augmentWrite() - was only needed for the blacklist fields implementation which is inactive for the moment
------------------------------------------------------------------------
r70326 | ischommer | 2009-01-19 14:25:23 +1300 (Mon, 19 Jan 2009) | 2 lines

ENHANCEMENT Making ErrorPage static HTML files translatable (#2233)
ENHANCEMENT Added ErrorPage::$static_filepath to flexibly set location of static error pages (defaults to /assets)
------------------------------------------------------------------------
r70327 | ischommer | 2009-01-19 15:18:41 +1300 (Mon, 19 Jan 2009) | 1 line

FEATURE Enabled specifying a language through a hidden field in SearchForm which limits the search to pages in this language (incl. unit tests)
------------------------------------------------------------------------
r71258 | sharvey | 2009-02-03 15:49:34 +1300 (Tue, 03 Feb 2009) | 2 lines

BUGFIX: Fix translatable being enabled when it shouldn't be

------------------------------------------------------------------------
r71340 | ischommer | 2009-02-04 14:36:12 +1300 (Wed, 04 Feb 2009) | 1 line

BUGFIX Including Hierarchy->children in flushCache() and renamed to _cache_children. This caused problems in TranslatableTest when re-using the same SiteTree->Children() method with different languages on the same object (even with calling flushCache() inbetween the calls)
------------------------------------------------------------------------
r71567 | gmunn | 2009-02-10 13:49:16 +1300 (Tue, 10 Feb 2009) | 1 line

'URLSegment' on line 484 and 494 now escaped
------------------------------------------------------------------------
r72054 | ischommer | 2009-02-23 10:30:41 +1300 (Mon, 23 Feb 2009) | 3 lines

BUGFIX Fixed finding a translated homepage without an explicit URLSegment (e.g. http://mysite.com/?lang=de) - see #3540
ENHANCEMENT Added Translatable::get_homepage_urlsegment_by_language()
ENHANCEMENT Added RootURLController::get_default_homepage_urlsegment()
------------------------------------------------------------------------
r72367 | ischommer | 2009-03-03 11:13:30 +1300 (Tue, 03 Mar 2009) | 2 lines

ENHANCEMENT Added i18n::get_lang_from_locale() and i18n::convert_rfc1766()
ENHANCEMENT Using IETF/HTTP compatible "long" language code in SiteTree->MetaTags(). This means the default <meta type="content-language..."> value will be "en-US" instead of "en". The locale can be either set through the Translatable content language, or through i18n::set_locale()
------------------------------------------------------------------------
r73036 | sminnee | 2009-03-14 13:16:32 +1300 (Sat, 14 Mar 2009) | 1 line

ENHANCEMENT #3032 ajshort: Use static methods for accessing static data
------------------------------------------------------------------------
r73059 | sminnee | 2009-03-15 14:09:59 +1300 (Sun, 15 Mar 2009) | 2 lines

ENHANCEMENT: Added Object::clearCache() to clear a cache
BUGFIX: Make object cache testing more robust
------------------------------------------------------------------------
r73338 | ischommer | 2009-03-19 05:13:40 +1300 (Thu, 19 Mar 2009) | 9 lines

API CHANGE Added concept of "translation groups" to Translatable- every page can belong to a group of related translations, rather than having an explicit "original", meaning you can have pages in "non-default" languages which have no representation in other language trees. This group is recorded in a new table "<classname>_translationgroups". Translatable->createTranslation() and Translatable->onBeforeWrite() will automatically associate records in this groups. Added Translatable->addTranslationGroup(), Translatable->removeTranslationGroup(), Translatable->getTranslationGroup()
API CHANGE Removed Translatable->isTranslation() - after the new "translation group" model, every page is potentially a translation
API CHANGE Translatable->findOriginalIDs(), Translatable->setOriginalPage(), Translatable->getOriginalPage()
ENHANCEMENT Translatable->getCMSFields() will now always show the "create translation" option, not only on default languages - meaning you can create translations based on other translations
ENHANCEMENT Translatable language dropdown in CMS will always show all available languages, rather than filtering by already existing translations
ENHANCEMENT Added check for an existing record in Translatable->createTranslation()
BUGFIX Removed Translatable->getLang() which overloaded the $db property - it was causing side effects during creation of SiteTree default records.
BUGFIX Added check in Translatable->augmentSQL() to avoid reapplying "Lang = ..." filter twice
BUGFIX Removed bypass in Translatable->AllChildrenIncludingDeleted()
------------------------------------------------------------------------
r73339 | ischommer | 2009-03-19 05:15:46 +1300 (Thu, 19 Mar 2009) | 1 line

BUGFIX Disabled "untranslated" CSS class for SiteTree elements - doesn't apply any longer with the new "translation groups" concept
------------------------------------------------------------------------
r73341 | ischommer | 2009-03-19 06:01:51 +1300 (Thu, 19 Mar 2009) | 1 line

BUGFIX Disabled auto-excluding of default language from the "available languages" array in LanguageDropdownField - due to the new "translation groups" its possible to have a translation from another language into the default language
------------------------------------------------------------------------
r73342 | ischommer | 2009-03-19 06:13:23 +1300 (Thu, 19 Mar 2009) | 4 lines

BUGFIX Setting ParentID of translated record if recursively creating parents in Translatable::onBeforeWrite()
BUGFIX Fixing inline form action for "create translation"
BUGFIX Removed link to "original page" for a translation - no longer valid
MINOR documentation for Translatable
------------------------------------------------------------------------
r73464 | ischommer | 2009-03-20 20:51:00 +1300 (Fri, 20 Mar 2009) | 1 line

MINOR documentation
------------------------------------------------------------------------
r73465 | ischommer | 2009-03-20 20:58:52 +1300 (Fri, 20 Mar 2009) | 1 line

BUGFIX Fixed Hierarchy->Children() testing in TranslatableTest - with the new datamodel you can't call Children() in a different language regardless of Translatable::set_reading_lang(), the Children() call has to be made from a parent in the same language
------------------------------------------------------------------------
r73466 | ischommer | 2009-03-20 21:36:40 +1300 (Fri, 20 Mar 2009) | 2 lines

ENHANCEMENT Added Translatable::get_locale_from_lang(), Translatable::get_common_locales(), $common_locales and $likely_subtags in preparation to switch Translatable from using short "lang" codes to proper long locales
API CHANGE Deprecated Translatable::set_default_lang(), Translatable::default_lang()
------------------------------------------------------------------------
r73467 | ischommer | 2009-03-20 21:38:57 +1300 (Fri, 20 Mar 2009) | 1 line

ENHANCEMENT Supporting "Locale-English" and "Locale-Native" as listing arguments in LanguageDropdownField
------------------------------------------------------------------------
r73468 | ischommer | 2009-03-20 21:47:06 +1300 (Fri, 20 Mar 2009) | 7 lines

ENHANCEMENT Adjusted SearchForm, Debug, ErrorPage, SiteTree to using locales instead of lang codes
API CHANGE Changed Translatable datamodel to use locales ("en_US") instead of lang values ("en).
API CHANGE Changed Translatable::$default_lang to $default_locale, Translatable::$reading_lang to $reading_locale
API CHANGE Using "locale" instead of "lang" in Translatable::choose_site_lang() to auto-detect language from cookies or GET parameters
API CHANGE Deprecated Translatable::is_default_lang(), set_default_lang(), get_default_lang(), current_lang(), set_reading_lang(), get_reading_lang(), get_by_lang(), get_one_by_lang()
API CHANGE Removed Translatable::get_original() - with the new "translation groups" concept there no longer is an original for a translation
BUGFIX Updated MigrateTranslatableTask to new Locale based datamodel
------------------------------------------------------------------------
r73470 | ischommer | 2009-03-20 21:56:57 +1300 (Fri, 20 Mar 2009) | 1 line

MINOR fixed typo
------------------------------------------------------------------------
r73472 | sminnee | 2009-03-21 17:30:04 +1300 (Sat, 21 Mar 2009) | 1 line

BUGFIX: Fixed translatable test execution by making protected methods public
------------------------------------------------------------------------
r73473 | sminnee | 2009-03-21 18:10:05 +1300 (Sat, 21 Mar 2009) | 1 line

ENHANCEMENT: Added Object::combined_static(), which gets all values of a static property from each class in the hierarchy
------------------------------------------------------------------------
r73883 | ischommer | 2009-04-01 08:32:19 +1300 (Wed, 01 Apr 2009) | 1 line

BUGFIX Making $_SINGLETONS a global instead of a static in Core.php so it can be re-used in other places
------------------------------------------------------------------------
r73951 | ischommer | 2009-04-02 05:35:32 +1300 (Thu, 02 Apr 2009) | 3 lines

API CHANGE Deprecated Translatable::enable() and i18n::enable()- use Object::add_extension('SiteTree','Translatable'), Deprecated Translatable::disable() and i18n::disable() - use Object::remove_extension('SiteTree','Translatable'), Deprecated Translatable::enabled() - use $myPage->hasExtension('Translatable')
API CHANGE Removed Translatable::creating_from() - doesn't apply any longer
ENHANCEMENT Translatable extension is no longer hooked up to SiteTree by default, which should improve performance and memory usage for sites not using Translatable. Please use Object::add_extension('SiteTree','Translatable') in your _config.php instead. Adjusted several classes (Image, ErrorPage, RootURLController) to the new behaviour.
------------------------------------------------------------------------
r73882 | ischommer | 2009-04-01 08:31:21 +1300 (Wed, 01 Apr 2009) | 1 line

ENHANCEMENT Added DataObjectDecorator->setOwner()
------------------------------------------------------------------------
r73884 | ischommer | 2009-04-01 08:32:51 +1300 (Wed, 01 Apr 2009) | 1 line

ENHANCEMENT Added Extension::get_classname_without_arguments()
------------------------------------------------------------------------
r73900 | ischommer | 2009-04-01 11:27:53 +1300 (Wed, 01 Apr 2009) | 7 lines

API CHANGE Deprecated Object->extInstance(), use getExtensionInstance() instead
ENHANCEMENT Added Object->getExtensionInstances()
ENHANCEMENT Added Object::get_extensions()
ENHANCEMENT Unsetting class caches when using Object::add_extension() to avoid problems with defineMethods etc.
BUGFIX Fixed extension comparison with case sensitivity and stripping arguments in Object::has_extension()
BUGFIX Unsetting all cached singletons in Object::remove_extension() to avoid outdated extension_instances
MINOR Documentation in Object
------------------------------------------------------------------------
r74017 | ischommer | 2009-04-03 10:49:40 +1300 (Fri, 03 Apr 2009) | 1 line

ENHANCEMENT Improved deprecated fallbacks in Translatable by auto-converting short language codes to long locales and vice versa through i18n::get_lang_from_locale()/i18n::get_locale_from_lang()
------------------------------------------------------------------------
r74030 | ischommer | 2009-04-03 11:41:26 +1300 (Fri, 03 Apr 2009) | 1 line

MINOR Re-added Translatable::default_lang() for more graceful fallback to Translatable::default_locale()
------------------------------------------------------------------------
r74065 | ischommer | 2009-04-04 05:38:51 +1300 (Sat, 04 Apr 2009) | 1 line

BUGFIX Re-added Translatable->isTranslation() for more friendly deprecation (originally removed in r73338)
------------------------------------------------------------------------
r74069 | ischommer | 2009-04-04 09:43:01 +1300 (Sat, 04 Apr 2009) | 1 line

BUGFIX Fixed legacy handling of Translatable::enable(),Translatable::disable() and Translatable::is_enabled() - applying extension to SiteTree instead of Page to avoid datamodel clashes
------------------------------------------------------------------------
r74070 | ischommer | 2009-04-04 10:23:51 +1300 (Sat, 04 Apr 2009) | 1 line

API CHANGE Deprecated Translatable::choose_site_lang(), use choose_site_locale()
------------------------------------------------------------------------
r74941 | ischommer | 2009-04-22 15:22:09 +1200 (Wed, 22 Apr 2009) | 2 lines

ENHANCEMENT Adding SapphireTest::set_up_once() and SapphireTest::tear_down_once() for better test performance with state that just needs to be initialized once per test case (not per test method). Added new SapphireTestSuite to support this through PHPUnit.
ENHANCEMENT Using set_up_once() in TranslatableTest and TranslatableSearchFormTest for better test run performance
------------------------------------------------------------------------
r74942 | ischommer | 2009-04-22 15:24:50 +1200 (Wed, 22 Apr 2009) | 1 line

BUGFIX Fixed TranslatableSearchFormTest->setUp() method
------------------------------------------------------------------------
r73509 | ischommer | 2009-03-23 11:59:14 +1300 (Mon, 23 Mar 2009) | 1 line

MINOR phpdoc documentation
------------------------------------------------------------------------


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74986 467b73ca-7a2a-4603-9d3b-597d59a354a9
3469e4d
@halkyon halkyon BUGFIX Fixed "Log in as someone else" action failure when submitting …
…MemberLoginForm while logged in

MINOR Added test for "Log in as someone else" to SecurityTest
MINOR Removed redundant code from SecurityTest



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75032 467b73ca-7a2a-4603-9d3b-597d59a354a9
7cea3a6
@sminnee sminnee BUGFIX: Select correct default data formatter in restfulserver when t…
…here's an apparently useful Accept header that doesn't actually match a data formatter{

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75034 467b73ca-7a2a-4603-9d3b-597d59a354a9
953973b
@sminnee sminnee BUGFIX #3594: Made WYSIWYG editor 50% larger
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75038 467b73ca-7a2a-4603-9d3b-597d59a354a9
3674676
@halkyon halkyon BUGFIX Fixed case where logging in with a session member ID that didn…
…'t exist in the database stopped you from being able to "Log in as someone else"

MINOR Added test for the case where a member ID exists in the session, but doesn't exist in the DB



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75039 467b73ca-7a2a-4603-9d3b-597d59a354a9
6cb8eca
@halkyon halkyon MINOR Tweaked SecurityTest to include response checking on "Log in as…
… someone else" test case

MINOR Removed test case that was not necessary for checking session Member ID that exists in the DB anyway


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75040 467b73ca-7a2a-4603-9d3b-597d59a354a9
ced037f
@halkyon halkyon MINOR Moved member logged in check from MemberLoginFrom to a static f…
…unction Member

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75044 467b73ca-7a2a-4603-9d3b-597d59a354a9
756735b
@halkyon halkyon BUGFIX Ensure that CheckboxField setValue() always sets it's value as…
… either 1 or 0, even though the request data can come through as "on"

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75045 467b73ca-7a2a-4603-9d3b-597d59a354a9
578a53a
@halkyon halkyon BUGFIX Make sure that CheckboxField sets it's value as either 1 or 0,…
… so that saveInto() saves the proper boolean value

MINOR Added tests for observing the dataValue() and Value() return values based on setting different values to the field


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75046 467b73ca-7a2a-4603-9d3b-597d59a354a9
8605743
@halkyon halkyon MINOR Added CheckboxFieldTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75047 467b73ca-7a2a-4603-9d3b-597d59a354a9
c272082
@halkyon halkyon BUGFIX Ensure that CheckboxField always returns 1 from the form reque…
…st data instead of "on" - this was because the value attribute didn't exist on the <input> tag

MINOR Added tests for checking saveInto() behaviour on CheckboxFieldTest


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75049 467b73ca-7a2a-4603-9d3b-597d59a354a9
bc443b1
@sminnee sminnee BUGFIX: Use rendered page for 404 pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75095 467b73ca-7a2a-4603-9d3b-597d59a354a9
8a1d21b
@sminnee sminnee BUGFIX: Allow execution of actions (such as Page's search) on ErrorPa…
…ge; limit the 404 display to the index() action

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75096 467b73ca-7a2a-4603-9d3b-597d59a354a9
35a3cd9
@halkyon halkyon MINOR Fixed ErrorPage test failing because the fixture couldn't be found
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75109 467b73ca-7a2a-4603-9d3b-597d59a354a9
dd97216
@halkyon halkyon MINOR Tweaked ErrorPageTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75114 467b73ca-7a2a-4603-9d3b-597d59a354a9
2b30a71
@halkyon halkyon MINOR Added test method for testing behaviour of menu and search visi…
…bility for an error page in ErrorPageTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75115 467b73ca-7a2a-4603-9d3b-597d59a354a9
ee0275b
@halkyon halkyon BUGFIX Fixed alternative database not being reset back to the normal …
…one after TestRunner is finished

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75116 467b73ca-7a2a-4603-9d3b-597d59a354a9
496d159
@halkyon halkyon ENHANCEMENT Allow "Yes" and "No" english text to be translated
BUGFIX Fix DropdownField to select the correct option when using a map with "0" as an array key - useful for boolean searching using DropdownField
MINOR Added tests to DropdownFieldTest for asserting the correct OPTION element is selected

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75119 467b73ca-7a2a-4603-9d3b-597d59a354a9
67e5126
@halkyon halkyon BUGFIX Fixed CSVParser constructor not passing the arguments to the p…
…rotected variables delimiter and enclosure

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75125 467b73ca-7a2a-4603-9d3b-597d59a354a9
e16c929
@halkyon halkyon BUGFIX Fixed incorrect spelling of "$this" variable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75126 467b73ca-7a2a-4603-9d3b-597d59a354a9
a2226ab
@halkyon halkyon MINOR Removed NZ specific stuff from Geoip::ip2country()
MINOR Code formatting fixes to Geoip::ip2country()
MINOR Updated phpDoc for Geoip class, and Geoip::ip2country()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75127 467b73ca-7a2a-4603-9d3b-597d59a354a9
819601d
@sminnee sminnee BUGFIX #3919: Fix DataObject::dbObject() for decorated fields (Merged…
… from r75150)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75151 467b73ca-7a2a-4603-9d3b-597d59a354a9
2e4dfa3
@chillu chillu MINOR Merged ObjectStaticTest and TranslatableSearchFormTest from tru…
…nk, missed when merging the remaining Translatable improvements in r74986

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75157 467b73ca-7a2a-4603-9d3b-597d59a354a9
8e72a97
@halkyon halkyon BUGFIX Disable Geoip if in CLI mode - this fixes the tests from break…
…ing. The geoip command won't be available in CLI context

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75161 467b73ca-7a2a-4603-9d3b-597d59a354a9
d8b22a0
@sminnee sminnee BUGFIX: Disable warning about PastMember cookie if contnet was sent t…
…oo early.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75223 467b73ca-7a2a-4603-9d3b-597d59a354a9
ef15f1a
@sminnee sminnee ENHANCEMENT #3920: Alllow searching within subfolders in Files and Im…
…ages section

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75228 467b73ca-7a2a-4603-9d3b-597d59a354a9
89d57e8
@halkyon halkyon BUGFIX Fixed HTTPRequest::send_file() to send the file properly over …
…SSL with Internet Explorer. Without the pragma header, it won't work

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75258 467b73ca-7a2a-4603-9d3b-597d59a354a9
bab746c
@halkyon halkyon MINOR Fixed call to addHeader() properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75262 467b73ca-7a2a-4603-9d3b-597d59a354a9
033d55e
@halkyon halkyon BUGFIX Fixed HTTPRequest::send_file() to actually output the response…
…, whereas before it did nothing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75263 467b73ca-7a2a-4603-9d3b-597d59a354a9
2c162a2
@halkyon halkyon MINOR Fixed HTTP::sendFileToBrowser() to output the response properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75264 467b73ca-7a2a-4603-9d3b-597d59a354a9
ec5b9ec
@halkyon halkyon Reverted r75263 and r75264
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75267 467b73ca-7a2a-4603-9d3b-597d59a354a9
18e0bcf
@sminnee sminnee MINOR: Fixes to GroupTest to handle canEdit() restrictions on the groups
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75488 467b73ca-7a2a-4603-9d3b-597d59a354a9
54a5dc5
@sminnee sminnee BUGFIX: Updated DataObjectSet::map() to use empty string, rather than…
… 0, as the empty value

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75585 467b73ca-7a2a-4603-9d3b-597d59a354a9
bc7c833
@halkyon halkyon MINOR Check that parent::__construct() is called on RequestHandler su…
…bclasses, throw a warning if not

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75657 467b73ca-7a2a-4603-9d3b-597d59a354a9
fe87ef7
@halkyon halkyon Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75660 467b73ca-7a2a-4603-9d3b-597d59a354a9
3058949
@chillu chillu MINOR Merged Translatable fixes from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75685 467b73ca-7a2a-4603-9d3b-597d59a354a9
42e7894
@halkyon halkyon Merged r75690 from sapphire/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75700 467b73ca-7a2a-4603-9d3b-597d59a354a9
1dc4e68
@halkyon halkyon Merged r75697 from sapphire/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75702 467b73ca-7a2a-4603-9d3b-597d59a354a9
400023c
@chillu chillu MINOR merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2622c15
@sminnee sminnee ENHANCEMENT: Added Versioned::get_including_deleted(), for querying d…
…eleted pages.

ENHANCEMENT: Added childrenMethod argument to Hierarchy tree-generation functions.
ENHANCEMENT: Added 'show deleted pages' function to CMS, with a restore page option.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75736 467b73ca-7a2a-4603-9d3b-597d59a354a9
7861a8f
@halkyon halkyon #3927 ENHANCEMENT Added support for many-many auto-setting relations …
…with a standard ComplexTableField

MINOR Added tests for ComplexTableField - ComplexTableFieldTest


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75738 467b73ca-7a2a-4603-9d3b-597d59a354a9
faeed90
@halkyon halkyon BUGFIX #3959: Fixed auto-setting has many relations on CTF - works mo…
…stly like the many-many relation auto setting.

MINOR Added test cases for auto-setting has-many relations



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75743 467b73ca-7a2a-4603-9d3b-597d59a354a9
78d3689
@halkyon halkyon MINOR Changed test method name in ComplexTableFieldTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75744 467b73ca-7a2a-4603-9d3b-597d59a354a9
4969a8d
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75746 467b73ca-7a2a-4603-9d3b-597d59a354a9
38a794b
@halkyon halkyon MINOR Added ErrorPageTest for testing standard error, and error with …
…template when the ErrorPage is published

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75752 467b73ca-7a2a-4603-9d3b-597d59a354a9
0cafc79
@halkyon halkyon ENHANCEMENT Allow selecting a single field from ComponentSet::getExtr…
…aData()

MINOR Removed redundant code from ComplexTableField
MINOR Added more test cases for extra data on ComplexTableFieldTest


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75759 467b73ca-7a2a-4603-9d3b-597d59a354a9
7a4b180
@chillu chillu MINOR merged from 2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2c6ba80
Will Rossiter ENHANCHEMENT: added ability for a form author to set whether user sho…
…uld be redirected back down the the form rather then just back to the old page

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75784 467b73ca-7a2a-4603-9d3b-597d59a354a9
c5ffdd4
@halkyon halkyon BUGFIX Fixed faulty regex that broke rewritten links to be relative t…
…o the base href

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75787 467b73ca-7a2a-4603-9d3b-597d59a354a9
2387bbc
@sminnee sminnee ENHANCEMENT: Added page location fields in the behaviour tab, as an a…
…lternative to drag and drop

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75814 467b73ca-7a2a-4603-9d3b-597d59a354a9
98f7d9b
@halkyon halkyon Reverted r69824
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75816 467b73ca-7a2a-4603-9d3b-597d59a354a9
928e937
@chillu chillu BUGFIX Checking for existing value on TreeDropdownField->performReado…
…nlyTransformation() - this broke the ReadonlyTransformation on Translatable->updateCMSFields() for the new "ParentID" field in SiteTree->getCMSFields()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75831 467b73ca-7a2a-4603-9d3b-597d59a354a9
e825a3b
@chillu chillu MINOR Merged from 2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75838 467b73ca-7a2a-4603-9d3b-597d59a354a9
5152393
@halkyon halkyon MINOR Removed extra data stuff from ComponentSet/ComplexTableField as…
… this is not fully developed yet

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75855 467b73ca-7a2a-4603-9d3b-597d59a354a9
45ff4b6
@sminnee sminnee MINOR: Improved temporary table generation to be more test-friendly.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2574968
@sminnee sminnee BUGFIX #3970: Make virtual page editing work.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75869 467b73ca-7a2a-4603-9d3b-597d59a354a9
f880f4e
@sminnee sminnee BUGFIX: Automatically publish virtual pages when their source pages a…
…re published

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75873 467b73ca-7a2a-4603-9d3b-597d59a354a9
6095849
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75916 467b73ca-7a2a-4603-9d3b-597d59a354a9
897d4f1
@halkyon halkyon BUGFIX Ensure that when template content is being parsed by Email::pa…
…rseVariables(), template path comments don't show

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75920 467b73ca-7a2a-4603-9d3b-597d59a354a9
db6f71a
@chillu chillu MINOR merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75937 467b73ca-7a2a-4603-9d3b-597d59a354a9
5620ba9
@sminnee sminnee MINOR: Added flush=1 to test executor (merged from trunk)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75956 467b73ca-7a2a-4603-9d3b-597d59a354a9
44ed55a
@ajoneil ajoneil BUGFIX: Unblock blocked requirements when opening a poppup - otherwise
HTMLEditorFields won't work


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76019 467b73ca-7a2a-4603-9d3b-597d59a354a9
ea08567
@sminnee sminnee MINOR: Merged translatable URL handling fixes from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76035 467b73ca-7a2a-4603-9d3b-597d59a354a9
fafca08
@sminnee sminnee BUGFIX: Fixed extraFilter argument for SiteTree::get_by_url() when tr…
…anslatable is enabled

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76036 467b73ca-7a2a-4603-9d3b-597d59a354a9
8c9b7b2
@sminnee sminnee BUGFIX: Fixed text runner for PHP 5.1
API CHANGE: Added FunctionalTest::logInAs() to simplify logging in for tests.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76115 467b73ca-7a2a-4603-9d3b-597d59a354a9
2263aaa
@sminnee sminnee API CHANGE: Made DBField::$default_search_filter_class public rather …
…than protected, so that it could be access with Object::get_static()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76123 467b73ca-7a2a-4603-9d3b-597d59a354a9
8b23541
@halkyon halkyon Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76205 467b73ca-7a2a-4603-9d3b-597d59a354a9
99d132f
@sminnee sminnee API CHANGE: When there are script tags in the body, put requirements …
…script just before them, instead of at the very top of the body. Since this reduces the cost of the (sometimes necessary) script tags in the body, the notice-level error has been removed.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76207 467b73ca-7a2a-4603-9d3b-597d59a354a9
6cdc1fe
@sminnee sminnee MINOR: Added some more tests
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76254 467b73ca-7a2a-4603-9d3b-597d59a354a9
1a996a7
@chillu chillu MINOR Revised Translatable documentation about TranslationMasterID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76304 467b73ca-7a2a-4603-9d3b-597d59a354a9
2f61a5a
@halkyon halkyon BUGFIX Ensure that the return object of File::find() is an instance o…
…f Image in HtmlEditorField_readonly::HtmlEditorField_dataValue_processImage()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76374 467b73ca-7a2a-4603-9d3b-597d59a354a9
66fe1a1
Will Rossiter BUGFIX: fixed escaping of code in textarea fields
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76457 467b73ca-7a2a-4603-9d3b-597d59a354a9
dc1b131
@sminnee sminnee BUGFIX: Escaped SiteTree.ID in LinkTracking selection so that show de…
…leted pages would work.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76508 467b73ca-7a2a-4603-9d3b-597d59a354a9
5e19dd0
@chillu chillu MINOR Merged r70325 from trunk (which fixed #4017)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76515 467b73ca-7a2a-4603-9d3b-597d59a354a9
0de8502
@chillu chillu MINOR Partially merged r70306, r74986, r75027 from trunk, seems like …
…parts have been missed in previous merges

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76593 467b73ca-7a2a-4603-9d3b-597d59a354a9
7e50b9e
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76597 467b73ca-7a2a-4603-9d3b-597d59a354a9
518fb12
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76605 467b73ca-7a2a-4603-9d3b-597d59a354a9
7e2bc14
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76614 467b73ca-7a2a-4603-9d3b-597d59a354a9
65ae0bb
@phalkunz phalkunz MINOR: removed file path and extension from image's alt attribe that …
…accessware.co.nz complains about

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76626 467b73ca-7a2a-4603-9d3b-597d59a354a9
5066247
@sminnee sminnee BUGFIX: Made TableListField::export() more memory efficient for large…
… exports.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76702 467b73ca-7a2a-4603-9d3b-597d59a354a9
8c24a42
@sminnee sminnee API CHANGE: Added SiteTree::doDeleteFromLive()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76723 467b73ca-7a2a-4603-9d3b-597d59a354a9
c05728a
@sminnee sminnee BUGFIX: Don't show the upload tab on readonly folders.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76726 467b73ca-7a2a-4603-9d3b-597d59a354a9
6f83864
@chillu chillu MINOR merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76738 467b73ca-7a2a-4603-9d3b-597d59a354a9
98e53ac
@phalkunz phalkunz MINOR: reverted r76626
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76741 467b73ca-7a2a-4603-9d3b-597d59a354a9
e3261ee
@sminnee sminnee MINOR: Fixed Versioned test and improved virtual page tests
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76750 467b73ca-7a2a-4603-9d3b-597d59a354a9
0b0bc49
Normann Lou BUGFIX: typo by legacy: ViewersGroup -> ViewerGroups, EditorsGroup ->…
… EditorGroups

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76765 467b73ca-7a2a-4603-9d3b-597d59a354a9
a6d804b
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76842 467b73ca-7a2a-4603-9d3b-597d59a354a9
aa51d57
@hafriedlander hafriedlander API: Move the TinyMCE configuration from a javascript file to a php s…
…ystem, to allow for site specific and section specific html editor options.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76844 467b73ca-7a2a-4603-9d3b-597d59a354a9
89e46dc
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76855 467b73ca-7a2a-4603-9d3b-597d59a354a9
6af50b8
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76864 467b73ca-7a2a-4603-9d3b-597d59a354a9
dfa9f98
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76867 467b73ca-7a2a-4603-9d3b-597d59a354a9
42972ec
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76873 467b73ca-7a2a-4603-9d3b-597d59a354a9
25e9e71
@halkyon halkyon BUGFIX #4068 - Fixed spelling mistake in en_US.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76881 467b73ca-7a2a-4603-9d3b-597d59a354a9
0c9eeba
@halkyon halkyon BUGFIX #4058 Requirements::process_combined_files() fixed small typo …
…in the output

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76890 467b73ca-7a2a-4603-9d3b-597d59a354a9
aeacbfd
@halkyon halkyon BUGFIX Fixed ErrorPage not showing up properly due to a SQL query tha…
…t was merged from trunk not compatible with 2.3

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76896 467b73ca-7a2a-4603-9d3b-597d59a354a9
d710ad6
@hafriedlander hafriedlander API: Allow specifying any callback to setMarkingFunction, not just a …
…function name.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76942 467b73ca-7a2a-4603-9d3b-597d59a354a9
c0ae471
@halkyon halkyon BUGFIX Fixed case where SiteTree->getCMSFields() is missing a parent …
…page, and thus it results in a non-object

MINOR Removed unused variable $parentPageTitle, and added missing array that wasn't defined (but used later on causing an undefined variable error)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76948 467b73ca-7a2a-4603-9d3b-597d59a354a9
60623a4
@halkyon halkyon BUGFIX #4038 If attempting to set a default locale that doesn't exist…
…, throw a warning in Translatable::set_default_locale()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76949 467b73ca-7a2a-4603-9d3b-597d59a354a9
ad7d3a5
@sminnee sminnee BUGFIX: Make requirements combiner work with jQuery
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76955 467b73ca-7a2a-4603-9d3b-597d59a354a9
8db0532
@halkyon halkyon MINOR Removed double up of semi colon in DataObject
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77002 467b73ca-7a2a-4603-9d3b-597d59a354a9
59c1f06
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77008 467b73ca-7a2a-4603-9d3b-597d59a354a9
56977a0
@halkyon halkyon BUGFIX TableListField items couldn't be deleted because TableListFiel…
…d_ItemRequest::__construct() didn't call parent::__construct()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77016 467b73ca-7a2a-4603-9d3b-597d59a354a9
63aba66
@hafriedlander hafriedlander MINOR: Add function to HtmlEditorField to require javascript, to remo…
…ve code redundancy in CMS

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77030 467b73ca-7a2a-4603-9d3b-597d59a354a9
b49886a
@ajoneil ajoneil Fix a PHP segfault
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77051 467b73ca-7a2a-4603-9d3b-597d59a354a9
933468a
@ajoneil ajoneil MINOR: Ensure TableListField takes searching into account when adjusting
the sort


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77071 467b73ca-7a2a-4603-9d3b-597d59a354a9
b105a25
@ajoneil ajoneil BUGFIX: #4082 - Translatable CMS fields layout broken in IE6
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77111 467b73ca-7a2a-4603-9d3b-597d59a354a9
b6569c5
@halkyon halkyon BUGFIX If CTF doesn't have a parent class (set to false), avoid break…
…ages in ComplexTableField::getFieldsFor()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77140 467b73ca-7a2a-4603-9d3b-597d59a354a9
9b90307
@halkyon halkyon MINOR Fixed padding on TableListField items to be not so much
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77238 467b73ca-7a2a-4603-9d3b-597d59a354a9
865de4b
@halkyon halkyon MINOR Made TableListField item hover colour the same as the site tree…
… pane hover colour

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77241 467b73ca-7a2a-4603-9d3b-597d59a354a9
abf4191
@halkyon halkyon BUGFIX Added a missing default english string to ADDITEM translatable…
… entity in TableField.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77242 467b73ca-7a2a-4603-9d3b-597d59a354a9
897c711
@halkyon halkyon MINOR Added styling for TableListField utility action links
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77244 467b73ca-7a2a-4603-9d3b-597d59a354a9
2056cd5
@halkyon halkyon BUGFIX Fixed undefined variable $langAvail in Translatable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77256 467b73ca-7a2a-4603-9d3b-597d59a354a9
faf652a
@halkyon halkyon BUGFIX Fixed Debug::friendlyError() to use Translatable::get_current_…
…locale() instead of deprecated Translatable::current_lang()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77259 467b73ca-7a2a-4603-9d3b-597d59a354a9
b35dcbe
@sminnee sminnee ENHANCEMENT: Added option for putting integers into SS_DATABASE_CHOOS…
…E_NAME in _ss_environment.php, so that a parent/grandparent folder name can be used as the database name (merged from r77261).

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77264 467b73ca-7a2a-4603-9d3b-597d59a354a9
6179173
@sminnee sminnee ENHANCEMENT: Added databse name to output of dev/build (merged from r…
…77265)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77266 467b73ca-7a2a-4603-9d3b-597d59a354a9
a1d17bc
@halkyon halkyon MINOR #3951 Allow setting test mode by calling ?isTest=1 from the URL…
… (ronan)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77269 467b73ca-7a2a-4603-9d3b-597d59a354a9
b57f60b
@halkyon halkyon MINOR Added test for has one relation getters in DataObjectTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77313 467b73ca-7a2a-4603-9d3b-597d59a354a9
5a277c7
@sminnee sminnee BUGFIX: Ensure that when a page is deleted from stage or live, its de…
…scendants are also deleted.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77461 467b73ca-7a2a-4603-9d3b-597d59a354a9
1eee3cc
Will Rossiter MINOR: fixed layout for SelectionGroup file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77595 467b73ca-7a2a-4603-9d3b-597d59a354a9
4188971
Will Rossiter BUGFIX: fixed clearing issue with IE7
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77596 467b73ca-7a2a-4603-9d3b-597d59a354a9
31d7e0b
@sminnee sminnee API CHANGE: Added DataDifferencer, for comparing DataObjects. Note th…
…at it won't be used by the core features until 2.3.3, but is made available here for the cmsworkflow module.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77658 467b73ca-7a2a-4603-9d3b-597d59a354a9
215e3a3
@sminnee sminnee BUGFIX #2328: Show backtrace for uncaught exceptions (merged from r70…
…444)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77662 467b73ca-7a2a-4603-9d3b-597d59a354a9
4ef5ab4
@halkyon halkyon Reverted r76457
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77676 467b73ca-7a2a-4603-9d3b-597d59a354a9
dcc273a
@phalkunz phalkunz BUGFIX: a redirection with an external link that has more than one qu…
…ery string variables. Do not convert the link to html entities

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77726 467b73ca-7a2a-4603-9d3b-597d59a354a9
b2f71a4
@sminnee sminnee BUGFIX #4119 netminds: Fix error page publication for lang to locate …
…replacement.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77727 467b73ca-7a2a-4603-9d3b-597d59a354a9
8b3a9c6
@sminnee sminnee BUGFIX #4113: Fixed bugs with template processing in i18nTextCollecto…
…rTask.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77733 467b73ca-7a2a-4603-9d3b-597d59a354a9
e72e9a6
Will Rossiter BUGFIX: fixed #4119 by using htmlentities rather then Convert functions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77737 467b73ca-7a2a-4603-9d3b-597d59a354a9
060f1bc
@halkyon halkyon BUGFIX #4133 Fixed case where ComplexTableField failed to detect a ha…
…s_many relation from the parent

MINOR Updated tests for ComplexTableField


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77766 467b73ca-7a2a-4603-9d3b-597d59a354a9
1c896b1
@sminnee sminnee BUGFIX: Fix edge-case bug with application of decorators
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77822 467b73ca-7a2a-4603-9d3b-597d59a354a9
3cbf9ae
@sminnee sminnee BUGFIX: Fixed bugs in previous change to DOD
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77849 467b73ca-7a2a-4603-9d3b-597d59a354a9
9ff7f26
Will Rossiter BUGFIX: fixed is_array error in TableListField. #4123
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77937 467b73ca-7a2a-4603-9d3b-597d59a354a9
17b759b
@Hayden Hayden Fixed a phpsefault
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78055 467b73ca-7a2a-4603-9d3b-597d59a354a9
cbac706
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78082 467b73ca-7a2a-4603-9d3b-597d59a354a9
876cd88
@chillu chillu MINOR Reverted r78055, it breaks TableListFieldTest and doesn't actua…
…lly fix the bug it was supposed to (PHP segfaulting)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78083 467b73ca-7a2a-4603-9d3b-597d59a354a9
8c1cc8f
@sminnee sminnee BUGFIX: Changing from unset record entry to an empty value shouldn't …
…register as a 'level 2' change

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78155 467b73ca-7a2a-4603-9d3b-597d59a354a9
118cfc6
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78167 467b73ca-7a2a-4603-9d3b-597d59a354a9
144a4e4
Rainer Spittel BUGFIX: modified convertDataObjectWithoutHeader to handle empty relat…
…ionships.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78352 467b73ca-7a2a-4603-9d3b-597d59a354a9
46900a9
@sminnee sminnee BUGFIX: Fix readonly versions of grant fields.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78469 467b73ca-7a2a-4603-9d3b-597d59a354a9
d558394
@sminnee sminnee BUGFIX: Get backtrace rather than crazy context stuff shown in dev er…
…ror messages

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78470 467b73ca-7a2a-4603-9d3b-597d59a354a9
74c89fc
@sminnee sminnee BUGFIX: Fixed readonly version of TreeMultiselectField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78471 467b73ca-7a2a-4603-9d3b-597d59a354a9
d34def6
@sminnee sminnee BUGFIX: Don't allow the use of get-var ?isDev=1 when security DB isn'…
…t available.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78542 467b73ca-7a2a-4603-9d3b-597d59a354a9
b38315b
@hafriedlander hafriedlander BUGFIX: Replace HTMLText#Summary with one that works.
API CHANGE: Added two arguments to HTMLText#Summary. Minimal impact since previously any usage of this function threw an error. 
ENHANCEMENT: Add HTMLText#FirstSentence based on new HTMLText#Summary

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78618 467b73ca-7a2a-4603-9d3b-597d59a354a9
f74069f
@sminnee sminnee API CHANGE: Added increase_memory_limit_to() for increasing but not d…
…ecreasing memory limit.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78632 467b73ca-7a2a-4603-9d3b-597d59a354a9
8aea22c
@hafriedlander hafriedlander MINOR: Tests for previous HTMLText#Summary and HTMLText#FirstSentence…
… patch

BUGFIX: A couple of bugfixes on HTMLText#Summary and HTMLText#FirstSentence so the trickiest tests pass 

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78728 467b73ca-7a2a-4603-9d3b-597d59a354a9
98a7573
@sminnee sminnee BUGFIX #4119: Fixed encoding of readonly TextareaFields and unicode i…
…n TextareaFields.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78732 467b73ca-7a2a-4603-9d3b-597d59a354a9
dedff46
@halkyon halkyon MINOR Removed extra space in validation message for DMYDateField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78902 467b73ca-7a2a-4603-9d3b-597d59a354a9
b44eefa
@halkyon halkyon ENHANCEMENT DevelopmentAdmin: Added dev/reset which truncates the exi…
…sting database and rebuilds it, useful for refreshing the working database after testing

ENHANCEMENT DevelopmentAdmin: Changed dev/build to produce nicer formatting when running from sake/dev/build CLI



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78919 467b73ca-7a2a-4603-9d3b-597d59a354a9
c7ea177
@halkyon halkyon BUGFIX DevelopmentAdmin: Don't allow dev/reset to be run from CLI, as…
… this could be accidentally run - give a message that the user should run this from their web browser instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78920 467b73ca-7a2a-4603-9d3b-597d59a354a9
9c7334d
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@79195 467b73ca-7a2a-4603-9d3b-597d59a354a9
641c565
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@79211 467b73ca-7a2a-4603-9d3b-597d59a354a9
059d05b
@chillu chillu BUGFIX Marking new TreeMultiSelectField_Readonly with $readonly flag,…
… otherwise breaks CMS saving with Translable enabled etc. (see #4240)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@79240 467b73ca-7a2a-4603-9d3b-597d59a354a9
69406d0
@chillu chillu MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@79282 467b73ca-7a2a-4603-9d3b-597d59a354a9
3edc596
Will Rossiter ENHANCEMENT: simpleXML() now catches the error if you try to call it …
…on anything other then xml. MINOR: added test to RESTFul Service

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@80340 467b73ca-7a2a-4603-9d3b-597d59a354a9
bfce550
@halkyon halkyon BUGFIX Fixed "method is not a string" error in Form::httpSubmission()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@80380 467b73ca-7a2a-4603-9d3b-597d59a354a9
f33ee9a
@halkyon halkyon BUGFIX Fixed Image_iframe.ss to use X-UA-Compatible IE7 emulation met…
…a tag

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@80382 467b73ca-7a2a-4603-9d3b-597d59a354a9
974ba61
Will Rossiter BUGFIX: prevented cms from dying when a page has no published childre…
…n. Added check before stepping into the loop

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81050 467b73ca-7a2a-4603-9d3b-597d59a354a9
ad3349c
@sminnee sminnee BUGFIX: Relax type checking in RequestHandler::checkAccessAction()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81262 467b73ca-7a2a-4603-9d3b-597d59a354a9
7623512
@hafriedlander hafriedlander BUGFIX: If referrer had spaces, they would be encoded as %20, which w…
…ould cause problems when interpolated into an sprintf pattern. Inject instead.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81450 467b73ca-7a2a-4603-9d3b-597d59a354a9
616161b
@sminnee sminnee ENHANCEMENT: Improvements to DataDifferencer for cmsworkflow.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81475 467b73ca-7a2a-4603-9d3b-597d59a354a9
1d31b59
@chillu chillu MINOR Merged r81544 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81546 467b73ca-7a2a-4603-9d3b-597d59a354a9
8789a2b
@chillu chillu MINOR Merged r81584 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81585 467b73ca-7a2a-4603-9d3b-597d59a354a9
bdf18a2
@sminnee sminnee BUGFIX #4285: Fixed static application bug that appeared in 2.3.2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81698 467b73ca-7a2a-4603-9d3b-597d59a354a9
6394679
@chillu chillu MINOR Merged r81822 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81823 467b73ca-7a2a-4603-9d3b-597d59a354a9
cae70c9
@halkyon halkyon BUGFIX Merged in PHP 5.3 bugfixes from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81883 467b73ca-7a2a-4603-9d3b-597d59a354a9
b2374aa
@halkyon halkyon BUGFIX Convert::recursiveXMLToArray() did not always check if the pas…
…sed in XML is an object before calling get_class() on it

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81894 467b73ca-7a2a-4603-9d3b-597d59a354a9
0921081
@chillu chillu MINOR PHP notice in MySQLDatabase (partial merge from r77160)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81897 467b73ca-7a2a-4603-9d3b-597d59a354a9
004ff37
Will Rossiter ENHANCEMENT: Updated Versioned::compareVersions() to use DataDifferen…
…cer. Merged from trunk r77660

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81933 467b73ca-7a2a-4603-9d3b-597d59a354a9
261c976
Will Rossiter MINOR: merged r81467 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81971 467b73ca-7a2a-4603-9d3b-597d59a354a9
5fd91c4
Will Rossiter e:
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81993 467b73ca-7a2a-4603-9d3b-597d59a354a9
6b35a34
@halkyon halkyon BUGFIX Fixed double up of <span> highlight tags around keywords in Te…
…xt::ContextSummary()

MINOR Added test for Text::ContextSummary()



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@82035 467b73ca-7a2a-4603-9d3b-597d59a354a9
5ffd79c
@halkyon halkyon MINOR Fixed broken test in TextTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@82036 467b73ca-7a2a-4603-9d3b-597d59a354a9
512311d
@chillu chillu MINOR Removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@82202 467b73ca-7a2a-4603-9d3b-597d59a354a9
f18136c
Will Rossiter MINOR: merged patch for #4416. Refactored the method exists switch fo…
…r extraStatics

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83038 467b73ca-7a2a-4603-9d3b-597d59a354a9
34681d1
Will Rossiter MINOR: merged patch from #4421. Fixed syntax error with Requirements:…
…:combine_files() and css files

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83048 467b73ca-7a2a-4603-9d3b-597d59a354a9
5329e9b
@halkyon halkyon MINOR Fixed PHP notice in DataObjectSet::groupBy() by defining $resul…
…t before returning it

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83450 467b73ca-7a2a-4603-9d3b-597d59a354a9
99038ac
@halkyon halkyon MINOR If the instance class property can't be found in DataObject::de…
…fineMethods(), throw an error because parent::__construct() hasn't been called which will break DataObjectDecorator

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83580 467b73ca-7a2a-4603-9d3b-597d59a354a9
008acc9
@halkyon halkyon MINOR Fixed PHP notice during SS installation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83583 467b73ca-7a2a-4603-9d3b-597d59a354a9
e3efb0f
@halkyon halkyon BUGFIX Object subclasses with a constructor that didn't already will …
…now call parent to respect inheritance

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83587 467b73ca-7a2a-4603-9d3b-597d59a354a9
d838529
@halkyon halkyon MINOR Merged in DataObjectDecorator tests from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83720 467b73ca-7a2a-4603-9d3b-597d59a354a9
bd28434
@rixth rixth MINOR fix rewrite of anchors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@83936 467b73ca-7a2a-4603-9d3b-597d59a354a9
cd73e27
@sminnee sminnee MINOR: Reverted r83936 because it was inappropriate - only page-relat…
…ive hashlinks should be rewritten

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84060 467b73ca-7a2a-4603-9d3b-597d59a354a9
047d17d
@ajoneil ajoneil FEATURE: Allow different user groups to have different HtmlEditorConfigs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84085 467b73ca-7a2a-4603-9d3b-597d59a354a9
3884665
@sminnee sminnee API CHANGE: Make Object::uninherited_static() have a separate executi…
…on 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. (from r84151, r84155, r84156)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84157 467b73ca-7a2a-4603-9d3b-597d59a354a9
427cce4
Jeremy Warne BUGFIX: Added required javascript files (behaviour, prototype, protot…
…ype_improvements) to the Field() method of TreeSelectorField.php

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84320 467b73ca-7a2a-4603-9d3b-597d59a354a9
a2330f3
Jeremy Warne BUGFIX: Added required javascript files (behaviour, prototype, protot…
…ype_improvements) to the Field() method of TreeDropdownField.php

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84332 467b73ca-7a2a-4603-9d3b-597d59a354a9
2312724
@sminnee sminnee API CHANGE: Template codes can no longer be used in emails except whe…
…n using .ss files.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@84594 467b73ca-7a2a-4603-9d3b-597d59a354a9
f516236
Jeremy Warne BUGFIX: findByTagAndAttribute is unintentionally expanding any php fo…
…und in the href/src components its regex extracts. Changed double quotes to single quotes to fix this.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@85632 467b73ca-7a2a-4603-9d3b-597d59a354a9
11283a8
@halkyon halkyon BUGFIX Fixed Member::sendInfo() assumptions that broke with an API ch…
…ange in r84594

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@85779 467b73ca-7a2a-4603-9d3b-597d59a354a9
900812e
Jeremy Warne BUGFIX: was being passed to foreach without a check to see if it's an…
… array or not.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@86202 467b73ca-7a2a-4603-9d3b-597d59a354a9
05c51f4
@sminnee sminnee BUGFIX #4579: Translatable's call to new LanguageDropdownField() brok…
…ed (from r87456)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@87458 467b73ca-7a2a-4603-9d3b-597d59a354a9
cb21b29
@sminnee sminnee API CHANGE: Added increase_time_limit_to(), which respects safe_mode.
API CHANGE: Added no-arg option to increase_memory_limit_to() (from r80241)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@88176 467b73ca-7a2a-4603-9d3b-597d59a354a9
98dda12
@ajoneil ajoneil BUGFIX: Ensure ASSETS_PATH is respected
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@88281 467b73ca-7a2a-4603-9d3b-597d59a354a9
e21297e
@ajoneil ajoneil reverted
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@88282 467b73ca-7a2a-4603-9d3b-597d59a354a9
ad7c4ec
@sminnee sminnee BUGFIX: Added rewriteHashlinks = 'php' option to SSViewer so that sta…
…tic publisher can handle internal hashlinks properly.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@89611 467b73ca-7a2a-4603-9d3b-597d59a354a9
15f1905
@chillu chillu API CHANGE: Added SapphireTest::logInWithPermission() (merged from r8…
…9209)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@91034 467b73ca-7a2a-4603-9d3b-597d59a354a9
4443df7
Normann Lou MINOR: CheckboxSetField::dataValue() returns a string not array.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@91105 467b73ca-7a2a-4603-9d3b-597d59a354a9
5d71f30
@sminnee sminnee API CHANGE: Replaced BasicAuth::enable() with BasicAuth::protect_enti…
…re_site()

API CHANGE: BasicAuth::requireLogin() no longer has an option to automatically log you in.  You can call logIn() on the object returned, instead. (from r91603)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@91610 467b73ca-7a2a-4603-9d3b-597d59a354a9
a2fc20d
@sminnee sminnee BUGFIX: Don't enable site-wide protection by default (from r91609)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@91611 467b73ca-7a2a-4603-9d3b-597d59a354a9
22affb9
@sminnee sminnee BUGFIX: Made use of new BasicAuth::protect_entire_site() consistent. …
…(from r91658)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@91660 467b73ca-7a2a-4603-9d3b-597d59a354a9
727f930
@halkyon halkyon MINOR Merged in Versioned::get_all_versions() fix from r76223
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@92161 467b73ca-7a2a-4603-9d3b-597d59a354a9
24cead4
Will Rossiter BUGFIX: fix for multiple EmailField validation on one form. Merged vi…
…a r78565

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@93483 467b73ca-7a2a-4603-9d3b-597d59a354a9
2d23990
Normann Lou BUGFIX: convert ImageFormAction form prototype syntax to jQuery syntax
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@94304 467b73ca-7a2a-4603-9d3b-597d59a354a9
f8f446f
Will Rossiter BUGFIX: fixed TaskRunner generating link with 2 slashes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@96998 467b73ca-7a2a-4603-9d3b-597d59a354a9
efce7b9
Will Rossiter MINOR: fixed notice level error when ImageSource isnt set
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@97004 467b73ca-7a2a-4603-9d3b-597d59a354a9
cd64c94
@sminnee sminnee ENHANCEMENT: Removed dev/reset, instead encouraging the use of dev/te…
…sts/startsession for tests.

ENHANCEMENT: Let people use dev/tests/startsession without a fixture, instead calling requireDefaultRecords

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98081 467b73ca-7a2a-4603-9d3b-597d59a354a9
909de1f
@chillu chillu BUGFIX Limiting ?debug_memory parameter to development environments t…
…hrough using Debug::message() instead of a straight echo() (merged from r74067)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98229 467b73ca-7a2a-4603-9d3b-597d59a354a9
0c684b8
@chillu chillu BUGFIX Disabled ?debug_profile=1 on live environment types (merged fr…
…om r80057)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98230 467b73ca-7a2a-4603-9d3b-597d59a354a9
747b099
@ajoneil ajoneil BUGFIX: Don't force SSL when running from CLI
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98273 467b73ca-7a2a-4603-9d3b-597d59a354a9
8906391
@chillu chillu API CHANGE HTTP::setGetVar() always returns absolute URLs. Use Direct…
…or::makeRelative() to make them relative again. (merged from r98373)

API CHANGE HTTP::setGetVar() combines any GET parameters in PHP array notation (e.g. "foo[bar]=val") instead of replacing the whole array (merged from r98373)
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. (merged from r98373)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98375 467b73ca-7a2a-4603-9d3b-597d59a354a9
b3931cc
@chillu chillu MINOR Fixed HTTPTest when invoked through dev/tests/all or with GET p…
…arameters (see r98373) (merged from r98383)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98384 467b73ca-7a2a-4603-9d3b-597d59a354a9
58dc696
@chillu chillu MINOR Added test case for Hierarchy::getDescendantIDList() which also…
… tests Hierarchy::loadDescendantIDListInto() (merged from r98369)

MINOR Testing of grand-children items in HierarchyTest::testLoadDescendantIDListIntoArray() and HierarchyTest::testNumChildren() (merged from r98376)
BUGFIX #5044 Hierarchy::loadDescendantIDListInto() now uses Object::getExtensionInstance('Hierarchy') instead of going through call(), as PHP 5.3 has issues converting references to values
BUGFIX Fixed Hierarchy->loadDescendantIdList() to call setOwner() on the extension instance. This was necessary due to underlying Object/Extension changes in 2.4. (merged from r98403)
MINOR Fixed HierarchyTest assertions around including grand children counts (merged from r98403)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98405 467b73ca-7a2a-4603-9d3b-597d59a354a9
8698e94
@chillu chillu MINOR Fixed HTTPTest->testSetGetVar() (merged from r98407)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98408 467b73ca-7a2a-4603-9d3b-597d59a354a9
5b81610
@chillu chillu MINOR Fixed HTTPTest->testSetGetVar() (merged from r98409)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@98410 467b73ca-7a2a-4603-9d3b-597d59a354a9
add3165
@chillu chillu MINOR Readded sapphire/thirdparty modules without svn:externals
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@99765 467b73ca-7a2a-4603-9d3b-597d59a354a9
da691ec
@chillu chillu BUGFIX Fixing Member_ProfileForm to validate for existing members via…
… Member_Validator to avoid CMS users to switch to another existing user account by using their email address (from r100704) (from r100717)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@100744 467b73ca-7a2a-4603-9d3b-597d59a354a9
e3c6732
@chillu chillu BUGFIX Don't delete index.php after successful installation - in Cont…
…entController->deleteinstallfiles(). URL routing might rely on it without mod_rewrite.

BUGFIX Require ADMIN permissions for ContentController->deleteinstallfiles() - together with retaining index.php this removed a vulnerability where unauthenticated users can disrupt mod_rewrite-less URL routing. (from r101227)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@101229 467b73ca-7a2a-4603-9d3b-597d59a354a9
b83797d