Commit graph

361 commits

Author SHA1 Message Date
Harrison Healey
ca68f3a244 Merge branch 'master' into mark-as-unread 2019-09-24 09:41:48 -04:00
Elias Nahum
70102d2516 MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3296) 2019-09-23 13:08:32 -07:00
Harrison Healey
d46aebb2a4 Merge branch 'master' into mark-as-unread 2019-09-20 10:42:02 -04: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
Patrick Kang
760b92ceee Adds support for 'radio' type in interactive dialogs (#3212) 2019-09-18 15:35:32 +02:00
Elias Nahum
d28aaf21a8 MM-18241 Fix emoji picker selection and added keyboard tracking on iOS (#3244)
* MM-18241 Fix emoji picker selection and added keyboard tracking on iOS

* Fix flatlist spacing on iOS when searching

* Fix snapshot
2019-09-15 20:31:54 -07:00
Guillermo Vayá
c7a29eea6a [MM-17068] Add set post as unread option to menu (#3202)
* [MM-17068] Add set post as unread option to menu

* [MM-17068] Fix tests

* [MM-17068] add english assets

* [MM-17068] Add bookmark icons for marking as unread

* [MM-17068] reorder menu items

* [MM-17068] fix snapshots

* [MM-17068] merge my post options and others post options
2019-09-13 14:53:18 -04:00
Ewe Tek Min
3706de21e0 Update commonmark package (#3235) 2019-09-12 08:35:13 -03:00
Devin Binnie
7b6033ba5d [MM-18182] Upgrade redux in mobile (#3243) 2019-09-11 14:54:45 -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
Elias Nahum
076e518b11
Update webview library to remove deprecated API (#3233)
* Update webview library to remove deprecated API

* Remove unnecessary timeout
2019-09-10 15:33:19 -03: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
Elias Nahum
67a28d0af3
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 19:23:23 +09: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
405d3d4677
Update sentry (#3179) 2019-08-23 15:59:20 -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
Hossein Ahmadian-Yazdi
01213e56bf [MM-13837] Updated commonmark dependency (#3070) 2019-08-08 03:18:53 -04:00
Miguel Alatzar
94b48813f9
Include archived teams filter change from mattermost-redux (#3061) 2019-08-02 10:13:00 -07:00
Miguel Alatzar
04c22e2efe
Include null check on name from mattermost-redux (#3059) 2019-07-31 13:24:33 -07:00
Miguel Alatzar
a3dd8a753d
[MM-15424] Update dependencies (#3057)
* Update dependencies

- Update babel deps to 7.5.5
- Regenerate module paths
- Remote inline require blacklist from metro config

* Remove socketcluster
2019-07-31 08:15:07 -07:00
Miguel Alatzar
9a894641fc
[MM-14926] Include in-app notifications in iOS badge number (#3001)
* Include in-app notifications in iOS badge number

* Make foreground notifications key a const
2019-07-24 07:58:15 -07:00
Jesús Espino
ee93e4fa59
Adding guest accounts feature (#2990)
* 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 22:14:39 +02:00
Sudheer
15989b79e6
Bump app version number to 1.22.0 (#3009) 2019-07-23 00:37:23 +05:30
Elias Nahum
6daa645556
MM-16829 Fix for websocket reconnects for android (#2999) 2019-07-19 16:48:59 -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
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