Commit graph

2413 commits

Author SHA1 Message Date
Mattermost Build
810f73e3ad Automated cherry pick of #3026 (#3031)
* Parse source URI

* Revert "Parse source URI"

This reverts commit 1cf421c9b9897e46881685aabebb793ad6ff4c07.

* Pass imageUri instead of defaultSource to ProgressiveImage

* Parse source URI in ImageCacheManager
2019-07-25 11:05:13 -07:00
Mattermost Build
14421ba8e9 MM-17100 setCSRFFromCookie with subpath support (#3040) 2019-07-25 11:01:49 -07:00
Mattermost Build
5c4405278b MM-17120 Update fastlane image to a working one (#3045)
https://mattermost.atlassian.net/browse/MM-17120
2019-07-25 09:21:12 -04:00
Elias Nahum
067a5481ff
Bump app build number to 212 (#3042) 2019-07-25 08:46:44 -04:00
Mattermost Build
c267b8dd13 Check initialIndex in callback (#3032) 2019-07-24 14:23:06 -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
Mattermost Build
1f8e853e41 Apply new theme to all navigation components (#3021) 2019-07-24 09:24:54 -04: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
Mattermost Build
e214039cee Call scrollToIndex only if flatListRef.current is not null (#3023) 2019-07-23 11:26:39 -07:00
Mattermost Build
0a93ec134c User popToRoot over resetToChannel (#3018) 2019-07-23 09:16:33 -07:00
Mattermost Build
a0b021d21d Automated cherry pick of #3019 (#3020)
* Fixing guest login

* Fixing eslint
2019-07-23 11:22:43 +02:00
Mattermost Build
75aedb8aa1 Automated cherry pick of #3014 (#3017)
* Add channel_id to failed push notification reply

* Fix typo
2019-07-22 15:40:40 -07: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
50cc6f827e Bump app build number to 211 (#3013) 2019-07-23 02:04:24 +05:30
Mattermost Build
ac11b7fec3 Bump app version number to 1.22.0 (#3011) 2019-07-23 00:40:08 +05:30
Elias Nahum
c9575b464d
Update Fastlane (#3008) 2019-07-22 10:15:17 -04:00
Mattermost Build
a4284666a3 Automated cherry pick of #3002 (#3004)
* Set footerColor the same as navBarBackgroundColor

* Oops, forgot __snapshots__
2019-07-20 09:17:32 +08:00
Elias Nahum
4d5422e98b
Bump app build number to 210 (#3000) 2019-07-19 16:53:40 -04:00
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
Mattermost Build
93498a3ab5 Fix Options modal on iOS (#2994) 2019-07-18 16:00:49 -04:00
Sudheer
6d10915aad MM-16829 Fix for sso with server subpaths (#2987) 2019-07-19 00:08:19 +05:30
Mattermost Build
79653ad814 MM-16815 Remove the failed posts banner on WS reconnect (#2988) 2019-07-18 11:38:37 -04:00
Ewe Tek Min
13bb83c11c
[MM-14303] Able to copy channel header and purpose (#2923) 2019-07-18 11:24:02 -04:00
Mattermost Build
3f6e706fa1 Select server fix login options transition (#2986) 2019-07-18 11:00:29 -04:00
Mattermost Build
5492cd5e46 Automated cherry pick of #2961 (#2985)
* Enable emojis for profile icons from webhooks

Removes borders from profile icons when it is from a custom URL.

* feat: reapply border for all profile pictures and shrink emojis

* feat: remove border from emoji profile pictures

* feat: decide if post has emoji icon through props instead of url

* refactor: better checking of potentially undefined property

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-07-18 10:26:39 -04:00
Miguel Alatzar
55964d2fda
Add placeholderTextColor when using placeholders (#2976) 2019-07-17 12:56:25 -07:00
amyblais
6063ad825a v1.21 Changelog (#2890) 2019-07-17 12:32:08 -04:00
Elias Nahum
cdd7000361
MM-16398 Fix Team/Channel sidebar dots overlap last item (#2975)
* MM-16398 Fix Team/Channel sidebar dots overlap last item

* Feedback review and Tablet support

* Only center dots by width on iPhone X series devices
2019-07-17 11:30:12 -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
dcfb39efa4 Handle null currentChannelMember (#2980) 2019-07-16 17:52:58 -04:00
Harrison Healey
0af97a1f63
Bump app build number to 208 (#2979) 2019-07-16 10:30:18 -04:00
Miguel Alatzar
085a3ecf6c [MM-17016] Ensure Flatlist is mounted prior to calling scrollToIndex (#2977)
* Ensure Flatlist is mounted prior to calling scrollToIndex

* Address review comment
2019-07-16 21:07:59 +08:00
Harrison Healey
175c0df5d9 [MM-11879] Upgrade to RNN v2 2019-07-15 15:39:39 -04:00
Harrison Healey
a053480235 Update fastlane 2019-07-12 12:29:57 -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
amyblais
e8f40f9d79 Update CHANGELOG.md (#2970) 2019-07-12 03:22:02 +05:30
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
f5a9c7df81 Fix Makefile indentation 2019-07-09 14:21:52 -07:00
Miguel Alatzar
d7432d3d41 Merge branch 'master' into rnn-v2 2019-07-09 14:08:15 -07:00
Elias Nahum
83e9dd844a MM-16857 Fix long posts (#2967) 2019-07-09 11:55:56 -04:00
Miguel Alatzar
5838d5163f Wrap setting show true in requestAnimationFrame (#2964) 2019-07-09 10:51:11 -04:00
Saturnino Abril
5715ed8e6f minor fix to access state of websocket (#2965) 2019-07-09 10:50:00 -04:00
Saturnino Abril
aa6ddf062d
fix app chrashing when sending invalid slash command (#2966) 2019-07-09 22:11:29 +08: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
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components (#2920)
* 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

* Update SettingsSidebar and children

* Update EditProfile screen

* Update SettingsSidebar

* Keep track of latest componentId to appear

* Track componentId in state to use in navigation actions

* Update FlaggedPosts and children

* Update RecentMentions

* Update Settings

* Store componentIds in ephemeral store

* Update AttachmentButton

* Remove unnecessary dismissModal

* Fix typo

* Upate NotificationSettings

* Update NotificationSettingsAutoResponder

* Update NotificationSettingsMentions

* Update NotificationSettingsMobile

* Update CreateChannel and children

* Update MoreChannels

* Update ChannelPeek and children

* Update ChannelNavBar and children

* Update ChannelPostList and children

* Update ChannelInfo and children

* Update ChannelAddMembers

* Update ChannelMembers

* Update EditChannel

* Fix setting of top bar buttons

* Update Channel screen and children

* Update PinnedPosts

* Update LongPost

* Update PostOptions

* Update PostTextboxBase

* Update EditPost

* Check-styles fix

* Update DisplaySettings

* Update Timezone

* Update SelectTimezone

* Update IntlWrapper and Notification

* Update InteractiveDialog and children

* Update ExpandedAnnouncementBanner

* Update ClientUpgradeListener

* Update MoreDirectMessages

* Update SelectorScreen

* Update UserProfile

* Update Thread

* Update About

* Update ImagePreview

* Update TextPreview

* Update AddReaction

* Update ReactionList and children

* Update Code

* Update TermsOfService

* Update Permalink

* Update Permalink

* Update ErrorTeamsList

* Update Search

* Remove navigator prop

* Fix setButtons calls

* Remove navigationComponentId

* Fix test

* Handle in-app notifs in global event handler

* Fix in-app notification handling

* Fix typo

* Fix tests

* Auto dismiss in-app notif after 5 seconds

* Fix typo

* Update overlay dismissal

* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Harrison Healey
72594446d5
Bump app build number to 205 (#2960) 2019-07-08 09:45:12 -04:00