Commit Graph

921 Commits

Author SHA1 Message Date
enahum
b57c9fec89 PLT-4894 channel switcher (CTRL+K) to match message autocomplete (#4733)
* PLT-4894 Change name display of direct messages in channel switcher (CTRL+K) to match message autocomplete

* Addressing feedback
2016-12-08 10:20:03 -05:00
Harrison Healey
7acd135e02 Removed duplicated characters when autocompleting composed characters (#4734) 2016-12-08 09:22:09 -03:00
Pepijn
7399d349de Created a new message indicator component to indicate new messages (#4299)
* Created a new message indicator component to indicate new messages are present
outside the user's view:

 * Created new component with styling

 * Theming and i18n support for new messages indicator

 * Count new unviewed messages and integrate with component

 * Coding style for new message indicator

* Fixed bugs with new message indicator:

 * Fix display issues with new message indicator
 * Update text to deal with plurals in React

* Fix coded style for ticket 'PLT-1917': add new message indicator.

* Use only server generated timestamps for checking new messages at the bottom

* Move transitionend to prop, fix style selectors
2016-12-07 18:08:37 -05:00
Nick Frazier
ed15f10b79 [PLT-4318] Display a message when post is over 4000 characters (#4687)
* test changes

* added functionality

* css updates

* additional css updates

* i18n updates

* textbox cleanup

* var naming tweak

* replaced jQuery with React-based UI changes
2016-12-06 18:49:36 -05:00
enahum
3ea49822b3 PLT-4762 Prevent turn off of (at)mentions (webapp) (#4715) 2016-12-06 18:42:49 -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
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
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
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
Joram Wilander
67c60d236d Fix preview collapsing in RHS root post (#4677) 2016-12-02 12:25:50 -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
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
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
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
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -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
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
Corey Hulen
7961599b2e PLT-4357 adding performance monitoring (#4622)
* WIP

* WIP

* Adding metrics collection

* updating vendor packages

* Adding metrics to config

* Adding admin console page for perf monitoring

* Updating glide

* switching to tylerb/graceful
2016-11-22 14:05:54 -05:00
Harrison Healey
a12581cb9e Cleared at mention suggestions when something invalid is typed (#4633) 2016-11-22 14:21:51 -03:00
Asaad Mahmood
84e5425a20 Multiple UI improvements (#4628) 2016-11-22 08:24:22 -08:00
Joram Wilander
3c65a20f45 Deleted posts now update in search results and flagged posts (#4618) 2016-11-22 09:13:14 -05:00
Harrison Healey
3c0f8c29db Fixed error being thrown by ChannelHeader when switching teams (#4619)
* Fixed error being thrown by ChannelHeader when switching teams

* Close SidebarHeaderDropdown after switching teams
2016-11-21 16:08:29 -05:00
Harrison Healey
43c703e216 PLT-4787 Fixed not being able to join a channel through a link after opening the More Channels modal (#4616) 2016-11-21 13:03:54 -05:00
Christopher Speller
0ef77dff13 Fixing new messages indicator (#4614) 2016-11-21 12:17:58 -05:00
Harrison Healey
a9824a3653 Hotfix: PLT-4779 Fixing scrolling on loading a channel and missing DM channel headers (#4584)
* Added all parameters to call tracker ids when getting profiles

* Changed channel header rendering to not depend on knowing all users in a DM channel

* Added comment about a race condition in UserActions.populateDMChannelsWithProfiles

* Added a fixed-height placeholder for the ChannelHeader when its state isn't valid for rendering
2016-11-21 12:17:46 -05:00
Joram Wilander
50ab9626eb Properly load profile for new posts that have unloaded users (#4578) 2016-11-21 12:17:21 -05:00
enahum
f6f0b89a85 Remove terms and privacy from WebRTC (#4606) 2016-11-21 07:15:49 -08:00
enahum
20e931c047 Redirect to team when login with an invite (#4609) 2016-11-21 07:15:23 -08:00
Carlos Tadeu Panato Junior
34c3e9e50d Move instances of Client.updateTeam() in components to an action (#4574)
* Move instances of Client.updateTeam() in components to an action

* remove client from missing ones

* update code per review

* update per code review
2016-11-18 17:21:32 -05:00
Asaad Mahmood
7d68434e8c Multiple UI fixes and improvements (#4572)
Reverting switch teams code

Fixing change css function
2016-11-17 12:27:39 -08:00
Pepijn
6d2882f6e7 Don't show desktop notifications for messages entering the channel th… (#4216)
* Don't show desktop notifications for messages entering the channel the user is currently on

Coding style fixes

Allow notifications if browser tab is not focussed

* Don't show desktop notifications for messages entering the channel the user is currently on

Coding style fixes

Allow notifications if browser tab is not focussed

* Mute sound when a user doesn't get a desktop notification

* Also play sound on desktop notifications

* Fixed reviewer's remarks:
 * Removed double notification check
 * Removed direct links to browser store, created separate actions
2016-11-17 13:46:07 -05:00
Christopher Speller
a798714958 Updating eslint (#4573) 2016-11-17 12:02:16 -05:00
Nick Frazier
b1db1463f6 replaced localizeMessage calls with FormattedMessage components (#4570)
* replaced localizeMessage calls with FormattedMessage components

localized file updates

* updated localization files

* updated localization files
2016-11-17 10:17:27 -05:00
Carlos Tadeu Panato Junior
091e5b8e03 PLT-4572 - Move instances of Client.updateUser() in components to an action (#4571)
* Move instances of Client.updateUser() in components to an action
2016-11-17 11:25:11 -03:00
Joram Wilander
dc1e653d01 Fix XML previews (#4560) 2016-11-17 09:07:44 -05:00