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

1289 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
c3d02100a9 PLT-4903 Rendered a placeholder for user reactions where the user hasn't been loaded (#4784)
* Rendered a placeholder for user reactions where the user hasn't been loaded

* Added id to reaction Tooltip

* Removed FormattedHTMLMessage from Reaction and improved support for different verb conjugations
2016-12-14 11:31:00 -05:00
enahum
778e89aab4 Fix JS error when someone posts a message in a another team (#4791) 2016-12-14 10:27:54 -05:00
Debanshu Kundu
3e350527a5 PLT-4907 Sorting team name for user's teams and other teams in ascending order of display name on team list page. (#4757) 2016-12-14 09:32:38 -05:00
MARUYAMA Takayuki
3aaed14a9e add missing messages (#4788) 2016-12-14 08:13:55 -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
enahum
6db2cc821d Fix error parsing translation files (#4778) 2016-12-13 08:44:39 -05:00
Joram Wilander
27aaa6dad3 Fix JS errors with RHS and flagged posts (#4771) 2016-12-12 21:52:19 -03:00
George Goldberg
e28dea6b11 PLT-4914 Sort custom emoji on whole name. (#4768) 2016-12-12 12:28:30 -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
Joram Wilander
30a10d35a8 PLT-4767 Implement MFA Enforcement (#4662)
* Create MFA setup page and remove MFA setup from account settings modal

* Add enforce MFA to system console and force redirect

* Lockdown mfa required API routes, add localization, other changes

* Minor fixes

* Fix typo

* Fix some unit tests

* Fix more unit tests

* Minor fix

* Updating UI for MFA screen (#4670)

* Updating UI for MFA screen

* Updating styles for MFA page

* Add the ability to switch between email/sso with MFA enabled

* Added mfa change email

* Minor UI updates for MFA enforcement

* Fix unit test

* Fix client unit test

* Allow switching email to ldap and back when MFA is enabled

* Fix unit test

* Revert config.json
2016-12-12 10:16:10 -03:00
Carlos Tadeu Panato Junior
f0d71d8789 Add API call to get a channel by its name (#4700)
* add api for getByChannelName

* add tests

* fix test

* rename and tests

* check for permissions and test
2016-12-11 21:30:37 -08:00
enahum
40afc39684 translations PR 20161208 (#4740) 2016-12-11 01:49:38 -03:00
Yusuke Nemoto
ddacfa58ba PLT-1598 Slash command works in RHS (#4367)
* PLT-1598 Slash command works in RHS

* fix UserProfile in the reply for Slash Command

* fix some problem about the system messages in RHS
* system message in RHS isn't displayed as comment for root message

* remove status indicator for system message in RHS

* system message in RHS is colored to grey

* system messages don't count as commented post

* fix bug about cleaning draft in RHS

* remove unnecessary function

* implement new model for executing command
2016-12-09 23:35:16 -05:00
Nick Frazier
cb870c83d1 PLT-4783 Fix autofocus for "Add/Manage Members" and "More public channels" modals (#4610)
* test fix

* additional test fix

* removed commented line

* test fix

additional test fix

removed commented line

fixed sidebar, rolled back web_client fix

* fix for more_channels input focus bug
2016-12-09 22:46:52 -05:00
Harrison Healey
c2be6497eb Changed SuggestionBox to clear suggestions shortly after losing focus (#4721) 2016-12-09 15:43:50 -08:00
Joram Wilander
65699c7c51 Remove status from webhook posts in compact mode (#4739) 2016-12-09 15:43:28 -08:00
Harrison Healey
e068c1d58e Fixed EmailAuthenticationSettings mutating the stored config (#4743) 2016-12-09 07:54:12 -05:00
Harrison Healey
d7ee335106 Fixed being unable to make the first post in a new channel (#4744) 2016-12-09 07:53:36 -05:00
Harrison Healey
5341e82ad7 Fixed typo causing NewMessageIndicator to fail to translate (#4738) 2016-12-08 13:13:32 -03:00
Carlos Tadeu Panato Junior
d402b1d010 Add API call to get a team by its name (#4690)
* Add API call to get a team by its name

* add tests for client side and update route regex

* remove action

* add check for permissions and create tests
2016-12-08 10:21:43 -05:00
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
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
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
42f28886cc Autocomplete is now case insensitive (#4709) 2016-12-06 10:50:56 -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
01015dd30e Fixed emoji to resize when used in headers (#4718) 2016-12-06 09:35:53 -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
enahum
c952985ffd translations PR 20161128 (#4666) 2016-12-02 10:43:14 -03: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
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
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
Joram Wilander
557aa68636 PLT-4233 When internet reconnects, reconnect websocket and grab latest posts, etc. (#4500)
* When internet reconnects, reconnect websocket and grab latest posts, etc.

* Rename internet connection variable
2016-11-29 12:37:59 -03:00
enahum
58215e573f Fix Theme in safari (#4668) 2016-11-29 10:16:21 -05:00