Miguel Alatzar
83c9856897
Call scrollToIndex only if flatListRef.current is not null ( #3022 )
2019-07-23 11:21:38 -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
Miguel Alatzar
8e48058fff
[MM-16910] Set footerColor the same as navBarBackgroundColor ( #3002 )
...
* Set footerColor the same as navBarBackgroundColor
* Oops, forgot __snapshots__
2019-07-19 17:29:17 -07:00
Elias Nahum
98da0aa607
MM-16815 Remove the failed posts banner on WS reconnect ( #2983 )
2019-07-18 11:36:37 -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
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
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
Miguel Alatzar
5838d5163f
Wrap setting show true in requestAnimationFrame ( #2964 )
2019-07-09 10:51:11 -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
1b9b1e3f39
Merge branch 'master' into rnn-v2
2019-07-05 15:56:56 -07:00
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Maxim Zaks
bf3f0be37e
Don't show preview if remove_link_preview is set to true ( #2939 )
...
* Don't show preview if remove_link_preview is set to true
* remove white spaces
2019-07-03 01:44:29 +05:30
Elias Nahum
9f88923656
Place the new message indicator at the top of the screen ( #2943 )
...
* Place the new message indicator at the top of the screen
* Add unit tests for channel postVisibility reducer
2019-07-02 12:28:13 -04:00
Michael Kochell
1588f46ae4
Pass cookie for post actions ( #2945 )
2019-07-02 08:18:34 -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
Elias Nahum
bef593c3cf
MM-16467 Fix iOS layout when playing a youtube video in landscape ( #2926 )
2019-06-26 08:33:04 -04:00
Miguel Alatzar
fdb6cc6b2a
[MM-16456] Ensure Flatlist is mounted prior to calling scrollToOffset ( #2925 )
...
* Ensure Flatlist is mounted prior to calling scrollToOffset
* Make linter happy
2019-06-26 17:01:44 +08:00
Miguel Alatzar
150253d392
[MM-16012] [MM-16084] Update screens related to settings sidebar + update SearchResultPost screen and its children ( #2913 )
...
* 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
* Check-style fix
* Address review comments
2019-06-24 12:52:08 -07:00
Jesse Hallam
0e84b91257
MM-16442: count actual reactions before falling back to has_reactions ( #2910 )
...
* MM-16442: leverage post hasReactions utils function
This handles backwards compatibility with servers that do not have post
metadata, allowing the client to detect the presence of reactions that
in turn might need to be loaded when the component is mounted.
* temporary mattermost-redux commit for testing
* revert usage of hasReactions, and count directly
We still fallback to has_reactions if set, in case we're connected to a server without post metadata.
* revert mattermost-redux changes
2019-06-24 15:36:24 -04: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
e6fdef3451
MM-16397 save draft when app state changes ( #2899 )
...
* MM-16397 save draft when app state changes
* Unit tests
2019-06-22 11:21:57 -07:00
Chris Duarte
4d9780da56
Ios accessibility fixes ( #2842 )
...
* UCHAT-4371 // MM-15771 - iOS - Larger Fonts Cut Off Text in menu and settings screens
revert padding right
* Update snapshot
2019-06-21 16:10:16 -04:00
Elias Nahum
3f925df9d9
MM-16392 Split view support & hide sidebar on tablets ( #2898 )
2019-06-21 14:10:30 -04:00
Miguel Alatzar
0f948f650d
Merge branch 'master' into rnn-v2
2019-06-18 09:58:35 -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
7d67f1214e
[MM-16008] Update setNavigatorStyles and replace setOnNavigatorEvent ( #2877 )
...
* Update setNavigatorStyles
* Replace navigator.setOnNavigatorEvent and callbacks
* Update unit tests
* Save user notify props on componentWillUnmount
* Add TODOs about removing componentDidAppear/setNavigatorStyles
* check-styles fix
* Fix eslint errors
2019-06-14 08:14:26 -07:00
Sudheer
d3b2759c36
MM-16228 Add compatibility for removal of ExperimentalEnablePostMetadata flag from config ( #2883 )
2019-06-13 16:29:35 -04:00
Elias Nahum
29240b9c6f
MM-16061 Keep unread channels in place on Tablets ( #2865 )
2019-06-06 15:15:40 -04:00
Elias Nahum
2abf044193
Show broken image for inline images without dimensions ( #2868 )
2019-06-06 15:14:32 -04:00
Elias Nahum
cdfc1a8317
Fix image preview width on tablets ( #2867 )
2019-06-06 21:03:17 +08:00
Elias Nahum
4d664f6654
Fix file upload not completing ( #2866 )
...
* Fix file upload not completing
* Update snapshots
2019-06-06 08:39:06 -04:00
Elias Nahum
bb8f524983
MM-16070 Fix channel sidebar state while filtering ( #2864 )
2019-06-05 19:33:23 -04:00
Elias Nahum
e5dab98a8e
Fix opengraph image on tablet to account for the sidebar ( #2863 )
2019-06-05 17:58:28 -04:00
Elias Nahum
89c2e66dfd
MM-16013 make paperplain animation faster ( #2860 )
2019-06-05 11:06:29 -04:00
Woolim Cho
b81cd49fb4
[MM-13879] Add Edit profile button to RHS menu and own profile pop-over ( #2832 )
...
* Add Edit Profile button to right panel menu
* Make user info of right panel menu opens the users own profile
* Add an Edit button of the users own profile
* handle transitions
* Add commandType to propTypes
* Update test codes
* add unit tests for user_profile
* Assign commandType manually
* Remove async, set delay to 0
2019-06-05 16:11:42 +08: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
9bddbe6642
MM-15912 Fix uploads stuck at 100% ( #2847 )
2019-05-30 11:57:15 -07: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
Miguel Alatzar
b1bdd2b07c
Add unit test for PostBody's measurePost ( #2833 )
2019-05-25 11:58:49 -04:00
Miguel Alatzar
f444b70f4f
Allow updating of isLongPost after editing message ( #2829 )
2019-05-24 14:49:44 -07: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
ecfeee78a2
Allow drawer pan responder when switching teams ( #2823 )
2019-05-23 09:00:48 -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
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets ( #2793 )
...
* Keep the channel drawer opened on tablets
* update en.json after running mmjstool
* Set the channel drawer to width 220
* feedback review
* PM Review
* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
d0071c21b0
MM-15282 Fix cutoff placeholder on Android ( #2798 )
...
* MM-15282 Fix cutoff placeholder on Android
* Feedback review
2019-05-16 17:35:09 -07:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies ( #2777 )
...
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
scott lee davis
6cf8d1a9e8
MM-15442 Filtered list not showing bot account icon ( #2787 )
...
* handle channel.isBot undefined state gracefully
* Use Boolean for is isBot check
Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Jason Blais
d51d4e4c9c
Update help text for at-here, at-channel, at-all ( #2790 )
...
* Update help text for at-here, at-channel, at-all
https://community.mattermost.com/core/pl/kqmabdzqb3df7xx5xjsaosozir
* Update at_mention.js
2019-05-13 11:13:39 -04:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined ( #2783 )
2019-05-10 09:34:23 -07:00
Miguel Alatzar
c91bf75b09
[MM-14887] Include all png, jpeg, and bmp MIME types ( #2781 )
...
* Include all png, jpeg, and bmp MIME types
* Update snapshot
2019-05-09 14:18:24 -07:00
Saturnino Abril
c450c530a7
add lastPostIndex props to Thread and Permalink, and add markers for those screens ( #2780 )
2019-05-09 07:39:58 -07:00
scott lee davis
b819867b50
MM-15228 consecutive bot posts maintain the profile image ( #2746 )
...
* do not group consecutive bot posts
* fixes from make check-style
2019-05-08 09:38:18 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android ( #2719 )
...
* add markers for Android profiling
* update per comments
* Remove beta build flag
* update per comment, latest change on telemetry server and others
* rebase and fix merge conflicts, and update per comments
* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Elias Nahum
5ce9208d32
MM-14958 Scroll to bottom when posting a new message ( #2761 )
2019-05-07 13:28:16 +05:30
Elias Nahum
a16c98b34e
MM-15428 Return empty object for native managed configuration when not set ( #2770 )
2019-05-06 09:20:08 -07:00
Elias Nahum
08df256c1d
MM-14921 Fix iPad layout including safeAreaInsets ( #2748 )
...
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets
* Fix unit tests
2019-05-03 17:42:32 -04:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files ( #2762 )
...
* Get extension from Content-Disposition first
* User ImageCacheManager.cache over getCacheFile
* Add unit tests for ImageCacheManager.getCacheFile
* Add unit tests for ImageCacheManager.cache
* Use exports and require to be able to mock isDownloading
* Chain mockReturnValueOnce calls
* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components ( #2758 )
2019-05-01 18:34:09 -04:00
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts ( #2750 )
...
* MM-14030 Don't show large gifs in posts
* Re-add default argument
2019-05-01 09:34:45 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards ( #2753 )
2019-05-01 09:27:21 -04:00
scott lee davis
5a70bedcbe
MM-15161 show icon for bot instead of system icon in ephemeral post ( #2740 )
...
* show icon for bot instead of system icon in ephemeral post
* added check for if user is null
2019-05-01 09:08:50 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name ( #2754 )
2019-04-30 11:12:28 -04:00
Courtney Pattison
ce5c30e9ca
[MM-9454] Added fade to send button ( #2677 )
...
* [MM-9454] Added jest-enzyme to devDependencies
* [MM-9454] Refactored SendButton as component
* [MM-9454] Added fade to SendButton
* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads ( #2715 )
...
* Allow only for jpeg, png, and bmp profile image uploads
* Add file type if missing and update error id
* Update mattermost-redux commit hash
* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Miguel Alatzar
dc554bdfa7
Delay PostTextbox animation on iOS when clearing text ( #2739 )
2019-04-25 07:51:47 -07:00
Miguel Alatzar
89c0d1b5f9
Increase Typing animation duration and remove handleScrollToRecentPost ( #2730 )
2019-04-23 14:49:15 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar ( #2672 )
...
* Do not expand drawer on search start
* Add state.searching for determining showTeams
* Add leftComponent prop to SearchBar to render SwitchTeamsButton
* Update snapshot tests
* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Chris Duarte
2ca87f7ac4
Reminder message (/remind) do not show message text on mobile. ( #2710 )
2019-04-22 21:56:26 -04:00
Harrison Healey
2e756ba21a
MM-14741 Add default option to post action dropdown ( #2724 )
2019-04-22 14:42:42 -04:00
Elias Nahum
5183bc4b50
MM-15215 fix crash caused by malformed post textbox localize string
2019-04-18 18:24:36 -04:00
Martin Kraft
58f4346e5d
MM-14417: Add messaging for channel mentions of users not in constrai… ( #2711 )
...
* MM-14417: Add messaging for channel mentions of users not in constrained groups.
* MM-14417: Reorder translation.
* MM-14417: Update for new mobile app with old server install.
2019-04-17 10:45:29 -04:00
Harrison Healey
9c53852128
Reorganize post state and make postsInChannel into a sparse array ( #2693 )
...
* MM-13957 Reorganize post actions (#2553 )
* MM-13957 Reorganize post actions
* Update mattermost-redux
* Update mattermost-redux
* Update package-lock.json to resolve build issues
* MM-13958/MM-13959 Make postsInChannel into a sparse array (#2600 )
* MM-13960 Re-add combined system messages (#2637 )
* MM-13960 Re-add combined system messages
* Pass entire post to PostOptions
* Update mattermost-redux
* Update mattermost-redux
* Address feedback
* Update mattermost-redux
2019-04-15 17:20:23 -04:00
Miguel Alatzar
45784e5fcd
Ensure the correct value for channelIsLoading is used ( #2712 )
2019-04-15 10:53:02 -07:00
Jesús Espino
95a9eb9118
Executing translation extraction script ( #2703 )
2019-04-09 15:24:43 -04:00
kosgrz
6b5d0a49e5
[MM-14191] Render emojis in Interactive Message Buttons ( #2640 )
2019-04-09 11:41:39 -04:00
Elias Nahum
825284517e
MM-14960 Use the correct icon set for channel types ( #2699 )
2019-04-08 10:50:38 -07:00
Daniel Schalla
dd5d11e1dd
Add CSRF Header in File Upload and Profile Image Set Operations ( #2686 )
2019-04-04 10:43:54 -04:00
Orjiewuru Kingdom Isaac
102eeb93fe
MM-13151 Increase double tap delay for post action buttons ( #2406 )
...
* Use app state to disable a button when click to prevent double tap
* remove disable button state after 4000ms
* modify preventDoubleTap to have optional delayTime param
* remove local state use for button control
* remove unused method
* remove app state method to disable a button
* Update tap.js
2019-04-02 10:22:31 -04:00
Christopher Speller
ec9e46fb62
MM-13618 Adding bot tags. ( #2669 )
...
* Adding bot tags.
* Snapshot update.
* Moving bot tag to own component.
* Snapshots.
* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.
* Snapshots and tests.
2019-03-26 16:59:45 -07:00
Martin Kraft
7423e7d3bf
MM-14345: Changes the channelIsReadOnly prop to be associated to the post's channel rather than the current channel. Show the unpin regardless of whether a channel is read-only. ( #2656 )
2019-03-25 17:37:54 -07:00
Courtney Pattison
c3a1e3561e
[MM-13381] Added reply to post options ( #2665 )
...
* [MM-13381] Added reply to post options
* [MM-13381] Fixes for adding reply to post options
* [MM-13381] Fixed logic for adding reply to post options
* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Yusuke Nemoto
d852e0991f
Support MinimumHashtagLength setting ( #2583 )
...
* Support MinimumHashtagLength setting
* Set default value if missing
2019-03-22 14:06:02 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin ( #2644 )
2019-03-21 17:52:36 +08:00
Saturnino Abril
e744083833
remove state.value and rely only on props.value ( #2635 )
2019-03-20 22:15:01 +08:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background ( #2658 )
2019-03-19 19:58:23 -03:00
kosgrz
727465140f
[MM-14192] Render hyperlinks in Message Attachment title ( #2617 )
2019-03-07 09:12:33 -05:00
Yusuke Nemoto
e1e1e7cf53
Highlight CJK mention keywords in sentense ( #2590 )
2019-03-07 22:04:10 +08:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams ( #2625 )
2019-03-05 11:56:24 -03:00
Saturnino Abril
2237eb1e60
fix enabling post icon override ( #2611 )
2019-03-05 19:53:07 +08:00
Saturnino Abril
8a4c6de86f
fix intermittent crash when selecting a link ( #2620 )
2019-03-05 02:28:40 +08:00
MartB
0a2bbb73e7
[MM-13824] add one_you strings for better translatability in team/channel related messages. ( #2604 )
2019-03-01 13:15:02 -05:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) ( #2575 )
...
* iOS Native Share Extension (Swift)
* Re-arrange files
* Fix .gitignore
2019-02-26 14:31:57 -03:00
kosgrz
590c7ed45d
[MM-14193] Render emojis in Message Attachment title ( #2591 )
2019-02-25 13:00:45 -03:00
Elias Nahum
88f5848850
Dependencies update ( #2576 )
...
* Dependencies update
* Fix WebView
* Update to RN 0.58.5 and include the WebSocket fix
* Update react-native-video
* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen ( #2468 )
...
* Use updated getJoinableTeams function from mattermost-redux
* Use onEndReached for infinite scrolling of paginated teams
* Add onRefresh
* Update Settings screen to expect joinableTeams as array
* Fix linter issues
* Test that page is updated after getTeams() call
* Revert package-lock.json changes
* Update mattermost-redux dependency
* Update mattermost-redux dependency
* Only call getTeams if more can be loaded and only after a previous
call has completed
* Update snapshot due to prop
* Update CustomList to support refreshing as well as option to not
render the separator
* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
Saturnino Abril
710ae4d601
[MM-14017] Fix whitespace between input box and post list on iOS ( #2580 )
...
* fix whitespace between input box and post list on iOS
* corrected viewPosition when pulling down the post list and add constant for thread screen
* corrected changes made to viewPosition
2019-02-19 21:20:16 -08:00
Elias Nahum
a358c7b99b
Fix opengraph and reactions for older servers ( #2581 )
2019-02-19 19:04:10 -03:00