Commit graph

3629 commits

Author SHA1 Message Date
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
Shaz Amjad
9d605fdce9
Updates input height on edit post (#5349) 2021-04-27 12:13:56 -04:00
Weblate (bot)
9c67364193
Translations update from Weblate (#5351)
* 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 (Turkish)

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/tr/

Translated using Weblate (Turkish)

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/tr/

* Translated using Weblate (Chinese (Simplified))

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/zh_Hans/

* Translated using Weblate (Italian)

Currently translated at 89.0% (627 of 704 strings)

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

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: MattoDeg <degmatt46@gmail.com>
2021-04-26 10:57:39 +02: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
Carlos Tadeu Panato Junior
c01e8080f0
add PR/Issue template and release notes section in the PR template (#5321)
* add PR/Issue template and release notes section in the PR template

* add PR/Issue template and release notes section in the PR template
2021-04-21 10:23:44 -04:00
Paul Rothrock
60ab29919e
Specifying minimum server version in README.md (#5344) 2021-04-21 08:38:36 -04:00
Weblate (bot)
f59e2666a0
Translations update from Weblate (#5337)
* Translated using Weblate (Russian)

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/ru/

* 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: Edward Smirnov <ed@microolap.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-04-19 17:55:27 +02:00
Elias Nahum
a7e0ee262b
Bump app build number to 354 (#5341) 2021-04-19 11:51:06 -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
Miguel Alatzar
11b1cc8ad8
Bump app build number to 353 (#5331) 2021-04-15 10:54:08 -07:00
Joseph Baylon
42275536e4
MM-30429 Detox/E2E: Added e2e for MM-T3190, MM-T3212, MM-T3214, MM-T3227 (#5276)
* MM-30429 Detox/E2E: Added e2e for MM-T3190, MM-T3212, MM-T3214, MM-T3227

* Merge master

* Fix package-lock.json

* Upgrade deps

* Revert podfile

* Update Podfile.lock

* Stabilize closing of post options

* Merge master

* Normalize closing of post options

* Enabled MM-T1397 test case

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-04-15 09:23:07 -07: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
Miguel Alatzar
154b2e6adb
Bump app build number to 352 (#5324) 2021-04-14 14:23:04 -07:00