Commit graph

2156 commits

Author SHA1 Message Date
Elias Nahum
3c034ae3c4
MM-36640 Bring back permalink view on search/recent mentions/pinned and saved posts (#5482)
* Downgrade RNN to avoid bug that cuts off permalink view on iOS

* Bring back permalink view on search/recent mentions/pinned and saved posts

* fix test snapshot
2021-06-24 12:55:46 -04:00
Mattermost Build
2119cb4f85
Fixed custom status issues (#5476) (#5477)
Fixed MM-36571 and MM-36601 issues by dispatching RECEIVED_ME action on websocket reconnecting
Added memoization in makeGetCustomStatus in custom status emoji component
Fixed e2e test case failing due to post header custom status emoji

(cherry picked from commit c06b5ecb4f)

Co-authored-by: Manoj Malik <manoj@brightscout.com>
2021-06-22 10:34:05 -07:00
Mattermost Build
d78ad793a8
MM-36588 rebind the correct post list to the native view (#5472) (#5473)
(cherry picked from commit 683c6f5df7)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-21 12:23:06 -04:00
Mattermost Build
286f05c3be
fix: connect websocket when the component mounts (#5456) (#5457)
(cherry picked from commit 0e81e0e2a8)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-14 16:01:54 -04:00
Mattermost Build
bc39b38bf4
fix: reset iOS scrollView when switching channels (#5447) (#5448)
* fix: reset iOS scrollView when switching channels

* cancel animation frame after resetting the scrollview

* add useResetNativeScrollView hook

(cherry picked from commit b2d233b5ed)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-11 18:44:49 -04:00
Mattermost Build
9173752390
1.44 fixes (#5444) (#5446)
* fix: get status as soon as appstate is in the foreground

* re-render post list when theme changes

* remove invalid userIds from get status request

(cherry picked from commit 6335932883)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-11 14:46:26 -04:00
Mattermost Build
033241691c
MM-36269 fix post reaction handle press (#5438) (#5442)
(cherry picked from commit c7ef19d36e)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-09 15:57:10 -04:00
Mattermost Build
3a4c9e75bf
Fixed the warning about isCustomStatusEnabled prop in ChannelInfo (#5436) (#5439) 2021-06-08 13:58:13 -04:00
Mattermost Build
abc2f30ef3
MM-34586 Custom status feature (#5220) (#5420)
(cherry picked from commit e442275c6f)

Co-authored-by: Chetanya Kandhari <chetanya.kandhari@brightscout.com>
2021-06-04 09:02:35 -04:00
Mattermost Build
0d83ac4c93
Post List & post components refactored (#5409) (#5417) 2021-06-03 14:59:42 -04:00
Joseph Baylon
1fd4edba83
MM-35675 Detox/E2E: Add e2e for message reply (#5406) 2021-06-01 07:38:07 -07:00
Joseph Baylon
19196170dc
MM-35674 Detox/E2E: Add e2e for autocomplete and at-mention (#5404)
* MM-35674 Detox/E2E: Add e2e for autocomplete and at-mention

* Uncomment previously commented out line

* Fix verification comment
2021-06-01 07:37:34 -07:00
Joseph Baylon
4270148f7d
MM-35671 Detox/E2E: Add e2e for markdown table, separator, and block quote (#5399)
* MM-35671 Detox/E2E: Add e2e for markdown table, separator, and block quote

* Revert podfile

* Fix markdown block quote comment
2021-05-24 07:20:49 -07:00
Anurag Shivarathri
6e23fbe7a7
MM-32921 shared channels (#5241)
* Unable to open previews from search, pinned and mentions

* Updated Compass Icons

* Added Icon to LHS and Channel Info

* Added Icons to Manage/View Members list

* Added Icon to shared users in posts

* Added icon to channel header, fixed header style

* Added Icons in autocomplete

* WIP: Add shared shannels to browse

* Adding Shared Channels string to i18n

* Added remote organization to remote user profile

* Updated snapshot for channel header

* Added browsing shared channels

* Removed the exmpty line

* Added snapshot when user is remote

* Reverted compass icons and added icons only needed for shared channels

* Fixed i18n swapped

* Copied compass-icons from webapp

* Fixed showing shared channels as deleted after browsing them

* Added new compass ttf to android & fixed icon style for browse channel listing

* Fixed search for shared channels

* user profile snapshot updated with testId

* User list row snapshot updated with testID

* Moved shared user check to util function

* Fixed required props warning for ChannelIcon component

* Update app/screens/user_profile/index.js

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Removed Request related redux

* Reverted client4

* Added rest calls

* Updated snapshot

* Reverted files

* Adding back shared channels stuff to channel icon & showing shared channels only when enabled in browse channels

* Fixed misc issues

* moved empty array outside the function to avoid re-render

* Removed renaming fields

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-05-24 16:07:47 +05:30
Elias Nahum
6ea6366e1c
MM-35384 Add country variant localization support (#5397) 2021-05-20 11:58:53 -04:00
Joseph Baylon
d464f102fb
MM-35670 Detox/E2E: Add e2e for mark post unread and read (#5396) 2021-05-20 08:16:52 -07:00
Elias Nahum
288c847518
Add Perf metrics, some cleanup & dep updates (#5378) 2021-05-12 08:48:20 -04:00
Michael Kochell
7227675320
Allow post option modal to close before opening app modal (#5383)
* Allow post option modal to close before opening app modal

* lint

* revert commits

25ea111d9ab1441094de2b27e1af18a22d863a33 and c0d9e2128610eb02123ccd7362597fd0499d11be

* wait for post options to close before kicking off request
2021-05-11 12:32:49 -04:00
Elias Nahum
71e0150d27
MM-35320 Fix race condition when saving draft on tablets (#5379) 2021-05-10 15:13:51 -04:00
Elias Nahum
17fd4ee278
MM-32591: Reliable Websockets: Client side changes (#5362) 2021-05-07 08:20:41 -04:00
Elias Nahum
d42aba8287
MM-31510 fix: last message is rendered behind the input box on iPad (#5365) 2021-05-03 16:35:52 -04:00
Elias Nahum
4880689bdc
MM-31874 Properly use theme mention highlight link color (#5366) 2021-05-03 11:34:51 -04:00
Elias Nahum
f14d4ee70f
MM-34069 include current user in return values from getProfile* actions (#5308) 2021-04-29 16:21:45 -04:00
Michael Kochell
f3b7c3a978
[MM-34203] Send team id on bindings call (#5316)
* send team id on bindings call

* lint
2021-04-29 10:23:58 -04:00
Michael Kochell
3eaa538707
[MM-34746] Fix ephemeral error message response (#5304)
* fix ephemeral error message response

* extract helpers for posting call responses
2021-04-29 09:59:06 -04:00
ctlaltdieliet
a62a2daf84
Adding new language Hungarian Beta (#5357)
* Adding English Australia to the languages

* µqµMM-34093 Adding English Australia (Beta) to the languages

* Adding empty en-AU.json file

* remove empty en-AU.json

* Adding Hungarian Beta

* removing En-AU en copy/paste fix

Co-authored-by: Tom De Moor <tomdemoor@pop-os.localdomain>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2021-04-29 12:38:00 +02:00
Elias Nahum
1b36529853
MM-34407 Use Avatars for Sidebar DMs (#5334)
* MM-34407 Use Avatars for Sidebar DMs

* Update app/components/channel_icon.js

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* UI feedback

* Align the private channel icon

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2021-04-28 18:54:54 -04:00
Joseph Baylon
f22d63644f
MM-35071 Detox/E2E: Add e2e for MM-T287, MM-T290, MM-T300, MM-T2350, MM-T3151, MM-T3472 (#5347)
* MM-35071 Detox/E2E: Add e2e for MM-T287, MM-T290, MM-T2350, MM-T3151, MM-T3472

* Revert to original generic android

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-04-27 16:46:50 -07:00
Anurag Shivarathri
e7d5f2c194
MM-24693 Add since query param to the getGroups api request (#5163)
* Added since query param to the getGroups api request

* Update app/actions/views/channel.js

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Replaced lastConnectAt with lastDisconnectAt

* Reverted client4.ts file

* Updated client file

* Fetches all groups enabled/disabled

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-04-27 23:21:19 +05:30
Shaz Amjad
9d605fdce9
Updates input height on edit post (#5349) 2021-04-27 12:13:56 -04:00
Daniel Espino García
f8e67c04ad
Migrate message attachments to typescript (#5127)
* Migrate attachment_image

* Migrate action_menu

* Migrate action_button

* migrate message_attachments

* Remove unintended commited file

* Fix tsc

* Fix tsc

* Fix lint

* Update references

* Make emoji functional component and fix imports

* Use ReactNode instead of JSXElement

* Convert action menu to FC

* Remove unneeded fragments

* Remove unneded undefined check

* Use undefined instead of nil in calculateDimensions

* Make sure height is always defined

* Use is valid URL

* Add missing types

* Lint fixes and remove lodash

* Revert package.json changes

* Put back fragments since they are actually needed

* Fix test

* Fix lint

* Address feedback
2021-04-22 18:21:44 -04:00
Elias Nahum
0a2a490e81
Fixes for release 1.42 (#5339)
* Downgrade MMKV to 0.4.4

* Handle undefined in getMyTeams selector

* Set minimum server version to 5.31.3 and update unsupported URL
2021-04-19 08:41:27 -07:00
Elias Nahum
4c725f157b
MM-27251 Fetch team channels including archived since last known timestamp (#5328) 2021-04-16 09:53:42 -04:00
Elias Nahum
9131b25310
MM-27849 render emojis with appended skin tone (#5297) 2021-04-15 11:26:03 -04:00
Elias Nahum
c9a02d5c8f
Fix at_mention and channel_mention autocomplete on iOS (#5327) 2021-04-15 11:13:09 -04:00
Elias Nahum
13eab98143
Refactor rest client class to use mixin and a bit of cleanup (#5318) 2021-04-15 10:04:36 -04:00
Anurag Shivarathri
812902dbe1
Set url trailing slash (#5322) 2021-04-14 16:16:25 -04:00
Joseph Baylon
09593f7184
MM-30431 Detox/E2E: Added e2e for MM-T3196, MM-T3210, MM-T3211, MM-T3262, MM-T3264 (#5313)
* MM-30431 Detox/E2E: Added e2e for MM-T3196, MM-T3210, MM-T3211, MM-T3262, MM-T3264

* Fix snap test
2021-04-13 09:28:39 -07:00
Elias Nahum
06f8f0b3a5
MM-34714 fix mention highlight to dismiss mentions for non existent users (#5300) 2021-04-09 23:10:12 -04:00
Elias Nahum
c22e93ddb0
Fix logout by preventing the app from showing ErrorTeamsList screen (#5301) 2021-04-09 20:26:10 -04:00
Miguel Alatzar
aecbe9af8e
Fix testID (#5302) 2021-04-09 14:24:37 -07:00
Elias Nahum
e9d0fab8d1
MM-29317 Select default team when current team is archived (#5295) 2021-04-08 20:32:23 -04:00
Elias Nahum
da8c09ff98
MM-31968 Save auto response props on keyboard done (#5273) 2021-04-08 20:30:58 -04:00
Elias Nahum
5156480220
MM-34681 Validate OpenGraph Image before attempting to load (#5294) 2021-04-08 20:28:21 -04:00
Joseph Baylon
7c36bfb6cc
MM-30430 Detox/E2E: MM-T3189, MM-T3231, MM-T3233 (#5293) 2021-04-08 16:15:10 -07:00
Elias Nahum
9c043f1b9f
MM-34585 Use removeClippedSubviews from Lists to improve scroll perf (#5199) 2021-04-08 16:52:23 -04:00
Anurag Shivarathri
66ebe3683b
MM-34508 in-app browser emm configuration (#5274) 2021-04-07 14:15:19 -04:00
Ben Schumacher
c8f8d2c35c
[MM-34491] Respect slash command root label (#5278) 2021-04-07 09:25:21 +02:00
Elias Nahum
c6953bef47
Fix propTypes warnings (#5285) 2021-04-06 21:18:31 -04:00
Elias Nahum
f8a0f29237
Update dependencies (#5266)
* Update dependencies

* Fix lint, use npm@6

* Fix unit tests

* Dowgrade Fastlane

* Fix Fastlane script

* use android:api-29-node ci image

* Infer gradle json file from apk output folder

* Fastlane to Parse new version of gradle output-metadata.json
2021-04-06 11:12:31 -04:00