Commit Graph

41 Commits

Author SHA1 Message Date
Reed Garmsen
023b286930 Removed warning message when at the max character limit 2015-08-28 14:43:48 -07:00
Christopher Speller
e1c09605dc Merge pull request #469 from mattermost/mm-1699
MM-1699 Refactored post handling/updating on both the client and server
2015-08-27 11:22:19 -04:00
JoramWilander
041d89b85a Refactored post handling/updating on both the client and server. 2015-08-27 08:21:26 -04:00
Reed Garmsen
a56603d666 Moved duplicate code into functions and added better handling of large paste text dumps 2015-08-26 16:53:19 -07:00
Reed Garmsen
656a88efdd Fixed issue with carriage returns being counted improperly in non-ie browsers and updated error messages to be appropriate to what is being typed (message vs. post vs. edit) 2015-08-25 13:16:44 -07:00
Reed Garmsen
5766bbfc65 Prevents users from typing more than 4000 characters into any 'textbox' (posts, comments, and post/comment edits). Also adds new error message for when users hit exactly 4000 characters so they know the limit. 2015-08-25 09:40:08 -07:00
Christopher Speller
a1859fb341 Fixing posts not being able to upload 2015-08-20 14:44:30 -04:00
hmhealey
0b6fa5db22 Fixed 'X is typing...' messages being malformed when sent to the server 2015-08-18 09:57:54 -04:00
JoramWilander
4866606eb7 minor bug fixes to pending posts 2015-08-18 08:59:26 -04:00
JoramWilander
fa1491bbfb finalize implenetation of predictive client posts so that users get immediate feedback after posting 2015-08-18 08:59:26 -04:00
JoramWilander
5596a6b37c added client predictive commenting 2015-08-18 08:58:31 -04:00
JoramWilander
32f7b50bb5 adds predictive posting on the client 2015-08-18 08:58:02 -04:00
Reed Garmsen
6f68c508ee Better error checking along with other fixes 2015-08-13 15:47:50 -07:00
Reed Garmsen
1fa436b4f9 Users can now drop files into the center pane or the rhs respectively to upload images and other files 2015-08-12 12:29:57 -07:00
hmhealey
17b05f705f Changed PostStore.getDraft/getCommentDraft to return an empty draft instead of null when no draft is found 2015-08-11 09:41:18 -04:00
hmhealey
6ec1b7a8b3 Formatted CreateComment, CreatePost, and FileUpload React components to match the style guide 2015-08-10 14:04:23 -04:00
hmhealey
96ad8cb114 Changed file upload components to properly remove previews for failed uploads 2015-08-10 14:04:23 -04:00
hmhealey
c9a1bf2d33 Changed post drafts to maintain a store a unique id for each file upload to fix issues with duplicate file names 2015-08-10 14:04:23 -04:00
hmhealey
4e8af44370 Added the ability to cancel file uploads on posts 2015-08-10 14:04:23 -04:00
hmhealey
20d755f3dd Changed post drafts to maintain a list of the names of uploading files instead of just a count 2015-08-10 14:04:22 -04:00
hmhealey
e2d77c28f1 Removed ^replying in preparation for 0.6.0 2015-07-30 15:21:35 -04:00
hmhealey
a3cbe598fb Replaced instance of String.prototype.startsWith which only works in browsers that support ES6 2015-07-27 15:01:15 -04:00
Joram Wilander
4f9c40e60b Merge pull request #226 from nickago/MM-1546
MM-1546 Clear error messages on modal close and channel switch
2015-07-24 11:40:42 -04:00
Reed Garmsen
952e7a93f9 Fixed issue with error message for uploading more than 5 files not appearing on OSX 2015-07-23 10:01:19 -07:00
nickago
0acab11cf4 When closing out of a modal, unsaved data and text inside of it is erased. 2015-07-23 09:03:57 -07:00
Joram Wilander
89c7fa8a8e Merge pull request #228 from nickago/MM-1547
MM-1547 Added local cache storing of drafts for comments
2015-07-22 15:54:57 -04:00
nickago
ee25df7e55 Added message persistance on closing RHS/switching to another comment
thread. Similar to the center pane and channels, switching comment
threads won't delete entered but unsent text/media in the RHS
2015-07-22 08:48:37 -07:00
hmhealey
0967a131a1 Prevent users from sending empty ^ reply messages 2015-07-21 16:01:30 -04:00
hmhealey
d4fd000ccf Added handling for when the user is ^ responding to a post that gets deleted 2015-07-21 15:58:11 -04:00
hmhealey
7b28880294 Track caretCount as part of createPost's state so that we don't unnecessarily search for a thread to reply to when the user is typing 2015-07-21 15:54:47 -04:00
hmhealey
5b917dd4a6 Trim the carets from the beginning of reply messages when they're posted 2015-07-21 11:56:27 -04:00
hmhealey
644c78755c Change the create_post component to track the active thread using the event dispatcher so that it stays in sync with the post_list 2015-07-21 11:56:27 -04:00
hmhealey
25b2e75dc6 Added function to reply to earlier messages by prefixing a message with carets 2015-07-21 11:56:19 -04:00
Asaad Mahmood
4b7fda14ba mm-1631 - Fixing image previewer bug 2015-07-21 16:47:08 +05:00
Joram Wilander
7904ea2738 Merge pull request #46 from mattermost/mm-1318
fixes mm-1318 only allow 5 files to be uploaded at a time
2015-06-25 12:28:34 -04:00
JoramWilander
009df5bad5 fixes mm-1318 only allow 5 files to be uploaded at a time 2015-06-22 08:35:24 -04:00
it33
1cb6f0e066 Change "Create a post..." to "Write a message..." 2015-06-21 13:58:38 -07:00
JoramWilander
78bc7a326f fixes br tags causing new lines 2015-06-18 17:39:12 -04:00
JoramWilander
9f86db9faa fixes br tags causing new lines 2015-06-18 17:39:12 -04:00
=Corey Hulen
cf7a05f80f first commit 2015-06-14 23:53:32 -08:00
=Corey Hulen
56e74239d6 first commit 2015-06-14 23:53:32 -08:00