Merge release branch 'release-1.2'
Этот коммит содержится в:
@@ -89,7 +89,7 @@ System Console
|
|||||||
### Compatibility
|
### Compatibility
|
||||||
|
|
||||||
- IE 11 new minimum version for IE, since IE 10 share fell below 5% on desktop
|
- IE 11 new minimum version for IE, since IE 10 share fell below 5% on desktop
|
||||||
- Safari 8 new minimum version for Safari, since Safari 7 fell below 1% on desktop
|
- Safari 9 new minimum version for Safari, since Safari 7 and 8 fell below 1% each on desktop
|
||||||
|
|
||||||
#### Config.json Changes from v1.1 to v1.2
|
#### Config.json Changes from v1.1 to v1.2
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ VOLUME /var/lib/mysql
|
|||||||
WORKDIR /mattermost
|
WORKDIR /mattermost
|
||||||
|
|
||||||
# Copy over files
|
# Copy over files
|
||||||
ADD https://github.com/mattermost/platform/releases/download/v1.2.0-rc2/mattermost.tar.gz /
|
ADD https://github.com/mattermost/platform/releases/download/v1.2.0/mattermost.tar.gz /
|
||||||
RUN tar -zxvf /mattermost.tar.gz --strip-components=1 && rm /mattermost.tar.gz
|
RUN tar -zxvf /mattermost.tar.gz --strip-components=1 && rm /mattermost.tar.gz
|
||||||
ADD config_docker.json /
|
ADD config_docker.json /
|
||||||
ADD docker-entry.sh /
|
ADD docker-entry.sh /
|
||||||
|
|||||||
@@ -50,6 +50,10 @@ export default class MoreDirectChannels extends React.Component {
|
|||||||
handleFilterChange() {
|
handleFilterChange() {
|
||||||
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
|
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
|
||||||
|
|
||||||
|
if ($(window).width() > 768) {
|
||||||
|
$(ReactDOM.findDOMNode(this.refs.userList)).scrollTop(0);
|
||||||
|
}
|
||||||
|
|
||||||
if (filter !== this.state.filter) {
|
if (filter !== this.state.filter) {
|
||||||
this.setState({filter});
|
this.setState({filter});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,8 @@ export default class PostAttachment extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shouldCollapse() {
|
shouldCollapse() {
|
||||||
return (this.props.attachment.text.match(/\n/g) || []).length >= 5 || this.props.attachment.text.length > 700;
|
const text = this.props.attachment.text || '';
|
||||||
|
return (text.match(/\n/g) || []).length >= 5 || text.length > 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCollapsedText() {
|
getCollapsedText() {
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bad-connection {
|
.bad-connection {
|
||||||
background-color: rgb(255, 255, 172) !important;
|
background: #ffffac !important;
|
||||||
|
color: #D04444 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textarea-div {
|
.textarea-div {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user