summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_post.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-4257 Add pop-up asking if user wants to reset status (#6526)Joram Wilander2017-06-061-1/+3
| | | | | | | | | | | | * Add pop-up asking if user wants to reset status * Update test snapshot * Update prop name for old uses of confirm modal * Updating checkbox (#6586) * Updating style for checkbox (#6596)
* fix JS error and incorrect comment thread for SHIFT+UP (#6574)Saturnino Abril2017-06-051-7/+8
|
* add shortcut that opens a comment thread for most recent message in a ↵Saturnino Abril2017-06-021-0/+10
| | | | channel (#6549)
* fix JS error when adding reaction when latest post is ephemeral (#6512)Saturnino Abril2017-05-311-3/+3
|
* Implement PLT-6246 - Confirm before sending (at)all, (at)channel message (#6250)Carlos Tadeu Panato Junior2017-05-301-7/+75
| | | | | | | | * implement PLT-6246 - Confirm before sending (at)all, (at)channel message * refactor per review * add constant to define the notify all modal
* PLT-6282 Make post list stay visible when post textbox height changes (#6323)Harrison Healey2017-05-231-16/+17
| | | | | | | | * 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
* PLT-6262 Add config setting to disable file attachments (#6301)Joram Wilander2017-05-041-1/+6
| | | | | | | | | | | | | | * 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-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
* Fixed pasting images not working (#5971)Harrison Healey2017-04-041-0/+6
|
* Add reaction picker (#5904)bonespiked2017-04-011-1/+1
|
* Ticket 4665 - Emoji Picker (#5157)bonespiked2017-03-241-12/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #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
* fix bug when use /msg command it open the channel in a new tab (#5644)Carlos Tadeu Panato Junior2017-03-061-1/+1
|
* Slash command: goto_location not working as expected (#5507)Carlos Tadeu Panato Junior2017-02-281-1/+5
|
* PLT-5071: Client side component of Telemetry. (#5516)George Goldberg2017-02-241-0/+1
|
* [PLT-5445] Mobile view: Set focus back to message box after uploading a file ↵Saturnino Abril2017-02-231-4/+6
| | | | (#5360)
* Disable send icon until valid message or file counts (#5214)Saturnino Abril2017-02-071-8/+37
|
* PLT-137: Disable upload button when max uploads reached (#5053)Mika Andrianarijaona2017-01-181-0/+3
| | | | | | | | | | | | | | * Change upload button color opacity when max reached * Display max upload message * Remove error when deleting preview * Clear error message in side-bar when user reaches max upload and error is displayed in side-bar, removing one file won't remove error message * Scroll in preview after file upload in sidebar
* Stopped rerendering CreatePost/CreateComment when blurring textbox (#5026)Harrison Healey2017-01-101-4/+6
|
* Clean up /logout command flow and errors (#4918)Joram Wilander2016-12-301-0/+5
|
* Add error to RHS reply box for messages > 4000 chars, consistent with create ↵Nick Frazier2016-12-261-23/+7
| | | | | | | | | | | | | | post and edit post errors (#4871) * functionality * CSS updates * cleanup * moved message length checks to Textbox component * cleanup
* create_post fixes (#4867)Nick Frazier2016-12-221-1/+8
|
* PLT-4431 Add post queuing to the webapp (#4800)Joram Wilander2016-12-211-4/+1
| | | | | | * Add post queuing to the webapp * Add more abstraction
* PLT-4943: Warn when editing a message > 4000 chars (#4789)Nick Frazier2016-12-211-1/+1
| | | | | | | | | | * added basic functionality * css fixes * css fixes part II: electric boogaloo * removed css interference with theme changes, for this and post length error
* Ui improvements (#4780)Asaad Mahmood2016-12-141-10/+10
| | | | | | | | | | * PLT-4897 - Updating styles for emoji reactions * PLT-4971 - Fixing help and attachment buttons * PLT-4931 - Fixing UI for user list in system console * Fixing a bug with the new messages indicator
* PLT-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-091-5/+7
| | | | | | | | | | | | | | | | | | | | | * PLT-1598 Slash command works in RHS * fix UserProfile in the reply for Slash Command * fix some problem about the system messages in RHS * system message in RHS isn't displayed as comment for root message * remove status indicator for system message in RHS * system message in RHS is colored to grey * system messages don't count as commented post * fix bug about cleaning draft in RHS * remove unnecessary function * implement new model for executing command
* [PLT-4318] Display a message when post is over 4000 characters (#4687)Nick Frazier2016-12-061-5/+24
| | | | | | | | | | | | | | | | | | * test changes * added functionality * css updates * additional css updates * i18n updates * textbox cleanup * var naming tweak * replaced jQuery with React-based UI changes
* Move instances of Client.createPost() in components to an action (#4639)Carlos Tadeu Panato Junior2016-12-051-13/+4
| | | | | | | | | | | | * 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-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4376 iOS and Android: Keep the keyboard open after sending a message (#4377)Mike Piccolo2016-11-041-4/+15
| | | | | | | | | | | | * Force keyboard to retain focus on submitting post on mobile * Fix lint error * Allow keyboard to stay closed if the keyboard was closed earlier before submitting * Increase delay time and add to comment * Remove pass through props on suggestion box
* PLT-4595 Fixed post drafts and renamed some fields to be consistent (#4418)Harrison Healey2016-11-011-14/+13
| | | | | | * PLT-4595 Fixed post drafts and renamed some fields to be consistent * Removed unused state from CreatePost
* Cleaned up code for ensuring post drafts are non-null (#4382)Harrison Healey2016-10-311-22/+2
|
* PLT-4404 Replace calls to onInput with onChange to better support IE11 (#4315)Harrison Healey2016-10-251-3/+3
| | | | | | * Replace calls to onInput with onChange to better support IE11 * Replaced react-textarea-autosize with react-autosize-textarea
* PLT-4343 Fixes for mobile main menu (#4148)Harrison Healey2016-10-041-1/+1
| | | | | | | | * Fixed mobile app link in the main menu to be displayed on mobile browsers * Fixed doubled up dividers in mobile menu * Added scrolling to mobile main menu
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-301-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented initial changes for files table * Removed *_benchmark_test.go files * Re-implemented GetPublicFile and added support for old path * Localization for files table * Moved file system code into utils package * Finished server-side changes and added initial upgrade script * Added getPostFiles api * Re-add Extension and HasPreviewImage fields to FileInfo * Removed unused translation * Fixed merge conflicts left over after permissions changes * Forced FileInfo.extension to be lower case * Changed FileUploadResponse to contain the FileInfos instead of FileIds * Fixed permissions on getFile* calls * Fixed notifications for file uploads * Added initial version of client code for files changes * Permanently added FileIds field to Post object and removed Post.HasFiles * Updated PostStore.Update to be usable in more circumstances * Re-added Filenames field and switched file migration to be entirely lazy-loaded * Increased max listener count for FileStore * Removed unused fileInfoCache * Moved file system code back into api * Removed duplicate test case * Fixed unit test running on ports other than 8065 * Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext * Refactored handleImages to make it more easily understandable * Renamed getPostFiles to getFileInfosForPost * Re-added pre-FileIds posts to analytics * Changed files to be saved as their ids as opposed to id/filename.ext * Renamed FileInfo.UserId to FileInfo.CreatorId * Fixed detection of language in CodePreview * Fixed switching between threads in the RHS not loading new files * Add serverside protection against a rare bug where the client sends the same file twice for a single post * Refactored the important parts of uploadFile api call into a function that can be called without a web context
* Ctrl+Enter sends messages in mobile view (#3833)Ryan Wang2016-08-191-1/+2
|
* Clear post textbox as soon as a slash command is sent (#3789)Harrison Healey2016-08-121-2/+4
|
* fixed mobile enter button (#3639)David Lu2016-07-251-1/+1
|
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-1/+1
|
* Fixed input handlers used by Textbox and SuggestionBox components to ↵Harrison Healey2016-07-151-37/+19
| | | | properly update when typing quickly (#3598)
* Updating ESLint (#3597)Christopher Speller2016-07-151-1/+1
|
* PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI ↵Asaad Mahmood2016-07-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix occasional visual hiccup when posting/replying to messages (#3397)Joram Wilander2016-06-221-1/+6
|
* Adding webpack code splitting (#3377)Christopher Speller2016-06-221-1/+1
|
* PLT-3270 Comment out max file size setting in system console (#3324)Joram Wilander2016-06-131-1/+1
| | | | | | * Comment out max file size settting in system console * Remove pending post after successful create post request
* PLT-3056 Fix Unable to type quickly in post textbox in IE11 (#3249)enahum2016-06-061-4/+7
|
* PLT-3101 Added message history (#3205)David Lu2016-06-061-13/+34
| | | | | | | | | | | | * Added message history * Minor logical changes * Fixed indexes resetting * Fixed double messages * Fixed resetting main history when RHS opened
* added ctrlSend checking (#3196)David Lu2016-06-051-1/+1
|
* PLT-3028 Added CTRL+/ to show shortcuts (#3181)David Lu2016-06-021-1/+22
| | | | | | * Added CTRL / to show shortcuts * Simplified code
* changed behaviour on non-empty post/comment (#3154)David Lu2016-05-301-2/+2
| | | | | Added preventDefault changed behaviour on non-empty post/comment
* Added preventDefault (#3137)David Lu2016-05-271-0/+1
|