mattermost-mobile/ios/Mattermost
Ewe Tek Min 0d1fd78263 MM-9599 Paste image from clipboard (#3084)
* Show image paste menu

* Get pasted image

* Add more info for file

* Add custom text input and add extension

* Dismiss contextual menu after paste image

* Group image info together

* Add max file check

* Fix max file size text

* Add PropTypes

* Add support for gif and tiff

* add onchange null check

* Use onPaste event

* Move get image info logic

* Clean up listener when no observer

* Add android upload

* Copy file from google docs

* Clean up file after upload

* Prevent text pasted in textbox if it's content uri

* Rename paste file thread

* Move on paste listener logic

* Remove the redundant data in ios

* Get realpath of item

* Clean up

* Only download for image

* Rename to custom text input

* Update RNPasteableEditTextOnPasteListener.java

* Handle for download image failed

* Fix eslint

* Fix test

* Allow multiple images to be pasted

* Remove additional null check

* Add managed control for Android

* Disable only copy, cut and paste

* Accept image in Android edit text

* Add comment for custom text input

* Do not upload when more than max file

* Stop uplaod when exceed file size

* Fix crash when clip data is null

* Return error to JS

* Move download file logic

* Remove console

* Add some tests

* Add test for handleUploadImages

* Add test for file_upload_item

* Use ImageCacheManager to cache remote images

* Fix crashes from one note

* Remove commented code

* Update test
2019-09-16 20:10:14 -03:00
..
Images.xcassets/AppIcon.appiconset Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
0155-keys.png Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
AppDelegate.h Initial commit 2016-10-04 14:10:44 -04:00
AppDelegate.m [MM-16011] Update screens related to main sidebar (#2907) 2019-06-24 10:58:15 -07:00
BlurAppScreen.h Move ios files to the right directory (#886) 2017-09-07 11:15:21 -03:00
BlurAppScreen.m Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
Info.plist [MM-18362] Sidebar improvements (#3223) 2019-09-16 13:17:48 -03:00
main.m Initial commit 2016-10-04 14:10:44 -04:00
Mattermost+RCTUITextView.h MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:30 -04:00
Mattermost+RCTUITextView.m MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
Mattermost-Bridging-Header.h iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
Mattermost.entitlements CBA support for iOS (#1767) 2018-06-19 19:35:42 -04:00
MattermostBucketModule.h iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
MattermostBucketModule.m iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
MattermostManaged.h MM-15643 Send user to settings when passcode is required (#2836) 2019-05-27 19:38:32 -04:00
MattermostManaged.m MM-17589 Update "passcode required" help text (#3137) 2019-08-23 12:12:22 -04:00
NSData+MimeType.h MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
NSData+MimeType.m MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
OnPasteEventManager.h MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
OnPasteEventManager.m MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
RuntimeUtils.swift Clear iOS notifications on channel read (#2652) 2019-03-20 02:08:08 +08:00
UIImage+ImageEffects.h Move ios files to the right directory (#886) 2017-09-07 11:15:21 -03:00
UIImage+ImageEffects.m Move ios files to the right directory (#886) 2017-09-07 11:15:21 -03:00
UIPasteboard+GetImageInfo.h MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00
UIPasteboard+GetImageInfo.m MM-9599 Paste image from clipboard (#3084) 2019-09-16 20:10:14 -03:00