Commit Graph

  • 68326a5eac BUGFIX Avoid ajax evaluator errors by checking if $resizedImage actually exists before calling relativePath() on it MINOR Code formatting cleanup Sean Harvey 2008-10-28 23:20:14 +00:00
  • 2c4edddd1b call $this->extend('updateFieldLabels', $labels) in FieldLabels() to get its decorator's customized field labels Normann Lou 2008-10-28 04:35:34 +00:00
  • 8abb5b020f API CHANGE: Added LastChange() method to BulkLoader_Result Saophalkun Ponlu 2008-10-28 03:24:06 +00:00
  • 4bc5848734 API CHANGE: Updated CsvBulkLoader to have hasHeaderRow = true by default, even when a columnMap is specified Saophalkun Ponlu 2008-10-28 03:17:22 +00:00
  • 27a868ebf2 APICHANGE: add updateFieldLabels() to DataObjectDecorator, so as that a dataobject could update fieldLables by its decorator. Normann Lou 2008-10-28 03:03:16 +00:00
  • bff5942338 BUGFIX: Fix YamlFixture issues when specifying IDs BUGFIX: Fix DataObject::write() with a specified ID and forceInsert to be true Normann Lou 2008-10-28 01:23:41 +00:00
  • 3966f9a794 APICHANGE: A Text db field, by default, should be rendered as a TextareaField in its scaffoldForm Normann Lou 2008-10-28 00:32:51 +00:00
  • 673e0508b1 MINOR Added deprecated note to ConfirmedFormAction Sean Harvey 2008-10-27 22:50:24 +00:00
  • 412df22527 BUGFIX Made ContentController work properly if it doesn't have a dataRecord MINOR phpDoc update for ContentController->getMenu() Sean Harvey 2008-10-25 11:30:28 +00:00
  • 03830e1baa BUGFIX: merged patch from ajshort to fix checkbox fields in the cms Will Rossiter 2008-10-25 11:19:31 +00:00
  • 17705be0bc #2957 - Fixed entity decoding in Convert::html2raw Sam Minnee 2008-10-25 06:05:27 +00:00
  • f7a3e95851 Added LinkText field to link inserter Sam Minnee 2008-10-24 05:12:22 +00:00
  • 3e48714f93 BUGFIX Security->passwordsent() didn't get the "Email" variable from the URL properly, because of updates to HTTPRequest Sean Harvey 2008-10-24 02:23:53 +00:00
  • ffbd526bbb BUGFIX Fixed non-object or not null error in TreeSelectorField Sean Harvey 2008-10-24 02:05:54 +00:00
  • 6fc6b63a63 Removed sapphire/images/fe_icons - these will be put in the userforms module instead, where the FieldEditor Sean Harvey 2008-10-23 21:10:33 +00:00
  • 691776a254 ENHANCEMENT Changed FormField->Field() to make use of FormField->createTag() over complicated dynamic string building Sean Harvey 2008-10-23 10:39:11 +00:00
  • c004cc9b2f BUGFIX: Fixed incorrectly reverted methods related to sizing of the popup. Hayden Smith 2008-10-21 21:42:27 +00:00
  • a78b5a2efb BUGFIX Fixed extra class addition on various FormField->Field() methods Sean Harvey 2008-10-21 20:58:11 +00:00
  • 6195772779 ENHANCEMENT Allow use of RestfulService->setQueryString() and test to support it. Patch from ticket #2973. Thanks to simon_w! Sean Harvey 2008-10-21 03:45:44 +00:00
  • a51d7184a3 BUGFIX Using include_once() instead of include() for _ss_environment.php in install.php and Core.php to avoid PHP notice errors about double constant defines (see r64561) Ingo Schommer 2008-10-20 13:26:52 +00:00
  • a86e42e5ed MINOR Temporarily disabled Debug::message() calls in i18nTextCollector as they're disturbing unit test output and we currently dont have context switches for this Ingo Schommer 2008-10-20 12:39:49 +00:00
  • 69d370dfd7 MINOR Adjusted i18nTextCollector to use DataObject->i18nCollectStatics() Ingo Schommer 2008-10-20 12:38:29 +00:00
  • bd023527e6 ENHANCEMENT Used _t() entity instead of hardcoded "not set" string in TextareaField->Field() Sean Harvey 2008-10-20 10:58:31 +00:00
  • fda6ab0afb MINOR Unnecessary check of trim() twice on TextareaField->Field() Sean Harvey 2008-10-20 10:54:04 +00:00
  • 62a28cab64 ENHANCEMENT Clearer indication of setting disabled attribute in DropdownField->Field() since the disabled attribute shouldn't be set if the field isn't to be disabled Sean Harvey 2008-10-20 10:52:47 +00:00
  • 719bc5dff4 MINOR whitespace removal Sean Harvey 2008-10-20 10:32:14 +00:00
  • a16f55b068 ENHANCEMENT Clearer indication of setting disabled attribute in CheckboxField->Field() since the disabled attribute shouldn't be set if the field isn't to be disabled Sean Harvey 2008-10-20 10:22:01 +00:00
  • 2fd43fccfa ENHANCEMENT If TextField->disabled has been set to true, then add the "disabled" attribute to the input type text attribute list Sean Harvey 2008-10-20 10:18:25 +00:00
  • f5a39b5c2c ENHANCEMENT Made use of FormField->createTag() functionality for creating a textarea field in TextareaField->Field() MINOR Documentation tweaks in TextareaField Sean Harvey 2008-10-20 10:05:05 +00:00
  • 1611deb019 MINOR Convert::raw2att() isn't required because FormField->createTag() already does this Sean Harvey 2008-10-20 10:03:20 +00:00
  • 249c7a7d12 APICHANGE: delete GenericDataAdmin, RelatedDataEditor, DropdownField_WithAdd and their related code (js, css, etc) from cms, sapphire, "GenericDataAdmin" name space has also been deleted from lang files. They are all added in the new module "genericdataadmin" Normann Lou 2008-10-20 00:20:00 +00:00
  • a6e6a4387d BUGFIX Renamed "Save & Publish" to "Save and Publish" since this value is used in the value attribute of input elements, properly parsed, this would produce & instead of & Sean Harvey 2008-10-19 01:28:30 +00:00
  • 8e1f647252 MINOR Added to @deprecated note for TypeDropdown about why this class shouldn't be used Sean Harvey 2008-10-19 00:41:16 +00:00
  • 7048077184 API CHANGE Removed HtmlOneLineField. This field has been deprecated for some time now, and it does not work. API CHANGE Changed HTMLVarchar->scaffoldFormField() to use HtmlEditorField instead of HtmlOneLineField, which does not work. Sean Harvey 2008-10-19 00:18:55 +00:00
  • ee5b0e2447 MINOR ErrorPage removal of ShowInMenus explicitly being set - this is done using static $defaults on the class itself. MINOR ErrorPage phpDoc updates - removal of non-existant token @usedby, replaced with @see MINOR Code formatting changes to be more consistent Sean Harvey 2008-10-18 22:31:04 +00:00
  • 9025c57e4b MINOR Moved CollectionController_Results template into genericviews module Ingo Schommer 2008-10-17 22:05:20 +00:00
  • 12f2457677 BUGFIX Fixed distribution of textcollector files to modules (was collecting all entities into all modules before) - added unit tests ENHANCEMENT Using ksort() in textcollector to get alphabetized language master files (=easier to compare and debug) Ingo Schommer 2008-10-17 17:44:14 +00:00
  • c4cdc9ce87 ENHANCEMENT Made _t() global function in Core.php an alias for the new i18n::_t() method Ingo Schommer 2008-10-17 15:40:59 +00:00
  • 874aaf1d27 ENHANCEMENT Refactored i18nTextCollector and added unit tests FEATURE Support for i18n entity namespaces in templates Ingo Schommer 2008-10-17 15:21:33 +00:00
  • 9f41917fb1 BUGFIX Fixed wrongly formatted _t() call in Security class Ingo Schommer 2008-10-17 15:20:31 +00:00
  • 2cf70326ae BUGFIX Fixed $module parameter for i18nTextCollectorTask Ingo Schommer 2008-10-17 15:19:10 +00:00
  • 23aa23fb60 ENHANCEMENT Added ClassInfo::classes_for_file() Ingo Schommer 2008-10-17 15:18:26 +00:00
  • c47257568c FEATURE: Added support for 'sake dev/tests/all --showslow' to list slow tests Sam Minnee 2008-10-17 02:28:55 +00:00
  • c6f6f82f24 FEATURE: Added ?debug_memory=1 flag Sam Minnee 2008-10-17 00:52:58 +00:00
  • 6fe79bc1c6 BUGFIX: Fix issue with language files not being included Sam Minnee 2008-10-16 23:39:19 +00:00
  • c45ef338d2 Removed junk text from CSSContentParserTest Sam Minnee 2008-10-16 23:39:02 +00:00
  • 795fdb2169 BUGFIX Removed duplicate setValue() method on Time (was supposed to be deleted instead of renamed from setVal() to setValue()) Ingo Schommer 2008-10-16 23:19:39 +00:00
  • f49e2c1ca6 BUGFIX: posix_isatty sometimes returns a benign error Sam Minnee 2008-10-16 23:17:43 +00:00
  • d3f6b8ec9e BUGFIX: Don't run migration code for permissions if the old field doesn't exist. Andrew O'Neil 2008-10-16 22:46:48 +00:00
  • 509f14d6ae FEATURE: Show max memory usage on dev/tests/all Sam Minnee 2008-10-16 22:26:16 +00:00
  • e30b5e3f22 MINOR: documenting my new method, correct a coding convention about whitespace Normann Lou 2008-10-16 22:22:32 +00:00
  • 5f70af6d38 ENHANCEMENT Moving i18n->textcollector() and related methods to new class i18nTextCollector and i18nTextCollectorTask - enabling running textcollector through CLI, refactored to instance methods for better testability Ingo Schommer 2008-10-16 20:42:41 +00:00
  • 5b91ea9d0a ENHANCEMENT Improved TaskRunner and BuildTask metadata and styling Ingo Schommer 2008-10-16 20:40:24 +00:00
  • f1f76b22b7 FEATURE: Flush template cache before running tests Sam Minnee 2008-10-16 19:48:12 +00:00
  • 68dba3e8af BUGFIX Fixed RestfulServerTest fixture path Ingo Schommer 2008-10-16 18:22:37 +00:00
  • 593e0f1799 MINOR moved RestfulServerTest from cms to sapphire module, same as the actual RestfulServer class Ingo Schommer 2008-10-16 17:37:31 +00:00
  • 3c55ea4f01 BUGFIX Fixed combined Content-Type and encoding header parsing in RestfulServer for DataFormatter::get_by_mimetype() BUGFIX Returning 409 Conflict HTTP Header when trying to create a resource on an existing URL through RestfulServer Ingo Schommer 2008-10-16 17:35:27 +00:00
  • 00eaa1b5b7 BUGFIX Removed $headingLevel reference from LabelField (was supposed to go into HeaderField) Ingo Schommer 2008-10-16 14:03:10 +00:00
  • 06671277a7 BUGFIX Second constructor argument $title for HeaderField should be optional for legacy reasons Ingo Schommer 2008-10-16 13:54:21 +00:00
  • cb5d772111 MINOR deprecation notes Ingo Schommer 2008-10-16 13:44:20 +00:00
  • 794ae40f8f API CHANGE Moved CheckboxFieldDisabled class to more common CheckboxField_Disabled notation Ingo Schommer 2008-10-16 13:44:05 +00:00
  • 692bd4c835 BUGFIX Using PasswordField instead of deprecated EncryptField Ingo Schommer 2008-10-16 13:43:31 +00:00
  • 80b5bfd4d2 API CHANGE Removed NoScriptField, please use LiteralField Ingo Schommer 2008-10-16 13:31:57 +00:00
  • 82e1ad8d8a API CHANGE Removed EncryptField, use PasswordField Ingo Schommer 2008-10-16 13:31:34 +00:00
  • 768fc5a588 BUGFIX Adjusted HeaderField and LabelField implementation to new constructor arguments (see r64421) Ingo Schommer 2008-10-16 13:26:50 +00:00
  • e95c5657ff API CHANGE Changed constructor parameters for LabelField and Header: First parameter is now $name, not $title. Necessary change to consistently support labelled fields which can be identified and modified within a FieldSet, and in the DOM structure. Both HeaderField and LabelField still acceppt old notation through checking the parameter signature with func_get_args(). API CHANGE Moved setAllowHTML() to DataLessField ENHANCEMENT Using createTag() to create HeaderField and LabelField, which adds support for HTML id attributes and extra css classes through addExtraClass() Ingo Schommer 2008-10-16 13:26:25 +00:00
  • ab891c67ec API CHANGE Removed LabelledLiteralField, use LiteralField API CHANGE Removed NamedLabelField, use LabelField Ingo Schommer 2008-10-16 13:22:36 +00:00
  • 461354bb47 MINOR Misc deprecation notes Ingo Schommer 2008-10-16 13:00:30 +00:00
  • bc28a64e18 MINOR Changed visibility of SiteTree->getClassDropdown() Ingo Schommer 2008-10-16 13:00:02 +00:00
  • edd087f80b API CHANGE Removed SiteTree->makelinksunique() and SiteTree->makelinksuniquequick() - use new SiteTreeMaintenanceTask Ingo Schommer 2008-10-16 12:18:16 +00:00
  • d80a6899e1 MINOR documentation Ingo Schommer 2008-10-16 12:05:08 +00:00
  • 639dee8926 MINOR Removed unused DatabaseAdmin->makeURL() Ingo Schommer 2008-10-16 12:02:57 +00:00
  • b46250b9dc MINOR documentation Ingo Schommer 2008-10-16 12:02:41 +00:00
  • 4814521e93 MINOR Marked some Convert methods as deprecated, as their purpose is unclear, they're neither documented nor tested. Stuff like Convert::xml2js() is just way too fuzzy Ingo Schommer 2008-10-16 11:58:31 +00:00
  • b8ef87d24a MINOR phpDoc comment error fix Sean Harvey 2008-10-16 11:50:55 +00:00
  • 3e13bd8307 ENHANCEMENT Made use of createTag() on FormAction->Field() Sean Harvey 2008-10-16 11:50:13 +00:00
  • b042141634 MINOR Misc Convert documentation MINOR Changed visibility of Convert::recursiveXMLToArray Ingo Schommer 2008-10-16 11:49:51 +00:00
  • d6680e300d ENHANCEMENT Added ID to allow CSS styling of forgot password link on MemberLoginForm Sean Harvey 2008-10-16 11:35:43 +00:00
  • 8cf23e6d6c API CHANGE Removed NoScriptFormAction, use unobtrusive scripting Ingo Schommer 2008-10-16 11:34:25 +00:00
  • 0d8e5708c0 MINOR Tidied up code formatting for MemberLoginForm->forgotPassword() to be clearer ENHANCEMENT Added a message if no email address was specified, for user feedback purposes on MemberLoginForm->forgotPassword() Sean Harvey 2008-10-16 11:29:43 +00:00
  • 85bcedf9e6 ENHANCEMENT Changed the "I've lost my password" action to a link instead, since the button is too prominent, and usability is poor having this as a form submit button. Sean Harvey 2008-10-16 11:10:56 +00:00
  • e8e197c298 MINOR Security->LostPasswordForm() code formatting changes for clarity Sean Harvey 2008-10-16 11:08:52 +00:00
  • e820c88be0 MINOR Moved Controller::init() to top of file Ingo Schommer 2008-10-16 11:08:51 +00:00
  • 252f739919 API CHANGE Removed deprecated File->setMaxFileSize(), use Upload class API CHANGE Removed deprecated File->getMaxFileSize(), use Upload class API CHANGE Removed File::sync(), use Filesystem::sync() API CHANGE Removed deprecated File::fixfiles() API CHANGE Removed deprecated File::loadContent(), use Upload class API CHANGE Removed deprecated File::loadallcontent(), use Upload class Ingo Schommer 2008-10-16 11:05:57 +00:00
  • b3f57dd454 API CHANGE Removed Filesystem::moverootfilesto() Ingo Schommer 2008-10-16 11:03:45 +00:00
  • 049ab468e3 MINOR Misc deprecation notes Ingo Schommer 2008-10-16 11:03:01 +00:00
  • e9a2e5d464 API CHANGE Removed deprecated ComplexRequiredFields, use RequiredFields and custom javascript instead Ingo Schommer 2008-10-16 10:51:09 +00:00
  • 1b09577c31 ENHANCEMENT Versioned::get_one_by_stage() and Versioned::get_by_stage() were missing parameters from their get_one() and get() counterparts in DataObject. Those parameters have been added. See ticket #2965 for the origin of this patch. MINOR phpDoc for Versioned::get_by_stage() to be consistent with Versioned::get_one_by_stage() Sean Harvey 2008-10-16 10:14:47 +00:00
  • 9b1db223ce API CHANGE Removed deprecated Datetime class, use SSDatetime instead (was conflicting with PHP 5.2 integrated classes) Ingo Schommer 2008-10-16 08:59:40 +00:00
  • bd1633d742 API CHANGE Removed Email_Template, use Email Ingo Schommer 2008-10-16 08:44:49 +00:00
  • 2d44f59816 API CHANGE Removed ViewableData->setVal(), use ViewableData->setValue() Ingo Schommer 2008-10-16 08:44:32 +00:00
  • 189501b775 MINOR Misc deprecation notices Ingo Schommer 2008-10-16 08:44:08 +00:00
  • 404aba0bb8 API CHANGE Removed Debug::mailBuffer() Ingo Schommer 2008-10-16 08:43:03 +00:00
  • 4b461c2175 API CHANGE Removed Director::getAbsURL(), use Director::absoluteURL() API CHANGE Removed Director::isTestMode(), use Director::isTest() API CHANGE Removed Director::isDevMode(), use Director::isDev() API CHANGE Removed Director::isLiveMode(), use Director::isLive() Ingo Schommer 2008-10-16 08:42:44 +00:00
  • c67d1b6425 API CHANGE Removed FormField->setExtraClass(), use FormField->addExtraClass() Ingo Schommer 2008-10-16 08:41:34 +00:00
  • 0199294864 API CHANGE Removed DataObjectSet->append(), use DataObjectSet->push() or DataObjectSet->merge() Ingo Schommer 2008-10-16 08:40:55 +00:00
  • 079b491f2e API CHANGE Removed Controller::currentController(), use Controller::curr() API CHANGE Removed Controller->LinkTo(), use Controller->join_links() Ingo Schommer 2008-10-16 08:40:08 +00:00
  • f225180511 API CHANGE Removed Image_Saver API CHANGE Removed Image->transferlegacycontent() Ingo Schommer 2008-10-16 08:38:05 +00:00
  • 62861b091b API CHANGE Removed DataObject->getLastWriteFields(), use DataObject->getChangedFields() Ingo Schommer 2008-10-16 08:37:10 +00:00
  • df19769fd1 API CHANGE Removed Convert::raw2html(), use Convert::raw2xml() API CHANGE Removed Convert::html2plain(), use Convert::xml2raw() API CHANGE Removed Convert::html2text(), use Convert::xml2raw() API CHANGE Removed Convert::raw2reserveNL(), use Convert::raw2xml() API CHANGE Removed Convert::raw2attr(), use Convert::raw2att() Ingo Schommer 2008-10-16 08:36:27 +00:00