Commit Graph

7891 Commits

Author SHA1 Message Date
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
Sean Harvey
5ce1dc1822 ENHANCEMENT Allow setting folderName to Upload in UploadField using
setFolderName()
2012-03-14 15:53:04 +13:00
Sean Harvey
7f60ced66b ENHANCEMENT Allow disabling of File::updateFilesystem() which is useful
for manually managing the filesystem paths instead. Defaults to on, but
useful to turn off when loading File records in a YAML fixture for test
data.
2012-03-14 15:53:04 +13:00
Ingo Schommer
f8d38a332c MINOR Upgrading notes 2012-03-13 22:39:35 +01:00
Sam Minnee
d88a68016f MINOR: Broke changelog entries in two to sidestep PHP 5.2 bug affecting sapphiredocs 2012-03-13 13:30:41 +13:00
Sam Minnee
13bfc1f173 Revert "MINOR Removed "MINOR" and "Other" change log from 3.0.0-beta1 change log to get it rendering through sapphiredocs"
This reverts commit 4f8a4643ff.
2012-03-13 12:51:09 +13:00
Ingo Schommer
4f8a4643ff MINOR Removed "MINOR" and "Other" change log from 3.0.0-beta1 change log to get it rendering through sapphiredocs 2012-03-13 00:47:46 +01:00
Ingo Schommer
c4ec0c54aa MINOR 3.0.0-beta1 changelog 2012-03-12 23:53:38 +01:00
jbridson
7ff273263a BUGFIX:fixed issues with overflow on model and security admin - made changes more specific. 2012-03-12 23:01:07 +01:00
jbridson
3d26cb7bf9 BUGFIX:SSF-106 - fixed uneven column widths and overflow issues with datagrid in ie7. 2012-03-12 23:01:07 +01:00
Andrew O'Neil
f367db2904 MINOR: Remove table filter from modeladmin search results 2012-03-12 23:01:07 +01:00
Andrew O'Neil
5eef837ce8 FEATURE: Add count of backlinks to file details 2012-03-12 23:01:07 +01:00
Sean Harvey
54507d7a8f MINOR Fixed coding style in CreditCardField::Field() 2012-03-13 09:47:30 +13:00
Sean Harvey
b2d16fd538 Merge pull request #239 from oddnoc/ConfigureFromEnv-timezone
API CHANGE: Enable setting the DB timezone from the environment.
2012-03-12 13:42:05 -07:00