Commit Graph

8054 Commits

Author SHA1 Message Date
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
Sean Harvey
fea3a4eea0 MINOR Removed useless .DS_Store files 2012-03-20 20:41:10 +13:00
Sean Harvey
b5d4234dfd MINOR Correct DropdownField class documentation to include a proper
example using DataList and non-deprecated way of setting the empty value
and string
2012-03-20 15:47:22 +13:00
Sean Harvey
f85f30ac61 BUGFIX DropdownField with SS_Map as the source should use empty string
as the value, and the empty string text as the title, not the other way
around.
2012-03-20 15:34:10 +13:00
Sam Minnee
1d5065f4a7 BUGFIX: Removed reference to non-existence function Form::handleAction(). 2012-03-19 13:10:51 +13:00
Sam Minnee
a2c1858892 BUGFIX: Return a 404, not a 500, if an invalid action is asked for on a RequestHandler. 2012-03-19 13:10:48 +13:00
Sam Minnée
1b97c827dc Merge pull request #245 from halkyon/master
SS_Map_Iterator checks for hasMethod() (brought over from DataObjectSet::map() in 2.4)
2012-03-18 16:49:17 -07:00
Ingo Schommer
161a5ca209 Merge pull request #249 from sminnee/form-head-request-throws-500
BUGFIX: Prevent 500 error when a HEAD request is sent to its action URL.
2012-03-18 15:54:25 -07:00
Sam Minnee
067204d003 BUGFIX: Prevent 500 error when a HEAD request is sent to its action URL. 2012-03-19 09:26:20 +13:00
Sam Minnée
c8d3ebbd98 Merge pull request #248 from simonwelsh/patch-1
BUGFIX Don't try setting the value attribute on DropdownField or its sub...
2012-03-17 01:29:01 -07:00
Simon Welsh
b9ab70a249 BUGFIX Don't try setting the value attribute on DropdownField or its subclasses. 2012-03-17 21:16:25 +13:00
Ingo Schommer
e70c9b7d13 Merge pull request #246 from silverstripe-scienceninjas/trac-6853
BUGFIX: #6853 Necessary styles required to complement work on same-index...
2012-03-15 15:40:38 -07:00
Ingo Schommer
22dc7fd2d8 MINOR Warning about imminent TableField deprecation 2012-03-15 22:31:55 +01:00
Ingo Schommer
e443ec5c9c Merge pull request #244 from sminnee/ipad-fixes
BUGFIX: Remove stray scrolling and zooming glitches on iPad.
2012-03-15 03:03:45 -07:00
Sean Harvey
9b0009643a MINOR Added tests for SS_Map testing value method instead of value field 2012-03-15 17:42:42 +13:00
Sean Harvey
f5a91cbbe8 ENHANCEMENT SS_Map_Iterator::rewind() SS_Map_Iterator::current() will
return the titleField if there's a method of the same name (same
behaviour as DataObjectSet::map() from SS 2.4)
2012-03-15 17:28:00 +13:00
Sean Harvey
fc9e065e44 BUGFIX Don't show "Import" header if ImportForm isn't available in
ModelAdmin_Tools template
2012-03-15 14:18:56 +13:00
Sam Minnee
069d7117d7 BUGFIX: Remove stray scrolling and zooming glitches on iPad. 2012-03-15 14:13:30 +13:00
Ingo Schommer
ed08b8c00b MINOR Don't auto-expand nodes on TreeDropdownField, as it makes a gazillion ajax requests on sufficiently large trees (and gets nodes in chunks of 30) (fixes #6879) 2012-03-14 23:04:43 +01:00
Ingo Schommer
4d723c7580 MINOR Added note about 'homepagefordomain' module coupling 2012-03-14 22:44:07 +01:00
Ingo Schommer
2555ccb543 BUGFIX Qualify join table in ON clause in ManyManyList to avoid ambiguous column names 2012-03-14 22:44:07 +01:00
Ingo Schommer
687a1ca72b BUGFIX Don't include has_many/many_many relationships in DataObject->scaffoldFormFields() when the record doesn't have an ID yet - as the scaffolded GridFieldAddExistingAutocompleter component assumes the component has an ID to query against (fixes #5723) 2012-03-14 22:44:07 +01:00
Ingo Schommer
74ea2fab82 Merge pull request #243 from adiwidjaja/master
MINOR: Correction of template documentation
2012-03-14 13:19:37 -07:00
Andy Adiwidjaja
31c9e98c7d Correction of template documentation: Removed mentions of deprecated control statement. 2012-03-14 16:54:52 +01:00
Ingo Schommer
71c026c75a MINOR Removed SiteTree dependency from SSViewerTest (fixes #6907) 2012-03-14 16:11:23 +01:00
Ingo Schommer
620b23a23f MINOR Including GET parameters in X-ControllerURL default headers (which fixes e.g. AssetAdmin search persistence) 2012-03-14 16:07:50 +01:00
Ingo Schommer
eecca9b73a MINOR Removed unnecessary tests from symfony-yaml dependency (which also fixes phpunit binary execution) 2012-03-14 12:05:06 +01:00
Hamish Friedlander
37ae36cd58 Merge pull request #242 from silverstripe-big-o/phpunit53
MINOR: Fix tests on PHPUnit 3.4
2012-03-13 20:09:04 -07:00
Andrew O'Neil
6db08cbc36 MINOR: Fix tests on PHPUnit 3.4 2012-03-14 16:05:19 +13:00