Commit graph

1668 commits

Author SHA1 Message Date
Jesse Hallam
8f23aeeae5
Revert "MM-17519: do not stringify booleans (#3717)" (#3803)
This reverts commit 765545570f.
2020-01-13 16:47:24 -04:00
Mattermost Build
5b149d7c96 Automated cherry pick of #3787 (#3801)
* MM-20625 Unit Tests

* Updated tests
2020-01-13 10:40:12 -05:00
Mattermost Build
e5d1a08767 Automated cherry pick of #3786 (#3800)
* MM-21230 Added check for first post

Added a check to see if there was an original postId to validate the moreMessages check.

* Added comment
2020-01-13 10:27:51 -05:00
Mattermost Build
a058941288 Fix iOS Share extension alert message when file size is larger than allowed (#3794)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-01-10 07:45:12 -03:00
Mattermost Build
e2ae1b851f Automated cherry pick of #3768 (#3785)
* MM-20949 Updated verbiage for profile image error

* Updated commit
2020-01-09 09:09:59 -05:00
Mattermost Build
531ffd6d58 Automated cherry pick of #3790 (#3791)
* Handle lower case headers

* Change var name
2020-01-09 16:35:08 +08:00
Mattermost Build
ac8887e30c Automated cherry pick of #3738 (#3740)
* Fix headers for ESR 5.9

* check if reactions is defined to avoid a crash with servers without metadata

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2019-12-19 21:37:07 -07:00
Mattermost Build
474dd76a9a MM-20682 Unit test for dimissing the status modal before the sidebar (#3723) 2019-12-18 11:50:23 -07:00
Mattermost Build
e6e4b3212d MM-19990 Prevent glimpse of the app if TOS not accepted (#3727) 2019-12-18 11:12:05 -07:00
Mattermost Build
b65fc8100d Updated localization items (#3726)
Updated the i18n and default messages for the network failure and entire channel message alert.
2019-12-18 11:11:23 -07:00
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