Sam Minnee
267f41bdf4
ENHANCEMENT: Point userhelp link at a new userhelp instance. ( #7430 )
2012-06-07 13:46:47 +12:00
Ingo Schommer
d4baf2d19d
BUGFIX Stability improvements on CMS layout logic
...
- Changed application order
- Fixed layout trigger after preview toggle
- Replaced button row dimension approximation with double application of jQuery.layout() - once before sizing the action panel height to set correct width on container, then again for the height
2012-06-06 21:05:36 +02:00
Ingo Schommer
803aa6bfc5
MINOR Only applying box-shadow on inactive tabs
2012-06-06 21:05:35 +02:00
Ingo Schommer
415a680802
BUGFIX CMS Breadcrumbs and tabs as inline blocks which can span multiple lines, rather than being cropped off ( fixes #6882 )
2012-06-06 21:05:33 +02:00
Zauberfisch
eac70b6b5b
MINOR: fixed opera vendor prefix for @mixin hide-text-overflow
2012-06-06 15:30:19 +02:00
Ingo Schommer
22de5c6597
MINOR Performance improvement and removal of duplicate code in jQuery.ondemand
2012-06-06 11:50:17 +02:00
Ingo Schommer
b3164eb2a9
MINOR Disabled jQuery.entwine inspector in dev mode, as it causes side effects due to document.write() before other scripts are loaded
2012-06-06 11:49:32 +02:00
Ingo Schommer
91b6bd62b1
MINOR Fixed a small but important docs error in cms-architecture.md
2012-06-06 08:28:48 +02:00
Sam Minnee
da915a4889
BUGFIX: Fix JS bug that was preventing passwords from being changed in 'hidden by default' ConfirmedPasswordField instances.
2012-06-06 17:53:16 +12:00
Sam Minnee
948ca468f6
API CHANGE: Added $value argument as the first argument of a gridfield formattting callback.
2012-06-06 16:13:57 +12:00
Sam Minnee
e19ab7aa5a
BUGFIX: Ensure that DataList::filter() doesn't modify the original object.
2012-06-06 16:13:54 +12:00
Sam Minnee
0821f021cc
API CHANGE: Added DataList::filterByCallback() to allow filtering by PHP code.
2012-06-06 16:12:05 +12:00
Sam Minnee
70d5ffefdd
API CHANGE: Added GridField::addDataFields() to allow the definition of custom callbacks to be used by all GridField components.
...
API CHANGE: Added GridField::getDataFieldValue() to encapsulate field lookup for all components.
API CHANGE: Allow 'callback' key to be specified in a GridFieldDataColumn column info. In this case, title should be put as the 'title' key of a map rather than simply the column info.
2012-06-06 16:12:05 +12:00
Sam Minnee
780f2d2b16
API CHANGE: Added DataQuery::aggregate() to allow for aggregates beyond Min, Max, Avg, Sum.
2012-06-06 16:12:05 +12:00
Sean Harvey
13be7cb2b9
BUGFIX Ensure that enum values with a single quote are escaped correctly for PHP coming out of MySQL ('' to \'), otherwise dev/build shows these as changed all the time.
2012-06-06 10:39:00 +12:00
Ingo Schommer
b4fb174809
MINOR Fixed PjaxResponseNegotiatorTest
2012-06-05 14:22:00 +02:00
Ingo Schommer
12f2e1e176
Merge branch 'pjax-multiple'
2012-06-05 14:01:18 +02:00
Fabian Schmengler
afdd8683e4
BUGFIX: Added double quotes to column names in automatically generated indexes for many_many relationships (this time in the right place, should not interfere with index name - all tests pass)
2012-06-05 11:51:04 +02:00
Ingo Schommer
e643559b17
MINOR Warning about HTML5 compat in CSSContentParser
2012-06-05 11:38:27 +02:00
Sam Minnee
5499079c1c
BUGFIX: Fixed ORM bugs introduced in ec55468932
2012-06-05 11:07:19 +12:00
Sam Minnée
64aa2ad170
Merge pull request #502 from unclecheese/patch-2
...
If a DataObject has a many_many to a SiteTree subclass...
2012-06-04 15:38:58 -07:00
Sam Minnée
f8921f7c9f
Merge pull request #500 from nyeholt/injector_strong_create
...
RECOMMIT This is a recommit of a previously merged, but reverted, commit...
2012-06-04 15:32:19 -07:00
Sam Minnée
90378b0998
Merge pull request #504 from schmengler/namespace-fixes-rc1
...
BUGFIX: Handling of classes with namespaces in database
2012-06-04 15:31:26 -07:00
Sam Minnée
2d9686274c
Merge pull request #503 from nyeholt/injector_updates
...
Changes to use injector for creating some classes to ensure injection of dependencies
2012-06-04 15:30:45 -07:00
Fabian Schmengler
ec55468932
BUGFIX: Handling of classes with namespaces in database
...
MySQLDatabase::enumValuesForField() - Added stripslashes because backslashes are escaped in the type description
DataObject::requireTable() - Added double quotes to column names in automatically generated indexes for many_many relationships
DataObject::write() - Escaped class name for DB query
DataQuery::getFinalisedQuery() - Escaped class names for DB query
2012-06-04 20:22:37 +02:00
Marcus Nyeholt
82a1e7d282
MINOR Use injector for creating Member_GroupSet object
...
MINOR Use injector for creating many many list objects
MINOR Use injector for creating objects from within the DataList
MINOR Use Injector::inst() for creating objects; cannot rely on this->injector being present due to many classes being created with 'new', so use inst() directly
MINOR Remove injector autoset property for now; automatically setting it breaks a few test cases that don't know about it for now, and it's not needed just yet
2012-06-05 01:33:44 +10:00
unclecheese
119739de68
If a DataObject has a many_many to a SiteTree subclass, and that subclass has no database fields defined, and $this->name is "ID", this function will errantly return "SiteTreeSubClass.ID", which can never exist in a search query, since there is no such table as SiteTreeSubClass. The problem is that DataObject::hasOwnTableDatabaseField() is a little eager when passed an argument of "ID." It doesn't check to see if the object has its own table first.
2012-06-04 12:27:58 -03:00
Ingo Schommer
f794e98d7e
BUGFIX Moved localised JS messages in correct module ( fixes #7393 )
2012-06-04 11:52:31 +02:00
Ingo Schommer
acfc658b4e
BUGFIX Fail silently in _t() legacy mode when using sprintf(), to avoid outdated translations breaking with a fatal error (e.g. CMSMain.ACCESS changed from two to one usage of {title}, which isn't changed yet in most languages). Slight performance overhead, but acceptable since its legacy usage only
2012-06-04 11:40:55 +02:00
Ingo Schommer
69d3497497
MINOR Fixed node deselection when changing areas (e.g. "pages" to "edit page")
2012-06-04 11:05:05 +02:00
Ingo Schommer
9e21fb8a4a
API CHANGE Moved SapphireSoapServer and SOAPModelAccess into its own module at https://github.com/silverstripe/silverstripe-soapserver ( fixes #7282 )
2012-06-04 10:22:48 +02:00
Ingo Schommer
cb8b11812c
API CHANGE Moved RestfulServer into its own module at https://github.com/silverstripe/silverstripe-restfulserver ( fixes #7282 )
2012-06-04 10:21:29 +02:00
Ingo Schommer
a757c16411
MINOR Make tree loading indicator visible on page icon to ensure it shows when drag handles are hidden (in "sidebar view") ( fixes #7256 )
2012-06-03 23:30:56 +02:00
Ingo Schommer
8e89396c93
MINOR Updating compass sprites with its changed ordering starting with 0.12 release (see http://compass-style.org/blog/2012/02/01/compass-0-12-is-released/ )
2012-06-03 23:22:29 +02:00
Ingo Schommer
31a66e0424
MINOR Returning at least some error feedback when admin/* route isn't found ( fixes #7409 )
2012-06-03 22:46:16 +02:00
Ingo Schommer
c18c29f464
BUGFIX Updating tree state (after adding/renaming nodes, changing parent). Deselecting nodes when switching to edit view ( fixes #7389 , #7336 , #7309 )
2012-06-03 18:48:47 +02:00
Marcus Nyeholt
ae7fc6f4d2
RECOMMIT This is a recommit of a previously merged, but reverted, commit. The initial commit had problems when running "tests/all flush=all" when dev/build would re-analyse a bunch of stuff; fixes to address this went into https://github.com/silverstripe/sapphire/pull/487 , but for some reason the actual base changes didn't, so I'm re-submitting them in a separate pull.
...
BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through
CHANGE Given that Config::inst is an implementation of the singleton pattern itself, I've removed the extra call to singleton(). A side effect of this is that it gets around a possibly nasty circular reference with the dependency injector (which relies on the config object); in future, this dependency structure should really be structured from the DI directly.
MINOR Change singleton and strong_create to use dependency injector
2012-06-03 20:41:00 +10:00
Ingo Schommer
9898cd9a95
MINOR Improved testing docs
2012-06-02 12:56:10 +02:00
Ingo Schommer
460148c12a
MINOR Debug messages for tracking down JS layout sequence issues (disabled by default)
2012-06-02 12:31:55 +02:00
Sean Harvey
c037ee8cbd
Merge pull request #498 from silverstripe-droptables/minor-right-title-comment
...
MINOR: add comments to FormField's RightTitle
2012-05-31 20:09:15 -07:00
Mateusz Uzdowski
64c0d2fb0a
MINOR: add comments to FormField's RightTitle
2012-06-01 15:01:42 +12:00
Sean Harvey
5462cdaab2
MINOR Removing "." from the end of validation messages
2012-06-01 13:13:06 +12:00
Sean Harvey
7fe0858be1
API CHANGE Marked Form::unsetFieldFromTab() as deprecated. Please use
...
Fields() and the FieldList API instead.
2012-05-31 14:29:58 +12:00
Ingo Schommer
0b7af1ac17
MINOR Fixed PHPDoc on Cookie class ( fixes #7404 )
2012-05-30 16:43:16 +02:00
Ingo Schommer
5a93ee77f8
MINOR Fixed tab selection state
2012-05-30 16:36:26 +02:00
Ingo Schommer
0eac6ea5c3
MINOR Apply loading indicators to all forms, not just .cms-edit-form (which means it includes the "pages list view"). Move to correct place in LeftAndMain.js (not specific to '.cms-content')
2012-05-30 16:36:25 +02:00
Ingo Schommer
19bfd01a60
ENHANCEMENT Declare a single DOM element with multiple Pjax fragments. Unified ajax response handling in CMS, followup from submitForm() refactoring. Removed replacement of arbitrary CSS selectors through Pjax, relies on a fragment now (to keep logic consistent).
2012-05-30 16:36:23 +02:00
Ingo Schommer
1102bbdf17
MINOR Removed ability in PjaxResponseNegotiator to send non-JSON responses for single fragments, as we're now relying on the server communicating which segment needs replacement (through the JSON key)
2012-05-30 15:07:14 +02:00
Ingo Schommer
75e51de9ed
API CHANGE Moved submitForm() from $('.cms-content') to $('.cms-container'), unifying ajax response handling between panel loading and form submission
2012-05-30 15:07:14 +02:00
Ingo Schommer
b3d99d5418
MINOR Retaining case in PjaxResponseNegotiator, in order to pass back to client correctly
2012-05-30 15:07:14 +02:00