summaryrefslogtreecommitdiffstats
path: root/webapp/actions/websocket_actions.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Prevented RHS from closing when you reply to a message that had been ↵Christopher Speller2017-03-061-5/+0
| | | | deleted. (#5651)
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Fix channel created WS event (#5552)enahum2017-02-271-1/+2
|
* PLT-5653 Fix Create channel does not show in another device (#5548)enahum2017-02-271-1/+15
|
* Increase performance when receiving messages (#5375)Joram Wilander2017-02-131-13/+0
|
* 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.
* Add functionality for refetching latest data after computer wakes up (#5120)Joram Wilander2017-01-191-1/+7
|
* Fix console errors when logging out (#4915)Joram Wilander2016-12-291-10/+6
|
* Fix error after leaving team (#4888)enahum2016-12-261-0/+1
|
* Fix team switch (#4851)enahum2016-12-221-6/+1
| | | | | | | | | | * Fix team switch * Fix channel switching by using BrowserStore * Fixes plt-5076 and plt-5068 * Updating styles for Teams sidebar (#4875)
* Remove new user event handling on client (#4822)Joram Wilander2016-12-221-24/+0
|
* PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel ↵Joram Wilander2016-12-211-1/+1
| | | | | | | | into a single API (#4840) * Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API * Remove preference DB writes
* PLT-4167 Team Sidebar (#4569)enahum2016-12-191-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 :+1: and :-1: 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
* PLT-4233 When internet reconnects, reconnect websocket and grab latest ↵Joram Wilander2016-11-291-4/+5
| | | | | | | | posts, etc. (#4500) * When internet reconnects, reconnect websocket and grab latest posts, etc. * Rename internet connection variable
* Merge branch 'release-3.5'Christopher Speller2016-11-241-1/+10
|\
| * Fixed error logged when joining a team from another tab (#4620)Harrison Healey2016-11-211-0/+5
| |
| * Properly load profile for new posts that have unloaded users (#4578)Joram Wilander2016-11-211-1/+5
| |
* | Off screen edited posts no longer show up as new posts (#4485)Joram Wilander2016-11-141-1/+1
|/
* Fix websocket on old versions of IE11 (#4501)Joram Wilander2016-11-101-23/+26
|
* Fixing websocket and team store issues when leaving team (#4412)Christopher Speller2016-11-011-2/+2
|
* PLT-4596 Stopped trying to get new users when not in a context with a team ↵Harrison Healey2016-11-011-0/+5
| | | | (#4411)
* Load channel members with channels to make sure we have latest unread counts ↵Joram Wilander2016-11-011-4/+4
| | | | (#4389)
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-271-0/+1
| | | | | | | | | | * PLT-4430 improve slow channel switching * Update client side unit tests * Convert getChannelsUnread to getMyChannelMembers and address other feedback * Pull channel members on websocket reconnect
* Remove legacy reference to hasDirectProfile (#4308)Joram Wilander2016-10-241-3/+0
|
* Fix bad use of websocket event when a new user is added (#4309)Joram Wilander2016-10-241-1/+1
|
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-3734 Cleaning up shouldSendEvent function (#4024)enahum2016-09-271-25/+26
| | | | | | * PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
* Webrtc client side (#4026)enahum2016-09-161-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Send hello event containing server version on WebSocket connect (#3936)Joram Wilander2016-09-041-0/+9
|
* Do not send push notifications for channels being actively viewed (#3931)Joram Wilander2016-09-021-1/+1
|
* Add missing directProfiles updates on real-time user updates (#3876)enahum2016-08-241-0/+3
|
* PLT-3942 Add real-time updates for center channel profile picture popover ↵enahum2016-08-241-0/+11
| | | | | | | | | | (#3871) * PLT-3942 Add real-time updates for center channel profile picture pop-over * Send user data with the websocket event to prevent further requests * Add helper for profile sanitation
* PLT-3593 fixing issue of removing from team DM list (#3857)Corey Hulen2016-08-221-0/+4
|
* PLT-3881 Fix websocket errors after leaving the team (#3815)Corey Hulen2016-08-171-0/+2
|
* Changed autodetection of SiteURL (#3764)Harrison Healey2016-08-091-1/+1
| | | | | | * Changed autoconfiguration of SiteURL to be done on every request * Added SiteURL to system console
* PLT-3408 Add SiteURL to config.json (#3692)Harrison Healey2016-08-021-4/+18
| | | | | | | | * 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
* Only get channels and posts on WebSocket connect if team is set (#3684)Joram Wilander2016-07-271-2/+4
|
* Fix RHS not closing when thread is deleted by another user (#3641)Joram Wilander2016-07-201-0/+5
|
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-2/+2
|
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-1/+26
| | | | | | | | | | * 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
* Fixes javascript error with missing func (#3570)Corey Hulen2016-07-131-1/+0
|
* Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-121-114/+34
|
* Merge release 3.2 into master (#3548)Harrison Healey2016-07-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bumping version to: 3.2.0-rc1 * PLT-2863 fixing bad merge that broke this PR (#3523) * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver * Fixing bad merge * Fixing bad merge * PLT-3538 Fix Login page doesn't show SAML option if gitlab is enabled (#3524) * Login error messages fix (#3525) * daily translations 20160708 (#3533) * Fixed permissions when getting a file attachment to use the correct user id (#3535) * PLT-3575 Fix Cannot upload certificates with .cer file extension on SAML (#3534) * PLT-3560 blocking adding to channel once user is removed (#3537) * Always allow system admins to see the Integrations sidebar (#3536) * Plt 3475 - Post control improvements (#3538) * Adding class to post when dropdown is active. * plt-3475 - Post controls improvements * daily translations 20160711 (#3544)
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-061-0/+17
| | | | | | | | | | | | | | * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver
* On receive of a comment that we don't have the thread for, acquire the ↵Joram Wilander2016-07-061-1/+2
| | | | thread (#3490)
* PLT-3440 (#3440)Corey Hulen2016-06-291-2/+11
|
* Adding webpack code splitting (#3377)Christopher Speller2016-06-221-1/+1
|
* Fix channels showing up across teams when multiple teams open in same ↵Joram Wilander2016-06-151-1/+3
| | | | browser (#3329)
* Allow clearing direct messages across team based on channel view events (#3176)Joram Wilander2016-06-011-1/+1
|