Merge release branch 'release-1.2'

Этот коммит содержится в:
Christopher Speller
2015-11-13 14:15:32 -05:00
родитель c5c96082c5 cd82de18f5
Коммит f0b1adf6cf
5 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@@ -89,7 +89,7 @@ System Console
### Compatibility
- 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

Просмотреть файл

@@ -34,7 +34,7 @@ VOLUME /var/lib/mysql
WORKDIR /mattermost
# 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
ADD config_docker.json /
ADD docker-entry.sh /

Просмотреть файл

@@ -50,6 +50,10 @@ export default class MoreDirectChannels extends React.Component {
handleFilterChange() {
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
if ($(window).width() > 768) {
$(ReactDOM.findDOMNode(this.refs.userList)).scrollTop(0);
}
if (filter !== this.state.filter) {
this.setState({filter});
}

Просмотреть файл

@@ -50,7 +50,8 @@ export default class PostAttachment extends React.Component {
}
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() {
@@ -292,4 +293,4 @@ export default class PostAttachment extends React.Component {
PostAttachment.propTypes = {
attachment: React.PropTypes.object.isRequired
};
};

Просмотреть файл

@@ -16,7 +16,8 @@
}
.bad-connection {
background-color: rgb(255, 255, 172) !important;
background: #ffffac !important;
color: #D04444 !important;
}
.textarea-div {