Commit graph

1460 commits

Author SHA1 Message Date
Miguel Alatzar
290e65ac57
Various fixes (#3287)
* Ensure onAppStateChange runs only after GlobalEventHandler is configured (#3268)

* Updated Info.plist with new bluetooth usage description key (#3275)

* Call scrollToIndex only when ref is set and index is in range (#3285)

* Update ios/Mattermost/Info.plist

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Null check on current (#3309)

* Null check on current

* Null check on current

* [MM-18779] Reset moment local on logout (#3310)

* Reset moment local on logout

* Update app/selectors/i18n.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-09-25 11:52:07 -07:00
Mattermost Build
5b858e2f06 Automated cherry pick of #3238 (#3255)
* Set moment timezone locale as needed to prevent moment and intl locale getting out of sync

* Update app/i18n/index.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Updates per feedback
2019-09-12 11:57:34 -03:00
Mattermost Build
a9064aca0f When searching for profiles, allow inactive (#3254) 2019-09-12 11:31:58 -03:00
Mattermost Build
521435748e Automated cherry pick of #3240 (#3253)
* Fix edit profile screen being dismissed when removing profile picture

* Fix test
2019-09-12 11:30:58 -03:00
Mattermost Build
001c105ff7 Automated cherry pick of #3242 (#3247)
* MM-18465 Add proper flags when opening settings

* Fix undefined setPerformingAuthentication Function in emm_provider.
2019-09-12 00:59:44 -03:00
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
Mattermost Build
be5ff217da Replicated missing user functionality for system messages from webapp in RN (#3236) 2019-09-10 13:08:39 -04:00
Mattermost Build
8004a906cf Removing caching of failed image loading attempts (#3234) 2019-09-10 13:04:17 -04:00
Elias Nahum
9f92824dae MM-18223 Fix channel actions on combined sidebar (#3221) 2019-09-09 21:25:40 +08:00
Devin Binnie
f530c227b2
[MM-18172] Added state for message length such that alerts for long length aren't fired too often - cherry-pick (#3225)
* [MM-18172] Added state for message length such that alerts for long length aren't fired too often (#3218)

* [MM-18172] Added state for message length such that alerts for long length aren't fired too often

* Added a test

* Naming change

* Merge'd

* Merge'd
2019-09-05 09:39:39 -04:00
Miguel Alatzar
dc81742404 Rebuild emojis when emojis change and use props.deviceWidth (#3208) 2019-09-01 10:59:44 +09:00
Mattermost Build
9d357a0333 Increase cancel button width (#3204) 2019-08-30 05:31:02 +05:30
Miguel Alatzar
4dfecea7d1
Set rebuilt emojis only after search bar animation completes (#3191) 2019-08-26 10:42:00 -04:00
Mattermost Build
ada8d4863b Re-render MainSidebar on theme change (#3194) 2019-08-26 10:19:17 -04:00
Mattermost Build
ac2e8dc02f Automated cherry pick of #3170 (#3193)
* update attachment image when image url changes

* update image dimensions from metadata

* use componentDidUpdate

* add tests for AttachmentImage

* add test for when imageUrl is not present
2019-08-26 10:18:57 -04:00
Mattermost Build
3b6ca6fdb8 MM-17792 Do not show download option for files uploaded locally (#3192) 2019-08-26 10:17:54 -04:00
Mattermost Build
820b3f73e6 do not dispatch navigation actions when opening the app from a push notification (#3185) 2019-08-23 22:20:37 -04:00
Mattermost Build
92cfb3ddef Update sentry (#3180) 2019-08-23 16:01:43 -04:00
Mattermost Build
8fd6c86705 Automated cherry pick of #3137 (#3176)
* MM-17589 Update passcode required help text in share extension

* MM-17589 Update passcode required help text in app
2019-08-23 12:27:58 -04:00
Mattermost Build
b36b395a0b MM-18024 MM-18025 Fix race condition when push notification opens the app and credentials are not set (#3171) 2019-08-23 10:04:24 -04:00
Mattermost Build
0115610152 MM-17886 Do not wait to cancel the video download (#3166) 2019-08-22 20:55:11 -04:00
Mattermost Build
3427e917f4 update moment locale as lowercase (#3157) 2019-08-21 19:07:06 -04:00
Mattermost Build
f79c33099e Automated cherry pick of #3127 (#3151)
* MM-17700 - Updating bot tag css

* Updating spacing for android
2019-08-19 17:18:26 -07:00
Mattermost Build
57d148bbf9 Android screen right button colors (#3148) 2019-08-19 10:33:47 -07:00
Mattermost Build
51050e31a9 Fix Regression right buttons color on Android navbar when enable (#3141) 2019-08-17 09:07:56 -07:00
Mattermost Build
9c00f51058 Fix regression close/leave/archive channel redirect to channel screen on Android (#3140) 2019-08-17 09:07:46 -07:00
Miguel Alatzar
5bef5c2da8 Remove renderHasGuestText (#3131) 2019-08-16 03:45:34 +05:30
Miguel Alatzar
b064312e70 Revert "Remove renderHasGuestText"
This reverts commit e82db7840f.
2019-08-15 15:08:25 -07:00
Miguel Alatzar
e82db7840f Remove renderHasGuestText 2019-08-15 15:06:10 -07:00
Elias Nahum
b8b7d54185
Migrate to moment to fix timestamps based on timezone or local time (#3126) 2019-08-15 12:40:07 -04:00
Mattermost Build
8416525487 Fix loosing the server config when handleManagedConfig (#3128) 2019-08-15 08:27:52 -07:00
Mattermost Build
d7a85fe2de Automated cherry pick of #3123 (#3124)
* Set header buttons after mount

* Do the same for private channel and dm
2019-08-14 15:54:46 -04:00
Mattermost Build
c1957ac6a0 Apply setNavigatorStyles to all navigation components (#3122) 2019-08-15 02:06:57 +08:00
Mattermost Build
90dba40a92 Automated cherry pick of #3116 (#3120)
* Fix delete the root post on a thread to properly close the thread screen

* Fix unit test
2019-08-14 09:34:18 -07:00
Mattermost Build
ff7548251b Automated cherry pick of #3115 (#3117)
* Await getSource

* Use server url from EphemeralStore

* Set currentServerUrl in getAppCredentials too
2019-08-14 16:11:55 +05:30
Harrison Healey
e03b72861c MM-17425 Disable Send button when sending post (1.22) (#3100)
* MM-17425 Disable Send button when sending post (1.22)

* Update snapshot and add tests
2019-08-14 16:02:48 +05:30
Mattermost Build
94aa1be435 Automated cherry pick of #3108 (#3113)
* MM-17693 Android fix close settings screen

* Fix unit tests

* fix snapshot
2019-08-13 10:34:07 -04:00
Mattermost Build
7bf3020490 Automated cherry pick of #3107 (#3112)
* MM-17692 execute callback after closing post options

* Fix unit tests

* Fix snapshot
2019-08-13 10:29:32 -04:00
Saturnino Abril
880cbd9f3d MM-15218 Open as alert dialog when interactive message is without element (#3088) 2019-08-13 22:23:21 +08:00
Mattermost Build
390c30af00 Do not track foreground notifications when notification is opened (#3111) 2019-08-13 10:18:55 -04:00
Mattermost Build
3ed078f4ce Automated cherry pick of #3087 (#3106)
* Add flex 1

* Add snapshot test

* Fix placeholder text color
2019-08-12 10:13:29 -04:00
Mattermost Build
9ae69d9b43 MM-17630 add Navigation bar to terms of service modal (#3103) 2019-08-10 22:54:53 +05:30
Mattermost Build
eb314d714a MM-17612 Fix fetch periodic status updates when re-connecting (#3101) 2019-08-09 18:53:29 -04:00
Asaad Mahmood
cdd7a54ef4 MM-17484 - Updating loading rows (#3076)
* MM-17484 - Updating loading rows

* Updating test

* Updating mobile loader css

* Updating test

* Updating changes

* Updating tests
2019-08-09 14:40:07 -04:00
Mattermost Build
41ddb5cc1a Fix pop thread screen when deleting the root post (#3093) 2019-08-09 11:06:16 -04:00
Mattermost Build
aceef20257 Increase ReplyIcon dimensions (#3091) 2019-08-09 06:09:19 -07:00
Mattermost Build
a5f8b9bdcc MM-15218 allow interactive dialogs to have no elements (#3090) 2019-08-09 08:31:13 -04:00
Mattermost Build
18b7a3c0a1 Automated cherry pick of #3074 (#3085)
* MM-17562 scroll to new message line indicator on componentDidUpdate

* feedback review

* Cancel animation frame requests
2019-08-08 15:52:40 -04:00
Elias Nahum
7b75868101 Various fixes (#3078)
* MM-17588 Remove navigation component from stack

* MM-175986 Fix Clock Display Settings on iOS

* Fix markdown and team icon currentServerUrl

* Fix closing permalink logs out the user

* Fix file attachment document ref

* Fix applyTheme when changing a theme in the app

* Feedback review

* remove / when fetching the image on the markdown table on relative paths
2019-08-08 22:39:27 +08:00
Mattermost Build
24bd57ad3f Automated cherry pick of #3079 (#3083)
* Remove flex for horizontalRule

* Fix snapshot tests
2019-08-08 10:10:22 -04:00