summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_header.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Add webapp/utils/url.jsx (#5285)Akihiko Odaki2017-02-071-1/+2
| | | | | | | 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.
* Update chanel_header.addMembers --> channel_header.addMembers (#5144)Jason Blais2017-01-201-1/+1
| | | | | | * Update channel_header.jsx * Update en.json
* Move instances of Client.leaveChannel() in components to an action (#5131)Carlos Tadeu Panato Junior2017-01-201-18/+1
| | | | | | * Move instances of Client.leaveChannel() in components to an action * create isFavoriteChannelId
* Remove TODO (#4965)Christopher Speller2017-01-041-5/+0
|
* PLT-4990 (WebApp): Separate channel management permissions. (#4865)George Goldberg2017-01-021-25/+3
|
* PLT-3782 Do not move the "@" sign and flag icon to the left of search bar ↵khawerrind2016-12-221-4/+4
| | | | | | | | | | | | | | when opening the right hand sidebar (#4850) * do not move the mention & flag button to the left of the search box when in search mode * fixed the margin & padding issues of the search box * fixed the member icon positioning issue and the expanded sidebar toggle issue * fixed remaining bugs when sidebar is in expanded mode * changed propTypes from func to bool
* Prevent accidental removal of user from town square (#4842)Joram Wilander2016-12-201-1/+1
|
* Allow any user in a channel to remove other users (#4806)Joram Wilander2016-12-151-37/+16
|
* Fix some react natives warning messages (#4653)enahum2016-11-281-3/+12
|
* Merge branch 'release-3.5'Christopher Speller2016-11-241-5/+13
|\
| * Fixed error being thrown by ChannelHeader when switching teams (#4619)Harrison Healey2016-11-211-1/+1
| | | | | | | | | | | | * Fixed error being thrown by ChannelHeader when switching teams * Close SidebarHeaderDropdown after switching teams
| * Hotfix: PLT-4779 Fixing scrolling on loading a channel and missing DM ↵Harrison Healey2016-11-211-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | channel headers (#4584) * Added all parameters to call tracker ids when getting profiles * Changed channel header rendering to not depend on knowing all users in a DM channel * Added comment about a race condition in UserActions.populateDMChannelsWithProfiles * Added a fixed-height placeholder for the ChannelHeader when its state isn't valid for rendering
* | Updating eslint (#4573)Christopher Speller2016-11-171-4/+4
| |
* | PLT-4316 - Webrtc improvements (#4525)Asaad Mahmood2016-11-111-20/+21
|/
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-041-2/+1
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* PLT-4507 Don't mount modals until opened to make resetting state automatic ↵Joram Wilander2016-11-041-11/+25
| | | | | | | | (#4358) * Don't mount modals until opened to make resetting state automatic * Move dimiss handler to be fired after modal exit animation complete
* Minor UI improvements (#4431)Asaad Mahmood2016-11-021-24/+36
|
* Avoiding javascript error when webrtc is enabled. (#4425)Christopher Speller2016-11-021-0/+1
|
* Plt-4483 Removed unnecessary events from ChannelStore (#4407)Harrison Healey2016-11-011-7/+1
| | | | | | * PLT-4483 Removed MoreChange listener from ChannelStore * PLT-4483 Removed LeaveChannel listener from ChannelStore
* GH-4095 Favorite/Starred Channels (#4222)Alexander Smaga2016-10-261-7/+56
|
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* Fix shortcut for selecting text with CMD/CTRL + SHIFT (#4213)Joram Wilander2016-10-131-1/+1
|
* First commit for toggling mentions using shortcut and button (#4169)Pepijn2016-10-111-29/+23
| | | | | Also did some refactoring and moved code to actions Fixed coding style errors
* Updating ESLint (#4085)Christopher Speller2016-09-231-1/+1
|
* Webrtc client side (#4026)enahum2016-09-161-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WebRTC Server side * WebRTC client side * Bug fixes and improvements * Pushing UI improvements for webrtc (#3728) * Pushing UI improvements for webrtc * Updating webrtc css * PLT-3943 WebRTC P1: bug fixes and improvements * Video resolution set to std, reduce volume of ringtone and flip video horizontally * Fix calling a user B while WebRTC RHS is still opened * Leave RHS opened when call ends, Fix isBusy on popover and channel_header * Fix pre-release feature, RHS & System Console * PLT-3945 - Updating UI for webrtc (#3908) * PLT-3943 Webrtc p1 * Add ongoing call indicator when RHS is opened * UI updates to to webrtc notifcation (#3959)
* Allowed post formatting to be disabled regardless of whether EnableDeveloper ↵Harrison Healey2016-09-061-4/+11
| | | | is set (#3975)
* Add statuses to profiles pictures and remove from header in DMs (#3940)Joram Wilander2016-09-061-20/+1
|
* PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for ↵Harrison Healey2016-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | autolinking (#3865) * Added highlighting to links when their URL includes the search term * Decoupling UserStore from react-router to allow for unit tests involving it * PLT-3998 Added SiteURL as an option to be passed into the text formatting code * Removed reference to PreferenceStore and window from TextFormatting * Refactored TextFormatting to remove remaining browser-only code * Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting * Increased max listeners for Preference and Emoji stores * PLT-3832 Added automated unit tests for autolinking * PLT-3567 Rerender posts when mention keywords change * Updated RHS and search to match the changes to TextFormatting * Broke TextFormatting's dependency on the UserStore
* PLT-3817 - Updating flag icon (#3750)Asaad Mahmood2016-08-081-1/+1
| | | | | | | | | | * Updating flag icon * Updating padding for user list * Removing stroke from hover * PLT-3794 - Fixing integrations css
* PLT-3737 - Fixing header popover behaviour (#3738)Asaad Mahmood2016-08-041-1/+1
|
* PLT-3506 Added flagged posts functionality (#3679)Joram Wilander2016-08-041-6/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added flagged posts functionality * UI Improvements to flags (#3697) * Added flag functionality for mobile * Updating flagged text (#3699) * Add back button to RHS thread when coming from flagged posts * Updating position of flags (#3708) * Plt 3506 - Reverting flag position (#3724) * Revert "Updating position of flags (#3708)" This reverts commit aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
* PLT-3408 Add SiteURL to config.json (#3692)Harrison Healey2016-08-021-1/+1
| | | | | | | | * PLT-3408 Changed serverside code to get the service's URL from config.json * PLT-3408 Changed most clientside code to use the SiteURL config setting instead of window.location * PLT-3408 Changed default SiteURL to be autodetected
* PLT-2712 Added view members for non-admins in channel and team (#3618)David Lu2016-07-201-0/+19
| | | | | | * Added view members for non-admins in channel and team * changed variable name
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-1/+1
|
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-0/+2
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* PLT-3225 Firefox: Channel header disappears after renaming a channel (fixed ↵enahum2016-07-061-0/+4
| | | | with channel switch) (#3470)
* PLT-3473 Made shortcuts only work for CMD on OSX (#3479)David Lu2016-07-061-1/+1
| | | | | | * checked for CMD key * changed method of checking
* PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel ↵Joram Wilander2016-07-061-58/+99
| | | | | | | | management permissions (#3453) * EE: Add the ability to restrict channel management permissions * Always allow last user in a channel to delete that channel
* removed @channel (#3497)David Lu2016-07-061-3/+7
|
* PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI ↵Asaad Mahmood2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements (#3449) Improving help text margins Updating changes for get link and create post files Fixing icon for select team screen Fixing styles for select team button Adding improvements to posts UI Adding improvement to post layout Updating changes for post controls Updating z-index for sidebar--right Updating help text position Fixing code for posts Fixing css for post view Pushing improvements for posts view Updating changes for post view Updating post layout Fixing system time css Updating header for system posts Updating post css Removing opacity and changing color for system messages Simplifying root post and system post behaviour Removing images from compact view Updating help text for display Updating embed preview text for advanced option PLT-3490 - Fixing RHS issue on Edge
* Adding webpack code splitting (#3377)Christopher Speller2016-06-221-1/+1
|
* PLT-946 Add status icon to the left of the username in DM channel (#3258)Kevyn Bruyere2016-06-151-2/+20
| | | Add a StatusIcon component to be able to display a status icon from anywhere
* Fixed @all not working as intended (#3335)David Lu2016-06-151-5/+2
|
* Added preventDefault to suppress browser-specific shortcuts (#2995)David Lu2016-05-161-0/+1
|
* Updating client dependancies and ESLint (#2954)Christopher Speller2016-05-121-5/+5
| | | | | | | | * Updating client dependancies * Fixing eslint errors with updates * Updating eslint
* PLT-2786 Open Account Settings/Recent Mentions Shortcuts (#2957)David Lu2016-05-121-0/+8
| | | | | | | | * Account settings shortcut added * Added constants * Added recent mentions shortcut
* PLT-2674 Private Group should not have Leave option when only one member ↵enahum2016-05-101-1/+2
| | | | remains (#2888)
* PLT-2697 Fixing team admins (#2900)Corey Hulen2016-05-061-1/+2
| | | | | | | | | | | | * PLT-2697 Fixing team admins * Fixing eslint error * Fixing loc issues * Fixing func * Fixing func
* Performance improvments (#2869)Christopher Speller2016-05-041-1/+0
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams