Commit Graph

152 Commits

Author SHA1 Message Date
Joram Wilander
ff741740ee Increase performance when receiving messages (#5375) 2017-02-13 09:27:28 -05: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
Christopher Speller
ca3211bc04 PLT-5328 Fixing signup screen (#5247)
* Fixing signup screen not forwarding properly

* Fixing team id not forwarding from invite link if only LDAP is enabled
2017-02-02 09:31:00 -05:00
Joram Wilander
da5c0764da Fix logging in with MFA (#5248) 2017-02-01 10:18:03 -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
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
Christopher Speller
8d2e8525a4 Merge branch 'release-3.6' 2017-01-27 09:30:33 -05:00
Carlos Tadeu Panato Junior
d72547433a Move remaining client functions in components to actions (#5171) 2017-01-27 10:39:13 +00:00
Debanshu Kundu
7bcea832cd #4967 Fixed issue of post not getting updated after edit, if the post was focused. (#5149) 2017-01-25 07:18:35 -05:00
Carlos Tadeu Panato Junior
479bd1a2b3 Move instances of Client.resendVerification() in components to an action (#5169) 2017-01-24 11:51:43 +00:00
Carlos Tadeu Panato Junior
b87cd4e276 Move instances of Client.resetPassword() in components to an action (#5167) 2017-01-24 09:23:09 +00:00
Carlos Tadeu Panato Junior
1e5354cff3 Move instances of Client.verifyEmail() in components to an action (#5166) 2017-01-24 08:45:52 +00:00
Carlos Tadeu Panato Junior
9cc37e6918 Move instances of Client.uploadFile() in components to an action (#5165) 2017-01-23 09:23:14 -05:00
Carlos Tadeu Panato Junior
dbfd93daa7 Move instances of Client.deleteChannel() in components to an action (#5164) 2017-01-23 09:22:26 -05:00
Saturnino Abril
784d85f46d Move instances of Client.inviteMembers() in components to an action (#5154) 2017-01-23 09:07:34 +00:00
Saturnino Abril
efbaa1eb03 Move instances of Client.updateUserNotifyProps() in components to an action (#5156) 2017-01-23 09:03:57 +00: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
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
Carlos Tadeu Panato Junior
6aec2b6c55 Move instances of Client.getInviteInfo() in components to an action (#5130) 2017-01-20 08:22:58 -05:00
Carlos Tadeu Panato Junior
576c662f27 Move instances of Client.deletePost() in components to an action (#5129) 2017-01-19 23:03:47 -03:00
Carlos Tadeu Panato Junior
48e1fa8aa0 Move instances of Client.addUserToTeamFromInvite() in components to an action (#5132) 2017-01-19 23:02:05 -03:00
Joram Wilander
0d8bb03b57 Add functionality for refetching latest data after computer wakes up (#5120) 2017-01-19 09:58:38 -05:00
Carlos Tadeu Panato Junior
61b7226533 Move instances of Client.updateChannelPurpose() in components to an action (#5096) 2017-01-19 08:40:21 -05:00
George Goldberg
e15ae2253a PLT-5050 (WebApp): Change channel member roles. (#5076)
Admins can now Promote/Demote channel members in the Channel Manage
Membersmodal.
2017-01-18 17:54:48 -03:00
Carlos Tadeu Panato Junior
8f0175e15c Move instances of Client.updateChannelHeader() in components to an action (#5098) 2017-01-17 15:49:58 -05:00
Joram Wilander
4257114a37 Fix lodaing missing messages after search bug (#5080) 2017-01-16 18:32:08 -05:00
Corey Hulen
441fe5334e PLT-5134 removing the async sending from update user (#5078) 2017-01-16 18:31:26 +00: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
Mika Andrianarijaona
e69809dce3 GH-4907 Move Client.updatePost call into an action (#5045)
* move Client.updatePost into an action

Client.updatePost where called from components so they needed to be moved inside action and call that action from component instead

fixes #4907

* move loadPost in updatePost callback

* Add loadPosts call in updatePost action

* Lint: remove trailing spaces
2017-01-13 10:48:49 -03:00
George Goldberg
0196137dec PLT-5238: Show error on execute invalid slash command. (#5057) 2017-01-13 10:42:20 -03:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Joram Wilander
04893cbe7c Reset unread counts for channels being switched to/away (#5037) 2017-01-10 16:17:22 -05:00
AymaneKhouaji
0cba48d155 Move instances of Client.updatePassword() in components to an action (#4908) (#5021) 2017-01-10 10:48:37 +00:00
Joram Wilander
b79ce19aea Temporary fix for JS errors when logging out with non-english language (#4990) 2017-01-06 09:00:30 -05:00
Christopher Speller
45585e6c2a Fixing errors on user updates (#4962) 2017-01-04 15:18:34 -05:00
Harrison Healey
63d2851ec7 PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)
* Removed note about unconfirmed race condition

* Fixed unit tests in client_channel.test.jsx

* Fixed updateActive unit test on client
2017-01-04 09:30:14 -05:00
Joram Wilander
fba49d1b80 Fix console error when logging in with non-english language (#4941) 2017-01-03 12:38:51 -05:00
Joram Wilander
2308499fa4 Fix unread for your own message after logout (#4943) 2017-01-03 12:37:47 -05:00
khawerrind
7cdfba62ef PLT-3960 Don't show (message deleted) placeholder to the user that deleted the message (#4839)
* on post delete remove the whole post for the owner of the post while other user will still see post deleted message

* now the deleter wont see the post while the other users will see deleted message

* removed fromSocket check and now calling PostStore.removePost instead of PostStore.deletePost from view

* fixed the bug which was causing to show message deleted until next action

* added remove post from store to global action

* moved removePostFromStore from global actions to post actions
2017-01-03 10:02:47 -05:00
Joram Wilander
2a91e5e031 Clean up /logout command flow and errors (#4918) 2016-12-30 13:12:43 -05:00
Joram Wilander
20b9954424 Fix console errors when logging out (#4915) 2016-12-29 15:48:46 -05:00
Joram Wilander
fa046ccf06 On channel switch, only pull statuses the client doesn't have yet (#4894) 2016-12-26 09:35:34 -05:00
enahum
47581e6964 Fix error after leaving team (#4888) 2016-12-26 09:28:40 -05:00
enahum
b79b2b2a53 Fix team switch (#4851)
* Fix team switch

* Fix channel switching by using BrowserStore

* Fixes plt-5076 and plt-5068

* Updating styles for Teams sidebar (#4875)
2016-12-22 10:20:36 -08:00
Joram Wilander
52c4538817 Remove new user event handling on client (#4822) 2016-12-22 10:35:55 -05:00
Björn Roland
8a92908dad #4697 Move Client.createChannel() in components to an action (#4855)
* #4697 Move instances of Client.createChannel() in components to an action
2016-12-22 11:46:34 -03:00
Björn Roland
84c6e376fa #4695 Move instances of Client.updateTeamMemberRoles() in components to an action (#4870) 2016-12-22 10:46:13 -03:00
Joram Wilander
25d40bc98c PLT-4431 Add post queuing to the webapp (#4800)
* Add post queuing to the webapp

* Add more abstraction
2016-12-21 16:41:05 -05: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