Commit graph

427 commits

Author SHA1 Message Date
Harrison Healey
ef162ce403 Merge branch 'master' into mark-as-unread 2019-11-13 19:34:06 -05:00
Elias Nahum
37e715ac8a
Bump app build number to 245 (#3551) 2019-11-13 14:46:30 -05:00
Elias Nahum
e5e3bcc844
Bump app build number to 244 (#3548) 2019-11-12 18:45:43 -05:00
Harrison Healey
cf8e807e3f Merge branch 'master' into mark-as-unread 2019-11-05 11:27:59 -05:00
Elias Nahum
e848d8ea6e
Update unsigned android and ios builds (#3508)
* Update unsigned android and ios builds

* Fix attach_workspace path

* attach_workspace to ~/

* Remove unnecessary exit 1
2019-11-05 08:44:36 -03:00
Elias Nahum
5540c99a28
Bump app build number to 243 (#3522) 2019-11-04 22:29:02 -03:00
Harrison Healey
af2e8b7795 Merge branch 'master' into mark-as-unread 2019-11-04 15:08:49 -05:00
Dean Whillier
b5dbb14375
Bump app build number to 242 (#3501) 2019-10-31 10:29:52 -04:00
Harrison Healey
bf68a33bab Merge branch 'master' into mark-as-unread 2019-10-29 10:00:22 -04:00
Miguel Alatzar
1efb01deda
[MM-16593] Upgrade to RN 0.61.2 (#3455)
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145)

* Upgrade to react-native 0.60

* Use @sentry/react-native

* Manually link @sentry/react-native

* Address review comments

* Jetify after install

* Call jetify from node_modules

* [MM-17785] iOS - Upgrade to RN 0.60 (#3153)

* Upgrade to react-native 0.60

* Use @sentry/react-native

* Manually link @sentry/react-native

* Address review comments

* Jetify after install

* Call jetify from node_modules

* Get app building for iOS

* Revert react-native-image-picker upgrade

* Minor version upgrade of react-native-image-picker

* [MM-17142] Convert all string refs to callbacks (#3217)

* Replace string refs

* Fix tests

* Don't use inline functions

* Fix mattermost-redux reversion from master merge

* [MM-18336] Upload Sentry debug symbols only when SENTRY_ENABLED is true (#3227)

* Upgrade @sentry/react-native

* Run Sentry gradle tasks only when enabled

* Upgrade @sentry/react-native and remove extra Sentry build phase

* [MM-17144] Use Hermes (#3226)

* Replace string refs

* Fix tests

* Don't use inline functions

* Fix mattermost-redux reversion from master merge

* Use Hermes

* bundleCommand ram-bundle no longer needed

* Require harmony-reflect only for Android

* Fix failing test

* Path react-native's splitLayoutProps (#3337)

* [MM-18867] [MM-17186] [MM-18866] [MM-19447] [MM-18967] Upgrade to RN 0.61.2 (#3423)

* Upgrade to RN 0.61.2

* Update rn-fetch-blob commit hash

* Update react-native-keyboard-tracking-view commit hash

* Use react-native-youtube with AVPlayer fix

* Fix jest mocks

* Use updated document picker API

* Remove unnecessary linking

* Revert "MM-17759 Add code highlighting (#3072)"

This reverts commit 26b999e885.

* Fix share extension

* Revert "Revert "MM-17759 Add code highlighting (#3072)""

This reverts commit 52aca776b12dee3abe8646d0c90480f8528e86c1.

* Address PR reviews

* Rename patch to match version

* Update react-native-youtube patch

* Update dependencies

* Fix RNDocViewer reference

* Update tests and revert to redux-persist 4.10.2

* Revert "Revert "Revert "MM-17759 Add code highlighting (#3072)"""

This reverts commit 5ef383be2619b1be6167c23f128ecb4b4ad25df9.

* Android fixes after dep upgrades

* Use fresco 2.0.0

* Use mattermost forks

* Use React-Core in Mattermost.scheme instead of react

* Remove packager (#3452)

* Remove Pods from source control

* Fix unit tests

* Add new line before entering the keystore in gradle.properties

* set ios as working directory for cocoapods

* Cache cocoapods on circleCI builds

* set ios as working dir

* fix cocoapods cache key

* Unify fastlane and npm dependencies command

* Use package-lock.json checksum for npm cache

* Fix package.json and use the checksum as the cache key

* Fix package.json and use the checksum as the cache key

* changes to circleci.yaml fastlane and removing pods from git

* Fix Mattermost.xcodeproj

* Update coocoapods to 1.7.5 and fix xcode header search paths

* Update package-lock.json

* Remove unused tooltip component

* Fix incorrect ref

* Disable Hermes (#3460)

* Revert "Remove packager (#3452)"

This reverts commit b2a79e184b3242124dfdb91ae095f6ce3f4eb986.

* Disable Hermes :'(

* Update preloaded modules

* Fix packages moduleNames and modulePaths, update snapshots and update mm-redux (ts version)

* remove document picker from modulePaths

* Fix package-lock.json

* Add eslint disable rules
2019-10-28 15:04:24 -07:00
Harrison Healey
d8f8dac79a
Fix android senderName call (mark-as-unread) (#3471) 2019-10-25 13:45:40 -04:00
Elias Nahum
968fec37bf
Bump app build number to 241 (#3467) 2019-10-25 13:04:56 +03:00
Harrison Healey
c27e96579f Merge branch 'master' into mark-as-unread 2019-10-23 17:25:48 -04: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
Harrison Healey
fe5e414546 Merge branch 'master' into mark-as-unread 2019-10-21 13:36:20 -04: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
Harrison Healey
4899c2f769 Merge branch 'master' into mark-as-unread 2019-10-16 11:21:02 -04:00
Dean Whillier
b253bb23e0
Bump app build number to 239 (#3421) 2019-10-15 09:54:43 -04:00
Harrison Healey
6e6e57d28b Merge branch 'master' into mark-as-unread 2019-10-09 16:02:59 -04:00
Dean Whillier
fddacedb4f
Bump app build number to 238 (#3397) 2019-10-09 16:01:25 -04:00
Harrison Healey
ed2054592b MM-18463 Added update_badge notification when marking a channel as unread (#3352)
* MM-18463 Ignore update_badge push notifications and clean up Java

* MM-18463 Add iOS constants for push notification types

* Address feedback
2019-10-08 08:54:07 +03:00
Elias Nahum
41d6d6159d
Bump app build number to 236 (#3365) 2019-10-02 21:43:33 +03: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
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
Harrison Healey
4bb94195f1 MM-18465 Add proper flags when opening settings (#3242)
* MM-18465 Add proper flags when opening settings

* Fix undefined setPerformingAuthentication Function in emm_provider.
2019-09-11 23:57:07 -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
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
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
Miguel Alatzar
3eda53d49a [MM-17970] Check for valid server URL (#3152)
* Check for valid server URL

* Fallback to parsing token
2019-08-21 19:02:58 -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