summaryrefslogtreecommitdiffstats
path: root/webapp/actions/websocket_actions.jsx
Commit message (Collapse)AuthorAgeFilesLines
* [PLT-6707] /header [text] slash command: Edit the channel header (#6566)Carlos Tadeu Panato Junior2017-06-291-5/+5
| | | | | | | | * add /header slash command * update websocket * updater per review
* [PLT-6599] Add link to check Websocket port error message (#6743)Carlos Tadeu Panato Junior2017-06-281-3/+2
|
* Fix websocket URL when specifying port in the config (#6748)Joram Wilander2017-06-261-2/+5
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-47/+19
|
* PLT-3711: Add websocket event for emoji addition (#6211)VeraLyu2017-06-231-0/+13
| | | | | | | | | | | | * PLT-3711: Add websocket event for emoji addition * (SA) updated as per review This PR is edited directly to merge into master. * (SA) updated as per review This PR is edited directly to merge into master.
* when a channel is update propagate the channel to everybody (#6677)Carlos Tadeu Panato Junior2017-06-211-0/+9
|
* PLT-6215 Major post list refactor (#6501)Joram Wilander2017-06-181-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Major post list refactor * Fix post and thread deletion * Fix preferences not selecting correctly * Fix military time displaying * Fix UP key for editing posts * Fix ESLint error * Various fixes and updates per feedback * Fix for permalink view * Revert to old scrolling method and various fixes * Add floating timestamp, new message indicator, scroll arrows * Update post loading for focus mode and add visibility limit * Fix pinning posts and a react warning * Add loading UI updates from Asaad * Fix refreshing loop * Temporarily bump post visibility limit * Update infinite scrolling * Remove infinite scrolling
* Do not client predict status for current user (#6380)Joram Wilander2017-05-101-2/+6
|
* Fix getting removed from channel or team (#6357)Joram Wilander2017-05-091-1/+19
|
* PLT-6262 Add config setting to disable file attachments (#6301)Joram Wilander2017-05-041-1/+2
| | | | | | | | | | | | | | * Add config setting to disable file attachments * Add unit tests * Updating UI for no attachments (#6312) * Update UI text on file upload System Console setting (#6313) * Update storage_settings.jsx * Update en.json
* PLT-6214 Move channel store and actions over to redux (#6235)Joram Wilander2017-04-281-6/+14
| | | | | | | | | | | | | | * Move channel store and actions over to redux * Fix style errors * Fix unit test * Various fixes * More fixes * Revert config changes
* Add config setting to disable statuses (#6254)Joram Wilander2017-04-281-6/+2
|
* PLT-6213 Move team store and actions over to use redux (#6222)Joram Wilander2017-04-261-1/+0
| | | | | | * Move team store and actions over to user redux * Fix JS error when inviting by email
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start moving webapp to Redux * Fix localforage import * Updates per feedback * Feedback udpates and a few fixes * Minor updates * Fix statuses, config not loading properly, getMe sanitizing too much * Fix preferences * Fix user autocomplete * Fix sessions and audits * Fix error handling for all redux actions * Use new directory structure for components and containers * Refresh immediately on logout instead of after timeout * Add fetch polyfill
* PLT-1384 Synced preferences over the websocket (#6108)Harrison Healey2017-04-201-0/+18
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-6023: Add Users to Team in WebApp. (#5956)George Goldberg2017-04-041-0/+25
| | | | | | | | | | | | | | | * PLT-6198: Use added to channel system message on default channels. Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves. * PLT-6023: Add Users to Team in WebApp. * Fix string text. * Handle added_to_team websocket message. * Fix unread flag on new channel.
* PLT-6098 Added Manage Teams modal to System Console users list (#5914)Harrison Healey2017-04-031-1/+4
| | | | | | | | | | | | | | | | * Added Manage Teams modal to System Console users list * Localized ManageTeamsModal * Fixed borders between Manage Teams list items * Updated appearance of ManageTeamsModal * Fixed admin being redirected from system console when removing self from a team * Sorted teams in ManageTeamsModal * Updated Manage Teams styling
* PLT-5750 Add sequence number to websocket connections and events (#5907)Joram Wilander2017-04-011-0/+7
| | | | | | | | * Add sequence number to websocket connections and events * Copy pointer instead of pass by value and use int64 over uint64 * Add more logging to missed events
* Add sync logic for DMs/GMs when network reconnects (#5676)Joram Wilander2017-03-081-0/+20
|
* 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
|