Граф коммитов

306 Коммитов

Автор SHA1 Сообщение Дата
Asaad Mahmood
f1679cb2a0 Ui improvements (#4900)
* PLT-5091 - Updating teams sidebar style

* PLT-4650 - Updating bot indicator

* Removing text decoration

* Fixing dropdown menu in admin console

* Updating bot indicator position on desktop

* Updating bot indicator on mobile

* Moving bot indicator below for mobile

* Adding bg to the bot indicator

* Updating css for bot indicator in compact view
2017-01-03 18:23:27 -05:00
Hyeseong Kim
7ee1fec6bf Fix isMobileApp() to also apply to Android app (#4892)
* Fix isMobileApp() to also apply to Android app

* Add checking agent to LHS download app link
2017-01-03 17:15:16 -05:00
George Goldberg
e3b8511462 PLT-4990 (WebApp): Separate channel management permissions. (#4865) 2017-01-02 19:35:26 -03:00
khawerrind
28a7a2f200 PLT-3132 Add a direct message link to the contact pop-over (#4853)
* added DM button to the user picture and name popover

* removed isRequired from status and busy properties from profile_popover.jsx
2016-12-30 13:48:37 -03:00
enahum
47581e6964 Fix error after leaving team (#4888) 2016-12-26 09:28:40 -05:00
Brendan Bowidas
bd67c1f227 GH-4658 Show profile popover when clicking on username or profile picture in DMs (#4705)
* GH-4658 Show profile popover when clicking on username or profile picture at top of Direct Message channel

* enable popover on username
2016-12-22 17:02:23 -03:00
Joram Wilander
ba6e370ca7 PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API (#4840)
* Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API

* Remove preference DB writes
2016-12-21 16:35:01 -05:00
Nick Frazier
26e43c671c PLT-4943: Warn when editing a message > 4000 chars (#4789)
* added basic functionality

* css fixes

* css fixes part II: electric boogaloo

* removed css interference with theme changes, for this and post length error
2016-12-21 11:37:07 -03:00
Christopher Speller
8c5744492f Revert "PLT-135 Showing "(Edited)" indicator if a message has been edited." (#4854) 2016-12-20 19:38:11 -05:00
Joram Wilander
bf3fec604f Remove autocomplete delay (#4819) 2016-12-20 09:08:58 -05:00
Harrison Healey
d4b890fff1 Copied fbjs keymirror into utils (#4807)
* Removed react-addons-pure-render-mixin from NOTICE

* Copied FBJS keymirror into non_npm_dependencies
2016-12-20 09:05:56 -05:00
Asaad Mahmood
58e8da11b1 Multiple UI improvements (#4835)
* Updating sizes for teams sidebar

* PLT-4641 - Rearranging notification option

* PLT-4504 - Updating styles for Oauth apps

* PLT-4852 - Updating font size for lists

* Fix for the unread indicator with teams sidebar
2016-12-19 16:44:13 -05:00
Harrison Healey
629d38e256 Removed usage of removed TeamStore method (#4785) 2016-12-19 15:58:13 +00:00
Debanshu Kundu
6a5cdd5cdf PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4764) 2016-12-19 09:05:39 -05:00
enahum
999d1553e1 PLT-4167 Team Sidebar (#4569)
* PLT-4167 Team Sidebar

* Address feedback from PM

* change route from my_members to members

* bug fixes

* Updating styles for teams sidebar (#4681)

* Added PM changes

* Fix corner cases

* Addressing feedback

* use two different endpoints

* Bug fixes

* Rename model and client functions, using preferences to store last team and channel viewed

* Fix mobile notification count and closing the team sidebar

* unit test, fixed bad merge and retrieve from cached when available

* bug fixes

* use id for last channel in preferences, query optimization

* Updating multi team css (#4830)
2016-12-19 08:05:46 -05:00
Joram Wilander
7f48a7fc9d PLT-4815 Refactor 'More Channels' modal into the new modal pattern (#4742)
* Refactor 'More Channels' modal into the new modal pattern

* Fix unit test

* Readded CSS changes
2016-12-15 13:40:46 -03:00
George Goldberg
8406e854aa PLT-4332 Position field for Users (#4632)
* Add User.Position field to store & model.

* GOFMT

* Add Position to user settings.

* Unit tests.

* Add position to profile popup.

* i18n

* Fix log message for invalid position.

* Add Position field attribute to LDAP config.

* Add Position field attribute to SAML config.

* Reword empty position message.

* Change Position Max Length to 35.

* Better invalid position error message.

* Add new fields to config.json.

* Ensure position is never longer than max when displayed.

* Hard limit of 64 chars with soft limit still 35

* Put field with other attributes.
2016-12-14 08:11:51 -03:00
Asaad Mahmood
9735854503 Ui improvements (#4780)
* PLT-4897 - Updating styles for emoji reactions

* PLT-4971 - Fixing help and attachment buttons

* PLT-4931 - Fixing UI for user list in system console

* Fixing a bug with the new messages indicator
2016-12-14 00:25:10 -03:00
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