* PLT-3193 Add channel notification preferences for push and email notifications
* Fixing UI
* Removing email as preferences from the UI for now
* move to action
* fix client test
* 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.
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.
* 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
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.
* 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
* 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