Commit graph

2291 commits

Author SHA1 Message Date
Miguel Alatzar
7d67f1214e
[MM-16008] Update setNavigatorStyles and replace setOnNavigatorEvent (#2877)
* Update setNavigatorStyles

* Replace navigator.setOnNavigatorEvent and callbacks

* Update unit tests

* Save user notify props on componentWillUnmount

* Add TODOs about removing componentDidAppear/setNavigatorStyles

* check-styles fix

* Fix eslint errors
2019-06-14 08:14:26 -07:00
Miguel Alatzar
2e423a9f64 Fix navigation top bar style (#2885) 2019-06-14 10:06:14 -04:00
Miguel Alatzar
cbe0c719ac [MM-15874] Add native code to support RNN v2 on Android (#2855)
* Remove fix for MM-9233

* MM-15774 Add native code to support RNN v2 on iOS

* Android changes for RNN v2 upgrade

The activity visibility handling of NotificationsLifecycleFacade
is no longer needed in RNN v2. I've moved the lifecycle callbacks
we use for handling managed config into
ManagedActivityLifecycleCallbacks.java and registered them in
MainApplication's onCreate. Also, I've moved and updated the
loading and getting of the managed config into MainApplication

* Update moduleNames and modulePaths

* Use TAG in restrictionsReceiver

* Set launch screen onCreate

* Comment out registerActivityLifecycleCallbacks for now

* Remove setSoftInputMode call as it's handled in the manifest

* Remove clearHostOnActivityDestroy as that fix is no longer needed

* Rename to canLaunchEntry

* Remove replacement of super.onBackPressed()

* Remove react-navigation from packager files
2019-06-12 15:26:03 -04:00
Harrison Healey
73792d5526 MM-16011 Update navigation through Login and Channel screens (#2870)
* Update navigation through Login and Channel screens

* Stop using static options and mergeOptions

* Update unit tests
2019-06-11 18:10:14 -04:00
Harrison Healey
8d2b2b09d9 Fix incorrect merge 2019-06-05 11:25:54 -04:00
Harrison Healey
5ff98e8a86 Merge branch 'master' into rnn-v2 2019-06-05 11:25:14 -04:00
Woolim Cho
b81cd49fb4 [MM-13879] Add Edit profile button to RHS menu and own profile pop-over (#2832)
* Add Edit Profile button to right panel menu

* Make user info of right panel menu opens the users own profile

* Add an Edit button of the users own profile

* handle transitions

* Add commandType to propTypes

* Update test codes

* add unit tests for user_profile

* Assign commandType manually

* Remove async, set delay to 0
2019-06-05 16:11:42 +08:00
Harrison Healey
8e1a9e8322
MM-15774 Add native code to support RNN v2 on iOS (#2848)
* Remove fix for MM-9233

* MM-15774 Add native code to support RNN v2 on iOS
2019-06-03 16:44:28 -04:00
Saturnino Abril
1d215deea6 fix server version for Android telemetry (#2857) 2019-06-03 09:02:26 -07:00
Tsilavina Razafinirina
f6a73e2f2c MM-11287 Add support for plus sign and period/dot in custom URL schemes (#9155) (#2841) 2019-06-03 11:23:15 -04:00
Elias Nahum
e16d955527
MM-15959 disable android firebase analytics (#2854) 2019-06-03 09:48:18 -04:00
Elias Nahum
6d52fed6e9
Bump app build number to 196 (#2853) 2019-05-31 14:22:10 -04:00
Elias Nahum
1e8a1307af
Update netInfo to check for internet connectivity (#2850)
* Update netInfo to check for internet connectivity instead of using apple.com as a reference

* Fix network indicator position on tablets
2019-05-31 13:33:56 -04:00
Saturnino Abril
30ee1e78c7
configure telemetry on build (#2852) 2019-06-01 01:16:32 +08:00
Elias Nahum
6e7e083aee Update missed MMMConstant.h reference (#2849) 2019-05-30 16:31:12 -07:00
Elias Nahum
9bddbe6642 MM-15912 Fix uploads stuck at 100% (#2847) 2019-05-30 11:57:15 -07:00
Harrison Healey
3503025e53 MM-15643 Better close app when checking for pin code (#2846) 2019-05-30 11:46:35 -07:00
Harrison Healey
daa8152691 MM-15575 Rename Constants.h to fix naming conflict (#2840)
* MM-15575 Rename Constants.h to fix naming conflict

* Rename to MMMConstants
2019-05-29 22:34:34 -04:00
Elias Nahum
c467f9af50
Bump app build number to 195 (#2843) 2019-05-28 16:35:19 -04:00
Harrison Healey
098a0404f7 MM-15575 Make Entry mount properly after hydration (#2839)
* MM-15575 Make Entry mount properly after hydration

* Clear unsubscribeFromStore after calling it
2019-05-28 11:36:35 -07:00
Eli Yukelzon
a6307c5ca6 MM-12320 - Change "about" section references to use the site name when it is configured (#2835)
* Change "about" section references to use the site name when it is configured

* Removed non-english changes

* Removed non-english changes

* cleanup

* Fixed indentation

* destructuring
2019-05-28 08:49:23 -04:00
Harrison Healey
6e099d6a21 MM-15643 Send user to settings when passcode is required (#2836)
* MM-15643 Send user to settings when passcode is required

* Allow access to the managed config in the iOS extensions
2019-05-27 19:38:32 -04:00
Elias Nahum
de37a2aa7a
Fix autocomplete showing behind the keyboard on iOS and not working on Android (#2830)
* Fix autocomplete showing behind the keyboard on iOS and not working on Android

* Unbundle config for Android

* Dismiss keyboard on post long press, fix scroll to bottom on new message and update tests

* Add a timeout before scrolling to give time to render the last post

* Fix crash on Android
2019-05-27 19:18:43 -04:00
Miguel Alatzar
b1bdd2b07c Add unit test for PostBody's measurePost (#2833) 2019-05-25 11:58:49 -04:00
Miguel Alatzar
f444b70f4f
Allow updating of isLongPost after editing message (#2829) 2019-05-24 14:49:44 -07:00
Elias Nahum
0d38b22a51
MM-15667 if post was removed exclude it from postsInChannel (#2831) 2019-05-24 15:35:28 -04:00
Miguel Alatzar
a8eb25c965 [MM 15552] Determine number of placeholder rows from height (#2827)
* Calculate maxRows in ChannelLoader component

* Update rn-placeholder

* Fix style check
2019-05-24 12:01:02 -04:00
Elias Nahum
6c1b366680 update react-native-device-info crash fix (#2824) 2019-05-23 09:44:38 -07:00
Elias Nahum
ecfeee78a2 Allow drawer pan responder when switching teams (#2823) 2019-05-23 09:00:48 -07:00
Saturnino Abril
7aff7067a9
fix link on Android beta signup message (#2822) 2019-05-23 07:24:55 +08:00
Elias Nahum
b179ce34e1 Fix android release link (#2821) 2019-05-23 07:01:49 +08:00
Elias Nahum
afc451fa77
move apk using the full path (#2820) 2019-05-22 16:46:27 -04:00
Elias Nahum
8a9d8acdb5
Fix Build script apk location (#2819) 2019-05-22 14:49:56 -04:00
Elias Nahum
2f6fb08e44
Bump Version & Build number (#2818)
* Bump app version number to 1.20.0

* Bump app build number to 194

* Update fastlane
2019-05-22 12:05:05 -04:00
Harrison Healey
fcd9e401f5 MM-15582 Don't show forgot password link without email/username login (#2811) 2019-05-22 11:55:27 -04:00
Miguel Alatzar
152e1fe264 Upgrade react-native-sentry (#2815) 2019-05-22 10:17:24 -04:00
Elias Nahum
90d9b7acca
Fix code so it can be parsed by mmjstool (#2816) 2019-05-22 09:31:30 -04:00
Saturnino Abril
d498f15040
Update mmjstool commit with fix on newline to end of file (#2814)
* update mmjstool commit with fix on newline to end of file

* explicitly add commit to package.json
2019-05-22 16:50:12 +08:00
Miguel Alatzar
ccadc551ce
Update mattermost-redux (#2813) 2019-05-21 13:04:56 -07:00
Saturnino Abril
7fe198aade
fix fastlane for PR build (#2804) 2019-05-22 00:43:48 +08:00
Saturnino Abril
1b876fe85d [MM-15695] Move i18n check from shared pipelines to makefile as i18n-extract-ci (#2808)
* move i18n check from shared pipelines to makefile as i18n-extract-ci

* updated per feedback
2019-05-21 09:34:04 -07:00
Miguel Alatzar
9931ec209b
Allow flagging of read-only channel posts (#2801) 2019-05-21 09:11:45 -07:00
Harrison Healey
1299b9d995 MM-14802 Add autocorrect when editing a post (#2810) 2019-05-21 08:51:00 -07:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:02:00 -04:00
Saturnino Abril
ff4374f59f [MM-15407] Add ability to upload compiled app to S3 via fastlane with S3 path as "<s3_bucket>/<version_number>/<build_number>/<file>.(apk | ipa | app.zip)" (#2796)
* add ability to upload compiled app to S3

* make upload_file_to_s3 as generic and rename function to qa_build_message

* change single to double quote for interpolation
2019-05-17 08:26:45 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets (#2793)
* Keep the channel drawer opened on tablets

* update en.json after running mmjstool

* Set the channel drawer to width 220

* feedback review

* PM Review

* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
d0071c21b0 MM-15282 Fix cutoff placeholder on Android (#2798)
* MM-15282 Fix cutoff placeholder on Android

* Feedback review
2019-05-16 17:35:09 -07:00
Elias Nahum
bbfd6e820f
Fix select default channel (#2800)
* Fix select default channel

* use utility with channels in team object

* feedback review

* update mattermost-redux
2019-05-16 20:02:19 -04:00
Elias Nahum
013579c69f MM-15481 close post menu when replying to a message (#2797) 2019-05-16 16:25:48 -07:00
Elias Nahum
57a117add0 MM-15427 Google Play 64-bit requirement compliance (#2792) 2019-05-16 16:15:08 -07:00