Florian Orben
c6bbebbf6f
Mattermost can not send message start with slash
...
resolves #827
2015-10-25 23:55:50 +01:00
Reed Garmsen
4129b204c3
Fixed typos in create_post.jsx resizing code
2015-10-21 15:50:46 -07:00
Antti Ahti
d3f99e8217
Handle window resize events in React way
...
Use the React-way of handling resize events. Essentially store the window size in component state instead of doing some custom handling.
See http://facebook.github.io/react/tips/dom-event-listeners.html
2015-10-20 10:07:45 +03:00
Florian Orben
fcce3168b2
PLT-74: Enable Up Arrow keyboard shortcut to edit your last message
...
- fix bug where channel_id was not set if update_post ajax was "too fast"
- fix bug js error if there is no last post, i.e. empty channel
- renamed lastPostId to postId so it has a nicer api to be triggered from everywhere
- fix a typo
- automatically focus textarea on modal open
2015-10-15 21:25:31 +02:00
Florian Orben
551b07960e
PLT-74: Enable Up Arrow keyboard shortcut to edit your last message
2015-10-15 21:25:31 +02:00
Christopher Speller
1571a9a2df
Fixing most deprication warnings
2015-10-15 15:00:28 -04:00
Asaad Mahmood
99f243b444
Multiple UI Improvements
2015-10-14 17:04:13 +05:00
Christopher Speller
b85b529373
Changing SpinPunch to Mattermost in copyright
2015-10-08 12:27:09 -04:00
Christopher Speller
33b957ed1a
Disabling complexity warning. Allowing non-nested ternary. Upgrading ESList. Adding new ESLint rules. Fixing new ESLint errors.
2015-10-05 11:05:06 -04:00
JoramWilander
58dcbd64af
Fix post list not resizing properlu for file previews.
2015-09-25 11:41:08 -04:00
Reed Garmsen
ef8705ab6b
Text cursor now focuses on the textbox after performing a drag and drop of some text
2015-09-23 15:41:26 -07:00
Reed Garmsen
03eece597d
Added support to drag and drop text into the main textbox or RHS textbox
2015-09-23 15:01:02 -07:00
Reed Garmsen
2270a2bb45
Functionalized draft checking
2015-09-22 16:07:07 -07:00
Reed Garmsen
bb557b30d7
Post drafts are now displayed when they contain only files and no text
2015-09-22 15:37:37 -07:00
Christopher Speller
1175ce5402
Merge pull request #628 from mattermost/mm-2127
...
MM-2127 Added send icon button to create post control for mobile view.
2015-09-09 08:34:24 -04:00
JoramWilander
c6b1368cc7
Added send icon button to create post control for mobile view.
2015-09-08 15:47:15 -04:00
JoramWilander
09ac6aa46d
Resize create post control when file previews are added.
2015-09-08 11:54:01 -04:00
Corey Hulen
4f0c06114b
Merge pull request #591 from mattermost/mm-1909
...
MM-1909 Upgrading ESLint, turning on new rules, enabling some warnings, optimizations
2015-09-03 13:37:25 -07:00
Christopher Speller
4b22c1f99c
Upgrading ESLint and adding some more rules. Refactoring to meet these new rules
2015-09-03 15:00:47 -04:00
JoramWilander
e4336bbc84
Fix poor typing performance on iOS devices.
2015-09-03 12:28:19 -04:00
hmhealey
7d07bf6a79
Refactored various React components to use ES6 syntax and to match the style guide without any errors or warnings
2015-09-01 18:45:18 -04:00
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