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

321 Коммитов

Автор SHA1 Сообщение Дата
Christopher Speller
11a688d381 Adding active users statistics to system console (#5141) 2017-01-20 17:24:53 -03:00
Debanshu Kundu
3aaf71fdea #4257 Added functionality to create previews for post links using open graph data from those links. (#4890) 2017-01-20 14:41:13 -03:00
Jürgen Haas
fefe4b70d9 Support explicit image sizes in markdown (#4803)
* Support explicit image sizes in markdown

* Cleanup code

* Add support for missing second dimension

* Overwrite height style attribute if available, use "auto" otherwise

* Fix syntax

* Do not set the height style if its value is auto

* Re-calculate width and height, if given height is bigger than max-height

* Make formulas more explicit
2017-01-20 11:21:39 -05:00
Carlos Tadeu Panato Junior
6097f93704 Move instances of Client.leaveChannel() in components to an action (#5131)
* Move instances of Client.leaveChannel() in components to an action

* create isFavoriteChannelId
2017-01-20 09:45:22 -05:00
Amit Yadav
99cf08ac38 Message Editing and Deleting permissions (#4692) 2017-01-18 08:08:31 -05:00
Corey Hulen
1fc26a152f PLT-5211 Always emove deleted channels for LHS (#5087) 2017-01-17 08:35:07 -05:00
George Goldberg
95251258f5 PLT-5049 (Webapp) New Channel Members UI. (#5036)
This replaces the existing Channel Members UI with one based on the Team
Members UI, so that either a button, a role or a role with a menu can be
displayed.

Basic logic for which actions and roles are displayed is implemented,
although this doesn't change behaviour or functionality at all, as that
will come in later PRs. It does, however, add code to fetch the
ChannelMember objects as that is necessary to provide the full set of
actions and roles as intended.
2017-01-15 10:40:43 -05:00
Jazz
7d6fa7f8bf Register the same language aliases as Rouge (#5040)
This allows the use of the same aliases as GitLab.
2017-01-13 10:54:22 -03:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Debanshu Kundu
739f32272f PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923) 2017-01-12 10:47:29 -05:00
Corey Hulen
e82bcea0d0 PLT-5118 moving to last_picture_update for the profile img (#4985) 2017-01-06 12:13:22 -05:00
George Goldberg
0c0635d766 PLT-4614 Fix ordering of channels. (#4980) 2017-01-06 09:03:11 -05:00
George Goldberg
96697c8cf7 PLT-4821 Fix highlighting of wildcard search terms. (#4976) 2017-01-06 08:54:38 -05:00
George Goldberg
c3f60d7ced PLT-4791 Fix hashtag highlight in search results. (#4977) 2017-01-06 08:54:31 -05:00
Asaad Mahmood
3e7a59b7b9 Minor UI improvements (#4959)
* PLT-5128 - Fixing channel header responsively

* PLT-4984 - Fixing search popover behaviour
2017-01-04 13:40:51 -05:00
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