Joram Wilander
1f29c77a6e
MM-59432 Add tests for actions/remote/custom_emoji ( #8372 )
...
* Add tests for actions/remote/custom_emoji
* Expect calls to forceLogoutIfNecessary in tests
2024-11-25 12:02:59 -05:00
Joram Wilander
71f1d99041
Increase branch test coverage of actions/remote files ( #8370 )
...
* Increase branch test coverage for actions/remote/command
* Increase branch test coverage for actions/remote/session
* Increase branch test coverage for actions/remote/post
2024-11-25 12:02:34 -05:00
Joram Wilander
99383f265f
Add tests for actions/remote/category ( #8371 )
2024-11-25 11:58:50 -05:00
Joram Wilander
f803edfbf4
Increase branch test coverage to over 80% for actions/local ( #8366 )
2024-11-21 08:16:19 -05:00
Elias Nahum
59a49b3972
fix entry logic to not re-fetch data for the initial team ( #8349 )
2024-11-18 17:49:44 +08:00
Elias Nahum
ea2cb45a18
Login improvement ( #8306 )
...
* refactor to improve requests on login
* include in team sidebar order by display name teams not present in the order preference
* Fix iOS reload while developing
* fix code causing tests to fail
* feedback review
* update network-client
2024-11-13 08:06:12 +08:00
Joram Wilander
268bb807e7
MM-59444 Add tests for actions/remote/command ( #8326 )
...
* Add tests for actions/remote/command/executeCommand
* Add tests for actions/remote/command/executeAppCommand
* Add tests for the rest of actions/remote/command
2024-11-11 08:29:32 -05:00
Daniel Espino García
e0992c0bf6
Add test notification tool ( #8271 )
...
* Add test notification menu
* Reduce the minimum version for testing purposes
* Address feedback
* Add missing strings
* Address feedback
* Fix snapshots
* Bump version limit and use correct link
* Fix tests
* Fix URL issues
2024-11-11 10:22:57 +01:00
Daniel Espino García
2649b4b63a
Remove app alias for imports ( #8314 )
2024-11-07 08:34:49 +08:00
Joram Wilander
3764bf031e
MM-59449 Add tests for actions/remote/post ( #8301 )
...
* Add cud tests to actions/remote/post
* Remove unused fetchPostsForCurrentChannel
* Add fetch tests to actions/remote/post
* Update app/actions/remote/post.ts
* fix tests
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-04 08:27:20 -05:00
Joram Wilander
a3582c42a9
MM-59423 Add tests to actions/remote/notifications ( #8302 )
...
* Add tests to actions/remote/notifications
* Fix typing error in test
2024-11-04 08:27:03 -05:00
Joram Wilander
cd2725ea31
MM-59422 Add tests to actions/remote/search ( #8304 )
...
* Add tests to actions/remote/search
* Better confirm results of searchFiles test
2024-11-04 08:26:50 -05:00
Joram Wilander
99db5bdee8
Add tests to actions/remote/groups ( #8303 )
2024-11-04 19:24:01 +08:00
Joram Wilander
f2198137aa
Add tests to actions/remote/preference ( #8299 )
2024-10-30 07:53:05 -04:00
Joram Wilander
e4d895df85
MM-59438 Add tests to actions/remote/session ( #8296 )
...
* Add tests to actions/remote/session
* Fix styling
* Fix typing in session_manager
2024-10-29 11:06:01 -04:00
Joram Wilander
c1b66b364b
Add tests to actions/remote/thread ( #8289 )
2024-10-28 09:40:06 -04:00
Joram Wilander
daf13fa1b9
Add tests to actions/remote/reactions ( #8290 )
2024-10-28 09:16:31 -04:00
Joram Wilander
05f7875d22
Add tests to actions/remote/user ( #8273 )
2024-10-21 11:12:42 -04:00
Rajat Dabade
647b8c8eb6
MM-60705 DB migration: added update_at column to draft table for mobile ( #8237 )
...
* MM-60705 DB migration: added update_at column to draft table for mobile
* refactor: updated docs
* refactor: reverted unwanted changes and updated default value for update_at columns
* refactor: changed the condition for excepting 0 value for update_at column
2024-10-15 19:49:22 +05:30
Joram Wilander
d486f4861a
Add tests to actions/remote/team ( #8241 )
2024-10-03 08:18:27 -04:00
Daniel Espino García
20d248fb99
Send notification status information to the server ( #8060 )
...
* Send notification status information to the server
* Add version and update names
* Update props names
* Use the single endpoint
2024-09-12 16:52:52 +02: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
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
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
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
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
Daniel Espino García
26ae247d0f
Avoid registering wrong performance load logs ( #8107 )
2024-07-24 18:42:31 +02: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
yasserfaraazkhan
cdaae87017
Add unit test cases for reactions.ts ( #8084 )
2024-07-15 17:44:25 +05:30
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
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
Christopher Poile
1f2a71c499
[MM-58581] Calls: End call confirmations ( #8004 )
...
* end call confirmations
* i18n
* remove unneeded asyncs
* better alert for android
2024-06-18 10:02:24 -04:00
Daniel Espino García
b694809da1
Improve websocket behavior ( #7976 )
...
* Improve websocket behavior
* Revert uninteded changes
* Address feedback
2024-06-17 09:58:58 +02:00
Daniel Espino García
5f01f9e9af
Add performance metrics to the app ( #7953 )
...
* Add performance metrics to the app
* add batcher and improve handling
* Add tests
* Fix test
* Address feedback
* Address feedback
* Address feedback
* update podfile
2024-06-12 09:45:27 +02:00
Christopher Poile
7fbd2e52e2
[MM-58129] Calls: Host controls remove participant, view profile ( #7938 )
...
* host remove command, host removed feedback
* add view profile control
* i18n; dismissBottomSheet later
* PR comments
* remove confusing setPreviousCall(null)
* our own separator, bit more space for Android
* no need for previousCall due to changes on server
* move host removed alert to an error
* channel_id is not send via the msg.broadcast
* channel_id is still sent via the msg.broadcast
2024-05-10 16:43:35 -04:00
Christopher Poile
2eb8adb3f6
[MM-57958] Calls: Host controls: stop screenshare, mute, lower hand ( #7929 )
...
* add muteSession & stopScreenshare controls; obey mute host ctrl
* lower hand host control; obey lower hand ws msg
* no need to await host api call
2024-05-06 15:14:40 -04:00
Daniel Espino García
b98c184e7c
Fix gallery footer author image showing old image ( #7910 )
...
* Fix gallery footer author image showing old image
* Fix tests
* Address feedback
* Fix tests and minor refactor
2024-05-06 12:00:19 +02:00
Daniel Espino García
a6d043670a
Properly unset the active channel in the server ( #7919 )
2024-05-06 10:46:20 +02:00
Christopher Poile
4e68662899
[MM-57019] Calls: Live captions support for mobile ( #7854 )
...
* mobile support for live captions
* add the 'Live captions turned on' ephemeral notice
* PR comments
* message should be translatable
* run i18n-extract
* call_recording_state -> call_job_state; ccAvailable is now dynamic
* backwards compatibility with pre calls v0.26.0
* correct mobile version in deprecation comments
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-20 09:10:05 -04:00
Elias Nahum
3653df354d
Revert "Channel Bookmarks ( #7750 )" ( #7816 )
...
* Revert "Channel Bookmarks (#7750 )"
This reverts commit 2c5c878829 .
2024-02-07 07:52:55 +08:00
Elias Nahum
2c5c878829
Channel Bookmarks ( #7750 )
2024-02-05 17:07:01 +08:00
Cedric Ong
6daa77f0da
remove usages of isTimeZoneEnabled ( #7769 )
2024-01-30 13:22:55 +01:00
Scott Bishel
6e7df26150
Merge pull request #7784 from mattermost/MM-56085-page-preferences
...
MM-56085 - Add paging for preferences
2024-01-24 13:42:16 -07:00
Scott Bishel
1a2c8cb61d
lint fixes
2024-01-23 14:20:49 -07:00
Scott Bishel
ceb9d742c9
add paging for preferences to match new server limitation
2024-01-23 12:14:12 -07:00
Claudio Costa
84858e4450
[MM-46339] Handle user leaving channel with active call ( #7754 )
...
* Handle user leaving channel with active call
* Remove debug log
2024-01-15 08:11:25 -06:00
Miguel de la Cruz
4095212d86
Improves get roles by names requests to batch them following the new endpoint limit ( #7650 )
2023-12-22 10:29:49 +01:00
Christopher Poile
2c1f318868
MM-54866 - Calls: Transcription support ( #7703 )
...
* captions on videos from posts and searches
* add the patch for react-native-video which fixes subtitle downloading
* improve spacing
* fix patch file
* upgrade compass-icons; use cc icon
* revert patch overwrite
* fix patch
* use useMemo
* fix hitslops on pressables
* use new Caption format; refactor for clarity
* simplify tracks creation and use
2023-12-21 16:20:21 -05:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables ( #7697 )
...
* MM-55621 fix layout for tablets and foldables
* feedback review
2023-12-05 11:08:43 +08:00
Harshil Sharma
9ff24a8551
Merge pull request #7682 from mattermost/gm_conversion_on_reconnect_handler
...
[MM-55463] GM conversion reconnect handler
2023-11-29 09:25:02 +05:30
Caleb Roseland
79d7c628e4
Merge branch 'main' into MM-53902-cont
2023-11-27 15:09:55 -06:00
harshil Sharma
946ccf04bb
Merge branch 'main' into gm_conversion_on_reconnect_handler
2023-11-27 15:27:55 +05:30
harshil Sharma
3c6638f474
Optimized the number of calls to fetchMyChannelsForTeam
2023-11-27 15:22:50 +05:30
Harshil Sharma
59a69368bf
Added one important test ( #7683 )
...
* Added one important test
* Update app/actions/local/category.test.ts
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-11-25 07:55:46 +08:00
harshil Sharma
878ed5673c
nit fix
2023-11-24 11:17:12 +05:30
harshil Sharma
28949d5605
Merge branch 'main' into gm_conversion_on_reconnect_handler
2023-11-23 11:17:30 +05:30
harshil Sharma
58fc869d70
Added onReconnect handling for converted GM
2023-11-23 10:40:49 +05:30
Caleb Roseland
a3b811dcfb
refactor
2023-11-22 17:49:35 -06:00
KyeongSoo Kim
1a59bd9e0e
[MM-42586] Reaction toggle behavior ( #7674 )
2023-11-22 21:05:58 +08:00
Harshil Sharma
908e4c08d4
Merge pull request #7654 from mattermost/gm_to_channel
...
GM to channel conversion
2023-11-22 15:44:40 +05:30
harshil Sharma
f58987ef68
Merge branch 'main' into gm_to_channel
2023-11-20 11:58:21 +05:30
Christopher Poile
c9fe72460b
MM-54865 - Calls: Multisession support ( #7647 )
...
* add multisession support for calls mobile
* ensure backwards compatibility
* remove extra line
2023-11-16 14:30:49 -05:00
harshil Sharma
72d513987c
fixes
2023-11-16 13:20:41 +05:30
harshil Sharma
4af2ad2f69
review fixes
2023-11-15 14:13:55 +05:30
harshil Sharma
77a1f79790
Review fixes
2023-11-14 13:57:25 +05:30
harshil Sharma
7106c1807b
Somre review fixes
2023-11-10 16:14:11 +05:30
harshil Sharma
34567cb74e
Cleanup
2023-11-09 17:23:48 +05:30
harshil Sharma
742739fc0b
Handled onreconnect sync
2023-11-09 10:00:25 +05:30
harshil Sharma
4138a202f2
removed debug logs
2023-11-07 13:10:22 +05:30
harshil Sharma
082b3c7f1e
Handled websocket notification race condition
2023-11-07 11:39:16 +05:30
harshil Sharma
ea34873d5f
Handled category updates
2023-11-03 15:46:52 +05:30
harshil Sharma
bf2fd6594d
WIP
2023-11-01 18:15:05 +05:30
harshil Sharma
761fcc8ab5
WIP
2023-11-01 10:29:31 +05:30
harshil Sharma
67f6740be4
Making conversion API call
2023-10-30 18:33:19 +05:30
harshil Sharma
7c008a9726
Merge branch 'main' into gm_to_channel
2023-10-30 07:52:55 +05:30
Pablo Andrés Vélez Vidal
196372eeb4
Merge pull request #7495 from mattermost/MM-50354-not-show-push-notifications-warning-if-disabled
...
MM-50354 - do not show push disabled notification once acknowledged
2023-10-25 11:50:17 +02:00
harshil Sharma
a717ea520f
WIP
2023-10-20 15:57:00 +05:30
harshil Sharma
6b0de22824
Merge branch 'main' into gm_to_channel
2023-10-18 11:33:45 +05:30
Elias Nahum
55149a593c
Fix reply from permalink ( #7598 )
2023-10-17 09:12:24 +04:00
harshil Sharma
a5039fccc8
Created screen
2023-10-16 16:05:59 +05:30
Daniel Espino García
a3eeb69277
Goodbye, GraphQL ( #7597 )
2023-10-16 10:13:16 +02:00
Pablo Andrés Vélez Vidal
499114f4f9
Merge branch 'main' into MM-50354-not-show-push-notifications-warning-if-disabled
2023-10-09 16:28:58 +02:00
Caleb Roseland
5811b34b75
remove log
2023-10-04 15:35:14 -05:00
Caleb Roseland
cdbafea607
fix: editing DM/GM channel header
2023-10-04 11:22:58 -05:00
Daniel Espino García
ba52acb26f
Add GM as DM feature support ( #7515 )
...
* Add GM as DM feature support
* Minor fix
* Address feedback
* Fix case for non set channel notify prop
* Fix strings
2023-09-26 18:35:40 +02:00
Daniel Espino García
0a78b1d804
Fix posts not showing on permalink view ( #7531 )
2023-09-04 09:52:12 +02:00
Christopher Poile
83f81985cd
MM-53486 - Incoming calls notification banner ( #7477 )
...
* upgrade calls-common
* incoming call notifications
* tests
* i18n
* PR comments
* PR comments
* PR comment
2023-08-30 13:58:54 -04:00
Daniel Espino García
4670a01ae7
Handle Mark Multiple Channels as Read ( #7467 )
...
* Handle Mark Multiple Channels as Read
* Use allSettled
2023-08-14 10:01:55 +02:00
Pablo Andrés Vélez Vidal
0da1b5c6a4
MM-50354 - do not show push disabled notification once acknowledged
2023-08-10 12:23:55 +02:00
Daniel Espino García
4767c28ae4
Avoid unneeded group fetches ( #7482 )
2023-08-07 09:43:46 +02:00
Daniel Espino García
ff601982b9
Add some performance improvements ( #7481 )
...
* Add some performance improvements
* fix tests
2023-08-07 09:43:00 +02:00