Commit Graph

8184 Commits

Author SHA1 Message Date
Will Rossiter
c3cae289d3 MINOR: added default flag to SCSS to allow variables to be overridden 2012-03-27 21:35:43 +13:00
Will Rossiter
e9f650a04e MINOR: tighten up tree spacing 2012-03-27 21:35:43 +13:00
Ingo Schommer
3808cb198f Merge pull request #274 from halkyon/cleanup
Removing old code that supported PHP 5.1
2012-03-27 01:05:49 -07:00
Sean Harvey
b92e4e01a9 MINOR Removed PHP 5.1 check for PasswordEncryptor, use hash() always as PHP 5.1 is no longer supported. 2012-03-27 20:09:36 +13:00
Sean Harvey
fec5497873 MINOR Removed old array_fill_keys() replacement for PHP 5.1, which is no longer supported. 2012-03-27 20:09:01 +13:00
Andrew O'Neil
de2832e65f ENHANCEMENT: Allow Object::create() to be called with late static binding.
This allows DataList::create('SiteTree') as equivalent to Object::create('DataList', 'SiteTree'), without
having to have a create() function on DataList. Required for E_STRICT compliance.
2012-03-27 17:57:42 +13:00
Sean Harvey
c02b4418bb BUGFIX Using DateField "dmyfields" option, if you set empty
day/month/year values, valueObj on DateField will contain erroneous values.
Check that all the value inputs aren't null or empty values BEFORE
calling Zend_Date on the value.
2012-03-27 14:46:09 +13:00
Ingo Schommer
06a4e1aad6 Merge pull request #268 from sminnee/raise-js-errors
BUGFIX: Show a correct growl message when ajax returns a JS error rather than HTTP error.
2012-03-26 06:27:41 -07:00
Sean Harvey
2a853b1b5b Merge pull request #270 from drzax/gd
ENHANCEMENT: Before preforming an image resize, make sure it's actually required
2012-03-26 01:19:32 -07:00
Simon Elvery
c9aa0e74b9 ENHANCEMENT: Before preforming an image resize, make sure it's actually required.
This is better from an efficiency point of view and it also eliminates unessesary re-sampling (i.e. reduction in quailty).
2012-03-26 14:21:14 +10:00
Sean Harvey
fd7f2eb469 ENHANCEMENT Use of Object::create('GridField') for Roles grid in
SecurityAdmin, to be consistent with Members and Groups grid
instantiation.
MINOR Removing comments referring to CTF
2012-03-26 14:51:40 +13:00
Sam Minnée
28574e469a Merge pull request #269 from halkyon/fulltextsearchable
Fixed FulltextSearchable non-object error and remove deprecated Object::add_static_var() usage
2012-03-25 02:10:32 -07:00
Sam Minnée
3f78aab8d8 Merge pull request #257 from halkyon/gridfield_export
GridFieldExportButton changes to support customisation of which fields to export
2012-03-25 02:09:06 -07:00
Sean Harvey
ec02ab6f68 BUGFIX Fixed FulltextSearchable checking DB::getConn() unncessarily for
MySQL, as Database::requireTable() will only apply create_table_options
to the database adapter they're set for. Replace Object::add_static_var
usage (deprecated) with the new config system instead.
2012-03-25 20:38:29 +13:00
Sean Harvey
fca60b786c ENHANCEMENT Addition of ModelAdmin::getExportFields() which allows ModelAdmin classes to customise which fields should be exported. Defaults to the summary fields from the model class definition. 2012-03-25 20:01:43 +13:00
Sean Harvey
4bcd44aee6 ENHANCEMENT GridFieldExportButton now supports dot syntax for column sources through DataObject::relField() 2012-03-25 19:54:38 +13:00
Sam Minnee
f5f655bd7a BUGFIX: Show a correct growl message when ajax returns a JS error rather than HTTP error. 2012-03-24 16:35:18 +13:00
Sam Minnee
7db3b8ecd6 MINOR: Raise deprecation errors in the same way as notice-level errors. 2012-03-24 16:34:10 +13:00
Sam Minnée
92b6adfcb5 Merge pull request #265 from garethbfoster/fix-7018
BUGFIX #7018 This stops an infinite loop when Depreciation::notice is ca...
2012-03-23 20:02:09 -07:00
Gareth Foster
21d52d3852 BUGFIX #7018 This stops an infinite loop when Depreciation::notice is called from set_dev_servers(). This doesn't stop people from setting $dev_servers directly (not that it is used in the core code anywhere). 2012-03-24 15:57:49 +13:00
Will Rossiter
06dd79f34c MINOR: remove console.log 2012-03-24 14:22:29 +13:00
Will Rossiter
39742f53e5 BUGFIX: #7036 refresh CMS panel when adding a new file 2012-03-24 14:20:46 +13:00
Sam Minnée
5061c8c608 Merge pull request #256 from halkyon/cleanup
GridFieldDeleteAction minor tidy up
2012-03-23 18:09:02 -07:00
Sam Minnée
3ef64af761 Merge pull request #260 from simonwelsh/assettablefield
MINOR Remove unused AssetTableField js file
2012-03-23 18:08:12 -07:00
Sam Minnee
2576944a45 API CHANGE: Added DataObject::relField(), which pushes the "relation dot syntax" code of TableListField/GridField back to the model.
BUGFIX: Made DataObject::relObject() more flexible; allowable thanks to new ORM.
2012-03-24 14:04:08 +13:00
Sam Minnée
1b24437fde Merge pull request #262 from halkyon/security_import
ENHANCEMENT Adding missing MemberImportForm to SecurityAdmin, and styling fixes.
2012-03-23 17:39:46 -07:00
Nicolaas
dee3939cf7 BUGFIX: Fix the broken perform readonly transformation which was always showing NO (#6453) 2012-03-24 13:35:19 +13:00
Will Rossiter
fd649a418d Merge pull request #258 from halkyon/doc_changes
MINOR Fix reference in docs to class that doesn't exist (GridFieldExportButton)
2012-03-23 17:30:06 -07:00
Sean Harvey
ffdf548575 ENHANCEMENT Adding missing MemberImportForm to SecurityAdmin, putting each importer into
Users and Groups tab for context instead of Import tab, and fixing
styling to be close to how it was in SS 2.4.
2012-03-24 13:20:19 +13:00
Simon Welsh
673dd7d992 MINOR Remove unused AssetTableField js file 2012-03-24 12:36:59 +13:00
Sean Harvey
ee2f196f4b Merge pull request #259 from simonwelsh/cms_dir
Cms dir
2012-03-23 16:14:19 -07:00
Will Rossiter
71f37b993c BUGFIX: #6840 Fix navigation highlights on LeftAndMain 2012-03-24 11:57:29 +13:00
Will Rossiter
ebec3ba1c6 MINOR: fix alignment of cms logo to panel title 2012-03-24 11:57:29 +13:00
Will Rossiter
39d3761eb9 BUGFIX: #6934 allow whole TreeDropdownField to be clicked 2012-03-24 11:57:29 +13:00
Simon Welsh
fa999ca2de BUGFIX TableListField should only include CSS from the cms if the cms exists. 2012-03-24 11:49:48 +13:00
Simon Welsh
4be8ab0c62 MINOR Move definition of CMS_DIR and CMS_PATH into cms/_config.php 2012-03-24 11:47:27 +13:00
Sam Minnee
767aef9794 BUGFIX: Don't call strpos() with an empty delimiter, mb_strpos() is more strict about this (#6751) 2012-03-24 11:14:20 +13:00
Sean Harvey
769995cd1d MINOR Fix reference to class that was renamed in modeladmin docs 2012-03-24 10:30:47 +13:00
Sean Harvey
3a91a97f89 MINOR Fixed grammatical error in GridFieldDeleteAction class
documentation
2012-03-23 10:59:17 +13:00
Sean Harvey
98cc25a5fe MINOR Tidy up of class documentation for GridFieldDeleteAction 2012-03-23 10:53:32 +13:00
Sean Harvey
239b4a01f7 MINOR Rename argument to GridFieldDeleteAction to match the property
name $removeRelation
MINOR Tidy up coding standards in GridFieldDeleteAction
2012-03-23 10:51:23 +13:00
Sean Harvey
ff4c82039d MINOR Class documentation for GridFieldDeleteAction 2012-03-23 10:50:17 +13:00
Sean Harvey
4da42f2baf MINOR Revert folderName change to UploadField (already exists on
FileField parent)
2012-03-23 09:22:54 +13:00
Ingo Schommer
0ad6fe7ec1 Merge pull request #250 from sminnee/form-head-request-throws-500
Return 404 rather than 500 on bad actions in requesthandler
2012-03-22 12:45:12 -07:00
Ingo Schommer
673500c6b7 Merge pull request #253 from ajoneil/7019-member-dataextension-build-error
BUGFIX: #7019 Fix SQL error when building database after adding a Member...
2012-03-22 12:42:09 -07:00
Sean Harvey
db9a3f4eb9 Merge pull request #255 from drzax/i18n
BUGFIX: Improve translation efficiency for missing locales
2012-03-21 02:50:22 -07:00
Simon Elvery
ac8a05f188 BUG FIX: Make sure the translation function doesn't try to include missing locale files over and over again. 2012-03-21 12:47:22 +10:00
Andrew O'Neil
86ef281d8f BUGFIX: #7019 Fix SQL error when building database after adding a Member DataExtension in non-dev mode 2012-03-21 11:53:38 +13:00
Ingo Schommer
4ec208c93e Merge pull request #252 from halkyon/database_changes
Adding Database::prepStringForDB() to allow MSSQLDatabase to prepare string for unicode
2012-03-20 15:48:50 -07:00
Sean Harvey
02c8019bb8 ENHANCEMENT Introduce Database::prepStringForDB(), used by
DBField::prepValueForDB() and StringField::prepValueForDB() to ensure
the field value is escaped correctly for the database. This means
databases like MSSQL can introduce an "N" prefix (marking text as
unicode to be saved correctly) by overloading the
prepStringForDB method. MySQL, PostgreSQL and SQLite3
operate as usual.
2012-03-20 21:20:35 +13:00