Commit Graph

  • 81e89c08fe API CHANGE Removed deprecated RestfulService->connect(), use RestfulService->request() Ingo Schommer 2008-10-16 08:34:45 +00:00
  • b45e583d29 API CHANGE Removed deprecated CustomValidator class Ingo Schommer 2008-10-16 08:33:44 +00:00
  • f7a0c5db04 API CHANGE Removed deprecated EditForm classa Ingo Schommer 2008-10-16 08:33:21 +00:00
  • 050321cb3c MINOR Removed Group_Unsecure which was never used Sean Harvey 2008-10-16 05:43:57 +00:00
  • 344d6e173c HTTP:add_cache_headers() - don't throw warning when not passed Sam Minnee 2008-10-16 05:29:32 +00:00
  • 77bb01c253 ENHANCEMENT Pulled out Newsletter specific stuff from Member, the changes in the newsletter module were done on r64365 Sean Harvey 2008-10-16 05:14:27 +00:00
  • a0c4ddfa4b MINOR Fixed FileTest for changes to getFileType() on the File class Sean Harvey 2008-10-16 04:33:35 +00:00
  • 74fd64b6d0 BUGFIX #2963 - Fix RSSFeed to work with new add_cache_headers Sam Minnee 2008-10-16 04:33:02 +00:00
  • 31df9f440f ENHANCEMENT Added additional known file types, for audio and video files MINOR Tweaked text of file type descriptions slightly Sean Harvey 2008-10-16 03:55:33 +00:00
  • b91be01aa8 API CHANGE #551: Move code from CMSMain to SiteTree Sam Minnee 2008-10-16 03:21:58 +00:00
  • b06d53012a FEATURE #2956 seaeagle1: Added If-Modified-Since support to HTTP::add_cache_headers() [16:00:18] dquote> API CHANGE: HTTP::add_cache_headers() now designed to manipulate an HTTPResponse object rather than add headers directly Sam Minnee 2008-10-16 03:02:29 +00:00
  • 89b3241584 MINOR Whitespace changes in TextField Sean Harvey 2008-10-16 02:34:46 +00:00
  • 8a385d9fc0 Removed TextField_Disabled - this is unnecessary Sean Harvey 2008-10-16 02:34:31 +00:00
  • 9ba71a54da MINOR: delete some unnecessary duplicated variable in a assignment statement. Normann Lou 2008-10-16 02:00:12 +00:00
  • 8c48dde721 BUGFIX Reverted Member->isAdmin() removal since it's being used in a lot of places, we shouldn't deprecated it... yet. Sean Harvey 2008-10-16 01:04:38 +00:00
  • 23fe21afff API CHANGE Removed deprecated method isAdmin() on Member - use Permission::check('ADMIN') instead Sean Harvey 2008-10-16 01:01:27 +00:00
  • 43e5f6b527 BUGFIX: correct wrong syntax of TableField class in its frontend javascript Normann Lou 2008-10-16 00:57:06 +00:00
  • ec1724cc4d BUGFIX: avoid a CSSClass is added to a veiwable data twice. Normann Lou 2008-10-16 00:52:50 +00:00
  • 461b57a647 API CHANGE Removed references to CanCMS and CanCMSAdmin in Group, including references to it in Member. See ticket #2959 for more details. Sean Harvey 2008-10-16 00:49:51 +00:00
  • 2c384e732f Feature: attach extraClasses to a CurrencyField when it is transform to readonly API: add CurrencyField_Readonly Normann Lou 2008-10-16 00:49:34 +00:00
  • 480f18ab48 BUGFIX: $this->extraData is not alway set for an TableField_Item API: add funcion TableField_Item::IsAddRow() Normann Lou 2008-10-16 00:47:01 +00:00
  • ab0503fe22 Feature: attach extraClasses to a FormField when it is transform to readonly Normann Lou 2008-10-16 00:43:00 +00:00
  • 19d5b377a8 API: add TextField_Disabled Normann Lou 2008-10-16 00:36:50 +00:00
  • a574ac1fc8 MINOR Removed useless comment and commented out code that went along with it in Group class Sean Harvey 2008-10-16 00:31:33 +00:00
  • 972558df3f BUGFIX If DropdownField->Field() lack of source checking before looping through it Sean Harvey 2008-10-15 23:25:55 +00:00
  • 5865fd19d1 MINOR fixed php notice error in DataObject Ingo Schommer 2008-10-15 22:57:33 +00:00
  • 2ddc6f13e8 BUGFIX Fixed DropdownField handling of Iterator objects rather than arrays in the newly created getSource() Ingo Schommer 2008-10-15 21:44:38 +00:00
  • 96ec288cd7 BUGFIX Don't use singleton() to create DataFormatter instances, as it will cause weird side-effects with multiple formatter instances with different parameters (broke subsequent test runs of RestfulServerTest and SoapModelAccessTest) - all aboard the failboat! Ingo Schommer 2008-10-15 17:27:38 +00:00
  • 7f386f52c8 MINOR Todos for ObjectTest Ingo Schommer 2008-10-15 17:09:43 +00:00
  • a90427ff4a ENHANCEMENT Added unit tests for Silverstripe's custom static handling (with lots of commented out failing tests) Ingo Schommer 2008-10-15 17:05:46 +00:00
  • 498c3d2af3 FEATURE Allowing for field-level permissions in DataObject::$api_access - respecting those permissions for reading and writing in RestfulServer (#2918) Ingo Schommer 2008-10-15 16:18:17 +00:00
  • 442ca098a7 ENHANCEMENT is_array() checks in DataFormatter to respect empty arrays as a form of denying permissions on fields Ingo Schommer 2008-10-15 15:44:06 +00:00
  • dada15629a ENHANCEMENT Added BankAccountField::is_valid_array_structure() to avoid PHP Notices when converting empty array values Ingo Schommer 2008-10-15 12:57:17 +00:00
  • c8c9c2166d ENHANCEMENT Added DropdownField->setEmptyString() and DropdownField->setHasEmptyDefault() to decrease constructor arguments and allow for modification of behaviour after calling construtor. Added DropdownField->getSource() to dynamically include empty defaults at rendering-time rather than construction time. Adjusted DropdownField subclasses to new behaviour ENHANCEMENT Added DropdownFieldTest Ingo Schommer 2008-10-15 12:39:09 +00:00
  • 3493beec9b MINOR: Added mergeinfo Sigurd Magnusson 2008-10-15 05:20:15 +00:00
  • 85dda8ee7a MINOR: Added mergeinfo Sigurd Magnusson 2008-10-15 05:18:14 +00:00
  • 28bfea28b8 BUGFIX: fixed default_country_value so that it will actually call the default country if IP lookup doesnt work Will Rossiter 2008-10-15 03:26:24 +00:00
  • 68aaa32e86 BUGFIX Fix disappearing fields when a field without a name was being pushed onto a FieldSet (eg a CompositeField) Andrew O'Neil 2008-10-15 01:30:14 +00:00
  • f58014490c MINOR Moved HTTPRequest constructor to beginning of method definitions Ingo Schommer 2008-10-15 00:53:09 +00:00
  • ff93176f70 ENHANCEMENT Making confirmation message in ConfirmedFormAction translatable Ingo Schommer 2008-10-14 23:07:05 +00:00
  • 3b16fe9b59 BUGFIX Fixed ComplexTableField->saveComplexTableField() success message object link - was assuming same context as ComplexTableField_ItemRequest Ingo Schommer 2008-10-14 23:06:22 +00:00
  • 2d33fd160a BUGFIX Adjusted ForeignKey->scaffoldFormField() to new scaffolding notation ("ajaxSafe" instead of "ajax") Ingo Schommer 2008-10-14 21:47:22 +00:00
  • d5a37d40dd ENHANCEMENT Showing image thumb before input field in a separate block <div class="thumbnail"> in SimpleImageField Ingo Schommer 2008-10-14 21:46:52 +00:00
  • 6feab01a6f BUGFIX Fixed FormScaffolder string literal parsing FALE in getFieldSet() Ingo Schommer 2008-10-14 21:38:37 +00:00
  • cb31b1b224 ENHANCEMENT Added unit tests for form session messages and session validation, FormTest->testSessionValidationMessage() and FormTest->testSessionSuccessMessage() Ingo Schommer 2008-10-14 21:37:51 +00:00
  • 391848f79b FEATURE #2951 simon_w: Use 301 redirect on Director::forceWWW() Sam Minnee 2008-10-14 21:06:15 +00:00
  • be0d3e37c5 ENHANCEMENT Added Controller->redirectBack() BUGFIX Storing HTTP "Referer" header from $_SERVER in Director::direct() and passing it along in Director::test() ENHANCEMENT Storing a "fake referer" in TestSession->lastURL to allow for redirectBack() calls, e.g. after failed form validation Ingo Schommer 2008-10-14 19:59:01 +00:00
  • 155fb9c10f BUGFIX Checking for an empty array for $postVars in Director::test() to determine HTTP method - an existing array should cause POST rather than GET, even if its empty Ingo Schommer 2008-10-14 19:55:55 +00:00
  • 0fac0752a4 BUGFIX Fixed stupid ommission from r64223 which caused HTTPRequest to construct without a proper URL Ingo Schommer 2008-10-14 19:53:59 +00:00
  • 524d7a9011 ENHANCEMENT Disrecard $includeRelations setting when scaffolding $has_one relationships in FormScaffolder - use $restrictFields to limit instead BUGFIX Using fieldLabel() for $has_one relationships in FormScaffolder Ingo Schommer 2008-10-14 19:31:18 +00:00
  • 90f3b87f35 ENHANCEMENT Making URL accessible through HTTPRequest->getURL() Ingo Schommer 2008-10-14 18:47:38 +00:00
  • dcd77d065c BUGFIX Fixed wrong call to scaffoldCMSFields() in Member->getCMSFields(), removed addScaffoldRelationFields() call as this is done by the newly called parent::getCMSFields() already Ingo Schommer 2008-10-14 00:29:16 +00:00
  • a24ccecb69 FEATURE Added ForeignKey and used it in relation- and databasefield getters in DataObject FEATURE Added FormScaffolder for more flexible scaffolding of FieldSets from DataObject metadata API CHANGE Removed DataObject->addScaffoldRelationFields(), now in separate class FormScaffolder API CHANGE Changed parameters for DataObject->scaffoldSearchFields() to unify them with scaffoldFormFields() API CHANGE Added optional $params parameter to DataObject->getCMSFields() to be passed on to scaffoldFormFields() API CHANGE Renamed DataObject->getFormFields() to getFrontEndFields() ENHANCEMENT Added $params parameter to all DBField->scaffoldFormField() subclasses API CHANGE Added third optional parameter $object to DBField::create() to comply with ForeignKey and PrimaryKey constructors Ingo Schommer 2008-10-13 22:20:41 +00:00
  • 57a84d5408 BUGFIX #2906 - Fixed manifest conflict in web-tests Sam Minnee 2008-10-13 21:34:38 +00:00
  • 96e2c82075 Removed #! entry from cli-script.php; its unreliable and cli-script.php should be called as 'php cli-script.php' instead Sam Minnee 2008-10-13 21:25:30 +00:00
  • e818f89962 ENHANCEMENT Setting default level for ContentController->getMenu($level = 1) to allow for calls without arguments Ingo Schommer 2008-10-13 20:08:59 +00:00
  • 96a448a4b2 BUGFIX fixed ss.i18n.sprintf() call in Validator.js Ingo Schommer 2008-10-13 12:26:39 +00:00
  • 6fa55568ee BUGFIX #2936: Define STDOUT if it's not already defined... Sam Minnee 2008-10-13 01:40:42 +00:00
  • 8a1ab89b84 BUGFIX: Fixed order of arguments. Hayden Smith 2008-10-12 22:21:35 +00:00
  • c26ccdffa0 FEATURE: #2601 - More template handlers Andrew O'Neil 2008-10-12 21:27:52 +00:00
  • c11a9949a4 BUGFIX Bad XHTML in en_US language file (#2624) - thanks tiwoc! Ingo Schommer 2008-10-12 16:25:29 +00:00
  • 97fed5ae57 BUGFIX Director::fileExists() fails on windows with absolute paths (#2935) - thanks to ajshort! Ingo Schommer 2008-10-12 16:16:25 +00:00
  • 7f40b2b953 BUGFIX Fixed CSSContentParser to only use tidy on CLI mode if its available, and first check for existence of PHP tidy extension. Fixes failing unit tests on standard WAMP windows installations. Ingo Schommer 2008-10-12 16:15:24 +00:00
  • c6f1a231a3 BUGFIX Fixed CSVParser assumptions about absolute unix-style filepaths - using Director::absFile() instead now Ingo Schommer 2008-10-12 15:53:25 +00:00
  • ab8c7fbedc BUGFIX Consistent usage of ss.i18n.sprintf() instead of ss.i18n.printf() - the method is returning a string rather than outputting directly, so should be sprintf() Ingo Schommer 2008-10-10 21:06:59 +00:00
  • ec591fc1fe MINOR Documentation in i18n class Ingo Schommer 2008-10-10 17:36:31 +00:00
  • a9abe0e6ca ENHANCEMENT Using $locale in _t() instead of repeatedly calling i18n::get_locale() Ingo Schommer 2008-10-10 17:36:13 +00:00
  • 72047aa3a1 BUGFIX Fixing AssetAdmin translations which were previously moved to Folder.php - i18n::include_by_class() doesn't like filenames/namespaces which are in a different folder than the language file they're referenced in (see #2359) - started in r64076 Ingo Schommer 2008-10-10 17:35:24 +00:00
  • 17ba4ded80 ENHANCEMENT Replaced hardcoded "en_US" references in i18n class with $default_locale Ingo Schommer 2008-10-10 16:13:56 +00:00
  • b562fcc934 BUGFIX Fixed AssetTableField javascript errors caused by r64049 Ingo Schommer 2008-10-10 16:07:01 +00:00
  • 8cc5625708 ENHANCEMENT Ability to add title constructor arguments to Tab and TabSet classes to resolve i18n issues with untranslated or unreferencable Tabs (see #2359) ENHANCEMENT Support for $field_labels in relation tabs created by DataObject->addScaffoldRelationFields() ENHANCEMENT Type checking and user errors for Tab and TabSet constructor arguments ENHANCEMENT Supporting titles in FieldSet->findOrMakeTab() Ingo Schommer 2008-10-10 16:00:50 +00:00
  • daaf05530c BUGFIX Fixed DebugView Breadcrumbs to not include query string as separate link, and don't append an arrow after the last element Ingo Schommer 2008-10-10 13:05:37 +00:00
  • d4c92e29b4 MINOR Removed CollectionController language strings from master table Ingo Schommer 2008-10-10 12:14:06 +00:00
  • 9d596f6157 ENHANCEMENT Using i18n fieldlabels for column-headlines in TableListField Ingo Schommer 2008-10-10 12:13:23 +00:00
  • a32b42fe19 BUGFIX: fix the bug that add some rules for summary columns even when they are not there. Normann Lou 2008-10-10 03:21:30 +00:00
  • 2b15a2d5b5 BUGFIX Using _t() to check content strings in unit tests and avoid tests failing when i18n is enabled Ingo Schommer 2008-10-10 02:20:33 +00:00
  • 9b86763720 ENHANCEMENT Re-enabled RSSFeedTest - seems to work now due to Director::baseURL() fixes (#2861) Ingo Schommer 2008-10-10 02:19:55 +00:00
  • c69bea5329 MINOR: Removed subtree mergeinfo Sam Minnee 2008-10-09 21:00:24 +00:00
  • d2e5662d47 MINOR Formatting Ingo Schommer 2008-10-09 20:27:01 +00:00
  • 9a298e1592 BUGFIX Limited error message scope on invalid classname for TestRunner Ingo Schommer 2008-10-09 18:49:24 +00:00
  • ad3f0f400f ENHANCEMENT Improved error message on invalid classname for TestRunner Ingo Schommer 2008-10-09 18:43:22 +00:00
  • 757e0ed755 BUGFIX Ignore TestOnly classes when collecting permissions Ingo Schommer 2008-10-09 18:16:13 +00:00
  • 54fa45c2fc BUGFIX Removed dependency of ss.i18n.js on other libraries by replacing $$ with document.getElementsByTagName() and implementing a custom event attacher - see #2927 Ingo Schommer 2008-10-09 17:58:56 +00:00
  • 617711c7e6 MINOR Swapped $mainFields and $fields assignments in Member->getCMSFields() to reflect what they're actually containing Ingo Schommer 2008-10-09 17:31:32 +00:00
  • 53ba32a41a MINOR Syntax fix in CliTestReporter which was causing wrong array indices Ingo Schommer 2008-10-09 15:17:59 +00:00
  • 18855687fc BUGFIX Making less assumptions about object structure in FieldSet->addFieldToTab() error messages Ingo Schommer 2008-10-09 15:15:39 +00:00
  • 950560e188 MINOR Fixed PHP notice in CLITestReporter Ingo Schommer 2008-10-09 15:14:31 +00:00
  • eb5cd150d8 BUGFIX YamlFixture->saveIntoDatabase(): In order to support reflexive relations which need a valid object ID, the record is written twice: first after populating all non-relational fields, then again after populating all relations (has_one, has_many, many_many). Fixes a bug where FileTest was testing onBeforeWrite() behaviour Ingo Schommer 2008-10-09 15:14:03 +00:00
  • 320c30ba5d BUGFIX Writing record from yml before parsing relations in YamlFixture->saveIntoDatabase() to avoid missing lookups for reflexive relations on the same object Ingo Schommer 2008-10-09 15:07:34 +00:00
  • 06d78ee993 ENHANCEMENT Don't like relations without $api_access in RestfulServer, added RestfulServer->getAllowedRelations() ENHANCEMENT Added DataFormatter->setCustomRelations() Ingo Schommer 2008-10-09 14:47:25 +00:00
  • 4134f92dad BUGFIX Moved RecordController and CollectionController to external module (see r63905) Ingo Schommer 2008-10-09 14:41:22 +00:00
  • 2fbed5b2e1 BUGFIX Adjusted FormTest->testLoadDataFromObject() to new assumptions about changed behaviour on loadDataFrom() from $loadBlanks to $clearMissingFields - which means that form fields are cleared regardless if they have blank values in the passed object or not ENHANCEMENT Added FormTest->loadDataFromClearMissingFields() ENHANCEMENT Made FormTest fixtures more expressive Ingo Schommer 2008-10-09 14:40:13 +00:00
  • 5f50fee5e9 BUGFIX Making sure that DataObject->has*Field() methods always return an array, in order not to fail any array_key_exists() checks Ingo Schommer 2008-10-09 14:39:24 +00:00
  • b1b909103e BUGFIX Fixing DataObject->hasField() to find fields in inherited database tables by using hasDatabaseField(). BUGFIX Fixing DataObject->hasField() to detect dynamic getters by using hasMethod("get$fieldName") ENHANCEMENT Re-enabled two test cases in DataObjectSet as a result of the above fixes Ingo Schommer 2008-10-09 14:38:46 +00:00
  • 67f144e1a5 BUGFIX Fixed Form->loadDataFrom() to properly populate FormField->setValue() when an object is passed as the first parameter (needed e.g. for CheckboxSetField->setValue()) - see mailinglist discussion at http://groups.google.com/group/silverstripe-dev/browse_thread/thread/717bada8ccafdd70 Ingo Schommer 2008-10-09 14:37:46 +00:00
  • 62e4870c7b API CHANGE Deprecated GhostPage Ingo Schommer 2008-10-09 14:36:04 +00:00
  • b6ffe7b939 ENHANCEMENT Added unit test CheckboxSetFieldTest?->testLoadDataFromObject() Ingo Schommer 2008-10-09 14:32:47 +00:00
  • de1218e8db ENHANCEMENT Using fixtures in CheckboxSetFieldTest?, restructured from hard-to-debug manymany-join on self to a Article<->Tag relation Ingo Schommer 2008-10-09 14:29:48 +00:00
  • 4da7a70cdd BUGFIX: Allow use of ClassInfo methods in _config.php when manifest is being rebuilt Sean Harvey 2008-10-09 05:29:34 +00:00
  • d794b11910 BUGFIX Added missing slash in TableListField_Item->Link() Sean Harvey 2008-10-09 02:20:35 +00:00