Commit Graph

  • e0ec30dcc8 ENHANCEMENT Allowing usage of global settings via asterisk (*) in RequestHandler->$allowed_actions Ingo Schommer 2009-04-02 16:34:27 +00:00
  • e482ada014 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. Ingo Schommer 2009-04-01 16:35:32 +00:00
  • 9f0be3eb7b 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 Ingo Schommer 2009-03-31 22:27:53 +00:00
  • 2e109a27a5 ENHANCEMENT Allowing to run multiple tests comma-separated in TestRunner, e.g. through dev/tests/ObjectTest,DataObjectTest Ingo Schommer 2009-03-31 19:42:08 +00:00
  • d2d04d950a BUGFIX Consistently returning boolean values in DataObject->hasDatabaseField() MINOR Documentation in DataObject Ingo Schommer 2009-03-31 19:34:37 +00:00
  • 9eb57d064e ENHANCEMENT Added Extension::get_classname_without_arguments() Ingo Schommer 2009-03-31 19:32:51 +00:00
  • 23fc9380f2 BUGFIX Making $_SINGLETONS a global instead of a static in Core.php so it can be re-used in other places Ingo Schommer 2009-03-31 19:32:19 +00:00
  • 697703aff8 ENHANCEMENT Added DataObjectDecorator->setOwner() Ingo Schommer 2009-03-31 19:31:21 +00:00
  • 6c70b10173 MINOR Removed debug code Ingo Schommer 2009-03-31 17:07:16 +00:00
  • 9886aef57d BUGFIX Removed version number from <meta> generator tag - opt for security by obscurity in this case (originally committed in r70422 and r71172) Ingo Schommer 2009-03-30 16:34:38 +00:00
  • ea9ce082e2 BUGFIX Fixed SoapModelAccessTest to conform to new 401 returns in RestfulServer Ingo Schommer 2009-03-30 05:20:08 +00:00
  • ec42a12162 BUGFIX RestfulServer->permissionFailiure() returns correct HTTP status code if authentication is possible: 401 Unauthrized instead of 403 Forbidden (patch #3803, thanks DoubleClique) Ingo Schommer 2009-03-30 03:12:58 +00:00
  • d8f8184986 API CHANGE: autologinhash index removed due to conflicts with nulls in MSSQL Geoff Munn 2009-03-30 03:04:37 +00:00
  • 6cbeeb9e03 MINOR: Fixed test to get previous change to work Sam Minnee 2009-03-29 21:50:47 +00:00
  • cedee5705f BUGFIX #3798 ajshort: Let searchcontext be used on sitetree (merged r73758) Sam Minnee 2009-03-29 21:03:17 +00:00
  • 496ada9c9d BUGFIX Fixed wrong reference in RequirementsBackend::unblock_all() (see #3587) Ingo Schommer 2009-03-29 01:31:44 +00:00
  • e0b4a1a837 MINOR Fixed spelling, grammar and example code (#3796, thanks bgribaudo) Ingo Schommer 2009-03-29 00:58:44 +00:00
  • 40910f9f71 ENHANCEMENT RestfulServer now accepts form-encoded HTTP requests for PUT and POST with new FormEncodedDataFormatter class (#3792, thanks camspiers) Ingo Schommer 2009-03-29 00:51:38 +00:00
  • 6a53df681f BUG FIX: Fulltext fields restored in SiteTree.php Geoff Munn 2009-03-25 22:56:43 +00:00
  • 06cf80edb9 BUGFIX Undefined function "use_error" - should've been "user_error" (Merged from r69938) Sean Harvey 2009-03-25 22:30:29 +00:00
  • 7cc578a603 BUGFIX Allow empty value passed to Database::manipulate() (merged from r61324) Sean Harvey 2009-03-25 22:26:03 +00:00
  • f53062cd3b ENHANCEMENT Allow setting the "Reply-To" header by calling Email->ReplyTo('my@emailhere.com') Sean Harvey 2009-03-25 22:02:30 +00:00
  • c4d966c6a1 BUGFIX Explicitly define customHeaders as an array, and ensure send()/sendPlain() both use customHeaders Sean Harvey 2009-03-25 21:56:25 +00:00
  • 2f2910eac3 MINOR Fixed inconsistency of using a global $project instead of global project() function in Email Sean Harvey 2009-03-25 21:46:48 +00:00
  • bd9778067c BUGFIX Fixed potential PHP notices if headers array not set for Bcc and Cc Sean Harvey 2009-03-25 21:43:01 +00:00
  • 0085a1ad9d MINOR Code formatting fixes to Email Sean Harvey 2009-03-25 21:27:01 +00:00
  • 50ca8ff01a MSSQL enabled for GW metlink Geoff Munn 2009-03-25 21:06:06 +00:00
  • 6d561f3a3c removed accidental character Sean Harvey 2009-03-25 03:18:09 +00:00
  • 7db4f61c6c BUGFIX Fixed undefined index notice error in Database Sean Harvey 2009-03-25 03:17:19 +00:00
  • 3164b7ff67 API CHANGE: backticks removed Geoff Munn 2009-03-23 04:18:41 +00:00
  • 41e2ea0629 BUGFIX Fix call to undefined "_12Hour" function Sean Harvey 2009-03-23 02:49:22 +00:00
  • b004149267 BUGFIX Check if the index_alt variable is set on the indexList() return before checking if it's an array Sean Harvey 2009-03-23 01:00:33 +00:00
  • b12a00c391 MINOR phpdoc documentation Ingo Schommer 2009-03-22 22:59:14 +00:00
  • a970382924 BUGFIX #3579 bgribaudo: Error in error text rendering Sam Minnee 2009-03-22 08:38:14 +00:00
  • 131316e57a MINOR: Fixed syntax error in test source file Sam Minnee 2009-03-22 00:29:47 +00:00
  • 6343aa2140 BUGFIX #3758: Fixed config-form.html for use with short_open_tag = off Sam Minnee 2009-03-22 00:29:18 +00:00
  • ef4c5019a6 Added a syntax checking test that will use short_tags on and off and asp_tags on Sam Minnee 2009-03-22 00:25:09 +00:00
  • a28ea0a69e ENHANCEMENT: Added Object::combined_static(), which gets all values of a static property from each class in the hierarchy Sam Minnee 2009-03-21 05:10:05 +00:00
  • 6b2cf2a48e BUGFIX: Fixed translatable test execution by making protected methods public Sam Minnee 2009-03-21 04:30:04 +00:00
  • d922d2c36a ENHANCMENT: Improvements to 'sake interactive', thanks Hamish Friedlander Sam Minnee 2009-03-21 03:18:07 +00:00
  • 16a012dfa1 MINOR fixed typo Ingo Schommer 2009-03-20 08:56:57 +00:00
  • 7ad7f8dcf2 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 Ingo Schommer 2009-03-20 08:47:06 +00:00
  • 4e5bc0f7fa ENHANCEMENT Supporting "Locale-English" and "Locale-Native" as listing arguments in LanguageDropdownField Ingo Schommer 2009-03-20 08:38:57 +00:00
  • c14b71dfc0 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() Ingo Schommer 2009-03-20 08:36:40 +00:00
  • 25b19f0ae4 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 Ingo Schommer 2009-03-20 07:58:52 +00:00
  • fceb53eae6 MINOR documentation Ingo Schommer 2009-03-20 07:51:00 +00:00
  • 69f1595cc8 BUGFIX Fixed possible SQL injection in file name part for File::find() Sean Harvey 2009-03-20 01:36:19 +00:00
  • 19406d904c Merged r73261 from branches/2.3 Sam Minnee 2009-03-19 23:04:48 +00:00
  • 93bb76dd10 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 Ingo Schommer 2009-03-18 17:13:23 +00:00
  • 835b2e40c4 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 Ingo Schommer 2009-03-18 17:01:51 +00:00
  • ade3ac4547 MINOR documentation Ingo Schommer 2009-03-18 17:00:42 +00:00
  • fef49abefa BUGFIX Disabled "untranslated" CSS class for SiteTree elements - doesn't apply any longer with the new "translation groups" concept Ingo Schommer 2009-03-18 16:15:46 +00:00
  • 103c6e8d68 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() Ingo Schommer 2009-03-18 16:13:40 +00:00
  • 8c2d1beb7e MINOR Merged r73298,r73299,r73301,r73304,r73318 from branches/2.3 Ingo Schommer 2009-03-18 10:16:15 +00:00
  • 44d213e0b2 BUGFIX Using $allowed_actions in Image_Uploader Ingo Schommer 2009-03-17 22:26:52 +00:00
  • 6121cc4782 BUGFIX Validating $_FILES in Upload->validate() Ingo Schommer 2009-03-17 22:26:33 +00:00
  • b078ad825c BUGFIX Existence check for Member autologin token Ingo Schommer 2009-03-17 22:25:22 +00:00
  • a96ca0eacc BUGFIX Checking for Director::is_site_url() before redirecting in Controller->redirectBack() and MemberLoginForm Ingo Schommer 2009-03-17 22:24:50 +00:00
  • ad3d9ae29a BUGFIX Added isDev() and Permission::check() directives to DatabaseAdmin and DevelopmentAdmin Ingo Schommer 2009-03-17 22:23:52 +00:00
  • 47f2deee7f BUGFIX Fixed Director::makeRelative() to accept https:// protocol BUGFIX Fixed GET-parameter replacement in Director::is_absolute_url() ENHANCEMENT Added Director::is_relative_url() and Director::is_site_url() BUGFIX Validating $_FILES array in Director::direct() Ingo Schommer 2009-03-17 22:22:55 +00:00
  • e76d876b73 API CHANGE: Postgres support for T-search indexes Geoff Munn 2009-03-17 22:22:46 +00:00
  • 2a2e83f8e3 MINOR Documentaion Ingo Schommer 2009-03-17 20:21:21 +00:00
  • a2f6d82379 MINOR documentation Ingo Schommer 2009-03-17 20:20:43 +00:00
  • 187a1f6f30 MINOR documentation Ingo Schommer 2009-03-17 20:20:08 +00:00
  • ec09946ae8 BUG FIX: modifyIndex function now present (was indexOrIndexAlt()) Geoff Munn 2009-03-17 19:56:11 +00:00
  • 68fc0bab0b MINOR Temporarily disabled broken method reference from r73214 Ingo Schommer 2009-03-17 12:07:18 +00:00
  • b6e115a874 ENHANCEMENT Added Form->MessageType() to Form->extraClass() to make sure every tag in a formfield HTML container can be styled based on the validation results (previously it was only possible to style a <span class="message"> tag inside the container) MINOR FormFied documentation Ingo Schommer 2009-03-17 11:38:52 +00:00
  • 67f4e76cee MINOR Formatting (mostly indentation) Ingo Schommer 2009-03-17 09:12:54 +00:00
  • 331ea15e45 MINOR Documentation for email classes Ingo Schommer 2009-03-17 09:07:33 +00:00
  • ac06b8dd20 API CHANGE: index logic changed for MSSQL compatibility Geoff Munn 2009-03-17 05:02:40 +00:00
  • 76c114f270 MINOR Added DataObjectDecoratorTest->testPopulateDefaults() Ingo Schommer 2009-03-16 13:47:52 +00:00
  • 88359b1ba5 MINOR Added DataObjectTest->testPopulateDefaults() Ingo Schommer 2009-03-16 13:43:03 +00:00
  • 14c37bf510 MINOR: Commented out problematic caching test :-( Sam Minnee 2009-03-16 06:49:05 +00:00
  • b09fac7f9b BUGFIX: Don't throw an error if a non-existent cache file is cleared Sam Minnee 2009-03-16 04:31:53 +00:00
  • 67a1c6cda3 ENHANCEMENT: Added Object::clearCache() to clear a cache BUGFIX: Make object cache testing more robust Sam Minnee 2009-03-15 01:09:59 +00:00
  • 08e2fc15ef Improved object cache testing Sam Minnee 2009-03-15 00:48:33 +00:00
  • bc8cd107db MINOR documentation Ingo Schommer 2009-03-14 19:09:00 +00:00
  • 41fb93b344 ENHANCEMENT #3032 ajshort: Use static methods for accessing static data Sam Minnee 2009-03-14 00:16:32 +00:00
  • fbabb9b31f ENHANCEMENT Added CSS class "validationerror" to Form markup with validation errors. This makes it easy to evaluate a new form after an ajax call and give the user feedback independent of the form rendering, e.g. in ModelAdmin Ingo Schommer 2009-03-13 10:19:10 +00:00
  • 4499d1a8d0 ENHANCEMENT Allowing item-specific permissions in TableListField and subclasses (through TableListField_Item->Can() and DataObject->can*() methods). Adding "disabled" icons to template. Ingo Schommer 2009-03-13 10:07:27 +00:00
  • 982c2142de BUGFIX Using TableListField_Item.ss in ComplexTableField.ss to avoid template duplication and inconsistent feature sets Ingo Schommer 2009-03-13 10:06:41 +00:00
  • 8fe1809344 ENHANCEMENT Making $fieldList argument in HasManyCTF and ManyManyCTF optional to adhere to changed parent implementation Ingo Schommer 2009-03-13 10:05:57 +00:00
  • ef5c9a42d5 BUG FIX: SQL queries fixed for MSSQL Geoff Munn 2009-03-12 21:48:58 +00:00
  • b8c803f520 BUGFIX Added an <img> HTML alt attribute to CalendarDateField output HTML so that this field is W3C compliant for <img> elements Sean Harvey 2009-03-12 21:47:44 +00:00
  • 969a95eff7 BUGFIX Removed hardcoded field value removals in Form->validate() for creditcard info ENHANCEMENT Optionally returning JSON data or HTML form representations from Form submissions if Form->validate() fails (if HTTP Accept is set to 'application/json') ENHANCEMENT Limiting usage of prototype-validation responses in Form->validate() to form instances with $javascriptValidationHandler=='prototype' (which is the default setting). This enables us to return richer JSON data on validation errors without making assumptions about javascript methods on clientside through eval'ed responses (specifically Validator.js->validationError()) API CHANGE Deprecated Validator->getError() and Validator->getCombinedError(), use getErrors() instead Ingo Schommer 2009-03-12 16:47:29 +00:00
  • a97ee0e97d MINOR Documentation about database indexes Ingo Schommer 2009-03-12 11:11:35 +00:00
  • 0d1846ac59 API CHANGE: fields now detected properly upon dev/rebuild in MSSQL Geoff Munn 2009-03-12 02:43:10 +00:00
  • ea8030d955 BUGFIX CalendarDateField requires prototype to be included at all times in order for the calendar javascript to work - so ensure that it is included (this broke on the front end if prototype wasn't included via Requirements). Sean Harvey 2009-03-12 02:20:45 +00:00
  • 9dc761d449 ENHANCEMENT Updated Form->forAjaxTemplate() to select the same templates as Form->forTemplate() that was changed in r72950 Sean Harvey 2009-03-12 01:47:21 +00:00
  • e5712d46ef ENHANCEMENT Allow setting the Form template by calling Form->setTemplate('MyTemplateName') without having to subclass Form Sean Harvey 2009-03-12 01:43:56 +00:00
  • 30cd13f0af BUG FIX: $basetable moved to avoid errors Geoff Munn 2009-03-12 00:34:32 +00:00
  • 63bd9614d5 API CHANGE: query fixed for MSSQL Geoff Munn 2009-03-11 23:04:50 +00:00
  • aaaf9cdfcd API CHANGE: queries fixed for MSSQL Geoff Munn 2009-03-11 23:03:28 +00:00
  • fc4756ddcd BUG FIX: function now() now included Geoff Munn 2009-03-11 22:24:50 +00:00
  • 586a1888ee BUG FIX: allTablesSQL function now included Geoff Munn 2009-03-11 22:00:01 +00:00
  • 53d551d2e6 API CHANGE: raw2sql now uses DB-specific method Geoff Munn 2009-03-11 21:50:26 +00:00
  • 807736490f API CHANGE: NOW() replaced with DB-specific version Geoff Munn 2009-03-11 21:50:03 +00:00
  • cac97f9d78 API CHANGE: Auto-increment of ID column now DB-specific Geoff Munn 2009-03-11 21:48:59 +00:00
  • 3201b4fd79 API CHANGE: addslashes function included for MySQL database Geoff Munn 2009-03-11 21:48:30 +00:00
  • 9448927b09 API CHANGE: NOW() replaced with DB-specific version Geoff Munn 2009-03-11 21:47:31 +00:00