Commit Graph

33 Commits

Author SHA1 Message Date
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
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
Corey Hulen
bfebb41bc0 Merge pull request #678 from mattermost/mm-1589
PLT-171 MM-1589 New add channel modal using react-bootstrap.
2015-09-14 16:57:54 -07:00
JoramWilander
0654b0c06b Blank Content-Type for file GETs. 2015-09-14 14:18:01 -04:00
Christopher Speller
0ea0233c50 New add channel modal using react-bootstrap. 2015-09-14 13:56:58 -04:00
hmhealey
63c7ff75ee Fixed file uploads to still upload other files when one is too large 2015-09-03 10:25:52 -04:00
=Corey Hulen
ccd5fa39ac Fixing style 2015-09-02 15:09:30 -07:00
hmhealey
a020391d93 Replaced broken remaining calls to getDOMNode with React.findDOMNode 2015-09-02 15:56:13 -04:00
=Corey Hulen
f578bb1e48 MM-2065 style refactoring 2015-09-01 17:06:31 -07:00
nickago
e0a525ebe7 Fixed this/self typo 2015-08-20 10:44:22 -07:00
Reed Garmsen
2c098d7711 Small changes to css to clean up code 2015-08-14 11:33:33 -07:00
Reed Garmsen
bcea7ae74f Minor cosmetic refactoring of file_upload.jsx 2015-08-13 16:29:02 -07:00
Reed Garmsen
6f68c508ee Better error checking along with other fixes 2015-08-13 15:47:50 -07:00
asaadmahmoodspin
1a6d67b0cd Merge pull request #5 from rgarmsen2295/mm-316
MM-316 Allows users to drag and drop files from their computer to the center pane or RHS to upload them
2015-08-13 20:31:19 +05:00
Reed Garmsen
14c121dc0c Implements better markup for css changes to be made, including an overlay of the dropzones and help pic/text 2015-08-12 14:27:44 -07:00
Reed Garmsen
0f1c991727 Updated feature to work with new upload cancel logic 2015-08-12 12:47:29 -07:00
Reed Garmsen
596e76d404 Fixed issue with uploading files from RHS when trying to upload after opening the RHS and then switching channels 2015-08-12 12:34:08 -07:00
Reed Garmsen
6f091f0f6d Added check to make sure files are not strings 2015-08-12 12:29:57 -07:00
Reed Garmsen
9f9d93e613 Switched to using the jquery-dragster library to implement more consistent drag and drop support, rather than using the inconsistent html5 implementation 2015-08-12 12:29:57 -07:00
Reed Garmsen
9baafdb372 Changed structure to keep code contained to file_upload.jsx 2015-08-12 12:29:57 -07:00
Reed Garmsen
81d7599f75 Working on adding overlays for file drag and drop 2015-08-12 12:29:57 -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
Reed Garmsen
9bbeef208f Added handlers for dragging and dropping files onto the center pane or RHS 2015-08-12 12:24:22 -07:00
nickago
51e63ced93 Cosmetic refactoring 2015-08-11 13:07:16 -07:00
nickago
fe0b055981 Added server side validation of jpegs as images 2015-08-11 12:19:23 -07: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
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
JoramWilander
009df5bad5 fixes mm-1318 only allow 5 files to be uploaded at a time 2015-06-22 08:35:24 -04:00
=Corey Hulen
cf7a05f80f first commit 2015-06-14 23:53:32 -08:00