Commit Graph

288 Commits

Author SHA1 Message Date
Asaad Mahmood
32842be309 Multiple Ui improvements (#4767)
* PLT-4911 - Adding new target for OAuth help links

* PLT-4953 - Fixing styles for the unread messages indicator

* PLT-4901 - Fixing header modal overlap on mobile

* PLT-4916 - Swapping position of edit and delete
2016-12-12 10:17:20 -05:00
enahum
f52d5811aa PLT-4868 Fix Firefox: Javascript error when selecting a theme (#4731) 2016-12-07 18:16:55 -05: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
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
enahum
145876681f Fix react warnings and part of backstage (#4706) 2016-12-05 08:19:12 -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
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
enahum
58215e573f Fix Theme in safari (#4668) 2016-11-29 10:16:21 -05: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
Harrison Healey
e033dcce8e PLT-4300 Switched emoji to use a background-image (#4631) 2016-11-22 14:31:37 -03: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
3241b3abe4 Lower autocomplete timeout to 100ms (#4579) 2016-11-21 12:17:28 -05: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
Pepijn
11b0f64c60 Change theming function to something more efficient (#4487)
Remove indexes from changeCss function calls.
Not necessary when injecting style tags in the <head> directly
2016-11-17 09:14:47 -05:00
Christopher Speller
6dde2d268a Updating client dependancies (excpet eslint) (#4567) 2016-11-17 09:02:33 -05:00
Brian Olecki
6297922ab9 Add support for editing slash commands (#4335) 2016-11-15 12:43:16 -03:00
Carlos Tadeu Panato Junior
7df8eaf29a Update introduction message at top of channel/private groups (#4508)
* Update introduction message at top of channel/private groups

* fix grammar
2016-11-14 09:40:37 -03:00
Christopher Speller
323ce8b203 Merge branch 'release-3.5' 2016-11-14 07:09:41 -05:00
Christopher Speller
ced5f54500 Fixing new messages indicator (#4531) 2016-11-11 14:55:05 -05:00
Asaad Mahmood
7c1fe7a765 PLT-4316 - Webrtc improvements (#4525) 2016-11-11 08:23:43 -05:00
Joram Wilander
8c76560b48 Fix websocket on old versions of IE11 (#4501) 2016-11-10 09:22:06 -05:00
Thomas Hopkins
7117fc0562 PLT-4486 Don't apply sidebar bg color to settings modals w/o tabs (#4460)
* PLT-4486 Don't apply sidebar bg color to settings modals w/o tabs

* PLT-4486 Use more correct naming for tabless modals
2016-11-04 15:56:54 -04:00
Asaad Mahmood
f79f607a47 Updating UI fixes (#4437) 2016-11-03 15:29:10 -04:00
George Goldberg
4476adf131 Channel link marker changed from ! to ~ (#4433)
Fixes PLT-4570
2016-11-03 15:26:00 -04:00
Joram Wilander
137ade29d0 PLT-4535/PLT-4503 Fix inactive users in searches and add option functionality to DB user search (#4413)
* Add options to user database search

* Fix inactive users showing up incorrectly in some user searches

* Read JSON for searchUsers API into anonymous struct

* Move anonymous struct to be a normal struct in model directory and upadte client to use it

* Added clarification comment about slightly odd query condition in search
2016-11-02 14:38:34 -04:00
Asaad Mahmood
b8fcc0a5c4 Multiple UI Improvements (#4420) 2016-11-02 07:50:50 -07:00
Harrison Healey
a7e5837178 PLT-4454 Autolink anything that looks like an at mention (#4416)
* PLT-4454 Added autolinking for anything that looks like an at mention

* PLT-4454 Added unit tests for at mention autolinking
2016-11-01 14:58:44 -07:00
Harrison Healey
b4002ba55f Plt-4483 Removed unnecessary events from ChannelStore (#4407)
* PLT-4483 Removed MoreChange listener from ChannelStore

* PLT-4483 Removed LeaveChannel listener from ChannelStore
2016-11-01 09:58:04 -07:00
Joram Wilander
92642bab68 Load channel members with channels to make sure we have latest unread counts (#4389) 2016-11-01 11:13:33 -04:00
Joram Wilander
6d3b3162b0 Fixes for creating teams (#4387) 2016-11-01 08:34:52 -04:00
Joram Wilander
d67a2e1f0c Fix new DMs not showing up in the sidebar (#4374) 2016-10-31 09:11:23 -04:00
Asaad Mahmood
fcf7d185f6 Minor UI fixes (#4372) 2016-10-28 09:41:05 -07:00
Thomas Hopkins
589329b5c5 PLT-4534 Avoid applying themed hover background color on mobile (#4345)
* Avoid applying themed hover background color on mobile

* Remove closing brace from post hover style css mod
2016-10-27 17:51:50 -07:00
Asaad Mahmood
c5a0ac8c6a Shift UI changes (#4353)
* Shift UI changes

* Reverting config.json
2016-10-27 16:49:32 -04:00
enahum
f82667f3b8 PLT-4430 improve slow channel switching (#4331)
* PLT-4430 improve slow channel switching

* Update client side unit tests

* Convert getChannelsUnread to getMyChannelMembers and address other feedback

* Pull channel members on websocket reconnect
2016-10-27 11:24:30 -04:00
Pierre Rudloff
7e67eabca9 Fix URL parsing when URL has been encoded with escape() (fixes #4322) (#4338) 2016-10-26 12:36:16 -04:00
Alexander Smaga
b354d25d37 GH-4095 Favorite/Starred Channels (#4222) 2016-10-26 08:20:45 -04:00
S4KH
57eb69927c Changed constants name MIN_TEAM_LENGTH value to 2 and the error message (#4149) 2016-10-24 23:22:55 -04:00
Asaad Mahmood
510291e2e7 Updating shift UI changes (#4317) 2016-10-24 16:04:29 -04:00
Joram Wilander
e6d26bee51 Fixes for the team user lists in the system console (#4294) 2016-10-24 08:50:12 -04:00
Corey Hulen
486d12e1c3 PLT-4165 removing team name reserved words (#4289) 2016-10-21 17:19:28 -07:00
S4KH
234958e007 HW 4139: Make channel limits configurable in the System Console (#4154)
* Auto Changes

* 4139 Made channel limits configurable in the System Console as described in the issue

* Removed error message entries from other locales, made maxChannelsPerteam type to pointer

* Added * symbol to maxChannelsPerTeam inside isValid function

* Update team_test.go

* Restored to old test

* Checked maximum number channels per team when creating channel

* Fixed code to pass api/channel_test.go

* Reverted changes on config except MaxChannelsPerTeam

* Update channel.go

* Ran gofmt -w .

* Reverted vendor directoy
2016-10-21 08:36:13 -04:00