mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge remote-tracking branch 'origin/3.6' into 3
# Conflicts: # model/DataQuery.php
This commit is contained in:
commit
f4b13fb2c4
@ -27,7 +27,6 @@ Used in side panels and action tabs
|
|||||||
.cms .ss-gridfield .right .pagination-records-number { font-size: 1.0em; padding: 6px 3px 6px 0; color: white; text-shadow: 0px -1px 0 rgba(0, 0, 0, 0.2); font-weight: normal; }
|
.cms .ss-gridfield .right .pagination-records-number { font-size: 1.0em; padding: 6px 3px 6px 0; color: white; text-shadow: 0px -1px 0 rgba(0, 0, 0, 0.2); font-weight: normal; }
|
||||||
.cms .ss-gridfield .left { float: left; }
|
.cms .ss-gridfield .left { float: left; }
|
||||||
.cms .ss-gridfield .left > * { margin-right: 8px; float: left; }
|
.cms .ss-gridfield .left > * { margin-right: 8px; float: left; }
|
||||||
.cms .ss-gridfield { overflow-x: hidden; }
|
|
||||||
.cms .ss-gridfield .grid-levelup { text-indent: -9999em; margin-bottom: 6px; }
|
.cms .ss-gridfield .grid-levelup { text-indent: -9999em; margin-bottom: 6px; }
|
||||||
.cms .ss-gridfield .grid-levelup a.list-parent-link { background: transparent url(../images/gridfield-level-up.png) no-repeat 0 0; display: block; }
|
.cms .ss-gridfield .grid-levelup a.list-parent-link { background: transparent url(../images/gridfield-level-up.png) no-repeat 0 0; display: block; }
|
||||||
.cms .ss-gridfield .add-existing-autocompleter span { float: left; display: inline-block; vertical-align: top; *vertical-align: auto; *zoom: 1; *display: inline; }
|
.cms .ss-gridfield .add-existing-autocompleter span { float: left; display: inline-block; vertical-align: top; *vertical-align: auto; *zoom: 1; *display: inline; }
|
||||||
@ -45,7 +44,7 @@ Used in side panels and action tabs
|
|||||||
.cms table.ss-gridfield-table tbody { background: #FFF; }
|
.cms table.ss-gridfield-table tbody { background: #FFF; }
|
||||||
.cms table.ss-gridfield-table tbody tr { cursor: pointer; }
|
.cms table.ss-gridfield-table tbody tr { cursor: pointer; }
|
||||||
.cms table.ss-gridfield-table tbody td { width: auto; max-width: 500px; word-wrap: break-word; }
|
.cms table.ss-gridfield-table tbody td { width: auto; max-width: 500px; word-wrap: break-word; }
|
||||||
.cms table.ss-gridfield-table tbody td.col-buttons { width: 1px; padding: 0 8px; text-align: right; white-space: nowrap; }
|
.cms table.ss-gridfield-table tbody td.col-buttons { width: 1px; padding: 0 8px; text-align: right; white-space: nowrap; overflow: hidden; }
|
||||||
.cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: 16px; border-right: none; text-indent: -9999em; padding: 0; }
|
.cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: 16px; border-right: none; text-indent: -9999em; padding: 0; }
|
||||||
.cms table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 3px -4px; display: block; }
|
.cms table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 3px -4px; display: block; }
|
||||||
.cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #0071c4; }
|
.cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #0071c4; }
|
||||||
@ -93,6 +92,7 @@ Used in side panels and action tabs
|
|||||||
.cms table.ss-gridfield-table tr th.extra select { margin: 0; }
|
.cms table.ss-gridfield-table tr th.extra select { margin: 0; }
|
||||||
.cms table.ss-gridfield-table tr th.first { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
.cms table.ss-gridfield-table tr th.first { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
||||||
.cms table.ss-gridfield-table tr th.last { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
.cms table.ss-gridfield-table tr th.last { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||||
|
.cms table.ss-gridfield-table tr th.col-Actions { overflow: hidden; }
|
||||||
.cms table.ss-gridfield-table tr th button.action_gridfield_relationadd:hover { color: #444 !important; /* Not sure why IE think it needs this */ }
|
.cms table.ss-gridfield-table tr th button.action_gridfield_relationadd:hover { color: #444 !important; /* Not sure why IE think it needs this */ }
|
||||||
.cms table.ss-gridfield-table tr th button:hover { color: #ccc !important; /* Not sure why IE think it needs this */ }
|
.cms table.ss-gridfield-table tr th button:hover { color: #ccc !important; /* Not sure why IE think it needs this */ }
|
||||||
.cms table.ss-gridfield-table tr th button.ss-gridfield-sort:hover { color: #fff !important; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
|
.cms table.ss-gridfield-table tr th button.ss-gridfield-sort:hover { color: #fff !important; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"mappings": "AAAA,mRAOG;ACPH,uMAIG;AAEH,+GAEsD;AAItD,+DAA+D;AAW/D,iEAAiE;AA2CjE,uCAAuC;AAKvC,+GAEqD;AAIrD,mHAEsD;AAItD,uSAMsD;AAItD,uJAEsD;AC6CtD;;EAEE;AFtGA,wBAAQ,GACP,aAAa,EAAE,IAAY;AAC3B,8CAAuB,GACtB,aAAa,EAAE,CAAC;AAChB,sDAAQ,GACR,aAAa,EAXL,IAAI;AAcb,sDAA+B,GAC9B,aAAa,EAAE,CAAC;AAChB,8DAAQ,GACR,aAAa,EAjBL,IAAI;AAoBb,qDAA8B,GAC7B,aAAa,EAAE,CAAC;AAChB,6DAAQ,GACR,UAAU,EAvBF,IAAI;AA6Bb,uGAAgC,GAC/B,UAAU,EAAE,kBAAkB;AAG/B,sCAAG,GACF,MAAM,EAAE,OAAO;AAIjB,4DAA0C,GACxC,OAAO,EAAC,IAAI;AAIb,oEAA2B,GAC1B,MAAM,EAAC,IAAI;AAGZ,yBAAO,GACN,KAAK,EAAC,KAAK;AACZ,6BAAM,GAC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AI,EACX,aAAa,EAAC,IAAI,EAClB,OAAO,EAAC,GAAG,EACX,MAAM,EAAE,iBAA8C,EACtD,aAAa,EAAE,iBAA+C;AAIhE,0EAAM,GEtmBX,eAAe,EAAE,IAAI,EACrB,kBAAkB,EAAE,IAAI,EACrB,UAAU,EAAE,IAAI,EFsmBb,MAAM,EAAC,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,MAAM,EACb,OAAO,EAAC,MAAM,EACd,KAAK,EAAC,IAAI;AACV,+EAAK,GACJ,WAAW,EAAC,OAAO;AAEpB,oGAA4B,GO/jB7B,UAAY,EAAE,8DAAO;APkkBpB,gGAAwB,GOlkBzB,UAAY,EAAE,8DAAO;APqkBpB,iGAAyB,GOrkB1B,UAAY,EAAE,4DAAO;APwkBpB,gGAAwB,GOxkBzB,UAAY,EAAE,8DAAO;AP2kBpB,+FAAsB,GACrB,OAAO,EAAC,EAAE;AAIb,yEAA2B,GAC1B,KAAK,EAAC,KAAK,EACX,OAAO,EAAC,KAAK,EACb,KAAK,ECrnBQ,KAAK,EEMtB,WAAW,EANG,6BAAwB;AH2nBrC,wCAAU,GACT,aAAa,EAAE,MAAM;AAGvB,4CAAc,GACb,WAAW,EAAE,4BAA2B;AAEzC,2CAAa,GACZ,YAAY,EAAE,4BAA2B;AAI1C,mDAAsB,GACrB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI;AAEZ,uDAAI,GACH,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,KAAK",
|
||||||
"sources": ["../scss/GridField.scss","../admin/scss/themes/_default.scss","../admin/scss/_mixins.scss","../../../../../../usr/local/lib/ruby/gems/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_text-shadow.scss","../../../../../../usr/local/lib/ruby/gems/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_inline-block.scss","../../../../../../usr/local/lib/ruby/gems/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss","../../../../../../usr/local/lib/ruby/gems/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_border-radius.scss","../../../../../../usr/local/lib/ruby/gems/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_images.scss","../scss/_elementMixins.scss"],
|
"sources": ["../scss/GridField.scss","../admin/scss/themes/_default.scss","../admin/scss/_mixins.scss","../../../../.rvm/gems/ruby-2.4.1/gems/compass-core-1.0.3/stylesheets/compass/css3/_text-shadow.scss","../../../../.rvm/gems/ruby-2.4.1/gems/compass-core-1.0.3/stylesheets/compass/css3/_inline-block.scss","../../../../.rvm/gems/ruby-2.4.1/gems/compass-core-1.0.3/stylesheets/compass/_support.scss","../../../../.rvm/gems/ruby-2.4.1/gems/compass-core-1.0.3/stylesheets/compass/css3/_border-radius.scss","../../../../.rvm/gems/ruby-2.4.1/gems/compass-core-1.0.3/stylesheets/compass/css3/_images.scss","../scss/_elementMixins.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "GridField.css"
|
"file": "GridField.css"
|
||||||
}
|
}
|
18
docs/en/04_Changelogs/3.5.7.md
Normal file
18
docs/en/04_Changelogs/3.5.7.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# 3.5.7
|
||||||
|
|
||||||
|
<!--- Changes below this line will be automatically regenerated -->
|
||||||
|
|
||||||
|
## Change Log
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* 2018-01-26 [416915b08](https://github.com/silverstripe/silverstripe-framework/commit/416915b08248285083518850ad8d015ca8ed25c2) tableName is blank in CompositeDBField->addToQuery (Dominik Beerbohm)
|
||||||
|
* 2018-01-25 [cf69d0486](https://github.com/silverstripe/silverstripe-framework/commit/cf69d048665befa90eb43146f86cde984b876b3a) Fix ping including requirements (Damian Mooyman)
|
||||||
|
* 2018-01-24 [c2cd6b383](https://github.com/silverstripe/silverstripe-framework/commit/c2cd6b3832c6bc4775b2742df593b445c2aca391) Fix Member_GroupSet::removeAll() (fixes #3948) (Loz Calver)
|
||||||
|
* 2018-01-24 [f2b4c192e](https://github.com/silverstripe/silverstripe-framework/commit/f2b4c192ec4d70779f7c667a976e741a7f3a26c5) Fix UploadField cuts off “Save” button (closes #2862) (Loz Calver)
|
||||||
|
* 2018-01-23 [7384e3fc2](https://github.com/silverstripe/silverstripe-framework/commit/7384e3fc25987742ea08af74b704857a936e8ec0) Gridfields with dropdowns having lots of overflow (Scott Hutchinson)
|
||||||
|
* 2017-12-21 [44930f211](https://github.com/silverstripe/silverstripe-framework/commit/44930f211be3f658fc92f2d5318255de03078701) Allow HTML 5 input tags in FunctionalTest form submissions (Daniel Hensby)
|
||||||
|
* 2017-12-14 [81150c592](https://github.com/silverstripe/silverstripe-framework/commit/81150c59225dbf1e95bb0b4dbcfbe18346f2bdff) Use PHP 5.3 array syntax (Daniel Hensby)
|
||||||
|
* 2016-10-21 [8e5bb6fbd](https://github.com/silverstripe/silverstripe-framework/commit/8e5bb6fbdce0b2ca2d08a45534df2264db5e6b12) Fix : relObject() should return null if one of the node is null (Jason)
|
||||||
|
* 2016-03-15 [22b3a71ec](https://github.com/silverstripe/silverstripe-framework/commit/22b3a71ec0c8cd8c38030fa0bf5449abefafe8a3) ing val reference to url in https hotlink (Denise Rivera)
|
||||||
|
* 2015-04-22 [1f63637b9](https://github.com/silverstripe/silverstripe-framework/commit/1f63637b9369d4644a92523ada5d1a5dc0576c12) for #4095, TinyMCE not able to modify props of embed media (bug 1) and invalid HTML inserted (bug 2) (Patrick Nelson)
|
16
docs/en/04_Changelogs/3.6.5.md
Normal file
16
docs/en/04_Changelogs/3.6.5.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 3.6.5
|
||||||
|
|
||||||
|
<!--- Changes below this line will be automatically regenerated -->
|
||||||
|
|
||||||
|
## Change Log
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* 2018-01-26 [416915b08](https://github.com/silverstripe/silverstripe-framework/commit/416915b08248285083518850ad8d015ca8ed25c2) tableName is blank in CompositeDBField->addToQuery (Dominik Beerbohm)
|
||||||
|
* 2018-01-25 [cf69d0486](https://github.com/silverstripe/silverstripe-framework/commit/cf69d048665befa90eb43146f86cde984b876b3a) Fix ping including requirements (Damian Mooyman)
|
||||||
|
* 2018-01-24 [c2cd6b383](https://github.com/silverstripe/silverstripe-framework/commit/c2cd6b3832c6bc4775b2742df593b445c2aca391) Fix Member_GroupSet::removeAll() (fixes #3948) (Loz Calver)
|
||||||
|
* 2018-01-24 [f2b4c192e](https://github.com/silverstripe/silverstripe-framework/commit/f2b4c192ec4d70779f7c667a976e741a7f3a26c5) Fix UploadField cuts off “Save” button (closes #2862) (Loz Calver)
|
||||||
|
* 2018-01-23 [7384e3fc2](https://github.com/silverstripe/silverstripe-framework/commit/7384e3fc25987742ea08af74b704857a936e8ec0) Gridfields with dropdowns having lots of overflow (Scott Hutchinson)
|
||||||
|
* 2016-10-21 [8e5bb6fbd](https://github.com/silverstripe/silverstripe-framework/commit/8e5bb6fbdce0b2ca2d08a45534df2264db5e6b12) Fix : relObject() should return null if one of the node is null (Jason)
|
||||||
|
* 2016-03-15 [22b3a71ec](https://github.com/silverstripe/silverstripe-framework/commit/22b3a71ec0c8cd8c38030fa0bf5449abefafe8a3) ing val reference to url in https hotlink (Denise Rivera)
|
||||||
|
* 2015-04-22 [1f63637b9](https://github.com/silverstripe/silverstripe-framework/commit/1f63637b9369d4644a92523ada5d1a5dc0576c12) for #4095, TinyMCE not able to modify props of embed media (bug 1) and invalid HTML inserted (bug 2) (Patrick Nelson)
|
@ -357,7 +357,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
|||||||
$fromWeb = new CompositeField(
|
$fromWeb = new CompositeField(
|
||||||
new LiteralField('headerURL',
|
new LiteralField('headerURL',
|
||||||
'<h4>' . sprintf($numericLabelTmpl, '1', _t('HtmlEditorField.ADDURL', 'Add URL')) . '</h4>'),
|
'<h4>' . sprintf($numericLabelTmpl, '1', _t('HtmlEditorField.ADDURL', 'Add URL')) . '</h4>'),
|
||||||
$remoteURL = new TextField('RemoteURL', 'http://'),
|
$remoteURL = new TextField('RemoteURL', ''),
|
||||||
new LiteralField('addURLImage',
|
new LiteralField('addURLImage',
|
||||||
'<button type="button" class="action ui-action-constructive ui-button field add-url" data-icon="addMedia">' .
|
'<button type="button" class="action ui-action-constructive ui-button field add-url" data-icon="addMedia">' .
|
||||||
_t('HtmlEditorField.BUTTONADDURL', 'Add url').'</button>')
|
_t('HtmlEditorField.BUTTONADDURL', 'Add url').'</button>')
|
||||||
|
@ -1142,7 +1142,6 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
|||||||
var val = this.val(), orig = val;
|
var val = this.val(), orig = val;
|
||||||
|
|
||||||
val = $.trim(val);
|
val = $.trim(val);
|
||||||
val = val.replace(/^https?:\/\//i, '');
|
|
||||||
if (orig !== val) this.val(val);
|
if (orig !== val) this.val(val);
|
||||||
|
|
||||||
this.getAddButton().button(!!val ? 'enable' : 'disable');
|
this.getAddButton().button(!!val ? 'enable' : 'disable');
|
||||||
@ -1160,10 +1159,17 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
|||||||
|
|
||||||
onclick: function(e) {
|
onclick: function(e) {
|
||||||
var urlField = this.getURLField(), container = this.closest('.CompositeField'), form = this.closest('form');
|
var urlField = this.getURLField(), container = this.closest('.CompositeField'), form = this.closest('form');
|
||||||
|
var val = urlField.val();
|
||||||
|
|
||||||
if (urlField.validate()) {
|
if (urlField.validate()) {
|
||||||
container.addClass('loading');
|
container.addClass('loading');
|
||||||
form.showFileView('http://' + urlField.val()).done(function() {
|
|
||||||
|
// add "http://" if a protocol is missing from the url
|
||||||
|
if (val.match(/^https?:\/\//i) == void 0) {
|
||||||
|
val = 'http://' + val;
|
||||||
|
}
|
||||||
|
|
||||||
|
form.showFileView(val).done(function() {
|
||||||
container.removeClass('loading');
|
container.removeClass('loading');
|
||||||
});
|
});
|
||||||
form.redraw();
|
form.redraw();
|
||||||
@ -1411,22 +1417,76 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
getHTML: function() {
|
getHTML: function() {
|
||||||
var el,
|
/* NOP. Instead, will override insertHTML() below and directly update these elements. */
|
||||||
attrs = this.getAttributes(),
|
|
||||||
extraData = this.getExtraData(),
|
|
||||||
// imgEl = $('<img id="_ss_tmp_img" />');
|
|
||||||
imgEl = $('<img />').attr(attrs).addClass('ss-htmleditorfield-file embed');
|
|
||||||
|
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Logic similar to TinyMCE 'advimage' plugin, insertAndClose() method.
|
||||||
|
*/
|
||||||
|
insertHTML: function(ed) {
|
||||||
|
var form = this.closest('form');
|
||||||
|
var node = form.getSelection();
|
||||||
|
|
||||||
|
// Get the attributes & extra data
|
||||||
|
var attrs = this.getAttributes(), extraData = this.getExtraData();
|
||||||
|
|
||||||
|
// Find the element we are replacing - either the img, it's wrapper parent, or nothing (if creating)
|
||||||
|
var replacee = (node && node.is('img')) ? node : null;
|
||||||
|
if (replacee && replacee.parent().is('.captionImage')) replacee = replacee.parent();
|
||||||
|
|
||||||
|
// Find the img node - either the existing img or a new one, and update it
|
||||||
|
var img = (node && node.is('img')) ? node : $('<img />').attr(attrs).addClass('ss-htmleditorfield-file embed');
|
||||||
|
|
||||||
|
// Setup extra data.
|
||||||
$.each(extraData, function (key, value) {
|
$.each(extraData, function (key, value) {
|
||||||
imgEl.attr('data-' + key, value);
|
img.attr('data-' + key, value);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Any existing figure or caption node
|
||||||
|
var container = img.parent('.captionImage'), caption = container.find('.caption');
|
||||||
|
|
||||||
|
// If we've got caption text, we need a wrapping div.captionImage and sibling p.caption
|
||||||
if(extraData.CaptionText) {
|
if(extraData.CaptionText) {
|
||||||
el = $('<div style="width: ' + attrs['width'] + 'px;" class="captionImage ' + attrs['class'] + '"><p class="caption">' + extraData.CaptionText + '</p></div>').prepend(imgEl);
|
if (!container.length) {
|
||||||
} else {
|
container = $('<div></div>');
|
||||||
el = imgEl;
|
|
||||||
}
|
}
|
||||||
return $('<div />').append(el).html(); // Little hack to get outerHTML string
|
|
||||||
|
container.attr('class', 'captionImage '+attrs['class']).css('width', attrs.width);
|
||||||
|
|
||||||
|
if (!caption.length) {
|
||||||
|
caption = $('<p class="caption"></p>').appendTo(container);
|
||||||
|
}
|
||||||
|
|
||||||
|
caption.attr('class', 'caption '+attrs['class']).text(extraData.CaptionText);
|
||||||
|
}
|
||||||
|
// Otherwise forget they exist
|
||||||
|
else {
|
||||||
|
container = caption = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// The element we are replacing the replacee with
|
||||||
|
var replacer = container ? container : img;
|
||||||
|
|
||||||
|
// If we're replacing something, and it's not with itself, do so
|
||||||
|
if (replacee && replacee.not(replacer).length) {
|
||||||
|
replacee.replaceWith(replacer);
|
||||||
|
}
|
||||||
|
|
||||||
|
// If we have a wrapper element, make sure the img is the first child - img might be the
|
||||||
|
// replacee, and the wrapper the replacer, and we can't do this till after the replace has happened
|
||||||
|
if (container) {
|
||||||
|
container.prepend(img);
|
||||||
|
}
|
||||||
|
|
||||||
|
// If we don't have a replacee, then we need to insert the whole HTML
|
||||||
|
if (!replacee) {
|
||||||
|
// Otherwise insert the whole HTML content
|
||||||
|
ed.repaint();
|
||||||
|
ed.insertContent($('<div />').append(replacer).html(), {skip_undo : 1});
|
||||||
|
}
|
||||||
|
|
||||||
|
ed.addUndo();
|
||||||
|
ed.repaint();
|
||||||
},
|
},
|
||||||
updateFromNode: function(node) {
|
updateFromNode: function(node) {
|
||||||
this.find(':input[name=AltText]').val(node.attr('alt'));
|
this.find(':input[name=AltText]').val(node.attr('alt'));
|
||||||
@ -1435,6 +1495,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
|||||||
this.find(':input[name=Height]').val(node.height());
|
this.find(':input[name=Height]').val(node.height());
|
||||||
this.find(':input[name=Title]').val(node.attr('title'));
|
this.find(':input[name=Title]').val(node.attr('title'));
|
||||||
this.find(':input[name=CSSClass]').val(node.data('cssclass'));
|
this.find(':input[name=CSSClass]').val(node.data('cssclass'));
|
||||||
|
this.find(':input[name=CaptionText]').val(node.siblings('.caption:first').text());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -450,6 +450,10 @@
|
|||||||
if (iframe.data('src')) {
|
if (iframe.data('src')) {
|
||||||
self._prepareIframe(iframe, editform, itemInfo);
|
self._prepareIframe(iframe, editform, itemInfo);
|
||||||
iframe.data('src', '');
|
iframe.data('src', '');
|
||||||
|
// Subsequent load events are likely form submissions, which may change
|
||||||
|
// the height if alert dialogs are displayed
|
||||||
|
} else {
|
||||||
|
editform.fitHeight();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -3072,8 +3072,11 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
$relations = explode('.', $fieldName);
|
$relations = explode('.', $fieldName);
|
||||||
$fieldName = array_pop($relations);
|
$fieldName = array_pop($relations);
|
||||||
foreach($relations as $relation) {
|
foreach($relations as $relation) {
|
||||||
|
// Bail if the component is null
|
||||||
|
if(!$component) {
|
||||||
|
return null;
|
||||||
// Inspect $component for element $relation
|
// Inspect $component for element $relation
|
||||||
if($component->hasMethod($relation)) {
|
} elseif($component->hasMethod($relation)) {
|
||||||
// Check nested method
|
// Check nested method
|
||||||
$component = $component->$relation();
|
$component = $component->$relation();
|
||||||
} elseif($component instanceof SS_List) {
|
} elseif($component instanceof SS_List) {
|
||||||
|
@ -515,6 +515,7 @@ class DataQuery {
|
|||||||
if($compositeFields) foreach($compositeFields as $k => $v) {
|
if($compositeFields) foreach($compositeFields as $k => $v) {
|
||||||
if((is_null($columns) || in_array($k, $columns)) && $v) {
|
if((is_null($columns) || in_array($k, $columns)) && $v) {
|
||||||
$dbO = SS_Object::create_from_string($v, $k);
|
$dbO = SS_Object::create_from_string($v, $k);
|
||||||
|
$dbO->setTable($tableClass);
|
||||||
$dbO->addToQuery($query);
|
$dbO->addToQuery($query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -104,8 +104,6 @@ $gf_grid_x: 16px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ss-gridfield {
|
.ss-gridfield {
|
||||||
overflow-x: hidden;
|
|
||||||
|
|
||||||
.grid-levelup {
|
.grid-levelup {
|
||||||
text-indent: -9999em;
|
text-indent: -9999em;
|
||||||
a.list-parent-link{
|
a.list-parent-link{
|
||||||
@ -138,7 +136,7 @@ $gf_grid_x: 16px;
|
|||||||
font-size: $font-base-size;
|
font-size: $font-base-size;
|
||||||
@include inline-block();
|
@include inline-block();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
table.ss-gridfield-table {
|
table.ss-gridfield-table {
|
||||||
display: table;
|
display: table;
|
||||||
@include box-shadow-none;
|
@include box-shadow-none;
|
||||||
@ -197,6 +195,7 @@ $gf_grid_x: 16px;
|
|||||||
padding:0 $gf_grid_x/2;
|
padding:0 $gf_grid_x/2;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
&.col-listChildrenLink {
|
&.col-listChildrenLink {
|
||||||
width:$gf_grid_x;
|
width:$gf_grid_x;
|
||||||
@ -445,6 +444,9 @@ $gf_grid_x: 16px;
|
|||||||
&.last {
|
&.last {
|
||||||
@include border-top-right-radius($gf_border_radius);
|
@include border-top-right-radius($gf_border_radius);
|
||||||
}
|
}
|
||||||
|
&.col-Actions {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -894,7 +894,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
|||||||
$id = Session::get("loggedInAs");
|
$id = Session::get("loggedInAs");
|
||||||
}
|
}
|
||||||
|
|
||||||
return is_numeric($id) ? $id : 0;
|
return is_numeric($id) ? (int) $id : 0;
|
||||||
}
|
}
|
||||||
private static $_already_tried_to_auto_log_in = false;
|
private static $_already_tried_to_auto_log_in = false;
|
||||||
|
|
||||||
@ -1831,6 +1831,37 @@ class Member_GroupSet extends ManyManyList {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function removeAll() {
|
||||||
|
$base = ClassInfo::baseDataClass($this->dataClass());
|
||||||
|
|
||||||
|
// Remove the join to the join table to avoid MySQL row locking issues.
|
||||||
|
$query = $this->dataQuery();
|
||||||
|
$foreignFilter = $query->getQueryParam('Foreign.Filter');
|
||||||
|
$query->removeFilterOn($foreignFilter);
|
||||||
|
|
||||||
|
$selectQuery = $query->query();
|
||||||
|
$selectQuery->setSelect("\"{$base}\".\"ID\"");
|
||||||
|
|
||||||
|
$from = $selectQuery->getFrom();
|
||||||
|
unset($from[$this->joinTable]);
|
||||||
|
$selectQuery->setFrom($from);
|
||||||
|
$selectQuery->setOrderBy(); // ORDER BY in subselects breaks MS SQL Server and is not necessary here
|
||||||
|
$selectQuery->setDistinct(false);
|
||||||
|
|
||||||
|
// Use a sub-query as SQLite does not support setting delete targets in
|
||||||
|
// joined queries.
|
||||||
|
$delete = new SQLDelete();
|
||||||
|
$delete->setFrom("\"{$this->joinTable}\"");
|
||||||
|
// Use ManyManyList::foreignIDFilter() rather than the one in this class
|
||||||
|
// otherwise we end up selecting the wrong columns
|
||||||
|
$delete->addWhere(parent::foreignIDFilter());
|
||||||
|
$subSelect = $selectQuery->sql($parameters);
|
||||||
|
$delete->addWhere(array(
|
||||||
|
"\"{$this->joinTable}\".\"{$this->localKey}\" IN ($subSelect)" => $parameters
|
||||||
|
));
|
||||||
|
$delete->execute();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the following groups IDs can be added
|
* Determine if the following groups IDs can be added
|
||||||
*
|
*
|
||||||
|
@ -407,6 +407,7 @@ class Security extends Controller implements TemplateGlobalProvider {
|
|||||||
* sessions don't timeout. A common use is in the admin.
|
* sessions don't timeout. A common use is in the admin.
|
||||||
*/
|
*/
|
||||||
public function ping() {
|
public function ping() {
|
||||||
|
Requirements::clear();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -377,6 +377,35 @@ class MemberTest extends FunctionalTest {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assertions to check that Member_GroupSet is functionally equivalent to ManyManyList
|
||||||
|
*/
|
||||||
|
public function testRemoveGroups()
|
||||||
|
{
|
||||||
|
$staffmember = $this->objFromFixture('Member', 'staffmember');
|
||||||
|
|
||||||
|
$staffgroup = $this->objFromFixture('Group', 'staffgroup');
|
||||||
|
$managementgroup = $this->objFromFixture('Group', 'managementgroup');
|
||||||
|
|
||||||
|
$this->assertTrue(
|
||||||
|
$staffmember->inGroups(array($staffgroup, $managementgroup)),
|
||||||
|
'inGroups() succeeds if a membership is detected on one of many passed groups'
|
||||||
|
);
|
||||||
|
|
||||||
|
$staffmember->Groups()->remove($managementgroup);
|
||||||
|
$this->assertFalse(
|
||||||
|
$staffmember->inGroup($managementgroup),
|
||||||
|
'member was not removed from group using ->Groups()->remove()'
|
||||||
|
);
|
||||||
|
|
||||||
|
$staffmember->Groups()->removeAll();
|
||||||
|
$this->assertEquals(
|
||||||
|
0,
|
||||||
|
$staffmember->Groups()->count(),
|
||||||
|
'member was not removed from all groups using ->Groups()->removeAll()'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public function testAddToGroupByCode() {
|
public function testAddToGroupByCode() {
|
||||||
$grouplessMember = $this->objFromFixture('Member', 'grouplessmember');
|
$grouplessMember = $this->objFromFixture('Member', 'grouplessmember');
|
||||||
$memberlessGroup = $this->objFromFixture('Group','memberlessgroup');
|
$memberlessGroup = $this->objFromFixture('Group','memberlessgroup');
|
||||||
|
Loading…
Reference in New Issue
Block a user