Commit graph

508 commits

Author SHA1 Message Date
Elias Nahum
1c3c808fdd
Bump app build number to 259 (#3809)
* Bump app build number to 259

* Update fastlane

* Fix circleCI for unsigned builds
2020-01-14 09:01:20 -03:00
Elias Nahum
2951245d68
MM-21288 Fix attaching files on Android (#3805) 2020-01-13 22:46:27 -03:00
Amit Uttam
a17983c1e4
MM-12215 Make deep link URL prefix configurable for Release/Debug (#3767)
Default deep link URL prefix: `mattermost-beta`

To set to `mattermost-mobile` (or anything else, for that matter) in production releases, set fastlane ENV var `DEEPLINK_PREFIX` to `mattermost-mobile`
2020-01-09 16:00:20 -03:00
Elias Nahum
c13dc7654a
Bump app build number to 258 (#3775) 2020-01-07 08:34:12 -03:00
Amit Uttam
ae3f7e9802 Enable Deep Links for Android (#3762)
#1805 enabled support for deep links for iOS. The link parsing mechanism remains the same for both platforms, but this commit enables registration of the URL scheme to the Android OS so that deep links can be accessed.
2020-01-06 13:02:24 -07:00
Miguel Alatzar
e54bc77a3d [MM-16604] Upgrade to firebase-messaging v17.3.4 (#3769)
* Upgrade to firebase-messaging v17.3.2

* Update android/app/build.gradle
2020-01-03 19:16:31 -05:00
Miguel Alatzar
8d6a9705f8
Bump app build number to 257 (#3764) 2020-01-02 08:27:26 -08:00
Miguel Alatzar
323cf45f23
Bump app version number to 1.27.0 (#3763) 2020-01-02 08:22:22 -08:00
Elias Nahum
59de50e60c
Bump app build number to 256 (#3749) 2019-12-20 14:00:47 -03:00
Miguel Alatzar
13a7e35ac1
Bump app build number to 255 (#3741) 2019-12-19 21:42:36 -07:00
Miguel Alatzar
2fa2e05f49
Bump app build number to 254 (#3733) 2019-12-18 21:40:18 -07:00
Miguel Alatzar
7b1d4acbd1
Bump app version number to 1.26.1 (#3730) 2019-12-18 21:35:42 -07:00
Miguel Alatzar
c4002a6a91
Bump app build number to 253 (#3713) 2019-12-16 20:07:23 -07:00
Elias Nahum
eefc6385cd
Bump app build number to 252 (#3706) 2019-12-16 07:38:46 -03:00
Elias Nahum
226a4ede15
Bump app build number to 251 (#3703) 2019-12-13 18:14:42 -03:00
Elias Nahum
88a1605961
Bump app build number to 250 (#3684) 2019-12-10 17:12:56 -03:00
Miguel Alatzar
29c27417bd Add channel ID to push notification sent on failed reply (#3673) 2019-12-09 14:14:50 -05:00
Miguel Alatzar
4ce1d75733 Set number to 0 only if null (#3668) 2019-12-06 13:35:15 -05:00
Elias Nahum
a088edfffd
Bump app build number to 249 (#3659) 2019-12-03 16:12:36 -03:00
Elias Nahum
a0a0ed7334 MM-20806 Remove extra info from logs (#3644)
* MM-20779 Handle Android notification reply with special characters

* Remove extra info from logs

* Review feedback
2019-12-02 09:27:43 -07:00
Elias Nahum
39cdbb757d MM-20779 Handle Android notification reply with special characters (#3636) 2019-12-02 08:25:33 -07:00
Elias Nahum
d6dd63cd61
Bump Version to 1.26 and Build number to 248 (#3601)
* Bump app build number to 248

* Bump app version number to 1.26.0
2019-11-22 15:38:45 -03:00
Elias Nahum
3ac0db6f61
MM-20347 Handle Flag for ID Loaded Push Notifications (#3586)
* Fix id-loaded on Android

* Fix id-loaded on iOS

* Remove constant for PUSH_TYPE_ID_LOADED
2019-11-21 19:34:10 -03:00
Elias Nahum
47157c70a9
Bump app build number to 247 (#3593) 2019-11-21 13:20:54 -03:00
Miguel Alatzar
f651da975f [MM-20640] Create notification channels only if supported (#3590)
* Create notification channels only if supported

* Update comment
2019-11-21 13:12:49 -03:00
Elias Nahum
ec99b65f00
Bump version to 1.25.1 and Build number to 246 (#3587)
* Bump app build number to 246

* Bump app version number to 1.25.1

* Update Fastlane
2019-11-20 21:18:44 -03:00
Miguel Alatzar
430463822b
Use LifecycleEventListener listener for MattermostManagedModule (#3578) 2019-11-20 15:25:53 -07:00
Harrison Healey
b69c6af2b4 Merge branch 'master' into mark-as-unread 2019-11-19 09:57:43 -05:00
Miguel Alatzar
ba76e5eac7 [MM-16232] ID loaded push notifications (#3562)
* [MM-16232] Android: Fetch notification in notificationReceiptDelivery (#3552)

* Fetch notification in notificationReceiptDelivery

* Fix patch

* Fix patch take 2

* No need to send user_id to ack endpoint

* Just putString in mNotificationProps

* Fix patch take 3

* Revert react-native-notifications patch

* Update patch and fix rejections

* Remove trailing newline in patch

* Move PushNotification changes to end of patch

* npm cache test

* Revert "npm cache test"

This reverts commit d31030aaeeb010c1c3d22a5f6196191eeb849add.

* Created patch after upgrading node

* Created patch after upgrading node take 2

* Remove androidx changes from patch

* Patch packages then jetify

* Cache node_modules without patches

* Remove adding of default message (#3557)

* [MM-16232] iOS: Fetch id-loaded push notification from server (#3556)

* Fetch notification from server

* Parse fetched notification response

* Fix id-loaded notifications for DM/GM's

* audit fix

* Only add keys if they exist

* Throw exception if response code is not 200
2019-11-18 19:29:49 -03:00
Harrison Healey
725e9a6985 Merge branch 'master' into mark-as-unread 2019-11-18 17:21:42 -05:00
Kaiden Sin
a1c8a4691e [mm 15792] Fix massive app slowdown with many emojis (#3209)
* [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

* Run npm install react-native-fast-image --save

* Link react-native-fast-image for Android

* Link react-native-fast-image to iOS Pod

* Replace Image with FastImage in emoji.js and remove redundant caching

* Remove duplicate sentry gradle

* Feedback review

* Remove FastImage and Sentry from the Podfile
2019-11-17 23:34:39 -05:00
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
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
Elias Nahum
90ac092443
Load Android WebView package instead of module (#3053) 2019-07-29 09:15:40 -04: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
Elias Nahum
aba35f7bfd
Bump Version to 1.21.1 and build number to 209 (#2995)
* Bump app build number to 209

* Bump app version number to 1.21.1
2019-07-18 18:41:40 -04:00
Elias Nahum
b8af8a3860
Lazy android native modules (#2973)
* Lazy loading Android modules

* Remove react-native-bottom-sheet

* Remove comments

* npm audit fix

* Update rnn-v2 modals

* audit fix

* Fix tests
2019-07-17 11:06:21 -04:00
Harrison Healey
0af97a1f63
Bump app build number to 208 (#2979) 2019-07-16 10:30:18 -04:00
Miguel Alatzar
c321c773c3 Merge branch 'master' into rnn-v2 2019-07-12 09:01:33 -07:00
Miguel Alatzar
c30bc8bfea Check for null config 2019-07-12 08:56:36 -07:00
Harrison Healey
7f9dd13690
Bump app build number to 207 (#2972) 2019-07-12 09:04:03 -04:00
Elias Nahum
df3a3eb39f Fix android crash on Android O & P after upgrading target to 28 (#2968) 2019-07-10 10:31:13 -04:00
Miguel Alatzar
d7432d3d41 Merge branch 'master' into rnn-v2 2019-07-09 14:08:15 -07:00
Elias Nahum
f82b571d13
Bump app build number to 206 (#2963)
* Bump app build number to 206

* Set Android targetSdkVersion to API level 28
2019-07-08 18:37:55 -04:00
Harrison Healey
72594446d5
Bump app build number to 205 (#2960) 2019-07-08 09:45:12 -04:00
Miguel Alatzar
1b9b1e3f39 Merge branch 'master' into rnn-v2 2019-07-05 15:56:56 -07:00