Commit graph

3870 commits

Author SHA1 Message Date
Joseph Baylon
19094f27eb
Disable logbox when RUNNING_E2E=true (#5831) 2021-11-15 13:58:23 -08:00
Anurag Shivarathri
805b90205a
MM-36687, MM-38302, MM-37598 Fix push notifications with CRT (#5669)
* initalised

* Removed unused packages

* Android: Added groupId for supporting both threadId & channelId

* Fixed ios condition check

* Removed commented code

* Removed unwanted condition

* Removed unused variable

* CRT reduced chunk size to 30, Android global threads showing GlobalThreads & iOS is_crt_enabled field is expected to be a boolean

* Update android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Misc fixes

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-15 10:42:05 +05:30
Elias Nahum
e4dafb4d3b
Bump app build number to 380 (#5828) 2021-11-11 16:43:03 -03:00
Elias Nahum
a570fdea24
replace account-group-outline with account-multiple-outline compass icon (#5826) 2021-11-11 16:22:54 -03:00
Elias Nahum
94f683d743
Bump app build number to 379 (#5824) 2021-11-11 08:29:40 -03:00
Jesús Espino
8ef65d8b24
Voicechannels (#5753)
* Some extra work on voice channels interface

* Fixing some TODOs

* Improving styling of call in channel

* Improve calls monitoring

* Replacing some of the fontawesome icons with the compass ones

* Improving the layout

* Migrating to webrtc2 for unified plan

* Add screen on and off behavior

* Adding incall manager plugin

* Moving everything into the products/calls folder

* Make products modules routes relatives

* Make products modules routes @mmproducts

* Removing initiator parameter

* Removing trickle parameter

* Simplifying code

* Removing underscore from private variables

* Removing underscore from private things

* More simplifications

* More simplifications

* More simplifications

* Changing sha sum for mmjstool

* Fixing typo

* Migrating simple-peer to typescript

* Migrating simple-peer to typescript

* Improving the size of the screen share

* Adding feature flag to disable the calls feature in mobile

* Fixing some tests

* Removing obsolte tests

* Added call ended support for the post messages

* Fixing some warnings in the tests

* Adding JoinCall tests

* Adding CallMessage tests

* Adding CurrentCall unit tests

* Adding CallAvatar unit tests

* Adding FloatingCallContainer unit tests

* Adding StartCall unit tests

* Adding EnableDisableCalls unit tests

* Adding CallDuration tests

* Improving CallDuration tests

* Adding CallScreen unit tests

* Adding CallOtherActions screen tests

* Fixing some dark theme styles

* Fixing tests

* More robustness around connecting/disconnecting

* Adding FormattedRelativeTime tests

* Adding tests for ChannelItem

* Adding tests for ChannelInfo

* Adding selectors tests

* Adding reducers unit tests

* Adding actions tests

* Removing most of the TODOs

* Removing another TODO

* Updating tests snapshots

* Removing the last TODO

* Fixed a small problem on pressing while a call is ongoing

* Remove all the inlined functions

* Replacing usage of isLandscape selector with useWindowDimensions

* Removed unnecesary makeStyleSheetFromTheme

* Removing unneded  properties from call_duration

* Fixing possible null channels return from getChannel selector

* Moving other inlined functions to its own constant

* Simplifiying enable/disable calls component

* Improving the behavior when you are in the call of the current channel

* Adding missing translation strings

* Simplified a bit the EnableDisableCalls component

* Moving other inlined functions to its own constant

* Updating snapshots

* Improving usage of makeStyleSheetFromTheme

* Moving data reformating from the rest client to the redux action

* Adding calls to the blocklist to the redux-persist

* Fixing tests

* Updating snapshots

* Update file icon name to the last compass icons version

* Fix loading state

* Only show the call connected if the websocket gets connected

* Taking into consideration the indicator bar to position the calls new bars

* Making the MoreMessagesButton component aware of calls components

* Updating snapshots

* Fixing tests

* Updating snapshot

* Fixing different use cases for start call channel menu

* Fixing tests

* Ask for confirmation to start a call when you are already in another call

* Update app/products/calls/components/floating_call_container.tsx

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Memoizing userIds in join call

* Applying suggestion around combine the blocklist for calls with the one for typing

* Adding explicit types to the rest client

* Removing unneeded permission

* Making updateIntervalInSeconds prop optional in FormattedRelativeTime

* Making updateIntervalInSeconds prop optional in CallDuration

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-11-11 11:32:39 +01:00
Joseph Baylon
f89cd1f476
Detox/E2E: Upgrade deps (#5821) 2021-11-10 08:29:33 -08:00
Elias Nahum
ba0855659c
Fix options modal dismiss for OptionsModal (#5819) 2021-11-10 09:19:04 -03:00
kaakaa
ce70099937 Translated using Weblate (Japanese)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ja/
2021-11-08 11:21:52 -06:00
MArtin Johnson
8d8febd17b Translated using Weblate (Swedish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/
2021-11-08 11:21:52 -06:00
Matthew Williams
2ba2a33d5e Translated using Weblate (English (Australia))
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/en_AU/
2021-11-08 11:21:52 -06:00
Tóth Csaba // Online ERP Hungary Kft
3c0c8235e7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (778 of 778 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% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2021-11-08 11:21:52 -06:00
Kaya Zeren
15cd2eb889 Translated using Weblate (Turkish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/tr/
2021-11-08 11:21:52 -06:00
jprusch
4c85e385f9 Translated using Weblate (German)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
2021-11-08 11:21:52 -06:00
Elias Nahum
cbc4d5add2
Version 1.48.0 build 378 (#5811)
* Bump app version number to  1.48.0

* Bump app build number to  378
2021-11-04 09:17:28 -03:00
Elias Nahum
ec3b44498a
Disable reachability test (#5812) 2021-11-04 09:17:13 -03:00
Amy Blais
800f3b5648
Update NOTICE.txt (#5805) 2021-11-03 11:13:39 -03:00
Carrie Warner (Mattermost)
fae944c208
Updated Jump to to match webapp (#5797)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 11:13:11 -03:00
Elias Nahum
d502a83b74
fix replaceAll with replace as is not available on some JSC (#5801) 2021-11-02 04:13:41 -03:00
Kaya Zeren
e0d18f45bc Translated using Weblate (Turkish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/tr/
2021-11-01 11:52:09 -06:00
aeomin
aac222882e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/zh_Hans/
2021-11-01 11:52:09 -06:00
MArtin Johnson
c991e77ec2 Translated using Weblate (Swedish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/
2021-11-01 11:52:09 -06:00
master7
824e89019f Translated using Weblate (Polish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/
2021-11-01 11:52:09 -06:00
Tóth Csaba // Online ERP Hungary Kft
46f0ccc802 Translated using Weblate (Hungarian)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2021-11-01 11:52:09 -06:00
Elias Nahum
5d2494d0ba Translated using Weblate (Spanish)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/es/
2021-11-01 11:52:09 -06:00
Matthew Williams
3a08c195ab Translated using Weblate (English (Australia))
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/en_AU/
2021-11-01 11:52:09 -06:00
Tom De Moor
62633c5f31 Translated using Weblate (Dutch)
Currently translated at 100.0% (778 of 778 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 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/nl/
2021-11-01 11:52:09 -06:00
jprusch
643bf46f29 Translated using Weblate (German)
Currently translated at 100.0% (778 of 778 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/de/
2021-11-01 11:52:09 -06:00
teamzamong
4e53a5afe8 Translated using Weblate (Korean)
Currently translated at 93.9% (730 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ko/
2021-11-01 11:52:09 -06:00
kaakaa
3f4e26e985 Translated using Weblate (Japanese)
Currently translated at 100.0% (778 of 778 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 100.0% (777 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ja/
2021-11-01 11:52:09 -06:00
Elias Nahum
8287e620d8
Upgrade to rn 0.66.1 (#5727)
* Upgrade to rn 0.66.0

* Add keys to re-render post list and channel list

* Finish dep updates and rn to 0.66.1

* upgrade more dependencies

* Fix select_server tests
2021-10-31 13:57:07 -03:00
Kyriakos Z
094a34d05f
MM-37934: adds CRT channel notification preferences (#5744)
* MM-37934: adds CRT channel notification preferences

Adds push notification preferences per channel for CRT replies.
These are only enabled when push notifications for root messages
are set to 'mention', in any other case we don't show the switch.

* Adds another test case

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-28 11:06:03 +03:00
Daniel Espino García
76284a78d5
MM-34194 Add multiselect to Apps Forms (#5400)
* Add multiselect to Apps Forms

* Address feedback

* Add selected information and change button name

* Fix styles

* Add missing semicolon and change currentList to currentSelected.

* Address UX feedback

* Fix test

* Address feedback

* Fix snapshots

* Potential fix for flaky test

* Fix iOS back button

* Address feedback

* Fix tests

* Add separator and scroll to bottom on selected items

* Use setTimeout for scroll and also scroll on unselected

* Fix lint

* Fix tsc

* Fix tests
2021-10-27 11:35:11 +02:00
master7
434f4c970e Translated using Weblate (Polish)
Currently translated at 100.0% (777 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/pl/
2021-10-25 11:50:26 -05:00
Tóth Csaba // Online ERP Hungary Kft
b7e9cd296b Translated using Weblate (Hungarian)
Currently translated at 100.0% (777 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2021-10-25 11:50:26 -05:00
yeongeun.seo
f98897147d Translated using Weblate (Korean)
Currently translated at 93.1% (724 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/ko/
2021-10-25 11:50:26 -05:00
Anne-Laure Gaillard
0989ad9208 Translated using Weblate (French)
Currently translated at 99.7% (775 of 777 strings)

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

Translated using Weblate (French)

Currently translated at 99.6% (774 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/fr/
2021-10-25 11:50:26 -05:00
Joseph Baylon
3ddc34d737
Detox/E2E: Fix failures due to recent features (#5755) 2021-10-24 19:00:37 -07:00
Elias Nahum
de564513c3
Bump app build number to 377 (#5786) 2021-10-24 16:54:11 -03:00
Elias Nahum
dd866ffeb8
Fix iOS paste screenshot (#5785) 2021-10-24 16:51:24 -03:00
Elias Nahum
acffc7796f
Bump to 1.47.2 Build 376 (#5783)
* Bump app version number to  1.47.2

* Bump app build number to  376
2021-10-24 15:01:23 -03:00
Elias Nahum
61c6f5693b
Fix TextInput blur crash (#5780) 2021-10-24 14:43:44 -03:00
Anurag Shivarathri
fe12190f4b
App crash in android sometimes while opening the notifications (#5776)
* Checks for condition before removing the notification

* Misc
2021-10-24 14:40:28 -03:00
Guillermo Vayá
2a4027f74a
Added checklist to PR template (#5766)
Co-authored-by: = <=>
2021-10-20 12:54:04 +02:00
Elias Nahum
c3cb9a5d34
Bump Version 1.47.1 build 375 (#5769)
* Fastlane build and version

* Bump app version number to  1.47.1

* Bump app build number to  375
2021-10-19 16:14:34 -03:00
Matthew Birtch
7df996dcc6
updated ios app icon to flattened version as per marketing team request (#5767) 2021-10-19 16:14:08 -03:00
Elias Nahum
e5142f8524
Fix Post Input and drawers gesture conflict (#5762) 2021-10-18 17:55:25 -03:00
Anurag Shivarathri
789cf9ab54
MM-39348 CRT crash (#5759)
* Cancelling animation frame on unmounting the component

* avoid calling cancel animation twice

* Update app/components/post_draft/post_draft.js

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-10-18 14:26:33 -03:00
Tóth Csaba // Online ERP Hungary Kft
963d04545e Translated using Weblate (Hungarian)
Currently translated at 100.0% (777 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/hu/
2021-10-18 11:22:42 -05:00
prograde
c58c23a10e Translated using Weblate (Swedish)
Currently translated at 100.0% (777 of 777 strings)

Translation: mattermost-languages-shipped/mattermost-mobile
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile_master/sv/
2021-10-18 11:22:42 -05:00