Commit graph

2701 commits

Author SHA1 Message Date
Joram Wilander
3ef637ff9d
MM-59426 Add tests for entry common functions (#8515)
* test: Add tests for entry common functions

* increase functions coverage to 80%

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-01-28 08:09:43 -05:00
Joram Wilander
6a96ca52ad
test: Add tests for session manager (#8504) 2025-01-28 08:09:15 -05:00
Rajat Dabade
1bd2e0b665
MM-62726 fix the active label color for channel and thread (#8523)
* MM-62726 fix the active label color for channel and thread

* Updated snapshot
2025-01-28 14:43:45 +05:30
Elias Nahum
0364a9d197
Fix broken windows (#8406)
* MM-62043 fix image dimensions when iPad screen size changes

* MM-61951 fix share feedback screen layout

* MM-62100 fix download video on playback error
2025-01-28 09:58:48 +08:00
Rahim Rahman
11022322d6
fix(MM-60645): missing bookmark emoji (#8518)
* fix(MM-60645): missing bookmark emoji
* add test
2025-01-27 11:01:08 -07:00
master7
167d8a37b9 Translated using Weblate (Polish)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-01-27 18:12:49 +01:00
Sharuru
c525c84985 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-01-27 18:12:49 +01:00
Sharuru
b9d3ff1fb6 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-01-27 18:12:49 +01:00
Carrie Warner (Mattermost)
1d22270f37 Added translation using Weblate (Arabic (Saudi Arabia)) 2025-01-27 18:12:49 +01:00
MArtin Johnson
a5eebb1ea6 Translated using Weblate (Swedish)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2025-01-27 18:12:49 +01:00
Konstantin
d5756697a6 Translated using Weblate (Russian)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-01-27 18:12:49 +01:00
Ricardo Obregón
7f35294573 Translated using Weblate (Spanish)
Currently translated at 88.9% (1076 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/es/
2025-01-27 18:12:49 +01:00
unified-ci-app[bot]
9f3d09c97f
Bump app build number to 596 (#8520)
Co-authored-by: Anka <runner@Mac-1737708156830.local>
2025-01-24 11:20:55 +02:00
Rahim Rahman
0a0e2a7898
Update environment variable COLLECT_NETWORK_METRICS (#8505) 2025-01-22 07:55:00 -07:00
Daniel Espino García
25919131fc
Fix styles for add people ephemeral message (#8494) 2025-01-22 13:12:59 +01:00
yasserfaraazkhan
2830d06fc2
E2E: Mobile Drafts tests cases (#8469) 2025-01-22 04:02:14 +05:30
Claudio Costa
44bce6c319
[MM-59773] Add unit tests for Calls (#8480)
* Unit tests for app/products/calls/observers

* Unit tests for app/products/calls/actions

* Unit tests for app/products/calls/client

* Unit tests for app/products/calls/connection

* Unit tests for app/products/calls/connection/websocket_event_handlers.ts

* Unit tests for app/products/calls/connection/connection.ts

* Unit tests for app/products/calls/state/actions.ts

* Unit tests for app/products/calls/utils.ts

* Unit tests for app/products/calls/alerts.ts

* Unit tests for app/products/calls/calls_manager.ts

* Unit tests for app/products/calls/hooks.ts

* Factor out force logout error

* Reduce use of 'as jest.Mock'

* Add test case

* Use constants

* Better naming

* Fix types after merge

* Fix test
2025-01-21 12:02:03 -06:00
Joram Wilander
681585d5db
test: Add websocket manager tests (#8496) 2025-01-21 08:42:35 -05:00
Joram Wilander
575a689407
Add tests to remaining actions/websocket files (#8495)
* test: Add comprehensive tests for websocket roles actions

* test: Add comprehensive tests for websocket category actions

* test: Add comprehensive tests for websocket preferences actions

* test: Add comprehensive tests for websocket threads actions

* test: Add comprehensive tests for websocket reactions actions

* test: Add comprehensive tests for websocket system actions

* test: Add comprehensive tests for websocket integrations actions
2025-01-21 08:42:09 -05:00
Joram Wilander
e8ed761d30
MM-59740 + others - Add tests for various files in hooks/ (#8448)
* Add tests for hooks/android_back_handler

* Add tests for hooks/gallery

* Add tests for hooks/files

* Add tests for hooks/emoji_category_bar

* Add tests for hooks/markdown

* Increase more coverage for hooks/gallery.ts

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-01-21 08:41:52 -05:00
Martin Juřen
2e027d2d98 Translated using Weblate (Czech)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-01-20 14:38:11 +01:00
Serhii Khomiuk
bfeb2dfeb5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-01-20 14:38:11 +01:00
kaakaa
fadcb1e4f2 Translated using Weblate (Japanese)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2025-01-20 14:38:11 +01:00
Tom De Moor
8b7229e906 Translated using Weblate (Dutch)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-01-20 14:38:11 +01:00
jprusch
4009f7add5 Translated using Weblate (German)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-01-20 14:38:11 +01:00
Serhii Khomiuk
7281b9c69f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1208 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-01-20 14:38:11 +01:00
master7
ba39290f0b Translated using Weblate (Polish)
Currently translated at 100.0% (1208 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-01-20 14:38:11 +01:00
Serhii Khomiuk
63d2d8f765 Translated using Weblate (Ukrainian)
Currently translated at 99.5% (1203 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-01-20 14:38:11 +01:00
jprusch
817a4ca8f9 Translated using Weblate (German)
Currently translated at 100.0% (1208 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-01-20 14:38:11 +01:00
Konstantin
9ed473b57c Translated using Weblate (Russian)
Currently translated at 100.0% (1208 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-01-20 14:38:11 +01:00
Martin Mičuda
f29a58cf4a Translated using Weblate (Czech)
Currently translated at 100.0% (1208 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-01-20 14:38:11 +01:00
Konstantin
728eeca769 Translated using Weblate (Russian)
Currently translated at 99.1% (1198 of 1208 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-01-20 14:38:11 +01:00
ThrRip
6e9f5c40e7 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1192 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-01-20 14:38:11 +01:00
unified-ci-app[bot]
46b6d0a513
chore: Update NOTICE.txt file with updated dependencies (#8499)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2025-01-20 12:13:23 +02:00
unified-ci-app[bot]
2580eccab9
Bump app build and version number (#8497)
* Bump app build number to 595

* Bump app version number to 2.25.0

---------

Co-authored-by: Anka <runner@Mac-1737356984917.local>
2025-01-20 09:50:35 +02:00
Joram Wilander
0663d39365
Add tests to index, group and users websocket actions (#8486)
* test: Add tests for websocket index actions

* test: Add tests for websocket group actions

* test: Add tests for websocket users actions

* Fix missing import in index.test.ts

* Fix type in test after main merge

* Fix tests after main merge

* Updates per review feedback

* Remove unused import
2025-01-17 14:25:12 -05:00
unified-ci-app[bot]
36bbaf3cad
Bump app build number to 594 (#8491)
Co-authored-by: Anka <runner@Mac-1737103065399.local>
2025-01-17 16:18:54 +02:00
Daniel Espino García
438edd96f6
Fix edit attachments (#8468)
* Fix edit attachments

* Address feedback
2025-01-17 12:41:14 +01:00
Daniel Espino García
592b3805f1
Fix timezone crash (#8485)
* Fix timezone crash by adding all timezones to the polyfill

* update snapshots; be careful about undefined: diff on local vs CI

* one more that's different locally vs CI

* i18n

---------

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2025-01-16 17:29:57 -05:00
Elias Nahum
d1d3fda83a
Request metrics improvements (#8420)
* Network metrics

* update network-client ref

* fix unit tests

* missing catch error parsing

* Replace API's to fetch all teams and channels for a user
Update groupLabel to use a type definition
Include effective Latency and Average Speed in the metrics
Include parallel and sequential request counts

* update network library and fix tests

* feat(MM-61865): send network request telemetry data to the server (#8436)

* feat(MM-61865): send network info telemetry data

* unit testing

* fix latency vs effectiveLatency

* cleanup test

* fix failing tests

* fix spelling error

* fix failing test

* more cleanup

* fix: improve parallel requests calculation (#8439)

* fix: improve parallel requests calculation

* fix test issue

* multiple parallelGroups testing

* calculateAverageSpeedWithCategories test

* categorizedRequests in it's own describe

* clean up duplicate tests

* check for when groupLabel is non-existent

* a case when groupLabel is non-existent

* more testing with effective latency.

* resolveAndFlattenModels with a capital F

* add try..catch within resolveAndFlattenModels

* update groupLabel to fix failing lint

* fix linting issue due to unknown group label

* forgot to push changes

* fix the indentation problem again

* add env var option for COLLECT_NETWORK_METRICS

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-16 13:55:29 -07:00
Joram Wilander
a314c6059f
Add tests for actions/websocket/teams (#8479) 2025-01-16 15:21:30 -05:00
Daniel Espino García
7f9d393f3b
Fix package lock identation (#8484) 2025-01-16 17:26:04 +01:00
Elias Nahum
2f3dfbbbfa
Update dependencies and upgrade to RN 0.76.5 (#8421)
* update dev deps

* partial update dependencies

* update watermelondb

* update rn to 0.76.5, expo to 52.0.18 and others

* upgrade android firebase

* upgrade detox deps

* fix package-lock.json

* update emm and paste-input

* update turbo-log

* update network library

* fix tests

* review feedback

* fix Keyboard blocking signIn button

* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4

* changes in deleteCredentialsForServer is causing a crash

* withOptions x2 clearly is wrong

* re-add cli-platform-apple fix

* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478)

* experiment, using view vs BottomSheetView

* revert previous & try disabling enableDynamicSizing

* revert an unintended removal

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-16 07:11:32 -07:00
kondo
52e05fba13
MM-62411 Retrying SSO does not trigger a redirect (#8458)
* The server url is being registered as invalid.
Even if the URL is valid upon retry, it is still being registered as invalid.

* Delete unnecessary import

* Delete serverUrl

* Delete serverUrl props on test
2025-01-16 13:02:23 +01:00
Daniel Espino García
4b068889e7
Add some improvements to thread handling (#8407)
* Add some improvements to thread handling

* Add missing changes

* Android changes

* iOS changes

* Avoid copys

* Refactor getReplyAt
2025-01-16 11:48:28 +01:00
yasserfaraazkhan
0ad2679595
Add android detox apk build workflow (#8405) 2025-01-16 12:26:10 +05:30
Joram Wilander
6ffc24a1fd
Add tests for queries/app/servers (#8477) 2025-01-15 14:43:01 -05:00
Guillermo Vayá
805c14af6d
fix spacing between bookmarks, align + icon (#8476) 2025-01-15 14:50:40 +01:00
Joram Wilander
263dddd22a
MM-59585 Add tests for utils/url (#8462)
* Add tests for utils/url

* Update per review feedback
2025-01-13 19:55:44 -05:00
Joram Wilander
cdbb9ebfd7
Add tests for actions/websocket/event (#8470) 2025-01-13 19:19:00 -05:00