Commit Graph

236 Commits

Author SHA1 Message Date
Joram Wilander
270ac11365 Fix posts from your own webhook not showing as unread until refresh (#5703) 2017-03-09 19:41:23 +00:00
Joram Wilander
9c13863f48 Fix GMs showing up on refresh after being hidden (#5702) 2017-03-09 19:41:03 +00:00
Joram Wilander
615d116c45 Fix desktop notification click handler for existing/new GMs (#5633) 2017-03-04 17:58:37 +00:00
Joram Wilander
e739a91c94 Fix JS error when receiving reply during channel switch (#5582) 2017-03-03 12:25:32 -05:00
Joram Wilander
3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* Implement server changes for group messaging

* Majority of client-side implementation

* Some server updates

* Added new React multiselect component

* Fix style issues

* Add custom renderer for options

* Fix model test

* Update ENTER functionality for multiselect control

* Remove buttons from multiselect UI control

* Updating group messaging UI (#5524)

* Move filter controls up a component level

* Scroll with arrow keys

* Updating mobile layout for multiselect (#5534)

* Fix race condition when backspacing quickly

* Hidden or new GMs show up for regular messages

* Add overriding of number remaining text

* Add UI filtering for team if config setting set

* Add icon to channel switcher and class prop to status icon

* Minor updates per feedback

* Improving group messaging UI (#5563)

* UX changes per feedback

* Update email for group messages

* UI fixes for group messaging (#5587)

* Fix missing localization string

* Add maximum users message when adding members to GM

* Fix input clearing on Android

* Updating group messaging UI (#5603)

* Updating UI for group messaging (#5604)
2017-03-02 17:48:56 -05:00
enahum
551adddb67 Prevent msg count subtraction to be less than zero (#5565) 2017-03-01 08:43:40 +00:00
enahum
4429e2f58c PLT-5396 Fix team mention badge persistance (#5543) 2017-02-27 14:26:38 -05:00
Poornima
19b753467d Adding edit of incoming webhook (#5272)
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
2017-02-26 13:48:20 -05:00
George Goldberg
8509c2f0b0 PLT-5080 (WebApp): Channel Admin permission level. (#5047)
* PLT-5080 (WebApp): Channel Admin permission level.

For channel management and channel deletion.

* Fix some incorrect showing/hiding of options.

* Remove incorrect client calls that was overwriting my channel members.
2017-02-23 20:15:10 -05:00
George Goldberg
7883a515e7 Fix Utils importing in ChannelStore. (#5503)
This fixes a whole load of bugs around Channel Members Modals, and
elsewhere where the Channel Members are used. Most of those bugs have
been alreay closed as "Cannot Reproduce" becaues the issue was a really
nasty race condition in the javascript!
2017-02-22 21:33:13 -05:00
Joram Wilander
d1f1109e59 Fix unreads appearing after some system messages posted (#5491) 2017-02-22 09:16:17 -05:00
Joram Wilander
e505577abf Clean-up unread counting and fix commenting (#5437) 2017-02-15 21:06:13 -05:00
Joram Wilander
b86e0daf83 Fix commenting in RHS marking channel unread (#5405) 2017-02-14 15:55:35 -05:00
Joram Wilander
247ac8d1cc Increment channel counts for own messages (#5399) 2017-02-14 11:38:07 -05:00
Joram Wilander
8da1c696d4 Fix JS error on out of channel mentions and slash commands (#5395) 2017-02-13 22:22:21 -05:00
Joram Wilander
06f89cea30 Final fixes for moving unread handling to client (#5392) 2017-02-13 15:19:41 -05:00
Joram Wilander
892f8f4651 Fix ignore unread and DM unreads (#5391)
* Fix ignoring unreads in channels

* Fix DM unreads
2017-02-13 13:50:08 -05:00
Robin Naundorf
54c699b7ca Fix typo (#5380)
* Replace 'recieve' with 'receive'
2017-02-13 15:29:54 +00:00
Joram Wilander
ff741740ee Increase performance when receiving messages (#5375) 2017-02-13 09:27:28 -05:00
Akihiko Odaki
432dc9239f Let emoji_store.jsx use Client APIs to resolve URLs (#5302) 2017-02-08 18:23:24 +00: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
Harrison Healey
948b557453 Partially reverted 7e9cf13aa3 (#5295) 2017-02-03 14:21:10 -05: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
Akihiko Odaki
7e9cf13aa3 Use Client APIs to resolve URLs (#5148) 2017-01-31 09:29:21 -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
Joram Wilander
63d68b3e36 Fix @ mentions not always highlighting (#5223) 2017-01-30 10:59:00 -05: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
George Goldberg
f9b57b65ea PLT-5135: Fix left channel in more channels list. (#5114)
The problem was it was not being sorted, so appeared at the bottom of
the list.
2017-01-18 17:46:21 -03:00
Amit Yadav
99cf08ac38 Message Editing and Deleting permissions (#4692) 2017-01-18 08:08:31 -05:00
Joram Wilander
6b2c4a346b Discard outdated results in modal searches (#5082) 2017-01-16 18:32:51 -05:00
Joram Wilander
4257114a37 Fix lodaing missing messages after search bug (#5080) 2017-01-16 18:32:08 -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
Joram Wilander
4208e42ba9 Fix JS error when receiving message in system console (#5019) 2017-01-12 10:52:58 -05:00
Christopher Speller
60a59a67fe Fixing deleting messages in permalink view (#4958) 2017-01-04 14:23:41 -05:00
Joram Wilander
2308499fa4 Fix unread for your own message after logout (#4943) 2017-01-03 12:37:47 -05:00
Joram Wilander
3d15b3ec50 Store posts for focus view in regular post store as well (#4913) 2016-12-29 15:50:17 -05:00
Joram Wilander
cadc9e11e4 Remove race between multiple autocomplete requests (#4860) 2016-12-21 12:45:21 -05:00
Harrison Healey
629d38e256 Removed usage of removed TeamStore method (#4785) 2016-12-19 15:58:13 +00: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
enahum
778e89aab4 Fix JS error when someone posts a message in a another team (#4791) 2016-12-14 10:27:54 -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
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
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
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
Joram Wilander
3c65a20f45 Deleted posts now update in search results and flagged posts (#4618) 2016-11-22 09:13:14 -05:00