Commit Graph

349 Commits

Author SHA1 Message Date
Mattermost Build
069774231c Automated cherry pick of #3233 (#3237)
* Update webview library to remove deprecated API

* Remove unnecessary timeout
2019-09-10 18:32:06 -03:00
Elias Nahum
90f6fd6cb8 MM-18179 Clear cache and cookies for SSO login (#3220)
* MM-18179 Clear cache and cookies for SSO login

* Update app/components/failed_network_action/index.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
2019-09-05 20:11:07 +09:00
Mattermost Build
0b49403e92 Automated cherry pick of #3195 (#3196)
* Bump app build number to 226

* Bump app version number to 1.23.0
2019-08-26 10:59:39 -04:00
Mattermost Build
92cfb3ddef Update sentry (#3180) 2019-08-23 16:01:43 -04:00
Mattermost Build
db144dc5a7 Automated cherry pick of #3160 (#3161)
* Bump app build number to 222

* Bump app version number to 1.22.1
2019-08-21 19:14:21 -04:00
Miguel Alatzar
d842d7881a Include archived teams filter change from mattermost-redux 2019-08-02 10:18:47 -07:00
Miguel Alatzar
612d284cbb Include null check on name from mattermost-redux 2019-07-31 13:31:28 -07:00
Mattermost Build
ce325a4ab1 Automated cherry pick of #3001 (#3030)
* Include in-app notifications in iOS badge number

* Make foreground notifications key a const
2019-07-24 14:05:25 -07:00
Jesús Espino
8887319324 Revert Guest Accounts feature (#3024)
* Revert "Automated cherry pick of #3019 (#3020)"

This reverts commit a0b021d21d.

* Revert "Adding guest accounts feature (#2990) (#3015)"

This reverts commit 60030defb8.
2019-07-23 20:55:15 +02:00
Jesús Espino
60030defb8 Adding guest accounts feature (#2990) (#3015)
* MM-15059: Restict the permissions for guests (#2791)

* MM-15057: Adding guest badge to identify guest users (#2774)

* MM-15057: Adding guest badge to identify guest users

* Adding Guest tags in the channel title

* Adding i18n translations

* Adding DM and GM guest warnings

* Fixing check-style

* Adding and fixing tests

* Adding i18n text

* Only showing the subtitle when there is enough space

* Addressing new design changes

* Fixing eslint

* Addressing PR comments

* Moving getChannelStats to the handleSelectChannel action

* Adding the guest info in android landscape channel headers

* simplified the guest warning text generation

* Fixing i18n

* Fixing leaving channel behavior for guests (#2989)

* Fixing leaving channel behavior for guests

* Fixing tests and adding a new one

* fixing typo

* Addressing PR comments

* Addressing PR comments

* Fixing tests
2019-07-22 23:46:15 +02:00
Mattermost Build
ac11b7fec3 Bump app version number to 1.22.0 (#3011) 2019-07-23 00:40:08 +05:30
Elias Nahum
a3783b1bf5 MM-16829 Fix for websocket reconnects for android 2019-07-19 16:49:19 -04:00
Elias Nahum
c31ff56149 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:43:48 -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
Miguel Alatzar
22cc139b00 [MM-17018] Handle null currentChannelMember (#2982)
* Update mattermost-redux
2019-07-16 15:21:18 -07:00
Miguel Alatzar
c321c773c3 Merge branch 'master' into rnn-v2 2019-07-12 09:01:33 -07: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
Harrison Healey
ae521ba026 MM-16695 Update mattermost-redux to add additional null check (#2951)
* MM-16695 Update mattermost-redux to add additional null check

* Update mattermost-redux
2019-07-08 09:11:31 -04:00
Miguel Alatzar
1b9b1e3f39 Merge branch 'master' into rnn-v2 2019-07-05 15:56:56 -07:00
Elias Nahum
bba0b99568 Update device info ref (#2953) 2019-07-05 13:37:55 -04:00
Miguel Alatzar
51aac1e6e7 Merge branch 'master' into rnn-v2 2019-07-02 18:15:19 -07:00
Harrison Healey
0ff6dba3c8 MM-16477 Check for modified users on reconnect (#2936)
* MM-16477 Move websocket status to redux

* MM-16477 Check for modified users on reconnect

* Update mattermost-redux

* Update mattermost-redux
2019-07-02 14:20:48 -04:00
Miguel Alatzar
74c7805e65 [MM-15994] Revert change to use RNN v2's npm script (#2922)
* Revert change to use RNN v2's npm script

* Remove RNN v2 npm script
2019-06-25 09:06:00 -07:00
Harrison Healey
02f97002d0 MM-16480 Update mattermost-redux (#2917) 2019-06-24 17:22:01 -03:00
Miguel Alatzar
913f05e131 [MM-16011] Update screens related to main sidebar (#2907)
* Update screens

* Update login tests

* Remove done

* Fix failing tests

* Update screens and components

* Check styles fix

* Update tests

* Prevent setState call after component unmounts

* Add empty setButtons func to dummy navigator

* Remove platform check

* Remove Platform import

* Update react-native-navigation version

* Add separate showModalOverCurrentContext function

* check-style fixes

* Remove overriding of AppDelegate's window

* Fix modal over current context animation

* Add showSearchModal navigation action

* Check-style fix

* Address review comments
2019-06-24 10:58:15 -07:00
Elias Nahum
36b235d49f MM-16432 Fix missing posts when using since API (#2901) 2019-06-19 18:25:52 -04:00
Elias Nahum
8cc94f52f0 Fix crash on Android by Updating JSC (#2900) 2019-06-19 16:14:50 -04:00
Miguel Alatzar
50a738a702 [MM-16009] Update screens that can be displayed prior to the Channel screen. (#2887)
* Update screens

* Update login tests

* Remove done

* Fix failing tests
2019-06-19 15:42:27 -04:00
Elias Nahum
5d83eef111 Bump app version number to 1.21.0 (#2894) 2019-06-18 16:09:09 -04:00
Miguel Alatzar
0f948f650d Merge branch 'master' into rnn-v2 2019-06-18 09:58:35 -07:00
Miguel Alatzar
a6aa4dd2cc Update react-native-device-info and fix status value: (#2892) 2019-06-17 20:22:54 -07:00
Elias Nahum
6546dfdfd2 Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:24:28 -04:00
Eli Yukelzon
056d5a91b7 MM-15486 - Archived channels appear incorrectly on mobile (#2882)
* properly separate archived channels from 'other'

* make sure fetch is performed to display full list

* reverted unneeded change

* corrected display behaviour

* code cleanup

* redux commit reference updated
2019-06-17 10:22:36 -04:00
Miguel Alatzar
270d148413 Update react-native-notifications (#2881) 2019-06-15 14:18:33 -04:00
Elias Nahum
13d06a4588 MM-16280 Fix when post fail to send (#2880) 2019-06-12 16:20: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
5ff98e8a86 Merge branch 'master' into rnn-v2 2019-06-05 11:25:14 -04: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
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
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
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
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
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
Miguel Alatzar
152e1fe264 Upgrade react-native-sentry (#2815) 2019-05-22 10:17:24 -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
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