Commit graph

1323 commits

Author SHA1 Message Date
Mattermost Build
d91023d88e
open an external browser when the server config for MobileExternalBrowse is set to true (#8220) (#8223)
(cherry picked from commit f04838d9b1)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-09-17 08:09:01 -04:00
Mattermost Build
19009904a9
Send notification status information to the server (#8060) (#8217)
* Send notification status information to the server

* Add version and update names

* Update props names

* Use the single endpoint

(cherry picked from commit 20d248fb99)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-09-12 10:57:10 -04:00
Pablo Vélez
c31ec8a711
MM-60312- rename ssoOffice 365 to sso EntraId (#8209)
* MM-60312- rename ssoOffice 365 to sso EntraId

* address pr comments, remove old icon and fix i18n
2024-09-09 11:52:18 +02:00
Rahim Rahman
00e05d581e
fix: MM-58164 Search text is behind the textbox while searching (#8026)
* fix: MM-58164 search text hides behind textbox
* clean up unit test for useCollapsibleHeader
* simplify math
* unlock doesn't need to use useCallback as it doesn't have any deps
* revert changes on unlock
* using lockValue & headerOffset directly into children props
* disable scrolling to prevent scrollValue from being updated
* properly snapping flatlist to the proper spot in a few scenarios

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-05 11:28:00 -06:00
Joram Wilander
aba68c45d5
MM-59440 Add unit tests for actions/remote/channel (#8184)
* Add member tests for actions/remote/channel

* Add channel and dm tests to actions/remote/channel

* Update app/actions/remote/channel.test.ts

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

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-08-29 09:46:16 -04:00
Elias Nahum
a2dca382c7
add unit tests to app/utils/notification (#8140) 2024-08-29 00:04:12 +08:00
Elias Nahum
2174c679e1
add unit tests for app/utils/navigation (#8139) 2024-08-29 00:03:50 +08:00
Elias Nahum
358417dd7b
add unit tests to app/utils/permalink (#8141) 2024-08-29 00:03:25 +08:00
Elias Nahum
48af5fdcd5
add unit tests to app/utils/post (#8142) 2024-08-29 00:02:40 +08:00
Claudio Costa
13ca346155
[MM-60291] Fix rendering of live captions (#8185)
* Load jobs state from call state

* Fix rendering of live captions overlay
2024-08-28 07:28:12 -06:00
Elias Nahum
8b869c246b
fix sso login success message (#8174)
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-27 08:06:51 +08:00
yasserfaraazkhan
0bf501a14a
Mock date.now in flaky app/actions/team tests (#8171) 2024-08-27 01:44:00 +08:00
Joram Wilander
16b4ec8b60
Add unit tests for actions/local/user (#8170) 2024-08-26 08:22:58 -04:00
Joram Wilander
ee5a84ddc7
Add unit tests for actions/local/thread (#8169) 2024-08-26 08:22:37 -04:00
Daniel Espino García
8eba95ad5c
Quick fix for post input not capitalizing the start of sentences (#8168) 2024-08-26 10:48:44 +02:00
Daniel Espino García
6ad21e1da3
Fix hardware keys not working as expected (#8156) 2024-08-22 10:15:39 +02:00
Claudio Costa
52d04ca252
[MM-57994] Hide Calls buttons/actions if plugin is not enabled (#8121)
* Limit group calls to DMs only on unlicensed servers

* Hide Calls buttons/actions if plugin is disabled

* Fix lint

* Address feedback
2024-08-19 09:33:20 -06:00
yasserfaraazkhan
0698cf558d
Add Unit tests to app/actions/local/teams.ts (#8088) 2024-08-13 20:21:17 +05:30
Rajat Dabade
8f536f7597
Attachment list in view info for DMs and GMs mobile (#8120)
* Attachment list in view info for DMs and GMs mobile

* refactor: only get currentID for DMs and GMs

* used typing
2024-08-13 19:33:10 +05:30
Claudio Costa
4e4bd8fe27
[MM-57781] Limit group calls to DMs only on unlicensed servers (#8075)
* Limit group calls to DMs only on unlicensed servers

* Update calls-common
2024-08-13 08:25:13 +02:00
Elias Nahum
5261e29c38
add unit tests to app/utils/markdown (#8135) 2024-08-12 09:16:11 +03:00
Elias Nahum
0b83938d3c
update dependencies (#8131)
* update project depdendencies

* update detox dependencies

* update fastlane

* remove silencing console
2024-08-12 09:15:49 +03:00
Elias Nahum
bde7e3e006
add unit tests to app/utils/general (#8133) 2024-08-08 14:21:17 +03:00
Elias Nahum
6b5de21317
Add unit tests for app/utils/images (#8134) 2024-08-08 14:20:40 +03:00
Joram Wilander
7a595d0ccb
Add unit tests for actions/local/channel_bookmark (#8125) 2024-08-06 14:20:45 -04:00
Joram Wilander
728fef8c64
MM-59618 Add unit test coverage of app/actions/local/systems (#8128)
* Add return values to storeConfigAndLicense

* Add unit tests for actions/local/systems
2024-08-06 14:20:26 -04:00
Elias Nahum
e7fe7c23ff
add unit tests to utils/gallery (#8117) 2024-08-06 13:17:36 +03:00
Elias Nahum
4048b70713
fix cannot read data when opening a deeplink (#8109) 2024-07-27 03:37:57 +08:00
Elias Nahum
ca00ab21da
fix loop counters should not be assigned within the loop body (#8112) 2024-07-26 09:03:33 -04:00
Claudio Costa
3656bff4bd
[MM-57698] Implement client ICE candidate pairs metric (#8051)
* Implement client ICE candidate pairs metric

* Update calls package
2024-07-26 10:14:33 +02:00
Claudio Costa
7682c5ccce
[MM-52657] AV1 support (#8037)
* AV1 support

* Guard functionality behind config flag

* Update calls package

* Fix default config

* fix
2024-07-26 10:01:33 +02:00
Daniel Espino García
26ae247d0f
Avoid registering wrong performance load logs (#8107) 2024-07-24 18:42:31 +02:00
Elias Nahum
a3ac7535f1
added unit tests for utils/file/file-picker (#8099) 2024-07-23 20:15:05 +08:00
Elias Nahum
de6ccaef01
SSL Pinned Certificate (#8055) 2024-07-23 18:26:20 +08:00
Elias Nahum
5b510cb780
fix issues found by sonarqube (#8095)
* fix issues found by sonarqube

* fix unit test
2024-07-18 09:40:47 +08:00
Elias Nahum
b330847d95
Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
Elias Nahum
ea8adb5167
Fix server list bottom sheet on tablet (#8094) 2024-07-16 14:47:59 -04:00
yasserfaraazkhan
cdaae87017
Add unit test cases for reactions.ts (#8084) 2024-07-15 17:44:25 +05:30
Pablo Vélez
d02e39b1f3
MM-56933 - password dont disable autocomplete (#8057) 2024-07-15 12:55:33 +02:00
Elias Nahum
e4d8d1177e
add file utils unit tests (#8079) 2024-07-15 16:55:23 +08:00
Saturnino Abril
58b50b1a5b
test: app/actions/app/global.ts (#8087) 2024-07-15 16:53:32 +08:00
Joram Wilander
3c6d5aa4ae
Add tests for actions/local/post (#8083) 2024-07-15 16:52:44 +08:00
Joram Wilander
333b594561
Add unit tests for app/actions/local/file and app/actions/local/group (#8077)
* Add tests for actions/local/file

* Add tests for actions/local/group
2024-07-11 12:49:27 -04:00
Joram Wilander
6031e8da6e
Add unit tests for app/actions/local/draft (#8067)
* Add tests for actions/local/draft/updateDraftFile

* Add tests for actions/local/draft/removeDraftFile

* Add tests for actions/local/draft/updateDraftMessage

* Add tests for actions/local/draft/addFilesToDraft

* Add tests for actions/local/draft/removeDraft

* Add tests for actions/local/draft/updateDraftPriority

* Fix updateDraftMessage test case

* Update app/actions/local/draft.test.ts

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

* place common beforeeach/aftereach top of file (#8076)

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2024-07-11 10:10:37 -04:00
Elias Nahum
9bdb5c15e1
more utils unit test coverage (#8068) 2024-07-11 20:18:55 +08:00
Daniel Espino García
f3de4445c2
Restore out of channel and some cleanup (#8050)
* Restore out of channel and some cleanup

* Fix i18n
2024-07-09 11:31:31 +02:00
Elias Nahum
10135091d1
Fix button ui when disabled (#8056) 2024-07-09 07:12:59 +08:00
Joram Wilander
dd3a38b5fe
Add unit tests for app/actions/local/channel (#8063)
* Add tests for actions/local/channel/removeCurrentUserFromChannel

* Add tests for actions/local/channel/setChannelDeleteAt

* Add tests for actions/local/channel/selectAllMyChannelIds

* Add tests for actions/local/channel/markChannelAsUnread

* Add tests for actions/local/channel/resetMessageCount

* Add tests for actions/local/channel/storeMyChannelsForTeam

* Fix test names

* Add tests for actions/local/channel/updateMyChannelFromWebsocket

* Add tests for actions/local/channel/updateChannelInfoFromChannel

* Add tests for actions/local/channel/updateLastPostAt

* Add tests for actions/local/channel/updateChannelsDisplayName

* Add tests for actions/local/channel/showUnreadChannelsOnly

* Add tests for actions/local/channel/updateDmGmDisplayName

* Remove unnecessary spying
2024-07-08 08:30:12 -04:00
Joram Wilander
2c29172135
Add unit tests for app/actions/local/category (#8058)
* Add unit tests for app/actions/local/category

* Remove unnecessary forEach

* Run setup only once
2024-07-08 08:29:57 -04:00
Daniel Espino García
095b97425f
Graciously handle load measure when there is no mark (#8052)
* Graciously handle load measure when there is no mark

* Make public interface cleaner
2024-07-08 13:31:00 +02:00