Elias Nahum
c71e35ba20
MM-17792 Do not show download option for files uploaded locally ( #3163 )
2019-08-26 10:14:22 -04:00
Saturnino Abril
49ae458944
fix test due to merge conflict ( #3177 )
2019-08-23 15:13:25 -04:00
Matheus Cardoso
73518da91e
Make keyboard dark on dark themes (iOS only) ( #3102 )
...
* Support keyboardAppearance theme parameter
* Change approach of keyboardAppearance to auto-detect
* Fix style
* Update snapshots
* Add unit test for getKeyboardAppearanceFromTheme
* Update snapshot
* Fix failing test
2019-08-23 13:18:05 -04:00
Elias Nahum
d5338f5e39
MM-17886 Do not wait to cancel the video download ( #3164 )
2019-08-22 15:47:06 -04:00
Elias Nahum
ae17195425
Android screen right button colors ( #3146 )
2019-08-19 10:29:43 -07:00
Elias Nahum
9a16e05c54
Fix Regression right buttons color on Android navbar when enable ( #3138 )
2019-08-17 09:03:15 -07:00
Elias Nahum
fca9a6e609
Fix regression close/leave/archive channel redirect to channel screen on Android ( #3139 )
2019-08-17 09:02:07 -07:00
Hossein Ahmadian-Yazdi
ef8813f115
[MM-13843] Edit channel autocomplete is same as the posting message one ( #3038 )
...
* [MM-13843] Edit channle autocomplete is same as the posting message
* [MM-13843] Lint error fixes
* [MM-13843] Address nestedscrollenable warning comment
* [MM-13843] Added test case for edit_channel_info
* [MM-13843] nestedScrollEnabled on at_mention
* [MM-13843] Fix linting issue
* [MM-13843] Fixed test case
* [MM-13843] Address PR comments
* [MM-13843] Made prop not required
2019-08-15 21:22:32 -07:00
Elias Nahum
0856d4b517
Migrate to moment to fix timestamps based on timezone or local time ( #3126 )
2019-08-15 12:32:16 -04:00
Miguel Alatzar
577ab85151
[MM-17565] Set top bar buttons once component is mounted ( #3123 )
...
* Set header buttons after mount
* Do the same for private channel and dm
2019-08-14 15:47:52 -04:00
Miguel Alatzar
ffbae7589f
Apply setNavigatorStyles to all navigation components ( #3121 )
2019-08-15 02:00:21 +08:00
Elias Nahum
e09ce13f65
Fix delete the root post on a thread to properly close the thread screen ( #3116 )
...
* Fix delete the root post on a thread to properly close the thread screen
* Fix unit test
2019-08-14 21:54:12 +08:00
Elias Nahum
32f329fca2
MM-17693 Android fix close settings screen ( #3108 )
...
* MM-17693 Android fix close settings screen
* Fix unit tests
2019-08-13 10:29:54 -04:00
Elias Nahum
f0a885865f
MM-17692 execute callback after closing post options ( #3107 )
...
* MM-17692 execute callback after closing post options
* Fix unit tests
2019-08-13 10:19:11 -04:00
Jesús Espino
7410e3c266
Aligning correctly 'has guests' warning in channel info screen ( #3097 )
...
* Aligning correctly 'has guests' warning in channel info screen
* Fixing eslint problems
* Adding tests
* Fixing tests
2019-08-12 09:14:47 -07:00
Elias Nahum
9aa7d7e523
Exclude the SafeAreaHeader in Select Server screen ( #3094 )
2019-08-12 22:58:12 +08:00
Elias Nahum
9d54853be5
Remove unnecessary component definition ( #3096 )
2019-08-12 22:52:50 +08:00
Miguel Alatzar
d8f9dcc233
[MM-17637] Add flex 1 to wrapper view ( #3087 )
...
* Add flex 1
* Add snapshot test
* Fix placeholder text color
2019-08-12 08:22:21 -04:00
Elias Nahum
f1b87cdaa1
MM-17630 add Navigation bar to terms of service modal ( #3098 )
2019-08-10 22:49:04 +05:30
Asaad Mahmood
3c950c514c
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 13:33:38 -04:00
Elias Nahum
06e333dc52
MM-10193 Apply SafeAreaView to Landscape views ( #3003 ) ( #3081 )
...
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 for landscape Feature
Commit for MM-10193 to the landscape feature with latest pull.
This is the initial commit with SafeAreaView in place, but should not be merged into master as this is step one and not suitable for production.
Another commit will be following with adjustments to allow SafeAreaView to display correctly for users.
* MM-10193 Extend design elements for iPhoneX SafeAreaViews
This is the second portion of the MM-10193 changes for the landscape feature. This item was to extend the design elements for the application into the SafeAreaView so the application looks uniform on the iPhoneX.
* MM-10193 Patch for Snapshot tests and eslint
* MM-10193 Re-Patch
These chanbes mistakenly got reverted from last Patch
* MM-10193 Updates for PR
Fixed the 4 screens from the text box that were missed.
Updated the padding to run from a method.
* Revert "MM-10193 Updates for PR"
This reverts commit fe8d650ce3ca2828d8c94e4af470649aa2582ec1.
* MM-10193 Updates for PR
This reverts commit 4966d83d5401720d26ca22a55cf8f92f1657b7e2.
Applied Updated Snapshots
* MM-10193 Updated Modifier for iphone_x_spacing
Updated Modifier for iphone_x_spacing
* MM-10193 Updates for Review
Review changes for Post Textbox and a few states that were unavailable.
* MM-10193 Fix Longpress padding
Fixed longpress padding for Channel Info and Edit Post views.
* MM-10193 Update isLandscape
Updated isLandscape to pull directly from dimensions.
Updated padding for Recent Mentions and Flagged Posts.
* MM-10193 Updates for review longpost
Updated for longpost padding.
Fixed issue with notifications not padding right correctly.
* MM-10193 Update with Cleanup
Reverted Cocoapods back to 1.5.3.
Cleaned up spacing in two files.
* MM-10193 Merge Conflict Updates
Updates to resolve merge conflicts
2019-08-09 11:14:38 -04:00
Elias Nahum
5869e1a110
Fix pop thread screen when deleting the root post ( #3092 )
2019-08-09 11:04:24 -04:00
janvt
066e98e145
MM-15218 allow interactive dialogs to have no elements ( #3048 )
2019-08-09 08:26:50 -04:00
Hossein Ahmadian-Yazdi
55bd6a2f7e
[MM-13849] Display confirmation box for [at]all and [at]channel ( #3028 )
...
* [MM-13849] Display confirmation box for @all and @channel
* [MM-13849] Fetch Channel stats when user changes channel
* [MM-13849] Address PR comments
* [MM-13849] Addressed PR comments
* [MM-13849] Made getChannelStats into it's own statement
2019-08-08 16:21:52 -04:00
Elias Nahum
e87858d7af
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:28:07 +08:00
Miguel Alatzar
71e56120eb
[MM-17431] Remove flex for horizontalRule ( #3079 )
...
* Remove flex for horizontalRule
* Fix snapshot tests
2019-08-08 07:05:16 -07:00
Miguel Alatzar
c7b5aff765
Fix theme thumbnail width ( #3080 )
2019-08-08 21:53:44 +08:00
Deepak Sah
8167c2ddea
[MM-14593] Add password type for Interactive Dialogs ( #2998 )
...
* Added prop secureTextEntry for password type
* Added test cases for DialogElement
* Fixed issues
2019-08-02 14:14:49 -04:00
Elias Nahum
d230bdac1e
MM-17424 Setting to enable/disable fixed sidebar ( #3060 )
2019-08-02 13:50:31 -04:00
Asaad Mahmood
06f3511222
MM-13083 - Removing refresh button from some pages ( #3010 )
...
* MM-13083 - Removing refresh button from some pages
* Updating test
* Removing unused component
* Updating minor changes
* Updating failed actions import
* Updating post list error screen
* Updating connection issue error message
* Updating network connection messages
* Updating terms of service page
* Updating test
* Updating animations and FailedNetwork component
* Reverting some changes
* Updating channel post list
* Updating requestsed changes
* Updating code changes
* Removing error description
2019-07-29 14:26:24 -04:00
Miguel Alatzar
59e948f06a
Apply new theme to all navigation components ( #3005 )
2019-07-23 12:21:35 -04:00
Miguel Alatzar
228b483153
User popToRoot over resetToChannel ( #3016 )
2019-07-22 17:04:29 -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
Elias Nahum
42e5b79022
Fix Options modal on iOS ( #2993 )
2019-07-18 15:58:49 -04:00
Sudheer
61d3eda1fd
MM-16829 Fix for sso with server subpaths ( #2987 )
2019-07-18 23:08:51 +05:30
Ewe Tek Min
8a9f1f6ccc
[MM-14303] Able to copy channel header and purpose ( #2923 )
2019-07-18 11:09:47 -04:00
Elias Nahum
c226a3a546
Select server fix login options transition ( #2984 )
2019-07-18 10:56:31 -04:00
krjn
5abfb66b78
[MM-16389] Enable emojis for profile icons from webhooks ( #2961 )
...
* [MM-16389] 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:23:41 -04:00
Miguel Alatzar
55964d2fda
Add placeholderTextColor when using placeholders ( #2976 )
2019-07-17 12:56:25 -07: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
dcfb39efa4
Handle null currentChannelMember ( #2980 )
2019-07-16 17:52:58 -04: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
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
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Elias Nahum
20bcb9d44a
Allow the server url to be cleared ( #2942 )
...
* Allow the server url to be cleared
* Remove getDerivedStateFromProps
2019-07-02 10:33:40 -04:00
Elias Nahum
614e6da142
Fix AD/LDAP & SAML profile sync properties ( #2941 )
2019-07-02 10:11:14 -04:00
Miguel Alatzar
30375aa4a2
[MM-16138] Update settings related screens ( #2918 )
...
* 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
* Remove navigationComponentId
2019-06-28 12:03:18 -04:00
Miguel Alatzar
c278614ca1
[MM-16137] Update post related screens ( #2916 )
...
* 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
* Remove navigationComponentId
2019-06-26 18:10:41 -04:00
Miguel Alatzar
b65ce5d283
[MM-16136] Update channel related screens ( #2915 )
...
* 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
* Fix typo
* Use goToScreen for Android too
* Remove navigationComponentId
2019-06-26 16:46:05 -04:00