Commit graph

1658 commits

Author SHA1 Message Date
CJ
e9a2ab37a4 MM-19708 Adjusted display name width to 80% for landscape (#3721)
Adjusted landscape maxWidth for both the base display of the name and the adjusted width with bot/reply buttons.
2019-12-18 11:11:03 -07:00
Mattermost Build
f0e1931d32 Automated cherry pick of #3640 (#3725)
* MM-19837 Remove Opacity from AtMention Markdown

Removed the opacity that was set on the base text style for the markdown on AtMention for system messages.

* MM-19837 Updated opacity for AtMention

The baseTextStyle being used to set the opacity is used across the entire text format, so for this change where an AtMention is used, I added a new opacity to overwrite the on applied by the baseTextStyle.
2019-12-18 11:10:08 -07:00
Mattermost Build
f0047386f6 MM-20682 Android back button to dismiss status modal first (#3724) 2019-12-18 11:09:50 -07:00
Mattermost Build
1f83ccbb6d Automated cherry pick of #3695 (#3722)
* MM-21176 Preserve text on input if command fails

* Add unit test for execute command success
2019-12-18 11:05:22 -07:00
Mattermost Build
765545570f MM-17519: do not stringify booleans (#3717)
Match the webapp behaviour so as to avoid stringifying booleans in the interactive dialog payloads.

Fixes: https://mattermost.atlassian.net/browse/MM-17519
2019-12-17 18:37:13 -05:00
Mattermost Build
23063d852a MM-19920 MM-19924 Fix mis-align post input field attach and send icons (#3718) 2019-12-17 20:35:19 -03:00
Miguel Alatzar
8a05ea1264
[MM-18177] Increase post visibility when creating/receiving a new post for the current channel (#3662) (#3715)
* Increase post visibility for current channel on new post

* Increase post visibility after post creation
2019-12-17 08:55:38 -07:00
Miguel Alatzar
d82a0c6970
[MM-21270] Fixing team join without the invite id (#3710) (#3712)
* Fixing team join without the invite id

* Fixing tests

* Adding tests to verify proper behavior calling the correct function based on the server version

* Extract server version from headers

* Make linter happy

* Update mattermost-redux

* Update mattermost-redux
2019-12-16 19:16:25 -07:00
Elias Nahum
a34c7e3341
Fix Hamburger and iOS App Icon badge number when marking channel as unread (#3705)
* Fix Hamburger and App Icon badge number when marking channel as unread

* Temp mm-redux commit hash

* Update mm-redux commit hash
2019-12-16 07:33:23 -03:00
CJ
fe5e702138
MM-18054 CherryPick for 1.26 (#3698)
CherryPick for 1.26
2019-12-12 19:45:05 -05:00
Mattermost Build
be4c0401a6 MM-20947 Don't mark channel as read when reconnecting to manually unread channel (#3687) 2019-12-10 16:51:31 -03:00
Mattermost Build
d9cd23f68c MM-21062 Added margin to custom Emoji (#3686)
Added margin to custom emoji style to match native emoji.
2019-12-10 13:37:04 -03:00
Mattermost Build
7378e116d6 Automated cherry pick of #3677 (#3679)
* MM-21085 Updated waitHydration

Updated the hydration of hte store to first check if it completed as this was being caused due to a race condition.

* MM-21085 Updated for callback

MM-21085 Updated for callback
2019-12-09 12:58:09 -07:00
Mattermost Build
6953801afa Pass callback to waitForHydration (#3671) 2019-12-06 12:13:55 -07:00
Mattermost Build
6ed2975f71 Show autocomplete view only when there are children (#3670) 2019-12-06 11:39:24 -07:00
Mattermost Build
36228c89a1 Automated cherry pick of #3655 (#3660)
* MM-20790 Mark as Unread option should not be available on mobile if the server does not support it

 * Check for server version with min 5.18v for showing the option
   to mark as unread

* Change if condition
2019-12-03 16:12:22 -03:00
Mattermost Build
79881556cf Fix SSO login on iOS (#3658) 2019-12-03 13:44:02 -03:00
Mattermost Build
a730bec201 MM-20778 Remove caption as part of the file path (#3654) 2019-12-02 21:43:42 -03:00
Mattermost Build
66424a698b MM-20780 MM-20782 Clear cookies on logout (#3653) 2019-12-03 08:36:35 +08:00
Mattermost Build
4f3e5dac1e MM-20789 Enforce SECURE_SOFTWARE (#3647) 2019-12-02 08:26:54 -07:00
Mattermost Build
49d9e5ef73 Automated cherry pick of #3635 (#3641)
* MM-20758 MM-20762 Fix archived channels in more channels screen

* Separate archived and public channels
2019-12-02 06:52:14 -03:00
Mattermost Build
7b0434dcf9 MM-20228 Update Mark as Unread menu option text (#3639) 2019-11-30 14:16:30 -03:00
Mattermost Build
dfc50b7dff Automated cherry pick of #3618 (#3627)
* Use bottom sheet over modal

* check-style fixes
2019-11-28 08:12:45 -03:00
Mattermost Build
4b58f01597 MM-19896 Correct helper text on Email Notifications (#3625) 2019-11-28 07:58:24 -03:00
Mattermost Build
5a16752275 Automated cherry pick of #3623 (#3626)
* MM-20689 Long post to use all available space

* Add footer and update snapshots

* Fix footer ui

* Remove file_ids from connected component
2019-11-28 17:41:23 +08:00
Mattermost Build
05f5b31815 Automated cherry pick of #3608 (#3620)
* MM-20326 - Updating markdown table css

* Updating UI

* MM-20326 - Updating markdown table css
2019-11-28 03:23:32 +08:00
Mattermost Build
a43a4d1c80 Automated cherry pick of #3595 (#3619)
* Fix autocomplete when editing channel header

* Fix iOS scroll

* Use zIndex on header help text view

* No need to use innerRef

* Fix typos
2019-11-27 10:46:08 -07:00
Mattermost Build
551456554d Automated cherry pick of #3610 (#3616)
* MM-20694 Fix race condition when the store has not rehydrated

* Making waitForHydration re-usable
2019-11-27 12:10:51 -03:00
Mattermost Build
bb8ebfba42 Automated cherry pick of #3572 (#3612)
* MM-19834 Fixed direct mentions highlight color

Updated the AtMention to check if it will be highlighted before applying it's color. The highlight function was applying it's color before the AtMention color, so it was being overwritten.

* MM-19834 Start Unit Test

* MM-19834 Added Unit Tests

Added unit tests for the rendering of highlighted/non-highlighted displayname.
2019-11-27 09:12:10 +08:00
Mattermost Build
9661a61353 Fix video player refs (#3605) 2019-11-25 17:31:16 -07:00
Mattermost Build
c4727e2492 Automated cherry pick of #3588 (#3596)
* MM-20201 Fixed asterisk on Nickname

Added optional prop to the Nickname field, which removes the asterisk

* MM-20201 Updated Position field also

Added optional prop to position field.
2019-11-21 18:05:06 -07:00
Mattermost Build
04c660a2e8 Use LifecycleEventListener for MattermostManagedModule (#3585) 2019-11-20 15:32:47 -07:00
Harrison Healey
3ba989f521 Merge branch 'mark-as-unread' into release-1.26 2019-11-19 16:07:42 -05:00
Mattermost Build
b7d4d592cc Automated cherry pick of #3571 (#3577)
* Preview markdown table as 5x5 max

* Make linter happy

* Determine max columns from device width

* Add snapshot test

* Use Dimensions and update unit tests

* Remove async
2019-11-19 12:32:12 -07:00
Harrison Healey
b69c6af2b4 Merge branch 'master' into mark-as-unread 2019-11-19 09:57:43 -05:00
Matheus Cardoso
3bd3e56025
MM-17838 Wrap reactions when they exceed screen size (#3144)
* MM-17838 Wrap reactions when they exceed screen size

* Hide add reaction button after 40 reactions

* Hide add reaction button after 40 reactions

* Fix tests

* Fix crash when post has no reactions and convert to factory

* Create constant and use a separate prop for allowing more reactions
2019-11-18 22:13:34 -03:00
Matheus Cardoso
6c1c64f81d MM-17838 Wrap reactions when they exceed screen size (#3144)
* MM-17838 Wrap reactions when they exceed screen size

* Hide add reaction button after 40 reactions

* Hide add reaction button after 40 reactions

* Fix tests

* Fix crash when post has no reactions and convert to factory

* Create constant and use a separate prop for allowing more reactions
2019-11-18 22:10:38 -03:00
Mattermost Build
68d7aad120 Automated cherry pick of #3562 (#3570)
* Android: Fetch notification in notificationReceiptDelivery (#3552)

* Fetch notification in notificationReceiptDelivery

* Fix patch

* Fix patch take 2

* No need to send user_id to ack endpoint

* Just putString in mNotificationProps

* Fix patch take 3

* Revert react-native-notifications patch

* Update patch and fix rejections

* Remove trailing newline in patch

* Move PushNotification changes to end of patch

* npm cache test

* Revert "npm cache test"

This reverts commit d31030aaeeb010c1c3d22a5f6196191eeb849add.

* Created patch after upgrading node

* Created patch after upgrading node take 2

* Remove androidx changes from patch

* Patch packages then jetify

* Cache node_modules without patches

* Remove adding of default message (#3557)

* iOS: Fetch id-loaded push notification from server (#3556)

* Fetch notification from server

* Parse fetched notification response

* Fix id-loaded notifications for DM/GM's

* Only add keys if they exist

* Throw exception if response code is not 200
2019-11-18 14:40:43 -08:00
Miguel Alatzar
ba76e5eac7 [MM-16232] ID loaded push notifications (#3562)
* [MM-16232] Android: Fetch notification in notificationReceiptDelivery (#3552)

* Fetch notification in notificationReceiptDelivery

* Fix patch

* Fix patch take 2

* No need to send user_id to ack endpoint

* Just putString in mNotificationProps

* Fix patch take 3

* Revert react-native-notifications patch

* Update patch and fix rejections

* Remove trailing newline in patch

* Move PushNotification changes to end of patch

* npm cache test

* Revert "npm cache test"

This reverts commit d31030aaeeb010c1c3d22a5f6196191eeb849add.

* Created patch after upgrading node

* Created patch after upgrading node take 2

* Remove androidx changes from patch

* Patch packages then jetify

* Cache node_modules without patches

* Remove adding of default message (#3557)

* [MM-16232] iOS: Fetch id-loaded push notification from server (#3556)

* Fetch notification from server

* Parse fetched notification response

* Fix id-loaded notifications for DM/GM's

* audit fix

* Only add keys if they exist

* Throw exception if response code is not 200
2019-11-18 19:29:49 -03:00
Harrison Healey
725e9a6985 Merge branch 'master' into mark-as-unread 2019-11-18 17:21:42 -05:00
Mattermost Build
7fd1e26678 MM-19991 Filtering search by channel should also show the channel name and not only its ID (#3568) 2019-11-18 12:59:27 -03:00
Elias Nahum
b2e657b159 MM-19991 Filtering search by channel should also show the channel name and not only its ID (#3561) 2019-11-18 23:56:01 +08:00
Mattermost Build
3d7acb2eb9 MM-20007 Fix app crashes when previewing some gif files (#3567) 2019-11-18 12:36:29 -03:00
Elias Nahum
00874eb3ff MM-20007 Fix app crashes when previewing some gif files (#3563) 2019-11-18 10:31:29 -05:00
Mattermost Build
df5c1d73fe Fix theme color for the more channel options (#3566) 2019-11-18 12:19:23 -03:00
Elias Nahum
c68138150e Fix theme color for the more channel options (#3565) 2019-11-18 23:16:30 +08:00
Valentijn Nieman
6020df0b38 MM-19337 Enable users to view archived channels (#3514)
* Archived channels dropdown in more channels modal

* Rename redux actions for archived channels

* Fixed tests and updated snapshots

* Unit test for search in more_channels

* Use translation for dropdown label

* Minimum server requirement for dropdown

* Use BottomSheet instead of Picker component

* loadPublicAndArchivedChannels action instead of separate channel get actions

* Add styles to StyleSheet

* Update mattermost-redux hash

* Update mattermost-redux hash

* Default case for switching channels dropdown

* Improve imports in more_channels.js component

* Fix typo in import

* Add padding to dropdown if landscape

* Update snapshot

* Page counter for public and archive channels

* Updated mattermost-redux commit hash

* Bottom sheet title for ios

* i18n-extract for new showArchived and showPublic strings

* Update mattermost-redux commit hash to latest master
2019-11-18 22:46:50 +08:00
Valentijn Nieman
759d1ce86d MM-19337 Enable users to view archived channels (#3514)
* Archived channels dropdown in more channels modal

* Rename redux actions for archived channels

* Fixed tests and updated snapshots

* Unit test for search in more_channels

* Use translation for dropdown label

* Minimum server requirement for dropdown

* Use BottomSheet instead of Picker component

* loadPublicAndArchivedChannels action instead of separate channel get actions

* Add styles to StyleSheet

* Update mattermost-redux hash

* Update mattermost-redux hash

* Default case for switching channels dropdown

* Improve imports in more_channels.js component

* Fix typo in import

* Add padding to dropdown if landscape

* Update snapshot

* Page counter for public and archive channels

* Updated mattermost-redux commit hash

* Bottom sheet title for ios

* i18n-extract for new showArchived and showPublic strings

* Update mattermost-redux commit hash to latest master
2019-11-18 22:38:30 +08:00
Mattermost Build
fbf712dc8e MM-19993 Fix Channel spinner is black on dark theme (#3564) 2019-11-18 11:09:09 -03:00
Elias Nahum
17a7054ae6 MM-19993 Fix Channel spinner is black on dark theme (#3558) 2019-11-18 22:04:52 +08:00