Commit Graph

  • 8479c88e09 API CHANGE: Versioned fixed to use DB-specific ID auto-increment settings Geoff Munn 2009-03-11 21:44:58 +00:00
  • aec798623e API CHANGE: raw2sql changed to use DB-specific quote escaping Geoff Munn 2009-03-11 21:44:10 +00:00
  • 8182a015f6 API CHANGE: "SHOW TABLES" replaced with DB-specific version Geoff Munn 2009-03-11 21:43:28 +00:00
  • fca5a8c573 Don't throw an error when trying to set the PastMember cookie if content has already been sent. It gets annoying when you're debugging. Sam Minnee 2009-03-11 04:44:03 +00:00
  • 278463f572 MINOR Removed call to parent::Field() in CalendarDateField that is not being used Sean Harvey 2009-03-11 01:53:21 +00:00
  • 189f0567f8 Merged from branches/2.2 Sam Minnee 2009-03-10 22:17:26 +00:00
  • 08a5a7c387 Merged from branches/2.3 Sam Minnee 2009-03-10 22:08:52 +00:00
  • 55e0a713db MINOR Documentation Ingo Schommer 2009-03-10 15:03:34 +00:00
  • d50d33eff0 MINOR Updated translations MINOR Added translations for Catalan - thanks to Bernat and Alex MINOR Added translations for English (uk) - thanks to Matt and Marti MINOR Added translations for Spanish (Latin America) - thanks to Antonio, ruben, Miguel, Luis, Carlos, Luciano MINOR Added translations for Spanish (Mexico) - thanks to Nacho and Antonio MINOR Added translations for Spanish (Arguentinia) - thanks to Carlos and Luciano MINOR Added translations for Indonesian - thanks to Fajrin, Lewi, Wirawan, Bima MINOR Added translations for Norwegian Bokmal - thanks to Emil, Siv, Eskild, Andreas, Johannes, Jana, Carl G. MINOR Added translations for Serbian (Serbia) - thanks to Jonan and Oliver Ingo Schommer 2009-03-10 12:43:52 +00:00
  • 41aac525b5 ENHANCEMENT DateField validation is now enabled through DateField::$validation_enabled so that it can be optionally disabled by setting it to false Sean Harvey 2009-03-10 02:32:42 +00:00
  • c5d1a53281 MINOR Fixed Database class PHP notices caused by a missing array index when running dev/build to create a new table Sean Harvey 2009-03-10 02:02:14 +00:00
  • 8960c03376 BUGFIX Removed header('Content-Type... from main.php bootstrapping - was defaulting to text/html - an invalid assumption at such an early stage (see #3685) Ingo Schommer 2009-03-09 20:31:12 +00:00
  • 3e596ba66c BUGFIX: Fixed dates in DateTest so that they don't trip up on timezone quirks, since those are more to do with our buildslave than bugs in SilverStripe Sam Minnee 2009-03-09 07:32:51 +00:00
  • 553f2e74af API CHANGE: column names escaped Geoff Munn 2009-03-09 05:14:45 +00:00
  • 5e63f40d69 BUGFIX Fixed broken CSS rules in TableListField Sean Harvey 2009-03-09 05:12:35 +00:00
  • 5509d9caae MINOR Fixed unncessary large padding on TableListField table items Sean Harvey 2009-03-09 05:07:09 +00:00
  • 87f9f13c3b BUGFIX Fixed duplicate function committed in r72468 Sean Harvey 2009-03-09 04:54:31 +00:00
  • fed4d9b862 API CHANGE: Databases now support index types such as hash, btree (default) and rtree. Geoff Munn 2009-03-04 21:54:33 +00:00
  • a581e748d9 ENHANCEMENT: Added dev/tests/cleanupdb action to remove test databases Sam Minnee 2009-03-04 07:31:23 +00:00
  • ca5825e52c BUGFIX: Fixed dates in DateTest so that they don't trip up on timezone quirks, since those are more to do with our buildslave than bugs in SilverStripe. Sam Minnee 2009-03-04 05:33:08 +00:00
  • 635e2c3df6 Merged from 2.3 Andrew O'Neil 2009-03-04 03:44:11 +00:00
  • 334cfc8f3e API CHANGE: function RequireField now explained a bit more clearly Geoff Munn 2009-03-03 21:45:54 +00:00
  • 6a21071e4c API CHANGE: column names escaped Geoff Munn 2009-03-03 21:44:21 +00:00
  • 2e8a572875 BUGFIX Requirements were ignored if only CSS requirements were present due to bug in Requirements::includeInHTML() Ingo Schommer 2009-03-03 02:26:36 +00:00
  • 8f0979eb78 BUGFIX Using Validator::getJavascriptValidationHandler() to determine instance settings, and fall back to static defaults in Validator->includeJavascriptValidation(), instead of setting instance-specific parameters in __construct() calls. This means Validator.js won't be included if handlers are globally disabled. ENHANCEMENT Added Validator::getJavascriptValidationHandler() API CHANGE Deprecated Validator::showErrors() Ingo Schommer 2009-03-03 02:24:29 +00:00
  • 7f4f57c307 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() Ingo Schommer 2009-03-02 22:13:30 +00:00
  • 30cef24822 MINOR Added DataObjectSetTest Ingo Schommer 2009-03-02 20:26:22 +00:00
  • 94c71b3447 MINOR Casting ViewableData->Even() and ViewableData->Odd() as boolean Ingo Schommer 2009-03-02 20:25:18 +00:00
  • 4b4b7cca9a 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() Ingo Schommer 2009-02-22 21:30:41 +00:00
  • 338bb01f1a API CHANGE: Column names escaped Geoff Munn 2009-02-18 03:12:39 +00:00
  • 8989e89b4e ENHANCEMENT Allow setting unique check callback function on the importer class, to be consistency with relation callbacks Sean Harvey 2009-02-18 02:37:00 +00:00
  • 0c5e363a68 API CHANGE: 'ID' columns now no longer appear as being changed in Postgres Geoff Munn 2009-02-17 03:54:39 +00:00
  • 57dcdaa8be API CHANGE: 'Year' datatype now uses abstracted array structure Geoff Munn 2009-02-17 03:54:10 +00:00
  • 345693a6e0 API CHANGE: RequireField now no longer returns *all* fields as needing to be changed in Postgres. Geoff Munn 2009-02-17 02:49:39 +00:00
  • a1f21fe5ec MINOR Code formatting fixes in Requirements_Backend Sean Harvey 2009-02-16 21:10:03 +00:00
  • 5012fcb3ca BUGFIX Fix errors if empty array passed for vars in Requirements_Backend::javascriptTemplate() Sean Harvey 2009-02-16 21:08:54 +00:00
  • 0b9db33164 BUGFIX MySQLDatabase->decimal() was being casted as an integer, when in actual fact the precision could be "9,2", for example Sean Harvey 2009-02-16 03:42:37 +00:00
  • 0f1cf8899a BUGFIX Fixed calls to undefined function in Hierarchy. Should have been calling a property of the same name instead Sean Harvey 2009-02-14 03:02:16 +00:00
  • 0ca4177e3b ENHANCEMENT Added getValue() to DBField. This helps for unit testing DBField values. Sean Harvey 2009-02-13 09:30:32 +00:00
  • 040913369d API CHANGE: The standard ID column is now database-specific Geoff Munn 2009-02-13 02:37:58 +00:00
  • 11dc761752 MINOR phpDoc change on HTMLTextTest Sean Harvey 2009-02-12 09:40:14 +00:00
  • 7a065b087a ENHANCEMENT Strip tags before limiting characters when using LimitCharacters() on HTMLText field type MINOR Added test to TextTest for LimitCharacters() MINOR Added test HTMLTextTest and added test case for LimitCharacters() Sean Harvey 2009-02-12 09:38:43 +00:00
  • e9757a57b2 MINOR Merged changes to TextTest that weren't merged in from branches/2.3 Sean Harvey 2009-02-12 09:30:56 +00:00
  • 5ccca85e7f MINOR Added TextTest - was missing after merge from branches/2.3 Sean Harvey 2009-02-12 09:24:33 +00:00
  • 1d121b7f90 ENHANCEMENT Allow setting date timestamp for Date::setValue() Sean Harvey 2009-02-12 04:57:17 +00:00
  • 43c96813bf BUGFIX Fixed styling of checkbox - CSS rule wasn't specific enough Sean Harvey 2009-02-12 02:54:32 +00:00
  • 7a6861fec2 MINOR Tweaked checkbox field styling Sean Harvey 2009-02-11 21:56:58 +00:00
  • 6d708765fe BUGFIX Fixed redirection to external URLs through Security/login with BackURL parameter Ingo Schommer 2009-02-11 21:08:28 +00:00
  • 74ab33f23b ENHANCEMENT Added Director::is_absolute_url() Ingo Schommer 2009-02-11 21:07:58 +00:00
  • 569447d2ba BUGFIX Added E_USER_ERROR error to ComponentSet::getExtraData() if a NULL component name is passed Sean Harvey 2009-02-11 00:18:00 +00:00
  • 1cb6b5c8ee BUGFIX Added E_USER_ERROR error to ComponentSet::getExtraData() if a non-numeric child ID is passed Sean Harvey 2009-02-11 00:14:42 +00:00
  • df36ae07e8 ENHANCEMENT Allow getting extra field data for a many-to-many relation by calling getExtraData() on a ComponentSet and passing the component name, and child ID ENHANCEMENT Hooked up setting field values for many_many_extraFields into ComplexTableField. See r71613 for the original many-to-many auto setting addition BUGFIX When editing an existing record, many-to-many auto setting wasn't being done because saveComplexTableField() is called on ComplexTableField_ItemRequest Sean Harvey 2009-02-11 00:10:37 +00:00
  • bbe3bc0535 MINOR Code formatting of ComponentSet::add() MINOR Removed unused variable $id in ComponentSet::add() Sean Harvey 2009-02-10 06:21:08 +00:00
  • fa4c42d642 ENHANCEMENT Allow auto setting a many-to-many relation on ComplexTableField in the similar fashion of auto setting the foreign key for a one-to-many or one-to-many relation. ENHANCEMENT Added DataObject::many_many_extraFields() for getting the many_many_extraFields fields for a component name on both sides of a many-to-many relation. MINOR Added test for many_many_extraFields in DataObjectTest Sean Harvey 2009-02-10 06:04:36 +00:00
  • bf07ed2d87 MINOR Code formatting for Date::past_date() and phpDoc Sean Harvey 2009-02-10 05:56:07 +00:00
  • 5312773e18 'URLSegment' on line 484 and 494 now escaped Geoff Munn 2009-02-10 00:49:16 +00:00
  • 4e0bf2c671 BUGFIX Fixed Upload::isValidSize() error if a file was uploaded without an extension Sean Harvey 2009-02-09 23:02:46 +00:00
  • 023e733b16 BUGFIX Fixed wrong condition in Requirements::includeInHTML() which failed to process requirements if only customCSS() was used Ingo Schommer 2009-02-08 19:06:15 +00:00
  • 88720f07c5 MINOR Added basic tests for Percentage Sean Harvey 2009-02-05 02:33:00 +00:00
  • da18862083 MINOR Code formatting fix in SearchContext Sean Harvey 2009-02-05 01:48:19 +00:00
  • 52909a915c BUGFIX Fixed support for SearchFilter on many to many relations that don't have a component class DB table, but have a component base class table Sean Harvey 2009-02-04 23:19:22 +00:00
  • 2d83cc412b BUGFIX Fixed htmlEntity searches in SearchForm - merge error from r71172 Ingo Schommer 2009-02-04 01:36:39 +00:00
  • 5513f569b6 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) Ingo Schommer 2009-02-04 01:36:12 +00:00
  • bd2b9efede API CHANGE Member->canView() checks for ADMIN or CMS_ACCESS_SecurityAdmin access if not viewing the currently logged-in member. If permissions are enforced in custom interfaces (e.g. social networking frontends), this will impact the output. To loosen permissions, override or decorate Member->canView() ENHANCEMENT Added Group->canDelete() AND Member->canView() ENHANCEMENT Making Member->can*() and Group->can*() methods decoratable Ingo Schommer 2009-02-03 23:33:28 +00:00
  • f6add2dc75 BUGFIX Fixed potential PHP notice in TableField Sean Harvey 2009-02-03 23:20:58 +00:00
  • b34713dffc BUGFIX Fix to Convert::xml2raw() for &apos; Sean Harvey 2009-02-03 23:17:01 +00:00
  • 4822c68947 BUGFIX Don't require ADMIN permissions to view an administrators group - rather set it to readonly through interfaces like SecurityAdmin ENHANCEMENT Modified Group->canEdit() to check for CMS_ACCESS_SecurityAdmin permissions codes (see r70697) BUGFIX Using canView() instead of canEdit() in Group->AllChildrenIncludingDeleted() Ingo Schommer 2009-02-03 22:44:11 +00:00
  • 0a0ce99f5c BUGFIX Switched the arrows for desc/asc to the correct way as per SortDirection = desc check in TableListField.ss Sean Harvey 2009-02-03 21:27:56 +00:00
  • d471bd4785 BUGFIX Ensure that TestRunner properly unsets the alternate database name (for temp databases) once the tests have finished Sean Harvey 2009-02-03 21:17:23 +00:00
  • 162a11350e MINOR Added code example for using DataObject::$many_many_extraFields Sean Harvey 2009-02-03 21:07:32 +00:00
  • cd541ecd3d BUGFIX Added default english strings for TableListField.ss i18n entities Sean Harvey 2009-02-03 20:42:39 +00:00
  • b3ffe8d4e2 MINOR Code formatting tidy up in Percentage Sean Harvey 2009-02-03 20:29:21 +00:00
  • 12e0205bdd MINOR Fixed wrong case of Debug class name for consistency Sean Harvey 2009-02-03 05:14:04 +00:00
  • a38b3268c6 Merged from branches/2.3 Sean Harvey 2009-02-03 04:00:02 +00:00
  • 2f81c822bb BUGFIX: Fix translatable being enabled when it shouldn't be Sean Harvey 2009-02-03 02:49:34 +00:00
  • 60f75c5ca4 Merged changes from 2.3 branch Andrew O'Neil 2009-02-01 23:49:53 +00:00
  • 2eb73817c2 Blocked translatable changes in 2.3 Andrew O'Neil 2009-02-01 23:05:35 +00:00
  • e7e8a1209b BUGFIX #3376 RestfulServiceTest fails with "authorization required" - seems to happen if result cache is not invalidated properly, hence made sure to call ?flush=1 on each URL Ingo Schommer 2009-01-23 02:08:01 +00:00
  • c86971c93f #2328 - Show backtrace for uncaught exceptions (ajshort) Andrew O'Neil 2009-01-20 21:30:12 +00:00
  • 2956cc482f FEATURE Supporting search for special characters like umlauts in SearchForm. These characters are encoded to HTML entities by TinyMCE for SiteTree->Content, hence we need a special case in the search logic (incl. unit tests) ENHANCEMENT Added MySQL FULLTEXT index for $Content property on SiteTree, Needs separate indexing to be searchable by SearchForm - $Content is the only field which has special characters encoded as HTML entities (through TinyMCE) Ingo Schommer 2009-01-19 02:49:42 +00:00
  • 4c4926d2b9 FEATURE Enabled specifying a language through a hidden field in SearchForm which limits the search to pages in this language (incl. unit tests) Ingo Schommer 2009-01-19 02:18:41 +00:00
  • 7057b56b2c ENHANCEMENT Making ErrorPage static HTML files translatable (#2233) ENHANCEMENT Added ErrorPage::$static_filepath to flexibly set location of static error pages (defaults to /assets) Ingo Schommer 2009-01-19 01:25:23 +00:00
  • 56cb10e1c5 BUGFIX Altering parent getCMSFields() results in RedirectorPage instead of starting with an empty FieldSet, as this discards any tabs and fields which are not explicitly mentioned in the implementation like the ability to create a translation. Ingo Schommer 2009-01-19 00:33:43 +00:00
  • 095084fb22 BUGFIX Using array_diff_key() instead of array_diff() in LanguageDropdownField to avoid language with existing translations showing up in the "available translations" dropdown for page CMS fields Ingo Schommer 2009-01-18 23:07:51 +00:00
  • 54811abbd2 MINOR More Translatable unit tests Ingo Schommer 2009-01-18 22:48:45 +00:00
  • 84a7b17cb4 ENHANCEMENT Disabled Translatab-e>augmentWrite() - was only needed for the blacklist fields implementation which is inactive for the moment Ingo Schommer 2009-01-18 22:47:02 +00:00
  • 33066bffda 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 Ingo Schommer 2009-01-18 22:46:16 +00:00
  • e39f4f747a ENHANCEMENT Added welsh to i18n::$common_languages (#2640) Ingo Schommer 2009-01-18 21:30:10 +00:00
  • bcac495926 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 Ingo Schommer 2009-01-16 04:14:34 +00:00
  • 7ccd1bbc24 ENHANCEMENT Looking for URLSegments in languages outside of default language in ModelAsController by implementing a new extension point in SiteTree::get_by_url(): DataObjectDecorator->alternativeMatches() ENHANCEMENT Allowing non-default language URLs to be accessed without explicitly specifying the language in GET request Ingo Schommer 2009-01-16 04:07:17 +00:00
  • c67ef43f6c MINOR initializing local variables properly in Hierarchy Ingo Schommer 2009-01-16 04:04:13 +00:00
  • d5339af47c 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 Ingo Schommer 2009-01-15 05:56:25 +00:00
  • 42fd02234d ENHANCEMENT Added Hierarchy->flushCache() to clear in-memory caches for allChildrenIncludingDeleted() and allChildren() Ingo Schommer 2009-01-15 05:54:10 +00:00
  • 613d13e15d MINOR More Translatable unit tests Ingo Schommer 2009-01-14 04:10:54 +00:00
  • 5c1c90320d MINOR documentation Ingo Schommer 2009-01-14 04:10:37 +00:00
  • cb8308513b 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") Ingo Schommer 2009-01-14 04:00:30 +00:00
  • 196286a6c2 Fix typo Andrew O'Neil 2009-01-14 02:32:35 +00:00
  • 455ee11b5a 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 Ingo Schommer 2009-01-13 22:28:24 +00:00
  • 696934582f MINOR Updated translations Ingo Schommer 2009-01-13 22:05:15 +00:00
  • 4f42548da6 BUGFIX: Fix translatable migration regenerating URLSegments when it shouldn't BUGFIX: Fix translatable migration not writing records to Live properly Andrew O'Neil 2009-01-13 05:04:21 +00:00