summaryrefslogtreecommitdiffstats
path: root/webapp/utils/channel_utils.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-091-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | the last channel member and policy setting restricts channel deletion (#7050) * PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks * PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values. * PLT-7206: Added unit tests for showManagementOptions(...) * PLT-7206: Fixed test case descriptions * Added unit tests for showCreateOption(...) * PLT-7206: Added unit tests for canManageMembers(...) * PLT-7206: Removed last person in channel loophole from server-side code * PLT-7206: Reverted config.json * PLT-7206: Fixed double negatives in unit test names * PLT-7206: PR feedback - Removed confusing comment and unused variable
* [PLT-6838] Restrict channel delete option per permission policy even for ↵Saturnino Abril2017-07-051-1/+8
| | | | | | | | | | last channel member (#6706) * channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page * apply to public channel only and add restriction to API layer * updated channel deletion
* Fixing JS error (#6813)Corey Hulen2017-06-301-1/+1
| | | | | | * Fixing JS error * Fixing js error and storing issue
* Fix DM getting marked unread from your own message (#6373)Joram Wilander2017-05-101-0/+25
|
* Fix group message names in channel switcher (#6246)Joram Wilander2017-05-031-2/+12
|
* PLT-6139 (WebApp): Manage Private Channel Members (#5947)George Goldberg2017-04-041-0/+20
| | | | Honour the policy setting for add/remove members from private channels in the WebApp UI.
* Fix LHS group message sorting (#5812)Joram Wilander2017-03-241-2/+19
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* PLT-5080 (WebApp): Channel Admin permission level. (#5047)George Goldberg2017-02-231-2/+14
| | | | | | | | | | * 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.
* Use consistent Display Name sorting code throughout the webapp #5159 (#5213)Saturnino Abril2017-01-311-2/+5
| | | | | | * Use consistent Display Name sorting code throughout the webapp #5159 * fixed broken sorting of teams and channels
* Move instances of Client.leaveChannel() in components to an action (#5131)Carlos Tadeu Panato Junior2017-01-201-0/+4
| | | | | | * Move instances of Client.leaveChannel() in components to an action * create isFavoriteChannelId
* PLT-5211 Always emove deleted channels for LHS (#5087)Corey Hulen2017-01-171-1/+5
|
* PLT-4614 Fix ordering of channels. (#4980)George Goldberg2017-01-061-8/+12
|
* PLT-4990 (WebApp): Separate channel management permissions. (#4865)George Goldberg2017-01-021-0/+70
|
* Fix new DMs not showing up in the sidebar (#4374)Joram Wilander2016-10-311-1/+5
|
* GH-4095 Favorite/Starred Channels (#4222)Alexander Smaga2016-10-261-0/+135