Commit Graph

7451 Commits

Author SHA1 Message Date
enahum
3ea49822b3 PLT-4762 Prevent turn off of (at)mentions (webapp) (#4715) 2016-12-06 18:42:49 -05:00
enahum
e57cba15ea PLT-4762 Prevent turn off of (at)mentions (server) (#4714) 2016-12-06 10:57:38 -05:00
Asaad Mahmood
08c2d28942 Multiple UI Improvements (#4712)
* Multiple UI Improvements

* Reverting modal animation
2016-12-06 10:51:31 -05:00
Joram Wilander
42f28886cc Autocomplete is now case insensitive (#4709) 2016-12-06 10:50:56 -05:00
Christopher Speller
026553e4f8 Improving command line interface (#4689) 2016-12-06 10:49:34 -05:00
Joram Wilander
dcf11a14d8 Don't show status for posts from webhooks (#4726) 2016-12-06 10:22:45 -05:00
enahum
4df1ad2b28 PLT-4859 Email notifications sent when email notifications set to never (#4711) 2016-12-06 10:22:19 -05:00
Harrison Healey
b477e384d8 Added support for autocompleting at mentions for users with non-alphanumeric names (#4717) 2016-12-06 09:36:40 -03:00
Harrison Healey
01015dd30e Fixed emoji to resize when used in headers (#4718) 2016-12-06 09:35:53 -03:00
Harrison Healey
83a2bbe67a Only show edit/delete buttons for integrations if the user should have permissions to them (#4719) 2016-12-06 09:35:24 -03:00
Harrison Healey
6ae028d2c6 Stopped trimming post message in EditPostModal (#4720) 2016-12-06 09:32:16 -03:00
Yusuke Nemoto
8df0c0a007 fix message text (#4722) 2016-12-06 09:29:55 -03:00
Carlos Tadeu Panato Junior
f27aca4b73 Move instances of Client.createPost() in components to an action (#4639)
* Move instances of Client.createPost() in components to an action

* update per review, waiting for more review and see if this is the right way

* update per code review

* update code

* remove comment per request
2016-12-05 12:59:12 -05:00
Joram Wilander
b9b986b741 Fix replying to threads with empty message and a file (#4693) 2016-12-05 09:43:35 -05:00
George Goldberg
7b0b0be977 PLT-4862 Slack Import links should open in new tab (#4683)
* Update Slack Import help text.

It was quite inaccurate in light of all the recently added features.

* Update wording as per review.

* Don't use FormattedHTMLMessage

* Fix linter complaints.
2016-12-05 11:15:17 -03:00
enahum
145876681f Fix react warnings and part of backstage (#4706) 2016-12-05 08:19:12 -05:00
Corey Hulen
05783664cd Fixing crash when attempting to login (#4704) 2016-12-05 07:45:29 -05:00
Joram Wilander
06daf8b5ac Invalidate user channel members cache when creating a new channel (#4694) 2016-12-02 15:53:28 -05:00
Joram Wilander
67c60d236d Fix preview collapsing in RHS root post (#4677) 2016-12-02 12:25:50 -05:00
Joram Wilander
ea26c72dad PLT-4710 User search now obeys privacy settings (#4673)
* Consider privacy settings in user search

* Add sysadmin as exception to privacy settings for user search
2016-12-02 12:24:22 -05:00
enahum
c952985ffd translations PR 20161128 (#4666) 2016-12-02 10:43:14 -03:00
George Goldberg
275188ad04 PLT-4839 Split too-long Slack messages on import. (#4679)
* PLT-4839 Split too-long Slack messages on import.

This PR also takes the opportunity to make the max values for Post
properties into constants for easier use elsewhere, as has previously
been done for Channel properties.

* Only count runes once.
2016-12-02 08:13:15 -05:00
Carlos Tadeu Panato Junior
c51afba71a Add Team Description to the Team Settings (#4652)
* draft

* Add Team Description to the Team Settings

* add tooltips for team description

* made changes per PM review

* add message when there is no description set in the team

* squash
2016-12-01 17:23:28 -05:00
Carlos Tadeu Panato Junior
8c18da21f3 Move instances of Client.updateChannel() in components to an action (#4643)
* Move instances of Client.updateChannel() in components to an action

* update per code review
2016-12-01 09:04:33 -05:00
Joram Wilander
f013d91b89 Count posts to DMs as mentions when from webhooks (#4676) 2016-12-01 09:22:38 -03:00
Eric Sethna
30dbc412ca Update desktop notification help text (#4684)
* Update desktop_notification_settings.jsx

* desktop notification help text
2016-12-01 09:19:40 -03:00
enahum
a804f63c32 Fix Unread posts indicator and mention badge don't match theme color (#4678) 2016-11-30 15:45:05 -05:00
Harrison Healey
165ad0d4f7 PLT-1378 Initial version of emoji reactions (#4520)
* Refactored emoji.json to support multiple aliases and emoji categories

* Added custom category to emoji.jsx and stabilized all fields

* Removed conflicting aliases for :mattermost: and :ca:

* fixup after store changes

* Added emoji reactions

* Removed reactions for an emoji when that emoji is deleted

* Fixed incorrect test case

* Renamed ReactionList to ReactionListView

* Fixed 👍 and 👎 not showing up as possible reactions

* Removed text emoticons from emoji reaction autocomplete

* Changed emoji reactions to be sorted by the order that they were first created

* Set a maximum number of listeners for the ReactionStore

* Removed unused code from Textbox component

* Fixed reaction permissions

* Changed error code when trying to modify reactions for another user

* Fixed merge conflicts

* Properly applied theme colours to reactions

* Fixed ESLint and gofmt errors

* Fixed ReactionListContainer to properly update when its post prop changes

* Removed unnecessary escape characters from reaction regexes

* Shared reaction message pattern between CreatePost and CreateComment

* Removed an unnecessary select query when saving a reaction

* Changed reactions route to be under /reactions

* Fixed copyright dates on newly added files

* Removed debug code that prevented all unit tests from being ran

* Cleaned up unnecessary code for reactions

* Renamed ReactionStore.List to ReactionStore.GetForPost
2016-11-30 13:55:49 -05:00
Joram Wilander
2bf0342d13 Temporarily disable websocket test causing random build failures (#4680)
* Temporarily disable websocket test causing random build failures

* Comment out imports
2016-11-30 10:25:53 -05:00
Corey Hulen
d86cdc3f91 PLT-4822 fixing max channels per team (#4675) 2016-11-30 07:48:32 -05:00
George Goldberg
e7710cf1d2 PLT-4847 Fix formatting of links imported from Slack. (#4674)
This fixes mailto: links built from email addresses posted to Slack as
described in the ticket, but also fixes any other type of URL that has
been auto-linked in the Slack messages.
2016-11-29 14:07:07 -05:00
Asaad Mahmood
7f911d1632 Multiple UI improvements (#4671)
PLT-4638 - Removing close buttons from modals

Updating UI for filter and search on mobile

Reverting utils
2016-11-29 12:10:20 -05:00
Joram Wilander
557aa68636 PLT-4233 When internet reconnects, reconnect websocket and grab latest posts, etc. (#4500)
* When internet reconnects, reconnect websocket and grab latest posts, etc.

* Rename internet connection variable
2016-11-29 12:37:59 -03:00
enahum
58215e573f Fix Theme in safari (#4668) 2016-11-29 10:16:21 -05:00
enahum
702c4cb121 Fix more react warnings & fix saving theme (#4667) 2016-11-29 10:15:46 -05:00
Joram Wilander
02d581c159 PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)
* Add autocomplete API for system-wide users

* Update channel switcher to autocomplete all users on the system
2016-11-29 10:12:59 -05:00
Nick Frazier
ad52183248 Move instances of Client.updateUserRoles() in components to an action (#4657)
* moved updateUserRoles to user_actions

* updated second updateUserRoles call
2016-11-29 09:10:02 -05:00
George Goldberg
ccf05bfdfe PLT-4280 Update Slack Import help text. (#4646)
* Update Slack Import help text.

It was quite inaccurate in light of all the recently added features.

* Update wording as per review.
2016-11-28 11:32:37 -08:00
Corey Hulen
0383c58d01 PLT-4357 Adding stats to HA (#4638)
* PLT-4357 adding stats to HA

* PLT-4357 adding stats to HA

* Fixing getting stats from the current server
2016-11-28 10:40:02 -05:00
George Goldberg
be0ae36422 Fix failure to import same Slack archive to 2 teams. (#4650)
This fixes the issue where you can't import 2 Slack exports with any
users who's emails appear in both exports onto different teams of the
same server.

Fixes #4126
2016-11-28 10:39:06 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
MARUYAMA Takayuki
8d9768dad3 Change Flag Posts ordering to show posts from newest to oldest (#4656) 2016-11-28 10:26:23 -05:00
enahum
28b84dc1d1 translations PR 20161122 (#4625) 2016-11-26 12:32:32 -03:00
Hyeseong Kim
2abcc25173 PLT-2077 Support CJK hashtags (#4555)
* Add Korean character ranges to exist CJK pattern

* Add constant for CJK hashtags
Becuase most of keywords in CJK are two characters

* Add CJK ranges to hashtag pattern to handle it.

* Fixes hashtag pattern to apply numbers at last

* Remove a wrong test case
`test_` shouldn't be a hashtag

* Fix hashtag regex to support standard unicodes

* Remove wrong escapes from regex
2016-11-24 09:38:56 -05:00
Joram Wilander
981ea33b8e PLT-4403 Add server-based channel autocomplete, search and paging (#4585)
* Add more channel paging API

* Add channel paging support to client

* Add DB channel search functions

* Add API for searching more channels

* Add more channel search functionality to client

* Add API for autocompleting channels

* Add channel autocomplete functionality to the client

* Move to be deprecated APIs to their own file

* Final clean-up

* Fixes related to feedback

* Localization changes

* Add unit as suffix to timeout constants
2016-11-24 09:35:09 -05:00
Christopher Speller
c96ecae6da Merge branch 'release-3.5' 2016-11-24 09:08:46 -05:00
Corey Hulen
b212acf312 PLT-4429 disabling at_all at_channel metions mentions when channel has more than 1k users (#4627)
* PLT-4429 disabling explicit mentions when channel has more than 1k users

* Fixing test case

* Adding setting to the admin console

* Fixing bad translation
2016-11-24 08:26:45 -05:00
enahum
36f62c9e82 return posted message without waiting for email and push notifications to be sent (#4645) v3.5.1 2016-11-23 12:20:28 -05:00
Harrison Healey
48533aa483 Fixed json and xml file rendering in code preview (#4642) 2016-11-23 11:12:37 -05:00
Eric Sethna
0f07a2d288 PLT-4776: Fix typo in MFA help text (#4635)
* fix typo

* fix mfa typo
2016-11-22 13:27:11 -08:00