Commit graph

3691 commits

Author SHA1 Message Date
Guillermo Vayá
ec417cfd56
MM-36900 Fix mm emoji (#5526)
* wip

* fix typo

* fix snapshots

* move inside emojis

Co-authored-by: = <=>
2021-07-09 18:32:29 +02:00
Joseph Baylon
eed5b41292
MM-35679 Detox/E2E: Add e2e for DMs, GMs, main sidebar (#5521) 2021-07-09 18:53:57 +08:00
Daniel Espino García
1b5d76712a
MM-35935 Respect disabled for bool settings (#5405)
* Respect disabled for bool settings

* Fix test

* Mirate to functional component

* Fix test
2021-07-09 11:16:06 +02:00
Daniel Espino García
f0c9aa75fc
Add commit buttons in form instead of on navigation (#5419)
* Add commit buttons in form instead of on navigation

* Fix style
2021-07-08 10:50:23 +02:00
Elias Nahum
9fafc3be5b
Bump app build number to 362 (#5522) 2021-07-07 21:18:28 -04:00
Elias Nahum
84d3bd54e7
Use commonmark & patch it instead of a fork (#5498) 2021-07-07 13:10:23 -04:00
Elias Nahum
073b836beb
Bring back refresh control for channels and threads (#5511) 2021-07-07 13:03:35 -04:00
Elias Nahum
6984923a4c
Bump Version to 1.45.0 and build to 361 (#5518)
* Bump app build number to  361

* Bump app version number to  1.45.0
2021-07-07 12:55:34 -04:00
Elias Nahum
883399f13d
Load other teams you can join when deleting cache (#5516) 2021-07-07 12:24:41 -04:00
Elias Nahum
c2852d9581
MM-36808 fix auto responder posts (#5505) 2021-07-07 06:38:09 -04:00
Elias Nahum
df26a363bc
MM-36745 Fix animation for showModalOverCurrentContext (#5507) 2021-07-06 14:04:31 -04:00
Guillermo Vayá
2754b00f83
use user skin preferences for emoji (#5502) 2021-07-06 19:56:53 +02:00
Daniel Espino García
d7b6c889b2
Add markdown to apps forms descriptions and errors (#5426)
* Add markdown to apps forms descriptions and errors

* Minor reference fixes and add markdown to command descriptions

* Revert changes that include markdown on command suggestions

* Disable unneeded markdown
2021-07-06 18:35:23 +02:00
Elias Nahum
63f8cdab35
MM-32802 don't display nickname for current user in autocomplete (#5492) 2021-07-06 08:24:36 -04:00
Weblate (bot)
86cbe3940f
Translations update from Weblate (#5506)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (701 of 701 strings)

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

* 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 (Japanese)

Currently translated at 100.0% (709 of 709 strings)

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

Translated using Weblate (Japanese)

Currently translated at 97.1% (689 of 709 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (709 of 709 strings)

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

Translated using Weblate (Dutch)

Currently translated at 99.1% (703 of 709 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% (709 of 709 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (709 of 709 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (709 of 709 strings)

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

* 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 (Chinese (Simplified))

Currently translated at 100.0% (709 of 709 strings)

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

* 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 92.5% (656 of 709 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.1% (703 of 709 strings)

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

* Translated using Weblate (Korean)

Currently translated at 88.2% (626 of 709 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (709 of 709 strings)

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

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Jihoon Seo <jihoon.seo@etri.re.kr>
Co-authored-by: Elias  Nahum <elias@mattermost.com>
2021-07-06 09:17:07 +02:00
Elias Nahum
d60a2ab9c6
Path RNN to dismiss keyboard when screen is popped (#5490) 2021-07-01 14:13:57 -04:00
Elias Nahum
05ead9f734
MM-34619 post draft to use the channelId prop when assigned (#5488) 2021-07-01 07:04:47 +08:00
Daniel Espino García
bdbdc0b7ba
Add Markdown fields to modals (#5407)
* Add Markdown fields to modals

* Add better handling for readonly and default values on commands

* Create stylesheet instead of passing the style directly to the components

* Fix unhandled promise error and markdown not showing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-30 18:55:08 +02:00
Guillermo Vayá
1f843ddb4f
[MM-35909] Support for emoji 13 (#5497)
* support for emoji 13

* fix some tests

* more test fixed

* fix typo

* rename system to standard

* remove unused functions

* fix +1 emojis
2021-06-30 00:41:11 +02:00
Elias Nahum
15a311fcec
MM-17135 ignore at sign when searching for users (#5491) 2021-06-29 14:33:04 -04:00
Elias Nahum
4489906698
Prevent the initialIndex from being less than 0 (#5501) 2021-06-29 14:32:40 -04:00
Elias Nahum
65a14f309b
Allow reply from individual notifications on Android (#5494) 2021-06-29 14:32:08 -04:00
Weblate (bot)
4fc1c6f330
Translations update from Weblate (#5495)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (701 of 701 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (701 of 701 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% (701 of 701 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (701 of 701 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (701 of 701 strings)

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

* Translated using Weblate (Bulgarian)

Currently translated at 100.0% (701 of 701 strings)

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

* Translated using Weblate (German)

Currently translated at 89.7% (629 of 701 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% (701 of 701 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (701 of 701 strings)

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

Co-authored-by: Elias  Nahum <elias@mattermost.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com>
Co-authored-by: Markus Hermann <markus.hermann@uni-marburg.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: aeomin <lin@aeomin.net>
2021-06-28 09:20:47 +02:00
Elias Nahum
991fe4779f
Bump Version to 1.44.1 and build to 360 (#5487) 2021-06-25 14:52:52 -04:00
Elias Nahum
a6dc8fedbe
Do not recreate onViewableItemsChange when the deeplink changes (#5489) 2021-06-25 14:50:36 -04:00
Elias Nahum
47d081b216
Content safety (#5486)
* add content safety check to avoid potential crashes

* Fixes iOS YouTube video playback
2021-06-25 14:23:23 -04:00
Elias Nahum
f7071c290c
Clear cookies but keep files (#5479) 2021-06-24 18:47:37 -04:00
Joseph Baylon
afe80b6517
Detox/E2E: Fix search and pinned messages e2e (#5484) 2021-06-24 13:10:19 -07:00
Joseph Baylon
9f36d440b2
MM-35678 Detox/E2E: Add e2e for hashtags, empty mentions and reactions, jump to search (#5481)
* MM-35678 Detox/E2E: Add e2e for hashtags, empty mentions, empty reactions, jump to search

* Add missing verification

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-24 10:46:25 -07:00
Joseph Baylon
b893cc1a3b
MM-35677 Detox/E2E: Add e2e for channel link and scrolling (#5465)
* Detox/E2E: Add e2e for channel link and scrolling

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-24 10:38:50 -07:00
Elias Nahum
f7c254ef03
MM-36532 navigate to channel from any screen when channel link is pressed (#5467) 2021-06-24 12:57:18 -04:00
Elias Nahum
cb7f97e886
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:46:02 -04:00
Elias Nahum
0a28c09710
Fix upload progress indicator when uploading multiple files at once (#5478)
* Fix upload progress indicator when uploading multiple files at once

* Don't use background task for uploads
2021-06-23 20:42:04 -04:00
Elias Nahum
bced848b8e
MM-36628 fix iOS app icon badge count (#5480) 2021-06-23 19:24:54 -04:00
Manoj Malik
c06b5ecb4f
Fixed custom status issues (#5476)
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
2021-06-22 10:27:47 -07:00
Elias Nahum
f4f8379796
Update dependencies and setup project with node 16 / npm 7 (#5474) 2021-06-21 18:36:38 -04:00
Elias Nahum
683c6f5df7
MM-36588 rebind the correct post list to the native view (#5472) 2021-06-21 12:16:27 -04:00
Weblate (bot)
794a056028
Translations update from Weblate (#5469)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (698 of 698 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (698 of 698 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (698 of 698 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (698 of 698 strings)

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

Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-06-21 09:26:01 +02:00
Elias Nahum
298067ab65
Update react-native-cookies & react-native-webview + always use defaultDataStore (#5452)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-15 18:40:35 -04:00
Elias Nahum
362006db29
Bump app build number to 359 (#5458) 2021-06-14 16:23:27 -04:00
Elias Nahum
0e81e0e2a8
fix: connect websocket when the component mounts (#5456) 2021-06-14 15:48:39 -04:00
Weblate (bot)
4e2972782f
Translations update from Weblate (#5453)
* Translated using Weblate (German)

Currently translated at 86.8% (606 of 698 strings)

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

* Translated using Weblate (Bulgarian)

Currently translated at 100.0% (698 of 698 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (698 of 698 strings)

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

Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com>
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com>
Co-authored-by: Zsolt Godó <zsolttokio@gmail.com>
2021-06-14 09:09:33 +02:00
Elias Nahum
d871029b9d
Bump app build number to 358 (#5450) 2021-06-11 19:04:16 -04:00
Elias Nahum
b2d233b5ed
fix: reset iOS scrollView when switching channels (#5447)
* fix: reset iOS scrollView when switching channels

* cancel animation frame after resetting the scrollview

* add useResetNativeScrollView hook
2021-06-11 18:22:38 -04:00
Elias Nahum
6335932883
1.44 fixes (#5444)
* 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
2021-06-11 13:56:09 -04:00
Joseph Baylon
8894ee464f
MM-35676 Detox/E2E: Add e2e for emojis and reactions, pinned messages, saved messages (#5443) 2021-06-10 09:43:50 -07:00
Elias Nahum
c7ef19d36e
MM-36269 fix post reaction handle press (#5438) 2021-06-09 15:15:26 -04:00
Manoj Malik
7cc57c2dbe
Fixed the warning about isCustomStatusEnabled prop in ChannelInfo (#5436) 2021-06-08 10:32:24 -07:00
Elias Nahum
0a4dafa127
MM-36256 avoid path traversal for Android image picker (#5432) 2021-06-08 09:11:27 -04:00
ctlaltdieliet
f2899dde6f
MM-34093 Add support for English Australian (#5411) 2021-06-08 08:24:27 -04:00