Commit graph

446 commits

Author SHA1 Message Date
Mattermost Build
fcd57c81bf Bump app build number to 253 (#3714) 2019-12-16 20:12:22 -07:00
Mattermost Build
04a161f38c Bump app build number to 252 (#3707) 2019-12-16 07:41:27 -03:00
Mattermost Build
491c8e8a15 Bump app build number to 251 (#3704) 2019-12-13 18:17:58 -03:00
Mattermost Build
b8e7fcaa21 Bump app build number to 250 (#3688) 2019-12-10 17:19:57 -03:00
Mattermost Build
62758221d4 Add channel ID to push notification sent on failed reply (#3678) 2019-12-09 12:23:59 -07:00
Mattermost Build
4ef1fb0eab Set number to 0 only if null (#3669) 2019-12-06 11:38:23 -07:00
Mattermost Build
b19d804c39 Bump app build number to 249 (#3661) 2019-12-03 16:15:39 -03:00
Mattermost Build
14c937ee2c Automated cherry pick of #3644 (#3649)
* Remove extra info from logs

* Review feedback
2019-12-02 09:31:33 -07:00
Mattermost Build
00ced38382 MM-20779 Handle Android notification reply with special characters (#3648) 2019-12-02 08:29:08 -07:00
Mattermost Build
2a261249bb Automated cherry pick of #3601 (#3602)
* Bump app build number to 248

* Bump app version number to 1.26.0
2019-11-22 15:47:56 -03:00
Mattermost Build
591d65e57b Automated cherry pick of #3586 (#3594)
* Fix id-loaded on Android

* Fix id-loaded on iOS

* Remove constant for PUSH_TYPE_ID_LOADED
2019-11-21 19:47:44 -03:00
Elias Nahum
8838fd92c2
Bump app build number to 247 (#3593) 2019-11-21 13:21:21 -03:00
Mattermost Build
9b08098572 Automated cherry pick of #3590 (#3592)
* Create notification channels only if supported

* Update comment
2019-11-21 13:18:04 -03:00
Elias Nahum
dd0f424a63
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:21:58 -03:00
Mattermost Build
04c660a2e8 Use LifecycleEventListener for MattermostManagedModule (#3585) 2019-11-20 15:32:47 -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