Commit graph

3644 commits

Author SHA1 Message Date
Mattermost Build
e1329d41a3
Bump app build number to 358 (#5450) (#5451)
(cherry picked from commit d871029b9d)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-11 19:04:41 -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
840fda2051
MM-36256 avoid path traversal for Android image picker (#5432) (#5437)
(cherry picked from commit 0a4dafa127)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-08 09:24:33 -04:00
Mattermost Build
afa18fb5d9
set npm version as part of the npm-dependencies CI task (#5427) (#5428)
* set npm version as part of the npm-dependencies CI task

* Set branch name to only build ios-simulator

(cherry picked from commit 37c74ecef0)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-05 11:47:14 -04:00
Mattermost Build
84de817451
Fix Fastlane Webhook (#5424) (#5425)
(cherry picked from commit e2bb6497df)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-04 11:07:08 -04:00
Mattermost Build
93777aefe6
Force CI to use npm 6.14.11 (#5414) (#5423)
(cherry picked from commit 339a4b0554)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-04 10:46:39 -04:00
Mattermost Build
825d8fcad3
Version number (#5421) (#5422)
* Bump app build number to  357

* Bump app version number to  1.44.0

(cherry picked from commit e87bc86f44)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-04 10:05:18 -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
Mattermost Build
cf88a2ae8f
Update NOTICE.txt (#5415) (#5416)
(cherry picked from commit 2e34ee4a80)

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2021-06-03 13:31:46 -04:00
Weblate (bot)
32a353bd9a
Translations update from Weblate (#5412)
* Translated using Weblate (German)

Currently translated at 88.2% (607 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/

* Added translation using Weblate (English (Australia))

Translated using Weblate (French)

Currently translated at 95.3% (656 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/en_AU/

Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: matthew-w <matthew-w@somehting.au>
2021-06-02 15:23:31 +02:00
Joseph Baylon
1fd4edba83
MM-35675 Detox/E2E: Add e2e for message reply (#5406) 2021-06-01 07:38:07 -07:00
Joseph Baylon
35b4091d5e
MM-35673 Detox/E2E: Add e2e for messaging (#5403) 2021-06-01 07:37:50 -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
Elias Nahum
3181c66348
MM-35992 set android activity affinity to blank (#5408) 2021-06-01 09:36:49 -04:00
Weblate (bot)
24e968c849
Translations update from Weblate (#5410)
* Translated using Weblate (German)

Currently translated at 88.2% (607 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/tr/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/

* Translated using Weblate (Bulgarian)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/bg/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (688 of 688 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/

Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Zsolt Godó <zsolttokio@gmail.com>
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com>
Co-authored-by: Elias  Nahum <elias@mattermost.com>
2021-06-01 09:04:45 +02: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
Joseph Baylon
025b019840
MM-35356 Detox/E2E: Add e2e for channels list and message posting (#5390) 2021-05-17 08:41:05 -07:00
Weblate (bot)
7d2fd3d34a
Translations update from Weblate (#5391)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/

* Translated using Weblate (French)

Currently translated at 95.8% (675 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/

* Translated using Weblate (Bulgarian)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/bg/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

* Translated using Weblate (German)

Currently translated at 86.5% (593 of 685 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

Co-authored-by: Elias  Nahum <elias@mattermost.com>
Co-authored-by: moussetc <Petricorde@outlook.com>
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com>
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-05-17 09:26:05 +02:00
Joseph Baylon
f648d6b883
Patch node modules minSdkVersion affected by RN 0.64.1 upgrade (#5389) 2021-05-15 06:58:21 +08:00
Joseph Baylon
53050595dd
MM-35355 Detox/E2E: Add e2e for channels settings (#5377)
* MM-35355 Detox/E2E: Add e2e for channels settings

* Added disabling of non prepackaged plugins to init

* Fix apiGetChannelByName doc parameter
2021-05-12 08:04:01 -07:00
Elias Nahum
288c847518
Add Perf metrics, some cleanup & dep updates (#5378) 2021-05-12 08:48:20 -04:00
Miguel Alatzar
f47f872b1a
Bump app build number to 356 (#5385) 2021-05-11 10:45:21 -07: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
Weblate (bot)
b07fc7ef04
Translations update from Weblate (#5380)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ja/

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Zsolt Godó <zsolttokio@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2021-05-10 10:37:09 +02:00
Elias Nahum
17fd4ee278
MM-32591: Reliable Websockets: Client side changes (#5362) 2021-05-07 08:20:41 -04:00
Joseph Baylon
a94fcd07d4
MM-35354 Detox/E2E: Add e2e for channel info zephyr cases (#5375)
* MM-35354 Detox/E2E: Add e2e for channel info zephyr cases

* Fix zephyr key
2021-05-06 07:47:46 -07:00
Joseph Baylon
29cfca9876
MM-35311 Detox/E2E: Add e2e for clock settings, language settings, and archived channels (#5364) 2021-05-04 08:17:48 -07:00
Miguel Alatzar
fe48da091f
Bump app build number to 355 (#5372)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-05-04 08:42:41 -04:00
Miguel Alatzar
4ce5a1ea71
Bump app version number to 1.43.0 (#5371) 2021-05-04 08:14:43 -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
Weblate (bot)
88d787036a
Translations update from Weblate (#5367)
* Translated using Weblate (Korean)

Currently translated at 93.1% (656 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ko/

* Added translation using Weblate (Hungarian)

Translated using Weblate (Dutch)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/

* Deleted translation using Weblate (Hungarian)

* Translated using Weblate (French)

Currently translated at 91.4% (644 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/

* Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (704 of 704 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/

Co-authored-by: teamzamong <heekang@korea.ac.kr>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: sakaitsu <godo.zsolt@online-erp.hu>
Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com>
Co-authored-by: William Farelly <wfarelly@orange.fr>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-05-03 10:28:32 +02: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
Shaz Amjad
f01981ca25
[MM-26160] Updates to check if text is string before attaching as string (#5353)
* Updates to check if text is string before attaching as string
* Code tidy-up
2021-04-29 10:54:27 +10: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
Joseph Baylon
267c0e88cc
MM-35073 Detox/E2E: Add e2e for remaining eligible mobile smoke tests (#5352)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-04-27 16:35:03 -07:00
Saturnino Abril
6cf94d7be6
Detox/E2E: Update android emulator using Pixel 4 XL (#5354)
* update android emulator using Pixel 4 XL for detox tests

* update per comment
2021-04-28 06:56:30 +08: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