Commit graph

395 commits

Author SHA1 Message Date
Elias Nahum
968fec37bf
Bump app build number to 241 (#3467) 2019-10-25 13:04:56 +03:00
Elias Nahum
ee2a25df84
Fix iOS crash when pasting large images and included other file types (#3424)
* Fix iOS crash when pasting large images and included other file types

* Rename pasteImages to pasteFiles and fix copying heic images

* remove comment

* Feedback review
2019-10-24 20:41:38 +03:00
Miguel Alatzar
5e5d3abd79 [MM-17145] [MM-18947] [MM-17110] [MM-14926] [MM-18646] Use patched v2.0.6 of react-native-notifications and fix Android badge number (#3382)
* Refactor custom push notification code

* Use react-native-notifications 2.0.6 and patch for scheduled notifs

* Fix patch

* iOS changes

* Fix delete

* Fix setting of badge number on Android

* Undo Reflect removal

* Undo removal of didReceiveRemoteNotification

* Use min importance for push notifs received while app is active

* Correctly set badge number after push notificaiton reply

* Fix tests

* Localize reply action text

* Add getDeliveredNotifications

* Fix identifier check and failing test

* Fix local push notif test for Android > 9
2019-10-22 21:18:59 +03:00
Elias Nahum
b06c2d8541
Removing pods from source control, add cocoapods to circleCI (#3454) 2019-10-22 17:05:54 +03:00
Elias Nahum
010c099654
MM-18490 Migrate app builds to circleCi (#3373)
* Add pods to source control

* Update Fastlane to work with circleCi

* Configure circleCi workflows to build the app

* Set BRANCH_TO_BUILD env var to CIRCLE_BRANCH for PRs

* Use different context for each platform and type

* Fix regex

* Add i18n check
2019-10-21 23:42:49 +03:00
Dean Whillier
f729dc881b
Bump app build number to 240 (#3443) 2019-10-18 10:55:33 -04:00
Dean Whillier
412ab9f411
Bump app version number to 1.25.0 (#3442) 2019-10-18 10:46:42 -04:00
Elias Nahum
68cd878311
unsigned (#3430) 2019-10-17 16:56:01 +03:00
Dean Whillier
b253bb23e0
Bump app build number to 239 (#3421) 2019-10-15 09:54:43 -04:00
Elias Nahum
d4c682bddd
MM-17157 Only send notification receipt if server url and session token are set (#3375) 2019-10-10 08:48:38 +03:00
Dean Whillier
fddacedb4f
Bump app build number to 238 (#3397) 2019-10-09 16:01:25 -04:00
Dean Whillier
497d66d9fe
Bump app build number (#3395) 2019-10-09 14:31:29 -04:00
Elias Nahum
41d6d6159d
Bump app build number to 236 (#3365) 2019-10-02 21:43:33 +03:00
Miguel Alatzar
2cfb6f1136 [MM-18656] Update third party libraries to use WKWebView over UIWebView (#3353)
* Use updated react-native-keyboard-tracking-view

* Use updated react-native-device-info

* Use updated react-native-device-info and add new pod dependency
2019-10-02 11:02:06 -04:00
Dean Whillier
51e5fc04d4
Bump app build number to 235 (#3338) 2019-09-27 15:52:47 -04:00
Dean Whillier
24cb1a3316
Bump app build number to 234 (#3327) 2019-09-25 16:08:56 -04:00
Dean Whillier
5176661a5b Bump app build number to 233 (#3307)
* Bump app build number to 233

* blank commit
2019-09-24 21:56:58 +03:00
Devin Binnie
b6bd3115ec Bump app build number to 232 (#3277) 2019-09-18 17:52:13 -07:00
Devin Binnie
77b25945dd
Updated Info.plist with new bluetooth usage description key (#3275) 2019-09-18 20:47:57 -04:00
Devin Binnie
eac7ecd367
Bump app version number to 1.24.0 (#3274)
* Bump app version number to 1.24.0

* Update build.gradle
2019-09-18 13:28:06 -04:00
Devin Binnie
0154ea8f02
Bump app build number to 231 (#3272) 2019-09-18 13:23:26 -04:00
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
Elias Nahum
19e6b2a00e
[MM-18362] Sidebar improvements (#3223)
* sidebar lists displays past bottom safe area insets

* Sidebar animation speed

* Sidebar improvements

* Add status icons and avatars to mattermost font

* Bot icon the same size as other channel icons

* improvements to the channel badge

* Badge color and border

* More precision when showing more unread above

* Improve GM icon

* Fix badge on team sidebar

* Align channel sidebar badges

* alignments

* Fix tests

* Remove unnecessary isLandscape in main sidebar connector
2019-09-16 13:17:48 -03:00
Devin Binnie
9f9a5f743c Bump app build number to 230 (#3256) 2019-09-12 15:07:20 -04:00
Ewe Tek Min
f6c9c950c5 MM-12879 Fix iOS photo/camera permission denied prompt (#2904)
* Update Github issues link

* Update GH issue to permalink

* Add missing comma

* Fix ios not prompting alert after denied photo or camera permission

* Rename permission var

* Update text

* Change to correct text

* Update text for attachement button

* Update text for image_preview

* Fix test

* Integrate react-native-android-open-settings for storage permission denied

* Move react-native-android-open-settings

* Change all default permission denied message

* Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 65187f8f98de4943103bdab4b39bd7e1ebd5a220, reversing
changes made to daca425676503a57936a5539b5b5fa68a6c5427e.

* Revert "Revert "Merge remote-tracking branch 'upstream/master'""

This reverts commit c82fa628d5addc1262353539c32b76c6a1130e83.

* Add NSPhotoLibraryAddUsageDescription description

* Fix bad import

* Lazy load react-native-android-open-settings

* Fix indent
2019-09-11 01:18:53 -03:00
Elias Nahum
076e518b11
Update webview library to remove deprecated API (#3233)
* Update webview library to remove deprecated API

* Remove unnecessary timeout
2019-09-10 15:33:19 -03:00
Devin Binnie
e73bc88c4a
Bump app build number to 229 (#3232) 2019-09-09 13:28:22 -04:00
Elias Nahum
223bd64a43
[MM-18349] Post menu delay animation speed and haptic feedback (#3214)
* Animate backdrop opacity in slide up panel

* Set delayLongPress to 75ms for post

* Add haptic feedback on slide up of post options

* Ease in slide up animation

* Add haptic feedback to android

* reduce long press delay for post options menu

* helper function for haptic feedback

* Add haptic feedback when opening post options menu

* Patch haptic feedback RN module on Android

* Fix tests

* Move hapticFeedback call to SlideUpPanel

* Decrease long press time for reaction
2019-09-07 07:45:07 +09:00
Devin Binnie
f6afab212b
Bump app build number to 228 (#3215) 2019-09-03 15:43:15 -04:00
Devin Binnie
cc76f60675 Bump app build number to 227 (#3200) 2019-08-28 09:56:06 -04:00
Elias Nahum
8670996eca
Bump version to 1.23.0 and Build number to 226 (#3195)
* Bump app build number to 226

* Bump app version number to 1.23.0
2019-08-26 10:56:47 -04:00
Elias Nahum
6d65ab3176
Bump app build number to 225 (#3186) 2019-08-23 22:21:24 -04:00
Elias Nahum
16aef3918f
Bump app build number to 224 (#3181) 2019-08-23 16:03:37 -04:00
Harrison Healey
91a7cb499c
MM-17589 Update "passcode required" help text (#3137)
* MM-17589 Update passcode required help text in share extension

* MM-17589 Update passcode required help text in app
2019-08-23 12:12:22 -04:00
Elias Nahum
d2464b16c4
Bump app build number to 223 (#3173) 2019-08-23 10:12:14 -04:00
Elias Nahum
c76f12647a
Bump Version to 1.22.1 and build to 222 (#3160)
* Bump app build number to 222

* Bump app version number to 1.22.1
2019-08-21 19:12:12 -04:00
Elias Nahum
4d4a56bf24
Bump app build number to 221 (#3142)
* Bump app build number to 221

* Update fastlane
2019-08-17 14:42:43 -04:00
Sudheer
4d22a28397
Bump app build number to 220 (#3132) 2019-08-16 04:09:24 +05:30
Sudheer
73dff32eec
Bump app build number to 219 (#3129) 2019-08-16 00:24:50 +05:30
Sudheer
d924fb1c96
Bump app build number to 218 (#3118) 2019-08-14 16:35:29 +05:30
Sudheer
23f1358e27
Bump app build number to 217 (#3104) 2019-08-10 23:03:11 +05:30
Sudheer
d31c4aa31f
Bump app build number to 216 (#3068) 2019-08-03 02:21:53 +05:30
Miguel Alatzar
53b5f40e22 Bump app build number to 215 (#3066) 2019-08-01 12:27:05 -04:00
Elias Nahum
bf5c5cd7e6
Bump app build number to 214 (#3063) 2019-07-31 19:38:02 -04:00
Elias Nahum
8c9243a3de
Bump app build number to 213 (#3058) 2019-07-31 09:32:43 -04:00
Miguel Alatzar
f25ffdf3d5 Check if ackId is nil first (#3046) 2019-07-27 00:16:46 +08:00
Elias Nahum
f6779b1c9c
Bump app build number to 212 (#3042) 2019-07-25 08:46:08 -04:00
Sudheer
dc5c515e63
Bump app build number to 211 (#3012) 2019-07-23 01:48:35 +05:30
Sudheer
15989b79e6
Bump app version number to 1.22.0 (#3009) 2019-07-23 00:37:23 +05:30
Elias Nahum
6bfc1133e5
Bump app build number to 210 (#3000) 2019-07-19 16:52:49 -04:00