summaryrefslogtreecommitdiffstats
path: root/webapp/components/create_comment.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-5441 Disabled the "Add Comment" button in the right-hand side unless ↵Saturnino Abril2017-02-141-10/+48
| | | | there is a valid input (#5320)
* PLT-137: Disable upload button when max uploads reached (#5053)Mika Andrianarijaona2017-01-181-0/+7
| | | | | | | | | | | | | | * 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/+5
|
* Add error to RHS reply box for messages > 4000 chars, consistent with create ↵Nick Frazier2016-12-261-18/+15
| | | | | | | | | | | | | | post and edit post errors (#4871) * functionality * CSS updates * cleanup * moved message length checks to Textbox component * cleanup
* 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-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-091-2/+34
| | | | | | | | | | | | | | | | | | | | | * 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-4859 Email notifications sent when email notifications set to never (#4711)enahum2016-12-061-1/+1
|
* Move instances of Client.createPost() in components to an action (#4639)Carlos Tadeu Panato Junior2016-12-051-14/+17
| | | | | | | | | | | | * 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
* Fix replying to threads with empty message and a file (#4693)Joram Wilander2016-12-051-1/+1
|
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-21/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3/+14
| | | | | | | | | | | | * 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-12/+12
| | | | | | * PLT-4595 Fixed post drafts and renamed some fields to be consistent * Removed unused state from CreatePost
* Fixed comment drafts to use the same naming convention as post drafts (#4385)Harrison Healey2016-11-011-2/+2
|
* Fix opening RHS (#4402)Joram Wilander2016-11-011-1/+1
| | | | | | * Fix opening RHS * Add fix for draft itself
* 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-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-4182 Fix incorrect listing for at-mention in comment (#4031)Yi EungJun2016-09-191-1/+2
| | | | | | | | | | * Add missing eol * PLT-4182 Fix incorrect listing for at-mention in comment Suggestion box for at-mention listed users for the center channel even if the current textbox is for reply for a post which belongs to a different channel.
* Ctrl+Enter sends messages in mobile view (#3833)Ryan Wang2016-08-191-1/+2
|
* 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-41/+24
| | | | properly update when typing quickly (#3598)
* Updating ESLint (#3597)Christopher Speller2016-07-151-2/+2
|
* Fix occasional visual hiccup when posting/replying to messages (#3397)Joram Wilander2016-06-221-1/+6
|
* Merge branch 'release-3.1'JoramWilander2016-06-131-1/+1
|\ | | | | | | | | Conflicts: webapp/components/create_comment.jsx
| * PLT-3203 Commenting on the RHS while in permalink view makes the message not ↵enahum2016-06-071-0/+3
| | | | | | | | show up in the RHS (#3282)
* | PLT-3221 Remove async call to get posts when creating a comment and editing ↵enahum2016-06-091-15/+3
|/ | | | | a post (#3300) PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS
* PLT-3163Commenting in the RHS while in permalink view (#3272)enahum2016-06-061-3/+0
|
* PLT-3056 Fix Unable to type quickly in post textbox in IE11 (#3249)enahum2016-06-061-4/+9
|
* PLT-3101 Added message history (#3205)David Lu2016-06-061-12/+30
| | | | | | | | | | | | * Added message history * Minor logical changes * Fixed indexes resetting * Fixed double messages * Fixed resetting main history when RHS opened
* 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
|
* Refactor login, claim and create_team into views and add actions (#3110)Joram Wilander2016-05-261-1/+1
|
* PLT-2784 Channel Navigation Shortcuts (#2979)David Lu2016-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Completed shortcuts * Fixed up logic * Removed shortcut conflicts * Added code to limit channel navigation within group * Made code conform to user display, fixed minor logic * Completed shortcuts * Fixed up logic * Removed shortcut conflicts * Added code to limit channel navigation within group * Made code conform to user display, fixed minor logic
* Added CMD+UP for OSX (#2987)David Lu2016-05-161-2/+2
|
* Updating client dependancies and ESLint (#2954)Christopher Speller2016-05-121-9/+9
| | | | | | | | * Updating client dependancies * Fixing eslint errors with updates * Updating eslint
* PLT-2783 Reprint Last Message Entered Shortcut (#2966)David Lu2016-05-121-1/+15
| | | | | | | | | | | | * added preliminary code * added comment code * semicolons are important * compatible with slash commands * too many semicolons
* Performance improvments (#2869)Christopher Speller2016-05-041-8/+0
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-2/+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
* Adding react scrollbar to the RHS thread (#2693)Asaad Mahmood2016-04-131-1/+1
| | | | | | * Adding scrollbar to the RHS thread * Fixing the RHS thread scrolling issue
* Fixing websocket connection issue. Refactoring websockets into an action ↵Christopher Speller2016-03-231-6/+2
| | | | creator.
* Converting to Webpack. Stage 1.Christopher Speller2016-03-161-0/+448