summaryrefslogtreecommitdiffstats
path: root/webapp/actions/post_actions.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Add [...] menu to search results list (#6663)Saturnino Abril2017-07-211-2/+4
| | | | | | | | * Add [...] menu to search results list * fix updates on search results when post is pinned or edited * remove app dispatcher from component
* Add back blue bar error for editing post after time limit (#6939)Joram Wilander2017-07-151-0/+7
|
* Properly updated pinned/flagged posts on deletion (#6920)Joram Wilander2017-07-131-0/+6
|
* PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library ↵Harrison Healey2017-07-111-26/+4
| | | | | | | | (Resubmit) (#6892) * PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library * Switched mattermost-redux to webapp-4.0 branch
* Fix multiple pinned post issues (#6887)Joram Wilander2017-07-111-0/+20
|
* Deleting the focused post now sends user to normal channel view (#6890)Joram Wilander2017-07-111-0/+8
|
* Revert "PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library ↵Saturnino Abril2017-07-091-4/+26
| | | | | (#6881)" (#6882) This reverts commit 250a344d04d8e682a98760bdc378d1a5c46f31e6.
* PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (#6881)Harrison Healey2017-07-081-26/+4
|
* Increase post visibility in current channel when receiving posts (#6848)Joram Wilander2017-07-051-20/+16
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-60/+26
|
* Correctly pull threads when receiving a new post in a non-loaded thread (#6725)Joram Wilander2017-06-221-1/+1
|
* PLT-4457 Added AtMention component to better render at mentions (#6563)Harrison Healey2017-06-201-0/+8
| | | | | | | | | | | | | | * Moved Utils.searchForTerm into an action * Added easier importing of index.jsx files * PLT-4457 Added AtMention component to better render at mentions * Fixed client unit tests * Fixed merge conflict * Fixed merge conflicts
* PLT-6215 Major post list refactor (#6501)Joram Wilander2017-06-181-275/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-6282 Make post list stay visible when post textbox height changes (#6323)Harrison Healey2017-05-231-0/+8
| | | | | | | | * PLT-6282 Changed post drafts to use an action when being stored * PLT-6282 Triggered post list to update scroll position when post draft changes * PLT-6282 Changed SuggestionBox to complete suggestions without an event
* Add back button to RHS threads from pinned posts (#6306)Joram Wilander2017-05-031-1/+1
|
* Improve perf for channel switching, fix team switching issues (#6286)Joram Wilander2017-05-021-2/+2
| | | | | | * Improve perf for channel switching, fix team switching issues * Fix last channel when switching teams
* PLT-6214 Move channel store and actions over to redux (#6235)Joram Wilander2017-04-281-1/+2
| | | | | | | | | | | | | | * Move channel store and actions over to redux * Fix style errors * Fix unit test * Various fixes * More fixes * Revert config changes
* Start moving webapp to Redux (#6140)Joram Wilander2017-04-251-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-6240: Remove own pinned post from RHS when removed from channel (#6098)VeraLyu2017-04-181-6/+2
| | | | | Dispatch REMOVE_POST event after successfully initiating delete post, others get informed by websocket event and will mark the msg as deleted but not delete from RHS.
* Merge branch 'release-3.8'Christopher Speller2017-04-171-9/+14
|\
| * Check if we need to add DM/GM to sidebar regardless of post sender (#6009)Joram Wilander2017-04-071-9/+9
| |
| * PLT-6238 Fix 404 error in system console (#6014)Harrison Healey2017-04-071-0/+5
| |
* | 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
* Replace initial load of user's channel members for all teams with a lazy ↵Joram Wilander2017-04-031-0/+13
| | | | load (#5942)
* Add reaction picker (#5904)bonespiked2017-04-011-0/+1
|
* Ticket 4665 - Emoji Picker (#5157)bonespiked2017-03-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #4665 Added EmojiPicker Work primarily by @broernr-de and @harrison on pre-release.mattermost.com * Final fixes to handle custom emojis from internal review and single merge error * ESLint fixes * CSS changes and other code to support emoji picker in reply window * Fix for file upload and emoji picker icon positions on post and comment. RHS emoji picker appearing see-through at this time. * Fix for two ESLint issues. * covered most of feedback: RHS emoji picker looks correct color-wise RHS emoji picker dynamically positions against height of thread size (post + reply messages) escape closes emoji window search box focused on open ESLint fixes against other files oversized emoji preview fixes * Adding in 'outside click' eventing to dismiss the emoji window * Changing some formatting to fix mismatch between my local eslant rules and jenkins. * adding alternative import method due to downstream testing errors * yet another attempt to retain functionality and pass tests - skipping import of browser store * fix for feedback items 5 and 7: * move search to float on top with stylistic changes * whitespace in the header (+1 squashed commit) Squashed commits: [6a26d32] changes that address items 1, 2, 6, 8, and 9 of latest feedback * Fix for attachment preview location on mobile * Fix for latest rounds of feedback * fixing eslint issue * making emojipicker sprite based, fixing alignments * Fix for emoji quality, fixing some behavior (hover background and cursor settings) undoing config changes * Preview feature for emojis * Adjustments to config file, and changing layout/design of attachment and emoji icon. * manual revert from master branch for config.json * reverting paperclip and fixing alignments. Additionally fixing inadvertent display of picker on mobile. * CSS changes to try to fix the hover behavior - currently working for emoji picker (when enabled), but hover for attachment isn't working * Made suggested changes by jwilander except for jQuery removal * Adding hover for both icons * removal of some usages of jQuery * Fix for two layout issues on IE11/Edge * UI improvements for emoji picker * Fix for many minor display issues * fix for additional appearance items * fix to two minor UI items * A little extra padding for IE11 * fix for IE11 scroll issue, and removing align attribute on img tag which was throwing js error * fixes some display issues on firefox * fix for uneven sides of emojis * fix for eslint issues that I didn't introduce * fix for missing bottom edge of RHS emojipicker. also fixing text overlapping icons on text area (including RHS) * Update "emoji selector" to "emoji picker" * changes for code review - removal of ..getDOMNode - use sprite imagery for emoji preview - remove lastBlurAt from state as it wasn't used * fixes for: - fake custom emoji preview in picker - RHS scrollbar on preview * fix for minor alignment of preview emoji
* Add pinned posts (#4217)Gabin Aureche2017-03-131-1/+35
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-5071: Client side component of Telemetry. (#5516)George Goldberg2017-02-241-0/+3
|
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-151-0/+5
|
* Increase performance when receiving messages (#5375)Joram Wilander2017-02-131-20/+0
|
* Move remaining client functions in components to actions (#5171)Carlos Tadeu Panato Junior2017-01-271-0/+27
|
* #4967 Fixed issue of post not getting updated after edit, if the post was ↵Debanshu Kundu2017-01-251-8/+14
| | | | focused. (#5149)
* Move instances of Client.deletePost() in components to an action (#5129)Carlos Tadeu Panato Junior2017-01-191-0/+27
|
* Fix lodaing missing messages after search bug (#5080)Joram Wilander2017-01-161-0/+2
|
* GH-4907 Move Client.updatePost call into an action (#5045)Mika Andrianarijaona2017-01-131-0/+15
| | | | | | | | | | | | | | * 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
* PLT-3960 Don't show (message deleted) placeholder to the user that deleted ↵khawerrind2017-01-031-0/+5
| | | | | | | | | | | | | | | | the message (#4839) * 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
* PLT-4431 Add post queuing to the webapp (#4800)Joram Wilander2016-12-211-0/+49
| | | | | | * Add post queuing to the webapp * Add more abstraction
* 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/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Move instances of Client.createPost() in components to an action (#4639)Carlos Tadeu Panato Junior2016-12-051-0/+34
| | | | | | | | | | | | * Move instances of Client.createPost() in components to an action * update per review, waiting for more review and see if this is the right way * update per code review * update code * remove comment per request
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Load profiles for search results (#4519)Joram Wilander2016-11-101-1/+1
|
* Removing ALT-click beacuse bug was not fixed (#4454)Christopher Speller2016-11-041-58/+0
|
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-271-1/+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
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-1/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3785 Re-enabled marking messages unread (#4179)David Lu2016-10-111-0/+7
| | | | | | * Re-added ALT+Click to mark msgs unread, fixed mentions for DM * Added string to /shortcuts
* PLT-3734 Cleaning up shouldSendEvent function (#4024)enahum2016-09-271-1/+1
| | | | | | * PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
* Do not send push notifications for channels being actively viewed (#3931)Joram Wilander2016-09-021-1/+1
|
* Clear search term before displaying flagged posts (#3802)Joram Wilander2016-08-161-6/+6
|