Commit Graph

331 Commits

Author SHA1 Message Date
Joram Wilander
06f89cea30 Final fixes for moving unread handling to client (#5392) 2017-02-13 15:19:41 -05:00
Andrei Stanciu
1bbed1cb2b Add permalink to timestamp (#5206)
* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* fix error with duplicated import

* underline permalink on hover
2017-02-10 06:56:48 -08:00
Akihiko Odaki
68a05653ea Add webapp/utils/url.jsx (#5285)
webapp/utils/utils.jsx got big and that caused a potential circular
dependency with webapp/stores/team_store.jsx. This change solves the
issue by introducing webapp/utils/url.jsx and moving URL-related
functions, which is not likely to depend on actions and stores, from
webapp/utils/utils.jsx.
2017-02-07 07:20:01 -08:00
Saturnino Abril
9ba968ce33 Use consistent Display Name sorting code throughout the webapp #5159 (#5213)
* Use consistent Display Name sorting code throughout the webapp #5159

* fixed broken sorting of teams and channels
2017-01-31 20:57:16 -03:00
Harrison Healey
9369cab56c Added ability for system message username to be localized (#5239) 2017-01-31 13:02:48 -05:00
Christopher Speller
450c0b3ccb Improvments to typing messages (#5230) 2017-01-30 15:43:34 -05:00
Harrison Healey
39ee5737b7 PLT-2555/PLT-5009/PLT-5225 Changed system messages to be rendered by the client (#5209)
* Moved rendering of (message deleted) into PostMessageView

* Added additional post types to constants on client

* Changed system messages to be rendered in the client's language

* Updated new system messages to have relevant usernames highlighted and have markdown rendered in header change messages
2017-01-30 11:49:00 -05:00
Asaad Mahmood
8a0db428bb Bug fixes (#5218)
* PLT-5319 - Fixing text alignment security modal

* PLT-5280 - Fixing add comment button in RHS mobile

* PLT-5397 - Fixing Floating timestamp on mobile

* PLT-5129 - Hiding formatting help text

* PLT-5242 - Adjusting team sidebar border on IE!!

* PLT-5226 - Placing settings toggle over header

* PLT-5222 - Placed team description tooltip on top

* PLT-5201 - Account settings overlap on mobile

* PLT-5138 - Adding bg to pending post actions

* PLT-5286 - Adjusting play button on youtube videos

* PLT-5313 - Adjusting space between emoji reactions

* PLT-5187 - Adjusting text in channel switcher

* PLT-5399 - Reverting button alignment in modal
2017-01-30 09:39:43 -05:00
Asaad Mahmood
83ead5cac7 PLT-5122 - Switching to circular status icons (#5049)
* PLT-5122 - Switching to circular status icons

* Adding profile pic crop for status indicators

* Updating status indicators in LHS

* Updating else statements
2017-01-30 09:38:06 -05:00
Harrison Healey
57d9d0ad1e Disabled mangling of email addresses in markdown autolinks (#5192) 2017-01-25 23:13:17 -03:00
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